gtk-sharp-2.12.40/0000775000175000017500000000000012767740535010603 500000000000000gtk-sharp-2.12.40/ChangeLog0000664000175000017500000163263112767740470012307 000000000000002010-05-12 Mike Kestner * gtk/Gtk.metadata: mark a few more pango object retvals as owned. 2010-05-10 Mike Kestner * gtk/Gtk.metadata: mark Widget.CreatePangoLayout retval as owned. [Fixes #604050] 2010-03-25 Mike Kestner * gdk/Rectangle.custom: off-by-one in Right/Bottom. [Fixes #591148] 2010-03-08 Mike Kestner * configure.in.in: revert the -platform flag usage on windows until we can figure out why it breaks Gtk# on mono. 2010-03-01 Mike Kestner * msi/gtk-sharp-2.0.wxs.in: use the netfx runtime version checks. Check for version 2.0 or greater. * msi/Makefile.am: ref the netfx extension. 2010-02-26 Mike Kestner * configure.in.in: backport the mono-2 configure fallback. 2010-02-26 Mike Gorse * atk/Object.custom, atk/glue/object.c: Bind GetAttributes. 2010-01-11 Mike Kestner * configure.in.in: checks for wix and add platform switch to win32 builds to ensure 32BIT+ and PE32 are set. [Fixes #473566] * gtk-sharp-2.0.wxs.in: moved to msi dir and enhanced. see below. * license.rtf: moved to msi dir * Makefile.am: add new dir, move installer target to msi Makefile. * msi/*: new installer building framework. conditionally builds on wix availability. downloads official binary bundles to build an unmanaged module. adds the .mo files to support translation [Fixes #513017] updated gtk+ version to 2.16.6. still depends on win32-installers build for mono-posix and mono-cairo modules. 2009-11-30 Mike Kestner * generator/Method.cs: support win32_utf8_variant attribute on methods. * glib/*.cs: support win32 utf8 variant methods. * gtk/*.custom: support win32 utf8 variant methods. * gtk/Gtk.metadata: mark some win32_utf8_variant methods. [Fixes #550961] Adapted from a patch by Tor Lillqvist. 2009-11-23 Christian Hoff * generator/Signal.cs: Return a GInterfaceAdapter in the signalargs's accessor properties instead of trying to return the implementor as stored in the arguments array. 2009-11-20 Gabriel Burt * bootstrap-2.12: Bump GTK_SHARP_VERSION to 2.12.10 2009-11-20 Gabriel Burt Make TextBufferSerializeFunc return byte [] * gtk/Makefile.am: * gtk/textbuffer-serializefunc.patch: * gtk/GtkSharp.TextBufferSerializeFuncNative.cs: * gtk/TextBufferSerializeFunc.cs: Copy of generated bindings, fixed to be usable. [Fixes #555495] * gtk/TextBuffer.custom: Add binding of RegisterSerializeFormat since no longer generated. * gtk/Gtk.metadata: Remove GtkTextBufferSerializeFunc and RegisterSerializeFormat so bindings not generated. 2009-11-10 Gabriel Burt * atk/atk-table.patch: * atk/ColumnDeletedHandler.cs: * atk/Table.cs: * atk/TableAdapter.cs: * atk/ColumnInsertedHandler.cs: * atk/Atk.metadata: * atk/RowDeletedHandler.cs: * atk/RowInsertedHandler.cs: We have to implement AtkTable's GetSelectedRows/Columns methods manually, and the only way to do that is to not generate those classes. So these files are the generated files with the necessary modifications (see atk-table.patch). This fixes support for custom widgets to add AtkTable a11y (BNC #512477) * atk/NoOpObject.custom: Manually implement Atk.Table iface * atk/Makefile.am: Add new files to build 2009-10-30 Mike Kestner * glib/GType.cs: avoid another exception on bogus assm.Locations. [Fixes #546045] 2009-10-23 Christian Hoff * gtk/CellRenderer.custom: Pass the GdkRectangle parameters of CellRenderer.Render by reference. Patch by Diego Pettenò. 2009-09-22 Brad Taylor * glib/Idle.cs: * glib/Timeout.cs: Don't try to remove the handler from the managed hashtable twice, add a comment explaining the need for the else branch. 2009-09-22 Brad Taylor * glib/Idle.cs: * glib/Timeout.cs: Make sure to remove the unmanaged reference to the delegate when we're disposed or finalized. In particular, this fixes a problem where GLib.Object's PerformQueuedUnrefs was being called after both the object and the handler had been GC'ed, resulting in a segfault. 2009-09-16 Mike Kestner * gtk/Gtk.metadata: hide StatusIcon.GetGeometry for custom impl. * gtk/StatusIcon.custom: custom GetGeometry implementation to avoid marshaling exceptions on win32. [Fixes #518169] 2009-09-11 Christian Hoff * gtk/Application.cs: Port the theming-relevant part of the SWF.Application.DoEvents code to avoid loading the assembly at runtime on the Windows platform. 2009-08-23 Christian Hoff * gdk/Gdk.metadata: Mark PixbufFormat.Extensions and PixbufFormat.MimeTypes as null-terminated arrays. [Fixes #533472] 2009-08-12 Christian Hoff * configure.in.in: Detect GDK backend. * */*.dll.config.in: Link against the libs of the correct GDK backend instead of using x11 on Linux/win32 on Windows. Patch by Christian Hergert. [Fixes 527840] 2009-08-05 Christian Hoff * sample/CustomcellRenderer.cs: Use GObject property registration instead of a CellDataFunc. 2009-08-05 Christian Hoff * glib/glue/object.c: Use -G_MINFLOAT and -G_MINDOUBLE since these constants return the minumum positive values for this type. 2009-07-30 Mike Kestner * generator/InterfaceGen.cs: remove var keyword usage to fix build on .net 2.0. Fix a few mixed line endings as well. 2009-07-27 Mike Gorse * atk/Atk.metadata: Remove owned for Relation.GetTarget. 2009-07-21 Christian Hoff * glib/GInterfaceAdapter.cs: Fix a leak related to GCHandles not being freed. Patch from Mike Kestner with a minor tweak by me. [Fixes #523306] 2009-07-13 Gabriel Burt * generator/GenBase.cs: Add AppendCustom override that you can pass the type name in, used to include .custom for Name + Adapter and Name + Implementor .custom files for interface gen. * generator/InterfaceGen.cs: Use the new AppendCustom override for the Name + Adapter.custom file, and add support for including custom file for the Name + Implementor interface; necessary to manually implement an interface method. 2009-07-10 Christian Hoff * pango/Pango.metadata: Mark "ink_rect" and "logical_rect" parameters of Get*Extends methods as "out". [Fixes #510105] 2009-06-08 Christian Hoff * atk/ObjectFactory.custom: Reimplement ObjectFactory virtual methods. Patch provided by Mike Kestner and Gabriel Burt. 2009-05-31 Mike Kestner * gtk-sharp-2.0.wxs.in: move the RemoveExistingVersions action after InstallFinalize to avoid a problem where the GAC assemblies disappear. [Fixes #508580] 2009-05-27 Mike Kestner * bootstrap-2.12: bump version to 2.12.9. * gtk-sharp-2.0.wxs.in: merge mono-posix-lib module. Add update element so that we remove existing older installs. 2009-05-12 Mike Kestner * gtk/Application.cs: add the theme initialization workaround for windows. Hopefully we can find a better solution that doesn't involve loading SWF. [Fixes #471682] 2009-05-06 Mike Kestner * gtk/TargetList.custom: fix intptr indexing in cast. 2009-05-05 Mike Kestner * glib/GType.cs: ensure threading is initialized in cctor. * gtk/Application.cs: ditto. 2009-04-27 Mike Kestner * gtk-sharp-2.0.wxs.in: add an InstallFolder key. [Fixes #498298] 2009-04-23 Mike Kestner * gtk/TargetList.custom: use gtk_target_table_new_from_list to implement the TargetEntry[] cast to avoid crashes on win32. This can only be backported to 2.10 if necessary. 2009-04-09 Mike Kestner * glib/ListBase.cs: fix g_object_unref dllimport lib. [Fixes #493128] 2009-03-28 Christian Hoff * gtk/TextBuffer.custom: Use the right overload of Marshal.Copy [Fixes #480010] 2009-02-06 Christian Hoff * gtk/Gtk.metadata: Fix TreeModel.EmitRowsReordered signature 2009-02-02 Mike Kestner * gtk-sharp-2.0-wxs.in: switch the VS assembly reference registry magic to HKLM/SOFTWARE/Microsoft/.NetFramework/AssemblyFolders. Add a single key there to get all versions of VS. 2009-01-31 Mike Kestner * Makefile.am: add installer-bundle target. This creates a versioned subdir containing all the binaries, wxs, license.rtf, and a build-installer script. * README: add installer build instructions. * configure.in.in: move the evil cygwin libname sed hack after AC_OUTPUT since newer autoconf apparently changed the behavior of when libtool is created. * gtk-sharp-2.0-wxs.in: add 2.10 policy components and update paths for installer-bundle build. This used to be -lib.wxs.in, but we are moving to a single installer without C devel. No longer produces an msm. It's an msi which merges the gtk, glade and mono-cairo msm modules from win32-installers. * gtk-sharp-2.0-dev.wxs.in: killed. * license.rtf: copied from win32-installers module. 2009-01-29 Andrés G. Aragoneses * atk/Object.custom: add binding for "focus-event" signal: http://library.gnome.org/devel/atk/unstable/AtkObject.html#AtkObject-focus-event 2009-01-29 Mike Kestner * generator/OpaqueGen.cs: generate a finalizer for classes which have free or unref methods and ensure it runs on the gui thread. * glib/Opaque.cs: remove finalize handling. Fixes a 'resurrection' issue with the previous 419777 fix. 2009-01-27 Mike Kestner * glib/Opaque.cs: ensure we are running on the gui thread when we dispose from the finalizer. [Fixes #419777] 2009-01-23 Mike Kestner * Makefile.include: * doc/Makefile.am: * glib/Makefile.am: * gtkdotnet/Makefile.am: parallel make patches from Diego Pettenò and Bertrand Lorentz. [Fixes #421063] 2009-01-21 Mike Kestner * configure.in.in: cross-compile fixes for CC assignment * gapi-cdecl-insert: use monodis if ildasm isn't available 2009-01-13 Brad Taylor * atk/Atk.metadata: Bind GetRunAttributes and GetDefaultAttributes as Atk.Attribute[] instances instead of GLib.SList. [Fixes #393565] 2009-01-08 Mike Kestner * configure.in.in: improve cairo config message. * mono.snk: copied for compatible Mono.Cairo.dll build. * Makefile.am: dist the snk. * cairo/AssemblyInfo.cs: use a hardcoded file. * cairo/Makefile.am: use mono.snk to sign the Mono.Cairo assembly so that it's compatible with mono built versions. Initial patch from Christian Hoff with a few tweaks. 2009-01-07 Mike Kestner * doc/gtk-sharp-docs.source: add node element for new monodoc. 2009-01-07 Mike Kestner * generator/MethodBody.cs: avoid null ref when passing null to destroy notified callback parameters. [Fixes #464120] 2008-12-12 Mike Kestner * bootstrap-2.12: tagged for 2.12.7. Bump svn version. * audit/base: update base apiinfo's for 2.12 stable api. 2008-12-08 Andrés G. Aragoneses * glib/Signal.cs: Improve protection against invalid signals. 2008-12-02 Stephane Delcroix * generator/Ctor.cs: * generator/Method.cs: * generator/MethodBase.cs: refactor the Protection from Method to MethodBase, generate ctors with the correct proteciton too. 2008-12-01 Mike Kestner * gtk/Gtk.metadata: automarshal TreeSelection.GetSelectedRows. * gtk/TreeSelection.custom: kill GetSelectedRows customization. [Fixes #450689] 2008-12-01 Mike Kestner * gtk/Gtk.metadata: automarshal TreeView.Columns. * gtk/TreeView.custom: kill Columns customization. [Fixes #450685] 2008-11-28 Mike Kestner * generator/Signal.cs: remove ref int workaround now that we fallback to signal-specific marshalers for G_TYPE_POINTER using signals. Fixes #450119. 2008-11-26 Stephane Delcroix * gtk/Image.custom: * gtk/Gtk.metadata: obsolete Image.FromPixbuf, FromAnimation, FromFile setters in favor of already existing Pixbuf, Animation and File. 2008-11-26 Mike Kestner * bootstrap-2.12: bump svn version. * cairo/Makefile.am: policy config is hard-coded, not generated. 2008-11-26 Mike Kestner * configure.in.in: prepend CFLAGS environment setting to AC_SUBST. Patch from Diego Petteno. [Fixes #443175] 2008-11-25 Mike Kestner * glib/Value.cs: fix for 'IntPtr as object' value construction. 2008-11-24 Andrés G. Aragoneses * atk/Makefile.am: * atk/SelectionAdapter.custom: new method for firing selection-changed ( http://library.gnome.org/devel/atk/stable/AtkSelection.html#AtkSelection-selection-changed ) 2008-11-21 Mike Kestner * glib/ManagedValue.cs: rework to ref count a ManagedValue instance and pass a GCHandle to it around, instead of taking out multiple gchandles on the managed target itself. 2008-11-21 Stephane Delcroix * glib/Global.cs: implement Global.ApplicationName for localized application name. 2008-11-21 Stephane Delcroix * Makefile.am: * glib/Format.cs: new class to map the g_format methods 2008-11-15 Mike Kestner * gdk/Event.cs: add EventOwnerChange to GetEvent. * gdk/EventOwnerChange.cs: manual subclass of Gdk.Event. * gdk/Gdk.metadata: hide EventOwnerChange. * gdk/Makefile.am: add EventOwnerChange.cs. * gdk/gdk-symbols.xml: add EventOwnerChange. 2008-11-15 Mike Kestner * gtk/Gtk.metadata: mark the SpinButton::Output signal as manually marshaled to avoid a compat break. The old manual marshaler expected and int RetVal and the new signal closure more accurately expects a bool. Since returning 1 previously worked, we need to revert to the int expectation, even though bool is technically more correct. 2008-11-14 Brad Taylor * glib/Object.cs: Bind g_object_notify. * doc/en/GLib/Object.xml: Document new API. 2008-11-05 Mike Kestner * atk/atk-api-2.12.raw: regen * gtk/gtk-api-2.12.raw: regen * generator/Signal.cs: reinstate old custom marshaler generation and generate custom marshaling when 'manual' attr is set. * parser/gapi2xml.pl: set manual attr on sigs that have G_TYPE_POINTER parameters since the generic closure can't cope with them. 2008-11-05 Mike Kestner * gtk/Builder.custom: #if the new API for 2.14 for now so it doesn't get confused as stable API yet. 2008-11-04 Mike Gorse * glib/PtrArray.cs, glib/glue/ptrarray.c, glib/Makefile.am, glib/glue/Makefile.am, glib/gtype.cs, generator/SymbolTable.cs, generator/ReturnValue.cs: Add PtrArray. * glib/Marshaller.cs: Add PtrArrayToArray. * atk/Atk.metadata: Specify GetTarget return type. * atk/Object.custom, atk/glue/object.c: Support overriding RefRelationSet. 2008-11-03 Stephane Delcroix * gtk/Gtk.metadata: * gtk/StatusIcon.custom: Obsolete the duplicated properties. 2008-10-29 Mike Kestner * glib/Signal.cs : custom marshaling hooks * glib/SignalClosure.cs : support for custom marshalers. 2008-10-28 Stephane Delcroix * gtk/Gtk.Metadata: hide ConnectSignals. * gtk/Builder.Custom: connect the signals, and the objects. GetObjectRaw method: allows very neat object inheritance. 2008-10-27 Stephane Delcroix * glib/ListBase.cs: DataMarshal: create the right object for *Adapter list items. 2008-10-08 Mike Gorse * atk/Object.custom: Pass Handle in EmitChildrenChanged (fix critical) 2008-10-24 Mike Kestner * glib/GType.cs: register IntPtr. 2008-10-22 Peter Johanson * gtk/TreeModelAdapter.custom: * gtk/TreeModelFilter.custom: * gtk/TreeModelSort.custom: * gtk/TreeStore.custom: Don't trigger any gtk+ critical warnings when the 'rows-reodered' signal is fired. 2008-10-21 Mike Kestner * tagged 2.12.5. 2008-10-21 Mike Kestner * cairo/*: add a policy assembly for 1.0 defering to 2.0. 2008-10-13 Brad Taylor * Makefile.am: * configure.in.in: * gtk-sharp-2.0-lib.wxs.in: * gtk-sharp-2.0-dev.wxs.in: Replace version numbers in wxs files, import gtk-sharp-2.0-dev.wxs. 2008-10-13 Mike Kestner * Makefile.am: installer target * gtk-sharp-2.0-lib.wxs: new installer config file 2008-10-12 Andrés G. Aragoneses Fixes BNC#426876. * generator/InterfaceGen.cs: throw ArgumentNullException in the Adapter's constructor that receives an implementor. 2008-10-09 Mike Kestner * cairo/*.cs: flatten source hierarchy to simplify win32 build. * sample/Makefile.am: fix a ref issue with local cairo. 2008-10-09 Mike Kestner * configure.in.in: magic for local Mono.Cairo build. * cairo/*: a local build of Mono.Cairo for .Net-only builds on win32. * */Makefile.am: use local Mono.Cairo where necessary. 2008-10-09 Mike Kestner * configure.in.in: kill dead config.in. * sample/CairoSample.cs: some dispose handling and cleanup. * sample/cairo-sample.exe.config.in: kill, no pinvoke needed now. * sample/GException.cs: GException test sample. * sample/GtkCairo.cs: kill, replaced by Gdk.CairoHelper.Create. * sample/Makefile.am: cleanup. 2008-10-08 Mike Gorse * Atk/Makefile.am, Atk/ObjectFactory.custom, Atk/glue/Makefile.am, Atk/glue/object_factory.c: Add ObjectFactory.custom and glue/object_factory.c. 2008-10-02 Mike Gorse * Atk/Makefile.am, Atk/Hyperlink.custom, Atk/glue/Makefile.am, Atk/glue/hyperlink.c: Add Hyperlink.custom and glue/hyperlink.c. 2008-09-30 Mike Kestner * generator/EnumGen.cs: * generator/InterfaceGen.cs: * generator/StructBase.cs: fix build breakage in prev commit. 2008-09-30 Stephane Delcroix * generator/CallbackGen.cs: * generator/ClassGen.cs: * generator/EnumGen.cs: * generator/GenBase.cs: * generator/InterfaceGen.cs: * generator/Method.cs: * generator/OpaqueGen.cs: * generator/StructBase.cs: * generator/ObjectGen: check for the internal attribute * generator/Method.cs: check for the accessibility attribute; 2008-09-24 Mike Gorse * atk/Atk.metadata: Mark rect in GetRangeExtents as out. 2008-09-24 Mike Kestner * glib/GType.cs: kill the FindTypeInReferences recursive loading algorithm and instead do a name-based search through the references of loaded assemblies only. Fixes the original bug #400595 and it hopefully will have fewer sideeffects that the recursive loading approach. 2008-09-24 Mike Kestner * glib/GType.cs: just fail on location null or empty instead of checking the assembly type. Avoids failures on the ms runtime. 2008-09-23 Mike Kestner * bootstrap-2.12: bump svn version after tag. 2008-09-23 Mike Gorse * atk/Makefile.am: add atk/atk.h to glue_includes. * atk/glue/Makefile.am: Compile atk/glue/generated.c. 2008-09-23 Andrés G. Aragoneses Fixes BNC#384475. * atk/Object.custom: Provide a new overload that receives an enum instead of an ulong, for a friendlier managed API. 2008-09-18 Mike Kestner * bootstrap-2.12: bump svn version. * generator/Signal.cs: add a workaround for G_TYPE_POINTER usage in the GtkEditable::text_inserted signal. The signal parameter received by the closure will be an IntPtr, which we then have to use to read/write the value directly from unmanaged memory. [Fixes #427588] 2008-09-18 Mike Kestner * generator/LPGen.cs: remove WIN64LONGS hackery. * generator/LPUGen.cs: remove WIN64LONGS hackery. * generator/SymbolTable.cs: for WIN64LONGS, map them directly to (u)int SimpleGens instead of using the LP generatables. 2008-09-16 Jeffrey Stedfast * generator/Property.cs (IsDeprecated): Allow "1" or "true". * generator/Method.cs (.ctor): Allow "1" or "true". * generator/ClassBase.cs: Allow a value of "true" to work the same as "1" for the deprecated and abstract attributes. * generator/ObjectGen.cs (Generate): Remove the extra generated space if the class isn't abstract. 2008-09-12 Zoltan Varga * glib/GType.cs (FindTypeInReferences): Put a try-catch around the assembly loading as failure to load a referenced assembly is not really an error. 2008-09-12 Mike Gorse * atk/Object.custom, atk/glue/object.c: Support GetIndexInParent. 2008-09-09 Mike Kestner * generator/ReturnValue.cs: warning cleanup. * gtk/Gtk.metadata: warning cleanup. 2008-09-09 Zoltan Varga * glib/GType.cs (FindTypeInReferences): Skip dynamic assemblies. 2008-09-08 Mike Kestner * glib/GType.cs: beef up the referenced assembly loading code to handle assemblies located in the same directory as the referring assembly. Fixes #423450. 2008-09-05 Andrés G. Aragoneses Fixes BNC#387220. * glib/glue/signal.c: New glue file to call g_signal_query(). * glib/glue/Makefile.am: Add signal.c. * glib/Signal.cs: check return type prior to emitting. 2008-08-28 Andrés G. Aragoneses * atk/Util.custom: unregister get_root function when the setter receives null. Partial fix for BNC#411444. 2008-08-27 Mike Kestner * generator/ManagedCallString.cs: use existing Parameters.IsHidden method to check for hidden user data. 2008-08-27 Mike Kestner * generator/ManagedCallString.cs: revert last change. There are a lot of "broken" callback sigs out there which expose user data because it's not in the last parameter in the list. I don't think we can reasonably make a change to hide all those at this point. This change at least hides all the user_data which comes right before a GError param at the end of the list. I need to follow up with a change which handles data parameters in any parameter position, but allows the user to mark "exposed" data params for compatibility reasons. * generator/Parameters.cs: hide data params which are at the end of a list behind an error param. * gtk/Gtk.metadata: mark an array parameter on TextBufferDeserializeFunc. 2008-08-27 Mike Kestner * glib/Signal.cs: multiple dispose guarding for closures. 2008-08-27 Mike Kestner * generator/ManagedCallString.cs: fixes for data parameter hiding in native to managed callback generation. 2008-08-20 Mike Kestner * glib/Object.cs: * glib/Signal.cs: fix a couple 2.0-isms. Patch from Christian Hoff. 2008-08-20 Mike Kestner * bootstrap-2.12: bump svn version after tag. 2008-08-20 Mike Kestner * generator/ReturnValue.cs: use new ListPtrToArray marshaler for lists with known element types. * glib/Marshaller.cs: new ListPtrToArray marshaller with more aggressive list disposal. * gtk/Container.custom: remove manual Children impl. Use Children in GetEnumerator instead of pinvoking directly. * gtk/Gtk.metadata: remove hidden attr and add element type and owned for Container.GetChildren to generate it properly. 2008-08-20 Mike Kestner Patch from Christian Hoff fixing bug #396195. * generator/Property.cs: handle interface adapter values. * generator/InterfaceGen.cs: register the gtype so mapping occurs automatically for interface adapters. New GetObject overload to handle already wrapped objects more efficiently. * glib/Value.cs: handle set_Val for interface adapter objects. 2008-08-19 Brad Taylor * atk/Object.custom: Add method to allow emission of visible-data-changed signal. * atk/TextChangedDetail.cs: * atk/TextAdapter.custom: Add method to allow emission of text-changed signal. 2008-08-13 Mike Kestner * atk/Atk.metadata: switch Value methods to ref params since atk actually checks for initialized values instead of just treating it like uninitialized memory. Makes for uglier API, but avoids crashes in unfortunate memory content scenarios. 2008-08-04 Mike Kestner * gtk/IconTheme.custom: elements and the list returned by ListIcons are owned. 2008-08-04 Mike Kestner * gtk/Gtk.metadata: mark IconTheme.LoadIcon return as owned. 2008-07-23 Mike Kestner * atk/Atk.metadata: map some out params on Atk.Value. They were unusable in their existing form. 2008-07-08 Mike Kestner Patch from Christian Hoff with a few minor tweaks. * generator/CallbackGen.cs: refactor to use ManagedCallString and drop a ton of redundant, half-baked code. * generator/ManagedCallString.cs: add Unconditional setup method for stuff that has to happen before the try block. Add "drop_first" concept so it can be reused by CallbackGen which doesn't drop first params. * generator/Signal.cs: use Unconditional method for prep. * generator/VirtualMethod.cs: use Unconditional method for prep. * gtk/Gtk.metadata: mark a ref param. [Fixes #394352] 2008-06-28 Mike Kestner * gtk/Gtk.metadata: mark ListStore.Reorder array param. * gtk/ListStore.cs: compat obsolete method, though the old one was useless. 2008-06-28 Mike Kestner * glib/Marshaller.cs: some 64 bit fixes for time_t marshaling issue found by Federico. 2008-06-28 Mike Kestner * gtk/TreeSelection.custom: use list marshaler to avoid O(n^2) copy from old custom code. [Fixes #404669] 2008-06-28 Mike Kestner * gtk/Gtk.metadata: mark a const string. [Fixes #404630] 2008-06-27 Mike Kestner * gtk/Gtk.metadata: fix a couple out params. 2008-06-20 Mike Kestner * glib/Value.cs: Patch from Christian Hoff. Support for byte and sbyte values. 2008-06-17 Mike Kestner * glib/SignalClosure.cs: post back the gvalues after the closure is invoked using a new Update method on GLib.Value. This only impacts boxed types, since they are the only "value types" passed by ref in the signal marshaling environment. We can't call set_boxed on the value to update it, since that allocs new memory, we need to marshal the updated struct out to the existing native memory address using g_value_get_boxed. * glib/Value.cs (Update): new update method for writing values to an existing boxed type instance instead of allocating a new native struct. Fixes #398929. 2008-06-17 Mike Kestner * glib/GType.cs (LookupType): traversed referenced assemblies to find types in currently unloaded assemblies. Fixes #400595. 2008-06-16 Andrés G. Aragoneses * atk/Object.custom: * atk/glue/object.c: Simplified code for previous issue (recommendation from mkestner). 2008-06-16 Mike Kestner * glib/glue/object.c: fixes for object, boxed, and gtype property paramspec creation. Patch provided by Christian Hoff. 2008-06-09 Andrés G. Aragoneses * atk/Object.custom: * atk/glue/object.c: Temporary workaround for infinite recursion issue. 2008-06-06 Andrés G. Aragoneses * glib/glue/thread.c: Fix a warning. 2008-06-06 Mike Kestner Initial Patch submitted by Christian Hoff with some small style alterations and a round trip sample by me. Supports the registration of managed properties with the GType system, so that things like custom cell renderers can be accessed via the native property system from treeview. * glib/glue/object.c : property registration related glue. * glib/Object.cs: implement managed property registration. * glib/PropertyAttribute.cs: add new props and ctor for managed property registration. * sample/PropertyRegistration.cs: little test app to test round- tripping of registered properties. * sample/Makefile.am: add new sample. 2008-06-06 Mike Kestner * atk/Object.custom: use 'as StateSet' instead of cast to avoid cast exceptions in the null case. Apparently it's not an exception any more, according to folks on #monodev. I still prefer as for GetObject 'casting'. 2008-06-06 Andres G. Aragoneses * atk/Object.custom: * atk/glue/object.c: Implement virtual method OnRefStateSet(). 2008-05-30 Mike Kestner * gdk/Pixbuf.custom: don't use the autogenerated PixbufDestroyNative delegate type since is has a byte[] parameter that blows up. 2008-05-30 Mike Kestner * gtk/Object.custom: * gtk/glue/object.c: remove the destroy override. it doesn't work. 2008-05-28 Mike Kestner * gtk/Object.custom: move Dispose call to a vm override so that it runs after all signals and native overrides have run. * gtk/glue/object.c: destroy override implementation. 2008-05-28 Lluis Sanchez Gual * gtk/Object.custom: If all destroy handlers have been unregistered, remove the hashtable entry since it is not needed anymore. 2008-05-27 Mike Kestner * generator/Method.cs (GenerateBody): when generating value type methods, we should demarshal the 'this' memory before any ref or out parameters in the event that someone passes 'this' as a param. That will ensure that an updated value coming back from the native side ends up in the memory location. 2008-05-22 Mike Kestner * gtk/Widget.custom: guard against MissingIntPtrCtorException in the Activate and SetScrollAdjustments funky signal VM impl. Can't use SignalClosure easily. Could be reworked more cleanly at some point. Or not. 2008-05-21 Mike Kestner * gtk/Object.custom (OnDestroyed): ensure Dispose runs even if no Destroyed handlers are connected. 2008-05-21 Mike Kestner * gtk/Application.cs (CurrentEvent): use Event.GetEvent to retrieve an explicit event subclass. 2008-05-15 Mike Kestner * kill the makefile.win32 build system. it has been unmaintained for quite some time, replaced by the auto* build in cygwin. 2008-05-14 Andres G. Aragoneses * atk/Object.custom: Track API changes in GLib.Signal. * glib/Signal.cs: AddEmissionHook binding (for closing #386950), and change API of Emit to mimic the detailed_signal pattern. * glib/GType.cs: GType.FromName: new wrapper for native call. * glib/ObjectManager.cs: Use the new FromName managed method. 2008-05-08 Mike Kestner * atk/atk-api-2.12.raw: reparsed. * gdk/gdk-api-2.12.raw: reparsed. * gtk/gtk-api-2.12.raw: reparsed. * parser/gapi2xml.pl: fixes for signal and vm order needed for proper interface struct layout. [Fixes #386802] 2008-05-07 Stephane Delcroix * gtk/Object.custom: swap the event removing and destroy calls. 2008-05-07 Andres G. Aragoneses * atk/Object.custom, atk/glue/object.c: Remove unneeded return types (I don't know why gcc ever let this compile...). 2008-05-06 Mike Kestner * glib/Object.cs: revert the connection optimization from r102349. It breaks under the current CellRenderer implementation which probably can't be reworked compatibly to take advantage of this code. * glib/SignalClosure.cs: use IntPtr.ToInt64 instead of (long) since the cast apparently has issues on bleeding edge mono. 2008-05-06 Mike Kestner * gtk/Gtk.metadata: mark Rc.DefaultFiles accessors as null_term_array. 2008-05-02 Mike Kestner * generator/GenerationInfo.cs: refactor glue writer implementation so that GlueEnabled means there is a valid glue writer available. Avoids crashes in scenarios where an unwriteable glue path is provided to the generator. Generate a glue function which scans the type hierarchy of an object for the most-derived unmanaged ancestor so that we can invoke class methods on it, avoiding infinite recursions. * generator/Signal.cs: revamp the default handler vm overriding mechanism. When class fields exist which can be directly hooked into, we now generate glue to override and chain up to unmanaged base funcs. This avoids some strangeness in the g_signal_override_class_closure and g_signal_chain_from_overridden reported in #332300 and also lays the groundwork for automated generation of non-signal VMs. * gtk/Gtk.metadata: block signal glue generation for a few types which don't seem to install headers. 2008-05-02 Mike Kestner * glib/Object.cs: Don't bother hooking VM into the class field if another managed ancestor has already done so. Add a LogFunc printing a stack trace for the GObject log domain if GTK_SHARP_DEBUG is set in the environment. It's a bit noisy to do unconditionally. 2008-05-02 Mike Kestner * gtk/Object.custom: some NULL guarding in Dispose and Destroy handling. 2008-05-02 Mike Kestner * atk/Atk.metadata: hide Global.AddGlobalEventListener. * atk/Global.custom: AddGlobalEventListener impl. * atk/Util.custom: AddGlobalEventListenerHandler prop. [Fixes the rest of #365437] 2008-05-01 Mike Kestner * gtk/gtk-api-2.12.raw: regen, removes some private printing API. * source/gtk-sharp-2.12-sources.xml: hide some private printing API. 2008-05-01 Mike Kestner * generator/InterfaceGen.cs: use CName and mangle it. ClassFieldName is not guaranteed to be set now. * generator/Signal.cs: read ClassFieldName from the api xml. Move glue writer lookup inside the block to avoid exceptions for now. 2008-04-30 Mike Kestner * generator/InterfaceGen.cs: * generator/Signal.cs: use generic signal marshaling instead of generating signature specific marshaling callbacks. * glib/glue/closure.c: glue for new closure impl. * glib/Object.cs: open up a couple hashes internally. * glib/Signal.cs: hook in closure based connection and expose EmissionHook functionality for atk usage. * glib/SignalClosure.cs: new generic signal marshaling mechanism. * glib/ToggleRef.cs: null guarding in Target and let Signal remove itself from hash when it disposes itself. 2008-04-30 Mike Kestner * parser/gapi2xml.pl: put class struct field in the signal elems. * atk/atk-api-2.12.raw: * gdk/gdk-api-2.12.raw: * gtk/gtk-api-2.12.raw: 2008-04-28 Mike Kestner * glib/Value.cs : Add GParam support and beef up the Boxed type marshaling to support types with New methods via reflection. 2008-04-28 Mike Kestner * glib/GType.cs : Add a few missing static fields. 2008-04-24 Mike Kestner * gdk/Window.custom (Destroy): take a normal ref for the native method to release, and Dispose our toggle ref. Fixes #382186. 2008-04-24 Andres G. Aragoneses * glib/Signal.cs: Remove unneeded cast. 2008-04-24 Andres G. Aragoneses * atk/Object.custom: custom protected method for firing the ChildrenChanged signal. * glib/Signal.cs: first implementation of a managed method for emitting signals. 2008-04-19 Mike Kestner * gtk/glue/statusicon.c: fix time parameter usage. Not even sure how that compiled. I <3 C. 2008-04-17 Mike Kestner * atk/glue/misc.c: glue for vms and singleton setup. * atk/Misc.custom: add OnThreadsEnter, OnThreadsLeave, and SetSingletonInstance members for Bridge implementors. [More of #365437] 2008-04-17 Mike Kestner * glib/Object.cs: add Harden method to reduce the reflection overhead in Gnome.Program. 2008-04-17 Mike Kestner * glib/ToggleRef.cs: Add a Harden method to switch to a standard ref and just leak it. * gtk/Application.cs: revert the QuitPrepare stuff since it didn't always work. 2008-04-17 Mike Kestner * gtk/TreeModelAdapter.custom: * gtk/TreeModelFilter.custom: * gtk/TreeModelSort.custom: reworked patch from Christian Hoff to throw NotImplementedException for SetValue methods. Those should never have been added to the interface, and it's better to throw an exception than have infinite recursion kill the program. [Fixes #379542] 2008-04-16 Mike Kestner * gtk/Gtk.metadata: hide PrintContext.get_CairoContext. * gtk/PrintContext.custom: manual get_cairo_context implementation. Mono.Cairo assumes it is wrapping owned references, so we need to take a ref out on the returned cairo_t pointer. * sample/GtkDemo/DemoPrinting.cs: dispose the CairoContext in to be a good citizen and avoid warnings. 2008-04-15 Mike Kestner * generator/ReturnValue.cs: use new GLib.Opaque.OwnedCopy for owned opaque return values. * glib/Opaque.cs: introduce OwnedCopy property to support returning owned opaque instances from native to managed callbacks. [Fixes #374641] 2008-04-15 Mike Kestner * gtk/Gtk.metadata: hide GtkKey_ for manual impl. * gtk/Key.cs: manual implementation to manage delegate wrapper persistence. [Fixes #378989] 2008-04-15 Mike Kestner * gtk/FileSystemModel.custom: remove dead file. 2008-04-15 Mike Kestner * glib/Marshaller.cs: marshal null string arrays as a null IntPtr[]. [Fixes #378514] 2008-04-14 Mike Kestner * gtk/Application.cs: add QuitPrepare event for Gnome.Program usage. 2008-04-08 Marek Habersack * generator/InterfaceGen.cs: added a check for null obj in the generated GetObject method. 2008-04-04 Mike Kestner * atk/Atk.metadata: add a few more owned refs. 2008-04-04 Mike Kestner * glib/Global.cs: renamed from Program.cs. Program.Name is now Global.ProgramName to try to avoid clashes with existing Gnome.Program usage. * gtk/Application.cs: s/GLib.Program.Name/GLib.Global.ProgramName. 2008-04-04 Mike Kestner * atk/Atk.metadata: markup all the Ref* methods to indicate owned refs. * generator/ReturnValue.cs: Add owned object ToNative handling. * generator/VirtualMethod.cs: Split ToNative call from managed method invocation to avoid duplicate calls in null checking scenarios. * glib/Object.cs: add OwnedHandle property for use by language binding code which needs to pass owned refs to native methods. 2008-04-04 Mike Kestner * atk/Object.custom: take out a ref on the return value of OnRefChild. Also add some null guarding and default to IntPtr.Zero on exceptions. 2008-04-01 Mike Kestner * generator/InterfaceGen.cs: support "generic" interface implementations like those exposed by gio. This is specifically for libraries which return GTypes which are not exposed by the library but which implement GInterfaces which are exposed by the library. 2008-03-28 Andres G. Aragoneses * atk/Object.custom: custom properties for overriding class methods. * atk/Makefile.am: include Object.custom. * atk/glue/object.c: glue to override class methods. * atk/glue/Makefile.am: include object.c. 2008-03-27 Andres G. Aragoneses * glib/Program.cs: Add new static class for utility property, moving the code to call g_set_prgname() from gtk/Application.cs to here, and changing return value of g_set_program_name from bool to void. * gtk/Application.cs: Use Program.Name as a replacement of calling the native function g_set_prgname(). * glib/Makefile.am: add Program.cs. 2008-03-21 Mike Kestner * bootstrap-2.12: bump svn version * generator/CallbackGen.cs: add dnotify support to invoker. Store and respond with incoming UserData params. Start using __prefixed private vars to avoid collisions with parameters, like the 'result' params in gio. * generator/ManagedCallString.cs: use new data/dnotify invoker ctors. * generator/MethodBody.cs: * generator/Parameters.cs: don't link "out" length params to preceding strings. * generator/VMSignature.cs: don't require UserData to be last param, since it can have things like error after it. 2008-03-21 Mike Kestner * gtk/Gtk.metadata: s/GtkDestroyNotify/GDestroyNotify in vms too. 2008-03-14 Mike Kestner * pango/AttrList.custom: pass copies of the attrs to insert* since the list assumes ownership. * pango/Makefile.am: add new custom file. * pango/Pango.metadata: hide AttrList.Insert* for custom impl. 2008-03-12 Mike Kestner * glib/GType.cs: add an Init method for explicit initialization. 2008-03-04 Mike Kestner * bootstrap-2.12: update version to 2.12 and tag 2008-02-29 Mike Kestner * gdk/Event.cs: add New method for consistency with generated boxed types. Will be used by GLib.Value in the future. 2008-02-29 Mike Kestner * generator/ReturnValue.cs: null-term array handling. * glib/Marshaller.cs: marshaling methods for null-term arrays. 2008-02-29 Mike Kestner * sample/Action.cs: qualify Action usage. * sample/GtkDemo/DemoApplicationWindow.cs: qualify Action usage. * sample/GtkDemo/DemoUIManager.cs: qualify Action usage. 2008-02-29 Mike Kestner * configure.in.in: atk checks and SUBSTs. * atk/Util.custom: custom properties for overriding class methods. * atk/glue/util.c: glue to override class methods. 2008-02-26 Mike Kestner * generator/ByRefGen.cs: fix mismatched alloc/free. 2008-02-22 Mike Kestner * gdk/Pixbuf.custom: add destroy notification and pin byte[] to avoid GC complications. Add a couple new convenience ctors as well. [Fixes #362951] 2008-02-21 Mike Kestner * glib/Source.cs: rework proxy removal to avoid boxing profile. * glib/Idle.cs: save src_id in proxy to facilitate removal. * glib/Timeout.cs: save src_id in proxy to facilitate removal. [Fixes #359561] 2008-02-07 Mike Kestner * generator/ReturnValue.cs: null term array marshaling. * glib/Marshaller.cs: new marshalers for null-terminated string arrays. [Fixes #342113] 2008-02-07 Mike Kestner * generator/Parameters.cs: fix off-by-1 in null term array marshaling. 2008-02-06 Mike Kestner * gdk/Gdk.metadata: mark ApplyEmbeddedOrientation return as owned. 2008-01-30 Mike Kestner * generator/ClassBase.cs: null check ifaces in recursive method and signal lookup. 2008-01-29 Mike Kestner * generator/ManagedCallString (Setup): use error param name instead of hardcoding error. 2008-01-29 Mike Kestner * generator/VirtualMethod (CName): mangle the name. * generator/SymbolTable.cs (MangleName): add 'remove' and 'foreach' mappings. Should probably just get a C# keyword list and map all of them instead of onesy twoseys. Fixes for tnymail binding generation. 2008-01-24 Lluis Sanchez Gual * glade/XML.custom: due to a recent Mono fix (bug #322762), Type.GetFields does not return private fields from base classes anymore, so the BindFields now has to go through the class hierarchy to get all fields. 2008-01-23 Mike Kestner * bootstrap-2.12: update version and tag 2.11.91. 2008-01-22 Mike Kestner * glib/Object.cs: expose an internal ToggleRef prop. * glib/Signal.cs: use ToggleRef for lookups instead of Object. Add a Free method and release connections and gchandles. * glib/ToggleRef.cs: add signal hash and release signals on free. 2008-01-17 Mike Kestner * glib/Object.cs: remove ref from Objects hash prior to releasing it. 2008-01-17 Mike Kestner * glib/ToggleRef.cs: check for null reference in IsAlive. 2008-01-17 Mike Kestner * generator/Property.cs: missing Parent null check needed for direct GLib.Object subclasses. Suggested by mario@gnome.cl. [Fixes #321536] 2008-01-17 Mike Kestner * sample/Assistant.cs: new Gtk.Assistant sample. * sample/Makefile.am: hook in new sample. 2008-01-11 Mike Kestner * bootstrap-2.12: update version to 2.11.90. * configure.in.in: incorporate build service patch. * glib/glib-sharp-2.0.pc.in: add cflags for new api.xml. * glib/Makefile.am: install api.xml to correct dir. 2008-01-07 Mike Kestner * generator/SymbolTable.cs: map "unsigned long" to LPUGen. 2008-01-02 Mike Kestner * gtk/MoveFocusHandler.cs: obsolete event types. * gtk/TextView.custom: obsolete move-focus signal. * gtk/Window.custom: obsolete move-focus signal. Compat fixes for removal of signals from gtk+ API. [Fixes #350770] 2007-12-17 Mike Kestner * parser/gapi_pp.pl: parse 'typedef struct\n{' properly. 2007-12-12 Mike Kestner * generator/Parameters.cs: fix marshaling for ArrayCount params where casting is required, like gsize/size_t count parameters. 2007-12-11 Mike Kestner * parser/gapi2xml.pl: fix tightloop in single-line prop declarations. 2007-12-06 Mike Kestner * * : update to 2.12 API. 2007-12-04 Mike Kestner * generator/SymbolTable.cs: add goffset mapping. 2007-12-04 Mike Kestner * configure.in.in: check for default off_t size * generator/SymbolTable.cs: map off_t based on configure check. * generator/Makefile.am: add OFF_T_FLAGS to compile. 2007-12-03 Mark Probst * generator/SymbolTable.cs: Added "where" to the list of mangled names. 2007-11-29 Mike Kestner * parser/gapi_pp.pl: collapse embedded multiline function fields to a single line. [Fixes #344853] 2007-11-29 Mike Kestner * generator/MethodBase.cs: move Name stuff from subclasses. Check for (G|S)et in new Has props. * generator/Method.cs: * generator/VirtualMethod.cs: refactor out Name stuff. Use new Has(G|S)etterName props. * pango/Pango.metadata: workaround Has/Hash collision with the old broken getter check. [Fixes #344954] 2007-11-29 Mike Kestner * glib/Signal.cs: ignore GCHandles with null targets since their object has been collected. [Fixes #344250 again] 2007-11-28 Mike Kestner * glib/Object.cs: take ref using method param to avoid NREs. [Fixes #344250] 2007-11-16 Mike Kestner * glib/Object.cs: use toggle refs for all objects. de-obsolete Data hash. Add internal Signals hash. * glib/Signal.cs: switch to weak gchandles. * glib/WeakObject.cs: kill. 2007-11-16 Eskil Bylund * gtk/ListStore.custom: * gtk/TreeStore.custom: Implement InsertWithValues. * gtk/Gtk.metadata: Deprecate the old generated method. [Fixes #325040] 2007-11-12 Mike Kestner * sample/TreeModelDemo.cs: lt/gt typo bugfix [Fixes #333653] 2007-11-12 Mike Kestner * generator/SymbolTable.cs: remove GCallback mapping. * glib/GCallback.cs: kill, bad idea. 2007-11-12 Mike Kestner * glib/IOChannel.cs: IOChannel wrapper implementation. * glib/Makefile.am: build new files. * glib/Marshaller.cs: new string array marshaling methods. * glib/Spawn.cs: g_spawn* wrapper implementation. * sample/SpawnTests.cs: tests for the new GLib.Process class and a cursory exercise of IOChannel for SpawnAsyncWithPipes. 2007-11-09 Mike Kestner * generator/Parameters.cs: support for null_term_array attribute. 2007-11-08 Mike Kestner * glib/Marshaller.cs: new null-terminated string[] marshaler from Mono.Unix with adaptations by Michael Hutchinson. 2007-11-02 Mike Kestner * glib/SList.cs: * glib/List.cs: add Array dup of object[] ctor since we are passing typed arrays from generated code. 2007-11-02 Mike Kestner * generator/Method.cs: need to use on the Base method name to lookup complements and determine if the method is a getter or setter when an explicit interface method name is used. 2007-10-24 Mike Kestner * generator/SymbolTable.cs: mappings for GCallback and GSourceFunc. * glib/GCallback.cs: GCallback declaration. * glib/Source.cs: GSourceFunc declaration. 2007-10-24 Mike Kestner * generator/VirtualMethod.cs: clean up compiler warning and duplicate call. 2007-10-24 Mike Kestner * generator/InterfaceGen.cs: generate an Implementor prop on the adapters to obtain the underlying object. 2007-10-22 Mike Kestner * configure.in.in: add a win64 check and a compiler define for handling win64 32bit longs. * generator/LPGen.cs: use int to marshal on win64. * generator/LPUGen.cs: use uint to marshal on win64. * generator/SymbolTable.cs: remove fixme. 2007-10-16 Mike Kestner * gtk/CellRenderer.custom : marshal GTypes as IntPtr like the generator does. * gtk/Container.custom : ditto. [Fixes comment #8 on 327058] 2007-10-15 Mike Kestner * generator/InterfaceGen.cs : gen Handle props as overrides. * glib/GInterfaceAdapter.cs : add abstract Handle prop. * glib/Value.cs: add ctor (GInterfaceAdapter). 2007-10-04 Peter Johanson * gtk/Gtk.metadata: Make the public fields on Gtk.Rcstyle writeable. 2007-10-04 Mike Kestner * glib/DestroyNotify.cs: add CDeclCallback to the delegate. * glib/Signal.cs: use DestroyHelper. * gdk/Input.custom: use DestroyHelper. * gtk/Quit.custom: remove new on DestroyHelper handler. * gtk/TreeModelFilter.custom: remove new on DestroyHelper handler. * gtk/TreeViewColumn.custom: remove new on DestroyHelper handler. 2007-10-02 Mike Kestner * generator/*.cs: implement the interfaces on the adapters too. Generate an Implementor interface for users which exposes the methods to implement. Register based on the Implementor sub-iface. * gtk/*Adapter.custom: custom implementations for the custom interface members. * gtk/TreeIter.custom: make UserData public. * sample/TreeModelDemo.cs: sample for implementing a TreeModel interface. 2007-10-01 Mike Kestner * generator/OpaqueGen.cs: disable Copy generation fix until I can figure out why it breaks DnD. 2007-10-01 Mike Kestner * gtk/TreePath.custom: use Marshal.Copy to copy indices array. 2007-10-01 Mike Kestner * glib/Object.cs: add ctor (), which invokes CreateNativeObject to allow direct subclasses that do all the registration automatically. 2007-09-21 Mike Kestner * generator/*.cs: add DefaultValue prop for obtaining a sane value when we need to return a value but something bad has happened such that we can't get a real value. Needed for iface signal marshaling, among other places we're partially working around it now. 2007-09-19 Mike Kestner * generator/InterfaceGen.cs: remove some dead code from a previous implementation attempt. 2007-09-19 Mike Kestner * generator/VirtualMethod.cs: refactor delegate generation into GenerateCallback and add [CDeclCallback] which was missing. * generator/InterfaceGen.cs: kill GenerateDelegates. They are now generated by VirtualMethod.GenerateCallback. 2007-09-14 Mike Kestner * generator/CallbackGen.cs (GenInvoker): null check the sig field and set it up. This can happen when generating the marshaling types from dependent libraries instead of via the Generate method. 2007-09-11 Mike Kestner * gtk/Gtk.metadata: virtual_method rules for GInterface generation. * generator/ReturnValue.cs (ToNative): new method for the virtual method generation. * generator/Parameters.cs (FromNative): null guarding. * generator/ManagedCallString.cs: rework for interface method generation including callback and error param support. * generator/CallbackGen.cs: Invoker support. new class that deals with persistence of native and wrapper delegates in native to managed callback method signatures. * generator/VirtualMethod.cs: support for generation of interface methods, and all the funky parameters that come with that. * generator/InterfaceGen.cs: Fill out the adapter implementation. * generator/MethodBody.cs: Initialize overload. Extend ThrowsException to support GError outside the last parameter slot. * glib/GInterfaceAttribute.cs: New attribute to mark interfaces and obtain adapter type. * glib/Object.cs (AddInterfaces): interface registration method. * glib/GInterfaceAdapter.cs: New abstract class for interface adapter generation. * glib/Makefile.am: add new files. 2007-09-11 Mike Kestner * gtk/Object.custom (Destroy): add a null check to avoid Gtk criticals. The destroy case seems to be problematic with a bunch of existing code, so this turns it into a noop. 2007-09-06 Mike Kestner * AssemblyInfo.cs.in : add IgnoreClassInitializers attr to all. * generator/ObjectGen.cs : add custom-attr generation for objects. * glib/ClassInitializerAttribute.cs : obsolete * glib/IgnoreClassInitializersAttribute.cs : new assembly attr to avoid a blind GetMethods reflection. * glib/Makefile.am : add files * glib/TypeInitializerAttribute.cs : new attr to specify init method to be run at type registration. * gtk/Widget.custom : remove the ClassInitializerAttr. * gtk/Gtk.metadata : add a custom-attr node to GtkWidget. * sample/Subclass.cs : use the IgnoreClassInitializers attr. 2007-08-14 Mike Kestner * gtk/Gtk.metadata : kill a few "new" warnings in FileChooser implementors. 2007-08-14 Mike Kestner * glib/ListBase.cs : add AllocNativeElement method and an Append (object) method that uses it. * glib/List.cs : add object[] ctor using new append method. * glib/SList.cs : add object[] ctor using new append method. These are needed to return G(S)List* values as virtual method return values. 2007-08-13 Mike Kestner * generator/MethodBody.cs : finally kill the s/out ref/ref/ hack. * generator/Parameter.cs : ditto. 2007-08-13 Mike Kestner * generator/ByRefGen.cs : implement IManualMarshaler. * generator/Parameter.cs : use StructParameter for ByRefGen. 2007-08-13 Mike Kestner * generator/*.cs : switch to IntPtr marshaling for struct types in the managed to native direction. * gtk/*.custom : adjust to new gapi struct pinvoke sigs. 2007-08-01 Mike Kestner * generator/CallbackGen.cs : use Parameters.NativeCallbackSignature. * generator/Ctor.cs : use Parameters.ImportSignature prop. * generator/ImportSignature.cs : kill * generator/MethodBase.cs : kill ImportSignature prop. * generator/Method.cs : use Parameters.ImportSignature prop. * generator/NativeCallbackSignature.cs : kill * generator/Parameters.cs : add ImportSig and NativeCallbackSig. * generator/Signal.cs : use Parameters.NativeCallbackSignature prop. * generator/VirtualMethod.cs : use Parameters.ImportSignature prop. 2007-07-31 Mike Kestner * generator/Ctor.cs : Validate before generating and adjust protection on a couple private methods. * generator/Parameters.cs : remove unused var to kill warning. 2007-07-30 Mike Kestner * generator/MethodBody.cs : refactor finish logic into parameter. * generator/Parameters.cs : refactor finish logic into parameter and fix some failures to marshal ref params post call. 2007-07-27 Mike Kestner * generator/OpaqueGen.cs : only generate Copy override for methods with no parameters. Fixes a gnome-sharp build problem. 2007-07-26 Mike Kestner * parser/gapi2xml.pl : beef up error message for signal vm parse. [Fixes #82149] 2007-07-24 Mike Kestner * bootstrap-2.10 : bump version and tag 2.10.2. 2007-07-20 Mike Kestner * gtk/Calendar.custom : workaround invalid states in widget when raising month_changed signals. [Fixes #78524] 2007-07-20 Mike Kestner * gtk/gtk-api-2.10.raw : refresh. * parser/gapi_pp.pl : combine lines that end in '\' before sending them through the pattern matching. [Fixes #79214] 2007-07-19 Mike Kestner * generator/OpaqueGen.cs : override the new Copy vm if a Copy method exists for the type. * glib/Opaque.cs : add a virtual method to allow subclasses with Copy methods to override. Use the method in GetOpaque for unowned instantiations to try to obtain an owned instance. [Fixes #82037] 2007-07-18 Mike Kestner * gdk/EventExpose.cs : return a pointer from the get_area glue pinvoke to avoid VS crashes on win32. * gdk/glue/event.c : return a GdkRectangle* to avoid stack imbalance on VS debugger. [Fixes #82098] 2007-07-17 Mike Kestner * gtk/Gtk.metadata : map TreeModelFilter ctor param to prop to avoid subclass ctor exception. [Fixes #82115] 2007-07-17 Mike Kestner * generator/CallbackGen.cs : make GError** signatures fatal to avoid compilation problem in gmime-sharp. 2007-07-12 Mike Kestner * generator/StructBase.cs : use typeof to pass type to PtrToStruct to avoid an instantiation and method call. Duh. 2007-07-10 Mike Kestner * generator/ImportSignature.cs : use Parameter.NativeSignature prop and refactor out some GError handling. * generator/MethodBody.cs : Refactor logic into Parameters. * generator/Parameters.cs : add ArrayParameter, ArrayCountPair, and ErrorParameter subclasses to refactor spaghetti code in MethodBody. 2007-07-03 Mike Kestner * bootstrap-generic : use automake --foreign to make automake-1.10 happy with gnu make function usage. 2007-06-25 Mike Kestner * gtk/StatusIcon.custom : present_icon is in the glue lib. 2007-06-25 Ankit Jain * gdk/Gdk.metadata : hide Property.Get for manual impl. * gdk/Property.custom : manually marshal the data param in Get. 2007-06-19 Mike Kestner * gdk/Property.custom : obsolete compat overload for Change(). * gdk/Gdk.metadata : array attr for Property.Change (). * gdk/Makefile.am : add custom file. 2007-06-18 Mike Kestner * bootstrap-2.10 : bump version and tag. 2007-06-05 Mike Kestner * glib/ManagedValue.cs (ReleaseWrapper): new method. * glib/Value.cs : release the ManagedValue wrapper to avoid leaks. [Fixes #81799] 2007-05-03 Wade Berrier * generator/gapi2-codegen.in: * parser/gapi2-fixup.in: * parser/gapi2-parser.in: Don't use 'which' anymore, as it doesn't work in all caes (ie: when symlinks are in the way) 2007-04-28 Mike Kestner * generator/NativeCallbackSignature.cs : * generator/Signal.cs : don't use ref IntPtr in native callback sigs for struct parameters. Use IntPtr and StructureToPtr. Fixes the layout issues in MD introduced by the structure marshaling rework. 2007-04-24 Aaron Bockover * gtk/Widget.custom (StyleGetProperty): return null if gtksharp_widget_style_get_property returns FALSE (property doesn't exist) [Fixes #81445] * gtk/glue/widget.c (gtksharp_widget_style_get_property): check return of gtk_widget_class_find_style_property for NULL; function now returns TRUE if spec is not NULL, FALSE otherwise 2007-04-23 Brad Taylor * gtk/TreePath.custom: Override Equals and compare based upon the underlying indicies, instead of the object reference. [Fixes #81398] 2007-04-23 Mike Kestner * glib/Value.cs : add support for accessing generic struct boxed types as objects. [Fixes #79224] 2007-04-20 Mike Kestner * generator/CallbackGen.cs : switch to NativeCallbackSignature. * generator/GenBase.cs : add NativeCallbackType member. * generator/IGeneratable.cs : add NativeCallbackType member. * generator/ManagedCallString.cs : add guarded post call struct marshaling back to the native struct. * generator/NativeCallbackSignature.cs : new parallel to ImportSignature but using NativeCallbackType instead of MarshalType. * generator/Signal.cs : switch vm and sig marshaler callbacks to NativeCallbackSignature. Perform guarding post call struct marshaling back to the native struct. * generator/Parameters.cs : add NativeCallbackType member. * generator/SimpleBase.cs : add NativeCallbackType member. * generator/StructBase.cs : add NativeCallbackType member using IntPtr to support NULL handling. * gtk/NodeCellDataFunc.cs : update native marshaler sig. 2007-04-17 Mike Kestner * gtk/Gtk.metadata : hide TreeModel.RowsReordered signal so we can do a correct implementation while maintaining compat with the existing broken "NewOrder" parameter. * gtk/ListStore.custom : manual RowsReordered signal implementation. * gtk/RowsReorderedHandler.cs : manual implementation for preserve compat in the Args class. Adds NewChildOrder to replace the broken ChildOrder. * gtk/TreeModel.custom : manual RowsReordered signal declaration. * gtk/TreeModelFilter.custom : manual RowsReordered signal implementation. * gtk/TreeModelSort.custom : manual RowsReordered signal implementation. * gtk/TreeStore.custom : manual RowsReordered signal implementation. [Fixes #78512] 2007-04-17 Ben Motmans * doc/en/Gtk/Widget.xml: removed documentation for internal method 2007-04-17 Ben Motmans * gtk/Widget.custom: StyleGetPropertyValue that returns a GLib.Value when StyleGetProperty cannot automatically cast the GLib.Value (eg: Gdk.Color) [Fixes #81253] * doc/en/Gtk/Widget.xml: Documentation for the new StyleGetPropertyValue method and improved documentation for StyleGetProperty * gtk/TreeView.custom: OddRowColor and EvenRowColor properties * doc/en/Gtk/TreeView.xml: documentation for OddRowColor and EvenRowColor properties 2007-04-12 Brad Taylor * doc/en/Gtk/Widget.xml: Documentation for OnActivate, but only because Mike asked so nicely. 2007-04-12 Mike Kestner * glib/Object.cs : do the Timeout switch in the finalizer instead of in Dispose, where it can cause problems if people override Dispose. * generator/ObjectGen.cs : don't generate finalizers for every subclass, just rely on the ~GLib.Object implementation. 2007-04-12 Mike Kestner * glib/Idle.cs : * glib/Timeout.cs : don't add the CDeclCallback attr to the public delegate type, since it causes a MissingMethod exception on win32. 2007-04-09 Brad Taylor * gtk/glue/widget.c: * gtk/Widget.custom: Bind activate_signal in GtkWidgetClass. [Fixes #81343] 2007-04-05 Mike Kestner * glib/ToggleRef.cs : flush a few leftover changes from a ToggleRef refinement. 2007-03-15 Mike Kestner * generator/CallbackGen.cs : generate try/catch blocks for native to managed marshallers. [Fixes the rest of #80516] 2007-03-08 Mike Kestner * glib/Signal.cs : guard against NULL gchandles. * gdk/Input.custom : add try/catch blocks to native callbacks. * gtk/*.custom : ditto * gtk/NodeStore.cs : ditto 2007-03-08 Mike Kestner * glib/*.cs : add try/catch blocks to native callback methods for DestroyNotify, Copy/Free, and ToggleNotify handlers. Raise UnhandledException events on catches. 2007-03-06 Mike Kestner * generator/Signal.cs : add try/catch blocks to native callback virtual method delegate too. 2007-03-06 Mike Kestner * generator/Signal.cs : add try/catch blocks to native callback delegates so that exceptions are not propagated across the native boundary. Now raises GLib.ExceptionManager.UnhandledException. * glib/ExceptionManager.cs : new class with UnhandledException event and a static method to raise it. * glib/Signal.cs : wrap the generic EventHandler callback delegate with try/catch blocks and raise the UnhandledException event. 2007-03-05 Mike Kestner * gtk/Application.custom : set prgname in Init methods so that WM_CLASS is more appropriate. Programs using Gnome.Program already get a nice prgname, but Gtk.Application.Init apps were getting a path instead of a filename without extension. 2007-03-01 Brad Taylor * gtk/Dialog.custom: obsolete old, improperly bound SetAlternateButtonOrderFromArray. * gtk/Gtk.metadata: fix binding of the gtk_dialog_set_alternate_button_order_from_array. [Fixes #80706] 2007-03-01 Mike Kestner * generator/MethodBody.cs : handle set method conversion to property for array parameters with preceding count params. 2007-02-21 Peter Johanson * gtk/glue/cellrenderer.c: revert to previous implementation of _base_ functions to maintain backward-stability. [Fixes #77949] 2007-02-16 Peter Johanson * gtk/CellRenderer*.custom: new custom overrides for VMs. * gtk/glue/cellrenderer.c: add GType parameters to the invoke methods so we can identify the correct vtable to invoke from. 2007-02-16 Mike Kestner * glib/Object.cs : switch to ToggleRefs for all items created with CreateNativeObject. This gets all managed subclasses, with a little overhang into simple wrappers. * glib/ToggleRef.cs : new class to manage the weak to strong ref transitions as a native object flips between shared and unshared ownership. * gtk/Object.custom : revamp of the Destroyed signal handling. * gtk/Gtk.metadata : hide destroy signal so we can deal with it manually. [Fixes the reopen note of #72018.] 2007-02-03 Mike Kestner * gtk/StatusIcon.custom : obsolete overload for backcompat on GetGeometry, and custom PresentMenu method to invoke new glue. * gtk/glue/statusicon.c : glue method to connect to gtk_menu_popup without having to go across the native/managed boundary multiple times using gtk_status_icon_position_menu wrapper. [Fixes #79500] 2007-02-02 Brad Taylor * gdk/Gdk.metadata: fix incorrect ref_count with Pixbuf's RotateSimple method. 2007-01-09 Mike Kestner * generator/CallbackGen.cs : add PersistUntilCalled method generation to the wrapper class. Holds a GCHandle for the wrapper which is Freed when the delegate is invoked. * generator/MethodBody.cs : add "async" case for delegate scope. Use this scope to identify a callback parameter that needs to persist until the native side calls back. Only valid for single-invoke callbacks. * gtk/Gtk.metadata : mark Print.RunPageSetupDialogAsync done_cb param with the new async scope. 2007-01-09 Mike Kestner * sample/GtkDemo/DemoPixbuf.cs : use Marshal.Copy properly to avoid expose crashes. Revised from patch provided by Fabian Sturm. [#78262] 2007-01-09 Mike Kestner * sample/GtkDemo/DemoIconView.cs : use Gtk.Stock icons to avoid crashes when the previous gnome icons aren't installed. [#78212] 2007-01-09 Bart Deleye * parser/gapi_pp.pl : regex fix for tinymail parse. 2007-01-09 Brad Taylor * gdk/Pixbuf.custom: Properly dispose of PixbufLoaders when we're done with them. 2006-12-28 Brad Taylor * sample/GtkDemo/Makefile.am: * sample/GtkDemo/DemoPrinting.cs: Fix build on Win32. 2006-08-21 Mike Kestner * bootstrap-2.10 : tag and bump version to 2.10.0. 2006-08-10 Mikkel Kruse Johnsen * sample/GtkDemo/DemoPrinting.cs : new Gtk.Print sample. * sample/GtkDemo/Makefile.am : build new source. 2006-08-10 Mike Kestner * pango/Pango.metadata : add library attr to pango_cairo methods. * pango/pango-sharp.dll.config.in : add libpangocairo mapping. 2006-08-10 Mike Kestner * pango/Pango.metadata : some pango_cairo fixup. * pango/pango-api-2.10.raw : regen with pangocairo.h API. * sources/gtk-sharp-2.10-sources.xml : don't exclude pangocairo.h. 2006-08-10 Mike Kestner * parser/gapi2xml.pl : class parsing regex needs to handle protected comments too. 2006-08-07 Mike Kestner * gtk/Gtk.metadata : remainder of new API massaging for existing types. * gtk/Printer.custom : new static method. * gtk/TextBuffer.custom : serialization API implementations. 2006-08-07 Mike Kestner * gtk/Gtk.metadata : mark an out param in Style.LookupColor. Some tweaks to duplicated label api. 2006-08-07 Mike Kestner * gtk/Gtk.metadata : markup for new Clipboard Rich text funcs. * gtk/Clipboard.custom : manually implement RequestRichText and WaitForRichText methods to deal with array marshaling and delegate persistence. 2006-08-04 Mike Kestner * gtk/Gtk.metadata : a few tweaks to the 2.10 API found in doc/ audit pass. 2006-08-04 Mike Kestner * gdk/Screen.custom : manually implement FontOptions property so we can use reflection to access the internal Mono.Cairo ctor. * gdk/Gdk.metadata : list marshaling, method-to-property renames, and some hides form manual implementation. Hide gdk_atom_intern_static_string wrapper since it is pointless outside the context of C code. 2006-08-03 Mike Kestner * pango/pango-api-2.10.raw : regen for 1.12.x * sources/Makefile.am : use pango-1.12.3 for parse * sources/gtk-sharp-2.10-sources.xml : ditto 2006-08-01 Mike Kestner * gtk/Gtk.metadata : fix a couple of compat breaks against 2.8. * gtk/TreeModelFilter.cs : hand implement ConvertChildIterToIter to match the 2.8 version of the method. 2006-08-01 Mike Kestner * gtk/gtk-api-2.10.raw : reparsed * parser/gapi_pp.pl : put a newline after G_DEFINE_TYPE macros on the output and do a next if we shouldn't fall out of the branch. 2006-07-29 Alp Toker * sample/GstPlayer.cs: Remove the 2002 GStreamer sample. gst-sharp has long since found a new home. 2006-07-28 Mike Kestner * *: huge amounts of surgery to split off gnome-sharp module. Clean out all the gnome related stuff from the auto* files. make distcheck works on the leaner-meaner gtk-sharp module. 2006-07-27 Mike Kestner * bootstrap*: kill the 2.4/2.6/2.8 straps, they are on a branch now. update 2.10 strap for new apis. * sources/Makefile.am : parse 2.16 sources for gnome libs. * sources/gtk-sharp-2.10-sources.xml : ditto. * parser/gapi-parser.cs : explicitly use an indented XML writer. * gnomevfs/gnome-vfs-api-2.16.raw: regen * gnomevfs/Gnomevfs.metadata: some build fixes * gnome/gnome-api-2.16.raw: regen * gnome/Gnome.metadata: some build fixes * sample/PrintSample.cs: remove new Gtk/Gnome ambiguities. 2006-07-27 Mike Kestner * gnome/PanelApplet.custom : hold UIVerbs in SetupMenu so the callback delegates don't get GC'd. 2006-07-15 Mike Kestner * parser/gapi2xml.pl : regex fix needed for vfs 2.15.3 parse. 2006-07-15 Mike Kestner * sources/gtk-sharp-2.10-sources.xml : update to gnome 2.15.4 sources for the 2.10 api build. * sources/Makefile.am : ditto. 2006-07-14 Mike Kestner * sources/gtk-sharp-2.10-sources.xml : update to gtk+-2.10.0 and pango-1.13.3 * sources/Makefile.am : ditto. * gtk/Gtk.metadata : some hides and renames to fix build. * gdk/gdk-api-2.10.raw : refresh. * gtk/gtk-api-2.10.raw : refresh. * pango/pango-api-2.10.raw : refresh. 2006-07-14 Mike Kestner * sample/gnomevfs/Makefile.am : build fix for !ENABLE_GNOMEVFS. 2006-06-21 Gonzalo Paniagua Javier * glade/HandlerNotFoundExeception.cs: * glade/XML.custom: provide a better error when the signature of a handler does not match the one of the event. 2006-05-10 Mike Kestner * bootstrap-2.10 : strap for the new 2.9.0 API. * generator/SymbolTable.cs : add GLib.InitiallyUnowned mapping. * glib/InitiallyUnowned.cs : new floating class "stub". * glib/Makefile.am : build new class. * gdk/gdk-api-2.10.raw: parse from 2.9.0 * gtk/Gtk.metadata: cleanup conflicts in 2.10 API. * gtk/gtk-api-2.10.raw: parse from 2.9.0 * pango/pango-api-2.10.raw: parse from 1.11.99 * sources/Makefile.am : 2.10 parse setup and api-2.10 * sources/gtk_tree_model_signal_fix-2.10.patch : 2.10 patch. * sources/gtk-sharp-2.10-sources.xml : parse rules for 2.10 2006-05-08 Joe Shaw * glib/ValueArray.cs: Don't immediately free ValueArrays; queue them up to be freed in the main thread by using a Timeout. This fixes SMP deadlocks when the GValues contained therein aren't threadsafe (like GDK resources). Fixes Novell bug #168650. 2006-05-04 Peter Johanson * gtk/glue/cellrenderer.c: Revert r59683, as it causes issues for overrides calling base.GetSize (), etc. 2006-05-03 Mike Kestner * gdk/Drawable.custom : remove manual DrawPoints impl. * gdk/Gdk.metadata : properly mark array and count params for Drawable.DrawPoints. 2006-05-02 Zac Bowling * docs/en/Gdk/Drawable.xml * gdk/Drawable.custom * gdk/Gdk.metadata : Fix Drawable.DrawPoints points param signature. 2006-04-20 Peter Johanson * gtk/glue/cellrenderer.c: Make GetSize, Render, etc behave correctly for all cases. Fixes #77949. 2006-04-15 Zac Bowling * README.generator : Updated with link to GAPI guide on Wiki 2006-03-27 Mike Kestner * gnomevfs/MimeType.cs : remove string from all pinvoke sigs. now adheres to the const/non-const conventions specified in the vfs headers. Fixes #77534. 2006-03-27 Mike Kestner * glib/ListBase.cs : deal with ownership of Opaque elements. * glib/Marshaller.cs : add a hack to deal with Opaque ownership in ListToArray marshaling. 2006-02-28 Mike Kestner * bootstrap-2.* : update for 2.x.2 releases. 2006-02-28 Mike Kestner * pango/Context.custom : use ReadIntPtr (ptr, offset) for 64 bit. * pango/FontFamily.custom : use ReadIntPtr (ptr, offset) for 64 bit. * pango/FontMap.custom : use ReadIntPtr (ptr, offset) for 64 bit. * pango/Layout.custom : use ReadIntPtr (ptr, offset) for 64 bit. 2006-02-28 Mike Kestner * gdk/Region.custom : 64 bit fix for ptr arithmetic. [Fixes #77658] Tue Feb 28 09:44:23 CET 2006 Paolo Molaro * gdk/Pixbuf.custom: use correct type for buffer_size in gdk_pixbuf_save_to_bufferv() (fixes bug# 77662). 2006-02-16 Mike Kestner * sample/gnomevfs/Makefile.am : make TestXfer conditional to a mono build since it uses Mono.GetOptions. [Fixes #77497] 2006-02-03 Mike Kestner * sample/gnomevfs/TestVolume.cs : remove C# 2.0 usage. 2006-02-03 Mike Kestner * bootstrap-2.* : update for 2.x.1 releases. 2006-02-03 Mike Kestner * generator/Signal.cs : virtual method enum retvals must be case to Enum before casting to their ultimate type. Also dispose retval gvalues to avoid reference leaks. 2006-01-31 Mike Kestner * gnome/About.custom : fix some nullterm issues in subclass construction as reported on irc by latexer. 2006-01-31 Mike Kestner * gtk/Dialog.custom : null check a parent arg. [Fixes #77400] 2006-01-22 Mike Kestner * configure.in.in : work around broken vte that doesn't advertise its gtk+ dependency to pkg-config. [Fixes #77323] 2006-01-21 Mike Kestner * generator/SymbolTable.cs : alias off_t to ssize_t as it is signed according to harold. [Fixes #77016] 2006-01-21 Mike Kestner * gtk/RadioToolButton.custom : manually implement the GLib.List group ctors. [Fixes #76992] 2006-01-17 Mike Kestner * gnome/Canvas.custom : add a ctor (bool is_aa) using the construct-only prop. [Fixes #77017] 2006-01-17 Wade Berrier * Have vte-sharp only depend on gtk-sharp instead of gnome-sharp * sample/VteTest.cs: use gtk# calls instead of gnome# * vte/vte-sharp-2.0.pc.in: depend on gtk-sharp instead of gnome-sharp * configure.in.in: Allow vte to be build if gnome isn't going to be built [Fixes #77182] 2006-01-13 Mike Kestner * glib/Marshaller.cs : subtract utc_offset when marshaling to time_t. [Fixes #77244] 2006-01-12 Mike Kestner * sources/MethodBody.cs : use Utf8.GetByteCount for hidden len params. [Fixes #77097] 2006-01-11 Mike Kestner * bootstrap-2.8 : bump version to 2.8.0 2005-12-30 Alp Toker * Thread.cs: Add GLib.Thread.Supported, should be checked to avoid doing Thread.Init() twice (Mono runtime initialises GLib threads itself, MS runtime doesn't) * glue/thread.c: g_thread_supported() is a macro, so needs glue * glue/Makefile.am: * glue/makefile.win32: Update makefiles with new glue file. 2005-12-21 Lluis Sanchez Gual * generator/FieldBase.cs: Properly convert marshalled value to native value. * generator/CallbackGen.cs: Added parens to the result of ToNativeReturn, since it may have problems with the cast. 2005-12-16 John Luke * samples/CairoSample.cs: * samples/GtkCairo.cs: * samples/Makefile.am: update the cairo sample, fixes bug #76324 2005-12-16 Mike Kestner * gdk/PixbufLoader.custom (InitFromAssemblyResource): move stream access code outside the try block so only the Load is cleaned up with the finally block. Add some other arg checking. [Fixes #76997] 2005-12-13 Mike Kestner * sources/Makefile.am : move to stable gtk 2.8 versions. * sources/gtk-sharp-2.8-sources.xml : move to stable gtk 2.8 versions. * */*.raw : regenerate. * gdk/Gdk.metadata : hide a few gtk+ internal methods. * gtk/Gtk.metadata : hide a win32 internal enum. 2005-12-13 Mike Kestner * bootstrap-2.8 : bump version to 2.7.90. 2005-12-13 Mike Kestner * gconf/GConf/Makefile.am : add GAPI_CDECL_INSERT step. * gconf/GConf.PropertyEditors/Makefile.am : add GAPI_CDECL_INSERT step. 2005-12-13 Mike Kestner * configure.in.in : check for mono-cairo.pc. * Makefile.include : use AC_SUBST for cairo ref. * gdk/Gdk.metadata : s/Cairo.Graphics/Cairo.Context. 2005-12-12 Mike Kestner * gnomevfs/Gnomevfs.metadata : mark some const strings. [Fixes #76270] 2005-12-12 Mike Kestner * gdk/EventClient.cs : fix native long marshaling issue. Thanks to ed@catmur.co.uk for the bug report and investigation. [Fixes #76740] 2005-12-12 Itamar Rogel * NodeView.cs : add default ctor and NodeStore setter. [Fixes #76827] 2005-12-12 Mike Kestner * generator/Signal.cs : pass byte cnt for autogenerated string length parameters. Thanks to Itamar Rogel for the report and a candidate patch. [Fixes #76952] 2005-12-10 Mike Kestner * gtk/gtk-api-2.8.raw : regenerated. * gtk/IconView.custom : manually implement a new interface method. * parser/gapi_pp.pl : more general G_DEFINE_TYPE_WITH_CODE parsing implementation. [Fixes #76266] 2005-12-10 Mike Kestner * gdk/gdk-symbols.xml : add GrabBroken mapping. * gdk/Event.cs : add GrabBroken to GetEvent. * gdk/EventGrabBroken.cs : manual Event subclass. * gdk/Gdk.metadata : hide new GrabBroken event. * gdk/Makefile.am : add new source file. 2005-12-09 Mike Kestner * pango/Pango.metadata : 2.8 API tweaks * gdk/Gdk.metadata : 2.8 API tweaks * gtk/Gtk.metadata : 2.8 API tweaks * gtk/IconView.custom : overloads for the weird ScrollToPath. * gtk/Makefile.am : add custom 2005-11-19 Mike Kestner * generator/ManualGen.cs (CallByName): add null handling. [Fixes #76540] 2005-11-15 Ben Maurer * gdk/Rectangle.custom: Fix up Intersect using p/invoke, per miguel's request. 2005-11-10 Mike Kestner * bootstrap-2.6 - renamed from bootstrap * bootstrap-2.8 : renamed from bootstrap-for-the-insane, removed message of doom, require Gtk 2.8. Change version to 2.7.1. 2005-10-31 Wade Berrier * .pc and wrapper scripts: Use relative paths so gtk-sharp is relocatable 2005-10-19 Mike Kestner * gtk/TextBuffer.custom : add some obsolete overloads for backward compat with some not-completely-unusable 1.0.x methods. 2005-10-19 Gonzalo Paniagua Javier * glib/Object.cs: remove the fast path. It was causing troubles with MD. 2005-10-19 Mike Kestner * gnome/PrintContext.custom (SetFont): pass the font by handle, not ref. 2005-10-19 Mike Kestner * bootstrap : bump version for 2.6.0. * bootstrap-2.4 : bump version for 2.4.0. 2005-10-08 Miguel de Icaza * gtk/Application.cs (Invoke): Use Timeout instead of Idle add to trigger the event on the Gtk thread. 2005-10-09 Mike Kestner * Makefile.include : reference Mono.Cairo.dll. * gdk/Gdk.metadata : add cairo_t symbol element. 2005-10-09 Mike Kestner * configure.in.in : string quote the POLICY_VERSIONS. * Makefile.include : multiple policy fixes. * */Makefile.am : multiple policy fixes. 2005-10-08 Mike Kestner * generator/Signal.cs : handle enum return values GTypes. * gtk/TextBuffer.custom : mark Text prop !GTK_SHARP_2_8. [Fixes #75885] 2005-10-08 Ben Maurer * glade/XML.custom: Do not look at inherited custom attrs. Increases performance. * glib/SignalAttribute.cs: Add AttributeUsage attr to increase perf and compiler checking 2005-10-07 Gonzalo Paniagua Javier * glib/MainContext.cs: added a Depth property to p/invoke g_main_depth. * glib/Object.cs: (Dispose): immediately call g_object_unref without queueing when possible (MainContext.Depth > 0) and use Timeout.Add instead of Idle.Add to get our unref callback scheduled more reliably. 2005-10-05 Mike Kestner * bootstrap : bump version for beta3. * bootstrap-2.4 : bump version for beta3. 2005-09-27 Mike Kestner * glib/Opaque.cs : remove the Opaques hash. As f-spot demonstrated, we cannot rely on a pointer continuing to point at the same type in memory, since there is no destroy notification for most opaques. * glib/Value.cs : use more explicit GetOpaque overload. * gtk/Style.custom : use more explicit GetOpaque overload. 2005-09-24 Christian Hergert * vte/Vte.metadata: Fix Vte.Terminal.SetColors to reflect proper mapping to vte_terminal_set_colors. palette is now Gdk.Color[]. * sample/VteTest.cs: Update to work with fixed parameter. * doc/en/Vte/Terminal.xml: Update vte docs to reflect parameter fix. 2005-09-23 Mike Kestner * configure.in.in : expand glib-sharp-2.0.pc. * glib/glib-sharp-2.0.pc.in : new pc file template. * glib/Makefile.am : dist and install pc file. * gtk/gtk-sharp-2.0.pc.in : Require glib-sharp-2.0. 2005-09-21 Mike Kestner * bootstrap* : expose POLICY_VERSIONS variable. * configure.in.in : AC_SUBST new POLICY_VERSIONS. * Makefile.include : build/install policy assemblies. * policy.config.in : policy config skeleton. * */Makefile.am : ditto. 2005-09-19 Tambet Ingo * glib/Opaque.cs: Set owned property in any case. Generated code will set owned to false after unref. 2005-09-15 Mike Kestner * configure.in.in : make gtkhtml-3.8 check >= 3.8.0. [Fixes #76119] 2005-09-15 Mike Kestner * glade/Glade.metadata : mark Interface.toplevels private to allow manual implementation. * glade/Interface.custom : add manual impl for Toplevels and obsolete old toplevels impl. * glade/Makefile.am : add new custom. 2005-09-15 Mike Kestner * parser/gapi-fixup.cs : warn on unmatched rules. reworked from a Dan Winship patch. [Fixes #76088] 2005-09-08 Dan Winship * gtk/Gtk.metadata: Hide Gtk.Drag.SetIconDefault. Mark Gtk.TreeView.GetVisibleRect's arg as "out". * gtk/Drag.custom: gtk_drag_set_icon_default(ctx) should translate to Gtk.Drag.SetIconDefault(ctx), not Gtk.Drag.IconDefault = ctx. * gtk/TreeView.custom: add obsolete GetVisibleRect() 2005-09-07 Mike Kestner * bootstrap : bump version for beta2. * bootstrap-2.4 : bump version for beta2. 2005-09-07 Eric Butler * gtk/NodeStore.cs : Add Clear() method * doc/en/Gtk/NodeStore.xml : Add documentation for above method 2005-09-07 Mike Kestner * configure.in.in : check for monodoc sources dir and warn if we are configuring for a different prefix. * doc/Makefile.am : add install targets. 2005-09-06 Mike Kestner * gtk/NodeStore.cs : fix recursive emit of row_inserted. 2005-09-02 Tambet Ingo * glib/Object.cs: Clean disposed flag from resurrected objects. 2005-09-02 Miguel de Icaza * gtk/Application.cs (Invoke): Add new overloads to easily invoke methods on the executing thread. 2005-09-01 Miguel de Icaza * gtk/Application.cs (Invoke): Add sugar to invoke a method on the main thread. 2005-09-02 Ben Maurer * sample/NodeViewDemo.cs: take advantage of the stuff below * gtk/TreeNodeValueAttribute.cs: Allow on props * gtk/TreeNodeAttribute.cs: Obsolete column count * gtk/NodeStore.cs: Change this to not need the TreeNodeAttribute column count. Handle fields as well as properties. 2005-08-30 Mike Kestner * gdk/Event.cs : add some null guarding to GetEvent. [Fixes #75642] 2005-08-30 Mike Kestner * parser/gapi_pp.pl : ignore ifndef *_H_ lines like in 1.0.x. [Fixes #75938] 2005-08-30 Mike Kestner * gtk/NodeStore.custom : recursively emit row_inserted for AddNode. [Fixes #75853] 2005-08-29 Mike Kestner * gtk/Widget.custom : add overloads for Modify* without a Gdk.Color param to reset color to default. [Fixes #75913] 2005-08-28 Ben Maurer * configure.in.in: Enable doc building without mono-tools being built. * gtk/NodeSelection.cs: helper api 2005-08-27 Peter Williams * gnome/Program.custom: Use a GLib.Argv in PersistentData to store a handle to argv, so that the unmanaged strings aren't freed out from under popt. This allows the popt context to actually be used. 2005-08-26 John Luke * glib/Signal.cs: deal with obj.Handle == IntPtr.Zero to avoid assertions 2005-08-25 Mike Kestner * configure.in.in : move GACUTIL check forward ahead of a use. * Makefile.include : distcheck fixes * glib/Makefile.am : distcheck fixes * gtkdotnet/Makefile.am : distcheck fixes 2005-08-25 Mike Kestner * configure.in.in : add PLATFORM_WIN32 conditional. Borrow mono's libtool s/cyg// hack. Improve/relocate System.Drawing check. * Makefile.include : add gapi-cdecl-insert handling for win32. * glib/Makefile.am : add gapi-cdecl-insert handling for win32. * gtkdotnet/Makefile.am : s/-r:System.Drawing/-r:System.Drawing.dll/. * sample/DrawingSample.cs : remove C# 2.0-isms. * sample/Makefile.am : s/-r:System.Drawing/-r:System.Drawing.dll/. 2005-08-25 Mike Kestner * bootstrap : bump version to 2.5.90.99 * bootstrap-2.4 : bump version to 2.3.90.99 2005-08-25 Mike Kestner * sample/GtkDemo/DemoIconView.cs : remove C# 2.0-isms. * sample/opaquetest/OpaqueTest.cs : remove C# 2.0-isms. * sample/valuetest/ValueTest.cs : remove C# 2.0-isms. * sample/PolarFixed.cs : remove C# 2.0-isms. 2005-08-23 Ben Maurer * glib/Object.cs: Escape names and ensure stuff is unique. 2005-08-23 Joe Shaw * generator/SymbolTable.cs: Add "unsigned" as a type which maps to "uint". * parser/gapi2xml.pl: Handle "type const *" return types as well. I think this is all of them! 2005-08-23 Joe Shaw * parser/gapi2xml.pl: Fix a cut-and-paste error in handling "type const *" fields. 2005-08-23 Mike Kestner * parser/gapi2xml.pl : handle foo const * fields. * gnome/gnome-api-2.10.raw : regen. 2005-08-23 Mike Kestner * bootstrap-for-the-insane : restore the message of doom that was removed during the "bootstrap-generic" reorganization. 2005-08-22 Joe Shaw * parser/gapi2xml.pl: Fix a minor bug handling "type const *" parameters. 2005-08-22 Ben Maurer * gtk/TreeNode.cs: Add Interlocked.Increment rather than ++. This makes it safe to create tree nodes in a worker thread as long as you reparent them into the tree with another thread. Thanks to mk for allowing a bit of threadedness in :-). * gtk/NodeView.cs: Fix leak here. r=mkestner 2005-08-22 Mike Kestner * parser/gapi2xml.pl : handle "type const *" parameters. * gdk/gdk-api-2.8.raw : regened probably from one of danw's parser fixes. [Fixes #75844] 2005-08-22 Dan Winship * generator/Property.cs (Generate): Mark properties [Obsolete] if they or their accessors are marked deprecated. (Affects Gtk.Entry.Editable, Gtk.FontSelection.Font, Gtk.Notebook.*TabBorder, Gtk.Object.UserData, and a bunch of old Gtk.ProgressBar properties). * gtk/Gtk.metadata: Hide Entry.Editable. Mark Notebook.Homogeneous deprecated. * gtk/Entry.custom: Implement Editable property with an Obsolete pointing to IsEditable. 2005-08-22 Dan Winship * generator/CallbackGen.cs (Validate, MarshalType): if validation fails, set MarshalType to "" to propagate that failure into methods that have args of this type. [Fixes #75851] 2005-08-15 Peter Williams * bootstrap-generic: New script, handles bootstrapping stuff generically and saves bootstrap settings so we can regenerate configure.in from configure.in.in. * bootstrap * bootstrap-2.4 * bootstrap-for-the-insane: Modify to use bootstrap-generic * Makefile.am (configure.in): Add a rule to run bootstrap.status to regenerate configure.in if configure.in.in changes. 2005-08-15 Mike Kestner * bootstrap : update for 2.5.90 release. * bootstrap-2.4 : update for 2.3.90 release. 2005-08-15 Mike Kestner * gtk/glue/makefile.win32 : s/.c/.o typo. 2005-08-15 Mike Kestner * pango/makefile.win32 : process symbols file at fixup target. 2005-08-15 Mike Kestner * sample/opaquetest/Makefile.am : make clean fixes * sample/valtest/Makefile.am : make clean fixes 2005-08-15 Dan Winship * sample/opaquetest/Makefile.am (EXTRA_DIST): add missing files (generated/*.cs): fix for srcdir!=builddir * sample/valtest/Makefile.am (EXTRA_DIST): add missing files (Valobj.cs): fix for srcdir!=builddir 2005-08-15 Mike Kestner * glib/Object.cs : hold strong refs for managed subclasses and weakrefs for wrappers. * gtk/Object.custom : don't hold managed refs here, they are now held in GLib.Object. 2005-08-11 Dan Winship * parser/gapi2xml.pl (addFuncElems): if a struct or boxed type has a constructor or a ref, unref, or destroy method, then it must be a reference type, so mark it "opaque" but then also mark all of its fields public and writable. * */*-api*.raw: Regen * generator/Parser.cs (ParseNamespace): make the opaque attribute check actually look at the value of the attribute rather than just checking if it's there, so that you can change a struct's opaque attribute from "true" to "false" via metadata and have that work. * generator/BoxedGen.cs (Generate): do not generate the boxed's "Free" method (since it's guaranteed to crash when we pass it a stack pointer). If "Copy" is marked deprecated, create a deprecated no-op for it, otherwise just skip it (since otherwise it will just leak memory when we copy its result onto the stack). * pango/Pango.metadata: deprecate Pango.Color.Copy and Pango.Matrix.Copy. Hide some array fields in Pango.GlyphString that we've never generated correctly. Tweak Pango.LayoutLine fields to be the same as they used to be. * pango/GlyphItem.custom (glyphs, item): * pango/GlyphString.custom (Zero, New): * pango/Item.custom (Zero, New): * pango/LayoutRun.custom (glyphs, item): add deprecated API compat * gdk/Gdk.metadata: undo the parser's new opaquification of Gdk.Font; it's been deprecated since pre-gtk# times, and no one should be using it, so there's no point in fixing it now. Fix up a few other things to match how they used to be. Fix RgbCmap's constructor args. * gdk/RgbCmap.custom (Zero, New): deprecated API compat * gdk/PangoAttrEmbossed.custom: * gdk/PangoAttrStipple.custom (Zero, New, Attr): deprecated API compat (explicit operator ...): allow casting back and forth between Pango.Attribute. (We can't usefully make them real subclasses of Pango.Attribute, because there's no way for Pango.Attribute.GetAttribute() to be able to dtrt with them.) * gtk/Gtk.metadata: deprecate Gtk.Requisition.Copy, Gtk.TextIter.Copy, and Gtk.TreeIter.Copy. Mark the return value of TextView.DefaultAttributes as "owned". Mark TargetList's fields private so it stays how it used to be. * gtk/TextAttributes.custom (Zero, New): deprecated API compat * gnomevfs/Gnomevfs.metadata: remove a bunch of opaque declarations that the parser figures out on its own now. * art/Art.metadata: * glade/Glade.metadata: * rsvg/Rsvg.metadata: un-mark everything the parser marked opaque in these libraries, because all of the structs in question would still be unusably broken, so the API churn would be pointless. 2005-08-11 Dan Winship * generator/OpaqueGen.cs (Generate): * generator/StructBase.cs (Generate): Add the [Obsolete] attribute to deprecated structs/boxeds/opaques too. (Affects Gdk.Font, Gtk.Arg, Gtk.ItemFactoryEntry, Gnome.IconData, and [in 2.6] Gnome.Vfs.MimeAction) 2005-08-09 Dan Winship * configure.in.in: kill off all gda/gnomedb references. (Henceforth gda# and gnomedb# will be part of gda and gnomedb. Or maybe separate modules in Mono SVN. Not part of gtk-sharp though.) * Makefile.am (SUBDIRS): remove gda and gnomedb * gda/, gnomedb/: buh-bye * sources/Makefile.am: remove gda/gnomedb * sources/gda.patch, sources/gnomedb.patch: gone 2005-08-09 Dan Winship * generator/ClassBase.cs (Validate): Don't fully validate the parent class and interfaces (because we don't want to see the warnings about certain GtkWidget methods in every single library that defines a widget, etc). Instead, use the new ValidateForSubclass() method. (ValidateForSubclass): only validate the signals * generator/InterfaceGen.cs (ValidateForSubclass): for interfaces we need to validate the methods too. * generator/ObjectGen.cs (Generate): Check for interface method collisions against the class's own methods too, not just its other interfaces. Also, it's only a collision if the methods' signatures have the same types. * generator/Method.cs (GenerateDeclCommon): Strip "Get"/"Set" even in the context of "Gtk.TreeModel.GetNColumns" * generator/Signal.cs (GenDefaultHandlerDelegate): Use "{0}_managed" rather than "obj" for the internal variable name, to avoid compile problems with signals that have a parameter named "obj". * generator/SymbolTable.cs (MangleName): mangle "internal" to "_internal". * generator/CallbackGen.cs (GenWrapper): treat InterfaceGen return values the same as ObjectGen 2005-08-09 Dan Winship * generator/OpaqueGen.cs (Generate): Tweak the generated Ref/Unref a bit; only Ref the pointer if Owned is false (and then set it to true), and vice versa for Unref. * glib/Opaque.cs (Opaque): set owned before setting Raw, so that Raw will be reffed properly. (GetOpaque): Fix this up to dtrt in all cases with refcounted opaques. * gtk/TreeView.custom (GetPathAtPos): Use "GetOpaque(...)" rather than "new TreePath()" * sample/opaquetest/*: regression test for opaque free/ref/unref handling * sample/Makefile.am (SUBDIRS): add opaquetest * configure.in.in (AC_OUTPUT): add opaquetest files 2005-08-04 Dan Winship Change the way generatable validation works. Some generatable properties can't be set until Validate-time (eg, Method.IsGetter), but it's annoying for every potential user of those properties to have to make sure it has Validated the generatable first. So now we add an explicit Validate() step after everything is loaded but before anything is Generated, so that at Generation time, everything can be assumed to have been Validated. * generator/IGeneratable.cs: add "bool Validate()" * generator/CodeGenerator.cs (Main): after loading all of the generatables, DeAlias the SymbolTable, Validate() all the generatables, and discard any invalid ones. * generator/*.cs: Implement Validate() trivially in generatables that didn't implement it before. Move Validate() calls from Generate() to Validate(). Remove non-hierarchical Validate() calls. * generator/SymbolTable.cs: GPtrArray is IntPtr, not IntPtr[] 2005-08-04 Dan Winship * gtk/TargetList.custom: add an operator for casting to TargetEntry[], so you can use methods like TargetList.AddTextTargets() in situations where you need a TargetEntry[] rather than a TargetList. * gtk/glue/targetlist.c: glue for that 2005-08-04 Mike Kestner * generator/Ctor.cs : call Finish and HandleException for static ctor method bodies. [Fixes #75493] 2005-08-03 Mike Kestner * bootstrap : use gnome and vfs 2.10 api. * bootstrap-2.4 : use gnome and vfs 2.6 api. * bootstrap-for-the-insane : use gnome and vfs 2.10 api for now. * configure.in.in : substitute GNOME_REQUIRED_VERSION. * gnome/gnome-api.raw : rename to gnome-api-2.6.raw. * gnome/gnome-api-2.10.raw : new 2.10 parse. * gnomevfs/gnome-vfs-api.raw : rename to gnome-api-2.6.raw. * gnomevfs/gnome-vfs-api-2.10.raw : new 2.10 parse. * gnomevfs/Gnomevfs.metadata : mark MimeApplication opaque. * sources/Makefile.am : split gnome parse for 2.6/2.10. * sources/gtk-sharp-2.4-sources.xml : parse GNOME 2.6. * sources/gtk-sharp-2.6-sources.xml : parse GNOME 2.10. * sources/gtk-sharp-2.8-sources.xml : parse GNOME 2.10 for now. 2005-08-02 Dan Winship * generator/Property.cs (Generate): cast GLib.Values to System.Enum before casting them to an enum type, to fix the build with csc 1.1. 2005-07-29 Dan Winship Automatic memory management for opaque types [#49565] * glib/Opaque.cs (Owned): new property saying whether or not gtk# owns the memory. (Opaque): Set Owned to true in the void ctor and false in the IntPtr one. (GetOpaque): add a new overload that can also create opaques, a la GLib.Object.GetObject. (Ref, Unref, Free): empty virtual methods to be overridden by subclasses. (set_Raw): Unref() and possibly Free() the old value, Ref() the new one. (~Opaque, Dispose): set Raw to IntPtr.Zero (triggering Free/Unref if needed) * parser/gapi2xml.pl (addReturnElem): if the method is named Copy and returns a pointer, set the "owned" attribute on the return-type. * */*-api.raw: Regen * generator/HandleBase.cs (FromNative): Add new FromNative/FromNativeReturn overloads that takes a "bool owned" param. Implement the 1-arg FromNative and FromNativeReturn in terms of that. * generator/ObjectBase.cs (FromNative): Implement HandleBase's new overload. Use the two-arg version of GLib.Object.GetObject when "owned" is true. * generator/OpaqueGen.cs (Generate): Pull out Ref, Unref, and Free/Destroy/Dispose methods and handle them specially by overriding Opaque.Ref, .Unref, and .Free appropriately. (If any of the methods are marked deprecated, output a deprecated do-nothing method as well, to save us from having to write all those deprecated methods by hand.) (FromNative): use GetOpaque, passing "owned". * generator/ReturnValue.cs (FromNative): if the value is a HandleBase, pass Owned to its FromNative(). * generator/Parameters.cs (Owned): new property (for use on out params) (FromNative): Call FromNative() on the generatable, handling Owned in the case of HandleBase. * generator/ManagedCallString.cs: * generator/MethodBody.cs: * generator/Signal.cs: use param.FromNative() rather than param.Generatable.FromNative(), to get ownership right. * */*.metadata: Mark opaque ref/unref/free methods deprecated (except where we were hiding them before). Add "owned" attributes to return values and out params as needed. * pango/AttrIterator.custom (GetFont): work around a memory-management oddity of the underlying method. * pango/AttrFontDesc.cs (AttrFontDesc): copy the passed-in FontDescriptor, since the attribute will assume ownership of it. * gtk/TreeView.custom (GetPathAtPos): set the "owned" flag on the returned TreePaths. * gtk/TargetList.custom: Remove refcounting stuff, which is now handled automatically * gtk/NodeStore.cs (GetPath): clear the Owned flag on the created TreePath so that the underlying structure doesn't get freed when the function returns * gtkhtml/HTMLStream.custom (Destroy): hide this and then reimplement it by hand to keep OpaqueGen from using it in Dispose(), since calling it after an HTMLStream.Close() will result in a crash. 2005-08-01 Todd Berman * gtk/Gtk.metadata: Change the Gtk.Style.Paint* methods to use a Gdk.Drawable instead of a Gdk.Window * doc/en/Gtk/Style.xml: Update the documentation for the above change. 2005-07-28 Mike Kestner * bootstrap-for-the-insane : beginnings of 2.8 binding. * */*-api-2.8.raw : 2.8 api files. * gdk/Gdk.metadata : work around #define used in Pixbuf props in 2.7. * parser/gapi2xml.pl : collision guarding for privatestruct defs. * sources/gtk-sharp-2.8-sources.xml : parse for 2.8. * sources/Makefile.am : api-2.8, get-2.8-sources, etc... 2005-07-28 Dan Winship * sources/gtk-sharp-2.4-sources.xml: * sources/gtk-sharp-2.6-sources.xml: exclude a bunch of gnome-print stuff that is not part of gnome-print's public API. * gnome/gnome-api.raw: regen * gnome/Gnome.metadata: remove some no-longer-needed metadata * gnome/GPFontEntry.custom: * gnome/GPPath.custom: no longer needed * gnome/FontFamily.cs: moved from FontFamily.custom, since there's no longer any non-custom portion of this. 2005-07-27 Dan Winship * gtk/ComboBoxEntry.custom: add an "Entry" property to cleanly fetch the ComboBoxEntry's Gtk.Entry 2005-07-27 Dan Winship * parser/gapi2xml.pl (addParamsElem): deal with G_CONST_RETURN in params... some functions use that to mark const "out" params. In fact, let's use it as a hint to mark them pass_as="out" too... * pango/pango-api-2.4.raw: * pango/pango-api-2.6.raw: * gtk/gtk-api-2.6.raw: Regen, fixing pango_script_iter_get_range and gtk_image_get_icon_name. * pango/Pango.metadata: * pango/ScriptIter.cs: Alas, exposing GetRange makes it clear that PangoScriptIter is really weird and we weren't wrapping it correctly before anyway, so mark the whole thing hidden and wrap it by hand. 2005-07-25 Mike Kestner * gnome/Gnome.metadata : mark IconList.GetIconFilename retval const. [Fixes #75530] 2005-07-21 Dan Winship * glib/Value.cs: Obsolete the EnumWrapper and UnwrappedObject constructors and casts. Add a new Enum cast. (Val): Handle Pointer values. Change the handling of Enum/Flags values to return the value directly rather than returning an EnumWrapper. Remove the Char (ie, "byte") handling since there aren't any char properties in all of gtk-sharp and the generator mistakenly converts them to strings anyway. * glib/EnumWrapper.cs: * glib/UnwrappedObject.cs: Mark these Obsolete. * glib/glue/type.c (gtksharp_get_parent_type, gtksharp_get_type_name_for_id): * glib/glue/value.c (gtksharp_value_get_value_type): Remove some unneeded glue methods. * generator/Ctor.cs (Generate): * generator/Property.cs (Generate): Simplify the enum and object property glue to not use EnumWrapper or UnwrappedObject. * sample/valtest/*: a regression test for GLib.Value * configure.in.in: add sample/valtest 2005-07-21 Dan Winship * parser/gapi2xml.pl (parseInitFunc): handle interface properties as well as class properties * gtk/gtk-api-2.4.raw: * gtk/gtk-api-2.6.raw: Regen (adding properties to GtkFileChooser). * generator/Property.cs (GenerateDecl): new method to generate just a property declaration (for an interface). (Generate): Add an "implementor" arg as with Method.Generate. * generator/InterfaceGen.cs (Generate): Generate properties. Also, validate methods *before* checking if they should be ignored, since certain Method properties aren't set until Validate-time. * generator/*.cs: misc minor changes/reorg for the above. 2005-07-19 Todd Berman * gtk/TreeSelection.custom: Add an overload for GetSelected to remove the need to always pass in that damn TreeModel. * doc/en/Gtk/TreeSelection.xml: Add documentation for the new overload. 2005-07-19 Dan Winship * parser/gapi2xml.pl (addParamsElem): change the handling of anonymous function pointer types in method signatures. Before, we added a child to the node, but the generator just ignored it. Now we add the callback (with a made-up name) to the toplevel node, and add an ordinary node referencing it to the node. Also, if the last param of the callback is a gpointer, rename it from "arg#" to "data" so it will be treated correctly (as the user data passed from the calling method). [Fixes #66241] * art/art-api.raw: * gdk/gdk-api-2.4.raw: * gdk/gdk-api-2.6.raw: Regen * generator/Parameters.cs (IsHidden): loosen the definition of hideable user_data; it doesn't have to occur at the end of the parameter list, as long as there's a callback arg before it. * generator/MethodBody.cs (GetCallString): Use Parameters.IsHidden to decide whether or not to squash user_data params, rather than trying to duplicate its logic. As a side effect, this also causes a handful of methods that take non-hidden IntPtr arguments to start actually passing those arguments to C rather than always passing IntPtr.Zero. * generator/Method.cs (Equals, GetHashCode): Remove unnecessary and possibly erroneous hashing overrides. * gtk/Gtk.metadata: Hide Gtk.Container.ForeachFull, since it's useless and wasn't in gtk# 1.0 * gtk/Menu.custom (Popup): * gtk/TextIter.custom (ForwardFindChar, BackwardFindChar): * gnome/App.custom (CreateMenusInterp, InsertMenusInterp, CreateToolbarInterp): * gnome/Client.custom (RequestInteractionInterp): * gnome/Popup.custom (MenuDoPopupModal, MenuDoPopup): Add [Obsolete] compat overloads for methods that have now lost a useless IntPtr. 2005-07-19 Dan Winship * generator/Parameters.cs: Remove the AllowComplexRefs flag. (They're always allowed now.) * generator/Signal.cs (GenVirtualMethod): Fix up the use of CSType vs MarshalType in the ref/out-handling code so that this can marshal any type. 2005-07-18 Dan Winship * parser/gapi2xml.pl: Change a few instances of "last if ($line =~ /^}/);" to "last if ($line =~ /^(deprecated)?}/);" to prevent runaway parsing (in particular in libgnomeui). * sources/gtk-sharp-2.4-sources.xml: * sources/gtk-sharp-2.6-sources.xml: exclude a handful of libgnomeui files that were omitted in gtk# 1.0 due to the parser bug, but which are entirely deprecated anyway. (Some of them showed up in earlier 1.9/2.4/2.6 releases but are going away again now.) * gnome/gnome-api.raw: Regen * gnome/Gnome.metadata: Hide a few more things that should be hidden, remove a few rules that aren't needed any more. Keeping hiding GnomeIconTheme though and using the old by-hand IconTheme for the moment, since the by-hand one isn't compatible with the autogenerated one. * gnome/IconData.cs: kill this, use the autogenerated version 2005-07-13 Dan Winship * sources/gtk-sharp-2.4-sources.xml: * sources/gtk-sharp-2.6-sources.xml: remove some gnome-vfs files: gnome-vfs-method and gnome-vfs-transform, because they're internal/part of the module API, and gnome-vfs-file-size.h, because it's generated and shouldn't be in the source tarball (and we don't parse it right anyway). * gnomevfs/gnome-vfs-api.raw: Regen * gnomevfs/gnomevfs-symbols.xml: add GnomeVFSFileOffset * gnomevfs/Gnomevfs.metadata: remove a whole bunch of callback types that are only used from methods and structs that we hide. 2005-07-08 Mike Kestner * */*.raw : regen. * parser/gapi2xml.pl : access comment doesn't have to start at beginning of line. 2005-07-08 Mike Kestner * pango/*.raw : regen. * sources/gtk-sharp-2.4-sources.xml : exclude some xft and fc files. * sources/gtk-sharp-2.6-sources.xml : exclude some xft and fc files. 2005-07-07 Dan Winship * gnome/Gnome.metadata: opaquify ModuleInfo and hide the types that are only used inside ModuleInfo, so we don't marshal the function pointers into (incorrect) delegates. * gnome/Modules.cs: * gnome/Program.custom: update for ModuleInfo being a class rather than a struct now 2005-07-02 Mike Kestner * generator/StructField.cs : fix name exception throw conditional. 2005-07-02 Mike Kestner * generator/CallbackGen.cs : implement new IAccessor iface so that callback fields on structs can now be accessed. * generator/ClassBase.cs : remove/abstract some methods incorrectly located here. * generator/ClassGen.cs : implement methods previously inherited from ClassBase incorrectly. * generator/HandleBase.cs : new base class for native ptr wrappers. Implements new IAccessor interface and code moved from ClassBase. * generator/IAccessor.cs : new iface to generate field/prop accessors. * generator/InterfaceGen.cs : derive from new ObjectBase. * generator/LPGen.cs : implement IAccessor. * generator/LPUGen.cs : implement IAccessor. * generator/ObjectBase.cs : new base class for Object/Iface types. * generator/ObjectGen.cs : derive from new ObjectBase. * generator/OpaqueGen.cs : derive from HandleBase. * generator/StructField.cs : refactor Generate method using new IAccessor interface. * */*.custom : add obsolete impls for some existing c_cased struct field accessors that are now StudlyNamed. 2005-07-02 Mike Kestner * generator/CallbackGen.cs : remove an old workaround that put the native wrapper class into the implementor's *Sharp namespace. Use new ImportSignature sig. * generator/ImportSignature.cs : don't mangle the callback wrapper namespace any more. Remove impl_ns ctor param and field. * generator/MethodBase.cs : use new MethodBody and ImportSignature ctor sigs. * generator/MethodBody.cs : drop the impl_ns ctor param. * generator/Signal.cs : use new ImportSignature ctor sig. * generator/VirtualMethod.cs : use new ImportSignature ctor sig. 2005-07-01 Mike Kestner * generator/Parameters.cs : init allow_complex_refs to true to fix build. 2005-06-30 Dan Winship * generator/Parameters.cs (AllowComplexRefs): new property for whether or not to allow "complex" ref/out args. (Validate): update for that * generator/Signal.cs: set AllowComplexRefs false on the params. (Validate): fix the messages (GenCallback, GenEventHandler): properly handle ref/out args, by manually pointerifying them (except for boxed args, which are already pointers). * glib/Marshaller.cs (StructureToPtrAlloc): Rename from PtrToStructureAlloc, since it wraps Marshal.StructureToPtr. 2005-06-28 Mike Kestner * gtk/ComboBox.custom : add ctor (string[]). * gtk/ComboBoxEntry.custom : add ctor (string[]). * sample/test/TestComboBox.cs : simple new ComboBox tester. * sample/test/WidgetViewer.cs : button for simple new ComboBox tester. 2005-06-27 Mike Kestner * gnome/CanvasBpath.custom : a BPath property to wrap the ugly Bpath IntPtr prop. [Fixes #75381] 2005-06-24 Mike Kestner * atk/Atk.metadata : couple of small api cleanups. 2005-06-24 Mike Kestner * gtk/Gtk.metadata : remove the one reference to FileChooserEmbed. * gtk/gtk-api-2.*.raw : regen. * sources/gtk-sharp-2.*-sources.xml : exclude FileChooserEmbed files. 2005-06-23 Mike Kestner * generator/ReturnValue.cs : support owned and elements_owned for lists. * glib/List.cs : add ctor overloads for memory mgmt. * glib/ListBase.cs : add ctor overloads for memory mgmt. Dispose elements if specified. * glib/SList.cs : add ctor overloads for memory mgmt. * gnome/Gnome.metadata : unhide and generate a List prop. * gnomevfs/Gnomevfs.metadata : unhide and generate a List prop. * gtk/FileChooser.custom : new. add hidden props. * gtk/FileChooserButton.custom : new. impl hidden props. * gtk/FileChooserDialog.custom : remove some List props and use the GLib.Marshaller for the remaining ones.. * gtk/FileChooserWidget.custom : remove some List props and use the GLib.Marshaller for the remaining ones.. * gtk/Gtk.metadata : unhide and let the generator do some List props. 2005-06-23 Mike Kestner * gconf/GConf/Client.cs : support add/remove of a single notify handle to multiple directories. [Fixes #55877] 2005-06-22 Mike Kestner * sample/GladeTest.cs : add a menu item signal connect to test for the problem described in bug#74946. * sample/test.glade : add menubar. 2005-06-22 Mike Kestner * sample/GtkDemo/DemoHyperText.cs : replace PersistentData usage that breaks on csc. * sample/GtkDemo/DemoTreeStore.cs : fix a 2.0 usage. 2005-06-22 Mike Kestner * generator/ManagedCallString.cs : don't assume ref for structs. * generator/VMSignature.cs : don't assume ref for structs. 2005-06-21 Mike Kestner * generator/ConstStringGen.cs : override ToNativeReturn (). * generator/ClassBase.cs : use fully qualified interface names for conflicting implementations. 2005-06-20 Mike Kestner * parser/gapi2xml.pl : fix const foo * const * fields/params. [Fixes #75266] 2005-06-17 Mike Kestner * Makefile.include : add included apis as deps on the generation target to force regen if dependency lib api changes. * pango/Analysis.custom : new custom to implement the ExtraAttrs property. [Fixes #74668] * pango/Makefile.am : add new custom file. 2005-06-17 Mike Kestner * bootstrap : use assembly version 2.6.0.0. * bootstrap-2.4 : use assembly version 2.4.0.0. * configure.in.in : substitute the assembly version. 2005-06-14 Mike Kestner * gtk/Gtk.metadata : add nodes for all the *Set props on TextTag. [Fixes #75219] 2005-06-10 Dan Winship * parser/gapi2xml.pl (addPropElem): Distinguish CONSTRUCT ("must be set at construct time") and CONSTRUCT_ONLY ("can only be set at construct time") properties, rather than marking them all "construct-only". * gnome/gnome-api.raw: * gtk/gtk-api-2.4.raw: * gtk/gtk-api-2.6.raw: Regen, causing a few formerly-read-only properties to become writable. 2005-06-10 Mike Kestner * glade/XML.custom : add a try block on field autoconnect to make it easier to catch type mismatches and such. Suggestion from Gonzalito. 2005-06-09 Lluis Sanchez * glib/Marshaller.cs: Added null check in FilenamePtrToString. 2005-06-08 Mike Kestner * generator/SimpleBase.cs : off-by-one in namespace join. * glib/ListBase.cs : support IntPtr element_type. * gnomevfs/FileInfo.cs : make it ManualGen friendly. * gnomevfs/*.cs : rework for FileInfo api changes. * gnomevfs/Gnomevfs.metadata : make FileInfo a manual symbol. * gnomevfs/Uri.custom : rework for FileInfo api changes. * gnome/Makefile.am : add gnomevfs dependency to pick up some more api symbols. * gnome/gnome-sharp-2.0.pc.in : advertise the vfs dep. [Fixes #71060] 2005-06-08 Mike Kestner * generator/ReturnValue.cs : don't write a sem in FromNative. * glib/ListBase.cs : handle GLib.Object explicit element types. * glib/Marshaler.cs : only copy lists if Count > 0. * gtk/Gtk.metadata : unhide Window.ListToplevels with a proper element type for automatic list to array marshaling. * gtk/Window.custom : kill manual ListToplevels impl. 2005-06-08 Mike Kestner * generator/ReturnValue.cs : improved list to array marshaling. * glib/Marshaller.cs : added ListToArray (). * gnomevfs/Gnomevfs.metadata : mark element_type on Mime.GetAllApplications. [Fixes #71888] 2005-06-06 Mike Kestner * generator/ImportSignature.cs : fix native delegate namespacing hack. * gnomevfs/gnome-vfs-api.raw : regen. * gnomevfs/Gnomevfs.metadata : replace all the type renames with a namespace rename. remove-node several manually implemented callback types and broken generated types for now. * gnomevfs/Async.cs : use Opaque.Handle. * gnomevfs/Handle.cs : kill. replaced by generated GLib.Opaque type. * gnomevfs/Makefile.am : kill Handle.cs. * gnomevfs/Sync.cs : use Opaque.Handle. * sources/gtk-sharp-2.6-sources.xml : s/Gnome.Vfs/GnomeVFS. 2005-06-06 Mike Kestner * Makefile.include : depend on gapi-fixup.exe for the api target. * parser/gapi-fixup.cs : remove-node rule handling. 2005-06-06 Dan Winship * sample/GtkDemo/DemoRotatedText.cs (RotatedTextExposeEvent): Use Gdk.PangoRenderer.GetDefault() like the C gtk-demo rather than creating a new Gdk.PangoRenderer. [Fixes #74865] * gdk/Gdk.metadata: fix return type of Gdk.PangoRenderer.GetDefault * glib/GType.cs (cctor): call g_type_init(). (Avoids debug spew when monodocer updates doc/en/GLib/GType.xml.) 2005-06-02 Mike Kestner * gtk/gtk-api-2.6.raw : regen. * parser/gapi_pp.pl : add G_DEFINE_TYPE_WITH_CODE handling. * parser/gapi2xml.pl : add G_DEFINE_TYPE_WITH_CODE parsing. [Fixes #74833] 2005-06-02 Mike Kestner * glib/ListBase.cs : add a nested class to support filename encoded string element marshaling. * gtk/Gtk.metadata : mark the filenames and folders as filename encoded. * gtk/FileChooserDialog.custom : use new ListBase.FilenameString type for list element type of filenames and folders. * gtk/FileChooserWidget.custom : use new ListBase.FilenameString type for list element type of filenames and folders. [Fixes #72701] 2005-06-02 Mike Kestner * generator/ConstFilenameGen.cs : new generatable for filename encoded const string marshaling * generator/Makefile.am : add new file * generator/SymbolTable.cs : add new gfilename types. * glib/Marshaller.cs : add new filename-encoded string marshalers. * gtk/FileSelection.custom : use FilenamePtrToString to marshal. * gtk/Gtk.metadata : map the FileSelector filename types to my new imaginary gfilename type. [Fixes #74963] 2005-06-02 Mike Kestner * gtk/Object.custom : only connect to Destroyed for managed subclasses and let the wrappers get disposed by the GC. 2005-06-01 Mike Kestner * glib/Value.cs : handle enum/flags types in Val. [Fixes #75112] 2005-06-01 Dan Winship * glib/Value.cs: Add a constructor and an explicit cast for string[] (using a G_TYPE_STRV boxed value). * generator/SymbolTable.cs (SymbolTable): Map GStrv to string[]. (The mapping relies on the above GLib.Value magic, so it only works correctly for properties, but that's ok, because GStrv isn't a real type anyway and only shows up in the api files for G_TYPE_STRV properties.) Makes the Gtk.AboutDialog Artists, Authors, and Documenters properties show up. * gtk/Gtk.metadata: hide AboutDialog.Get/SetArtists/Authors/Documenters, which can't be used to implement the Artists/Authors/Documenters properties, because the generated code doesn't know to NULL-terminate the arrays. 2005-05-31 Mike Kestner * glib/Object.cs : rework the weakref release mechanism to avoid a couple "resurrection" issues. 2005-05-25 Mike Kestner * configure.in.in : remove crosspkgdir arg that causes trouble with newer pkgconfigs. 2005-05-24 Dan Winship * parser/gapi2xml.pl: Make the enum value parser do the right thing with parenthesized values ("FOO = (1 << 2)") and within-type aliases ("GTK_ANCHOR_N = GTK_ANCHOR_NORTH"). Make it intentionally do the wrong thing with unparsable values (outputting them as-is into the api file) so that we are forced to fix them with metadata rather than silently getting incorrect values. * gdk/gdk-api-2.4.raw: * gdk/gdk-api-2.6.raw (PixdataType): Now recognized as flags, not enum * gtk/Gtk.metadata: hide the enums ArgFlags and RcTokenType (which are not used by any wrapped API, and which formerly contained entirely wrong values). * gtk/gtk-api-2.4.raw: * gtk/gtk-api-2.6.raw (AnchorType, SelectionMode): update with values for aliases * gnome/Gnome.metadata: fix value of Gnome.PrintButtons.Cancel * gnome/gnome-api.raw (PrintUnitBase, PaperSelectorFlags, PrintDialogFlags, PrintDialogRangeFlags): Now recognized as flags, with values. 2005-05-24 John Luke * configure.in.in: remove doc/updater/Makefile to fix build 2005-05-23 Mike Kestner * configure.in.in : add monodocer-fu. 2005-05-21 Mike Kestner * audit : add a compatibility auditing framework. * audit/base/*.apiinfo : initial checkin of 1.0.10 API for diffs. * audit/extract-missing.cs : XPath tool to grab presence='missing'. * audit/get-apidiff.pl : diffs api-infos to the base. * audit/get-apiinfo.pl : drives a module-wide api-info extraction. * audit/get-missing.pl : drives the extract-missing.exe tool. * audit/makefile : all and check targets. no dist support. * audit/mono-api-info.cs: copied from mcs/tools/corcompare. * audit/mono-api-diff.cs: copied from mcs/tools/corcompare. 2005-05-17 Jordi Mas i Hernandez * gnome/About.custom: fixes exception when passing null argument 2005-05-16 Mike Kestner * makefile.win32 : remove 1.0 csc, default to 1.1. * gtk/TreeEnumerator.cs : remove C# 2.0 usage. * gtk/glue/makefile.win32 : remove duplicated cellrenderer.o. * vte/glue/Makefile.am : use VTE_DEPENDENCIES_CFLAGS. * */makefile.win32 : add glue args to generation target. 2005-05-16 Mike Kestner * configure.in.in : expand new vte glue makefile. * vte/glue/Makefile.am : add GTK_CFLAGS to fix build. Remove win32 dist files. 2005-05-16 Dan Winship * generator/StructBase.cs: update field-generation logic a bit * generator/CodeGenerator.cs: add a --glue-includes flag * generator/GenerationInfo.cs: Accept glue_includes value from Main and output it to the glue_filename. * generator/FieldBase.cs (Ignored): handle more ignorable cases. (CheckGlue): New method to figure out what kind of glue we'll need for a field. (GenerateImports): generate appropriate imports per CheckGlue. (GenerateGlue): Generate C glue for accessing a struct field; either a fully-C-based accessor, or a method to just return the field's offset in the struct. (Generate): Use the generated glue to read the field. * generator/PropertyBase.cs (CType): if the field is a single bit, set its type to gboolean. * generator/ObjectGen.cs (Generate): * generator/OpaqueGen.cs (Generate): Call GenFields. * generator/StructField.cs: Use FieldBase's glue-generation code to handle bitfields. [#54489] * generator/ObjectField.cs: Generates accessors for public fields of objects and opaque structs. [#69514] * generator/ClassBase.cs (ClassBase): Parse nodes and create ObjectField objects. (GenFields): Output field properties (IgnoreMethod): Ignore Get/Set methods that duplicate fields * generator/Makefile.am (sources): update * {gdk,gnome,gtk,pango}/*.metadata: Mark some additional fields as public. Rename/retype some fields for consistency with earlier hand-coded bindings. * {gdk,gnome,gtk,pango}/*.custom: Remove custom methods that can now be autogenerated. * {gdk,gnome,gtk,pango}/glue/*.c: Remove glue methods that can now be autogenerated * {gdk,glade,gnome,gtk,pango,vte}/Makefile.am * {gdk,glade,gnome,gtk,pango,vte}/glue/Makefile.am * {gdk,gnome,gtk,pango}/glue/makefile.win32: Update 2005-05-15 Ben Maurer * bootstrap (GTK_SHARP_VERSION): Bump so that Todd's md tarballs work. Not yet tagged... 2005-05-13 Mike Kestner * gtk/Object.custom : hold refs for all managed subclasses. Release on Destroy. Dispose plain wrappers on Destroy also. * gtk/Widget.custom : remove the parent set hack since it's "handled" on Gtk.Object now. All this will get fixed properly when we have access to owen's toggle_refs. 2005-05-13 Mike Kestner * generator/MethodBody.cs : don't create a new destroy notify delegate, just use GLib.DestroyHelper.NotifyHandler directly. 2005-05-11 Mike Kestner * glib/Object.cs : mark Dispose virtual. * gtk/Object.cs : release the Destroy handler in Dispose. 2005-05-11 Mike Kestner * configure.in.in : s/-g/-debug 2005-05-11 Mike Kestner * gtk/Gtk.metadata : hide IconTheme.GetIconSizes. * gtk/IconTheme.custom : implement GetIconSizes because of its zero terminated array return value. 2.6 only. [Fixes #74844] 2005-05-11 Mike Kestner * pango/Makefile.am : add file. * pango/Units.cs : new class to wrap PANGO_SCALE and PANGO_PIXELS. * pango/glue/units.c : accessors for the macros. * pango/glue/Makefile.am : build it. * pango/glue/makefile.win32 : build it on win. [Fixes #74837] 2005-05-11 Eric Butler * gtk/Gtk.metadata : add IEnumerable iface to ListStore. * gtk/ListStore.cs : add GetEnumerator. * gtk/Makefile.am : add file. * gtk/TreeEnumerator.cs : root node enumerator for a TreeModel. 2005-05-11 Mike Kestner * gtk/Widget.custom : manual ListMnemonicLabels implementation to return a Widget[]. [Fixes #74786] 2005-05-11 Mike Kestner * generator/ObjectGen.cs : default empty assembly names for the mapper. [Fixes #74769] 2005-05-10 Mike Kestner * gtk/Object.custom : Dispose on a Destroyed event. * gtk/Widget.custom : rework the parent_set hack to go direct to the native signal instead of using the event so we avoid rewrapping of already destroyed parents. 2005-05-10 Mike Kestner * gdk/Pixbuf.custom : use non-obsolete PixbufLoader.Write overload. * gdk/PixbufLoader.custom : add obsolete PixbufLoader.Write overload for the uint case for backcompat. Update other uses to the new ulong overload. * sample/GtkDemo/DemoImage.cs : use PixbufLoader.Write (byte[]) overload. 2005-05-09 Mike Kestner * glib/Object.cs : add a try/catch block to g_object_unref calls to help identify "extra unref" bugs when exceptions occur. 2005-05-06 John Luke * pango/Makefile.am: add Matrix.custom * pango/Matrix.custom: add Pango.Matrix.Identity field which is the equivalent of PANGO_MATRIX_INIT * sample/GtkDemo/DemoRotatedText.cs: use Pango.Matrix.Identity * doc/en/Pango/Matrix.xml: add docs for Pango.Matrix.Identity 2005-05-06 Mike Kestner * configure.in.in : always enable debug build in maintainer_mode. 2005-05-06 Mike Kestner * gdk/Pixbuf.custom : move the GetCallingAssembly invocations back out the the public methods. * gdk/PixbufLoader.custom : ditto. 2005-05-06 Mike Kestner * bootstrap : * bootstrap-2.4 : use ln instead of cp for api files so reparsing causes rebuilds. * sources/gtk-sharp-2.6-sources.xml : moved from gtk-sharp-sources.xml plus fixed the pango, atk, and gdk raw filenames. * sources/gtk-sharp-2.4-sources.xml : sources file for 2.4 api. * sources/Makefile.am : added 2.4/2.6 targets for api and get-source with make api/get-source-code getting/parsing both versions. * */*.raw : regenerate 2005-05-06 Jose Faria * gdk/Pixbuf.custom : new width/height ctor overloads. * gdk/PixbufLoader.custom : new width/height ctor overloads. 2005-05-04 Mike Kestner * autogen.sh : error out with bootstrap help message. * bootstrap : replaces autogen.sh for the 2.5.x release line. * bootstrap-2.4 : replaces autogen.sh for the 1.9.x release line. * configure.in.in : renamed from configure.in and added substitution for version, dependencies, CFLAGS and CSFLAGS. * README : bootstrap docs * */*-api.raw : moved to api-2.6.raw for bootstrapping. * */*-api-2.4.raw : added 2.4 api files for bootstrapping. * */glue/Makefile.am : add GTK_SHARP_VERSION_CFLAGS. * pango/Attribute.cs : add a #if GTK_SHARP_2_6 block. * pango/glue/attribute.c : add a couple #ifdef GTK_SHARP_2_6 blocks. * sample/GtkDemo/* : make the 2.6 demos conditional. 2005-05-04 Mike Kestner * glib/Signal.cs : s/DestroyNotify/SignalDestroyNotify to fix mcs 1.0 compilation. * gdk/Input.custom : ditto. 2005-05-04 Todd Berman * glade/XML.custom: Store the callback wrapper so it doesn't get GC'd. 2005-05-04 Dan Winship * parser/gapi2xml.pl: make note of _get_type methods for enums * */*-api.xml: Regen, adding gtype="..." to many enum types * generator/EnumGen.cs (Generate): if the enum has the "gtype" property, add a GTypeAttribute pointing to an internal FooGType class whose GType property can be used to get the enum's GType. * generator/ObjectGen.cs: s/ObjectManager.RegisterType/GType.Register/ * glib/GTypeAttribute.cs: attribute for indicating a property that will return the GType of a type (particularly for enums, which can't have GType properties added to them). * glib/GType.cs: renamed from Type.cs to match the type name (public static readonly GType ...): add a few missing types. (Register): moved from ObjectManager.RegisterType (LookupGType): moved from TypeConverter.LookupType and extended to handle GTypeAttribute. Also, fix mappings for sbyte/byte/char, and return specific GTypes for Object subclasses rather than always returning GType.Object. [Fixes #74699] (LookupType): moved from ObjectWrapper.LookupType (ToString): return the type name * glib/Object.cs (RegisterGType): s/ObjectManager.Register/GType.Register/ (LookupGType): Make this protected internal so GType can access it. * glib/ObjectManager.cs (RegisterType): deprecate in favor of GType.Register. (LookupType): moved to GType * glib/TypeConverter.cs (LookupType): now a deprecated wrapper around GType.LookupGType. * glib/Value.cs: Use GType casts rather than TypeConverter * gtk/NodeStore.cs (ScanType): * gtk/ListStore.custom (ListStore): * gtk/TreeStore.custom (TreeStore): Use (GType) cast rather than TypeConverter. Remove the error check and exception, since the cast never returns GType.Invalid. (The check probably predates GLib.ManagedValue.) * gnome/PanelAppletFactory.cs (Register): Use a GType cast rather than GLib.Object.LookupGType (which is no longer accessible after an mcs bugfix) * sample/GtkDemo/DemoIconView.cs (CreateStore): use the Type[] constructor rather than the GType[] constructor, since it translates typeof(Gdk.Pixbuf) correctly now. 2005-05-04 Dan Winship * generator/Parameters.cs (Parameters.Validate): If the parameters end with "callback, gpointer, GDestroyNotify", then mark the callback as having "notified" Scope. (Parameters.IsHidden): Hide user_data and GDestroyNotify after a callback. (Parameter.Scope): make this settable (Parameter.IsDestroyNotify): new test * generator/MethodBody.cs (Initialize): Handle "notified" callback scope (using a GCHandle and GLib.DestroyHelper.NotifyHandler) * generator/CallbackGen.cs (GenWrapper): Add a static "GetManagedDelegate" method to the wrapper type, to translate a native delegate back to its corresponding managed delegate. (FromNative): use GetManagedDelegate. * generator/ReturnValue.cs (Validate): We handle callback return values now * generator/SymbolTable.cs: marshal GDestroyNotify as GLib.DestroyNotify * glib/DestroyNotify.cs: Moved from gtk * gtk/Gtk.metadata: globally change GtkDestroyNotify to GDestroyNotify, but then change back the ones that are exposed in the API. Un-hide lots of methods we can correctly autogenerate now. * gtk/DestroyHelper.cs: moved to glib * gtk/*.custom: remove methods that are autogenerated now, add Obsolete wrappers where needed, replace Gtk.DestroyHelper usage with GLib.DestroyHelper. * gdk/Gdk.metadata: * gnome/Gnome.metadata: Turn Gdk.Drawable.SetData and Gnome.IconList.SetIconDataFull's GDestroyNotify args into gpointers so the generated API stays the same as it used to be. * rsvg/Handle.custom: implement deprecated SetSizeCallback * sample/GtkDemo/DemoIconView.cs (CreateSort): update for API changes 2005-05-03 Mike Kestner * parser/gapi2xml.pl : parse const * const * Foo () properly. [Fixes #74710] 2005-05-02 Dan Winship * generator/Parameters.cs (IsHidden): method to check if a parameter should be hidden in the managed sig (eg, because it's user_data, or it's the length of the preceding array/string, etc). (VisibleCount): the number of parameters that will actually be exposed in the managed signature. (IsAccessor): test VisibleCount, not Count (AccessorReturnType, AccessorName): deal with the fact that the accessor parameter might not be the first one. * generator/CallbackGen.cs: * generator/Signature.cs: use Parameters.IsHidden. * generator/Method.cs (Initialize): set is_set based on VisibleCount, not Count. (Validate): call base.Validate() before Initialize() so that VisibleCount will be correct in Initialize. * generator/MethodBody.cs (GetCallString, CallArrayLength, Initialize): update to deal with accessors with multiple args. * gtk/Clipboard.custom (SetText): implement as an Obsolete variant of the Text property * gtk/IconTheme.custom (SearchPath, SetSearchPath): obsolete SetSearchPath, implement a setter on SearchPath instead. * gtk/ListStore.custom (SetColumnTypes): * gtk/TreeStore.custom (SetColumnTypes): implement as an Obsolete variant of the ColumnTypes property. * glade/XML.custom (CustomHandler): implement as a property (SetCustomHandler): Mark this obsolete * glade/Global.custom (SetCustomHandler): deprecate in favor of XML.CustomHandler. * gnomedb/Editor.custom (SetText): implement as an Obsolete variant of the Text property 2005-05-02 Dan Winship Apply the parts of the generator reorganization from #69514 that don't actually affect the generated output * generator/PropertyBase.cs: new base class for fields and properties (mostly containing code formerly in Property.cs). * generator/Property.cs: derive from PropertyBase * generator/FieldBase.cs: base class for fields (containing some code formerly in Field.cs) * generator/StructField.cs: class for struct fields (the rest of what used to be Field.cs) * generator/StructBase.cs: s/Field/StructField/ * gnome/Gnome.metadata: hide a few _get_ methods that the generator is just now noticing, to preserve the old output. 2005-05-02 Mike Kestner * generator/Property.cs : fix interface setter generation. [Fixes #74766] 2005-04-27 Ben Maurer * */Makefile.am: more build fixes * configure.in: amd64 build fix 2005-04-26 Miguel de Icaza * gtkdotnet/Graphics.cs: Contribution from Sebastian Faltoni that implements support for using System.Drawing on Windows. 2005-04-26 Mike Kestner * gtk/NodeStore.cs : implement IEnumerable. 2005-04-24 Dan Winship * pango/Attribute.cs: Base class for Pango attributes, a la Gdk.Event * pango/pango-symbols.xml: explain how to marshal PangoAttribute. * pango/AttrBackground.cs: * pango/AttrFallback.cs: * pango/AttrFamily.cs: * pango/AttrFontDesc.cs: * pango/AttrForeground.cs: * pango/AttrLanguage.cs: * pango/AttrLetterSpacing.cs: * pango/AttrRise.cs: * pango/AttrScale.cs: * pango/AttrShape.cs: * pango/AttrSize.cs: * pango/AttrStretch.cs: * pango/AttrStrikethrough.cs: * pango/AttrStrikethroughColor.cs: * pango/AttrStyle.cs: * pango/AttrUnderline.cs: * pango/AttrUnderlineColor.cs: * pango/AttrVariant.cs: * pango/AttrWeight.cs: subclasses of Attribute, with proper constructors. These don't actually correspond one-to-one with the underlying types, but they're nicer this way. * pango/Pango.metadata: Hide Attribute and its subclasses from the generator. Also hide "Attr" (which previously contained non-working badly-named static methods to create Attributes) and AttrClass (which is not really useful outside of pango itself). * pango/AttrIterator.custom: use Pango.Attribute.GetAttribute. * pango/glue/attribute.c: glue for Attribute and its subclasses [Fixes #52575 and its semi-dup #46552] 2005-04-22 Dan Winship * gnome/Gnome.metadata: mark GnomeTriggerActionFunction's char** param const * glib/Marshaller.cs (Utf8PtrToString): Add an IntPtr[]->string[] overload, since that's what we actually need in the case where it's used (above). Leave the IntPtr[]->string[] overload of PtrToStringGFree in case anyone is using it manually. * gtk/Gtk.metadata: hide GtkModuleInitFunc and GtkModuleDisplayInitFunc; they are the signatures of user-defined methods that gtk only ever resolves via g_module_symbol(), so they're not useful from C#. (And the marshalling was all wrong anyway...) * glib/Type.cs: * glib/TypeConverter.cs: * glib/Value.cs: sort lists of GTypes into TypeFundamental order 2005-04-22 Mike Kestner * configure.in : bump version to 2.5.0 for trunk. 2005-04-21 Mike Kestner * configure.in : require gtk+ 2.6. * generator/ReturnValue.cs : invalidate Callback returns for now. * gtk/Gtk.metadata : some renames for conflicting new API. * parser/gapi2xml.pl : whitespace tweak for class VM regexen. * sources/Makefile.am : add new patch, kill atk patch, revise dirs. * sources/atkhyperlink.patch : kill unnecessary patch. * sources/gtkclipboard.patch : add new clipboard patch. * sources/gtk-sharp-sources.xml : parse gtk+-2.6. * */*-api.raw : regen pango, atk, gdk, and gtk for new versions. 2005-04-21 Dan Winship * parser/gapi_pp.pl: add "#if 0" to $eatit_regex * gdk/EventClient.cs (gtksharp_gdk_event_client_get_time): * glib/Object.cs (gtksharp_get_type_id): * glib/Value.cs (gtksharp_object_get_ref_count, g_value_take_boxed): * gnome/PrintContext.custom (gnome_print_concat, gnome_print_glyphlist, gnome_print_setdash): * gtk/NodeStore.cs (gtksharp_node_store_new, stamp): * gtk/NodeView.cs (gtk_tree_view_new_with_model): * gtk/Widget.custom (gtksharp_gtk_widget_set_allocation): * pango/LayoutLine.custom (g_free): Remove unused prototypes/fields 2005-04-21 Mike Kestner * Makefile.include : make mcs shaddup about 169. 2005-04-20 Mike Kestner * generator/*.cs : cleanup the unused private member warnings. 2005-04-20 Mike Kestner * parser/gapi-parser.cs : add a directory element with child exclude elements to simplify source version updating. * sources/gtk-sharp-sources.xml : switch to directory elements. 2005-04-19 Mike Kestner * gdk/Gdk.metadata : add a None member to ModifierType and fix the definition for ModifierMask since the parser barfs on it. [Fixes #74594] 2005-04-17 Jeroen Zwartepoorte * sample/PolarFixed.cs: (PolarFixed.PolarFixedChild): Fix compilation problem. 2005-04-15 Mike Kestner * configure.in : remove unnecessary libxml check. * parser/gapi-parser.cs : use a System.Xml to kill gapi_format_xml. * parser/formatXml.c : kill. * parser/Makefile.am : kill gapi_format_xml * */*-api.raw : enormous whitespace diff. sorry dawgs on mono-patches. 2005-04-15 Mike Kestner * parser/gapi-parser.cs : C# rewrite of the old perl driver script. * parser/gapi_parser.pl : kill. * parser/gapi2-parser.in : invoke via $(RUNTIME). * parser/Makefile.am : build rework for C# parser driver. * sources/Makefile.am : use $(RUNTIME) to invoke new parser assm. 2005-04-12 Mike Kestner * configure.in : bump version to 1.9.3 and tag. 2005-04-11 Mike Kestner * gdk/Pixbuf.custom : fix out params on RenderPixmapAndMask* methods. 2005-04-11 Dan Winship * generator/ClassBase.cs (ParseImplements): record both managed and unmanaged interface declarations. (Implements): check recursively * generator/ObjectGen.cs (Generate): output managed interfaces * gtk/Gtk.metadata: make Container implement IEnumerable * gtk/Container.custom (GetEnumerator): implement (a simplified form of Children). (AllChildren): add this (which accumulates the results of Forall()). (ForAll): mark ForAll(bool,CallbackInvoker) obsolete and add a ForAll(bool,Gtk.Callback) overload to replace it. * sample/PolarFixed.cs: new silly but fully-functional demo of how to subclass container. * sample/CustomNotebook.cs: kill this, since it was really complicated, and never fully functional. * sample/GtkDemo/DemoImages.cs (ToggleSensitivity): Use foreach directly on the container, rather than on its .Children. 2005-04-11 Mike Kestner * gtk/Quit.custom : obsolete AddFull and implement Add properly. * gtk/TreePath.custom : add ctor (int[] indices). * gtk/Gtk.metadata : hide Quit.Add* and some ellipsis methods that are implemented manually already. 2005-04-08 Dan Winship * configure.in: Add an --enable-debug flag, to build .mdb files for all of the assemblies * Makefile.include: * gconf/GConf/Makefile.am: * gconf/GConf.PropertyEditors/Makefile.am: * glib/Makefile.am: * gtkdotnet/Makefile.am (CLEANFILES): add $(ASSEMBLY).mdb $(ASSEMBLY): build with $(CSFLAGS). Always delete $(ASSEMBLY).mdb before building $(ASSEMBLY), so that if you first build with debugging enabled, then update, then rebuild without debugging enabled, you don't end up with an out-of-date .mdb file. 2005-04-08 Alp Toker * atk/makefile.win32: gapi-cdecl-insert was called in the wrong place and broke the win32 build. 2005-04-07 Dan Winship * gtk/Object.custom (Raw): Always ref the object, even if it's not floating when we get it, since GLib assumes we hold a ref on it. [Fixes #74468] * gtk/Window.custom: remove refcount special-handling here 2005-04-06 Mike Kestner * gtk/FileFilter.custom : AddCustom delegate is destroy notified. * gtk/Gtk.metadata : hide FileFilter.AddCustom. hide gtk_object_get|set. 2005-04-05 Mike Kestner * gtk/*.custom : persistent delegates for most of the remaining "interesting" methods. 2005-04-05 Dan Winship * gdk/PixbufLoader.custom: Fix the new constructors to make sure they call Close() in the event of an exception, to prevent a g_warning. 2005-04-05 Mike Kestner * gtk/DestroyHelper.cs : implement an internal DestroyNotify handler to release GCHandles. * gtk/*.custom : rework existing persistent delegate implementations to use destroy notify or PersistentData. 2005-04-05 Alp Toker * gtk/Menu.custom: don't re-implement the Screen getter in Gtk.Menu. Instead just return base.Screen, which is implemented by Widget. 2005-04-04 Dan Winship * pango/Scale.cs: rename the size constants to not have underscores in their names (and add obsolete aliases for the old names). * sample/GtkDemo/DemoTextView.cs: use the new names 2005-04-04 Mike Kestner * gtk/Gtk.metadata : mark all the call scope callback params to quiet the warnings. 2005-04-04 Mike Kestner * gdk/Gdk.metadata : hide some manually implemented callback methods. * gdk/*.custom : implement several methods containing persistent callback parameters. * generator/BoxedGen.cs : set gen_info.CurrentType in Generate. * generator/ClassGen.cs : set gen_info.CurrentType in Generate. * generator/Ctor.cs : set gen_info.CurrentMember in Generate. * generator/GenerationInfo.cs : add CurrentMember and CurrentType. * generator/Method.cs : set gen_info.CurrentMember in Generate. * generator/MethodBody.cs : always generate null guarding for array parameters, and add a nag for callback parameters without a scope attr. * generator/ObjectGen.cs : set gen_info.CurrentType in Generate. * generator/OpaqueGen.cs : set gen_info.CurrentType in Generate. * generator/Parameters.cs : kill NullOk. add Scope property. * generator/StructGen.cs : set gen_info.CurrentType in Generate. * gtk/Gtk.metadata : kill a few null_ok attrs. * pango/Pango.metadata : mark the callback params as call scope. kill a couple null_ok attrs. 2005-04-01 Dan Winship * samples/GtkDemo/*.cs: General fixup and cleanup; Remove some gratuitous differences from the C version. Make comment and indent style consistent. Don't use "this." where not needed. Override OnDeleteEvent rather than connecting one's own DeleteEvent signal. * sample/GtkDemo/DemoApplicationWindow.cs (static DemoApplicationWindow): register the Gtk logo icon with StockManager so it shows up correctly in the toolbar. (AddActions): Register the radio items as radio items so they work right. * sample/GtkDemo/DemoHyperText.cs (EventAfter): handle link-clicking from Widget.WidgetEventAfter (as in the C version), rather than ButtonRelease, now that WidgetEventAfter is wrapped. * sample/GtkDemo/DemoImages.cs (DemoImages): use Gtk.Image.LoadFromResource (particularly to make the animation work right). (OnDestroyed): handle clean up (remove the timeout, etc) * sample/GtkDemo/DemoMain.cs (LoadStream): Fix handling of blank lines and whitespace to match the C version. * sample/GtkDemo/DemoPixbuf.cs (Expose): Use System.Runtime.InteropServices.Marshal.Copy() to copy pixbuf.Pixels to pass to DrawRgbImageDithalign, to make this more like the C version (and probably faster?) (timeout): Remove the FIXME since it seems to work now * sample/GtkDemo/DemoStockBrowser.cs: Simplify a bunch. Use reflection to get the C# names of the stock icons rather than trying to correctly re-mangle the ids. Display the Label with the accelerator underlined. * sample/GtkDemo/DemoTextView.cs (AttachWidgets): use Gtk.Image.LoadFromResource, so the image is properly loaded as an animation, not a static image. Don't set the combobox's "Active" property (for consistency with the C version). (InsertText): Fix miscellaneous differences with the C version. Remove some leftover cruft from earlier workarounds for gtk# bugs. * sample/GtkDemo/DemoTreeStore.cs (AddColumns): Make this more like the C version so the checkboxes are sensitized and hidden correctly on a per-row basis. * sample/GtkDemo/DemoUIManager.cs: Make the radio menu items work. * sample/GtkDemo/README: * sample/GtkDemo/TODO: update 2005-04-01 Mike Kestner * gtk/TreeModelFilter.custom : manually implement SetVisibleFunc and SetModifyFunc to handle delegate persistence. * gtk/Gtk.metadata : hide methods. 2005-04-01 Mike Kestner * gtk/Clipboard.custom : manually implement SetWithData and SetWithOwner to handle delegate persistence. * gtk/Gtk.metadata : hide methods. 2005-03-31 Dan Winship * gdk/PixbufLoader.custom: Implement System.IO.Stream and resource-file constructors (using code formerly in Pixbuf.custom) * gdk/Pixbuf.custom: Redo the stream and resource ctors in terms of the PixbufLoader ones. * gdk/PixbufAnimation.custom: Add stream and resource ctors * gtk/Image.custom: Add stream and resource ctors 2005-03-31 Mike Kestner * glib/ManagedValue.cs : add null/NULL guarding to Copy, Free, WrapObject, and ObjectForWrapper. [Fixes #74197] 2005-03-30 Jeroen Zwartepoorte * parser/gapi2xml.pl : parse gst type macros. 2005-03-30 Anthony Taranto * gtk/Widget.custom : cause Allocation.Set to call SizeUpdate(). * gtk/glue/widget.c : remove gtksharp_gtk_widget_set_allocation(). 2005-03-29 Mike Kestner * gtk/TreeStore.custom : fix a CLS incompliance in the Append Prepend, Insert, InsertBefore, and InsertAfter methods by obsoleting them and adding new *Node methods that are CLS compliant. [Fixes #73876] 2005-03-29 Mike Kestner * generator/Parser.cs : add symbol type='marshal' support. * gdk/Event.cs : add GetEvent method to wrap arbitrary events. * gdk/gdk-symbols.xml : make Event, EventAny, and EventNoExpose marshal symbols using Event.GetEvent (). [Fixes #74184] 2005-03-29 Mike Kestner * glib/Marshaller.cs : special case ucs4 "0" conversion. [Fixes #74175] 2005-03-28 Mike Kestner * gdk/Pixbuf.custom : add FromDrawable static method and obsolete CreateFromNative, which should've been static. [Fixes #74155] 2005-03-28 Mike Kestner * generator/Signal.cs : Dispose the values passed to g_signal_chain_from_overriden in base VM invocations. [Fixes #73522] 2005-03-25 Mike Kestner * */makefile.win32 : add gapi-cdecl-insert to assembly target. 2005-03-25 Mike Kestner * generator/CallbackGen.cs : add CDeclCallback attrs to native dels. * generator/Signal.cs : add CDeclCallback attrs to native dels. 2005-03-25 Mike Kestner * */*.cs : tag native callback delegates with [CDeclCallback]. * */*.custom : tag native callback delegates with [CDeclCallback]. 2005-03-24 Mike Kestner * generator/CallbackGen.cs : don't create native delegates for nulls. * generator/ObjectGen.cs : revamp the ObjectManager code. * glib/Object.cs : use new ObjectManager.RegisterType overload. * glib/ObjectManager.cs : rewrite to kill the lameass LoadWithPartial hack and keep a GType to Type mapping for quicker lookup/activation. 2005-03-23 Mike Kestner * gapi-cdecl-insert : a little perl script to insert modopts * Makefile.am : dist the new script. for cdecl callback delegates on win32. * glade/makefile.win32 : use gapi-cdecl-insert * glade/XML.custom : add [GLib.CDeclCallback] to RawXMLConnectFunc. * glib/Makefile.am : add new file. * glib/makefile.win32 : use gapi-cdecl-insert * glib/CDeclCallbackAttribute.cs : new attr to tag delegates with that will be invoked from native code. We have to mangle the il with a modopt otherwise they are stdcall'd. * glib/ManagedValue.cs : add [GLib.CDeclCallback] to Copy/Free. switch to using GCHandles instead of the current IntPtr hack. 2005-03-15 Mike Kestner * gtk/Gtk.metadata : hide TreeSortable.SetSortFunc. * gtk/ListStore.custom : implement SetSortFunc for persistence. * gtk/Makefile.am : add custom file. * gtk/TreeModelSort.custom : implement SetSortFunc for persistence. * gtk/TreeSortable.custom : new file, add hidden method decls. * gtk/TreeStore.custom : implement SetSortFunc for persistence. 2005-03-15 John Luke * glib/Object.cs: use IsDefined to check for ClassInitializer attribute, fixes a warning and is supposedly better for performance 2005-03-15 Dan Winship Re-fix for yesterday's fix that didn't actually work. * gtk/ITreeNode.cs: add a "child" arg to TreeNodeRemovedHandler * gtk/TreeNode.cs (RemoveChild, OnChildRemoved): update for that * gtk/NodeStore.cs (child_deleted_cb): use the passed-in child; GetNodeAtPath won't work because the parent node already removed the child from its list 2005-03-14 Mike Kestner * configure.in : rework the gtkhtml check for 3.6. 2005-03-14 Dan Winship * gtk/TreeNode.cs (AddNode): add an overload that takes a position * gtk/NodeStore.cs (AddNode): likewise (AddNode, child_added_cb): when adding a node, recursively connect to the node signals on its children (RemoveNode, child_deleted_cb): when removing a node, recursively remove its children from node_hash. 2005-03-12 Mike Kestner * glade/Glade.metadata : mark the XMLCustomWidgetHandler string params const-gchar*. Wonder how many of these are gonna screw us? 2005-03-12 Mike Kestner * gtk/TreeViewColumn.custom : use PersistentData to hold the CellDataFuncs. 2005-03-12 Mike Kestner * glib/Makefile.am : add new file. * glib/Object.cs : add protected PersistentData hash to hold data across GC cycles. * glib/WeakObject.cs : new object to hold managed refs weakly against the native object. * gtk/ListStore.custom : hold refs for DefaultSortFuncs. * gtk/TreeModelSort.custom : hold refs for DefaultSortFuncs. * gtk/TreeStore.custom : hold refs for DefaultSortFuncs. 2005-03-12 Mike Kestner * generator/CallbackGen.cs : don't derive Wrappers from DelegateWrapper any more. It leaks delegates like crazy. We effectively now use call scope as the default for delegate parameters. * generator/MethodBody.cs : use new simpler Wrapper ctor. * glib/DelegateWrapper.cs : mark the ctor obsolete so people know to update any manually coded wrappers out there. * */*.custom : use new simpler Callback Wrapper ctors. 2005-03-11 Mike Kestner * glib/DelegateWrapper.cs : call g_object_set_data_full since we are using its sig, not set_data. 2005-03-10 Mike Kestner * generator/SymbolTable.cs : fix gssize and gsize, they aren't 32 bit like the docs say they are. 2005-03-10 Mike Kestner * glib/Marshaller.cs : don't use g_utf8_strlen to determine the byte count to be copied, it returns chars, not bytes. * glib/glue/unichar.c : implement a quick and dirty strlen glue func. 2005-03-10 Mike Kestner * gtk/Style.custom : add bg_pixmap accessors. remove IntPtr[] vars and s/6/5 for array sizes. * gtk/glue/style.c : add bg_pixmap field glue. [Fixes #73532] 2005-03-09 Mike Kestner * */*.custom : scrub for string usage in DllImports. * gnome/Makefile.am : remove IconTheme.custom, it's not generated. 2005-03-09 Mike Kestner * glib/Marshaller.cs : add IntPtr.Zero guarding. 2005-03-09 Alexandre Gomes * gtk/Gtk.metadata: Set GetVisibleRect param to be passed as out. 2005-03-08 Mike Kestner * */*.cs : scrub for StringToPtrAnsi and string usage in DllImports. * */*.custom : begin the scrub here too. * generator/ConstStringGen.cs : implement IManualMarshaler and move to 100% IntPtr marshaling. * generator/Ctor.cs : call Body.Finish too. * generator/IManualMarshaler.cs : new interface for generatables that marshal manually and need cleanup. * generator/Makefile.am : new file. * generator/MethodBody.cs : use IManualMarshaler if applicable. 2005-03-07 Mike Kestner * generator/MethodBody.cs : remove an unused var. * generator/ReturnValue.cs : privatize a couple props. Refactor the SymbolTable lookup logic to be generatable based. 2005-03-04 Mike Kestner * generator/ImportSignature.cs : out param handling fix. * generator/Makefile.am : kill StringGen.cs. * generator/MethodBody.cs : simplify out param handling. * generator/StringGen.cs : kill it, now using MarshalGen. * generator/SymbolTable.cs : make non-const strings use an appropriate MarshalGen. Non-const strings are now correctly marshaled as Utf8. * glib/Marshaller.cs : add some utf8-fu for strdup/free marshaling. Add a method to alloc/copy structs to native memory, unused yet. * gtk/Gtk.metadata : partially fix a broken delegate. 2005-03-04 Mike Kestner * generator/Method.cs : refactor out some retval logic. * generator/ReturnValue.cs : add FromNative and IsVoid members. 2005-03-03 Mike Kestner * gdk/Gdk.metadata : remove unnecessary null_ok rules. * generator/Ctor.cs : don't add null params to CreateNativeObject call for InterfaceGen or OpaqueGen in addition to ObjectGen. * generator/Field.cs : simplify Object/Opaque gen. * generator/Method.cs : remove OpaqueGen special casing. * generator/OpaqueGen.cs : make FromNative null_ok robust. * generator/Signal.cs : remove arg marshaling ClassBase special case. * gtk/Gtk.metadata : remove unnecessary null_ok rules. 2005-03-03 Mike Kestner * generator/ClassBase.cs : use "as" instead of a cast in FromNative. * generator/Method.cs : remove the if/else checks for Object retvals. * glib/Object.cs : return null immediately for NULL in GetObject. 2005-03-03 Mike Kestner * generator/ClassBase.cs : add null checking to CallByName. No sense manually adding this for the ones that need it. Better to have g_criticals then NullRefExceptions anyway. * generator/MethodBody.cs : simplify out handle generation. [A babystep toward #68820] 2005-02-28 Dan Winship * gtk/Container.custom (ChildType): fix this to just call gtk_container_child_type(). * gtk/glue/container.c (gtksharp_container_base_child_type): kill 2005-02-28 Mike Kestner * glib/Idle.cs : add locking on the source_handlers. * glib/Source.cs : add locking on the source_handlers. * glib/Timeout.cs : add locking on the source_handlers. 2005-02-25 Mike Kestner * glib/Source.cs : remove from the hash by key. * glib/Idle.cs : remove from the hash by key. 2005-02-23 Dan Winship * sources/gnomedb.patch: Patch over a bug in gnome-db-editor.h * gnomedb/gnomedb-api.raw: Regen 2005-02-23 Dan Winship * parser/gapi2xml.pl (parseTypeToken): don't parse punctuation into the type name. [Fixes #72925] * gtk/gtk-api.raw: Regen, exposing the previously-broken AccelGroup.AccelActivate, AccelMap.Changed, ActionGroup.ConnectProxy, ActionGroup.DisconnectProxy, ActionGroup.PreActivate, ActionGroup.PostActivate, and Widget.EventAfter. * gtk/Gtk.metadata: Give proper names to the parameters of those signals 2005-02-23 Dan Winship * generator/Field.cs (Validate): new, to check that a field has a valid type (or is hidden). * generator/StructBase.cs (Validate): new, to check that all of the struct fields have valid types * generator/BoxedGen.cs (Generate): * generator/StructGen.cs: (Generate): Call Validate() and bail out if it fails; it's no good to generate a struct with the wrong layout. * gdk/gdk-symbols.xml: add a line for GdkKey -> Gdk.Key. (There's no actual C type GdkKey, but we can use metadata to change uints to GdkKeys, which will then become Gdk.Keys.) * gtk/AccelKey.custom: remove the "Key" field (which was being added in the wrong place in the struct), since it's properly generated now. * gtk/Gtk.metadata: Fix the line that renames AccelKey.AccelKey to AccelKey.Key * gnomevfs/Gnomevfs.metadata: hide the (mis-parsed) "action" field in MimeAction, leaving the struct in the same broken state it was in with the old generator code * parser/gapi2xml.pl: add a hack to allow "foo_bar_get_type()" rather than "FOO_TYPE_BAR" in G_TYPE_CHECK_INSTANCE_CAST macros, allowing large parts of libgda that were previously misparsed to be parsed correctly * gda/gda-api.raw: Regen * gda/Gda.metadata: Make Gda.Value opaque, since it's mostly a union and we're horribly butchering its layout. 2005-02-22 Raja R Harinath * Makefile.include: Use $(top_builddir)/ instead of ../ so that it is usable from directories two-or-more deep. 2005-02-18 Mike Kestner * gtk/Gtk.metadata : remove an incorrect and harmful rule on ClipboardGetFunc. [Fixes #69013] 2005-02-17 Mike Kestner * */Makefile.am : define SYMBOLS if it isn't already to fix breakage with older automakes. 2005-02-15 Dan Winship * generator/ObjectGen.cs (GenChildProperties): If the class has an ancestor that also defines child properties, make its child properties class be a subclass of that ancestor's child properties class. (Eg, make Gtk.ButtonBox.ButtonBoxChild be a subclass of Gtk.Box.BoxChild.) 2005-02-14 Mike Kestner * gdk/Gdk.metadata : mark the color in Rgb.FindColor ref. 2005-02-11 Mike Kestner * gtk/Gtk.metadata : hide Menu.SetScreen. * gtk/Menu.custom : manually implement Screen prop. 2005-02-11 Dan Winship * gtk/Gtk.metadata: Hide StyleGetProperty and StyleGetValist since they're generated wrong, and StyleGet to avoid an ellipsis warning. (Also hide the deprecated ellipsis method "Set".) * gtk/Widget.custom (StyleGetProperty): implement manually, a la Gtk.Container.ChildGetProperty. * gtk/glue/widget.c (gtksharp_widget_style_get_property): glue for that * generator/MethodBase.cs (Validate): use CName rather than always saying "in ctor" 2005-02-10 Jeroen Zwartepoorte * sample/Actions.cs: Remove obsolete & unsafe GLib.Object.Data usage. 2005-02-10 Mike Kestner * configure.in : update version for 1.9.2 release. 2005-02-09 Mike Kestner * gtk/Widget.custom : use a static method for the ParentSet hack so we don't leak objects because the delegate holds an object ref. 2005-02-07 Ben Maurer * gdk/Point.custom, gdk/Rectangle.custom: misc. new apis to make this more like the S.D structs. 2005-02-03 Mike Kestner * gtk/NodeStore.cs : use CreateNativeObject to allow subclassing. [Fixes #71749] 2005-02-03 Mike Kestner * glib/ObjectManager.cs (GetValidParentType): return null if G_TYPE_INVALID is returned from glue. [Fixes #72150] 2005-02-02 Mike Kestner * generator/Signal.cs : kill unnecessary BaseName prop. 2005-02-02 Mike Kestner * generator/Makefile.am : remove source file. * generator/Signal.cs : generate marshaling callbacks and use new GLib.Signal marshaling class for events. * generator/SignalHandler.cs : kill. byebye SignalCallback subclasses. * glib/Makefile.am : update source files. * glib/GLibSharp.voidObjectIntPtrSignal.cs : kill. * glib/Object.cs : mark the old Before/After props Obsolete. Use GLib.Signal for the notify prop methods. * glib/Signal.cs : new signal marshaling class. It manages all the ConnectBefore/After stuff internally and connects itself to the native object using GCHandles and DestroyNotify lifecycle management. * glib/SignalCallback.cs : mark Obsolete. [Fixes #72018 and #69847] 2005-02-01 Fredrik Nilsson * glib/Marshaller.cs : DateTime marshaling fix. 2005-01-31 Mike Kestner * gtk/FileChooserDialog.custom : move backend to first param to avoid conflicts with button names in overloaded ctor. 2005-01-31 Mike Kestner * generator/SymbolTable.cs : handle unsigned-*. * parser/gapi2xml.pl : handle const unsigned * parameters. Also fix a G_GNUC_PRINTF parsing bug exposed by a GMime. * */*-api.raw : regen. [Fixes #71825] 2005-01-28 Mike Kestner * generator/ReturnValue.cs : use ToNativeReturnType for ToNativeType instead of MarshalType. * generator/Signal.cs : deal with boxed return values. beef up return handling in the default handler generation code. * generator/SignalHandler.cs : use ToNative return types for native callbacks. Remove redundant casting/conversion in callback impl. [Fixes #71899] 2005-01-28 Dan Winship * glib/Object.cs (AddNotification, RemoveNotification): methods to subscribe to the "notify" signal (with property details). [#71684] * glib/GLibSharp.voidObjectIntPtrSignal.cs: autogenerated, for notifications * glib/NotifyHandler.cs: sort of autogenerated 2005-01-28 Mike Kestner * gtk/Dialog.custom : add a params array for button info to the ctor. * gtk/FileChooserDialog.custom : add a params array for button info to both ctors. Chain them to IntPtr.Zero. * gtk/Gtk.metadata : hide the ellipsis ctors for the dialog types. [Fixes #71818] * sample/GtkDemo/DemoDialog.cs : make the InteractiveDialog use the new Dialog ctor as it does in the c version. 2005-01-27 Mike Kestner * gtk/NodeSelection.cs : use new GetSelectedRows() overload. * gtk/TreeSelection.custom : add a GetSelectedRows overload without the out model param. [Fixes #71814] 2005-01-27 Mike Kestner * gtk/NodeView.cs : fix the value creation in the ctor. 2005-01-26 Mike Kestner * glib/Value.cs : add a private debugging DllImport for ref_counts since the glue is there already. g_value_get_object returns an unowned ref, so don't pretend like we own it. Make get_Val work for GObject subclasses. [Fixes #71125] 2005-01-26 Mike Kestner * gtk/NodeView.cs : always use CreateNativeObject. 2005-01-26 Mike Kestner * gtk/Gtk.metadata : hide 3 IM related internal types. [Fixes #71021] 2005-01-26 Mike Kestner * generator/*.cs : refactoring of Parameters class. Added IEnumerable to Parameters and gracefully handle elem == null instead of special casing parms == null all over the place. Parameter logic is now Count driven. [Fixes #71750] 2005-01-26 Dan Winship * generator/Property.cs (Generate): Remove a redundant WriteLine (that resulted in there being 2 blank lines before every property). * generator/Signal.cs (Generate): s/Write/WriteLine/ to fix a weirdly-formatted if statement in the generated code. 2005-01-25 John Luke * sample/CustomNotebook.cs: * sample/CustomWidget.cs: use Widget.WidgetFlags prop to avoid obsolete warning 2005-01-25 Mike Kestner * gnome/About.custom : implement a subclassable ctor. * gnome/Gnome.metadata : hide About ctor, fix About.Construct parms. * gnome/Makefile.am : add the new custom. [Fixes #71271] 2005-01-25 Mike Kestner * gdk/Gdk.metadata : hide all the Pixbuf.SaveTo methods. * gdk/Pixbuf.custom : implement the SaveTo methods. [Fixes #71430] 2005-01-25 Mike Kestner * gtk/Gtk.metadata : hide all the SignalFunc using Toolbar methods. * gtk/Makefile.am : add the new custom. * gtk/Toolbar.custom : implement the SignalFunc methods. Deal with null for Widget params in *Element. [Fixes #71428] 2005-01-24 Jeroen Zwartepoorte * generator/MethodBody.cs : fix out LPUGen params. 2005-01-24 Mike Kestner * gda/Makefile.am : add new custom. * gda/XmlConnection.custom : add backcompat static ctor. * generator/ClassBase.cs : refactor lookup logic to here from Ctor and improve the collision resolution. * generator/Ctor.cs : refactor to use MethodBase. * generator/Makefile.am : add new file. * generator/MethodBase.cs : new base class for ctors and methods. * generator/Method.cs : refactor to use MethodBase. * generator/StructBase.cs : move some logic from here to Ctor. * gnome/CanvasPathDef.custom : add backcompat static ctor. * gnome/GPPath.custom : add backcompat static ctor. * gnome/Makefile.am : add new custom. * gtk/Gtk.metadata : mark a colliding Button ctor shared. 2005-01-23 Jeroen Zwartepoorte * gtk/ActionGroup.custom: Add a string index for the GetAction method. 2005-01-20 Dan Winship * glib/Marshaller.cs (StringFormat): Calls String.Format and makes sure the output has no unescaped "%"s. (For wrapping printf-style unmanaged methods with String.Format-style managed ones.) * gtk/MessageDialog.custom (MessageDialog): use it. #71405. Also, use gtk_message_dialog_new_with_markup by default, and add an overloaded ctor that lets you use the non-markup version. * gtk/Gtk.metadata: hide the GtkMessageDialog ctors so we don't get ellipsis warnings about them. * sample/GtkDemo/DemoApplicationWindow.cs: * sample/GtkDemo/DemoDialog.cs: simplify the MessageDialog usage; don't need to call String.Format separately now. 2005-01-18 Mike Kestner * generator/Method.cs : deal with owned retvals. * generator/ReturnValue.cs : add Owned prop. * gnome/Gnome.metadata : mark Thumbnail.ScaleDownPixbuf return owned. [Fixes #71335] 2005-01-18 Mike Kestner * gtk/gtk-api.raw : regen. * parser/gapi2xml.pl : deal with G_GNUC_PRINTF. 2005-01-17 Mike Kestner * gtk/Style.custom : add Light, LightColors, Mid, MidColors, Dark, and DarkColors. * gtk/glue/style.c : add get_light and get_dark 2005-01-17 Mike Kestner * gtk/Gtk.metadata : hide Stock. * gtk/Makefile.am : add new file. * gtk/StockManager.cs : stock item management methods. 2005-01-14 Dan Winship * glib/Object.cs (ConnectDefaultHandlers): Don't call a signal's ConnectionMethod if it's already been called for a superclass of the current class. #71278 2005-01-13 Zac Bowling * makefile.win32 : new "gac" target for automatic for gacutil calls, added copying of gtk-sharp.snk to each folder being built to fix fresh builds and after cleaning, added support for switching C# compilers, and added handling of spaces in filenames for mcs builds * gtkdotnet/makefile.win32 : add one more reference to fix mcs builds. 2005-01-13 Mike Kestner * configure.in : make vte check conditional on gnome. * gtkdotnet/Makefile.am : add some references. 2005-01-13 Dan Winship * generator/ObjectGen.cs: Make ContainerChild constructors "protected internal" rather than just "internal", so the classes can be subclassed nicely. 2005-01-13 Zac Bowling * gtkdotnet/makefile.win32 : fixed references to build on Win32 2005-01-12 Mike Kestner * sample/gnomevfs/Makefile,am : conditionally build. 2005-01-12 Mike Kestner * sample/gnomevfs/*.cs : s/Test.Gnome.VFS/TestGnomeVfs to avoid namespace collision problems with current mcs. 2005-01-11 Ben Maurer * configure.in: There might be multiple S.D assemblies (eg, if you build the 2.0 crap, you get a 1.1 and a 2.0). So use head -n1 when looking at gacutil 2005-01-11 Mike Kestner * configure.in : add test for System.Drawing. expand gtkdotnet. * Makefile.am : add gtkdotnet. * makefile.win32 : add gtkdotnet. * gtkdotnet/* : new .Net extensions assembly. Moved the sample sysdraw.cs Graphics class in here under the Gtk.DotNet namespace. * sample/sysdraw.cs : moved to gtkdotnet/Graphics.cs. * sample/drawing-sample.exe.config.in : killed. * sample/DrawingSample.cs : use Gtk.DotNet.Graphics. * sample/Makefile.am : make drawing-sample.exe build conditional on gtk-dotnet presence. 2005-01-11 Mike Kestner * gdk/Window.custom : add AddFilterForAll and RemoveFilterForAll methods to handle the window==null native case. [Fixes #71065] 2005-01-11 Mike Kestner * glib/Argv.cs : add automatic progname handling. * gdk/Global.custom : kill obsolete warnings by using GLib.Argv. 2005-01-11 Mike Kestner * gdk/Gdk.metadata : kill Colors since its methods are deprecated and it doesn't exist in 1.0. 2005-01-08 Ben Maurer * Makefile.include (install-data-local, uninstall-local): make this actually work for things that are disabled. 2005-01-08 Mike Kestner * configure.in : kill a ton of redundant stuff. * AssemblyInfo.cs.in : moved here, only need one. * Makefile.include : rules for building generated assemblies. * Makefile.am : removed gtk-sharp-2.0.pc handling. * */AssemblyInfo.cs.in : killed * */Makefile.am : refactored out a ton of rules to an include. * */*-pc.in : added Cflags entries pointing to the gapi files. * generator/CodeGenerator.cs : add -I: synonym --include. * gnomevfs/gnome-vfs-api.raw : remamed from gnomevfs-api.raw. * gtk/gtk-sharp-2.0.pc.in : moved here from top. * parser/gapi-fixup.cs : add --symbol arg to merge sym files. * sources/gtk-sharp-sources.xml : remamed gnome-vfs-api.raw. 2005-01-07 Mike Kestner * sample/Makefile.am : mdb cleanup. * sample/GtkDemo/Makefile.am : mdb cleanup. 2005-01-07 Mike Kestner * configure.in : check for panelapplet in enable_gnome and remove all the stuff for a separate panelapplet-sharp assembly. * Makefile.am : remove panelapplet dir from build. * gnome/BonoboUIVerb.cs : moved from panelapplet. * gnome/Gnome.metadata : add rules from panelapplet. * gnome/Makefile.am : add new files. * gnome/PanelApplet.custom : moved from panelapplet. * gnome/PanelAppletFactory.cs : moved from panelapplet. * gnome/glue/panelapplet.c : moved from panelapplet. * gnome/glue/Makefile.am : add new file. * gnomedb/GnomeDb.metadata : hide a newly parsed "obsolete" type. * gtk/Gtk.metadata : hide a newly parsed "obsolete" callback type. * panelapplet : kill dir. * parser/gapi2xml.pl : update callback name sanity check. * sources/gtk-sharp-sources.xml : move panelapplet parse into gnome. * */*-api.raw : regen. 2005-01-07 Dan Winship * gtk/Gtk.metadata: Hide the Gtk.Image ctors generated from gtk_image_new_from_icon_set and gtk_image_new_from_stock. * gtk/Image.custom: Implement them here, taking into account the fact that the "icon_size" property is mysteriously an int rather than a Gtk.IconSize. * gtk/Makefile.am (customs): add Image.custom * gtk/Gtk.metadata: gtk_window_set_focus accepts NULL 2005-01-06 Larry Ewing * gtk/StockItem.custom: add a ctor for StockItem. * gtk/Makefile.am: add StockItem.custom to the build. 2005-01-06 Dan Winship * gtk/Gtk.metadata: Rename gtk_stock_add() back to Gtk.StockManager.Add like it was in 1.0; Gtk.Stock.Add already means something else. [#71044] 2005-01-06 Mike Kestner * gtk/Gtk.metadata : hide GtkSignal and SignalRunType. 2005-01-06 Mike Kestner * gnomevfs/gnomevfs-symbols.xml : FileSize is a long long. * generator/SymbolTable.cs : map longlong to C# long. 2005-01-05 Mike Kestner * gtk/gtk-api.raw : regen. * sources/gtk-sharp-sources.xml : hide xembed.h and gtkxembed.h. 2005-01-05 Mike Kestner * gtk/TreeView.custom : add back the TreeCellDataFunc overloads for backward compat. * gtk/TreeViewColumn.custom : add back the TreeCellDataFunc overloads for backward compat. 2005-01-05 Mike Kestner * generator/Field.cs : deal with LPGen/LPUGen fields. 2005-01-05 Mike Kestner * gtk/gtk-api.raw : regen. * sources/gtk-sharp-sources.xml : exclude gtkiconthemeparser.h. [Fixes #70898] 2005-01-05 Mike Kestner * gtk/Gtk.metadata : hide some internal Image*Data structs. 2005-01-05 Alp Toker * gtk/TextBuffer.custom : Mark SetText obsolete in favour of the Text property, and use Text in SetText in the meantime. 2005-01-04 Mike Kestner * gtk/gtk-api.raw : regen'd. * sources/gtk-sharp-sources.xml : exclude file system backend source. [Fixes #70904, #70897, and #70900] 2005-01-04 Mike Kestner * gtk/Gtk.metadata : mark out params for IMContext.GetSurrounding and GetPreeditString. [Fixes #70995] 2005-01-04 Mike Kestner * gtk/CellLayout.custom : declare SetAttributes and SetCellDataFunc. * gtk/CellView.custom : impl SetAttributes and SetCellDataFunc. * gtk/ComboBox.custom : impl SetAttributes and SetCellDataFunc. * gtk/EntryCompletion.custom : impl SetAttributes and SetCellDataFunc. * gtk/Gtk.metadata : hide some methods to be manually implemented. * gtk/Makefile.am : add new customs. * gtk/NodeCellDataFunc : use CellLayoutDataFuncNative. * gtk/TreeView.custom : use CellLayoutDataFunc not TreeCellDataFunc. * gtk/TreeViewColumn.custom : impl SetAttributes and SetCellDataFunc. [Fixes #70941] 2005-01-04 Mike Kestner * gtk/Gtk.metadata : set preferred on CellViewMenuItem.NewWithText. [Fixes #70938] 2005-01-03 Mike Kestner * gtk/NodeStore.cs : expose TreeModelFlags.ListOnly if the TreeNode has ListOnly set. * gtk/TreeNodeAttribute.cs : add ListOnly named value. 2004-12-30 Mike Kestner * glib/Object.cs : mark the Data hashtable obsolete. 2004-12-30 Mike Kestner * gtk/Gtk.metadata : hide TreeView.InsertColumnWith*. * gtk/TreeView.cs : manual implementations of InsertColumn overloads for WithAttributes and WithDataFunc. 2004-12-30 Alp Toker * README.generator: Close tag fix for example XML. 2004-12-28 Jeroen Zwartepoorte * sample/gnomevfs/TestVolumes.cs: Update sample. 2004-12-28 Jeroen Zwartepoorte * gnomevfs/Gnomevfs.metadata: Hide some more API. * gnomevfs/VfsStreamAsyncResult.cs: Make Done property internal. * gnomevfs/VolumeMonitor.custom: Hide GList API. 2004-12-28 Jeroen Zwartepoorte * gnomevfs/Directory.cs: PInvoke the _uri methods directory instead of using the ToString() methods. * gnomevfs/FileInfo.cs: Make the FileInfoNative field internal. * gnomevfs/Gnomevfs.metadata: Hide a bunch of unwanted API. * gnomevfs/Uri.custom: New API. * gnomevfs/Vfs.cs: Idem. 2004-12-27 Mike Kestner * generator/CallbackGen.cs : use ReturnValue and more of Parameter. * generator/GenBase.cs : remove unused NSElem prop. 2004-12-27 Jeroen Zwartepoorte * gnomevfs/Directory.cs: s/uint/FilePermissions/. * gnomevfs/Gnomevfs.metadata: Make a bunch of API more user-friendly & C# like. * gnomevfs/Monitor.cs: Add internal MonitorEventType enum. * gnomevfs/Uri.custom: Move a bunch of API from Vfs.cs to Uri. * gnomevfs/Vfs.cs: Only put initialize & shutdown methods in here (plus some debug API). * gnomevfs/VfsStream.cs: Use new Uri API. * sample/gnomevfs/TestUnlink.cs: Fix sample. 2004-12-27 Mike Kestner * generator/EnumGen.cs : rework for a single pass thru ChildNodes. * generator/Parameters.cs : simplify PassAs logic. * generator/SimpleBase.cs : mark abstract. 2004-12-27 Mike Kestner * generator/AliasGen.cs : derive from SimpleBase. * generator/ConstStringGen.cs : derive from SimpleBase. * generator/GObjectGen.cs : kill. now uses ManualGen. * generator/GStringGen.cs : kill. now uses MarshalGen. * generator/GUnicharGen.cs : kill. now uses MarshalGen. * generator/LPGen.cs : derive from SimpleGen. * generator/Makefile.am : update source files. * generator/ManualGen : make this general for handle types. * generator/MarshalGen : new CallByName/FromNative formatter class. * generator/SymbolTable.cs : needed some reorganizing and some restructuring of types to use MarshalGen. * generator/TimeTGen.cs : kill. now uses MarshalGen. 2004-12-26 Mike Kestner * generator/Makefile.am : add new file. * generator/SimpleBase.cs : new class for non-generated type mappers. * generator/*Gen.cs : first refactoring of "Simple" generatable types. Derive them all from SimpleBase. More to come. 2004-12-26 Mike Kestner * generator/CustomMarshalerGen.cs : kill bad idea unused class. * generator/Makefile.am : remove CustomMarshalerGen.cs. * generator/Method.cs : remove CustomMarshalerGen reference. 2004-12-26 Mike Kestner * generator/*Gen.cs : implement IGeneratable fully on GenBase with abstract methods where necessary to refactor a ton of redundant code. 2004-12-23 Mike Kestner * 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. 2004-12-22 Dan Winship * generator/Signal.cs: fix some WriteLine()s that should have been Write()s 2004-12-22 Dan Winship * 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. 2004-12-22 Mike Kestner * 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] 2004-12-21 Mike Kestner * 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] 2004-12-21 Dan Winship * 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 2004-12-21 Jeroen Zwartepoorte * 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). 2004-12-21 Jeroen Zwartepoorte * 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. 2004-12-20 Mike Kestner * 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. 2004-12-20 Dan Winship * 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 2004-12-20 Dan Winship * gtk/Gtk.metadata: Don't rename GtkStock to StockManager, hide Lookup (so we can customize it) and AddStatic (since it can't work right from managed code), and tweak the params of Add. * gtk/Stock.custom: Implement Lookup() using a special ConstStockItem struct so the p/invoke layer won't try to free static strings. [#70589] * sample/GtkDemo/DemoStockBrowser.cs: update this to work with that. (It used to crash.) 2004-12-20 Mike Kestner * generator/Property.cs : generate Interface properties. * gtk/ComboBox.custom : remove dup model prop. * gtk/TreeView.custom : remove dup model prop. 2004-12-20 Jeroen Zwartepoorte * gnomevfs/Makefile.am: * gnomevfs/ModuleCallback.cs: * gnomevfs/ModuleCallbackAuthentication.cs: * gnomevfs/ModuleCallbackFullAuthentication.cs: * gnomevfs/Vfs.cs: Use a custom VfsException for Result errors. * gnomevfs/VfsException.cs: new custom Exception class. * sample/gnomevfs/Makefile.am: * sample/gnomevfs/TestCallback.cs: Implement custom bindings for the ModuleCallback mechanism. Atm, only the GNOME_VFS_MODULE_CALLBACK_AUTHENTICATION and GNOME_VFS_MODULE_CALLBACK_FULL_AUTHENTICATION callbacks are implemented. Also added a test-case using the full authentication callback (tested using the sftp: method). [Partially fixes #70602] 2004-12-18 Mike Kestner * configure.in : bump version in preparation for 1.9.1 release. 2004-12-18 Mike Kestner * gtk/ColorSelectionDialog.custom : fix some incorrect object wrapping and mark the ColorSelectionButton nested class Obsolete with a heinous warning message. [Fixes #68450] 2004-12-18 Mike Kestner * generator/Field.cs : add MarshalAs attrs for (u)longs. 2004-12-18 Mike Kestner * 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. 2004-12-17 Mike Kestner * gtk/ListStore.custom : dispose a bunch of GLib.Values. * gtk/TreeStore.custom : ditto. Reworked and expanded from a patch by Ben "valgrind-boy" Maurer. [Fixes #69925] 2004-12-17 Mike Kestner * glade/XML.custom (BindFields) : support multiple autoconnects in different roots by not writing null widgets to the tagged fields. [Fixes #68455] 2004-12-17 Mike Kestner * 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] 2004-12-17 Mike Kestner * 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. 2004-12-17 Mike Kestner * 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. 2004-12-17 Dan Winship * generator/Field.cs (StudlyName): Fall back to using "cname" if "name" isn't defined (ie, when using the latest generator against api files output by an older parser). 2004-12-17 Dan Winship * 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 2004-12-16 Dan Winship * 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 2004-12-16 Dan Winship * 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. Part of #69514. See doc/ChangeLog for the (very minimal) fallout from these changes. 2004-12-16 Mike Kestner * sample/NodeViewDemo.cs : rework of TreeViewDemo to use NodeStore. * sample/TreeViewDemo.cs : added some timing and node counting fu. 2004-12-16 Duncan Mak * 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. 2004-12-16 Tambet Ingo * glib/Opaque.cs : hold a weakref in the hash, not a strong ref. 2004-12-15 Mike Kestner * gnome/Gnome.metadata : resolve a collision that was causing Print class methods to be lost. 2004-12-13 Mike Kestner * configure.in : make gtkhtml conditional on enable_gnome. [Fixes #70502] 2004-12-09 Mike Kestner * gtkhtml/HTML.custom : remove obsolete attr for Write overload. * gtkhtml/HTMLStream.custom : ditto. 2004-12-09 Mike Kestner * gtkhtml/HTML.custom : add an back-compat obsolete overload for Write. * gtkhtml/HTMLStream.custom : add an obsolete overload for Write. 2004-12-09 Mike Kestner * 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. 2004-12-08 John Luke * sources/README: update versions of the libs 2004-12-08 Mike Kestner * art/Art.metadata : mark some ints as bools. [Fixes #61047] 2004-12-08 Jeroen Zwartepoorte * sample/Makefile.am: Readded TestVfs.cs back and make it conditional. * sample/TestVfs.cs: New sample contributed by Tamara Roberson. [Fixes #70262] 2004-12-07 Mike Kestner * gtk/glue/style.c : add missing method and prototype. [Fixes #70216] 2004-12-07 Mike Kestner * */*.cs : s/glue-2.0/glue-2 so that dllimport works on win32. * */*.custom : s/glue-2.0/glue-2 * */glue/makefile.win32 : s/glue-2.0/glue-2 * */glue/Makefile.am : s/glue-2.0/glue-2 2004-12-06 John Luke * gtk/Gtk.metadata: set with_mnemonic as the preferred ctor * doc/en/Gtk/Expander.xml: update 2004-12-06 John Luke * 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 2004-12-06 Mike Kestner * generator/SymbolTable.cs : add off_t as an IntPtr. 2004-12-06 Mike Kestner * generator/SignalHandler.cs : s/[]/Array in BaseName. [Fixes #69383] 2004-12-06 Mike Kestner * 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] 2004-12-03 Dan Winship * 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. 2004-12-03 Jorge Garcia * glib/Type.cs: add Int64 and UInt64 support. * glib/TypeConverter.cs: add Int64 and UInt64 support. * glib/Value.cs: add Int64 and UInt64 support. 2004-12-03 Mike Kestner * gtk/Dialog.custom : correct return value for AddButton overload. [Fixes #70121] 2004-12-03 Mike Kestner * gtk/Gtk.metadata : mark accel_group null_ok on ImageMenuItem ctor. [Fixes #69041] 2004-12-03 Dan Winship * 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. 2004-12-03 Mike Kestner * gtk/Gtk.metadata : hide junk methods in Global. [Fixes #60895] 2004-12-03 Mike Kestner * gtk/Gtk.metadata : hide Visibility enum. [Fixes #60704] 2004-12-01 Todd Berman * 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. 2004-11-30 Dan Winship * sample/GtkDemo/DemoImages.cs: Fix some crashers discovered while trying to use this as a test case to figure out whether or not I'd broken Gtk#. Sigh. :) 2004-11-30 Mike Kestner * glib/glue/value.c : add back some code lost in the merge of 2-4-branch. [Fixes #70045] 2004-11-26 Jeroen Zwartepoorte * 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+. 2004-11-22 Dan Winship * generator/ClassBase.cs: * generator/ObjectGen.cs: Move child property handling from ClassBase to ObjectGen (as suggested by Mike) since it's only used there 2004-11-18 Mike Kestner * generator/InterfaceGen.cs : beginnings of a real implementation for GInterfaces. Not quite ready yet, so it's not active in generation. 2004-11-18 Mike Kestner * generator/Makefile.am : add new file. * generator/Method.cs : add Declaration property. * generator/VirtualMethod.cs : new class to generate virtual methods for Interfaces and objects. Unfinished. 2004-11-18 Mike Kestner * generator/ClassBase.cs : remove a "new" string in the ChildProp class holder decl to fix build warnings. 2004-11-18 Mike Kestner * atk/Atk.metadata : mark an out param on Value. 2004-11-18 Mike Kestner * generator/*Gen.cs : add ToNativeReturnType to deal with the g_free string nonsense in the virtual method case. 2004-11-18 Mike Kestner * generator/AliasGen.cs : make this a SimpleGen. 2004-11-18 Mike Kestner * parser/gapi2xml.pl : fix a missing semi in a vm regex. * */*-api.raw : regen with missing vms. 2004-11-18 Dan Winship 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. 2004-11-17 Jorn Baayen * gtk/FileChooserDialog.custom : set TransientFor, not Parent. [Fixes #69626] 2004-11-17 Mike Kestner * gnome/Makefile.am : kill unused file. * gnome/voidObjectAffineSVPintSignal.cs : kill old file. 2004-11-17 Mike Kestner * generator/Makefile.am : add new file. * generator/Method.cs : refactoring to use ReturnValue. * generator/MethodBody.cs : remove unnecessary code. * generator/ReturnValue.cs : class for redundant retval handling. * generator/Signal.cs : refactoring for ReturnValue. * generator/SignalHandler.cs : refactoring for ReturnValue. 2004-11-16 Dan Winship * glib/Value.cs: add new constructors for enum and boxed values that take the name of the type rather than an object/property name pair; this way they work for both GObject properties and GtkContainer child properties. * glib/glue/value.c (gtksharp_value_create_from_type_name): glue for that * glib/Opaque.cs (GetOpaque): Fix this. * generator/Property.cs (Generate): Use the new GLib.Value constructors. (Fixes setting of enum-valued child properties.) 2004-11-15 Dan Winship * 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 2004-11-15 Mike Kestner * gtk/Gtk.metadata : hide the Get/Set Color methods that are marked deprecated but didn't exist in 1.0. 2004-11-13 Duncan Mak * generator/SymbolTable.cs: Add support for GDestroyNotify, so that `gtk_cell_layout_set_cell_data_func' will be generated in Gtk.ComboBox. 2004-11-13 Mike Kestner * */*-api.raw : rerun the parser for new vm-age and cleanups. * parser/gapi_pp.pl : suppress union types, since we can't generate them. smarter get_type regex. ignore #errors. * parser/gapi2xml.pl : generate vm elements for GInterfaces. Deal with G_CONST_RETURN in vms. deal with "struct _foo" types in method prototypes. * gtk/ComboBox.custom : remove now correctly generated dllimport. 2004-11-13 Mike Kestner * sources/gda.patch : fix broken signal defs. * sources/gnomedb.patch : fix broken signal defs. * sources/Makefile.am : apply new patches, and dist some others. 2004-11-12 Mike Kestner * parser/gapi_pp.pl : fix multi-line extern parsing. 2004-11-12 Mike Kestner * parser/gapi_pp.pl : fix a struct parsing bug. 2004-11-12 Mike Kestner * sources/gtk-sharp-sources.xml : exclude a couple more pango headers. 2004-11-09 Mike Kestner * */Makefile.am : make the Obsolete warnings shaddup. 2004-11-09 Mike Kestner * 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 2004-11-08 Dan Winship * glib/Object.cs (CreateNativeObject): virtualize (Object(GType)): Mark this ctor Obsolete * gtk/Gtk.metadata: disable the generated GType ctor on Gtk.Widget * gtk/Widget.custom (Widget, CreateNativeObject, Widget_ParentSet): Connect to our own ParentSet event from CreateNativeObject and the GType ctor, and keep a static Hashtable of parented widgets, so that adding a managed widget to a container keeps both the GObject and the managed object alive. * generator/ObjectGen.cs (GenCtors): handle the disable_gtype_ctor flag. Also, mark GType ctors [Obsolete] * generator/ChildProperty.cs: * generator/Property.cs: Fix child property names. 2004-11-07 Jeroen Zwartepoorte * gtk/Gtk.metadata: Fix some TreeModelFilter stuff (similar to TreeModelSort). 2004-11-05 Jeroen Zwartepoorte * gnomevfs/*.cs: Add copyright/LGPL header. * gnomevfs/*.custom: Idem. * gnomevfs/Mime.cs: Obsolete, replaced by MimeType.cs. * gnomevfs/MimeActionType.cs: Obsolete, generated now. * gnomevfs/OpenMode.cs: Idem. * gnomevfs/Result.cs: Idem. * gnomevfs/SeekPosition.cs: Idem. 2004-11-05 Dan Winship * parser/gapi2xml.pl (parseInitFunc, addPropElem): handle GtkContainer child properties * generator/Property.cs: * generator/ChildProperty.cs: make Property subclassable and add a "ChildProperty" subclass. * generator/Makefile.am (sources): add ChildProperty.cs * generator/ClassBase.cs: handle "childprop" nodes by creating ChildProperty objects. * glib/Value.cs (explicit operator EnumWrapper): use g_value_get_flags() rather than g_value_get_enum() when appropriate. * glib/glue/value.c (glibsharp_value_holds_flags): glue for that * gtk/gtk-api.raw: regen to pick up child properties * gtk/Gtk.metadata: * gtk/Container.custom: hide the auto-generated Gtk.Container.ChildGetProperty and implement a nicer one by hand. * gtk/glue/container.c (gtksharp_container_child_get_property): utility function to set up an appropriate GValue for us 2004-11-05 Tambet Ingo * generator/OpaqueGen.cs: Add optional "parent" attribute to Opaque types. 2004-11-04 Jeroen Zwartepoorte * gnomevfs/Directory.cs: Add async GetEntries Uri alias. * gtk/FileChooserDialog.custom: Add nice custom properties for Uris. ListFilters, ListShortcutFolders and ListShortcutFolderUris. * gtk/FileChooserWidget.custom: Idem. * gtk/Gtk.metadata: Idem. 2004-11-04 Todd Berman * glib/ListBase.cs: In Empty, call FreeList, not Dispose. 2004-11-04 Todd Berman * glib/ListBase.cs: Make sure to properly check if it is a GLib.Object subclass. 2004-11-04 Todd Berman * 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. 2004-11-03 Todd Berman * gtk/FileChooserDialog.custom: * gtk/FileChooserWidget.custom: Properly implement .Filenames. The old code was a really bad c&p job. 2004-11-02 Jeroen Zwartepoorte * gnomevfs/AsyncDirectoryLoadCallback.cs: * gnomevfs/AsyncDirectoryLoadCallbackNative.cs: * gnomevfs/Directory.cs: Implement asynchronous directory loading. * gnomevfs/FileInfo.cs: Clear the FileInfoNative struct in the destructor. * gnomevfs/Makefile.am: Add new callback files. * sample/gnomevfs/TestDirectory.cs: Add async test. 2004-11-01 Jeroen Zwartepoorte * gnomevfs/Directory.cs: New Create and Delete methods. Free the FileInfo List returned by gnome_vfs_directory_list_load. * gnomevfs/FileInfo.cs: Copy the FileInfoNative struct so the original can be properly freed. * gnomevfs/Vfs.cs: Move MakeDirectory and RemoveDirectory to Directory. 2004-11-01 Jeroen Zwartepoorte * gnomevfs/Directory.cs: Bind gnome_vfs_directory_list_load as a static FileInfo[] GetEntries (uri) method. * gnomevfs/FileInfo.cs: Add internal FileInfoNative constructor to create a FileInfo class based on an existing FileInfoNative struct. * gnomevfs/Makefile.am: * sample/gnomevfs/Makefile.am: * sample/gnomevfs/TestDirectory.cs: 2004-10-30 Todd Berman * gtk/ComboBox.custom: * gtk/FileChooserDialog.custom: * gtk/FileChooserWidget.custom: Fix c&p error with filename. 2004-10-29 Todd Berman * gtk/ComboBox.custom: Add a header. * gtk/FileChooserDialog.custom: Add subclassing support, and a header. * gtk/FileChooserWidget.custom: Add a header. 2004-10-29 Todd Berman * gtk/FileChooserDialog.custom: Add Filenames property to return the data as a string[] instead of a GSList. * gtk/FileChooserWidget.custom: Same as above. * gtk/Makefile.am: Add FileChooserWidget.custom 2004-10-30 Jeroen Zwartepoorte * sources/gtk-sharp-sources.xml: Invalid XML due to unremoved --> closing comment tag. 2004-10-29 Todd Berman * gtk/FileChooserDialog.custom: Allow a null parent. 2004-10-29 Todd Berman * gconf/GConf/gconf-sharp-2.0.pc.in: s/PACKAGE/PACKAGE_VERSION/ to fix -pkg:gtk-sharp 2004-10-29 Todd Berman * gtk-sharp-2.0.pc.in: s/PACKAGE/PACKAGE_VERSION/ to fix -pkg:gtk-sharp 2004-10-26 Dan Winship * gdk/Gdk.metadata: Remap all "out Gdk.Bitmap" params to be Gdk.Pixmaps instead, because the former will crash. Also fix the "data" param to Pixmap.CreateFromXpmD and Pixmap.ColormapCreateFromXpmD * gtk/Style.custom (TextAAGC, SetTextAAGC, LightGC, SetLightGC, DarkGC, SetDarkGC, MidGC, SetMidGC): add these to go along with BaseGC, SetBaseGC, etc. * gtk/glue/style.c: add the glue methods needed for the above 2004-10-21 Mike Kestner * generator/SymbolTable.cs : map unsigned int to uint. [Fixes #67732] 2004-10-21 Mike Kestner * configure.in : guard against broken installs where enable_gnome fails but enable_gnomedb succeeds. [Fixes #67986] 2004-10-20 Dan Winship * gdk/Window.custom: add a new constructor that takes a Gdk.WindowAttributesType rather than an int for attributes_mask. 2004-10-18 Dan Winship * generator/OpaqueGen.cs: Don't build the (IntPtr raw) constructor if "disable_raw_ctor" is set on the opaque type. * gtk/Gtk.metadata: Make GtkTargetList opaque (fixes a crash in Gtk.Drag.Begin), hide the generated constructor and ref/unref methods, and fix up the interpretation of AddTable. * gtk/TargetList.custom (TargetList, ~TargetList): Implement the suppressed constructors and add a finalizer, which handle refcounting the underlying struct. (Add, Find, Remove): convenience overloads that take string instead of Gdk.Atom. * gtk/Makefile.am (customs): add TargetList.custom 2004-10-07 Mike Kestner * gdk/Makefile.am : add missing custom file. * gdk/Pixmap.custom : add overloads for *CreateFromXPM* methods which default transparency mask and color. 2004-10-07 Todd Berman * gtk/Gtk.metadata: Mark ComboBox.GetActiveIter as an out param. 2004-10-06 John Luke * gtk/Action.custom: add overload for string, string, null, null * gtk/UIManager.custom: add overload to get the UI from a resource * gtk/Makefile.am: add the 2 new custom files * sample/Action.cs: remove using GtkSharp, make ui_info const, quit on Quit 2004-10-05 Todd Berman * gtk/ComboBox.custom: Add SetCellDataFunc to allow you to set a CellLayoutDataFunc on a ComboBox. 2004-10-05 Todd Berman * gtk/ComboBox.custom: new file, to allow get/set access to 'model'. * gtk/Makefile.am: add ComboBox.custom. 2004-10-05 Mike Kestner * gtk/Gtk.metadata : hide Selection.GetTargets. * gtk/SelectionData.custom : impl Targets prop and add Selection, Target, and Type field accessors. * gtk/glue/selectiondata.c : field accessor glue. 2004-10-04 Todd Berman * Merge forward patch from Miguel to fix delegate marshalling in 1.1.1. Original Changelog follows 2004-10-04 Todd Berman * */*.pc.in: Fix the Requires to use -2.0 2004-09-29 Mike Kestner * 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. 2004-09-29 Mike Kestner * generator/GStringGen.cs : new generatable impl for GStrings. * generator/InterfaceGen.cs : better error reporting. * generator/Makefile.am : add new source file. * generator/Method.cs : better error reporting. * generator/SymbolTable.cs : add new GString igen. 2004-09-29 Mike Kestner * glib/GString.cs : new marshaling class for GStrings. Used by generator to map GString params and returns onto managed strings. * glib/Makefile.am : add new file. 2004-09-27 Mike Kestner * gtk/Button.custom : add a ctor (Widget). reworked from patch by John Luke. [Fixes #66228] 2004-09-26 Mike Kestner * glib/Idle.cs : proxy hash keys are uints, not ints. 2004-09-24 Mike Kestner * gtk/Bin.custom : make Child get/set. * gtk/Gtk.metadata : hide the Bin.get_child method. [Fixes #66232] 2004-09-23 Mike Kestner * gtk/Widget.custom : new OnSetScrollAdjustments VM. * gtk/glue/widget.c : glue for new VM. 2004-09-18 Miguel de Icaza * glib/Source.cs: Add new base class to hold the method to be called, and the proxy handler we use to keep references to them and avoid a collection. Exposes a new variables that references all the active Timeouts and Idle handlers to avoid collection/ * glib/Timeout.cs: Implement TimeoutProxy that acts as a filter to remove the proxy when the timeout is removed. Register a TimeoutProxy when we create a timeout. * glib/Idle.cs: Implement IdleProxy that acts as a filter to remove the proxy when the idle handler is removed. Register an IdleProxy when we create a timeout. 2004-09-17 Mike Kestner * configure.in : bump version and tag for 1.0.2. 2004-09-17 Mike Kestner * configure.in : bump version and tag for 1.0.2. 2004-09-17 Mike Kestner * configure.in : use either gtkhtml 3.0 or 3.2 2004-09-14 Mike Kestner * gdk/* : remaining API audit fixes. 2004-09-09 Mike Kestner * gdk/Device.custom : manual GetHistory impl. * gdk/Display.custom : manual GetPointer overloads. * gdk/Gdk.metadata : hides and array params. * gdk/Makefile.am : add new file. * gdk/TextProperty.cs : new manual impl of methods. 2004-09-03 Mike Kestner * configure.in : expand new doc/updater makefile * gtk/Gtk.metadata : hide Init.Check and AbiCheck*. * gtk/Init.custom : manual Init.Check impl. * gtk/Makefile.am : add Init.custom. 2004-08-31 Mike Kestner * gdk/Gdk.metadata : mark out params on *CreateWithXpm*. [Fixes #61116] 2004-08-31 Mike Kestner * gtk/NodeStore.cs : add GType prop to expose native gtype. [Fixes #61226] 2004-08-31 Mike Kestner * glib/Marshaller.cs : fix utc offseting for time_tToDateTime. [Fixes #60960] 2004-08-30 Tambet Ingo * glib/ListBase.cs : indexing bugfix for CopyTo. 2004-08-28 John Luke * gdk/Gdk.metadata: change Gdk.KeyVal name return-type from gchar* to const-gchar*, so we do not try to modify it (call gfree). [Fixes #64421] 2004-08-27 Jeroen Zwartepoorte * gnomevfs/Async.cs: Add Priority enum. Add methods which take an Uri object (similar to Sync methods). * gnomevfs/Vfs.cs: Add Truncate bindings. * gnomevfs/VfsStream.cs: Major fixes. Don't use the AsyncWaitHandle for blocking until an operation has finished. Fix (a)sync reading & writing. You either use sync/async throughout the code. Can't mix sync and async gnome-vfs method calls (different Handle objects). * gnomevfs/VfsStreamAsyncResult.cs: Throw NotSupportedException when AsyncWaitHandle property is accessed. * sample/gnomevfs/Makefile.am: New test programs. * sample/gnomevfs/TestAsync.cs: * sample/gnomevfs/TestAsyncStream.cs: * sample/gnomevfs/TestSyncStream.cs: 2004-08-26 Manuel V. Santos * 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. 2004-08-25 Mike Kestner * generator/Signal.cs : use typeof instead of Type.GetType to specify the event args type. * glib/ObjectManager.cs : beef up the type lookup code using Assembly.LoadWithPartialName to fix a very popular win32 bug. [Fixes #61139 and friends] Thanks to John Luke for expert patch testing on win32. 2004-08-25 John Luke * glib/MainLoop.cs: MainLoop implementation by Jeroen [Fixes #61493] 2004-08-24 Mike Kestner * gtk/Gtk.metadata : kill TreeDataList and TreeDataSortHeader internal types. 2004-08-24 Larry Ewing * gtk/Gtk.metadata : Style.PaintPolygon has an array of points. 2004-08-24 John Luke * gtk/Makefile.am: add Menu.custom * gtk/Menu.custom: new custom for Popup () overload [Fixes #60668] * rsvg/Pixbuf.custom: new custom file * rsvg/Makefile.am: add Pixbuf.custom to build * rsvg/Tool.cs: remove double ; that cause warnings * rsvg/rsvg-sharp.pc.in: add Requires: gtk-sharp art-sharp [Fixes #60894] * gdk/PixbufLoader.custom: add Write () overload [Fixes #62681] 2004-08-24 Larry Ewing * gdk/Pixbuf.custom : add RenderThresholdAlpha overload which defaults to the entire pixbuf width/height. [Fixes #60703] 2004-08-24 Mike Kestner * gdk/Drawable.custom : add a DrawPolygon overload with bool filled and mark the old int filled overload Obsolete. [Fixes #60702] 2004-08-23 Todd Berman * panelapplet/BonoboUIVerb.cs: * panelapplet/ContextMenuItem.cs: * panelapplet/Makefile.am: * panelapplet/PanelApplet.custom: Remove the ContextMenuItem and the need for the glue. Add BonoboUIVerb to directly call the setup_menu function. Leave the glue library for now, as I think getting the proper orientation stuff setup will require some glue work. * sample/panelapplet/testapplet.cs: Update sample to reflect new api. Need to make this installable. 2004-08-22 Jeroen Zwartepoorte * gnomevfs/Makefile.am: Remove ADDITIONAL_API variable. 2004-08-20 Mike Kestner * atk/Atk.metadata : mark an array param on Relation ctor. 2004-08-19 Borja Sanchez Zamorano * gtk/Gtk.metadata : hide some methods on TextBuffer. * gtk/TextBuffer.custom : pass -1 for the text length to some more methods. 2004-08-19 Jeroen Zwartepoorte * gnomevfs/Makefile.am: Add Monitor.cs. * gnomevfs/Monitor.cs: New custom class wrapping the gnome_vfs_monitor_* methods. * sample/gnomevfs/Makefile.am: Added TestMonitor.cs. * sample/gnomevfs/TestMonitor.cs: Test case for using the new Monitor class. 2004-08-18 John Luke * AUTHORS: fix my name * glade/XML.custom: remove doc comments (in monodoc) add overload ctor for the most common case so far [Fixes #62238] 2004-08-18 John Luke * pango/Pango.metadata : hide a couple methods on Layout. * pango/Layout.custom : impl SetText and SetMarkup w/ length=-1. [Fixes #63057] 2004-08-18 Mike Kestner * gtk/Gtk.metadata : unhide ExpanderStyle. * doc/en/Gtk/Style.xml : doc PaintExpander. * doc/en/Gtk/ExpanderStyle.xml : new enum docs. [Fixes #60480] metadata patch from Jeroen Zwartepoorte. 2004-08-17 Mike Kestner * pango/Pango.metadata : metadata for the pango audit. * pango/*.custom : customizations to fix audited API. * doc/en/* : docs for some api changes and additions. * glib/Marshaller.cs : some gunichar marshal-fu. * glib/glue/unichar.c : a new glue method. 2004-08-14 Todd Berman * gnomevfs/VfsStream.cs: if ErrorEof is returned in Read, return 0 instead of throwing an exception. 2004-08-13 John Luke * gtk/Gtk.metadata: mark Gtk.StockManager.Lookup param as ref patch by jaspervp@gmx.net (Jasper van Putten) [Fixes #61893] 2004-08-13 Mike Kestner * gtk/Gtk.metadata : hide Insert and SetText for manual impl. * gtk/TextBuffer.custom : pass -1 for length to Insert and SetText. Adapted from a patch by borsanza@yahoo.es (Borja Sanchez Zamorano). [Fixes #62985] 2004-08-10 Todd Berman * gnomevfs/AssemblyInfo.cs.in: use the .snk, not the .pub. 2004-08-10 Jeroen Zwartepoorte * glib/MainLoop.cs: * gnomevfs/.cvsignore: * gnomevfs/Async.cs: * gnomevfs/FileInfo.cs: * gnomevfs/Gnomevfs.metadata: * gnomevfs/Makefile.am: * gnomevfs/MimeType.cs: * gnomevfs/Sync.cs: * gnomevfs/Uri.custom: * gnomevfs/VfsStream.cs: * gnomevfs/VfsStreamAsyncResult.cs: * gnomevfs/VolumeMonitor.custom: * gnomevfs/Xfer.cs: * gnomevfs/XferProgressCallback.cs: * gnomevfs/XferProgressCallbackNative.cs: * gnomevfs/filesize.diff: * gnomevfs/gnomevfs-api.raw: * sample/gnomevfs/.cvsignore: * sample/gnomevfs/Makefile.am: * sample/gnomevfs/TestInfo.cs: * sample/gnomevfs/TestMime.cs: * sample/gnomevfs/TestSync.cs: * sample/gnomevfs/TestSyncCreate.cs: * sample/gnomevfs/TestSyncWrite.cs: * sample/gnomevfs/TestUnlink.cs: * sample/gnomevfs/TestVolumes.cs: * sample/gnomevfs/TestXfer.cs: Commit new gnomevfs files and samples. Also the GLib.MainLoop addition for programs which don't want to use Gtk.Application.Run (), but still use the GLib main loop. 2004-08-04 Raja R Harinath * configure.in (GTKHTML): Use SOVERSION=11 for GtkHTML 3.1.18. * gda/Makefile.am ($(API)): Remove duplicated $(srcdir). 2004-07-30 Mike Kestner * parser/gapi2xml.pl : char const * fixes for clahey's gsf binding. 2004-07-28 Jeroen Zwartepoorte * */*: merge from HEAD again. 2004-07-24 Mike Kestner * gdk/Gdk.metadata : hide Window.Destroy. * gdk/Window.custom : manually impl Destroy since it releases our ref. * glib/Object.cs : support unset of Raw values. 2004-07-22 Mike Kestner * glib/Value.cs : allow null for ctor(GLib.Object). 2004-07-18 Todd Berman * panelapplet/Makefile.am: We dont actually use gnome-sharp.dll, remove it. 2004-07-16 John Luke * gtk/Gtk.metadata: * glade/Glade.metadata: mark return type as const-gchar* for Gtk.Global.CheckVersion and Glade.Global.ModuleCheckVersion so Gtk# does not try to free them. Thanks to jaspervp@gmx.net (Jasper van Putten) for identifying the Glade part. Fixes bugs #61329 and #60954 2004-07-12 Martin Willemoes Hansen * gnome/Gnome.metadata: Fixed typo i to 1 Remove unnessesary disabledefaultconstructor * gnome/PrintJob.custom: Change ctor to an overload ctor 2004-07-11 Todd Berman * panelapplet/ContextMenuItem.cs: New struct to hold context menu item information. * panelapplet/Makefile.am: added new file. * panelapplet/PanelApplet.custom: add glue accessor to set the context menu. * panelapplet/glue/panelapplet.c: new glue functionality to setup a context menu. * sample/panelapplet/testapplet.cs: expand sample to show context menu code. 2004-07-10 Todd Berman * panelapplet/panelapplet-sharp-2.0.pc.in: fix path. 2004-07-09 Mike Kestner * gdk/Gdk.metadata : mark gc param of Drawable.DrawPixbuf null_ok. 2004-07-09 Todd Berman * Makefile.am: * configure.in: Add panelapplet stuff to configure.in and the subdirs. * generator/ClassBase.cs: * generator/ObjectGen.cs: Add a new attribute 'abstract' to allow a class to be defined to be abstract. PanelApplet.PanelApplet uses this. * panelapplet/.cvsignore: * panelapplet/AppletFactory.cs: * panelapplet/AssemblyInfo.cs.in: * panelapplet/Makefile.am: * panelapplet/PanelApplet.cs: * panelapplet/PanelApplet.custom: * panelapplet/PanelApplet.metadata: * panelapplet/panelapplet-api.raw: * panelapplet/panelapplet-sharp-2.0.pc.in: * panelapplet/panelapplet-sharp.dll.config.in: * panelapplet/glue/.cvsignore: * panelapplet/glue/Makefile.am: * panelapplet/glue/panelapplet.c: Initial import of the panelapplet code. This code is largely untested, and will need a good amount of glue. For sure glue code is needed for the context menu items. * sample/panelapplet/CSharpTestApplet_Factory.server: * sample/panelapplet/monodoc.png: * sample/panelapplet/testapplet.cs: A small testcase for the panelapplet. There is no makefile yet, and the server needs some help as it uses an absolute path that will only work on my box. When I get back to Toronto (so some point this weekend) I will fix this code to build/install properly and add a README file to help with any potential issues. * sources/Makefile.am: * sources/gtk-sharp-sources.xml: Add the panelapplet-sharp stuff to the build here. 2004-07-06 Todd Berman * sources/gtk_tree_model_signal_fix.patch: duh, this is the real patch. 2004-07-06 Todd Berman * sources/Makefile.am: * sources/gtk_tree_model_signal_fix.patch: a new hacky patch to fix the signal generation on the tree model structs. * */*-api.raw: regen. * glib/Object.cs: merge forward a small patch. 2004-07-06 Todd Berman * Makefile.am: * configure.in: * gtk-sharp-2.0.pc.in: * gtk-sharp.pc.in: * art/.cvsignore: * art/Makefile.am: * art/art-sharp-2.0.pc.in: * art/art-sharp.pc.in: * gconf/GConf/.cvsignore: * gconf/GConf/Makefile.am: * gconf/GConf/gconf-sharp-2.0.pc.in: * gconf/GConf/gconf-sharp.pc.in: * gda/.cvsignore: * gda/Makefile.am: * gda/gda-sharp-2.0.pc.in: * gda/gda-sharp.pc.in: * glade/.cvsignore: * glade/Makefile.am: * glade/glade-sharp-2.0.pc.in: * glade/glade-sharp.pc.in: * gnome/.cvsignore: * gnome/Makefile.am: * gnome/gnome-sharp-2.0.pc.in: * gnome/gnome-sharp.pc.in: * gnomedb/.cvsignore: * gnomedb/Makefile.am: * gnomedb/gnomedb-sharp-2.0.pc.in: * gnomedb/gnomedb-sharp.pc.in: * gnomevfs/.cvsignore: * gnomevfs/gnome-vfs-sharp-2.0.pc.in: * gnomevfs/gnome-vfs-sharp.pc.in: * gtkhtml/.cvsignore: * gtkhtml/Makefile.am: * gtkhtml/gtkhtml-sharp-2.0.pc.in: * gtkhtml/gtkhtml-sharp.pc.in: * rsvg/.cvsignore: * rsvg/Makefile.am: * rsvg/rsvg-sharp-2.0.pc.in: * rsvg/rsvg-sharp.pc.in: * sample/rsvg/Makefile.am: * vte/.cvsignore: * vte/Makefile.am: * vte/vte-sharp-2.0.pc.in: * vte/vte-sharp.pc.in: Make gtk-sharp-2.0 parallel installable with gtk-sharp. Now you can install both and do -pkg:gtk-sharp-2.0 or similar to compile against the gtk-sharp-2.0 assemblies. Basically this change comprised some small configure.in changes to change the $(PACKAGE) to gtk-sharp-2.0, and check for the appropriate versions of the gnome 2.6 based libraries. Also, every .pc file was renamed -2.0.pc to allow for the parallel install, and the .cvsignore and Makefile.am rules were updated to reflect this change. 2004-07-05 John Luke * sample/VteTest.cs: improve the scrolling in the sample and pass on the Environment variables 2004-07-02 Mike Kestner * configure.in : dist the HACKING file from now on. 2004-07-01 Mike Kestner * sample/rsvg/Makefile.am : add an art-sharp /r. 2004-06-30 John Luke * vte/Vte.metadata: remove unneeded metadata and add comments 2004-06-29 Mike Kestner * configure.in : bump version to 1.0 and tag. Woot! 2004-06-25 Mike Kestner * */*.cs : add lgpl license blurb and clean up (c)'s. * */*.custom : add lgpl license blurb and clean up (c)'s. * */glue/*.c : add lgpl license blurb and clean up (c)'s. file adds without license from now on are punishable by wedgie. 2004-06-25 Mike Kestner * generator/*.cs : add gpl license blurb and clean up (c)'s. * parser/* : ditto * doc/*.cs : ditto * doc/gen-handlerargs-docs.cs : add little scripty. 2004-06-25 Mike Kestner * configure.in : tag and bump version to 0.99. 2004-06-23 Todd Berman * doc/*/*.xml: s/GtkSharp.SignalArgs/GLib.SignalArgs/; 2004-06-22 Mike Kestner * configure.in : GLIB check for gobject, not glib. 2004-06-20 Jeroen Zwartepoorte * gdk/Gdk.metadata: Fix merging errors. * gnome/CanvasItem.custom: Idem. * gtk/Widget.custom: Idem. 2004-06-20 Jeroen Zwartepoorte * *: Merge with HEAD. 2004-06-17 Larry Ewing * gdk/Makefile.am (sources): add Pixdata.custom * gdk/Pixdata.custom: add new file to fix Serialize. * gnome/CanvasItem.custom: remove the incorrect custom bindings. * gnome/Gnome.metadata: stop hiding the AffineRelative and AffineAbsolute the generator gets them right they are not out params. * gdk/Gdk.metadata: mark the Pixdata byte stream as and array hide the broken serialize method. 2004-06-18 John Luke * sample/rsvg/Makefile.am: do not reference gnome-sharp and art-sharp * sample/rsvg/svghelloworld.cs: rework with just gtk (no gnome deps) 2004-06-15 Mike Kestner * gtk/Gtk.metadata : hide the button_new_from_stock ctor. * gtk/Button.custom : add a manual ctor implementation. 2004-06-14 Mike Kestner * configure.in : another "really frozen this time" release. * gdk/Gdk.metadata : mark a couple array params on Pixbuf.Savev. * gdk/Pixbuf.custom : add a Save implementation. 2004-06-14 Mike Kestner * configure.in : bump the version to 0.97, tag. 2004-06-12 Todd Berman * glib/ObjectManager.cs: change CreateInstance overload being used to properly pick up protected ctors. 2004-06-11 Todd Berman * gtk/Container.custom: * gtk/CellRenderer.custom: * gnome/CanvasItem.custom: mark Override* private. * doc/en/*/*.xml: update to remove Override* methods. 2004-06-11 Mike Kestner * doc/en/*/*.xml : update to remove Override* methods. * generator/Signal.cs : make the Override* methods private. They should not ever be called manually and it saves about 800 "do not call this method" doc entries. 2004-06-11 Mike Kestner * configure.in : require mono-0.96, bump the version, tag. 2004-06-11 Mike Kestner * configure.in : remove the mint usage for darwin. 2004-06-11 Mike Kestner * 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. 2004-06-10 Mike Kestner * configure.in : break the monodoc dep, even though it was optional it was a pain in the backside. * doc/Makefile.am : add assemble target to build docs using monodoc. we now have two manual targets which use monodoc, but aren't required for the default build (update and assemble). 2004-06-10 Mike Kestner * 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. 2004-06-10 Todd Berman * gtk/Container.custom: add C# glue for virtualizing ChildType () * gtk/glue/container.c: add C glue for virtualizing ChildType () * gtk/Gtk.metadata: hide Container.ChildType () * gtk/Widget.custom: Add ClearFlag, and SetFlag convenience methods. Also add various IsFlag bool properties for checking for flags. * gtk/glue/widget.c: Fix setting flags. * doc/*: updated Widget docs. 2004-06-09 Todd Berman * gdk/Gdk.metadata: mark Window.SetBackPixmap as null_ok. * glib/Object.cs: in set_Raw, if value == IntPtr.Zero, dont put that in the weakref hashtable, as it creates later issues with gtk+ returning null and gtk# mistaking if for an object. 2004-06-08 Mike Kestner * gnomedb/Application.cs : add a missing DllImport. 2004-06-08 Mike Kestner * gdk/Gdk.metadata : mark array param on Drawable.*Image. 2004-06-08 Mike Kestner * gdk/Gdk.metadata : mark array param on Drawable.DrawGrayImage. 2004-06-07 Mike Kestner * */Makefile.am : s|--unsafe|/unsafe to remove a mcs-ism that jluke exposed in his cygwin build patch. 2004-06-07 Jeroen Zwartepoorte * configure.in: Add pango pkg-config check. * pango/Layout.custom: Updated custom code to new opaque LayoutLine. * pango/LayoutLine.custom: Properties for LayoutLine struct fields. * pango/Makefile.am: * pango/Pango.metadata: Make LayoutLine opaque [Fixes #59666]. * pango/glue/.cvsignore: * pango/glue/Makefile.am: * pango/glue/layoutline.c: glue for the LayoutLine struct fields. * pango/glue/makefile.win32: * pango/glue/win32dll.c: 2004-06-07 Todd Berman * gtk/Widget.custom: expose some easy bool properties for checking certain WidgetFlags. Make Allocation a settable property. * gtk/glue/widget.c: bit of glue to make Allocation settable. * gdk/Window.custom: expose UserData as a usable IntPtr property. * gdk/Gdk.metadata: hide old GetUserData/SetUserData methods. * doc/*: ran the updater. 2004-06-07 Jeroen Zwartepoorte * gtk/Widget.custom: Add FocusLineWidth property. * gtk/glue/widget.c: (gtksharp_gtk_widget_set_flags), (gtksharp_gtk_widget_style_get_int): glue for getting an integer style property. 2004-06-07 John Luke * doc/Makefile.am: install the docs if monodoc is there 2004-06-07 Peter Williams * configure.in (MONODOC_REQUIRED_VERSION): Fix missing 'test' in shell if statement. 2004-06-07 Jeroen Zwartepoorte * gtk/Widget.custom: Add the AddAccelerator method back which got removed by accident during the last merge. * sample/CustomNotebook.cs: New sample showing of a custom Notebook. 2004-06-07 Jeroen Zwartepoorte * *: Merge with HEAD. 2004-06-04 Todd Berman * 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. 2004-06-04 Todd Berman * 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. 2004-06-02 Vladimir Vukicevic * gdk/Pixbuf.custom : Pixels prop isn't unsafe 2004-06-02 Mike Kestner * generator/Field.cs : add field hiding, for manual impl. * generator/StructBase.cs : support disable_new, for manual impl. 2004-06-01 Jeroen Zwartepoorte * sample/CustomWidget.cs: remove custom GType stuff. 2004-06-01 Mike Kestner * generator/ObjectGen.cs : generate protected ctor () for all GLib.Objects that don't have any ctors. * gtk/CellRenderer.custom : remove ctor (). * gtkhtml/Gtk.metadata : add a disable_void_ctor rule for HTML. 2004-06-01 Jeroen Zwartepoorte * configure.in: Merge with HEAD again. * gdk/Gdk.metadata: * gnome/CanvasItem.custom: * gtk/Gtk.metadata: * sample/.cvsignore: * sample/CustomWidget.cs: Inherit from Gtk.Bin and make it a better suited sample. 2004-06-01 Mike Kestner * gtk/Gtk.metadata : mark SizeRequest requisition as out, not ref. [Fixes #59388] 2004-06-01 Jeroen Zwartepoorte * sample/CustomWidget.cs: Fixed Widget.SizeRequest usage. Works properly now. 2004-05-31 Mike Kestner * configure.in : Bump version to 0.93 and tag. 2004-05-31 Jeroen Zwartepoorte * gtk/Gtk.metadata: unhide WidgetFlags. * gtk/Widget.custom: add setter for GdkWindow prop. Add Flags prop. * gtk/glue/widget.custom: setter for window, accessors for flags. [Fixes #59337] 2004-05-31 Jeroen Zwartepoorte * gdk/Gdk.metadata: fix member names in WindowClass. [Fixes #59336] 2004-05-31 Jeroen Zwartepoorte * gdk/Gdk.metadata: mark dest rects as out for Intersect and Union. [Fixes #59341] 2004-05-31 Jeroen Zwartepoorte * gtk/Gtk.metadata: Unhide the GtkWidgetFlags enum. * gtk/Makefile.am: Remove WidgetFlags.cs. * gtk/WidgetFlags.cs: Obsolete. 2004-05-31 Jeroen Zwartepoorte * sample/CustomWidget.cs: The Gtk.Requisition is passed by reference in the OnSizeRequested handler. 2004-05-31 Jeroen Zwartepoorte * *: Merge changes from HEAD again. 2004-05-31 Jeroen Zwartepoorte * gtk/Container.custom: Merged fix for Container.Forall handler. * gtk/Makefile.am: Added WidgetFlags.cs. * gtk/Widget.custom: Added Flags property and setter to GdkWindow. * gtk/WidgetFlags.cs: Enumeration of widget flags (from widget.h). * gtk/glue/container.c: (gtksharp_container_invoke_gtk_callback): Fixes for Container.Forall handler. * gtk/glue/widget.c: (gtksharp_gtk_widget_set_window), (gtksharp_gtk_widget_get_state), (gtksharp_gtk_widget_get_flags), (gtksharp_gtk_widget_set_flags): Added new API which is needed to write custom gtk widgets. * parser/gapi_pp.pl: Match #if !defined (*_DISABLE_DEPRECATED) properly. * sample/CustomWidget.cs: new sample for creating a custom Gtk widget. * sample/Makefile.am: Added CustomWidget.cs sample. 2004-05-29 Mike Kestner * gnome/CanvasItem.custom : for OnUpdate, Art.SVP can be NULL so treat it as an IntPtr with Zero checks and manual marshaling. 2004-05-28 Vladimir Vukicevic * gtk/CellRenderer.custom: fix GetSize_cb, cell_area can be NULL coming from Gtk (so can't use ref Gdk.Rectangle, have to use IntPtr) 2004-05-28 Miguel de Icaza * Added System.Drawing samples. 2004-05-28 Mike Kestner * configure.in : bump for next version, tagged 0.92. 2004-05-28 Vladimir Vukicevic * generator/ObjectGen.cs : adjust to ObjectManager ns change. * glib/ManagedValue.cs : move to GLib and internalize. * glib/Object.cs : adjust to ObjectManager ns change. * glib/ObjectManager.cs : move to GLib. * glib/TypeConverter.cs : move to GLib. return ManagedValue.GType when we can't match a type instead of GType.None. * gtk/*.custom: adjust for new TypeConverter ns and behavior. 2004-05-28 Mike Kestner * gtk/Makefile.am : add new custom. * gtk/Settings.custom: add props for unparsed API. 2004-05-27 Mike Kestner * glib/Object.cs: mark GType property public. 2004-05-27 Jeroen Zwartepoorte * gtk/Gtk.metadata: Hide the GtkCtree class (old gtk+ 1.x junk). 2004-05-26 Mike Kestner * gtkhtml/Gtk.metadata : hide Gtk.HTML the ctors. * gtkhtml/HTML.custom : new manual impl for ctors. * gtkhtml/Makefile.am : add new custom [Fixes #59148] 2004-05-25 Jeroen Zwartepoorte * gnome/Gnome.metadata: Don't hide the GtkEntry and GnomeEntry properties. * gtk/Accel.custom: Add custom methods for backwards compatibility of the gtk_accel_map_* methods. [Fixes #58954] 2004-05-25 Dan Winship * gtk/Gtk.metadata : mark a ref param in SizeRequested 2004-05-25 Mike Kestner * */Makefile.am : rm generated/* in generated-stamp target. 2004-05-25 Mike Kestner * configure.in : don't expand the GAPI Makefile. * parser/Makefile.am : remove SUBDIRS. * parser/gapi2xml.pl : remove GAPI::Metadata usage. * parser/GAPI/* : kill. long live gapi-fixup. 2004-05-25 Mike Kestner * gtk/Container.custom : use glue to invoke the GtkCallback in Forall. * gtk/glue/container.c : add gtksharp_container_invoke_gtk_callback. 2004-05-23 Mike Kestner * generator/SignalHandler.cs : put back the ObjectGen hack for param wrapping. [Fixes #58876] 2004-05-23 Jeroen Zwartepoorte * atk/atk-api.xml: Removed. * gdk/gdk-api.xml: Idem. * glade/glade-api.xml: Idem. * gnome/IconTheme.cs: s/GLibSharp/GLib/ * gnome/gnome-api.xml: Removed. * gtk/Adjustment.custom: Obsolete custom property code. * gtk/glue/adjustment.c: (gtksharp_gtk_adjustment_set_bounds): Idem. * gtk/gtk-api.xml: Removed. * pango/pango-api.xml: Idem. 2004-05-23 Jeroen Zwartepoorte Merge changes from HEAD since yesterday. 2004-05-22 Mike Kestner * configure.in : require mono-0.91.99. Sorry, but we need to require mono cvs until beta2 because of some recent breakage in Gnome.Program custom code while reflecting against the runtime. 2004-05-22 Todd Berman * gnome/Program.custom: Change the Mono.Runtime stuff to reflect its new internal nature. This fixes MD, gnunit, and all gnome# programs that were blowing up for no reason. 2004-05-23 Jeroen Zwartepoorte * *: Merge changes from HEAD again. 2004-05-22 Radek Doulik * gtk/TreeView.custom(GetPathAtPos): change Gtk.TreeViewColumn column parameter to out[put] as gtk_tree_view_get_path_at_pos returns column address to column parameter (GetPathAtPos): use GLib.Object.GetObject so that we don't create new TreeViewColumn object duplicates 2004-05-19 Mike Kestner * gtk/Container.custom : add CallbackInvoke and use it in OnForall. 2004-05-19 Mike Kestner * generator/Makefile.am : add TimeTGen.cs * generator/SymbolTable.cs : use new TimeTGen. * generator/StringGen.cs : s/GLibSharp/GLib * generator/TimeTGen.cs : generatable to marshal time_t. * glib/time_t_CustomMarshaler.cs : kill * glib/Makefile.am : remove time_t_CustomMarshaler.cs * glib/Markup.cs : s/GLibSharp/GLib * glib/Marshaller.cs : move to GLib namespace. Add methods to marshal time_t to and from DateTime. * glib/glue/time_t.c : kill * glib/glue/Makefile.am : remove time_t.c * glib/glue/makefile.win32 : remove time_t.o * gnome/*.custom : use GLib.Marshaller instead of the time_t custom marshaler. * gtk/*.custom : s/GLibSharp/GLib 2004-05-18 Zoltan Varga * glib/time_t_CustomMarshaler.cs: Fix custom marshalling after runtime changes. 2004-05-18 Vladimir Vukicevic * gdk/Pixbuf.custom: Changed Pixbuf.Pixels to return an IntPtr instead of a byte * -- anyone who needs a byte * can do the cast in an unsafe context already. 2004-05-18 Todd Berman * samples/Scribble.cs: Im bored, you can erase, etc 2004-05-18 Mike Kestner * glib/MissingIntPtrCtorException.cs : new exception to throw if unable to access an IntPtr ctor on a GLib.Object subclass. We need an IntPtr ctor to be able to wrap arbitrary object handles. * glib/Object.cs : have NativeType call LookupGType. * glib/ObjectManager.cs : throw the new exception in a try/catch. 2004-05-17 Mike Kestner * generator/ObjectGen.cs : Generate a .cctor that calls the assembly's ObjectManager.Initialize method if the class will need to be registered with GLib.ObjectManager. Enhance the Initialize method to allow multiple invocations. 2004-05-17 Mike Kestner * 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. 2004-05-14 Todd Berman * 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. 2004-05-13 Todd Berman * *.pc.in: add .dll to the end of the Libs: references, and convert them to be absolute paths. 2004-05-11 Mike Kestner * *.pc.in : add Requires so that dependent libs are pulled in too. 2004-05-11 Mike Kestner * gconf/GConf/NotifyWrapper.cs : add some defensive null checking. [fixes #57902] 2004-05-11 Mike Kestner * gtk/SelectionData.custom : add a Set overload without length param. 2004-05-10 Mike Kestner * gtk/Gtk.metadata : mark some Dialog API params as ResponseType instead of int. [fixes #58240] 2004-05-10 Mike Kestner * glib/Value.cs : fix GBoxed GLib.Value setting. [fixes #58229] 2004-05-10 Mike Kestner * gtk/Gtk.metadata : change return-type on Global.EventsPending to a bool to avoid compat problems in 2.4. Also rename to GetEventsPending so that it's generated as a property. [fixes #58292] 2004-05-10 Mike Kestner * gtk/Gtk.metadata : hide some ctors and map some prop names. * gtk/Makefile.am : add new customs. * gtk/ItemFactory.custom : implement ctor for subclassing. * gtk/Plug.custom : implement ctors for subclassing. 2004-05-09 Jeroen Zwartepoorte * gdk/Gdk.metadata: Misc fixes for getting Muine to build & run. * gtk/FileSelection.custom: Add this back. * gtk/Gtk.metadata: Misc fixes for getting Muine to build & run. 2004-05-08 Jeroen Zwartepoorte * gconf/GConf.PropertyEditors/Makefile.am: Reinclude the OptionMenu property editor. * gdk/Gdk.metadata: * gdk/Pixbuf.custom: Add backwards compatible implementations of GetFromDrawable, RenderPixmapAndMask and a couple of others which are now static in gtk+ 2.4. These methods have the same API as the ones generate for gtk+ 2.2. * gdk/gdk-api.raw: * generator/ClassBase.cs: Generate an [Obsolete] tag for deprecated code. * generator/ClassGen.cs: Idem. * generator/Method.cs: Idem. * generator/ObjectGen.cs: Idem. * gnome/Gnome.metadata: * gnome/IconData.cs: * gnome/IconTheme.cs: GnomeIconTheme inherits directly from GtkIconTheme in libgnomeui-2.6. This breaks the parser, so it won't generate the proper code. This is a manual class implementation for backward compatibility with gtk+ 2.2 version of gtk#. * gnome/IconTheme.custom: Removed * gnome/Makefile.am: * gnome/gnome-api.raw: * gtk/Gtk.metadata: * gtk/IconTheme.custom: Added custom methods previously found in ../gnome/IconTheme.custom. * gtk/gtk-api.raw: * pango/pango-api.raw: * parser/gapi2xml.pl: Check for "deprecated" prefixes and add a deprecated attribute to the appropriate elements when found. * parser/gapi_pp.pl: Prefix everything that's in a #ifndef *_DISABLE_DEPRECATED block with "deprecated". * sample/GtkDemo/DemoMain.cs: s/File/System.IO.File/ since there's now also a Gtk.File class. * sample/GtkDemo/DemoSizeGroup.cs: Use the original OptioMenu code. * sample/GtkDemo/DemoTextView.cs: s/File/System.IO.File/. * sample/Makefile.am: * sources/gtk-sharp-sources.xml: Add a bunch of s to the Gtk namespace so it won't generate API for _really_ old deprecated widgets like GtkCList, GtkCTree etc. This commit adds support for deprecated widgets to gtk#. This is necessary since some widgets have been deprecated from gtk+ 2.2->2.4, but are still in use (any program that uses Gtk.OptionMenu, Gtk.Combo and methods in Gtk.Toolbar to name a few). This is done in C# by using the [Obsolete] metadata tag. 2004-05-07 Todd Berman * gnome/Makefile.am: add DruidPageEdge.custom * gnome/Gnome.metadata: hide DruidPageEdge ctors * gnome/DruidPageEdge.custom: subclassable ctors. 2004-05-07 Todd Berman * gnome/IconList.custom: subclassable ctor. * gnome/Gnome.metadata: hide IconList ctor. 2004-05-07 Mike Kestner * gnome/Canvas.custom : PixelsPerUnit prop. * gnome/Gnome.metadata : hide Canvas.SetPixelsPerUnit. * gnome/glue/Makefile.am : get_pixels_per_unit. * gnome/glue/canvas.c : get_pixels_per_unit. * gtk/Container.custom : OnForall virtual method impl. * gtk/glue/Makefile.am : add container.c * gtk/glue/container.c : virtual method glue for forall. * gtk/glue/makefile.win32 : add container.o 2004-05-07 Todd Berman * gnome/Gnome.metadata: map properties for with_flags DateEdit ctor, and hide the DateTime, bool, bool ctor * gnome/Makefile.am: Add DateEdit.custom. * gnome/DateEdit.custom: Add subclassable ctor for DateEdit and add enough overloads that accept variable parameter lists to make Mike Kestner sick. 2004-05-07 Todd Berman * gnome/Gnome.metadata: Hide App ctor. * gnome/Makefile.am: add App.custom. * gnome/App.custom: New custom for subclassing. 2004-05-07 Todd Berman * gnome/Gnome.metadata: Hide Scores ctor. * gnome/Makefile.am: add Scores.custom. * gnome/Scores.custom: New custom for overridable ctor. 2004-05-07 Mike Kestner * gtk/Gtk.metadata : map some RadioButton ctor props. 2004-05-07 Mike Kestner * gnome/Druid.custom : fix Todd's broken code. 2004-05-07 Mike Kestner * gtk/Gtk.metadata : hide TextView with_buffer ctor. map some parms to props. * gtk/Makefile.am : add new custom. * gtk/TextView.custom : implement with_buffer ctor for subclassing. 2004-05-07 Todd Berman * gnome/Gnome.metadata: Hide Druid with_window ctor, map About property. add some null_ok from bug #57948. * gnome/Druid.custom: implement with_window ctor for subclassing, and a 3 paramatered version for when you dont care about the returned window. another 3 parametered version for when you have want null parent, and a 2 parametered version for the null parent and the discarding of the window (THANKS MIKE!) * gnome/Makefile.am: add new custom. 2004-05-07 Mike Kestner * gtk/TreeView.custom : make the NodeStore ctor subclassable. 2004-05-07 Mike Kestner * gtk/Gtk.metadata : hide SpinButton with_range ctor. * gtk/Makefile.am : add new custom. * gtk/SpinButton.custom : implement with_range ctor for subclassing. 2004-05-07 Mike Kestner * gtk/Gtk.metadata : hide ListStore and TreeStore newv ctors. * gtk/ListStore.custom : rework the ctors for subclassing. * gtk/TreeStore.custom : rework the ctors for subclassing. 2004-05-07 Mike Kestner * gtk/Gtk.metadata : hide HScale and VScale with_range ctors. * gtk/Makefile.am : add new customs. * gtk/HScale.custom : implement with_range ctor for subclassing. * gtk/VScale.custom : implement with_range ctor for subclassing. 2004-05-07 Mike Kestner * gtk/Gtk.metadata : map AccelLabel ctor parm to prop and hide Adjustment ctor. * gtk/Adjustment.custom : add set accessors for Upper/Lower and implement ctor with subclassing. * gtk/CheckMenuItem.custom : return from subclass branch. * gtk/ImageMenuItem.custom : return from subclass branch. * gtk/MenuItem.custom : return from subclass branch. * gtk/RadioMenuItem.custom : return from subclass branch. * gtk/glue/adjustment.c : add setters for lower/upper. 2004-05-07 Mike Kestner * gtk/Gtk.metadata : hide some *MenuItem ctors. * gtk/CheckMenuItem.custom : implement string ctor. * gtk/ImageMenuItem.custom : implement string ctor. * gtk/MenuItem.custom : use AccelLabel. * gtk/RadioMenuItem.custom : fix string ctor for subclassing. * gtk/Makefile.am : add new customs. 2004-05-07 Mike Kestner * gtk/Gtk.metadata : hide some MenuItem ctors. * gtk/Makefile.am : add the new custom. * gtk/MenuItem.custom : implement the string ctor. 2004-05-07 Mike Kestner * 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. 2004-05-07 Mike Kestner * sample/*/Makefile.am : rebuild if the assemblies change 2004-05-07 Mike Kestner [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. 2004-05-06 Mike Kestner * gdk/Gdk.metadata : some out and array magic for Property.Get. [Fixes #56513] 2004-05-06 Jeroen Zwartepoorte * generator/Method.cs: Don't use the "unsafe" modifier for methods which are part of an interface [fixes #58059]. 2004-05-06 Mike Kestner * configure.in : bump version for cvs. 2004-05-06 Jeroen Zwartepoorte * Makefile.in: * configure.in: * gconf/GConf.PropertyEditors/Makefile.in: * glade/Makefile.in: * gnomevfs/.cvsignore: * gnomevfs/AssemblyInfo.cs.in: * gnomevfs/Makefile.am: * gnomevfs/Makefile.in: * gnomevfs/gnome-vfs-sharp.dll.config.in: * gnomevfs/gnome-vfs-sharp.pc.in: * sample/Actions.cs: Remove System.Drawing.Size usage. * sample/Makefile.am: Added actions.exe. * sample/Makefile.in: Remove obsolete Makefile.in files from the repository. Auto*ify the gnomevfs assembly. 2004-05-06 Jeroen Zwartepoorte Merge changes from HEAD to the jeroen-gtk-2-4 branch. The correct gnome 2.6.0 & gtk+-2.4.1 sources are now also downloaded when you run "make get-source-code". Some samples are disabled for now since they use deprecated API and fail to build. 2004-05-05 Mike Kestner * generator/BoxedGen.cs : remove g_value_init DllImport and change (g|s)et_boxed to use a glue method to simplify dllmapping. * glib/Value.cs : add Init method. * glib/glue/value.cs : add get/set_boxed glue methods. * */*.config.in : remove libgobject mappings for dlls that no longer need them. 2004-05-05 Larry Ewing * gtk/Adjustment.custom: add an a set method for StepIncrement. * gtk/glue/adjustment.c: add gtk_adjustment_set_step_increment. 2004-05-05 Mike Kestner * generator/Signal.cs : rmv Handle param to SignalCallback ctor calls. s/GtkSharp.Signal*/GLib.Signal*. * generator/SignalHandler.cs : rmv Handle param to ctors as it's redundant. s/GtkSharp.Signal*/GLib.Signal*. Use new Connect/Disconnect instead of generating DllImports into libgobject directly. * glib/SignalArgs.cs : move the the GLib namespace. * glib/SignalCallback.cs : expose Connect and Disconnect methods to hide some pinvokes that were previously generated. Also move to the GLib namespace. gnome/*Handler.cs : update to new SignalHandler API. gnome/CanvasProxy.cs : ditto gnome/void*Signal.cs : ditto 2004-05-05 Mike Kestner * sample/gconf/Makefile.am : fix some whitespace. I love you, auto*. 2004-05-05 Mike Kestner * configure.in : fix gtkhtml versioning *again*. * sample/gconf/Makefile.am : conditional build on ENABLE_GNOME. 2004-05-04 Mike Kestner * configure.in : require gtkhtml-3.0.10 so we can use a single so version (.4). * sources/* : update to gtkhtml-3.0.10. This produces zero change in the generated API. 2004-05-03 Todd Berman * */*.pc.in: change to use @PACKAGE@ where its needed, fixes pc bug 2004-05-03 Todd Berman * configure.in: bump mono dep to 0.90 2004-05-03 Todd Berman * configure.in: bump to 0.91, dont kill me mike. 2004-05-03 Todd Berman * gtk-sharp.pc.in: add PACKAGE stuff here 2004-05-03 Mike Kestner * */Makefile.am : fix gacutil for new package switch * */*.pc.in : fix -libs var for new dll path 2004-05-03 Mike Kestner * configure.in : add some checks for gtkhtml-3.1 and use it if avail. * gtkhtml/gtkhtml-sharp.dll.config.in : deal with 3.1 versioning. 2004-05-03 Miguel de Icaza * gtkhtml/Gtk.metadata: Patch from Mike Kestner: make GtkHTMLStream opaque, to fix a bug that was found by running Monodoc on MacOS X. We were passing a pointer to a managed object, instead of a pointer to a HTMLStream-allocated object. * HTMLStream.custom: Update custom file to reflect change to Opaque: use Handle instead of this. 2004-04-30 Mike Kestner * gdk/glue/makefile.win32 : remove windowmanager.o for now. It was breaking the build on win32. 2004-04-30 Mike Kestner * configure.in : lookup gacutil and error out if not found. * */Makefile.am : add install-data-local and uninstall-local targets for GAC installation. Add gtk-sharp.pub target to cp the key in for distcheck. * */AssemblyInfo.cs.in : remove ../ from key path for VPATH build. 2004-04-30 Mike Kestner * configure.in : remove BASE_DEPENDENCIES LIBS and CFLAGS and expose more specific versions for glue building. * */glue/Makefile.am : use more specific versions of LIBS and CFLAGS to reduce the ldd footprint. 2004-04-30 Mike Kestner * configure.in : AC_SUBST an API_VERSION=1.0.0.0 for the AssemblyVersionAttributes. * */AssemblyInfo.cs.in : s/@VERSION@/@API_VERSION@/ 2004-04-30 Mike Kestner * */AssemblyInfo.cs.in : s/@VERSION@.0.0/@VERSION@/ 2004-04-30 Mike Kestner * sample/gconf/* : break System.Drawing dependency. 2004-04-30 Owen Fraser-Green * gconf/tools/gconfsharp-schemagen.in : fixed variables * sources/Makefile.am : remove reference to old gst target 2004-04-30 Erik Dasque * gtk/Calendar.custom : new Date property with setter 2004-04-29 Mike Kestner * mapdllnames.pl : remove unneccessary script 2004-04-29 Mike Kestner * gst/* : kill. it's been spun out the the gst-sharp module. * sources/Makefile.am : remove gst source download target. * sources/gtk-sharp-sources.xml : remove gst nodes. 2004-04-29 Mike Kestner * configure.in : expand the AssemblyInfo.cs files. * */AssemblyInfo.cs.in : new assembly info files. * */Makefile.am : dist, make, and clean assmbly info files. 2004-04-29 Owen Fraser-Green * generator/ClassBase.cs: added base case to Parent to avoid infinite recursion. * glib/Marshaller.cs: changed SizeOf(typeof's to int and long instead of string. 2004-04-29 Duncan Mak * vte/vte-sharp.dll.config.in: Removed extra element. 2004-04-29 Owen Fraser-Green * gnome/CanvasGroup.custom : added public constructor. 2004-04-29 Mike Kestner * configure.in : expand the new config files. * */*config.in : the per-assembly config files. * */Makefile.am : dist, clean, and install the configs. * gnome/*.c* : fix some errant DllImports. 2004-04-28 Mike Kestner [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] 2004-04-28 Mike Kestner * gtk/Gtk.metadata : mark ListStore.Remove iter pass_as=ref. [Fixes #56945] 2004-04-28 Mike Kestner * Makefile.am : dist the public signing key baulig just added. 2004-04-27 Mike Kestner * gnome/glue/canvaspoints.c : remove some g_prints spotted by Jorge Garcia. 2004-04-16 Rachel Hestilow * generator/GObjectGen.cs: Added new generatable to handle plain GObjects the same way we do subclasses. * generator/ManualGen.cs: Make FromNative/FromNativeReturn virtual to allow overriding. * generator/SymbolTable.cs: Use GObjectGen instead of ManualGen for GObject. * generator/Makefile.am: Add GObjectGen.cs. 2004-04-16 Boyd Timothy * gdk/Global.custom : properties to expose window manager spec properties. * gdk/glue/windowmanager.c : glue to retrieve window manager props using gdk_property_get. * gdk/glue/Makefile.am : add new file. * gdk/glue/makefile.win32 : add new file. 2004-04-13 Mike Kestner * glib/Value.cs : fix a csc-breaker. 2004-04-12 Mike Kestner * gnome/Program.custom : add ArgumentException for app_id containing spaces. [fixes #56594] 2004-04-12 Mike Kestner [Rework of a patch from Ben Maurer to turn GLib.Value into a valuetype.] * generator/BoxedGen.cs : fix operators for new valuetype GValues. * generator/ByRefGen.cs : new generatable for byref value types. * generator/Makefile.am : add ByRefGen.cs. * generator/MethodBody.cs : remove GValue special casing. * generator/Property.cs : rework value handling. * generator/Signal.cs : fix base virtual method value passing. * generator/SymbolTable.cs : map GValue to ByRefGen. * glib/Object.cs : rework GetProperty and SetProperty. * glib/Value.cs : make it a value type. * glib/ValueArray.cs : fix GValue passing. * glib/glue/value.c : rework for valuetype GValues. * gnome/Program.custom : fix GValue passing * gtk/Gtk.metadata : make TreeModel.GetValue value param pass_as=ref. * gtk/ListStore.custom : fix GValue passing * gtk/NodeStore.cs : fix GValue passing * gtk/TextTag.custom : fix GValue passing * gtk/TreeModelSort.custom : fix GValue passing * gtk/TreeStore.custom : fix GValue passing 2004-04-05 Larry Ewing * gnome/Gnome.metadata: Make data an array type so that the image functions can be used. * gnome/Print.custom: add a custom handler to print Pixbufs. * gnome/Makefile.am: add Print.custom. 2004-04-07 Mike Kestner * generator/ClassBase.cs : remove default ctor generation and hasDefaultConstructor field. * generator/Ctor.cs : chain to base (IntPtr.Zero). * generator/StructBase.cs : remove hasDefaultConstructor usage. * glib/Object.cs : remove Object () ctor. Add Ben's GetGType method, although nothing uses it yet. Still working on integrating the remainder of Ben's patch. * gtk/Gtk.metadata : remove all the disabledefaultctor rules. * */*.custom : add base (IntPtr.Zero) or this (...) chaining for all ctors. 2004-04-07 John Luke * gtk/Gtk.metadata: mark Gtk.Widget.ModifyFont font_desc null_ok 2004-04-07 Gonzalo Paniagua Javier * glib/Value.cs: added StructLayout attribute as requested by the runtime. Now --aot works again. 2004-04-04 Mike Kestner * generator/SymbolTable.cs : don't use StringGen for gunichar. * glib/glue/unichar.c : glue to fetch a gunichar as a utf8 string. * glib/glue/Makefile.am : add unichar.c * glib/glue/makefile.win32 : add unichar.c * gtk/Gtk.metadata : hide TextIter.GetChar * gtk/TextIter.custom : manually impl Char prop. [fixes #53425] 2004-04-04 Mike Kestner * pango/Layout.custom : increment an indexer. thanks to Moritz Balz for the bug report and candidate patch. 2004-04-04 Mike Kestner * generator/BoxedGen.cs : DllImport glibsharpglue for value_create. 2004-04-04 Mike Kestner * gnome/glue/canvasitem.c : add glue to override VMs. * gnome/CanvasItem.cs : expose virtual methods for update, point, realize, draw, and render. 2004-04-04 John Luke * vte/Vte.metadata: mark argv and envv parameters to Vte.Terminal.ForkCommand as arrays, it finally works * sample/Vte-test.cs: adjust for above 2004-04-02 Todd Berman * gtk/Gtk.metadata: fix Gtk.SelectionData.Set. 2004-04-02 Todd Berman * configure.in: added new .pc files * gtk-sharp.pc.in: modified to include Libs: line * art/.cvsignore: added art-sharp.pc * art/Makefile.am: added rules for installing .pc * art/art-sharp.pc.in: new .pc file * gconf/GConf/.cvsignore: added gconf-sharp.pc * gconf/GConf/Makefile.am: added rules for installing .pc * gconf/GConf/gconf-sharp.pc.in: new .pc file * gda/.cvsignore: added gda-sharp.pc * gda/Makefile.am: added rules for installing .pc * gda/gda-sharp.pc.in: new .pc file * glade/.cvsignore: added glade-sharp.pc * glade/Makefile.am: added rules for installing .pc * glade/glade-sharp.pc.in: new .pc file * gnome/.cvsignore: added gnome-sharp.pc * gnome/Makefile.am: added rules for installing .pc * gnome/gnome-sharp.pc.in: new .pc file * gnomedb/.cvsignore: added gnomedb-sharp.pc * gnomedb/Makefile.am: added rules for installing .pc * gnomedb/gnomedb-sharp.pc.in: new .pc file * gtkhtml/.cvsignore: added gtkhtml-sharp.pc * gtkhtml/Makefile.am: added rules for installing .pc * gtkhtml/gtkhtml-sharp.pc.in: new .pc file * rsvg/.cvsignore: added rsvg-sharp.pc * rsvg/Makefile.am: added rules for installing .pc * rsvg/rsvg-sharp.pc.in: new .pc file * vte/.cvsignore: added vte-sharp.pc * vte/Makefile.am: added rules for installing .pc * vte/vte-sharp.pc.in: new .pc file 2004-04-01 Mike Kestner * art/Art.metadata : mark dst pass_as=out on Affine.Point 2004-04-01 Jorn Baayen * gtk/Style.custom : wrappers for Text[] and Base[] * gtk/glue/style.c : glue to access text[] and base[] [fixes #54805] 2004-04-01 Jeroen Zwartepoorte * gnome/IconTheme.custom : GetSearchPath impl [fixes #51599]. 2004-04-01 Joshua Tauberer * gdk/Gdk.metadata : hide Region.GetRectangles * gdk/Region.custom : implement Rectangles prop [fixes #55811] 2004-04-01 Mike Kestner * glib/Value.cs : NULL check for g_value_get_string Thanks to Jeroen Zwartepoorte for the bug report with patch [fixes #54979]. 2004-03-31 Miguel de Icaza * configure.in: If monodoc is not found, then turn off enable_monodoc, so the value is properly propagated. 2004-03-31 Mike Kestner * configure.in : tagged for 0.18 and bumped release to 0.18.99 for cvs. 2004-03-31 Mike Kestner * configure.in : remove atk/glue/Makefile * atk/Makefile.am : comment out subdirs for now * atk/makefile.win32 : don't build glue * */glue/Makefile.am : remove generated.c from sources * */glue/makefile.win32 : remove generated.c from sources * generator/ObjectGen.cs : disable vm glue generation for now. 2004-03-30 John Luke [Reworked a bit by MK] * Makefile.am : add doc dir * configure.in : test for monodoc, expand doc/Makefile * doc/Makefile.am : build and dist docs * doc/makefile : kill 2004-03-30 Mike Kestner * gtk/Makefile.am : add the customs that miggie didn't add. 2004-03-30 Mike Kestner * rsvg/Makefile.am : apply metadata to api * rsvg/Rsvg.metadata : mark an array param 2004-03-29 Todd Berman * sample/Makefile.am: small resource build fix for glade-test.exe 2004-03-27 Jeroen Zwartepoorte * gnomevfs/Mime.cs: * gnomevfs/MimeActionType.cs: * gnomevfs/Vfs.cs: Implemented more gnome-vfs methods. 2004-03-25 Mike Kestner * gtk/Gtk.metadata : Widget.Events is a Gdk.EventMask, not int * sample/GtkDemo/DemoDrawingArea.cs : remove int casts * sample/Scribble.cs : remove int casts 2003-03-24 John Luke * samples/gconf/Makefile.am: changes SOURCES to FILES to make automake 1.8 happy 2003-03-24 Jorn Baayen * gtk/Gtk.metadata : mark null_ok param on Window.SetTransientFor. 2003-03-24 Jorn Baayen * gdk/Gdk.metadata : mark out param on Screen.GetMonitorGeometry. 2004-03-22 Mike Kestner * gtk/Window.custom : bring back the DefaultSize prop as a Gdk.Size. 2004-03-21 Gonzalo Paniagua Javier * configure.in: if no C# compiler found, error out. 2004-03-18 Mike Kestner * gdk/Makefile.am : generate glue * gdk/glue/Makefile.am : build generated glue * gdk/glue/makefile.win32 : build generated glue * gdk/glue/vmglueheaders.h : includes for vm glue * gtk/Makefile.am : generate glue * gtk/glue/Makefile.am : build generated glue * gtk/glue/makefile.win32 : build generated glue * gtk/glue/vmglueheaders.h : includes for vm glue 2004-03-18 Mike Kestner * configure.in : expand atk/glue/Makefile * atk/Makefile.am : generate glue and build glue dir * atk/makefile.win32 : ditto * atk/glue/Makefile.am : build new glue * atk/glue/makefile.win32 : build new glue * atk/glue/vmglueheaders.h : new includes for vm glue * atk/glue/win32dll.c : win dll building code * generator/CodeGenerator.cs : add --gluelib-name and --glue-filename argument parsing. * generator/GenerationInfo.cs : add GluelibName, GlueFilename, GlueEnabled, GlueWriter, and CloseGlueWriter. * generator/ObjectGen.cs : Add VirtualMethod glue generation * generator/Statistics.cs : Add warning message for virtual method throttling. 2004-03-18 Mike Kestner * parser/gapi2xml.pl : fix passbyvalue bug in vm parsing. * */*.raw : regen 2004-03-17 Mike Kestner * sample/rsvg/Makefile.am : make conditional on ENABLE_RSVG 2004-03-16 Mike Kestner * generator/Signal.cs : streamline the remove code a tad. 2004-03-16 Mike Kestner * gdk/Makefile.am : add new file. * gdk/Size.cs : implementation of a Size value type. 2004-03-16 Mike Kestner * generator/Signal.cs : remove a C.WL. 2004-03-16 Mike Kestner * generator/ObjectGen.cs : don't gen a Signals hash per class. * generator/Signal.cs : gen checks for [ConnectBefore]. * generator/SignalHandler.cs : add connect_flags param to ctor. * glib/ConnectBeforeAttribute.cs : new attr * glib/Makefile.am : add new file * glib/Object.cs : add before/after hashes and EventLists * gnome/CanvasProxy.cs : use AfterSignals and AfterHandlers. 2004-03-14 John Luke * parser/gapi-fixup.in: * generator/gapi-codegen.in: s/@MONO@/@RUNTIME@ 2004-03-14 Jeroen Zwartepoorte * Makefile.in: * configure.in: * gnomevfs/AsyncCallback.cs: * gnomevfs/AsyncCallbackNative.cs: * gnomevfs/AsyncReadCallback.cs: * gnomevfs/AsyncReadCallbackNative.cs: * gnomevfs/AsyncWriteCallback.cs: * gnomevfs/AsyncWriteCallbackNative.cs: * gnomevfs/Handle.cs: * gnomevfs/Makefile.in: * gnomevfs/OpenMode.cs: * gnomevfs/Result.cs: * gnomevfs/SeekPosition.cs: * gnomevfs/Vfs.cs: * sample/Makefile.in: * sample/TestVfs.cs: Added partial gnome-vfs bindings. Necessary now that can Gtk.FileChooser return gnome-vfs uris. 2004-03-12 Mike Kestner * */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. 2004-03-08 Mike Kestner * generator/ObjectGen.cs : ignore virtual_method elems for now. * parser/gapi2xml.pl : parse the non-signal class methods and add as virtual_method elements in the API xml * */*-api.xml : regen 2004-03-06 Gonzalo Paniagua Javier * glue/Makefile.am: * glue/makefile.win32: * glue/thread-notify.c: dropped. * gtk/ThreadNotify.cs: use just Idle.Add, which is what the deprecated gda_input_add does. No more P/Invoke here. 2004-03-04 Gonzalo Paniagua Javier * glue/Makefile.am: * glue/makefile.win32: added thread-notify.o * glue/thread-notify.c: handles pipe creation/read/write/close for ThreadNotify. * gtk/ThreadNotify.cs: P/Invoke the thread-notify code instead of libc functions. 2004-02-29 Jeroen Zwartepoorte * gtk/FileChooserDialog.custom: Implement the gtk_file_chooser_dialog_new constructor by hand. 2004-02-28 Jeroen Zwartepoorte * gtk/Gtk.metadata: Rename some AddAction* methods to just Add*. 2004-02-28 Jeroen Zwartepoorte * glib/Value.cs: Work around a GLib.Value having a null string (#54979). * sample/Actions.cs: Updated. * sample/Makefile.in: Added the action sample. 2004-02-28 Jeroen Zwartepoorte * gdk/gdk-api.xml: Updated to latest CVS. * gnome/gnome-api.xml: Idem. * gtk/gtk-api.xml: Idem. * pango/pango-api.xml: Idem. * sample/Makefile.in: Don't build the gconf sample for now. 2004-02-28 Jeroen Zwartepoorte * gnome/PrintContext.custom: Added gnome_print_context_* methods. * gtk/gtk-api.xml: Hide GtkActionEntry C-specific struct and methods. * sample/Actions.cs: Updated. * sample/Makefile.in: Reinclude print sample. * sample/PrintSample.cs: Updated. * sample/TestDnd.cs: Updated. 2004-02-26 Mike Kestner * configure.in : tagged 0.17 and bumped cvs version. 2004-02-26 Mike Kestner * atk/Atk.metadata : hide some funky api * atk/atk-api.xml : regen 2004-02-26 Mike Kestner * gnome/GtkSharp.* : move to Gnome namespace * gnome/CanvasProxy.cs : update event handler namespaces * gnome/voidObject*.cs : internalize 2004-02-24 Mike Kestner * pango/AttrIterator.custom : manually implement SList method. * pango/GlyphItem.custom : manually implement SList method. * pango/Layout.custom : manually implement SList method. * pango/Pango.metadata : hide some SList methods. * pango/pango-api.xml : regen. 2004-02-23 Mike Kestner * pango/Pango.metadata : mark some out params on Layout. * pango/pango-api.xml : regen [fixes #54720] 2004-02-23 Thiago Milczarek Sayão * gtk/TextBuffer.custom : add TextIter parm to InsertWithTags method. 2004-02-21 Mike Kestner * pango/Pango.metadata : mark some out params on Layout. * pango/pango-api.xml : regen [fixes #54696] 2004-02-21 Mike Kestner * pango/Pango.metadata : mark some out params on ParseMarkup. * pango/pango-api.xml : regen [fixes #54695] 2004-02-20 Mike Kestner * gdk/Gdk.metadata : hide NoExpose, Client, Setting, WindowState, and Proximity events. * gdk/EventClient.cs : glue-based manual implementation. * gdk/EventClient.custom : kill * gdk/EventNoExpose.custom : kill * gdk/EventProximity.cs : glue-based manual implementation. * gdk/EventProximity.custom : kill * gdk/EventSetting.cs : glue-based manual implementation. * gdk/EventSetting.custom : kill * gdk/EventWindowState.cs : glue-based manual implementation. * gdk/EventWindowState.custom : kill * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mappings. * glue/event.cs : expose event struct fields. * gtk/Application.cs : simplify CurrentEvent prop. 2004-02-20 Mike Kestner * gdk/Gdk.metadata : hide Property, Selection, and DND events * gdk/EventDND.cs : glue-based manual implementation. * gdk/EventDND.custom : kill * gdk/EventProperty.cs : glue-based manual implementation. * gdk/EventProperty.custom : kill * gdk/EventSelection.cs : glue-based manual implementation. * gdk/EventSelection.custom : kill * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mappings. * glue/event.cs : expose DND, Property and Selection struct fields. 2004-02-19 Thiago Milczarek Sayão * gtk/TextBuffer.custom : new InsertWithTags method. 2004-02-18 Mike Kestner * 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 2004-02-18 Mike Kestner * gdk/Gdk.metadata : hide EventCrossing. * gdk/EventCrossing.cs : glue-based manual implementation. * gdk/EventCrossing.custom : kill * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mapping for EventCrossing. * glue/event.cs : expose Crossing struct fields. 2004-02-18 Mike Kestner * gdk/Gdk.metadata : hide EventVisibility. * gdk/EventVisibility.cs : glue-based manual implementation. * gdk/EventVisibility.custom : kill * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mapping for EventVisibility. * glue/event.cs : expose Visibility struct fields. 2004-02-18 Mike Kestner * gdk/Gdk.metadata : hide EventExpose. make Region opaque. * gdk/EventExpose.cs : glue-based manual implementation. * gdk/EventExpose.custom : kill * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mapping for EventExpose. * glue/event.cs : expose Expose struct fields. * sample/Scribble.cs : fix some EventExpose api breakage 2004-02-18 Mike Kestner * gdk/Gdk.metadata : hide EventMotion * gdk/EventMotion.cs : glue-based manual implementation. * gdk/EventMotion.custom : kill * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mapping for EventMotion. * glue/event.cs : expose Motion struct fields. * sample/Scribble.cs : fix some EventMotion api breakage 2004-02-18 Mike Kestner * gdk/Gdk.metadata : hide EventScroll * gdk/EventScroll.cs : glue-based manual implementation. * gdk/EventScroll.custom : kill * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mapping for EventScroll. * glue/event.cs : expose Scroll struct fields. 2004-02-18 Mike Kestner * gdk/Gdk.metadata : hide EventButton * gdk/EventButton.cs : glue-based manual implementation. * gdk/EventButton.custom : kill * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mapping for EventButton. * glue/event.cs : expose Button struct fields. * sample/CanvasExample.cs : fix EventButton ctor * sample/GnomeHelloWorld.cs : fix EventButton ctor 2004-02-17 Radek Doulik * glib/Value.cs: use g_value_set_pointer for GType.Pointer/IWrapper objects * glib/TypeConverter.cs: return GType.Pointer for Opaque objects which do not have GType property 2004-02-17 John Luke * gdk/Gdk.metadata: set Gdk.Window.Cursor null_ok * gdk/gdk-api.xml: regen 2004-02-17 Jorn Baayen * gtk/SelectionData.custom : fix get_data_pointer glue method name. 2004-02-16 Mike Kestner * glib/TypeConverter.cs : check for GType prop on all types, not just value types, before we fall back to managed values. * glib/Value.cs : use handle to set_boxed for IWrappers. 2004-02-16 Mike Kestner * gdk/EventKey.cs : add a Key prop to return casted KeyVals. 2004-02-16 Mike Kestner * gdk/Gdk.metadata : hide EventKey * gdk/EventKey.cs : glue-based manual implementation. * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : manual mapping for EventKey. * glue/event.cs : expose key struct fields. 2004-02-16 Mike Kestner * gdk/Gdk.metadata : hide EventAny * gdk/Event.cs : make this a full EventAny implementation. * gdk/gdk-api.xml : regen * gdk/gdk-symbols.xml : map EventAny to Gdk.Event. * glue/event.cs : expose window and send_event fields. 2004-02-14 Todd Berman * gtk/Gtk.metadata : hide Widget.SetState * gtk/Widget.custom : add State get; set; property * glue/widget.c : add glue for get_State (); * gtk/gtk-api.xml : regen 2004-02-12 Mike Kestner * sample/GladeViewer.cs : fix a broken api usage. 2004-02-12 Mike Kestner * gnome/Gnome.metadata : hide the GList API * gnome/*.custom : manually wrap GList api using typed arrays * gnome/gnome-api.xml : regen. 2004-02-12 Mike Kestner * glade/Glade.metadata : hide a GList method. * glade/Makefile.in : run gapi-fixup * glade/XML.custom : return Widget[] from GetWidgetPrefix. * glade/glade-api.xml : regen * pango/Pango.metadata : hide a dubious GList method. * pango/pango-api.xml : regen 2004-02-12 Ben Maurer * gtk/TreeIter.custom: Make the hash here not collide. 2004-02-12 Mike Kestner * gdk/Gdk.metadata : hide the GList API * gdk/*.custom : manually wrap GList api using typed arrays * gdk/gdk-api.xml : regen. 2004-02-12 Mike Kestner * gtk/Accel.custom : s/List/SList * gtk/Stock.custom : ditto * gtk/TextIter.custom : ditto 2004-02-12 Zoltan Varga * glib/time_t_CustomMarshaler.cs: Update after custom marshaling changes. 2004-02-12 Jeroen Zwartepoorte * gtk/Gtk.metadata: Hide the various *ActionEntry classes since they're only meant to be used in C code. 2004-02-11 Jeroen Zwartepoorte * atk/atk-api.xml: * gconf/GConf.PropertyEditors/Makefile.in: * gdk/Gdk.metadata: * gdk/gdk-api.xml: * generator/CallbackGen.cs: Set a GError pointer to IntPtr.Zero. * gnome/Gnome.metadata: * gnome/gnome-api.xml: * gtk/Adjustment.custom: * gtk/FileSelection.custom: Deprecated, removed. * gtk/FileSystemModel.custom: * gtk/Gtk.metadata: * gtk/IconTheme.custom: Custom SearchPath property (fixes #51599). * gtk/Paned.custom: Deprecated, removed. * gtk/TreeModelFilter.custom: New class in 2.4. * gtk/gtk-api.xml: * pango/pango-api.xml: * sample/Actions.cs: Added new Action API sample. * sample/Makefile.in: Don't build some samples for now. Updated everything to use gtk 2.3/2.4. Some samples commented out because they use deprecated/changed API. More work to follow. 2004-02-11 Mike Kestner * gtk/Gtk.metadata : hide the GSList API * gtk/*.custom : manually wrap GSList api using typed arrays * gtk/gtk-api.xml : regen. 2004-02-11 Mike Kestner * gtk/*.custom : don't use element_type ctor for GObject lists. 2004-02-11 Mike Kestner * gtk/*.custom : return 0 length arrays, not null. 2004-02-10 Mike Kestner * gconf/GConf.PropertyEditors/PropertyEditorColorPicker.cs : nuke a GnomeSharp. * generator/Signal.cs : move eventhandlers and args into the base namespace instead of a *Sharp namespace. * sample/*.cs : nuke using *Sharp. 2004-02-10 Mike Kestner * art/Art.metadata : mark a field private * art/art-api.xml : regen * gda/Gda.metadata : mark a few structs opaque * gda/gda-api.xml : regen * gdk/*.custom : fix changed field names * gdk/gdk-api.xml : regen * generator/Field.cs : StudlyCase simple typed field names. * gnome/Gnome.metadata : mark FontEntry.weight private to avoid collision with Weight field. s|//|/api/namespace|g * gnome/gnome-api.xml : regen * gtk/Gtk.metadata : rename AccelKey.accel_key to key to avoid collision with type name. * gtk/*.custom : fix changed field names * gtk/gtk-api.xml : regen * pango/pango-api.xml : regen * parser/gapi_pp.pl : add a private_regex to hide BACKEND and ENGINE apis, which are by convention private. * sample/* : make compile * sample/GtkDemo/* : make compile * sample/test/* : make compile * sources/gtk-sharp-sources.xml : exclude a bunch of pango source files. 2004-02-07 Mike Kestner * configure.in : tagged 0.16 and bumped cvs version. 2004-02-07 Mike Kestner * generator/ObjectGen.cs : oops, remove a couple C.WLs. 2004-02-07 Gustavo Giraldez * atk/Makefile.in : fix copy/paste error in --assembly-name. * generator/ObjectGen.cs : rework ObjectManager generation code. * glade/Makefile.in : fix copy/paste error in --assembly-name. 2004-02-06 Mike Kestner * generator/Method.cs : for Opaque/Object retvals, if raw_ret is NULL, return null instead of an object with a NULL handle. 2004-02-06 Mike Kestner * glib/time_t_CustomMarshaler.cs : use TimeSpan.TotalSeconds, not TimeSpan.Seconds. 2004-02-06 John Luke * gtk/Gtk.metadata: hide unneeded RadioMenuItem ctors * gtk/RadioMenuItem.custom: add ctor to create a new group * gtk/gtk-api.xml: regen 2004-02-04 Mike Kestner * generator/CustomMarshalerGen.cs : impl MarshalReturnType. * generator/Method.cs : add CustomMarshalerGen return type handling. * generator/Property.cs : rework property type selection. * generator/SymbolTable.cs : add time_t mapping * glib/time_t_CustomMarshaler.cs : impl native to managed methods. * glue/time_t.c : remove debugging code. 2004-02-03 Mike Kestner * glib/List.cs : add a ctor overload to create empty lists with a specific element_type. * glib/SList.cs : ditto 2004-02-03 Mike Kestner * glib/Value.cs : remove double free of ManagedValues. Fixes the unfiled (cough, tberman, cough) bug in managed types as tree store values. 2004-02-03 Mike Kestner * glib/ManagedValue.cs : null check on Free. * glib/Value.cs : some ManagedValue rework because we unset now. 2004-02-02 Mike Kestner * generator/CustomMarshalerGen.cs : beginnings of a new generatable. * generator/SymbolTable.cs : mangle interface keyword to iface. 2004-02-02 Martin Willemoes Hansen * generator/ClassBase.cs: Converted String uses to the string alias. * generator/ConstStringGen.cs: Ditto * generator/Ctor.cs: Ditto * generator/EnumGen.cs: Ditto * generator/ManualGen.cs: Ditto * generator/SignalHandler.cs: Ditto * generator/StringGen.cs: Ditto * sample/Subclass.cs: Added a DeleteEventHandler to the window widget, this way a user can properly quit the sample. 2004-02-02 Mike Kestner * glib/Value.cs : add dispose queue and idle handler so we can unset GValues that are created by the binding ctors. [Fixes #53490] 2004-02-02 Todd berman * gdk/Event*.custom: added fix for bug #53729. 2004-01-30 Todd Berman * gtk/Gtk.metadata: out fix for TreeView.GetBackgroundArea and TextView.GetIterLocation. * gtk/gtk-api.xml: regen 2004-01-29 Mike Kestner * glib/time_t_CustomMarshaler.cs : new custom marshaler form time_t. * glue/time_t.c : glue for time_t. * glue/Makefile.am : add time_t.c * glue/makefile.win32 : ditto 2004-01-28 John Luke * glade/XML.custom : some null checking for crash prevention. [Fixes #47017] * sample/VteTest.cs: update * vte/Vte.metadata: remove incorrect rules * vte/vte-api.xml: regen 2004-01-28 Mike Kestner * gtk/gtk-api.xml : regen * parser/gapi2xml.pl : fix signals parsing where a STRUCT_OFFSET is not present in the signal_new call. * parser/gapi_pp.pl : ignore #ident lines. * vte/vte-api.xml : regen [Fixes #53189] 2004-01-27 Mike Kestner * gtk/SelectionData.custom : guard against null in get_Text. [Fixes #52713] 2004-01-27 Mike Kestner * glue/selectiondata.c : expose data field. * gtk/SelectionData.custom : add Data property. [Fixes #53397] 2004-01-27 John Luke * gtk/AccelKey.custom: add convenience ctor * gtk/Gtk.metadata: revert previous Widget.AddAccelerator change, fix AccelKey fields * gtk/Widget.custom: add overload for AddAccelerator * gtk/gtk-api.xml: regen 2004-01-27 Mike Kestner * glib/Value.cs : only g_free values we allocate. [Fixes #51180] 2004-01-27 Mike Kestner * glib/TypeConverter.cs : lookup GTypes for boxed value types. * glib/Value.cs : fix boxed type handling in object ctor. [Fixes #51043] 2004-01-27 Mike Kestner * generator/BoxedGen.cs : gen a Value to Boxed explicit cast op. * generator/Property.cs : use new cast in Boxed getters. [Fixes #53414] 2004-01-27 Mike Kestner * gtk/Gtk.Metadata : revert opaquing of TextIter. * gtk/TextBuffer.custom : ditto * gtk/gtk-api.xml : regen 2004-01-27 Mike Kestner * generator/MethodBody.cs : remove unnecessary generation for Handle using out parameters. * gtk/Gtk.Metadata : make TextIter opaque * gtk/TextBuffer.custom : remove redundant dllimport * gtk/gtk-api.xml : regen 2004-01-27 Mike Kestner * gnome/Gnome.metadata : Icon.LookupSync mark factory param null_ok. Reworked from patch by Todd Berman. * gnome/gnome-api.xml : regen 2004-01-25 Mike Kestner * art/art-api.xml : regen * gdk/gdk-api.xml : regen * generator/SymbolTable.cs : add unsigned char mapping * gnome/gnome-api.xml : regen * parser/gapi2xml.pl : handle unsigned keyword in fields, typedefs, and parameter types. [Fixes #53055] 2004-01-25 Mike Kestner * gdk/gdk-api.xml : regen * gnome/gnome-api.xml : regen * gtk/gtk-api.xml : regen * parser/gapi2xml.pl : handle typedef struct {...} Foo; [Fixes #53312] 2004-01-22 Martin Willemoes Hansen * generator/Ctor.cs: Warnings was output like "ctor" fixed to output like "in ctor", like the rest of the warnings. 2004-01-21 John Luke * vte/Makefile.in: fix so you can build from scratch 2004-01-21 Mike Kestner * generator/Field.cs : kill Protection, restructure Generate and add FIXMEs for broken parts. Add StudlyName and move array fields to use Studly names. 2004-01-20 John Luke * samples/GtkDemo: * samples/DbCLient: compile fixes, patch from Paul Duran 2004-01-20 John D. Hardin * glue/type.c : ansi-c-ify some late var decls. 2004-01-19 John Luke * vte/Makefile.in: fix it so you can build without having gtk# already installed 2004-01-19 Mike Kestner * art/Art.metadata : correct a couple symbolic array_lens * art/art-api.xml : regen * gdk/Gdk.metadata : correct a symbolic array_len * gdk/gdk-api.xml : regen * generator/Field.cs : generate array fields with MarshalAs attrs for correct marshaling. 2004-01-18 Mike Kestner * generator/Field.cs : refactored code from StructBase * generator/StructBase.cs : spin off Field class 2004-01-18 Mike Kestner * generator/SymbolTable.cs : mangle parms named readonly 2004-01-18 Peter Williams * glib/Marshaller.cs (ArrayPtrToArgv, ArgvToArrayPtr): new functions for marshalling and unmarshalling string arrays to/from char **. Not pretty, but lets us call gtk_init() in Gtk. * gtk/Application.cs (do_init): New helper function to handle passing args to Gtk. Uses above functions. (Init): Use do_init, take a new progname parameter. (InitCheck): Same. 2004-01-18 Mike Kestner * gtk/Gtk.metadata : mark TreeSelection.GetSelectedRows return list element_type as Gtk.TreePath. * gtk/gtk-api.xml : regen 2004-01-18 Mike Kestner * gtk/Gtk.metadata : mark TreeSelection.GetSelectedRows model param as out. * gtk/gtk-api.xml : regen 2004-01-18 John Luke * vte/Vte.metadata: fix to generate signals * vte/vte-api.xml: regen * samples/VteTest.cs: remove my home dir path 2004-01-17 John Luke * configure.in: detect and compile vte-sharp (require vte-0.11.10) * Makefile.in: add vte to subdirs * vte/*: * sources/makefile: * sources/gtk-sharp-sources.xml: add vte * samples/VteTest.cs: add incomplete test/sample * samples/Makefile.in: add vte-test.exe target 2004-01-15 Martin Willemoes Hansen * generator/Method.cs: Methods which returns void and has a single out parameter like void Foobar (..., out int baz, ...) are turned into the more .NET like signature int Foobar (...), this fixes bug 46392 * generator/Signature.cs: Ditto * generator/MethodBody.cs: Ditto * gtk/ListStore.custom: Ditto * gtk/TextBuffer.custom: Ditto * gtk/TreeStore.custom: Ditto 2004-01-13 Tambet Ingo * gtk-sharp.pc.in : add libdir var * generator/SymbolTable.cs : add GByteArray mapping. 2004-01-13 Mike Kestner * generator/Signal.cs : use ValueArray to assemble parms arg for g_signal_chain_from_overriden call. Initialize retval GValue for above. * glib/Object.cs : g_signal_chain_from_overridden parms are IntPtrs. * glib/TypeConverter.cs : handle unboxed ValueTypes. * glib/Value.cs : handle unboxed struct types. add ctor for init'd unset Values. * glib/ValueArray.cs : new binding for GValueArray used by VMs. * glue/valuearray.c : field accessors * glue/Makefile.am : add new glue file * glue/makefile.win32 : add new glue file [Fixes #52680] 2004-01-13 John Luke * en/Gtk/Dialog.custom: add more Gtk.ResponseType overloads 2004-01-10 John Luke * samples/GtkDemo/*.cs: make it compile patch from Yves Kurz 2004-01-09 Mike Kestner * gtk/Gtk.metadata : hide NotebookPage.Num method * gtk/Notebook.custom : implement PageNum. * gtk/gtk-api.xml : regen 2004-01-09 John Luke * gtk/Gtk.metadata: Hide most RadioButton constructors, for api reasons * gtk/RadioButton.custom: add ctor to create a new RadioButton with its own group to avoid having to pass null * gtk/gtk-api.xml: regen 2004-01-07 Mike Kestner * gtk/Gtk.metadata : rename TreeView.RowExpand to GetRowExpanded. * gtk/gtk-api.xml : regen 2004-01-07 John Luke * gtk/Dialog.custom: add AddActionWidget overload 2004-01-07 Mike Kestner * gtk/Gtk.metadata : TreeStore.Remove iter should be ref * gtk/gtk-api.xml : regen 2004-01-06 John Luke * gtk/Gtk.metadata: change uint to GtkAccelKey for Widget.AddAccelerator * gtk/gtk-api.xml: regenerated 2004-01-05 Mike Kestner * configure.in : tagged 0.15 and updated version. 2003-12-30 Mike Kestner * glib/Object.cs (ConnectDefaultHandlers): reflection code to hook up overridden default signal handlers. * glue/type.c (gtksharp_override_virtual_method): peek the gtype and ref the class if it isn't created yet. * sample/Subclass.cs : update to override Button.OnClicked. 2003-12-26 Mike Kestner * glue/selectiondata.c : new glue to make SelectionData opaque * glue/Makefile.am : add file * glue/makefile.win32 : add file * gtk/Gtk.metadata : mark SelectionData opaque, unhide Set method * gtk/SelectionData.custom : invoke glue methods for opaque fields. * gtk/gtk-api.xml : regen * sample/TestDnd.cs : update to new SelectionData API. 2003-12-24 John Luke * gtk/Label.custom: add public default constructor * gtk/gtk-api.xml: * gtk/Gtk.metadata: make gtk_label_new_with_mnemonic the preferred constructor, disable protected default ctor 2003-12-21 John Luke * glib/Idle.cs: add Remove method found in Alp Toker's platano 2003-12-16 Joe Shaw * generator/SymbolTable.cs (MangleName): Add "lock" and "callback" to the list of names that need to be mangled. The former is a C# reserved keyword and the latter is already used as an argument to methods which marshal callbacks. 2003-12-15 Mike Kestner * generator/BoxedGen.cs : s/uint/GLib.GType * generator/ManualGen.cs : add a ctor to pass ToNative handle name * generator/ObjectGen.cs : s/uint/GLib.GType * generator/Signal.cs : use GLib.GType and call OverrideVirtualMethod * generator/SymbolTable.cs : make GType a ManualGen and update a few ManualGens to the new signatures. * glib/DefaultSignalHandler.cs : s/Type/System.Type * glib/ManagedValue.cs : s/uint/GLib.GType * glib/Object.cs : s/uint/GLib.GType, add OverrideVirtualMethod. * glib/Type.cs : s/uint/IntPtr, add static fields for fundamentals. make it a value type and add ==, !=, Equals, and GetHashCode. * glib/TypeConverter.cs : use new GType statics, not fundamentals. * glib/Value.cs : use new GType statics, not fundamentals. * gnome/*.custom : s/uint/GLib.GType * gtk/*Store.custom : use GType statics, not fundamentals. * sample/Subclass.cs : s/uint/GLib.GType. 2003-12-12 Mike Kestner * generator/CallbackGen.cs : kill some redundant generation * generator/MethodBody.cs : pass array parameters as arrays of the corresponding native type. 2003-12-12 Mike Kestner * gnome/gnome-api.xml : regen'd * parser/gapi2xml.pl : handle typedef enum _foo foo; * parser/gapi-parser : support elements in addition to and to specify the sources to be parsed. 2003-12-12 Radek Doulik * gtk/Gtk.metadata: hide TextTag.Weight property and implement it in TextTag.custom. TextTag Weight property in gtk is of type int, but we want it to be Pango.Weight enum 2003-12-10 Radek Doulik * glue/program.c (get_default): moved check after strspec is set so we don't check uninitialized value 2003-12-10 Mike Kestner * generator/CallbackGen.cs : kill ref_owned generation * generator/ClassBase.cs : use simple GetObject w/o ref_owned * generator/ManagedCallString.cs : new class to generate native to managed method calls. * generator/Method.cs : kill ref_owned generation * generator/MethodBody.cs : kill ref_owned generation * generator/Property.cs : kill ref_owned generation * generator/Signal.cs : generate delegates and vtable connect methods for all signals. Mark VMs with new attr. * generator/StructBase.cs : kill ref_owned generation * glib/DefaultSignalHandlerAttribute.cs : new attr to mark virtual methods. * glib/Object.cs : add overload for GetObject that defaults to ref_owned=false. Add extern for VM override glue. 2003-12-08 Luciano Martorella * gdk/Gdk.metadata : ref/array tags * gdk/Colormap.custom : removed * gdk/gdk-api.xml : regen 2003-12-08 Mike Kestner * generator/Signal.cs : add virtual method generation for the default signal handlers. * glib/Object.cs : add g_signal_chain_from_overridden extern 2003-12-08 Mike Kestner * generator/VMSignature.cs : new class to generate virtual method signatures for default signal handlers. 2003-12-08 Mike Kestner * generator/ObjectGen.cs : stupid little whitespace change 2003-12-08 Mike Kestner * glue/type.c : new glue for g_signal_override_class_closure 2003-12-07 Mike Kestner * gnome/Gnome.metadata : About ctor's logo_pixbuf is null_ok * gnome/gnome-api.xml : regen 2003-12-04 Mike Kestner * glib/Object.cs : kill unused WrapperClassAttribute. [#51458] 2003-12-04 Mike Kestner * parser/gapi2xml.pl : fix for const param handling [#50295] 2003-12-03 Mike Kestner * generator/CallbackGen.cs : use new sig and isig classes. * generator/Ctor.cs : use new sig, isig, and body classes. * generator/ImportSignature.cs : isig code spun out from Parameters. * generator/Method.cs : use new sig, isig, and body classes. * generator/MethodBody.cs : spun Initialize, GetCallString, Finish, and Exception throwing methods from Parameters. * generator/Parameters.cs : Slayed the evilness that was CreateSignature. It is now essentially a container for Parameter classes instead of a tangled mess of code trying to do everything remotely related to parameter lists. Also completely killed the VAType/IsVarArgs stuff, as it can be done with the array and params attrs instead. * generator/Property.cs : use new sig class. * generator/Signature.cs : new method sig generator extracted from Parameters class. add "params" keyword support for tagged parameters. * gnome/Gnome.metadata : hide IconList.GetSearchPath (to be manual) * gnome/gnome-api.xml : regen * gtk/ListStore.custom : kill unneeded overload * gtk/TreeStore.custom : kill unneeded overload * gtk/Gtk.metadata : mark params/args on *store_newv * gtk/gtk-api.xml : regenerated 2003-12-03 Ettore Perazzoli * sample/TestDnd.cs: New. * gtk/TargetEntry.custom: New. * glue/dragcontext.c: New. * glib/Object.cs: New public property TypeName in class Object. * gdk/DragContext.custom: New. 2003-11-30 Mike Kestner * art/art-symbols.xml : add some simple types to clean up generation. * art/Makefile.in : add art-symbols.xml 2003-11-29 Mike Kestner * gtk/Gtk.metadata : fix targets for Drag.SourceSet. * gtk/gtk-api.xml : regen 2003-11-29 Mike Kestner * generator/Parameters.cs : handle null_ok for arrays. * gtk/Gtk.metadata : mark a null_ok in Drag.DestSet * gtk/gtk-api.xml : regen 2003-11-29 Mike Kestner * gdk/Pixbuf.custom : revert Miguel's commit. 2003-11-29 Mike Kestner * */Makefile.in : remove the nowarns * gdk/Rectangle.custom : add System.Drawing.Rect implicit cast op. * sample/Size.cs : use System.Drawing.Rectangles * sample/GnomeHelloWorld.cs : remove an unneeded null check 2003-11-29 Mike Kestner * generator/StructBase.cs : remove ==/!= operator generation. 2003-11-28 Miguel de Icaza * gdk/Pixmap.custom: Added Pixmap.custom to add a convenience constructor. 2003-11-27 Miguel de Icaza * glib/Log.cs: Make LogLevelFlags CLS compliant. * glib/SignalCallback.cs: Set the constructor protection level to protected, since it can not be instantiate.d * glib/Marshaller.cs: Do not allow instances of this class as it only exposes static methods. * glib/Source.cs, glib/FileUtils.cs, glib/Timeout.cs, glib/Thread.cs, glib/Markup.cs, glib/TypeConverter.cs: Ditto. 2003-11-29 Mike Kestner * gdk/Gdk.metadata : add some array attrs to Pixbuf ctors. * gdk/Pixbuf.custom : remove unneeded overloads. * gdk/gdk-api.xml : regenerated 2003-11-23 Mike Kestner * generator/SignalHandler.cs : use CONNECT_AFTER. 2003-11-22 John Luke * sample/PrintSample.cs: add small Gnome.Print example * sample/Makefile.in: add print example to gnome build 2003-11-19 Peter Williams * gtk/Gtk.metadata: Add some array attributes for some "type *elem, int n_elem" array params. 2003-11-19 Mike Kestner * parser/gapi_pp.pl : handle files and dirs in ARGV. * parser/gapi2xml.pl : deal with struct keyword in param decls * parser/gapi-parser : handle elements. 2003-11-18 Mike Kestner * configure.in : tagged for 0.14 and bumping VERSION. 2003-11-18 Mike Kestner * gtkhtml/Makefile.in : make the install target conditional too. 2003-11-18 Moritz Balz * gdk/Window.custom : remove Visible and Viewable since the Is* methods are now gen'd as properties. 2003-11-18 Mike Kestner * pango/Pango.metadata : mark ref params on LayoutLine.GetExtents and GetPixelExtents. [Fixes #50338] * pango/pango-api.xml : regenerated. 2003-11-18 Peter Williams * gtk/NodeStore.cs (GetNode): New public function. Patch refactored a bit to eliminate code duplication with get_node_cb. 2003-11-18 John Luke * configure.in: test for gtkhtml3 * gtkhtml/Makefile.in: build conditionally 2003-11-18 Mike Kestner * gdk/Pixbuf.custom : resurrect the stream/resource ctors. rename LoadResource to LoadFromResource for the string overload. * gdk/PixbufLoader.custom: add an internal prop to get an unwrapped pixbuf handle. 2003-11-17 Gonzalo Paniagua Javier * gdk/Pixbuf.custom: (LoadResource (assembly, resource)): a null assembly uses the calling assembly. 2003-11-17 Ettore Perazzoli * gdk/Pixbuf.custom: Removed the Assembly constructors. (Pixbuf.LoadResource (string)): New. (Pixbuf.LoadResource (Assembly, string)): New. 2003-11-16 Mike Kestner * generator/Parameters: handle array+len param pairs. * gtk/Gtk.metadata : unhide DestDefaults and mark targets param of drag_dest_set as array. * gtk/gtk-api.xml : regenerate 2003-11-14 Mike Kestner * gtk/Gtk.metadata : fully qualify attr paths * parser/gapi-fixup.cs : compile a path expression per Ben Maurer suggestion. 2003-11-14 Mike Kestner * configure.in : update VERSION to 0.14. Tagged 0.13. 2003-11-13 Mike Kestner * generator/SignalHandler.cs : guard against destroyed signalhandlers. 2003-11-07 Mike Kestner * configure.in : add mono check. expand wrapper scripts * generator/Makefile.in : use install. install a gapi-codegen wrapper. * generator/SymbolTable.cs : add SimpleGen for short * generator/gapi-codegen.in : new wrapper script in file. * parser/Makefile.in : use install. install a gapi-fixup wrapper. * generator/gapi-fixup.in : new wrapper script in file. * parser/gapi2xml.pl : deal with non-namespaced enums. ignore forward struct declarations. 2003-11-05 Mike Kestner * gtk/ITreeNode.cs : make Parent readonly * gtk/TreeNode.cs : use an internal method to set parent on the child, and set child.Parent to null in RemoveChild. 2003-11-05 Moritz Balz * gdk/Window.custom : System.Drawing.Rectangle/Point customizations 2003-11-05 Mike Kestner * gtk/TreeNodeAttribute.cs : sealed per Ben Maurer's suggestion. * gtk/TreeNodeValueAttribute.cs : ditto 2003-11-04 Mike Kestner * glib/Value.cs : add set to Val prop * glue/Makefile.am : build nodestore.c * glue/makefile.win32 : link nodestore.o * glue/nodestore.c : new, glue for TreeModel implementation * gtk/NodeStore.cs : new tree store implementation * gtk/ITreeNode.cs : new interface for nodestore node types * gtk/TreeNode.cs : abstract class for deriving nodestore nodes * gtk/TreeNodeAttribute.cs : tree node marking attr * gtk/TreeNodeValueAttribute.cs : node column marking attr * gtk/TreeView.custom : add ctor(NodeStore) 2003-11-04 John Luke * sources/makefile: add gstreamer 0.6.4 sources * sources/gstreamer-parse.patch: fixes to parse gst * gst/Gst.metadata: new metadata * gst/Makefile.in: add gapi-fixup to Makefile * gst/gst-api.xml: new api file for 0.6.4 * gtk/Gtk.metadata: set correct preferred constructor for button * gtk/gtk-api.xml: regenerated 2003-11-02 Mike Kestner * generator/CallbackGen.cs : use a temporary ret value if there is any cleanup to be done after the call. Thanks to John Luke for a patch which identified the problem. 2003-11-01 Radek Doulik * gtk/TreeModelSort.custom: implementation of GetValue/SetValue (copied from TreeStore.custom) * gtk/TreeModel.custom: added GetValue/SetValue 2003-10-30 Ken Foster * glue/button.c: initial creating of glue file for GdkButton * glue/Makefile.am: added button.c to glue make * glue/makefile.win32: added button.c to win32 glue make * gtk/Button.custom: expose in_button GdkButton member 2003-10-29 Martin Willemoes Hansen * generator/Method.cs: marked Is and Has methods, to be generated as properties, fixes bug [47910] 2003-10-28 Mike Kestner * configure.in : releasing 0.12 2003-10-28 Mike Kestner * */Makefile.in : create the apidir before installing to it. 2003-10-28 Mike Kestner * generator/BoxedGen.cs : generate GLib.Value ctors. [fixes #47168] * generator/Property.cs : use new Boxed value ctors. * generator/StructBase.cs : use existing Writer if available. 2003-10-27 Moritz Balz * gdk/Drawable.custom : add a S.D.Rectangle overload for DrawRect. 2003-10-26 Martin Willemoes Hansen * gtk/Gtk.metadata: Added the rest of sources/Gtk.metadata and sorted the metadata. * gtk/gtk-api.xml: Regenerated, to reflect the above changes. Tags are swapped around. PaintBox, PaintBoxGap, PaintShadow and PaintShadowGap are moved arround as well. * sources/Gtk.metadata: Removed 2003-10-23 Martin Willemoes Hansen * gtk/Gtk.metadata: Added metadata from sources/Gtk.metadata * gtk/gtk-api.xml: Reflects changes of the metadata move, tags are swapped around. * sources/Gtk.metadata: Removed metadata, which are moved to gtk/Gtk.metadata 2003-10-22 Martin Willemoes Hansen * gtk/Gtk.metadata: Added metadata from sources/Gtk.metadata * gtk/gtk-api.xml: Reflects changes of the metadata move, tags are swapped around. * gtkhtml/Gtk.metadata: Added metadata from sources/Gtk.metadata * gtkhtml/gtkhtml-api.xml: Reflects changes of the metadata move, tags are swapped around. * sources/Gtk.metadata: Removed metadata, which are moved to gtk/Gtk.metadata and gtkhtml/Gtk.metadata 2003-10-22 Mike Kestner * gtkhtml/gtkhtml-api.xml : regenerated * sources/makefile : add gtkhtml-embedded.* to the parse. Patch proposed by orph on bug #49875. 2003-10-20 Mike Kestner * gtk/Gtk.metadata : mark TargetEntry.flags as type TargetFlags. * gtk/gtk-api.xml : regenerated [fixes #49859] 2003-10-20 Mike Kestner * generator/Parameters.cs : treat interface out params like objects. * gtk/gtk-api.xml : regenerated * gtk/Gtk.metadata : mark TreeSelection.GetSelected params out. * gtk/TreeSelection.custom : emptied since it's now generated. * sources/Gtk.metadata : kill hide of TreeSelection.GetSelected. [fixes #49858] 2003-10-20 Mike Kestner * atk/atk-api.xml : regenerated * gdk/gdk-api.xml : regenerated * gtk/gtk-api.xml : regenerated * gtkhtml/gtkhtml-api.xml : regenerated [Fixes #49875] * parser/gapi2xml.pl : handle unnamed parameter declarations. 2003-10-20 Mike Kestner * generator/Parameters.cs : add a cast to the call_string for Length params other than int. 2003-10-18 Mike Kestner * gtk/Gtk.metadata : add move-node rules for Paint methods. * gtk/gtk-api.xml : regenerated * parser/gapi2xml.pl : put paint_ methods in global, not Paint. * parser/gapi-fixup.cs : add move-node rule handling. [Fixes #47980] 2003-10-17 Mike Kestner * generator/Parameters.cs : mark enum pointer params as out. need to audit if any are really arrays. [Fixes #49779] 2003-10-17 Mike Kestner * gtk/Window.cs : override Raw prop and take a ref, since gtk+ owns the ref to new Windows, and we need a ref. [Fixes #47721] 2003-10-17 Mike Kestner * gnome/CanvasPoints.custom : make New overload a ctor overload. * gnome/Gnome.metadata : mark CanvasPoints as opaque * gnome/gnome-api.xml : regenerated. [Fixes #37256] 2003-10-17 Gonzalo Paniagua Javier * gtk/ThreadNotify.cs: close the pipe and detach the GSource when explicitly requested or finalized. 2003-10-17 Gonzalo Paniagua Javier * gconf/tools/schemagen.cs: support for lists. 2003-10-15 Mike Kestner * generator/Property.cs : use new Opaque value ctor and rework get/set blocks for Opaque types. [Fixes #47959] * glib/Opaque.cs : kill explicit IntPtr operator. * glib/Value.cs : rework Opaque value ctor. 2003-10-14 Mike Kestner * gtk/Gtk.metadata : rule for ClipboardGetFunc * gtk/Clipboard.custom : comment out for now don't think any of this is needed. * gtk/ClipboardClearFunc.cs : gen'd now * gtk/ClipboardGetFunc.cs : gen'd now * gtk/GtkSharp.GtkClipboardClearFuncNative.cs : gen'd now * gtk/GtkSharp.GtkClipboardGetFuncNative.cs : gen'd now * gtk/gtk-api.xml : regenerated * sources/Gtk.metadata : remove a couple clipboard hides 2003-10-14 Mike Kestner * gtk/gtk-api.xml : regenerated * gtk/Gtk.metadata : begin the port of the Gtk rules * gtk/Makefile.in : apply metadata in gen target * gtkhtml/gtkhtml-api.xml : regenerated * gtkhtml/Gtk.metadata : a couple rules ported * gtkhtml/Makefile.in : apply metadata in gen target * sources/Gtk.metadata : port first 350 lines of rules. 2003-10-14 Mike Kestner * gtk/gtk-api.xml : regenerated * sources/Gtk.metadata : removed all the obsolete "out" rules 2003-10-13 Mike Kestner * gdk/Gdk.metadata : mark an array param on PixbufDestroyNotify * gdk/gdk-api.xml : regenerated * generator/CallbackGen.cs : Handle out params in callback sigs and ditch the object[] args handling for typed args. * generator/Parameters.cs : more proactive PassAs logic. We now default all simple pointer types (uint*, int*, double*, etc...) to out params unless they are marked otherwise in the XML with a pass_as tag or an array tag. [Fixes #32104] 2003-10-13 Mike Kestner * gnome/Gnome.metadata : new xpath metadata rules * gnome/Makefile.in : apply metadata before generation * gnome/gnome-api.xml : regenerated * parser/gapi-fixup.cs : use XmlDocument.Save (filename) instead of opening a stream manually. * sources/Gnome.metadata : killed 2003-10-12 Mike Kestner * art/Art.metadata : new xpath metadata rules * art/Makefile.in : apply metadata before generation * atk/Atk.metadata : new xpath metadata rules * atk/Makefile.in : apply metadata before generation * gda/Gda.metadata : new xpath metadata rules * gda/Makefile.in : apply metadata before generation * gdk/Gdk.metadata : new xpath metadata rules * gdk/Makefile.in : apply metadata before generation * gnomedb/GnomeDb.metadata : new xpath metadata rules * gnomedb/Makefile.in : apply metadata before generation * pango/Pango.metadata : new xpath metadata rules * pango/Makefile.in : apply metadata before generation * parser/Makefile.in : build and install new gapi-fixup * parser/gapi-fixup.cs : new xpath based metadata engine * sources/*.metadata : remove most of the old metadata, still have to convert Gtk and Gnome to xpaths. 2003-10-11 Mike Kestner * gtk/gtk-api.xml : regenerated * sources/Gtk.metadata : applied patch from jluke for hides requested in bug #38660. Also cleaned up the sprawling "hidden" rules to reduce the overall footprint. 2003-10-11 Mike Kestner * generator/OpaqueGen.cs (FromNativeReturn): just do a new on the type. GLib.Opaque.GetOpaque was apparently an homage to GetObject that just seems wrong. 2003-10-11 Mike Kestner * gtk/gtk-api.xml : regenerated * sources/Gtk.metadata : markes some out tags on TreeView.GetCursor. [Fixes #49556] 2003-10-11 Mike Kestner * generator/Parameters.cs : Properly handle out params for Object and Opaque types. * gtk/ListStore.custom: remove out on GetValue overload * gtk/TreeStore.custom: remove out on GetValue overload * gtk/gtk-api.xml : regenerated * sources/Gtk.metadata : remove some incorrect out tags [Fixes #49517] for real this time. 2003-10-10 Mike Kestner * gtk/gtk-api.xml : regenerated * sources/Gtk.metadata : mark pos and path pass_as="out" for TreeView.GetDragDestRow and GetDestRowAtPos [Fixes #49517] 2003-10-10 Mike Kestner * gtk/gtk-api.xml : regenerated * gtk/TreePath.custom : implement Indices property by hand. Patch from tds00mahi@thn.htu.se (malte) [Fixes #49518] * sources/Gtk.metadata : hide TreePath.Indices. 2003-10-10 Mike Kestner * gtk/gtk-api.xml : regenerated * gtk/FileSelection.custom : implement the Selections property by hand. [Fixes #49254] * sources/Gtk.metadata : hide FileSelection.GetSelections. 2003-10-10 Mike Kestner * */makefile.win32 : remove api dir from build and fix clean target 2003-10-10 Mike Kestner * gdk/gdk-api.xml : regenerated * sources/Gdk.metadata : mark Cursor opaque. mark confine_to and cursor null_ok in Gdk.Pointer.Grab. [Fixes #48273] 2003-10-09 Mike Kestner * generator/Statistics.cs (Report): pretty it up. * generator/SymbolTable.cs : handle const-xmlChar as ConstString 2003-10-09 Mike Kestner * pango/Makefile.in : fix path to glib-sharp.dll 2003-10-10 Martin Willemoes Hansen * Makefile.in: Updated to reflect moval of api xml files from api/ to each assembly dir. * configure.in: Ditto * art/.cvsignore Ditto * art/Makefile.in: Ditto * atk/.cvsignore Ditto * atk/Makefile.in: Ditto * gda/.cvsignore Ditto * gda/Makefile.in: Ditto * gdk/.cvsignore Ditto * gdk/Makefile.in: Ditto * gdk/gdk-symbols.xml Ditto * glade/.cvsignore Ditto * glade/Makefile.in: Ditto * gnome/.cvsignore Ditto * gnome/Makefile.in: Ditto * gnomedb/.cvsignore Ditto * gnomedb/Makefile.in: Ditto * gst/.cvsignore Ditto * gst/Makefile.in: Ditto * gtk/.cvsignore Ditto * gtk/Makefile.in: Ditto * gtk/gtk-symbols.xml Ditto * gtkhtml/.cvsignore Ditto * gtkhtml/Makefile.in: Ditto * pango/.cvsignore Ditto * pango/Makefile.in: Ditto * rsvg/.cvsignore Ditto * rsvg/Makefile.in: Ditto * sources/gtk-sharp-sources.xml: Ditto * api/: Removed 2003-10-09 Mike Kestner * api/*-api.xml : regenerated * parser/gapi_pp.pl : ignore simple comments. [Fixes #47450] * parser/gapi2xml.pl : turn off debug. 2003-10-09 Mike Kestner * generator/Property.cs : don't do new for Objects if FromNativeReturn returns null. [Fixes #48055] 2003-10-08 Mike Kestner * */Makefile.in : rework the prefix handling for duncan's packaging. 2003-10-08 Martin Willemoes Hansen * gnome/PrintJob.custom: Added default ctor. * gnome/PrintDialog.custom: Added overloaded ctor with fewer parameters. * sources/Gnome.metadata: Disabled default ctor for PrintJob, changed type from int to PrintDialogFlags for PrintDialog ctor and changed return type from byte to string for PrintConfig.Get. 2003-10-07 Mike Kestner * api/gtk-api.xml : regenerated * generator/Method.cs : gen new_flag automatically if set * sources/Gtk.metadata : mark new_flag on Gtk.Bin.GetChild 2003-10-07 Mike Kestner * generator/ObjectGen.cs (Generate): check sigs.Count in addition to the null check to determine if the signals hash should be generated. 2003-10-07 Mike Kestner * parser/gapi2xml.pl : look for ");" at the end of property declarations to avoid problems with ';' in property docstrings. * api/gtk-api.xml : regenerated. [Fixes #47987] 2003-10-07 Mike Kestner * glib/ListBase.cs : assume ref_owned=false for GObject lists. [Fixes #49145] 2003-10-07 Mike Kestner * gtkhtml/Makefile.in : add art-sharp ref * sources/Gtk.metadata : make gtk_widget_size_request pass_as ref instead of out. [Fixes #46354] 2003-10-07 Mike Kestner * gtkhtml/Makefile.in : add gnome api to includes and ref in build * gtkhtml/gkthtml-api.xml : regenerated * sources/Gtk.metadata : remove the gtkhtml gnomeprint hides 2003-10-06 Mike Kestner * Makefile.in : add gtkhtml dir. * configure.in : expand gtkhtml/Makefile * api/Makefile.in : remove gtkhtml-api.xml * generator/CodeGenerator.cs : parse new --outdir, --customdir, and --assembly-name args. * generator/GenerationInfo.cs (Ctor): new (dir, dir,assembly) ctor * gtkhtml/HTMLStream.custom : moved here from gtk dir * gtkhtml/gtkhtml-api.xml : moved here from api dir * gtkhtml/Makefile.in : gen source and build dll * sources/gtk-sharp-sources.xml : write gtkhtml api to new dir 2003-10-06 Artem Popov * gtk/Dialog.custom : Action area is an HButtonBox, not a VBox. 2003-10-06 Mike Kestner * generator/InterfaceGen.cs (Generate): gen the EventHandlers for sigs * generator/Signal.cs (GetHandlerName): kill this and split it into EventHandlerName and EventHandlerArgsName props instead of the ugly out param hack. (GenEventHandler): make public void and add gen_info param. open stream with gen_info. use new *Name props. (Generate): only gen the EventHandler if we're genning the container, not for implementors. 2003-10-06 Mike Kestner * generator/CodeGenerator.cs (Main): use new ObjectGen.GenerateMappers. * generator/GenerationInfo.cs (Ctor): new (dir, assembly) ctor * generator/ObjectGen.cs : move hash management to Generate from Ctor, index it on dir, and make it hold new DirectoryInfo refs. Refactor GenerateMapper. The object mappers are now assembly based instead of namespace based. 2003-10-06 Mike Kestner * generator/Signal.cs (Generate): pass gen_info to sighdnlr.Generate. use gen_info.AssemblyName in Args instantiation. * generator/SignalHandler.cs (Generate): use gen_info to open stream. refactor out some local vars. 2003-10-04 Mike Kestner * generator/CallbackGen.cs : remove CloseWriter call. * generator/GenBase.cs : kill CreateWriter and CloseWriter. 2003-10-04 Mike Kestner * generator/AliasGen.cs : stub new Generate overload. * generator/BoxedGen.cs : implement new Generate overload. * generator/CallbackGen.cs (Generate):implement new overload. * generator/ClassBase.cs : implement new Generate overload and pass around the gen_info. * generator/ClassGen.cs : implement new Generate overload. * generator/Ctor.cs (Generate): s/sw/gen_info. * generator/EnumGen.cs : implement new Generate overload. * generator/GenBase.cs : expose NSElem, add gen_info param to AppendCustom. kill CreateWriter. (GenWrapper): add gen_info param and use it to open stream. * generator/GenerationInfo.cs : new class to pass around generation related information and perform tasks like opening streams. * generator/IGeneratable.cs : add Generate(gen_info) overload. * generator/InterfaceGen.cs : implement new Generate overload. * generator/ManualGen.cs : stub new Generate overload. * generator/Method.cs (Generate): accept gen_info. kill GenerateComments. * generator/ObjectGen.cs : implement new Generate overload. * generator/OpaqueGen.cs : implement new Generate overload. * generator/Parameters.cs (Initialize): s/sw/gen_info. * generator/Property.cs (Generate): accept gen_info. * generator/Signal.cs (Generate): accept gen_info. * generator/SimpleGen.cs : stub new Generate overload. * generator/StructBase.cs : s/sw/gen_info * generator/StructGen.cs : implement new Generate overload. 2003-10-03 Mike Kestner * generator/GenBase.cs : remove unused do_generate private member. 2003-10-03 Mike Kestner * generator/*.cs : Kill DoGenerate. 2003-10-03 Mike Kestner * api/gtk-symbols.xml : make GtkType a uint like GType. * generator/CodeGenerator.cs : adopt new parser semantics * generator/Parser.cs : move to single parser/multiple Parse. Remove DoGenerate hack and let the CodeGenerator control this. Return generatables instead of loading symboltable. * generator/SymbolTable : add AddTypes method. Revamp dealiasing code. 2003-10-02 Mike Kestner * api/gnome-api.xml : regenerated * parser/gapi2xml.pl : handle enum {...}; Thanks to Martin for identifying the bug and providing a candidate patch. 2003-10-01 Mike Kestner * README.generator : updates for new parser script * api/Makefile.in : add gtkhtml-api.xml * api/*-api.xml : regenerated * parser/makefile : install new parsing script * parser/gapi-parser : new xml-driven parsing script * sources/makefile : call new parsing script * sources/gtk-sharp-sources.xml : new parser input file * sources/gtk-sharp.sources : killed 2003-09-29 Martin Willemoes Hansen * sources/Gnome.metadata: Use const-gchar* instead of const-guchar*, when the value is realy a string * api/gnome-api.xml: Ditto 2003-09-28 Martin Willemoes Hansen * sources/gtk-sharp.sources: Fixed, wrong library used for libgnomeprintui * api/gnome-api.xml: Ditto 2003-09-23 John Luke * README: * sources/README: reflect the current targets 2003-09-19 Rachel Hestilow * sources/Gtk.metadata, api/gtk-api.xml: Rename 'Event' signals on Widget and TextTag to WidgetEvent and TextTag event, respectively, to avoid ambiguity with System.EventHandler/EventArgs. 2003-09-18 Mike Kestner * configure.in : releasing 0.11 2003-09-17 Rachel Hestilow * glib/DelegateWrapper.cs: Remove 'RemoveIfNotAlive' and revamp the memory management to use destroy notification. * generator/CallbackGen.cs: Do not generate the call to RemoveIfNotAlive. * gtk/GtkSharp.GtkClipboardGetFuncNative, GtkSharp.GtkClipboardClearFuncNative: Do not call RemoveIfNotAlive. 2003-09-17 Rachel Hestilow * generator/StructBase.cs: Make pointer, wrapped, bitfield, and dummy fields private fields. 2003-09-16 Martin Willemoes Hansen * api/gda-api.xml: Updated to reflect new versions of the targeted libraries + addition of GnomePrint * api/gdk-api.xml: Ditto * api/gnome-api.xml: Ditto * api/gnomedb-api.xml: Ditto * api/gtk-api.xml: Ditto * api/rsvg-api.xml: Ditto * sources/.cvsignore: Ditto * sources/makefile: Ditto * sources/gtk-sharp.sources: Ditto * sources/Gda.metadata: Added a couple of new_flags * sources/Gdk.metadata: Fixed name filter level type, it was missed by the parser. * sources/Gtk.metadata: Added hides for the GtkHtml releations to GnomePrint, these hides can be removed when GtkHtml is put in its own assembly. 2003-09-14 Mike Kestner * Makefile.in : add a gen-clean target to clean all but glue/parser. * generator/Signal.cs : use restructured SignalHandler. * generator/SignalHandler.cs (GetName): break up this monument to structured programming. 2003-09-12 Mike Kestner * generator/Parameters.cs (CreateSignature): begin refactoring this unholy mess. Eliminated one pass thru the param list. Eliminated prev/curr param refs. Switched to a for loop since lookbacks are required. 2003-09-11 Mike Kestner * generator/Parameters.cs : keep an ArrayList of Parameter objects and refactor the hell out of the joint using the new Count and this[]. Still need to refactor a couple methods. 2003-09-11 Mike Kestner * generator/Parameters.cs (IsLength): use a switch to make the growing list of valid len types more readable. 2003-09-11 Mike Kestner * generator/Ctor.cs : kill inline doc comments once and for all * generator/EnumGen.cs : ditto * generator/Method.cs : ditto * generator/OpaqueGen.cs : ditto * generator/Property.cs : ditto 2003-09-11 Alp Toker * generator/Parameters.cs: Handle string length parameters specified not just as int but also signed/unsigned int, long or short 2003-09-07 Alp Toker * makefile.win32: New clean and release targets, and don't bother building the samples (sample/makefile.win32 is out of date anyway) * api/makefile.win32: * glue/makefile.win32: * makefile.win32: Glade# works perfectly on win32 now; include it in the default build * sample/GladeTest.cs: * sample/GladeViewer.cs: Remove Gnome dependency and clean up * glue/makefile.win32: Add -mms-bitfields for MSVC function name mangling compatibility 2003-09-06 Alp Toker * api/gdk-api.xml: * sources/Gdk.metadata: out params for Gdk.Window.GetInternalPaintInfo * glade/makefile.win32: new win32 makefile * glue/win32dll.c: * glue/makefile.win32: Patch to remove cygwin1.dll dependency on win32 from Todd Berman * glue/makefile.win32: Update list of sources * glue/Makefile.am: Remind people to keep makefile.win32 up to date 2003-09-03 Aleksey Sanin * parser/GAPI/Metadata.pm: enable enums processing using element syntax 2003-09-02 Martin Willemoes Hansen * gda/Makefile.in: Fixed bad nowarn options 2003-08-31 Alp Toker * api/gdk-api.xml: * sources/Gdk.metadata: out params for Gdk.Window.GetOrigin 2003-08-30 Gonzalo Paniagua Javier * gdk/Pixbuf.custom: use windows dll name. Removed DllImport that is already in the generated file. * glib/Thread.cs: use windows dll name. * gtk/ThreadNotify.cs: close comment. 2003-08-28 Martin Willemoes Hansen * gdk/Pixbuf.custom: Added missing DllImport statement and proper copyright header. * api/gtk-api.xml: * sources/Gtk.metadata: Fixed new_flag rules, they did not get applied to the gtk-api.xml. * generator/Parameters.cs: * generator/StructBase.cs: * generator/SymbolTable.cs: Fixed the keyword base was not mangled, also did a little refactoring. 2003-08-28 Alp Toker * glue/style.c: glue and corresponding .custom entries for TextGC 2003-08-26 John Luke * gtk/ThreadNotify.cs: mark dllimported methods private 2003-08-26 Gonzalo Paniagua Javier * gconf/GConf/Value.cs: implemented support for lists. * glib/ListBase.cs: implemented the IDisposable stuff and created a new method, FreeList, to free the list when needed. * glade/HandlerNotFoundException.cs: make it derive from SystemException. Don't override Message, the message is created in the .ctor. 2003-08-26 Alp Toker * glue/style.c: glue and corresponding .custom entries for BaseGC, plus the ability to set GCs 2003-08-21 Martin Willemoes Hansen * gnomeprint: * api/gnomeprint-api.xml: Removed, gnomeprint is now included in gnome. 2003-08-19 John Luke * glib/ListBase.cs: Add convenience .Append (string) method 2003-08-19 Martin Willemoes Hansen * generator/Method.cs: Fixed bug where all ToString methods was marked as override, this is only correct if the ToString method does not have any parameters. 2003-08-18 Aleksey Sanin * generator/SignalHandler.cs : take refs on GObject sig parms. 2003-08-15 Duncan Mak * sources/Gtk.metadata (Gtk.TreeView.CellArea): Apply patch from Aleksey Sanin to declare the "Gdk.Rectangle rect" parameter as an out parameter. This is required because Gdk.Rectangle is a struct. 2003-08-14 Martin Willemoes Hansen * sources/Gnome.metadata: Renamed use of keyword base to Base in GnomePrintUnit method GetIdentity. Added GObject as the parent for GnomePrintTransport and GnomePrintPdf * sources/gtk-sharp.sources: Added libgnomeprintui/gpaui 2003-08-13 Martin Willemoes Hansen * sources/makefile: * sources/gtk-sharp.sources: Added libgnomeprint-2.2.2 and libgnomeprintui-2.2.2 2003-08-08 Mike Kestner * sources/gtk-sharp.sources : point to gtkhtml-3.0.8 dir * sources/gtkhtml-font-style-enum.patch : ditto * sources/makefile : fix some urls, make a get-gtkhtml-code target, and use gtkhtml-3.0.8 instead of cvs. 2003-08-06 Duncan Mak * sources/Atk.metadata: Make Mr. Art.VpathDash an Opaque struct instead of a plain ol' struct. * sources/Gtk.metadata (Gtk.Widget.SizeRequest): Mark the requisition parameter as out. 2003-08-06 Xavier Amado * gtk/Notebook.custom (CurrentPageWidget): Added a property for getting the current page widget directly. 2003-07-30 Duncan Mak * sources/Gnome.metadata: (CanvasItem.SetValist): (CanvasItem.Construct): Hidden, because we don't support va_list params. (CanvasItem): Hid the constructor, as each subclass has their own contsructor and we don't support va_list params. (CanvasItem.W2i): (CanvasItem.I2w): Marked parameters as ref, so they can be used as in/out parameters. (Canvas.GetMiterPoints): (Canvas.GetColor): Fixed return type to be 'bool' instead of 'int'. (CanvasClipgroup.Wind): Fixed property type. It should be an Art.WindRule enum, not a UInt. (Canvas.W2cAffine): (CanvasItem.AffineAbsolute): (CanvasItem.AffineRelative): (CanvasItem.I2wAffine): (CanvasItem.I2cAffine): Hidden, use the impl. in the custom file instead. * gnome/Canvas.custom: Added for W2cAffine. * gnome/CanvasItem.custom: Reformatted. Added AffineRelative, AffineAbsolute, I2wAffine, I2cAffine. These are needed because of the 'const double affine[6]' parameter. 2003-07-29 Duncan Mak * sources/Gtk.metadata: * api/gtk-api.xml: Marked the arguments to GetSelectionBounds and GetLayoutOffsets as out params. 2003-07-28 Duncan Mak * glade/XML.custom: Added new convenience factory methods, FromStream and FromAssembly. 2003-07-27 Duncan Mak * art/Makefile.in: * atk/Makefile.in: * gda/Makefile.in: * gdk/Makefile.in: * glade/Makefile.in: * gnome/Makefile.in: * gnomedb/Makefile.in * gtk/Makefile.in: * pango/Makefile.in: * rsvg/Makefile.in: Suppress warnings CS0660 and CS0661. 2003-07-23 Mike Kestner * gtk/FileSelection.custom : more s/new Object/GetObject 2003-07-23 Mike Kestner [Equal credit to Ettore Perazzoli 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 2003-07-23 Martin Willemoes Hansen * generator/ClassBase.cs: Fixed printouts of ctor validation. Warnings refering to the same ctor were printed multiple times. 2003-07-22 John Luke * sample/TreeViewDemo.cs: remove GLib and System.Drawing references remove workaround for mscorlib use Type.GetMembers instead of .GetMethods remove Glib.IdleHandler for simplicity 2003-07-22 Mike Kestner * 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 2003-07-22 Duncan Mak * gtk/FileSelection.custom (FSButton): Mark the constructor as 'internal', instead of 'public'. 2003-07-15 Duncan Mak * 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. * 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 These two changes fixes bug #46388. (GtkHTML): overrides for Begin, mark BeginContent and BeginFull as overrides of Begin. This fixes bug #46427. * 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. 2003-07-14 Mike Kestner * 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 _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 2003-07-12 Mike Kestner * api/gda-api.xml : hide the new Type class * source/Gda.metadata : hide the new Type class 2003-07-11 Mike Kestner * 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. 2003-07-10 Mike Kestner * 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 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. 2003-07-08 Ettore Perazzoli * 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. 2003-07-06 Mike Kestner * api/gtk-api.xml : regenerated * parser/GAPI/Metadata.pm : add support for property attribute alteration. * sources/Gtk.metadata : rule to mark TextTag.Weight as PangoWeight instead of gint. fixes 45214. 2003-07-05 Mike Kestner * api/*-api.xml : regenerated * parser/gapi2xml.pl : first pass at trying to expose static classes for typeless method aggregation. 2003-07-05 Mike Kestner * sources/makefile : fix the download uri's for the gnomedb lib source. 2003-07-04 Mike Kestner * api/*-api.xml : regenerated * parser/gapi2xml.pl (addFuncElems): only ignore get_type methods for enum types, so that we don't suppress some methods. (addPropElem): remove doc-str since we don't autogen docs and access types for enum/boxed/flags/obj as an offset from the end of the param_spec to avoid problems with split(/,/). 2003-07-04 Rodrigo Moya * sources/makefile: updated download targets for libgda and libgnomedb. 2003-07-04 Rodrigo Moya * sources/gtk-sharp.sources: * api/gda-api.xml: * api/gnomedb-api.xml: updated for libgda/libgnomedb 0.90. 2003-07-05 Martin Willemoes Hansen * glib/Object.cs: Changed getData, setData to a single Data property Different keys are allowed now. 2003-07-02 Shane Hyde * generator/GenBase.cs : put #line directive after the #region so line numbers match up. 2003-07-02 Mike Kestner * generator/StructBase.cs : remove doc comments 2003-06-25 Martin Willemoes Hansen * parser/gapi_pp.pl: Added striping of C comments 2003-06-23 Martin Willemoes Hansen * glib/Type.cs: Added ToString 2003-06-14 Mike Kestner * configure.in : tagging for 0.10 2003-06-14 Mike Kestner * gtk/TreeViewColumn.custom : cast Array param to object[] before indexing into it. 2003-06-14 Mike Kestner * glib/Value.cs : cast uint to TypeFundamentals 2003-06-14 Mike Kestner * CallbackGen.cs : rework for internal callback helpers, pass NS to parms ctor * Ctor.cs : pass NS to parms ctor * Method.cs : pass NS to parms ctor * Parameters.cs : refactoring, plus rework for internal callback helpers. * Signal.cs : pass NS to parms ctor 2003-06-14 Mike Kestner * parser/gapi2xml.pl : some whitespace parsing cleanup * api/*-api.xml : rerun of the parser. 2003-06-12 Mike Kestner * generator/SimpleGen.cs : mark a few members virtual since they are overridden elsewhere. 2003-05-29 Rachel Hestilow * gconf/Value.cs: Update to use new string marshalling. * generator/StringGen.cs, ConstStringGen.cs: Added. * generator/IGeneratable.cs: Add new method ToNativeReturn. * generator/CallbackGen.cs: Implement ToNativeReturn. Call ToNativeReturn for the return statement. Fix a couple of places where s_ret was being used incorrectly for m_ret. * generator/ClassGen.cs, EnumGen.cs, ManualGen.cs, SimpleGen.cs, StructBase.cs: Implement ToNativeReturn. * generator/SignalHandler.cs: Call ToNativeReturn for the return statement, instead of CallByName. * generator/SymbolTable.cs: Use StringGen for gchar, char, and gunichar, and ConstStringGen for their const variants. Add a new method wrapper for ToNativeReturn. (Trim): Add a special-case for const strings so that the const is not stripped. Otherwise there is no way of resolving the const case. * glade/XML.custom: Update to use new string marshalling. * glib/Marshaller.cs: Added. * glib/GException.cs, Markup.cs, ObjectManager.cs, Value.cs: Update to use new string marshalling. * glib/Object.cs: Remove old g_type_name DllImport as it is no longer used. * glue/fileselection.c (gtksharp_file_selection_get_fileop_entry): Mark this as const return. * gtk/ColorSelection.custom, FileSelection.custom, SelectionData.custom: Update to use new string marshalling. 2003-06-07 Martin Willemoes Hansen * generator/SymbolTable.cs: Added ulong 2003-05-27 Rachel Hestilow * sample/ManagedTreeViewDemo.cs: Remove debugging cruft. * gconf/.cvsignore, gconf/GConf/.cvsignore, gconf/GConf.PropertyEditors/.cvsignore, gconf/tools/.cvsignore, sample/gconf/.cvsignore, sample/rsvg/.cvsignore: Added. * .cvsignore, parser/.cvsignore: Update. 2003-05-27 Rachel Hestilow * gconf/GConf/ChangeSet.cs, Client.cs: Change SetValue from protected to internal, as it references an internal type. * gconf/GConf/ClientBase.cs: The same; additionally remove some commented-out code. Change Initialize from protected to internal. 2003-05-22 Rachel Hestilow * glib/ManagedValue.cs, glib/Value.cs: A few old-style DllImports snuck in during my last commit; update them to use Win32 dll names. 2003-04-28 Lee Mallabone * sources/Gtk.metadata, api/gtk-api.xml: Unhide GtkSizeGroup as it's a useful class. 2003-05-19 Rachel Hestilow * glib/ManagedValue.cs, TypeConverter.cs: Added. * glib/Value.cs: Make Value inherit from IDisposable, and move dtor to Dispose. Add generic object constructor with support for ManagedValue. Add a new Val property which will call the appropriate explicit cast. * glue/value.c: Add new glue function gtksharp_value_get_value_type. * gtk/TreeViewColumn.custom: Added. * gtk/ListStore.custom, TreeStore.custom: Add a number of SetValue overloads. Add convenience functtion AppendValues. Add new ctor that takes System.Type instead of GLib.TypeFundamentals. Add a GetValue convenience wrapper. * gtk/TreeView.custom: Add AppendColumn convenience functions. * sample/ManagedTreeViewDemo.cs: Added. * sample/Makefile.in: Update. * sample/TreeViewDemo.cs: Update to use new convenience APIs. 2003-05-18 Mike Kestner * generator/CallbackGen.cs : use non-static symtab, kill doc comments * generator/ClassBase.cs : use non-static symtab * generator/CodeGenerator.cs : use non-static symtab * generator/EnumGen.cs : kill doc comments, don't gen using System here * generator/GenBase.cs : gen using System here for all types * generator/InterfaceGen.cs : don't gen using System here. * generator/Method.cs : use non-static symtab * generator/ObjectGen.cs : kill doc comments, use non-static symtab * generator/OpaqueGen.cs : don't gen using System here. * generator/Parameters.cs : use non static symtab. * generator/Parser.cs : use non static symtab. add SimpleGen's and ManualGen's * generator/Property.cs : use non static symtab * generator/SignalHandler.cs : use non static symtab * generator/StructBase.cs : use non static symtab * generator/SymbolTable.cs : major refactoring. now uses SimpleGen and ManualGen IGeneratables to simplify the method and prop code. Is now instance based with a static prop to get the singleton instance, so that a this indexer can be provided to access the IGeneratables nicely. Gearing up to remove even more code from here by accessing IGeneratables directly. 2003-05-18 Mike Kestner * generator/ClassBase.cs : Use QualifiedName in spew * generator/ObjectGen.cs (Validate): kill, not used 2003-05-13 Mike Kestner * COPYING : Add the license. This is copied verbatim from http://www.gnu.org/licenses/lgpl.txt. 2003-05-13 Mike Kestner * configure.in : bump the version to 0.10 * generator/CallbackGen.cs (GenWrapper): Update sig preparing for external assembly wrapper generation. Kill doc comment generation. Make marshaling delegate internal. 2003-05-07 Mike Kestner * generator/ClassBase.cs (GenSignals): remove doc comment param * generator/GenBase.cs (CreateWriter): alter generated file comment * generator/InterfaceGen.cs (CreateWriter): remove doc comments * generator/ObjectGen.cs (Generate): use new GenSignals sig * generator/Signal.cs : make signal marshalers internal and remove doc comments. * generator/SignalHandler.cs : make signal marshalers internal and remove doc comments. * gnome/CanvasProxy.cs : use Gnome.voidObjectSignal since the gtk one is inaccessible now. 2003-05-05 Gonzalo Paniagua Javier * rsvg/Makefile.in: * sample/rsvg/Makefile.in: hopefully fixes building from scratch. * rsvg/Tool.cs: the class should be public. 2003-05-02 Alp Toker * sources/gtk-sharp.sources: * api/glade-api.xml: * glade/XML.custom: Use libglade-2.0-0.dll not glade-2.0 (for win32) 2003-04-30 Mike Kestner * tagging for release 0.9 2003-04-28 Lee Mallabone * api/gtk-api.xml, sources/Gtk.metadata: Add a rule to hide classes/structs that are private in Gtk+. 2003-04-28 Gonzalo Paniagua Javier * sample/Scribble.cs: patch from Philip Van Hoof taht fixes compilation. 2003-04-25 Charles Iliya Krempeaux * README : Updated to reflect the name change or the "MonkeyGuide" to the "Mono Hand Book". Updated to give the (new) correct chapter number for the GNOME.NET section. Added mention of the Gtk# Wiki. 2003-04-25 Charles Iliya Krempeaux * gtk-sharp.pc.in, parser/gapi.pc.in : Both of these files were checked in as empty files, before. Checked them in, this time, with something in them. 2003-04-16 Charles Iliya Krempeaux * gdk/EventKey.custom : Created it so that there is a "Key" property that returns a Gdk.Key. 2003-04-15 Gonzalo Paniagua Javier * gtk/TreeView.custom: (GetPathAtPos): added 3 overloads of this method so that the caller does not need to create extra variables that may not use. * api/gtk-api.xml: * sources/Gtk.metadata: added pass_out attribute for tx and ty arguments of TreeView::WidgetToTreeCoords. Hide TreeView::GetPathAtPos. 2003-04-14 Charles Iliya Krempeaux * gtk-sharp.pc.in : Created to be used for the detection of Gtk#. * parser/gapi.pc.in : Created to be used for the detection of gapi.pl. * makefile : Deleted it. (Actually, renamed it to Makefile.in.) * Makefile.in : Created it from the old makefile, and modified it to account for gtk-sharp.pc. * configure.in : Made it so it will generate gtk-sharp.pc from gtk-sharp.pc.in, parser/gapi.pc from parser/gapi.pc.in, and Makefile from Makefile.in. * parser/Makefile.in : Modified it to account for parser/gapi.pc. 2003-04-14 Lee Mallabone * api/gtk-api.xml, sources/Gtk.metadata, gtk/ColorSelection.custom: Fix up API in ColorSelection - Palette{From,To}String now work, and PreviousColor is now a C# property. * api/gdk-api.xml, sources/Gdk.metadata, gdk/Color.custom: Hide the Copy, Free and Hash methods in Gdk.Color and override GetHashCode(). 2003-04-12 Alp Toker * parser/gen_keysyms: Generates a C# Key enum from the Gdk headers (gdkkeysyms.h) * gdk/Key.cs: The generated Key enum 2003-04-09 Gonzalo Paniagua Javier * 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. 2003-04-03 Gonzalo Paniagua Javier * 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. 2003-04-04 Lee Mallabone * gdk/Drawable.custom: * sources/Gdk.metadata: * api/gdk-api.xml: Apply a modified version of a patch from Artemis , to fix and clean DrawPolygon and DrawLines in Gdk.Drawable. 2003-04-02 Charles Iliya Krempeaux * generator/SignalHandler.cs : Added Patch submitted by Mark Crichton , to get GtkMozEmbed bindings working. 2003-04-02 Lee Mallabone * gtk/Entry.custom: Add a constructor that sets the initial contents. * sources/Gtk.metadata: * api/gtk-api.xml: Fix API 'out' parameters in 'Frame' and some in 'Widget'. 2003-03-27 Lee Mallabone * api/gtk-api.xml, sources/Gtk.metadata, gtk/Viewport.custom: Add default constructor to Viewport. 2003-03-25 Lee Mallabone * api/gtk-api.xml: Allow parameters in TreeView.ScrollToCell to be null. * source/Gtk.Metadata: Mark TreeView.ScrollToCell() with some null_ok params. 2003-03-25 Martin Baulig * gtk/Application.cs (CurrentEvent): Made this property static. 2003-03-25 Gonzalo Paniagua Javier * sample/rsvg/Makefile.in: don't build the sample app. everytime. 2003-03-25 Gonzalo Paniagua Javier * 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. 2003-03-23 Martin Baulig * glib/Object.cs (Dispose): Call `Objects.Remove (_obj)' here instead of in PerformQueuedUnrefs(). 2003-03-22 Gonzalo Paniagua Javier * sample/Fifteen.cs: work-around for bug 106145 in gnome bugzilla. * sample/DbClient/client.cs: updated to make it compile again. 2003-03-22 Gonzalo Paniagua Javier * 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. 2003-03-22 Lee Mallabone * sample/makefile.in: * sample/CalendarApp.cs: Add a sample showing a Gtk.Calendar. 2003-03-15 Duncan Mak * 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 . 2003-03-15 Miguel de Icaza * sample: Update samples to new Glade.Widget. * glade/WidgetAttribute.cs: Moved the old GladeWidgetattribute here. Now its called `Glade.WidgetAttribute'. * glade/GladeWidgetAttribute.cs: Removed * glib/Idle.cs: Do not allow Idle class to be instantiated. 2003-03-11 Miguel de Icaza * gtk/Application.cs (CurrentEvent): Property implementing the suggestion from Paolo. * glib/Object.cs (Dispose): Destructor might be invoked in a thread, queue the object for destruction using the Gtk idle handler. We perform the real destruction of the object in the same thread as the Gtk+ main thread. 2003-03-14 Charles Iliya Krempeaux * sources/makefile : Added a "distclean" rule, so that typing it will remove any source code directories, and their contents. (This works by just deleting all the subdirectories. Except for "CVS" of course.) 2003-03-14 Charles Iliya Krempeaux * sample/Makefile.in : Modified it to make it so "make clean" will clean the "sample/rsvg" directory too. And made it so a "make distclean" will do a distclean to the "sample/rsvg" too. * sample/rsvg/Makefile.in : Added the "distclean" rule to it. 2003-03-14 Rodrigo Moya * configure.in: * sources/makefile: * sources/gtk-sharp.sources: updated for libgda/libgnomedb 0.11. * sources/Gda.metadata: hide GdaBatch class. 2003-03-13 Charles Iliya Krempeaux * 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#. 2003-03-13 Duncan Mak * gdk/Pixbuf.custom: Add a nice version of Gdk.Pixbuf.Pixels that return a 'byte *'. * sources/Gdk.metadata: * api/gdk-api.xml: Hide Gdk.Pixbuf.Pixels. 2003-03-10 Miguel de Icaza * gtk/Application.cs: Do not allow instances of Application to be created. (InitCheck): new method, wraps gtk_init_check. Removed inline docs from here. Put them on the documen 2003-03-08 Miguel de Icaza * glib/Idle.cs: Add private constructor. 2003-03-05 Miguel de Icaza * gtk/Bin.cs: Add new property `Child' to GtkBin. 2003-03-06 Mike Kestner * rsvg/Makefile.in : some -L -r magic 2003-03-03 Miguel de Icaza * gdk/Rectangle.custom: Add a Rectangle constructor that takes for arguments. 2003-03-02 Miguel de Icaza * glib/Markup.cs: Add new file. 2003-03-01 Peter Williams * glue/Makefile.am (libgtksharpglue_la_LIBADD): Change this to BASE_DEPENDENCIES_LIBS 2003-03-01 Mike Kestner * api/gdk-api.xml : make Color.Parse retval a gboolean. Also change some libname override rules to use win32 dllnames. * sources/Gdk.metadata : rules for above. 2003-03-01 Charles Iliya Krempeaux * sources/README : Updated it to include mention of GStreamer and librsvg. Also mentioned being able to use "make get-source-code" to get the source code too. Then added alot of content. And basically rewrote it. 2003-02-28 Miguel de Icaza * glue/widget.c (gtksharp_gtk_widget_get_window): Fix. Return the window, not the address of the window pointer. 2003-02-28 Gonzalo Paniagua Javier * generator/SignalHandler.cs: the generated Dispose method now calls base.Dispose and always disconnects the handler. Thanks to Petr Danecek . 2003-02-28 Gonzalo Paniagua Javier * api/gdk-api.xml: * sources/Gdk.metadata: hide GdkColormap.AllocColor. * gdk/Colormap.custom: AllocColor is here. * gconf/tools/schemagen.cs: XmlDocument.Load (string) takes an Uri. 2003-02-28 Miguel de Icaza * gdk/Color.custom: Added constructors from System.Drawing.Color and from rgb byte tuples. * gdk/Colormap.custom: Add new .custom file for the AllocColor call. * sources/Gdk.metadata: Make Colormap.AllocColor GdkColor parameter be a `ref' parameter. 2003-02-27 Charles Iliya Krempeaux * sample/rsvg : Created place to put sample program that uses Rsvg#. * sample/Makefile.in : Edited it to make it "make" the stuff in "sample/rsvg". * sample/rsvg/Makefile.in : Added it to "make" the Rsvg# sample program. * sample/rsvg/svghelloworld.cs : Added it. It's the sample Rsvg# program. * sample/rsvg/sample.cvs : Added it. It's a sample SVG file that the program displays. * configure.in : Modified it so it will create sample/rsvg/Makefile from sample/rsvg/Makefile.in. 2003-02-27 Charles Iliya Krempeaux * sources/makefile : Updated the "make get-source-code" functionality to create the Symbolic Links and get gtkhtml from CVS, as specified by "sources/READDME". 2003-02-27 Miguel de Icaza * gdk/Drawable.custom: Added nice overload for DrawRectangle. 2003-02-19 Miguel de Icaza * gdk/Pixbuf.custom: Add overload arguments that take a System.Drawing.Color. Added a Clone() method, to implement the ICloneable interface. Added constructors for inlined in-data RGB/RGBA buffers and file images. 2003-02-26 Charles Iliya Krempeaux * gtk/TextBuffer.custom : Added method, named "GetIterAtOffset" to wrap C API procedure "gtk_text_buffer_get_iter_at_offset" in a more expected way. 2003-02-26 Charles Iliya Krempeaux * configure.in : Added support for Rsvg.NET -- librsvg .NET bindings. (Made a check for the library. And made it so "rsvg/Makefile" would be generated. Also made it so it will display if rsvg-sharp.dll will be generated or not.) * makefile : Added support for Rsvg.NET -- librsvg .NET bindings. (Added an entry for Rsvg.NET.) * sources/gtk-sharp.sources : Added an entry for Rsvg.NET -- librsvg .NET bindings. * rsvg/ : Created "rsvg/" directory. (To hold stuff for Rsvg.NET.) * rsvg/Tool.cs : Created Rsvg.Tool class to hold various procedures (which were not automatically wrapped). * rsvg/Makefile.in : Created "rsvg/Makefile.in". * api/Makefile.in : Added and entry for Rsvg.NET. 2003-02-26 Gonzalo Paniagua Javier * generator/Parser.cs: use XmlDocument.Load (Stream). The one using (String) expects an uri. * generator/Signal.cs: always remove the delegate from the signal callback (prior to this, the last handler was not being removed). Dispose the callback (ie, disconnect from the signal) when there are no registered delegates to handle it. * generator/SignalHandler.cs: added 2 new fields to hold the instance and the handler ID. The finalization is now done in Dispose and disconnects the signal handler when no delegate will handle the signal. Changed gobject-2.0 to libgobject-2.0-0.dll. * glib/SignalCallback.cs: implemented IDisposable interface. 2003-02-24 Mike Kestner * released 0.8 2003-02-24 Mike Kestner * sample/TreeViewDemo.cs : fix Type ambiguities 2003-02-24 Mike Kestner * sample/Subclass.cs : rework the GType code. 2003-02-24 Mike Kestner * generator/Parameters.cs : fix some ref/out bugs 2003-02-24 Mike Kestner * generator/ObjectGen.cs : gen GLib.Value ctor, not uint * glib/Object.cs : use GLib.Type in RegisterGType and make the g_object_new ctor use GLib.Type. * glib/Type.cs : new thin wrapper for GValue type * glib/*.cs : s/Type/System.Type 2003-02-23 Mike Kestner * generator/GenBase.cs : quote the custom filenames in #file directives. 2003-02-23 Mike Kestner * generator/CallbackGen.cs : suppress len params from string/len pairs. * generator/Parameters.cs : begin the refactoring to use Parameter class. Suppress len params from string/len pairs. */*.custom : remove all overrides of string/len pairs */*.cs : ditto. Thanks to Alp Toker for the foundation patch that this change was built upon. 2003-02-22 Mike Kestner * sources/makefile : patch from Charles Krempeaux to add get-source-code target which wgets tarballs. 2003-02-21 Mike Kestner * mapdllnames.pl : a little whitespace action * api/*-api.xml : move to win32 dllnames * */makefile.win32 : remove the mapdllnames step * */*.cs : move to win32 dllnames * */*.custom : move to win32 dllnames * sources/gtk-sharp.sources : move to win32 dllnames 2003-02-21 Mike Kestner * api/*-api.xml : remove stray enum get_type methods. * parser/gapi2xml.pl : ignore get_type methods on enums. 2003-02-20 Mike Kestner * api/gtk-api.xml : hide the Arrow::Set method. * sources/Gtk.metadata : metadata for above. 2003-02-19 Mike Kestner * generator/Parameters.cs (Initialize): construct a GLib.Value for out params. 2003-02-19 Mike Kestner * api/gtk-api.xml : mark TreeModel::GetValue value param out suggested by Lee Mallabone * sources/Gtk.metadata : metadata for above * sources/README : update the gnomedb/gda version reqs 2003-02-19 Duncan Mak * sources/Gtk.metadata: Add GetLayoutOffsets to the rule for out params. * gtk/FileSelection.custom (Button): Rename to FSButton, so that we won't wipe out our original Gtk.Button docs. 2003-02-19 Mike Kestner * generator/GenBase.cs : mark #line 1 for .customs * generator/SignalHandler.cs : fix for GObj retvals 2003-02-18 Mark Crichton * generator/EnumGen.cs: Handle different enum types. 2003-02-14 Duncan Mak * api/gtk-api.xml: * sources/Gtk.metadata: Mark 'out' param in GetSelectionBounds, thanks to Lee Mallabone for spotting that. 2003-02-13 Mike Kestner * glib/Boxed.cs : fix a ctor bug reported to the list by u900842@oz.nthu.edu.tw. 2003-02-13 Mike Kestner * sample/Makefile.in: add a distclean target 2003-02-13 Charles Iliya Krempeaux * README : Clarifications and additions 2003-02-13 Stefan Sarin * gdk/Color.custom: fixed ToString (). 2003-02-13 Gonzalo Paniagua Javier * gconf/GConf/Client.cs: * gconf/GConf/NoSuchKeyException.cs: added key string to the exception when Get does not find it. 2003-02-11 Duncan Mak * gnome/voidObjectAffineSVPintSignal.cs: * gnome/CanvasProxy.cs: Make the voidObjectAffineSVPintSignal class be in the 'GtkSharp' namespace, instead of 'GtkSharp.Gnome'. 2003-02-10 Gonzalo Paniagua Javier * glade/XML.custom: added a couple of checks for null. 2003-02-09 Duncan Mak * sources/Gtk.metadata: * api/gtk-api.xml: Gtk.Editable.InsertText should have the position be marked 'ref', not 'out', because it is an in-out parameter. * gtk/Entry.custom: Overload for InsertText. * gtk/Clipboard.custom: New overload for SetText. * sources/Gtk.metadata: Mark out params for methods in GtkCalendar, GtkCellRenderer, GtkWindow, GtkRuler, GtkLayout, GtkScrolledWindow and GtkSpinButton. Monotalk is very useful for this kind of work. 2003-02-08 Radek Doulik * glib/MainContext.cs: beginning of MainContext class, just Iteration and Pending methods to be able to refresh Gtk in the middle of time consuming function where it's not worth while to use threads * glue/style.c (gtksharp_gtk_style_get_font_description): new function to access style's font_description field * gtk/Style.custom: added font description property * gconf/GConf/Client.cs: added SyggestSync method 2003-02-07 Peter Williams * glue/Makefile.am (libgtksharpglue_la_LIBADD): Set this so that people linking to libgtksharpglue.so get their dependencies. (I've had this patch sitting around forever, I think it got approved, and it certainly appears correct.) 2003-02-07 Martin Willemoes Hansen * Added a constructor to gdk/Point.custom 2003-02-07 Gonzalo Paniagua Javier * sample/gconf/Makefile: defined top_builddir. RUNTIME is just 'mono'. 2003-02-06 Duncan Mak * sources/Gtk.metadata: Correct the metadata for the HTMLStream Write method to make it always regenerate the correct stuff. Thanks to Rachel for helping me out at the middle of the night. 2003-02-06 Duncan Mak * api/gtk-api.xml: * sources/Gtk.metadata: * gtk/Window.custom: Mark out params in gtk_window_get_size and gtk_window_get_default_size. 2003-02-06 Gonzalo Paniagua Javier * glib/SignalCallback.cs: new methods AddDelegate and RemoveDelegate. * generator/Signal.cs: add/remove signal handlers from the delegate used to invoke them. * generator/SignalHandler.cs: use Delegate instead of MulticastDelegate. 2003-02-05 Rodrigo Moya * gda/Application.cs: * gnomedb/Application.cs: synced version number with its corresponding C library version. 2003-01-29 Duncan Mak * gtk/Widget.custom: Add a nice overload, rename it to 'RequestSize' instead of 'SizeRequest' to avoid a name clash. * api/gtk-api.xml: * sources/Gtk.metadata: out param for gtk_widget_get_size_request. * gtk/Window.custom: Add some overloads. * api/gtk-api.xml: * sources/Gtk.metadata: * sources/Pango.metadata: Add some more metadata rules. 2003-01-28 Rodrigo Moya * configure.in: * api/gda-api.xml: * api/gnomedb-api.xml: * sources/gtk-sharp.sources: * sources/Gda.metadata: added support for latest libgda/libgnomedb. 2003-01-22 Radek Doulik * sources/Gtk.metadata: disable default contructor for Frame in metadata * parser/gapi2xml.pl: add comment to .xml files with warning that they were auto generated 2003-01-20 Mike Kestner * released 0.7. 2003-01-12 Martin Baulig * parser/gapi2xml.pl (addNameElem): Make this work if the $cname doesn't start with $prefix. 2003-01-10 Duncan Mak * gtk/TextView.custom (WindowToBufferCoords): Remove the hack, as the generator produces correct code now. * sources/Gtk.metadata (GtkTextView): Add a patch from Fredrik Nilsson to add needed 'out' parameters. 2003-01-09 Rodrigo Moya * makefile: * configure.in: * api/Makefile.in: * api/gphoto-api.xml: * sources/gtk-sharp.sources: * gphoto/Makefile.in: * gphoto/.cvsignore: removed gphoto2 bindings, to be moved to mphoto. 2003-01-06 Pedro Abelleira Seco * pango/Layout.custom: Add Size get property and add some nicer overloads to avoid explicit passing in the string length 2003-01-05 Pedro Abelleira Seco * gdk/Drawable.custom: Add Size get property 2003-01-05 Duncan Mak * pango/GlyphString.custom: Add some nicer overloads to avoid explicit passing in the string length. 2003-01-05 Duncan Mak * generator/GenBase.cs (AppendCustom): Add #region to code from .custom files. * generator/*Gen.cs: Add #region markers. 2003-01-05 Duncan Mak * sources/Gtk.metadata (TextIter.ForwardSearch): Add out param (TextIter.BackwardSearch): Add out param here too. * sources/Gdk.metadata (Drawable.GetSize): Add out param. * gtk/TextBuffer.custom (Clear): Add a new Clear method. 2003-01-02 Alp Toker * api/gst-api.xml: Give int values to the ElementState enum, remove incorrectly generated SetInternalConnectionFunction and a duplicated type field 2003-01-01 Alp Toker * glade/XML.custom: Determine name of GladeWidget if none specified * glade/GladeWidgetAttribute.cs: ditto 2003-01-01 Rachel Hestilow * glade/XML.custom: New method BindFields. (Autoconnect): Call BindFields. * glade/GladeWidgetAttribute.cs: Added. * sample/GladeTest.cs: Test GladeWidgetAttribute. 2002-12-25 Rodrigo Moya * sources/gtk-sharp.sources: added libgphoto2. * api/gphoto-api.xml: added API file for libgphoto2. * gphoto/Makefile.in: added Makefile for building libgphoto2 bindings. * makefile: * configure.in: * api/Makefile.in: added libgphoto2 to build. 2002-12-25 Alp Toker * doc/makefile: Accept the RUNTIME parameter for platforms without /usr/bin/mono * sample/gconf/Makefile: ditto 2002-12-24 Mike Kestner * generator/ObjectGen.cs : generate protected GType ctors * generator/SymbolTable.cs : map GType to uint * glib/Object.cs : add GType ctor. add RegisterGType. * glue/type.c (gtksharp_register_type): new GType registrar * */*.custom : make GType params uints * sample/Subclass.cs : a simple type registration example 2002-12-24 Alejandro Sánchez Acosta * samples/tutorial/notebook: Added notebook sample. 2002-12-23 Alp Toker * glib/Thread.cs: Add a class for thread awareness * gdk/Threads.cs: ditto 2002-12-22 Kristian Rietveld * sources/Gnome.metadata: add out param rules for a bunch of Canvas methods (pointed out by Paul Duran). * api/gnome-xml.api: updated 2002-12-22 Robert McQueen * makefile: when doing distclean, attempt distclean on all the C# subdirs too * gconf/Makefile.in: added distclean target to rm the Makefiles in the subdirs of gconf/ * glue/Makefile.am: build libgtksharpglue as an unversioned module to avoid so -> so.0 -> so.0.0 symlink mess * */Makefile.in: call mkinstalldirs before installing any files so that subdirs can be installed seperately or in any sequence (eg binding dirs before native dirs) 2002-12-20 Alp Toker * api/gst-api.xml: Make Gst# link to libgstreamer.so as per pkg-config --libs gstreamer * sources/gtk-sharp.sources: ditto * gst/Application.cs: ditto * gst/Makefile.in: Reference the newly-built glib-sharp 2002-12-15 Alejandro Sánchez Acosta * sample/tutorial/spinbutton/SpinButton.cs: Added new SpinButton sample for the GTK# tutorial. * sample/tutorial/Makefile: Added new SpinButton sample. 2002-12-15 Gonzalo Paniagua Javier * api/gdk-api.xml: * sources/Gdk.metadata: PixbufLoader.Pixbuf have to ref the new Pixbuf. 2002-12-12 Gonzalo Paniagua Javier * glib/Log.cs: removed the IntPtr argument and keep a reference to the delegate passed to unmanaged world as suggested by rachel. 2002-12-11 Juli Mallett * gconf/Makefile.in, sample/Makefile.in: Use $(MAKE) not "make." * parser/Makefile.in: Use CFLAGS and CPPFLAGS hints from configure, and the base dependency CFLAGS. Fixes case where iconv.h is outside of the compiler's default path. 2002-12-10 Mike Kestner * released 0.6. 2002-12-10 Gonzalo Paniagua Javier * glib/Log.cs: New file. Wraps a few logging functions. Useful for debugging. 2002-12-10 Gonzalo Paniagua Javier * generator/Signal.cs: generate correct type name for EventArgs. 2002-11-29 Duncan Mak * gtk/TextBuffer.custom (Text): Add a new Text property. 2002-11-26 Gonzalo Paniagua Javier * sample/DbClient/GnomeDbClient.cs: * sample/DbClient/client.cs: make them build. 2002-11-25 Alejandro Sánchez Acosta * Added eventbox, rangewidget, scribble and packing sample widget. * Changed togglebutton sample. 2002-11-21 Mike Kestner * api/*.xml : a few new attrs * generator/Parameters.cs : remove redundant ref keywords * gtk/ListStore.custom: overload SetColumnTypes * gtk/TreeStore.custom: overload SetColumnTypes * parser/GAPI/Metadata.pm : allow callback nodes at class level * sources/Gtk.metadata : hide ClipboardClearFunc and GetFunc, tag types param of SetColumnTypes as array, uncomment needs_ref tags on Widget methods to match the current api.xml file 2002-11-19 Mike Kestner * gtk/Dialog.custom : bind another ctor 2002-11-17 Radek Doulik * glib/Value.cs: cast Typefundamentals.* to uint (GType is unsigned int), fix Value (GLib.Object) - use new GetGType method * glib/Object.cs: new GetGType method, returns _obj GType 2002-11-17 Daniel Morgan * pango/Scale.cs: added file containing constants for text widgets needing Pango Scale Attribute 2002-11-13 Vladimir Vukicevic * gtk/CanvasItem.custom: use base() to set Raw in constructor, so that the ref counting semantics get correctly set up 2002-11-10 Gonzalo Paniagua Javier * glade/XML.custom: converted from Latin1 to UTF8 to make the generator go on. 2002-11-10 Vladimir Vukicevic * glib/Object.cs: add needs_ref boolean that controls whether we need to ref this object once we have a pointer to it or not. By default this is set to true -- constructors and other functions where we do own the object need to set this to false before setting the "Raw" property. Also added Unref and RefCount methods. * glue/object.c, glue/type.c: some utility functions for refcounting support * gdk/Pixbuf.custom: manually wrap a few functions so that the refcount ends up being correct at the end (need an extra Unref) * api/gdk-api.xml, sources/Gdk.metadata: metadata updates for hiding manually-wrapped Pixbuf stuff 2002-11-10 Vladimir Vukicevic * generator/StructBase.cs: create a Zero static member for use when the IntPtr is NULL. * generator/SignalHandler.cs, generator/CallbackGen.cs: removed call to Initialize for structs * gtk/Clipboard.custom, gtk/ClipboardClearFunc.cs, gtk/ClipboardGetFunc.cs, gtk/GtkSharp.GtkClipboardClearFuncNative.cs, gtk/GtkSharp.ClipboardGetFuncNative.cs, SelectionData.custom: Hand-wrapped selection handling stuff, along with relevant signals and the like. * gnome/voidObjectAffineSVPintSignal.cs: removed Initialize for hand-wrapped signal * sample/GnomeHelloWorld.cs, sample/Size.cs: compare against .Zero instead of using IsNull * api/gtk-api.xml, sources/Gtk.metadata: metadata updates for hiding some manually-wrapped stuff 2002-11-10 Alejandro Sánchez Acosta * sample/tutorial: added some examples for the gtk# tutorial 2002-11-06 Duncan Mak * sample/Scribble.cs: Make it compile. 2002-11-06 Gonzalo Paniagua Javier * autogen.sh: * configure.in: added configuration summary. 2002-11-03 Alp Toker * sources/gtk-sharp.sources: Update to support GStreamer 0.4.2 * api/gst-api.xml : ditto * gst/Application.cs : ditto 2002-11-01 Alp Toker * configure.in : Add GStreamer support * api/Makefile.in : ditto * api/gst-api.xml : ditto * sources/gtk-sharp.sources: ditto * gst/Makefile.in : ditto * gst/Application.cs : Gst initialization * sample/GstPlayer.cs : An example which uses the Gst binding * generator/Parameters.cs : Add 'fixed' keyword to name mangler * generator/StructBase.cs : ditto * generator/Parameters.cs : Fix Initialize() for set accessors * generator/Ctor.cs : ditto * generator/Method.cs : ditto * generator/SymbolTable.cs : Add gint64, guint64 to simple types 2002-10-29 Mike Kestner * generator/Signal.cs : Fix namespacing of Args. 2002-10-27 Mike Kestner * configure.in : bump version to 0.6. 2002-10-26 Mike Kestner * gconf/GConf.PropertyEditors/PropertyEditorColorPicker.cs : ns stuff * glade/XML.custom : more GnomeSharp namespace stuff * gnome/CanvasProxy.cs : ditto * sample/CanvasExample.cs : ditto * sample/Fifteen.cs : ditto * sample/GnomeHelloWorld.cs : ditto 2002-10-26 Mike Kestner Much of this patch from Vlad, with substantial rework by mk. * */makefile.win32 : introduce mapdllnames.pl, api, and glue * generator/CallbackGen.cs : rework namespacing for csc compilation * generator/Parameters.cs : ditto * generator/Signal.cs : ditto * generator/SignalHandler.cs : ditto * glue/win32dll.c : new dll construction source * glib/Value.cs : new ushort ctor/cast operator * gtk/Table.custom : comment this out until we add a default ctor tag * gtk/ThreadNotify.cs : make ReadyEvent public * sources/Gdk.metadata : mark a Parse() param as ref 2002-10-26 Ettore Perazzoli * glib/Object.cs: Changed so that Objects is a hash of WeakReferences instead of hashing the real objects. Without this change, GObjects were never collected. (Raw, set): Put a WeakReference to the object in Objects. (Object.GetObject): Get the WeakReference from Objects, and from there the actual object. (Object.DisposeNative): Remove the Raw pointer from Objects. 2002-10-26 Mike Kestner * api/*.xml : get libgda and libgnomedb metadata setup * gconf/*/Makefile.in : patch from MauricioC for -L's and /r's * gnomedb/Makefile.in : patch from MauricioC for -L's and /r's * generator/ClassBase.cs (ctor): mangle hash names for sigs and props * generator/Parameters.cs (MangleName): handle params, null, and ref * generator/Parser.cs (ParseNamespace): ignore "hidden" types * generator/StructBase.cs (MangleName): handle params, null, and ref * glib/Object.cs (Equals): kill, also kill == and != * sources/Gda.metadata : new, make Gda behave without hand edits * sources/GnomeDb.metadata : ditto 2002-10-21 Vladimir Vukicevic * glade/XML.custom: add SetCustomHandler() wrapper 2002-10-20 Miguel de Icaza * glib/Object.cs: Avoid recursive calls with the previous operator != and operator == 2002-10-19 Duncan Mak * glib/Source.cs: Added. 2002-10-19 Miguel de Icaza * glib/Object.cs: Added operator != and operator == overloads. 2002-10-19 Rachel Hestilow * gconf, sample/gconf: Added. * glue/combo.c: This was never added, add it now. * configure.in, makefile, sample/Makefile.in: Build new gconf bindings if gnome is enabled. 2002-10-14 Mike Kestner * glib/Object.cs (GetObject): remove (int) cast 2002-10-11 Martin Baulig * gtk/Combo.custom: New file. (Combo.SetPopdownStrings): New method to set the popdown strings from a string array. 2002-10-11 Martin Baulig * glib/ListBase.cs (ListBase.Append): New public method. (ListBase.Prepend): New public method. 2002-10-11 Martin Baulig * glib/FileUtils.cs: New file. Wrapped g_file_get_contents() here. 2002-10-10 Mike Kestner * generator/CallbackGen.cs : some fixes * generator/Parameters.cs (CreateSignature): handle void params 2002-10-10 Miguel de Icaza * gtk/ThreadNotify.cs: Avoid multiple notifications. 2002-10-09 Miguel de Icaza * glue/adjustment.c (gtksharp_gtk_adjustment_get_page_size): Added the glue. * gtk/Adjustment.custom: Added some more methods 2002-10-08 Kristian Rietveld (So Miguel told me just to go ahead and commit -kris) * gtk/TreeSelection.custom: new file, defines a working GetSelected method (GetSelected is a bit tricky function). * generator/InterfaceGen.cs (Generate): also call AppendCustom * sources/Gtk.metadata: hide the autogenerated Gtk.TreeSelection.GetSelected method. 2002-10-08 Miguel de Icaza * gdk/Point.custom: Use (x,y) instead. * gdk/Color.custom: Use the X rgb color format specification. * gdk/Rectangle.custom: Use the X geometry format for Rectangles. 2002-10-07 Vladimir Vukicevic * glue/style.c, gtk/Style.custom: handle getting GC's and colors correctly -- it's not possible to marshal arrays from C-land to mono correctly, so indexed accessors have to be used. 2002-10-08 Duncan Mak * gdk/Color.custom: * gdk/DeviceAxis.custom: * gdk/Point.custom: * gdk/Rectangle.custom: Committed ToString patches contributed by Jasper van Putten 2002-10-05 Vladimir Vukicevic * glib/GException.cs: g_clear_error takes a GError **, not a GError *. Added refs to get the **. 2002-10-04 Vladimir Vukicevic * glib/ObjectManager.cs, glue/type.c: If there isn't an exact match for a C GObject class (i.e. BluecurveStyle), walk up the gobject type hierarchy until we find a type that we do have a wrapper for, and return that. This means that you'll always, worst-case, end up with a GObject. * glib/Value.cs, glue/value.c: Added default constructor to GLib.Value() that creates a new value with a type of INVALID, and changed the glue function to not call gtk_type_init if INVALID is passed. 2002-10-02 Vladimir Vukicevic * gtk/TreeView.custom: added TreeView Handle as argument to set_model in Model property 2002-09-29 Rachel Hestilow * glue/canvas-proxy.c (update), glue/canvas-proxy-marshal.list: Marshal the array as a pointer for now. * gnome/voidObjectAffineSVPintSignal.cs: Added. * gnome/CanvasProxy.cs (Update): Use a custom signal handler. 2002-09-23 Miguel de Icaza * gtk/Style.custom: bind it. * gtk/Widget.custom: bind it. * glue/widget.c: Wrapper to fetch a GdkWindow from a widget. * glue/style.c: wrapper routines for getting/setting the thickness on a GtkStyle. 2002-09-21 Miguel de Icaza * gtk/TreeView.custom: Add Model.set to the TreeView 2002-09-21 Rachel Hestilow * parser/gapi2xml.pl: Adjust enum regex to allow negative values. 2002-09-16 Martin Baulig * gnome/Modules.cs (Module): Make this class public. * sample/CanvasExample.cs: Insert a missing `break' in a switch section to make this compile. * sample/Scribble.cs: Added missing casts from EventMask to int. 2002-09-15 Ricardo Fernandez Pascual * glade/XML.custom: Added a constructor to read the glade file from a stream and to read it from a resource in an assembly. * sample/Makefile.in * sample/GladeTest.cs: Embed the glade file as a resource and use the new constructor. 2002-09-13 Ricardo Fernandez Pascual * glade/HandlerNotFoundExeception.cs: Added. * glade/Makefile.in * glade/XML.custom: Support for autoconnecting signals using reflection. * glib/SignalAttribute.cs: Added. * generator/Signal.cs: Mark events generated from glib signals with the "Signal" attribute. * sample/GladeTest.cs * sample/Makefile.in * sample/test.glade: Test of signal autoconnection. 2002-09-12 Rachel Hestilow * sources/Gtk.metadata: Set null_ok on the callback argument to Menu.Popup. * generator/Parameters.cs: Handle null_ok properly for callback arguments. 2002-09-11 Miguel de Icaza * glib/Object.cs (DisposeNative): Call GC.SuppressFinalize, and set the obj to null. 2002-09-11 Rachel Hestilow * glib/Object.cs (Ref): Added. * gtk/Object.custom (Ref): Overload. Note that we were reffed. (DisposeNative): Unref if we were explicitly reffed. * generator/Method.cs: Call Ref if needs_ret is set. * generator/StructBase.cs: Call Ref on all object accessors. * glue/style.c: Ref returned GCs. * sources/Gtk.metadata: Set needs_ret on various gdk-related accessors in GtkWidget. Hide Ref/Unref methods on Widget and RcStyle as these ought to be deprecated anyway. 2002-09-11 Rodrigo Moya * gnomedb/Makefile.in: * gnomedb/Application.cs: added class for libgnomedb initialization. * sample/DbClient/GnomeDbClient.cs: new test file for libgnomedb. 2002-09-08 Rodrigo Moya * makefile: * configure.in: * sources/gtk-sharp.sources: added needed stuff for libgnomedb. * gnomedb/Makefile.in: * api/Makefile.in: * api/gnomedb-api.xml: new files for libgnomedb API. 2002-09-07 Rachel Hestilow * parser/gapi2xml.pl: Add support for "fake struct" opaque types. * generator/StructBase.cs: Generate wrapper fields for opaque fields as well as pointer fields. * api/gdk-symbols.xml: Remove GdkAtom as it is now wrapped. 2002-09-05 Gonzalo Paniagua Javier * sample/DbClient/client.cs: updated to make it compile. 2002-09-04 Mike Kestner * generator/ObjectGen.cs : generate dtors. * glib/Object.cs : Implement IDisposable. Add a new DisposeNative method. Implement default dtor. * glue/object.c : new gtksharp_object_unref_if_floating method. * gtk/Object.custom : override DisposeNative to check float bit. 2002-09-03 Juli Mallett * parser/Makefile.in: Use $(CC) instead of 'cc'. 2002-09-01 Rodrigo Moya * gda/Application.cs: new class for libgda initialization and event loop management. * gda/Makefile.in: added new file as a dependency. 2002-09-01 Gonzalo Paniagua Javier * glib/ListBase.cs: fixed compilation (the base class must be at least as accesible as the derived ones). 2002-08-31 Rodrigo Moya * api/gda-api.xml: new file for the libgda API. * gda/*: added libgda bindings. * sources/README: updated requirements. 2002-08-31 Rachel Hestilow Proper GList, GSList support. Read-only for now. * glue/list.c: Added. * glue/Makefile.am: Add list.c * glue/type.c: Add function gtksharp_is_object. * glib/ListBase.cs, List.cs: Added. * glib/SList.cs: Inherit from ListBase. * glib/Object.cs: Add static method "IsObject". * generator/Method.cs: Pass on element_type to constructor if specified. * generator/SymbolTable.cs: Move GList to manual types. * sample/GladeViewer.cs: Remove list hacks. * sources/Gnome.metadata: Specify element types for CanvasPathDef.Split and IconList.GetSelection. Rename CanvasPathDef *to methods to properly capitalized *To. * sources/Gtk.metadata: Hide Widget.ListAccelClosures until GClosure is handled properly. * sources/Pango.metadata: Added. * sample/test/TestToolbar.cs: Compile with recent delegate changes. 2002-08-31 Rachel Hestilow * glib/Idle.cs: Added. * gtk/Application.cs: Add EventsPending, RunIteration. * sample/TreeViewDemo.cs: Add a status dialog while populating tree. 2002-08-31 Rachel Hestilow * generator/Method.cs: Re-enable "if null then new" behavior for Opaques. 2002-08-29 Rachel Hestilow * glib/DelegateWrapper.cs: Forgot to add this. 2002-08-28 Rachel Hestilow * generator/CallbackGen.cs: Generate wrappers to map from managed delegates to native ones. * generator/Ctor.cs: Call parms.Initialize for the static case. * generator/Parameters.cs: Add "CType" property. Append [] to CSType if necessary. Add "HideData" property if a container wishes to hide the user_data (used in callbacks). (Initialize): Add case for callback. * generator/SymbolTable.cs: Add size_t. * glue/program.c: string[] marshalling is no longer broken, remove hack. * sources/Gtk.metadata: Disable GtkColorSelection.SetChangePaletteHook and GtkTreeView.GetSearchEqualFunc for now, they return delegates and we don't support native->managed delegate mapping yet. 2002-08-28 Joe Shaw * makefile: Add the art directory back in; fixes the build. 2002-08-26 Rachel Hestilow * sources/Gtk.metadata: Add null-ok for Menu.Popup. 2002-08-25 Juli Mallett * makefile: Fix recursive invocation of make(1) to use the variable MAKE, to use the same utility that was responsible for the invocation of the initial build. 2002-08-25 Miguel de Icaza * gtk/TextBuffer.custom: Added SetText with a single argumnet. * gtk/Table.custom: Added empty constructor. GtkTables automatically grow. 2002-08-23 Rachel Hestilow * glue/Makefile.am: Fix # terminators. 2002-08-23 Rachel Hestilow * Applied patch from Robot101 for maintainer-clean, etc. Needed for packaging. 2002-08-20 Rachel Hestilow * generator/SymbolTable.cs (Trim): Work around "void*". Libart has a lovely API... 2002-08-22 Mike Kestner * glib/IWrapper.cs : remove set_Handle * glib/Object.cs : ditto * glib/Opaque.cs : ditto 2002-08-22 Mike Kestner * glib/Makefile.in : rm -rf generated on make clean target * gnome/CanvasProxy.cs : add missing Signals hash. 2002-08-20 Rachel Hestilow Ditto for generator and api. 2002-08-20 Rachel Hestilow * parser/makefile: Rename to Makefile.in, change prefix to @prefix@. * configure.in: generate parser/Makefile. 2002-08-20 Rachel Hestilow * makefile: Add parser to build (for install only) * parser/makefile: Add distclean target. * parser/gapi.pl: Forgot to add this. * api/: Replace APIs with correctly generated ones. 2002-08-20 Rachel Hestilow * README.generator: Added docs on using the generator. 2002-08-19 Rachel Hestilow * art/Makefile.in (clean): Change to avoid bugging out on generated/CVS. * glib/ObjectManager.cs: Added. Used to be auto-generated, but now it can infer names, and relies on per-namespace ObjectManager classes to inform it of oddly-named classes. * generator/IGeneratable.cs, GenBase.cs: New "DoGenerate" property. * generator/*Gen.cs: Honor DoGenerate. * generator/CodeGenerator.cs: Support including dependency files which will not be generated. * generator/ObjectGen.cs: Generate mapping file per-namespace, as one that calls back to the one in glib. Only generate if the name does not follow the normal conventions, otherwise, GtkSharp.ObjectManager can infer the name. * generator/Parser.cs: Accept 'generate' flag to pass on to the IGeneratables. Parse a new toplevel element, "symbol", which adds a type to the SymbolTable (instead of hard-coding it). * generator/SignalHandler.cs: Do not optimize signal handler creation, instead creating them in their own namespaces. Do not generate if the calling Signal told us not to. * generator/Signal.cs: Do not generate handlers if container's DoGenerate is false. Adjust to the marshaller name being in a sub-namespace. * generator/SymbolTable.cs (AddSimpleType, AddManualType): Used to add simple and manually wrapped types at runtime instead of compile-time. (FromNative): Remove hard-coded cases for manually wrapped types, use a generic case instead. * api: Added. Move api files and generation targets here. * source: Added. Move source parsing here. * generator/makefile: Move actual generation to api/. * glib/Makefile.in: Remove generated/* target. * glue/Makefile.am: Fix to include canvas-marshal. Move canvas stuff to GNOME target. * gnome/CanvasProxy.cs: Update to work with SignalHandlers being namespace-specific. * parser/Metadata.pm: Moved to GAPI/Metadata.pm, renamed, etc. * parser/gapi2xml.pl: Use GAPI::Metadata. * parser/makefile: Install scripts, remove source parse build target. Rename formatXML to gapi_format_xml. 2002-08-17 Miguel de Icaza * gtk/ThreadNotify.cs: New file, used to notify invoke code in the main Gtk thread. 2002-08-17 Duncan Mak * gnome/CanvasProxy.cs: * gnome/GtkSharp.BoundsHandler.cs: * gnome/GtkSharp.DrawHandler.cs: * gnome/GtkSharp.PointHandler.cs: * gnome/GtkSharp.RenderHandler.cs: * gnome/GtkSharp.UpdateHandler.cs: C# glue for subclassing CanvasItems. * glue/canvas-proxy-marshal.c: * glue/canvas-proxy-marshal.h: * glue/canvas-proxy-marshal.list: * glue/canvas-proxy.c: Added the coverage signal. 2002-08-17 Duncan Mak * glue/canvas-proxy.c: * glue/canvas-proxy.h: New files. Glue for subclassing CanvasItem from C#. * glue/canvas-proxy-marshal.c: * glue/canvas-proxy-marshal.h: * glue/canvas-proxy-marshal.list: Added to handle marshaling signals used by CanvasProxy. 2002-08-15 Mike Kestner * sample/Makefile.in : add some art-sharp refs 2002-08-11 Miguel de Icaza * glub/adjustment.c: C-side of the Adjustment glue. * gtk/Adjustment.custom: Add new SetBounds function that allows us to change the adjustment after it has been created. 2002-08-15 Duncan Mak * generator/gtkapi.xml: New Libart stuff. * parser/build.pl: * gnome/Makefile.in: Added reference to atk-sharp.dll * generator/Parameters.cs (MangleName): Added cases for 'in' and 'out'. 2002-08-13 Joe Shaw * configure.in: Check for libgnomecanvas. * gtk/ColorSelectionDialog.custom: Create a button subclass which contains a reference to the parent ColorSelectionDialog. Modify properties to return this subclass instead of a regular Gtk.Button. * gtk/FileSelection.custom: Ditto. * sample/test/TestFileSelection.cs (file_selection_ok): Demonstrate the button subclass by destroying the parent dialog when the ok button is clicked. 2002-08-12 Rachel Hestilow [ Patch from Ricardo Fernandez Pascual for libglade support (slightly modified) ] * configure.in: Conditionally compile glade support. * makefile: Add glade directory. * glade/: Added. * sample/makefile.in: Add (conditional) glade example. * sample/GladeViewer.cs: Added. * glue/gladexml.c: Added. * glue/Makefile.am: Updated. * parser/build.pl: Parse libglade-2.0.0. * parser/README: Update requirements. 2002-08-12 Rachel Hestilow * parser/gapi_pp.pl: Handle "typedef struct {...}" construct. * glue/canvaspoints.c: Added. * glue/Makefile.am: Updated. * gnome/CanvasPoints.custom: Added. (Doesn't seem to work right yet, looking into this.) 2002-08-10 Rachel Hestilow * sample/TreeViewDemo.cs (Main, DeleteCB): Update to use correct event handler. 2002-08-09 Kristian Rietveld * parser/Gtk.metadata: add a bunch of out arg rules, add a vararg rule for the ListStore constructor, change method names of TreeModel's signal emission methods, remove opaque rule of GtkTreeIter, remove null_ok rules of TreeModel.IterNChildren and TreeModel.IterNthChild. * parser/Metadata.pm: add some code to be able to filter on parameter names. * generator/Method.cs: a method with accessor args and a non-void return value cannot be written as property. * sample/Makefile.in, sample/TreeViewDemo.cs: add a simple TreeView demo app. * gtk/ListStore.custom, gtk/TreeModel.custom, gtk/TreeModelSort.custom, gtk/TreeStore.custom, gtk/TreeView.custom: customizations. 2002-08-09 Mike Kestner * generator/ObjectGen.cs (GenerateMapper): guard against IntPtr.Zero 2002-08-09 Duncan Mak * sample/Fifteen.cs (Position): Made it a property instead of a public field. * sample/pixmaps/gnome-color-browser.png: Icon for Fifteen#. 2002-08-09 Mike Kestner * generator/SymbolTable.cs : make GLib.Value a manually_wrapped_type 2002-08-08 Mike Kestner * generator/Property.cs : getter usage fix 2002-08-08 Mike Kestner * generator/Method.cs : s/GetType/GetGType. Don't generated static methods for interfaces. * glib/Object.cs : add GType prop * gnome/*.custom : s/Type/GType * parser/Gtk.metadata : rule to make TreeIter opaque * parser/gapi2xml.pl : handle interface methods properly * sample/Fifteen.cs : s/Type/GType 2002-08-08 Mike Kestner * gdk/Event.cs : derived from Boxed, not Object. * generator/SymbolTable.cs : fixes for Gdk.Events 2002-08-07 Mike Kestner * generator/CodeGenerator.cs : call ObjectGen.GenerateMapper * generator/Method.cs : Remove the if null workaround * generator/ObjectGen.cs : build a hash of object types. (GenerateMapper): generate the GtkSharp.ObjectManager class. * glib/Object.cs : use ObjectManager.CreateObject. * glue/type.c : helper for typename lookup. 2002-08-07 Duncan Mak * sample/Fifteen.cs: Fixed scramble. The whole thing works now. 2002-08-06 Rachel Hestilow * generator/SignalHandler.cs: Handle null arguments and return values. * sample/Makefile.in: Add fifteen game. 2002-08-06 Gonzalo Paniagua Javier * sample/GnomeHelloWorld.cs: use DeleteEventHandler. 2002-08-07 Duncan Mak * sample/Fifteen.cs: Fixed movement logic. It works now. Added 'debug' flag. Run 'mono ./Fifteen.exe debug' to see movement info. 2002-08-07 Duncan Mak * sample/Fifteen.cs: Added new canvas example. 2002-08-06 Duncan Mak * glue/canvasitem.c: * gnome/CanvasItem.custom: Added accessor to get the 'canvas' field. * sample/CanvasExample.cs: Removed extra methods. 2002-08-05 Rachel Hestilow * makefile, */Makefile.in: Packaging fix from Robert McQueen (a.k.a. Robot101). 2002-08-05 Rachel Hestilow * gnome/Canvas*.custom, IconTextItem.custom: Added. * sample/CanvasExample.cs: Added. * sample/Makefile.in: Build canvas example in gnome build. 2002-08-05 Rachel Hestilow * parser/Gnome.metadata: Patch from duncan for bug #28553 (canvas item event handler rename). 2002-08-04 Joe Shaw * configure.in: We actually need libgnomeui, not libgnome. 2002-08-04 Mike Kestner Tagged for 0.3 and updated configure.in to 0.4. Back open for commits. 2002-08-03 Mike Kestner Freezing cvs for 0.3 release. Please no commits until the release. 2002-08-03 Mike Kestner * generator/Method.cs : Added IsGetter, IsSetter, ReturnType. Made GenerateImport, GenerateBody public. * generator/Parameters.cs : Added Parameter::MarshalType * generator/Property.cs : Added logic to use methods instead of text properties wherever possible. 2002-08-03 Rachel Hestilow * generator/Method.cs: Support libname overrides. Call parms.Finish. * generator/Parameters.cs: New method parms.Finish. Generate a temporary holder variable for enum out parameters. * generator/Property.cs: Pass a boolean to EnumWrapper indicating. if these are flags. * generator/StructBase.cs: Disable array marshalling (it is broken in mono.) * generator/SymbolTable.cs: Add methods IsEnumFlags. * glib/EnumWrapper.cs: New bool "flags". * glib/Value.cs: Call flags variant on GValue for enum props, if needed. * glue/Makefile.am, glue/style.c, glue/widget.c: Add widget and style field accessor methods. * gtk/Style.custom, Widget.custom: Added. * parser/README: Update requirements (needed for pixbuf drawable hack) * parser/Gdk.metadata: Fix library for pixbuf methods in gdk. Add Window.GetPointer "out" parameters. * parser/gapi2xml.pl: Remap gdk_draw_* methods to Drawable. * sample/Makefile.in: Add size and scribble samples. * sample/Scribble.cs: Added. 2002-08-02 Rachel Hestilow [ Mike, this is everything I wanted in for the release. ] * generator/StructBase.cs: Generate field accessors for wrapped types (opaque, object, and structs/boxed). Bitfields, unions, and arrays are still unsupported for accessors, and are probably marshalling incorrectly. But this is enough to get events working (see example in sample/GnomeHelloWorld.cs). * parser/Metadata.pm: Support a "delete" directive, and set metadata on structs and boxed (previously was only checking objects and interfaces). * parser/Gdk.metadata: Delete bogus entries GdkWindowObject and GdkPixmapObject (more evil drawable stuff.) * sample/GnomeHelloWorld.cs: Show an example of how to use marshalled events, in our selection callback. 2002-07-31 Rachel Hestilow * generator/StructBase.cs (GetFieldInfo): Generate strings correctly. Also, delegates are not marshalling correctly right now, change those to IntPtr. * generator/SymbolTable.cs: New method IsCallback. * sample/GnomeHelloWorld.cs: Use Gnome.App and stock menu items. Use the new event handlers. 2002-07-30 Rachel Hestilow * generator/ClassBase.cs: Change hasDefaultConstructor to protected, adjust now that it is an attr and not a subnode. Also add virtual property AssignToName (for ctors). * generator/Ctor.cs: Add property ForceStatic. (Generate): Optimize return code a bit for the static case. * generator/Method.cs: Assign to a "raw_ret" pointer before calling FromNativeReturn. * generator/Parameters.cs: Change "out ref" to "out", not "ref". * generator/Property.cs: Fix to work correctly with all object and struct types (mostly just some if-cases added). * generator/SignalHandler.cs: Remove args_type and argfields (unused). (Generate): Initialize struct if necessary. * generator/StructBase.cs: Massive reworking to support methods, ctors, etc. * generator/SymbolTable.cs: Add GdkAtom and gconstpointer simple types. * glib/Boxed.cs: Accept both IntPtr and object ctors. Add access for both. * glib/Opaque.cs: Fix copy/pasted copyright notice, remove data and event fields. Fix docs. * glib/Value.cs: Work correctly with boxed properties. * gnome/Modules.cs: Use new struct ctors. * gnome/Program.custom: Remove Get, this is being generated now. * parser/Gdk.metadata: Fix the drawable classes to inherit correctly. * parser/Metadata.pm: Change per-class attributes to actually be attributes. * parser/Gtk.metadata: Add a dummy attribute value for disabledefaultctor. * parser/gapi2xml.pl: Add hacks for the (broken) Drawable and Bitmap typedefs. * sample/test/TestColorSelection.cs: Display color string in hex format, update to use IsNull instead of == null, and size dialog to look pretty. * sample/Size.cs: Added. 2002-07-25 Rachel Hestilow [about 60% of the marshalling patch that I lost. The rest to come tomorrow.] * generator/BoxedGen.cs, StructGen.cs: Move most of this to StructBase, delete large chunks duplicated from ClassBase. * generator/IGeneratable.cs: Add MarshalReturnType, FromNativeReturn. * generator/ClassBase.cs: Move ctor stuff here. Add a CallByName overload with no parameters for the "self" reference. * generator/EnumGen.cs, CallbackGen.cs: Implement new MarshalReturnType, FromNativeReturn. * generator/Method.cs: Use container_type.MarshalType, CallByName, and SymbolTable.FromNativeReturn when generating call and import sigs. * generator/OpaqueGen.cs: Added. * generator/Property.cs: Handle boxed and opaques differently. * generator/SymbolTable.cs: Update for the opaque stuff and the new Return methods. Also change GetClassGen to simply call the as operator. * glib/Boxed.cs: Update for struct usage -- this is now a wrapper for the purposes of using with Value. * glib/Opaque.cs: Added. New base class for opaque structs. * glue/textiter.c, gtk/TextIter.custom: Remove. * gnome/Program.cs: Update for new struct marshalling. * parser/Metadata.pm: Use our own getChildrenByTagName. * parser/README: Update for new requirements (was out of sync with build.pl) * parser/gapi2xml.pl: Hide struct like const in field elements. * parser/gapi_pp.pl: Handle embedded union fields (poorly). * sample/test/TestColorSelection.cs: Comment out null color tests for now. 2002-07-24 Mike Kestner * generator/SignalHandler.cs : use ref parameters in signal cb's. 2002-07-24 Alp Toker * gtk/Makefile.in etc. : reference the newly compiled assemblies instead of those already installed on the system 2002-07-23 Mike Kestner * generator/Method.cs : implement static method generation. * parser/Gnome.metadata : map AppBar::ClearPrompt signal collision. * parser/Gtk.metadata : map IMContext::DeleteSurrounding collision. * parser/gapi2xml.pl : mark shared methods in the XML. 2002-07-20 Mike Kestner * generator/SignalHandler.cs : pring unexpected key in exception. 2002-07-20 Mike Kestner * generator/Method.cs : beef up !Validate warnings * generator/ObjectGen.cs : beef up !Validate warnings * generator/Parameters.cs (Validate): fail on ellipsis parm * parser/gapi2xml.pl : Handle more opaque types properly 2002-07-19 Duncan Mak * gtk/Paned.custom: * glue/paned.c: Glue code for getting child1 and child2 out from a Gtk.Paned. * glue/Makefile.am: Add paned.c 2002-07-19 Mike Kestner * generator/StructGen.cs : comment out GenField. It's broke. * sample/ButtonApp.cs : revert the EventAny WriteLine. 2002-07-19 Mike Kestner * parser/gapi2xml.pl : mark privately defined structs opaque. 2002-07-18 Mike Kestner * generator/StructBase.cs : use GetMarshalType for field gen. * sample/ButtonApp.cs : WriteLine the Gdk.EventAny in DeleteEvent. 2002-07-18 Mike Kestner * 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. 2002-07-18 Mike Kestner * generator/StructBase.cs : Mangle field names. * generator/StructGen.cs : uncomment GenField. 2002-07-18 Duncan Mak * parser/Gtk.metadata: Mark gtk_radio_menu_item_new_with_label, gtk_radio_button_new_with_label, gtk_radio_button_new and gtk_radio_button_new_with_mnemonic with null_ok flags. 2002-07-17 Radek Doulik * gtk/ScrolledWindow.custom: new file with ScrolledWindow custom default constructor use this (null, null) * parser/Metadata.pm: addClassData subroutine to add * 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 2002-07-17 Rachel Hestilow * parser/Gtk.metadata: Tag MenuItem.SetSubmenu as null-ok. 2002-07-17 Rachel Hestilow * 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. 2002-07-16 Mike Kestner * 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 2002-07-13 Rachel Hestilow * generator/Parameters.cs: Allow nulls if null_ok set. * generator/SymbolTable.cs: Add method IsStruct. * parser/Gtk.metadata, Gdk.metadata, Gnome.metadata: Merge in null_ok from *.defs. This is probably incomplete though, I've already found one method that wasn't listed. * sample/GnomeHelloWorld.cs: Remove IntPtr.Zero hack. 2002-07-13 Rachel Hestilow * 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. 2002-07-11 Mike Kestner * glib/SList.cs : fix a couple DllImports 2002-07-11 Duncan Mak * 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. 2002-07-09 Mike Kestner * generator/ClassBase.cs : handle overloaded method hash collision * generator/SignalHandler.cs : generate *Handler delegates. stub *Args * parser/Gtk.metadata : add *Defaults method renaming 2002-07-08 Mike Kestner * glue/Makefile.in : s/BASE_SOURCES/BASESOURCES * parser/gapi_pp.pl : handle nested #if/#endif in ignored #if's * parser/makefile : make gtkapi.xml depend on gapi*.pl 2002-07-06 Rachel Hestilow * generator/Parameters.cs (Initialize): Initialize error to zero. 2002-07-06 Rachel Hestilow * ObjectGen.cs: Support static string elements. Do not generate Ctors or Signals if it is not a GObject. * parser/gapi2xml.pl: Add stock defines. 2002-07-05 Rachel Hestilow * glue/Makefile.am: Make this work cleanly, with all automake. 2002-07-05 Rachel Hestilow * configure.in: Conditionally compile Gnome. * parser/gapi_pp.pl: Handle line breaks in function declarations. * parser/gapi2xml.pl: Handle non-literals in property definitions. * glue/program.c: Added. * glue/Makefile.am: Add program.c (conditionally compiled). Update INCLUDES. * gnome/Makefile.in: Conditionally compile this. * gnome/Program.custom, Modules.cs: Added. * samples/Makefile.in: Conditionally compile gnome example. * samples/GnomeHelloWorld.cs: Use Gnome.Program. 2002-07-01 Rachel Hestilow * generator/gtkapi.xml: * parser/build.pl: Fix to use 3.0 (accidentally reverted in last commit). * generator/SymbolTable.cs (simple_types): Map gssize and gsize. * parser/Gdk.metadata: Tag PixbufLoader.Write's data parameter as array. 2002-07-01 Rachel Hestilow * generator/gtkapi.xml: * parser/build.pl: Qualify gnome lib names; this is needed because of debian/LSB policy. 2002-06-26 Duncan Mak * generator/gtkapi.xml: * parser/build.pl: Point to 'gtkhtml-3.0' instead of gtkhtml-2. 2002-06-26 Rachel Hestilow * generator/*.cs: Deal with whitespace XmlNodes. * parser/build.pl: Dump non-indented file to local directory. * parser/makefile, parser/formatXml.c: Added. * generator/gtkapi.xml: Nicely indented now. woo! 2002-06-26 Rachel Hestilow * parser/Gtk.metadata: Change gtk_label_new to be the preferred constructor. * gdk/Event.cs: Add "IsValid" property (sometimes NULL events get sent in signals). * sample/GnomeHelloWorld.cs: Check to make sure iconlist event is valid. 2002-06-26 Rachel Hestilow * configure.in, makefile, makefile.win32: add gnome. * doc/index.html, netdoc.xsl: Add gnome. * gdk/Event.cs: New manual wrap for GdkEvent. * generator/ClassBase.cs: Add methods GetProperty, GetPropertyRecursively, GetMethodRecursively. Move Parent property here from ObjectGen.cs. Pass this pointer into Property. * generator/Ctor.cs: Generate docs. * generator/Method.cs, Property.cs: Tag method as "new" if a Method/Property with the same name is found in the class hierarchy. * generator/SignalHandler.cs: Correctly wrap complex signal argument types. Add gnome directory. * generator/SymbolTable.cs: Add manually wrapped types hash (contains GLib.GSList and Gdk.Event). Add method IsManuallyWrapped. * glib/SList.cs: Add constructor from IntPtr. * glue/slist.c, glue/event.c: Added (field accessor glue). * glue/Makefile.am: Update. * parser/Gtk.metadata: Add new signal renames for new signals exposed by GdkEvent changes. * parser/README, parser/build.pl: Add libgnome, libgnomecanvas, libgnomeui. * parser/gapi2xml.pl: Handle literal-length array parameters, and NULL property doc strings. * sample/: Add new test GnomeHelloWorld.cs. * gnome/: Added. * parser/Gnome.metadata: Added. 2002-06-25 Mike Kestner * generator/gtkapi.xml : lots of fixes, plus GtkHTML! * parser/Gtk.metadata : add a bunch of renames. * parser/build.pl : Add the gtkhtml parse. * parser/README : module list to parse 2002-06-25 Mike Kestner * parser/gapi2xml.pl : some GtkHTML related parsing tweaks. 2002-06-25 Rachel Hestilow * makefile: back out a premature add of gnome 2002-06-25 Rachel Hestilow * doc/: Added the makeshift doc generation toolchain. 2002-06-25 Mike Kestner * configure.in : back out a premature add of gnome/Makefile.in 2002-06-24 Rachel Hestilow * glib/UnwrappedObject.cs: New class which holds an IntPtr. This is used in Value so that we can retrieve the IntPtr itself for an object property. * glib/Value.cs: Add UnwrappedObject cast operator. * glib/Property.cs: If the retrieved value is an object, and there is no wrapper object, create a new one. 2002-06-24 Rachel Hestilow * gtk/FileSelection.custom: Remove random cruft that was at the beginning of this file. 2002-06-24 Rachel Hestilow * glib/EnumWrapper.cs: New class which holds an enum int. * glib/Value.cs: Add support for glib enum types. We needed to use EnumWrapper for this because otherwise the int operator wouldn't know which glib function to use. * generator/BoxedGen.cs, ClassBase.cs, Ctor.cs, EnumGen.cs, InterfaceGen.cs, Method.cs, ObjectGen.cs, Signal.cs, StructGen.cs: Create more doc stubs. * generator/Property.cs: Generate enum values correctly. * generator/Ctor.cs: Refactor generation to honor metadata-specified collision preference. * parser/Gtk.metadata: Added constructor collision preferences to all known clashes. * parse/Gdk.metadata: Added (for Pixbuf clashes). 2002-06-24 Duncan Mak * glue/fileselection.c: New file, defines accessor functions to fields inside a GtkFileSelection. * gtk/FileSelection.custom: C# glue that makes use of new accessor functions defined in fileselection.c. * glue/Makefile.am: Added fileselection.c 2002-06-23 Rachel Hestilow * glib/Object.cs, glib/SList.cs, glib/Value.cs, gtk/Application.cs: Move documentation to right before their actual methods, rather than the DllImported ones. * generator/Method.cs: Generate documentation before the actual method and not the DllImport. 2002-06-23 Rachel Hestilow * generator/ClassBase.cs: Add accessors for methods and signals. Change GenSignals and GenMethods to public, as csc has a different idea of protected than mcs. Handle interface collisions in GenMethods. * generator/Method.cs: Add accessor Protection - "public" by default. * generator/ObjectGen.cs: Make sure wrapper's Signals hashtable only gets generated once. Generate a list of collisions for GenMethods. Remove dead foreach loop from Validate. * generator/Paramaters.cs (CreateSignature): Initialize last_param. * parser/Gtk.metadata: Add property & event collision renames for TextBuffer and OldEditable. * sample/makefile.win32: Reference atk-sharp.dll. * makefile.win32: Do not build gdk.imaging. 2002-06-22 Mike Kestner * */makefile.win32 : add docs target * generator/ClassBase.cs : Make GenMethods public for interface gen * generator/Method.cs : Lose the CallingConvention * generator/Parameters.cs : fix uninitialized var * generator/SignalHandler.cs : Lose the CallingConvention * generator/StructBase.cs : Lose the CallingConvention 2002-06-21 Michael Meeks * sample/Makefile.in: re-factor slightly. 2002-06-21 Mike Kestner * gtk/*akefile* : lose the gdk-imaging-sharp refs 2002-06-21 Mike Kestner * configure.in : remove gdk.imaging/Makefile creation. 2002-06-21 Mike Kestner * makefile : remove gdk.imaging from the build * gdk.imaging/* : kill * generated/BoxedGen.cs : XmlNode namespace handling. Use GenBase. * generated/CallbackGen.cs : XmlNode namespace handling. * generated/Ctor.cs : construct with libname not ns. * generated/EnumGen.cs : XmlNode namespace handling. * generated/GenBase.cs : XmlNode namespace handling. Make AppendCustom an instance method so it can use the private fields instead of params. * generated/InterfaceGen.cs : XmlNode namespace handling. * generated/Method.cs : construct with libname not ns. * generated/ObjectGen.cs : XmlNode namespace handling. * generated/Parser.cs : Use new XmlNode namespace ctors. * generated/Signal.cs : Lose the namespace field. * generated/StructBase.cs : derive from ClassBase * generated/StructGen.cs : XmlNode namespace handling. Use GenBase. * generated/SymbolTable.cs : nuke GetDllName method. * generator/gtkapi.xml : Add library name to namespace node. * parser/build.pl : refactor for library name param * parser/gapi2xml.pl : add libname param handling * sample/Makefile.in : build linux on make install, but don't install. 2002-06-21 Rachel Hestilow * generator/ClassBase.cs: New base class for classes and interfaces. * generator/InterfaceGen.cs: Inherit from ClassBase, generate declarations. * generator/ObjectGen.cs: Move half of this into ClassBase. * generator/Method.cs: Turn all applicable Get/Set functions into .NET accessors. Remove redundant == overload and move into Equals, as it was confusing "!= null". * generator/Parameters.cs: Alter signature creation to accept "is_set" option, add support for variable arguments. Add properties "Count", "IsVarArgs", "VAType". * generator/Ctor.cs: Fixup for changes in Parameters (indenting, signature creation). * generator/Signal.cs: Support generating declarations. * generator/SymbolTable: Change GetObjectGen to GetClassGen. * glib/IWrapper.cs: Move "Handle" declaration to here, so both classes and interfaces can benefit from it. * glib/Object.cs: Inherit from IWrapper.cs * parser/Metadata.pm: Support attribute changes on constructors, methods, signals, and paramater lists. * parser/gapi2xml.pl: Parse init funcs for interfaces. Ignore "_" functions here. * parser/gapi_pp.pl: Remove boxed_type_register check, as it will be caught in the init funcs. * parser/Atk.metadata: Added. * parser/Gtk.metadata: Add all needed signal/method collision renames. Rename GtkEditable.Editable accessors to IsEditable, as .NET does not like accessors with the same name as their declaring type. Tag TreeStore constructor as varargs. * samples/ButtonApp.cs: s/EmitAdd/Add. * samples/Menu.cs: s/EmitAdd/Add, s/Activate/Activated. 2002-06-21 Mike Kestner * */makefile.win32 : add /doc flags * */.cvsignore : ignore .xml files 2002-06-21 Mike Kestner * gdk.imaging/Makefile.in : add a missing -L * gtk/Makefile.in : add a missing -L * generator/Method.cs : Add some docs stubbage 2002-06-20 Mike Kestner * generator/Parameters.cs : GError handling overhaul * generator/SymbolTable.cs : map GError to IntPtr * glib/GException.cs : Refactor to use glue. * glue/Makefile.am : add the error.c file. * glue/error.c : glue for error message string access * gtk/makefile.win32 : ref the gdk-imaging-sharp assembly 2002-06-19 Mike Kestner * generator/Parameters.cs : csc build error fixes 2002-06-14 Rachel Hestilow * glib/GException.cs: Added. * generator/Ctor.cs, Method.cs: Tag function as unsafe if it throws an exception. Call parms.HandleException. * generator/Paramaters.cs: Add property ThrowsException (based on a trailing GError**). If ThrowsException, mask GError in the signature, initialize a GError in Initialize, and add new method HandleException to throw an exception if error != null. * generator/SymbolTable.cs: Add gdk-pixbuf DLL, and GError type. * gdk.imaging, gdk.imaging/Makefile.in, gdk.imaging/makefile.win32: Added. * configure.in, Makefile, makefile.win32: Build gdk.imaging. * gtk/Makefile.in, gtk/makefile.win32: Link against gdk.imaging. * parser/gapi2xml.pl: Support namespace renaming. * parser/build.pl: Build gdk-pixbuf as gdk.imaging. 2002-06-09 Rachel Hestilow * generator/GenBase.cs: new method AppendCustom, moved from ObjectGen. * generator/BoxedGen.cs, ObjectGen.cs, StructGen.cs: Call AppendCustom in Generate (); * generator/Method.cs, Parameters.cs: Add support for "out" parameters. Additionally, output an accessor instead of a regular method if it is an accessor-style function (ie GetStartIter). * generator/Property.cs: Add additional cast to Boxed, if necessary. * glue/textiter.c: New constructor for GtkTextIter. * glue/Makefile.am: Add textiter.c, build with Gtk+ cflags. * configure.in: Check for Gtk+ cflags. * parser/Metadata.pm, Gtk.metadata: Added. * parser/gapi2xml.pl: Call Metadata::fixup on the document. Also work around gtk's screwy boxed type name registration (GtkFoo -> GtkTypeFoo). * gtk/TextIter.custom: Added. 2002-06-06 Mike Kestner * glib/Timeout.cs : new Timeout class with Add() and TimeoutHandler delegate. 2002-06-05 Mike Kestner * generator/Property.cs : Fix get{} GLib.Value passing. * glib/Object.cs : GetProperty passes the GLib.Value now. * glib/Value.cs : Add a ctor to create Values for props. * glue/value.c : add gtksharp_value_create_from_property. 2002-05-29 Mike Kestner * */Makefile.in : remove generated source in clean target. 2002-05-29 Mike Kestner * generator/CallbackGen.cs : Fix build breaker from refactoring. * sample/Makefile.in : Build the menu sample on linux. 2002-05-28 Mike Kestner * makefile : add separate targets for native and platform independent products per request from debian packager Alp Toker 2002-05-26 Mike Kestner * generator/Parser.cs : Implement Alias node parsing. * generator/SymbolTable.cs : resolve aliased types. 2002-05-23 Mike Kestner * generator/BoxedGen.cs : Update for Static SymbolTable * generator/CallbackGen.cs : Use GenBase and Parameters classes * generator/CodeGenerator.cs : Update for Static SymbolTable * generator/Ctor.cs : code from StructBase using Parameters class * generator/EnumGen.cs : Use GenBase * generator/GenBase.cs : Abstract Stream Writer creation, stream boilerplate, and common *Name properties * generator/IGeneratable.cs : Update for Static SymbolTable * generator/InterfaceGen.cs : Use GenBase * generator/Method.cs : code from StructBase using Parameters class * generator/ObjectGen.cs : Major refactoring. Use GenBase. Build tables of Member generatables at construct time to facilitate future name collision resolution logic. * generator/Parameters.cs : new generatable to abstract duplicated parameter parsing logic. * generator/Parser.cs : Update for Static SymbolTable * generator/Property.cs : code from ObjectGen * generator/Signal.cs : code from ObjectGen * generator/SignalHandler.cs : Update for Static SymbolTable * generator/StructBase.cs : Update for Static SymbolTable * generator/StructGen.cs : Update for Static SymbolTable * generator/SymbolTable.cs : Make all methods and private members static. There is no reason to ever have multiple tables. 2002-05-13 Joe Shaw * sample/Makefile.in: Use -L compiler flags and specify all of the assemblies to link against. 2002-05-13 Joe Shaw * gtk/Makefile.in: Add the System.Drawing assembly to the compiler command-line. 2002-05-08 Joe Shaw * generator/ObjectGen.cs (GenProperty): And uncomment it out because the compiler bug is fixed. 2002-05-08 Joe Shaw * generator/ObjectGen.cs (GenProperty): Comment the last checkin out because it exposes a compiler bug. (GenSignal): Back this change out. 2002-05-08 Joe Shaw * */Makefile.in: Don't allow the shell to do file globbing; makes --recurse work. * generator/ObjectGen.cs (GenProperty): We need to cast a GLib.Value to a GLib.Object and then to whatever it is, because explicit casts don't work to child classes. (GenSignal): Append "EventHandler" when generating signal handlers so we don't get symbol conflicts. 2002-05-07 Mike Kestner * generator/SymbolTable.cs : map char to string. 2002-05-07 Mike Kestner * */Makefile.in : Add clean targets. Add -L parms. 2002-05-06 Mike Kestner * generator/ObjectGen.cs : When generating a ctor(void) for subclassing purposes, mark it protected, not public. Thanks to Miguel for reporting this bug. 2002-05-03 Mike Kestner * sample/makefile.win32 : add the Menu sample * sample/Menu.cs : A menu and box packing sample. 2002-05-02 Mike Kestner * generator/ObjectGen.cs : Add support for .custom files. * gtk/Window.custom : clean up build * sample/HelloWorld.cs : Use the customizations. * sample/ButtonApp.cs : Use the customizations. 2002-05-02 Mike Kestner * README : Describe the new make procedure. * configure.in : Add the new Makefile generation. * makefile : add the glue dir, make linux the default build, add an install target * */makefile.win32 : temp build files for win32 * */Makefile.in : new configurable make system * */makefile : killed * generator/BoxedGen.cs : Now uses GLib.Boxed * generator/ObjectGen.cs : Use Values for Props. * generator/SymbolTable.cs : Add IsEnum method. * glib/Boxed.cs : Major overhaul. * glib/Object.cs : Remove type specific (Get|Set)Property. Now use GValue based property accessors. * glib/TypeFundamentals.cs : Update to current values. * glib/Value.cs : Refactor to use glue. 2002-04-25 Mike Kestner * autogen.sh : simple config for the glue build * configure.in : simple config for the glue build * makefile : add glue dir to build * glib/SList.cs : Fix some leakage. * glue/value.c : a helper function for heap alloc of GValues * glue/Makefile.am : build for libgtksharpglue 2002-04-19 Mike Kestner * glib/SList.cs : A more sane approach. * glib/Value.cs : Marshal strings directly with pinvoke 2002-04-18 Joe Shaw * */makefile: Allow a different MCS to be passed in on the make command line. 2002-04-09 Mike Kestner * tagging for gtk-sharp-0.1 2002-04-09 Mike Kestner * sample/ButtonApp.cs : Get it to run on linux. 2002-04-04 Mike Kestner * generator/CallbackGen.cs : Unstubify. * generator/SymbolTable.cs : qualify some simple typenames. 2002-03-29 Mike Kestner * */makefile : add make linux target. 2002-03-29 Mike Kestner * generator/SymbolTable.cs (Trim): revamp TrimEnd call. 2002-03-28 Mike Kestner * generator/SignalHandler.cs : switch to 2.0 libs * generator/SymbolTable.cs : switch to 2.0 libs * glib/Object.cs : switch to 2.0 libs * glib/SList.cs : switch to 2.0 libs * glib/Value.cs : switch to 2.0 libs * gtk/Application.cs : switch to 2.0 libs 2002-03-26 Mike Kestner * generator/SignalHandler.cs : Use Path.DirectorySeparatorChar. 2002-03-25 Mike Kestner * generator/StructBase.cs : Throttle _gtk methods. * generator/SymbolTable.cs : tweak dll names. * glib/Object.cs : restructure DllImports and prop code. * glib/SList.cs : restructure DllImports. * glib/Value.cs : restructure DllImports. * gtk/Application.cs : overload Init() to get past the string[] marshaling crash on linux. * sample/HelloWorld.cs : Use App::Init() since no args are needed. 2002-03-24 Mike Kestner * generator/*Gen.cs : Use Path.DirectorySeparatorChar. * generator/Parser.cs : better debug for unexpected types. * generator/SymbolTable.cs : Use linux library names. 2002-03-07 Mike Kestner * generator/CodeGenerator.cs : Refactor generatable iteration. * generator/SymbolTable.cs : Add Generatables property to expose complex_types.Values. 2002-03-02 Mike Kestner * makefile : add linux build. * generator/makefile : add linux build. 2002-02-19 Mike Kestner * generator/BoxedGen.cs : Add ctor and method generation. * generator/StructBase.cs : Switch to Raw syntax. * glib/Boxed.cs : Add Handle prop, make Raw protected, and add ctors. * glib/Object.cs : s/RawObject/Raw to simplify generation. 2002-02-19 Mike Kestner * generator/Statistics.cs : New. Gathers stats about generation. * generator/*.cs : Hook in the stat counters. 2002-02-18 Mike Kestner * generator/StructBase.cs (GenCtor): StudCapsify static method names. * generator/SymbolTable.cs (Trim): strip const- prefix. * sample/ButtonApp.cs (Window_delete): handle RetVal. 2002-02-17 Mike Kestner * generator/StructBase.cs (MangleName): add object and event. * parser/gapi2xml.pl : Handle embedded callback declarations in method parameter lists. 2002-02-15 Mike Kestner * generator/SignalHandler.cs : Create the SignalArgs.Args array and fix indexing into it. * sample/ButtonApp.cs : A little cleanup. Not quite there yet. * sample/HelloWorld.cs : Set up the RetVal in the delete handler. 2002-02-14 Mike Kestner * generator/ObjectGen.cs : suppress generation of get/set methods when properties exist. Mangle method names on signal name clashes. Gen the signals. * generator/SymbolTable.cs : Add GetName. Add some more calls to Trim. * generator/gtkapi.xml : adding binary file as an experiment. If the diff's show this file, I'll be removing it with apologies and going back to the separate package idea. * parser/gapi2xml.pl : some signal related fixes. * sample/HelloWorld.cs : uncomment the event hook. 2002-02-10 Mike Kestner * generator/BoxedGen.cs (FromNative): Add explicit cast. * generator/ObjectGen.cs (FromNative): Add explicit cast. (GenSignal): New. Partial. Not hooked in yet. * generator/StructBase.cs (GenMethod): return-type is a sub-element, not an attribute. 2002-02-09 Mike Kestner * generator/StructBase.cs (GenMethod): Add handle arg to paramless method call and extern. 2002-02-08 Mike Kestner * README : Some updates. * generator/BoxedGen.cs : Add FromNative method. * generator/CallbackGen.cs : Add FromNative method. * generator/EnumGen.cs : Add FromNative method. * generator/IGeneratable.cs : Add FromNative method. * generator/InterfaceGen.cs : Add FromNative method. * generator/ObjectGen.cs : Add FromNative method. Hook in GenMethod. * generator/StructBase.cs : Revamp param handling. Add GenMethod. * generator/StructGen.cs : Add FromNative method. * generator/SymbolTable.cs : Add FromNative method. * parser/gapi2xml.pl : Detect ctors before methods. Fix method names. * sample/HelloWorld.cs : uncomment the Show call. 2002-02-06 Mike Kestner * generator/BoxedGen.cs : Marshal as IntPtr using Raw prop. * generator/ObjectGen.cs : Use Handle for marshaling. * generator/StructBase.cs (CallByName): Fill out the stub. (GetImportSig): Fill out the stub. * generator/StructGen.cs (MarshalType): Use QualifiedName. * generator/SymbolTable.cs (GetMarshalType): Trim type. (CallByName): New. Provides calling syntax. * sample/HelloWorld.cs : Make it compile. 2002-02-02 Mike Kestner * generator/ObjectGen.cs : Add IntPtr constructor generation. Pass a ctor signature hash around to use in clash resolution. Generate a void ctor if none is present which just calls the parent ctor. * generator/StructBase.cs : Add non-void signature ctor generation, including collision handling logic. Collisions are implemented as static methods. * generator/SymbolTable.cs : Map GSList to GLib.SList. Add type trimming to remove trailing *'s. Need to suppress leading const yet. * glib/Object.cs : Add default ctor for void and IntPtr ctors. * glib/SList.cs : Implementation of a wrapper class for GSLists. Lots of FIXMEs. * parser/gapi2xml.pl : Handle ** and array params. 2002-01-17 Mike Kestner * generator/BoxedGen.cs : Removed Name, CName, and QualifiedName. * generator/ObjectGen.cs : Removed Name, CName, and QualifiedName. * generator/StructBase.cs : Add Name, CName, and QualifiedName. Add GenCtor method. Stub GetCallString, GetImportSig, and GetSignature methods. * generator/StructGen.cs : Removed Name, CName, and QualifiedName. * generator/SymbolTable.cs : Add GetDllName method. * parser/gapi2xml.pl : Fix a couple bugs. 2002-01-16 Mike Kestner * generator/BoxedGen.cs : New boxed type generatable. * generator/ObjectGen.cs : Add boxed type property generation and stub off interface properties for now. * generator/Parser.cs : Add boxed element parsing. * generator/SymbolTable.cs : Add IsBoxed and IsInterface methods. * glib/Boxed.cs : New base class for deriving boxed types. * glib/Object.cs : Add boxed GetProp/SetProp methods. * parser/gapi2xml.pl : Add boxed type element formatting. * parser/gapi_pp.pl : Add preprocessing of the generated sourcefiles. Handle the builtins and make them identifiable to the xml generator. 2002-01-11 Mike Kestner * generator/ObjectGen.cs : Add property generation. * generator/SymbolTable.cs : More fixage to simple_types. Add GetMarshalType and IsObject methods. * glib/Object.cs : Rename Events prop to EventList to avoid name collision. Add float, double, uint, and IntPtr GetProp and SetProp methods. * parser/TODO : Add a couple prop related bugs to come back for. * parser/gapi2xml.pl (addPropElems): Restructure. It was thoroughly broken. It's better now. 2002-01-10 Mike Kestner * generator/StructBase.cs (GenField): Return a bool success indicator. * generator/ObjectGen.cs : Check the return of GenField. * generator/SymbolTable.cs : More fixage to simple_types. * parser/gapi2xml.pl : Fix multiline comment bug, and callback name hashing logic. Squash callbacks that aren't in the namespace. * sample/HelloWorld.cs : Clean out some debugging to make it closer to compiling. Not quite there yet. 2002-01-08 Mike Kestner * generator/CallbackGen.cs : Use name in QualName, not cname. * generator/EnumGen.cs : Use name in QualName, not cname. * generator/InterfaceGen.cs : Use name in QualName, not cname. * generator/StructBase.cs (GenField): gen as public. 2002-01-08 Mike Kestner * generator/CallbackGen.cs : New stub for delegate generation. * generator/InterfaceGen.cs : New stub for interface generation. * generator/Parser.cs : Add the interface and callback element hooks. * generator/SymbolTable.cs : Additions to simple_types hash. 2002-01-07 Mike Kestner * generator/ObjectGen.cs : Make parent debug statement more helpful. * generator/Parser.cs : Add interface element case. * parser/gapi2xml.pl : Add interface types. * parser/gapi_pp.pl : Grab G_TYPE_INSTANCE_GET_INTERFACE defines. Grab struct declarations out of private headers. 2002-01-06 Mike Kestner * */makefile : Add atk to the build. * generator/EnumGen.cs : Create the generated dir if necessary. * generator/ObjectGen.cs : Create the generated dir if necessary. * generator/StructGen.cs : Create the generated dir if necessary. * parser/gapi2xml.pl : Squash bug in comma separated field defs. 2002-01-06 Mike Kestner * generator/EnumGen.cs : Open stream Create only. * generator/ObjectGen.cs : New generatable for GObject subclasses. * generator/Parser.cs : Add the object element hook. * generator/StructBase.cs : Handle bits element in GenField. * generator/StructGen.cs : Open stream Create only. * generator/SymbolTable.cs : Additions to simple_types hash. * parser/gapi2xml.pl : Parse bitflags into the bits element. 2002-01-05 Mike Kestner * generator/SymbolTable.cs : First pass at simple_types hash. 2002-01-05 Mike Kestner * generator/*.cs : Move into GtkSharp.Generation namespace. * generator/CodeGenerator.cs (Main): Add usage check. Add SymbolTable. * generator/EnumGen.cs (QualifiedName): New. (Generate): Add SymbolTable to signature. * generator/IGeneratable : Add QualifiedName prop and update Generate signature. * generator/Parser.cs : Switch from plain Hashtable to SymbolTable. (Parse): Replaces the Types property and returns a SymbolTable. * generator/StructBase.cs : New base class to derive struct and object types. Initial implementation of protected GenField method and ctor. * generator/StructGen.cs : New non-object struct type generatable. * generator/SymbolTable.cs : New. Manages complex types hash and a simple types hash. Will provide generic lookup interface. 2002-01-04 Mike Kestner * makefile : switch to the new generator. * generator/CodeGenerator.cs : New main program class. * generator/IGeneratable.cs : Interface for generation methods/props. * generator/EnumGen.cs : Subclass of IGeneratable for enums. * generator/Parser.cs : The XML parser. * parser/gapi_pp.pl : A source preprocessor for api extraction. * parser/gapi2xml.pl : Produces Xml document for GObject based APIs. 2001-12-31 Mike Kestner * codegen/defs-parse.pl : Fix EOL handling for DOS \r\n patterns as reported by David Dawkins. 2001-12-17 Mike Kestner * makefile : Add the pango subdir. * codegen/defs-parse.pl : Add a buttload of type entries to %maptypes and %marshaltypes. Ignore props, sigs, and methods for non GObject types. Turn on all classes. Major beefup of struct generation. Start to use the new sighandlers. Rip out const- types. Handle Unicode string marshalling. * codegen/gdk-structs.defs : Regenerated. * codegen/get-structs-from-source.pl : Handle typedef x y; Suppress structs with "Private" in the typename. Handle multiple levels of typedeffing. Handle function pointers. Suppress comments sanely. * codegen/gtk-props.defs : Fill out the rest of the classes. * codegen/gtk-signals.defs : Fill out the rest of the classes. * codegen/gtk-structs.defs : First pass. Hacked obscenely. * codegen/hardcoded.defs : Kill. No hardcoding needed anymore. * codegen/makefile : Use the new defs files. * codegen/pango.defs : Ripped from pygtk. * codegen/pango-structs.defs : New struct defs gen'd with my tool. * codegen/pango-types.defs : Ripped from pygtk. * gdk/makefile : Add the pango-sharp.dll ref. * gdk/SimpleEvent.cs : Killed. * glib/SimpleSignal.cs : Killed. * gtk/makefile : Add the pango-sharp.dll ref. * gtk/Widget.cs : Killed. * pango/makefile : New build dir. 2001-12-11 Mike Kestner * codegen/get-structs-from-source.pl : New define-struct extractor. * codegen/gdk-structs.defs : generated defs with a few hand edits. 2001-12-04 Mike Kestner * codegen/defs-parse.pl : Index %structs by cname, not name. Derive structs from class to facilitate marshalling since Value types can't use the Marshal.PtrToStructure method. Generate StructLayout attr for struct class defs. Stuff the signal args into a SignalArgs inst to pass to the EventHandlers. * sample/HelloWorld.cs : some cleanup and temporary signal playcode. 2001-12-01 Mike Kestner * makefile : Make ROOT /cygdrive/, not //. 2001-11-25 Mike Kestner * codegen/defs-parse.pl (get_sighandler): gen the helper class. arg passing and return value handling need beefing up still. * glib/SignalArgs.cs : New arg passing/ return value handling class. * glib/SignalCallback.cs (dtor): kill, this will be gen'd in the subclasses. (ctor): prune down to two params. 2001-11-24 Mike Kestner * codegen/defs-parse.pl : mkdir the glib/generated dir. (gen_signal): Call new get_sighandler sub. Doesn't use the returned value yet. s/event/ev3nt on arg names. (get_sighandler): new sub to lookup or gen a signal helper/delegate. Only generates the delegate so far. * codegen/hardcoded.defs : Added a stub for Gdk.Event. * gdk/Event.cs : Killed, now a generated struct. * gdk/SimpleEvent.cs (SimpleEventCallback): Use Marshal.PtrToStructure to create the Event, not a ctor(IntPtr). * glib/SignalCallback.cs : New abstract base class for signal helpers. 2001-11-14 Mike Kestner * codegen/defs-parse.pl : Add System.Collections to usings. s/event/signal. Add gen_signal sub and call it from gen_object. Mangle method names that collide with signal names by prepending Emit to the method name. * codegen/makefile : add gtk-signals.defs to the build. 2001-11-13 Mike Kestner * codegen/get-signals-from-source.pl : My own little perl signal parser. * codegen/gtk-signals.defs : Ripped the GtkWindow signals into here to goof with. 2001-11-10 Mike Kestner * codegen/defs-parse.pl : Fix String prop generation code. * gtk/Window.custom : Fix ctor param casting error. 2001-11-09 Mike Kestner * codegen/defs-parse.pl : Use the @ctors list to determine if a class is abstract. There is an abstract indicator in the new defs format description, but it doesn't appear in the defs files currently. This method should be reliable though, even in the long term. Use the same check to determine if ctor(IntPtr obj) should be gen'd. 2001-11-09 Mike Kestner * codegen/defs-parse.pl : Now genning Window, AccelGroup, Bin, and GdkPixbuf classes to peel the csc error onion. Explicitly add GObject to the "exists ($objects{...})" branches, since GObject is a hard coded Class. 2001-11-08 Mike Kestner * codegen/defs-parse.pl : Build a structs hash and gen the structs after the first pass of the defs. For structs and functions, mangle the 100s of params/fields named object to objekt. Insert using stmnts for structs too. * codegen/hardcoded.defs : Add GtkAccelEntry struct. 2001-11-07 Mike Kestner * codegen/defs-parse.pl (gen_object): Insert using statements. Insert class members from corresponding .custom file. * gtk/Window.custom : Renamed file from Window.cs. Removed all the automatically generated members. This will be the mechanism used to improve upon the mechanically generated binding. 2001-11-05 Mike Kestner * codegen/defs-parse.pl (gen_object): Generate a ctor (IntPtr obj) for every object. This is a wrapper constructor for use by an Object manager which will be called by GLib.Object.GetObject eventually to wrap raw GObject pointers returned by methods/props. 2001-11-04 Mike Kestner * codegen/defs-parse.pl : struct generation. Added float and double type mapping entries. * codegen/hardcoded.defs : GdkGeometry definition. define-struct doesn't appear to be supported in the current defs files. This file will be used for manual definition of unsupported defs. * codegen/makefile : add hardcoded.defs. 2001-11-02 Mike Kestner * codegen/defs-parse.pl : define-struct detection. Partial ctor support. Still need to deal with ctor signiature collisions. Refactored gen_method to share get_param_strings with ctors. 2001-10-30 Mike Kestner * codegen/defs-parse.pl : streamline mkdir stuff. Prune the object list back to just Window for now. Suppress generation of the Prop get/set accessor methods. * codegen/gdk-types.defs : Updated the 2button/3button event types since I don't feel like automangling them now. * gdk/Event.cs : Killed the now redundant EventType declaration. * glib/Object.cs : Override the Equals and GetHashCode methods. 2001-10-25 Mike Kestner * glib/Object.cs : Added Get|SetProperty methods for Object properties. 2001-10-25 Mike Kestner * codegen/get-props-from-source.pl : Temporary (possibly) defs generator for props. Will probably kill this when the official defs support props. * codegen/defs-parse.pl : Added object-based aggregation of defs. Generate the class shells, methods, and props. * codegen/gdk-types.defs : ripped from pygtk. * codegen/gtk.defs : ripped from pygtk. * codegen/gtk-props.defs : some props defs. * codegen/makefile : add the new defs files. 2001-10-11 Mike Kestner * makefile : Add the codegen directory * codegen/defs-parse.pl : Moved here from topdir and updated to parse the new defs format for enums and flags. * codegen/gtk-types.defs : Borrowed from pygtk. * codegen/makefile : new * gtk/makefile : remove generation step. * gtk/gtk.defs : removed, now in codegen dir. 2001-10-07 Mike Kestner * gtk/Button.cs : Some nomenclature changes. s/EmitClicked/Click, etc. We need a consistent way to deal with naming clashes in gtk's method and signal namespaces. When clashes exist, events will be made past tense and methods to programatically emit events will be the present tense (e.g. Clicked event and Click method). 2001-10-07 Mike Kestner * glib/Object.cs : Added public Handle property. It would be nice if I could make the RawObject public for get and protected for set, but that doesn't appear to be possible with C# properties. * gtk/Container.cs : New class with 2 of the 3 props and the Add/Remove methods only implemented. * gtk/Widget.cs : Added SizeRequest prop which is a combination of HeightRequest and SizeRequest. Embrace and extend gtk... * gtk/Window.cs : Derive from newly added Container subclass. * sample/ButtonApp.cs : Simple tire-kicking app. 2001-10-06 Mike Kestner * gtk/Button.cs : Implemented 3 constructors, 5 methods, 4 properties, and 6 signals. Button API is 100% implemented. Need to implement some Container methods to be able to complete testing. 2001-10-05 Mike Kestner * defs-parse.pl : A little automation for the binding. The enums and flags can be painlessly generated from defs files. * gtk/makefile : use defs-parse.pl to produce generated.cs. * gtk/.cvsignore : hush generated.cs * gtk/gtk.defs : unceremoniously ripped from gtk+ HEAD. * gtk/Window.cs : Killed the WindowType enum which is now generated. 2001-10-04 Mike Kestner * glib/SimpleSignal.cs : Reworked to parallel SimpleEvent. 2001-10-04 Mike Kestner * gtk/Widget.cs : Implemented all the bool, string, and int props. 2001-10-04 Mike Kestner * gdk/SimpleEvent.cs : Temporarily uncomment the GCHandle code until a layout is ready and exceptions can be avoided. * gtk/Widget.cs : Killed all the signal and event attaching methods. They never belonged here, and now they exist in the SimpleEvent. Add a Signals hash to hold refs of the Signal handlers. Killed default ctor and the dtor. The event Add/Remove methods now create a SimpleEvent, stuff it in the hash, and remove it when the last handler disappears. 2001-10-04 Mike Kestner * HACKING : Little bit of cleanup. * gdk/SimpleEvent.cs : Redesigned a bit. Docs. Replaced refcounting mechanism with an instance hash and added ctor/dtor. This class now completely encapsulates the signal attachment and forwarding mechanism for GdkEvent based signals. It attaches to the raw signal, maintains a ref to the associated event handler, and uses the static callback to activate the event handler on signal receipt. * sample/makefile : killed one last CSC explicit reference. 2001-10-02 Mike Kestner * glib/Value.cs : Tried adding CallingConvention.Cdecl to all the DllImports, but still couldn't get reliable Propery setting without periodic NullReference exceptions. When all else fails, drop back and punt. * glib/Object.cs : Rewrote Set|GetProperty methods. Now they use g_object_get|set and don't rely on GValues. The int, bool, and string prop types are now working reliably. * gtk/Window.cs : Update all Properties to use new GLib.Object signatures. * sample/HelloWorld.cs : added some more property usage for testing purposes. 2001-09-29 Mike Kestner * glib/Value.cs (int ctor): New constructor for int-based values. (int exp cast): New explicit cast operator for Val to int conversion. * gtk/Window.cs (DefaultHeight): New prop. (DefaultWidth): New prop. 2001-09-28 Mike Kestner * glib/Object.cs (GetProperty): New, gets props from the raw obj. (SetProperty): New, for setting props on the raw obj. * glib/Value.cs (type ctor): New needed for get accessors. *gtk/Window.cs (AllowGrow): Uncommented and filled out. (AllowShrink): Uncommented and filled out. (DestroyWithParent): Uncommented and filled out. (Modal): Uncommented and filled out. (Resizable): Added. All the bool Props work now. 2001-09-28 Mike Kestner * glib/Value.cs (~Value): New destructor to release g_malloc'd space. (default ctor): New default ctor just mallocs without init. (String ctor): call default (bool ctor): call default (Init): New post construct initializer. (String exp cast): Replaces ToString method. (bool exp cast): New for bool extraction. (MarshalAs): Renamed prop was RawValue. 2001-09-27 Mike Kestner * glib/Object.cs : Docs for everything. Made Objects hash private. Some coding style cleanup. Pruned some of the TODO methods from the commented header listing to make a more relistic picture of the remaining effort. Some GSignal stuff probly belongs here too. ([Get|Set]Data): Killed some DllImports and set up methods to store arbitrary data in a managed hash table. 2001-09-27 Mike Kestner *.cs : Added .dll extension to a load of DllImports. * makefile : now can make the project with one make windows and on both NT and Win98. * gdk/Event.cs : Fixed some invalid symbol names and commented out a load of stuff. * gdk/SimpleEvent.cs : Relocated file from unnecessary subdir and fixed several event keyword clashing bugs. Need to relocate the EventArgs class out of here into its own file. Fixed loads of typos. * glib/Object.cs : Killed the Constructor, this should be a purely abstract class. made Events property public until I can fix the Signal proxying system's broken reliance on it. * glib/SimpleSignal.cs : Relocated, namespaces, and named this Class. Loads of bugfixes. Still doesn't work worth a damn, but it builds. * glib/TypeFundamentals.cs : New enum for use in the Value code. * glib/Value.cs : Implemented a more opaque approach with heap allocated memory and g_value_init and friends. Still doesn't work. Will probably switch to a more C# like approach and avoid GValues altogether. * gtk/Button.cs : Commented out some brokeness until I can get around to fixing it later. * gtk/Widget.cs : Commented out a bunch of the new signal stuff until I get around to it. * gtk/Window.cs (Title): using g_object_set until I work out the details of the new Value/SetProperty system. It looks like g_object_set will end up being easier to use via PInvoke. 2001-09-25 Bob Smith * Added refcounts to delegates to make sure they can be unpined when not needed. 2001-09-21 Bob Smith * Signal system totally reworked. It should be stable now. * glib/Object.cs: Rewrote the way the wrapper is kept track of. 2001-09-20 Bob Smith * glib/ObjectManager.cs: Nuked. * glib/Object.cs: Keep track of wrapper. * gtk/Object: First stab at better signal system. Should reduce number of pins nessisary. 2001-09-19 Mike Kestner * HACKING : New rulez. * NOTES: Killed. We have a mailing list now for this kind of stuff. * glib/makefile : New, to build the new glib-sharp.dll target. * glib/Object.cs : (GetObject): Commented out. Design problems here. IntPtr's can't be used in the manner this code attempts to use them. (Data prop): Commented out. Apparently keyed properties are not supported. (Object prop): Renamed RawObject, and made it protected. (Events): Fixed to cause list to be initialized if null and then return the list. * glib/ObjectManager.cs : commented out entirely. Not sure what this code is trying to accomplish and it doesn't compile. * glib/Value.cs : New attempt at implementing GValues. Doesn't work yet. * gtk/Button.cs : Updated to use RawObject. (Clicked event): s/EmitDeleteEvent/EmitClickedEvent. (Button(String)): s/gtk_label_new_with_lable/gtk_button_new_with_label. * gtk/Label.cs : Fixed some yank and paste errors where 2 value params were getting passed to all the set_* property methods. * gtk/Window.cs : Fixed hanging GTK namespace ref. * sample/HelloWorld.cs : Fixed hanging GTK namespace ref. 2001-09-18 Bob Smith * glib/Object.cs : Moved parts of gtk/Object.cs here, and added static GetObject method and a Data property. * glib/ObjectManager.cs : New. * gtk/Object.cs : removed some GObject wrapping code. * gtk/*.cs : Updated namespace from GTK to Gtk. 2001-09-18 Bob Smith * gtk/Object.cs : Added EventList and Object properties. * gtk/Widget.cs : Updated event emission logic. * gtk/Window.cs : added Window(IntPtr) constructor. * gtk/Button.cs : New. Partial implementation of Button class. * gtk/Label.cs : New. Partial implementation of Label class. 2001-09-17 Mike Kestner Initial Import. Partial implementation of Object, Widget, Window, and Application classes and HelloWorld.cs sample app. gtk-sharp-2.12.40/gdk/0000775000175000017500000000000012767740534011347 500000000000000gtk-sharp-2.12.40/gdk/EventSelection.cs0000664000175000017500000000443012767740470014545 00000000000000// Gdk.EventSelection.cs - Custom selection event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventSelection : Event { [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_selection_get_time (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_selection_get_selection (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_selection_get_target (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_selection_get_property (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_selection_get_requestor (IntPtr evt); public EventSelection (IntPtr raw) : base (raw) {} public Atom Property { get { return new Atom (gtksharp_gdk_event_selection_get_property (Handle)); } } public Atom Selection { get { return new Atom (gtksharp_gdk_event_selection_get_selection (Handle)); } } public Atom Target { get { return new Atom (gtksharp_gdk_event_selection_get_target (Handle)); } } public uint Requestor { get { return gtksharp_gdk_event_selection_get_requestor (Handle); } } public uint Time { get { return gtksharp_gdk_event_selection_get_time (Handle); } } } } gtk-sharp-2.12.40/gdk/EventVisibility.cs0000664000175000017500000000240012767740470014742 00000000000000// Gdk.EventVisibility.cs - Custom visibility event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventVisibility : Event { [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern VisibilityState gtksharp_gdk_event_visibility_get_state (IntPtr evt); public EventVisibility (IntPtr raw) : base (raw) {} public VisibilityState State { get { return gtksharp_gdk_event_visibility_get_state (Handle); } } } } gtk-sharp-2.12.40/gdk/gdk-sharp.dll.config.in0000664000175000017500000000062112767740470015513 00000000000000 gtk-sharp-2.12.40/gdk/Size.cs0000664000175000017500000000441712654353766012540 00000000000000// Size.cs // // Author: Mike Kestner (mkestner@speakeasy.net) // // Copyright (c) 2001 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. using System; namespace Gdk { public struct Size { int width, height; public static readonly Size Empty; public static Size operator + (Size sz1, Size sz2) { return new Size (sz1.Width + sz2.Width, sz1.Height + sz2.Height); } public static bool operator == (Size sz_a, Size sz_b) { return ((sz_a.Width == sz_b.Width) && (sz_a.Height == sz_b.Height)); } public static bool operator != (Size sz_a, Size sz_b) { return ((sz_a.Width != sz_b.Width) || (sz_a.Height != sz_b.Height)); } public static Size operator - (Size sz1, Size sz2) { return new Size (sz1.Width - sz2.Width, sz1.Height - sz2.Height); } public static explicit operator Point (Size sz) { return new Point (sz.Width, sz.Height); } public Size (Point pt) { width = pt.X; height = pt.Y; } public Size (int width, int height) { this.width = width; this.height = height; } public bool IsEmpty { get { return ((width == 0) && (height == 0)); } } public int Width { get { return width; } set { width = value; } } public int Height { get { return height; } set { height = value; } } public override bool Equals (object o) { if (!(o is Size)) return false; return (this == (Size) o); } public override int GetHashCode () { return width^height; } public override string ToString () { return String.Format ("{{Width={0}, Height={1}}}", width, height); } } } gtk-sharp-2.12.40/gdk/EventWindowState.cs0000664000175000017500000000310212767740470015063 00000000000000// Gdk.EventWindowState.cs - Custom WindowState event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventWindowState : Event { [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern WindowState gtksharp_gdk_event_window_state_get_changed_mask (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern WindowState gtksharp_gdk_event_window_state_get_new_window_state (IntPtr evt); public EventWindowState (IntPtr raw) : base (raw) {} public WindowState ChangedMask { get { return gtksharp_gdk_event_window_state_get_changed_mask (Handle); } } public WindowState NewWindowState { get { return gtksharp_gdk_event_window_state_get_new_window_state (Handle); } } } } gtk-sharp-2.12.40/gdk/EventScroll.cs0000664000175000017500000000574012767740470014063 00000000000000// Gdk.EventScroll.cs - Custom scroll event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventScroll : Event { [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_scroll_get_time (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_scroll_get_x (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_scroll_get_y (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_scroll_get_x_root (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_scroll_get_y_root (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_scroll_get_state (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern ScrollDirection gtksharp_gdk_event_scroll_get_direction (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_scroll_get_device (IntPtr evt); public EventScroll (IntPtr raw) : base (raw) {} public uint Time { get { return gtksharp_gdk_event_scroll_get_time (Handle); } } public ModifierType State { get { return (ModifierType) gtksharp_gdk_event_scroll_get_state (Handle); } } public double X { get { return gtksharp_gdk_event_scroll_get_x (Handle); } } public double Y { get { return gtksharp_gdk_event_scroll_get_y (Handle); } } public double XRoot { get { return gtksharp_gdk_event_scroll_get_x_root (Handle); } } public double YRoot { get { return gtksharp_gdk_event_scroll_get_y_root (Handle); } } public ScrollDirection Direction { get { return gtksharp_gdk_event_scroll_get_direction (Handle); } } public Device Device { get { return GLib.Object.GetObject (gtksharp_gdk_event_scroll_get_device (Handle)) as Device; } } } } gtk-sharp-2.12.40/gdk/EventConfigure.cs0000664000175000017500000000367012767740470014546 00000000000000// Gdk.EventConfigure.cs - Custom configure event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventConfigure : Event { [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_gdk_event_configure_get_x (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_gdk_event_configure_get_y (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_gdk_event_configure_get_width (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_gdk_event_configure_get_height (IntPtr evt); public EventConfigure (IntPtr raw) : base (raw) {} public int X { get { return gtksharp_gdk_event_configure_get_x (Handle); } } public int Y { get { return gtksharp_gdk_event_configure_get_y (Handle); } } public int Width { get { return gtksharp_gdk_event_configure_get_width (Handle); } } public int Height { get { return gtksharp_gdk_event_configure_get_height (Handle); } } } } gtk-sharp-2.12.40/gdk/EventMotion.cs0000664000175000017500000000661312767740470014072 00000000000000// Gdk.EventMotion.cs - Custom motion event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventMotion : Event { [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_motion_get_time (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_motion_get_x (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_motion_get_y (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_motion_get_x_root (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_motion_get_y_root (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_motion_get_state (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern ushort gtksharp_gdk_event_motion_get_is_hint (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_motion_get_device (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_motion_get_axes (IntPtr evt); public EventMotion (IntPtr raw) : base (raw) {} public uint Time { get { return gtksharp_gdk_event_motion_get_time (Handle); } } public ModifierType State { get { return (ModifierType) gtksharp_gdk_event_motion_get_state (Handle); } } public double X { get { return gtksharp_gdk_event_motion_get_x (Handle); } } public double Y { get { return gtksharp_gdk_event_motion_get_y (Handle); } } public double XRoot { get { return gtksharp_gdk_event_motion_get_x_root (Handle); } } public double YRoot { get { return gtksharp_gdk_event_motion_get_y_root (Handle); } } public bool IsHint { get { return gtksharp_gdk_event_motion_get_is_hint (Handle) == 0 ? false : true; } } public Device Device { get { return GLib.Object.GetObject (gtksharp_gdk_event_motion_get_device (Handle)) as Device; } } public double[] Axes { get { double[] result = null; IntPtr axes = gtksharp_gdk_event_motion_get_axes (Handle); if (axes != IntPtr.Zero) { result = new double [Device.NumAxes]; Marshal.Copy (axes, result, 0, result.Length); } return result; } } } } gtk-sharp-2.12.40/gdk/EventCrossing.cs0000664000175000017500000000677512767740470014425 00000000000000// Gdk.EventCrossing.cs - Custom crossing event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventCrossing : Event { [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_crossing_get_time (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_crossing_get_x (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_crossing_get_y (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_crossing_get_x_root (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_crossing_get_y_root (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_crossing_get_state (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_crossing_get_subwindow (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern CrossingMode gtksharp_gdk_event_crossing_get_mode (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern NotifyType gtksharp_gdk_event_crossing_get_detail (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern bool gtksharp_gdk_event_crossing_get_focus (IntPtr evt); public EventCrossing (IntPtr raw) : base (raw) {} public uint Time { get { return gtksharp_gdk_event_crossing_get_time (Handle); } } public ModifierType State { get { return (ModifierType) gtksharp_gdk_event_crossing_get_state (Handle); } } public double X { get { return gtksharp_gdk_event_crossing_get_x (Handle); } } public double Y { get { return gtksharp_gdk_event_crossing_get_y (Handle); } } public double XRoot { get { return gtksharp_gdk_event_crossing_get_x_root (Handle); } } public double YRoot { get { return gtksharp_gdk_event_crossing_get_y_root (Handle); } } public Window Subwindow { get { return GLib.Object.GetObject (gtksharp_gdk_event_crossing_get_subwindow (Handle)) as Window; } } public CrossingMode Mode { get { return gtksharp_gdk_event_crossing_get_mode (Handle); } } public NotifyType Detail { get { return gtksharp_gdk_event_crossing_get_detail (Handle); } } public bool Focus { get { return gtksharp_gdk_event_crossing_get_focus (Handle); } } } } gtk-sharp-2.12.40/gdk/Input.custom0000664000175000017500000000367712767740470013636 00000000000000// Gdk.Input.custom - Gdk Input class customizations // // Author: Mike Kestner // // Copyright (C) 2005, 2007 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int gdk_input_add_full (int source, int condition, GdkSharp.InputFunctionNative function, IntPtr data, GLib.DestroyNotify destroy); [Obsolete] public static int AddFull (int source, Gdk.InputCondition condition, Gdk.InputFunction function, IntPtr data, Gdk.DestroyNotify destroy) { GdkSharp.InputFunctionWrapper function_wrapper = new GdkSharp.InputFunctionWrapper (function); GCHandle gch = GCHandle.Alloc (function_wrapper); return gdk_input_add_full (source, (int) condition, function_wrapper.NativeDelegate, (IntPtr) gch, GLib.DestroyHelper.NotifyHandler); } [Obsolete] public static int Add (int source, Gdk.InputCondition condition, Gdk.InputFunction function) { GdkSharp.InputFunctionWrapper function_wrapper = new GdkSharp.InputFunctionWrapper (function); GCHandle gch = GCHandle.Alloc (function_wrapper); return gdk_input_add_full (source, (int) condition, function_wrapper.NativeDelegate, (IntPtr) gch, GLib.DestroyHelper.NotifyHandler); } gtk-sharp-2.12.40/gdk/EventDND.cs0000664000175000017500000000371012767740470013225 00000000000000// Gdk.EventDND.cs - Custom dnd event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventDND : Event { [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_dnd_get_time (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_dnd_get_context (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern short gtksharp_gdk_event_dnd_get_x_root (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern short gtksharp_gdk_event_dnd_get_y_root (IntPtr evt); public EventDND (IntPtr raw) : base (raw) {} public DragContext Context { get { return GLib.Object.GetObject (gtksharp_gdk_event_dnd_get_context (Handle)) as DragContext; } } public uint Time { get { return gtksharp_gdk_event_dnd_get_time (Handle); } } public short XRoot { get { return gtksharp_gdk_event_dnd_get_x_root (Handle); } } public short YRoot { get { return gtksharp_gdk_event_dnd_get_y_root (Handle); } } } } gtk-sharp-2.12.40/gdk/Point.custom0000664000175000017500000000413112767740470013612 00000000000000// Gdk.Point.custom - Gdk Point class customizations // // Authors: // Jasper van Putten // Martin Willemoes Hansen // Ben Maurer // Contains lots of c&p from System.Drawing // // Copyright (c) 2002 Jasper van Putten // Copyright (c) 2003 Martin Willemoes Hansen // Copyright (c) 2005 Novell, Inc // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public override string ToString () { return String.Format ("({0},{1})", X, Y); } public Point (int x, int y) { this.X = x; this.Y = y; } public Point (Size sz) { this.X = sz.Width; this.Y = sz.Height; } public override bool Equals (object o) { if (!(o is Point)) return false; return (this == (Point) o); } public override int GetHashCode () { return X ^ Y; } public void Offset (int dx, int dy) { X += dx; Y += dy; } public bool IsEmpty { get { return ((X == 0) && (Y == 0)); } } public static explicit operator Size (Point pt) { return new Size (pt.X, pt.Y); } public static Point operator + (Point pt, Size sz) { return new Point (pt.X + sz.Width, pt.Y + sz.Height); } public static Point operator - (Point pt, Size sz) { return new Point (pt.X - sz.Width, pt.Y - sz.Height); } public static bool operator == (Point pt_a, Point pt_b) { return ((pt_a.X == pt_b.X) && (pt_a.Y == pt_b.Y)); } public static bool operator != (Point pt_a, Point pt_b) { return ((pt_a.X != pt_b.X) || (pt_a.Y != pt_b.Y)); } gtk-sharp-2.12.40/gdk/Property.custom0000664000175000017500000000535312767740470014354 00000000000000// Gdk.Property.custom - Custom implementation for Property class // // Authors: Mike Kestner // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gdk_property_change(IntPtr window, IntPtr property, IntPtr type, int format, int mode, out byte data, int nelements); [Obsolete ("Replaced by corrected overload with data parameter")] public static byte Change(Gdk.Window window, Gdk.Atom property, Gdk.Atom type, int format, Gdk.PropMode mode, int nelements) { byte data; gdk_property_change(window == null ? IntPtr.Zero : window.Handle, property == null ? IntPtr.Zero : property.Handle, type == null ? IntPtr.Zero : type.Handle, format, (int) mode, out data, nelements); return data; } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gdk_property_get(IntPtr window, IntPtr property, IntPtr type, UIntPtr offset, UIntPtr length, int pdelete, out IntPtr actual_property_type, out int actual_format, out int actual_length, out IntPtr data); public static bool Get(Gdk.Window window, Gdk.Atom property, Gdk.Atom type, ulong offset, ulong length, int pdelete, out Gdk.Atom actual_property_type, out int actual_format, out int actual_length, out byte[] data) { IntPtr actual_property_type_as_native; IntPtr actual_data; bool raw_ret = gdk_property_get(window == null ? IntPtr.Zero : window.Handle, property == null ? IntPtr.Zero : property.Handle, type == null ? IntPtr.Zero : type.Handle, new UIntPtr (offset), new UIntPtr (length), pdelete, out actual_property_type_as_native, out actual_format, out actual_length, out actual_data); data = null; if (raw_ret) { data = new byte [actual_length]; Marshal.Copy (actual_data, data, 0, actual_length); GLib.Marshaller.Free (actual_data); } bool ret = raw_ret; actual_property_type = actual_property_type_as_native == IntPtr.Zero ? null : (Gdk.Atom) GLib.Opaque.GetOpaque (actual_property_type_as_native, typeof (Gdk.Atom), false); return ret; } gtk-sharp-2.12.40/gdk/Rectangle.custom0000664000175000017500000000776612767740470014446 00000000000000// Gdk.Point.Rectangle - Gdk Rectangle class customizations // // Authors: // Jasper van Putten // Ben Maurer // Contains lots of c&p from System.Drawing // // Copyright (c) 2002 Jasper van Putten // Copyright (c) 2005 Novell, Inc // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public override string ToString () { return String.Format ("{0}x{1}+{2}+{3}", Width, Height, X, Y); } // constructors public Rectangle (int x, int y, int width, int height) { this.X = x; this.Y = y; this.Width = width; this.Height = height; } public Rectangle (Point loc, Size sz) : this (loc.X, loc.Y, sz.Width, sz.Height) {} public static Rectangle FromLTRB (int left, int top, int right, int bottom) { return new Rectangle (left, top, right - left, bottom - top); } // Equality public override bool Equals (object o) { if (!(o is Rectangle)) return false; return (this == (Rectangle) o); } public override int GetHashCode () { return (Height + Width) ^ X + Y; } public static bool operator == (Rectangle r1, Rectangle r2) { return ((r1.Location == r2.Location) && (r1.Size == r2.Size)); } public static bool operator != (Rectangle r1, Rectangle r2) { return !(r1 == r2); } // Hit Testing / Intersection / Union public bool Contains (Rectangle rect) { return (rect == Intersect (this, rect)); } public bool Contains (Point pt) { return Contains (pt.X, pt.Y); } public bool Contains (int x, int y) { return ((x >= Left) && (x <= Right) && (y >= Top) && (y <= Bottom)); } public bool IntersectsWith (Rectangle r) { return !((Left > r.Right) || (Right < r.Left) || (Top > r.Bottom) || (Bottom < r.Top)); } public static Rectangle Union (Rectangle r1, Rectangle r2) { return FromLTRB (Math.Min (r1.Left, r2.Left), Math.Min (r1.Top, r2.Top), Math.Max (r1.Right, r2.Right), Math.Max (r1.Bottom, r2.Bottom)); } public void Intersect (Rectangle r) { this = Intersect (this, r); } public static Rectangle Intersect (Rectangle r1, Rectangle r2) { Rectangle r; if (!r1.Intersect (r2, out r)) return new Rectangle (); return r; } // Position/Size public int Top { get { return Y; } } public int Bottom { get { return Y + Height - 1; } } public int Right { get { return X + Width - 1; } } public int Left { get { return X; } } public bool IsEmpty { get { return (Width == 0) || (Height == 0); } } public Size Size { get { return new Size (Width, Height); } set { Width = value.Width; Height = value.Height; } } public Point Location { get { return new Point (X, Y); } set { X = value.X; Y = value.Y; } } // Inflate and Offset public void Inflate (Size sz) { Inflate (sz.Width, sz.Height); } public void Inflate (int width, int height) { X -= width; Y -= height; Width += width * 2; Height += height * 2; } public static Rectangle Inflate (Rectangle rect, int x, int y) { Rectangle r = rect; r.Inflate (x, y); return r; } public static Rectangle Inflate (Rectangle rect, Size sz) { return Inflate (rect, sz.Width, sz.Height); } public void Offset (int dx, int dy) { X += dx; Y += dy; } public void Offset (Point dr) { Offset (dr.X, dr.Y); } public static Rectangle Offset (Rectangle rect, int dx, int dy) { Rectangle r = rect; r.Offset (dx, dy); return r; } public static Rectangle Offset (Rectangle rect, Point dr) { return Offset (rect, dr.X, dr.Y); } gtk-sharp-2.12.40/gdk/Global.custom0000664000175000017500000001355312767740470013731 00000000000000// Global.custom - customizations to Gdk.Global // // Authors: Mike Kestner // Boyd Timothy // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_devices_list (); public static Device[] DevicesList () { IntPtr raw_ret = gdk_devices_list (); if (raw_ret == IntPtr.Zero) return new Device [0]; GLib.List list = new GLib.List(raw_ret); return GLib.Marshaller.ListToArray (list); } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_list_visuals (); public static Visual[] ListVisuals () { IntPtr raw_ret = gdk_list_visuals (); if (raw_ret == IntPtr.Zero) return new Visual [0]; return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.List), true, false); } [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_get_gdk_net_supported (); public static Gdk.Atom[] SupportedWindowManagerHints { get { IntPtr raw_ret = gtksharp_get_gdk_net_supported (); if (raw_ret == IntPtr.Zero) return new Gdk.Atom [0]; return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.List), true, false); } } [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_get_gdk_net_client_list (out int count); public static Gdk.Window[] WindowManagerClientWindows { get { int count; IntPtr raw_ret = gtksharp_get_gdk_net_client_list (out count); if (raw_ret == IntPtr.Zero) return new Gdk.Window [0]; Gdk.Window [] windows = new Gdk.Window [count]; int offset = 0; for (int i = 0; i < count; i++) { int windowID = Marshal.ReadInt32 (raw_ret, offset); Console.WriteLine ("WinID: {0}", windowID); offset += IntPtr.Size; windows [i] = Gdk.Window.ForeignNew ((uint) windowID); } GLib.Marshaller.Free (raw_ret); return windows; } } [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_get_gdk_net_number_of_desktops (); public static int NumberOfDesktops { get { return gtksharp_get_gdk_net_number_of_desktops (); } } [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_get_gdk_net_current_desktop (); public static int CurrentDesktop { get { return gtksharp_get_gdk_net_current_desktop (); } } [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_get_gdk_net_active_window (); public static Gdk.Window ActiveWindow { get { uint windowID = gtksharp_get_gdk_net_active_window (); if (windowID == 0) return Gdk.Global.DefaultRootWindow; Console.WriteLine ("Active Window ID: {0}", windowID); Gdk.Window window = Gdk.Window.ForeignNew (windowID); return window; } } [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_get_gdk_net_workarea (); public static Gdk.Rectangle[] DesktopWorkareas { get { IntPtr raw_ret = gtksharp_get_gdk_net_workarea (); if (raw_ret == IntPtr.Zero) return new Gdk.Rectangle [0]; return GLib.Marshaller.ListPtrToArray (raw_ret, typeof(GLib.List), true, false); } } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gdk_init_check(ref int argc, ref IntPtr argv); public static bool InitCheck (ref string[] argv) { GLib.Argv a = new GLib.Argv (argv, true); IntPtr buf = a.Handle; int argc = argv.Length + 1; bool result = gdk_init_check (ref argc, ref buf); argv = a.GetArgs (argc); return result; } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gdk_parse_args(ref int argc, ref IntPtr argv); public static void ParseArgs (ref string[] argv) { GLib.Argv a = new GLib.Argv (argv, true); IntPtr buf = a.Handle; int argc = argv.Length + 1; gdk_parse_args (ref argc, ref buf); argv = a.GetArgs (argc); } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gdk_query_depths (out IntPtr depths, out int n_depths); public static int[] QueryDepths () { IntPtr ptr; int count; gdk_query_depths (out ptr, out count); int[] result = new int [count]; Marshal.Copy (ptr, result, 0, count); return result; } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gdk_query_visual_types (out IntPtr types, out int n_types); public static VisualType[] QueryVisualTypes () { IntPtr ptr; int count; gdk_query_visual_types (out ptr, out count); int[] tmp = new int [count]; Marshal.Copy (ptr, tmp, 0, count); VisualType[] result = new VisualType [count]; for (int i = 0; i < count; i++) result [i] = (VisualType) tmp [i]; return result; } public static void AddClientMessageFilter (Gdk.Atom message_type, Gdk.FilterFunc func) { Gdk.Display.Default.AddClientMessageFilter (message_type, func); } gtk-sharp-2.12.40/gdk/Event.cs0000664000175000017500000001024612767740470012701 00000000000000// Gdk.Event.cs - Custom event wrapper // // Authors: Rachel Hestilow // Mike Kestner // // Copyright (c) 2002 Rachel Hestilow // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class Event : GLib.IWrapper { [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern EventType gtksharp_gdk_event_get_event_type (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_get_window (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern sbyte gtksharp_gdk_event_get_send_event (IntPtr evt); [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_event_get_type (); IntPtr raw; public Event(IntPtr raw) { this.raw = raw; } public IntPtr Handle { get { return raw; } } static GLib.GType _gtype = new GLib.GType (gdk_event_get_type ()); public static GLib.GType GType { get { return _gtype; } } public EventType Type { get { return gtksharp_gdk_event_get_event_type (Handle); } } public Window Window { get { return GLib.Object.GetObject (gtksharp_gdk_event_get_window (Handle)) as Window; } } public bool SendEvent { get { return gtksharp_gdk_event_get_send_event (Handle) == 0 ? false : true; } } public static Event New (IntPtr raw) { return GetEvent (raw); } public static Event GetEvent (IntPtr raw) { if (raw == IntPtr.Zero) return null; switch (gtksharp_gdk_event_get_event_type (raw)) { case EventType.Expose: return new EventExpose (raw); case EventType.MotionNotify: return new EventMotion (raw); case EventType.ButtonPress: case EventType.TwoButtonPress: case EventType.ThreeButtonPress: case EventType.ButtonRelease: return new EventButton (raw); case EventType.KeyPress: case EventType.KeyRelease: return new EventKey (raw); case EventType.EnterNotify: case EventType.LeaveNotify: return new EventCrossing (raw); case EventType.FocusChange: return new EventFocus (raw); case EventType.Configure: return new EventConfigure (raw); case EventType.PropertyNotify: return new EventProperty (raw); case EventType.SelectionClear: case EventType.SelectionRequest: case EventType.SelectionNotify: return new EventSelection (raw); case EventType.ProximityIn: case EventType.ProximityOut: return new EventProximity (raw); case EventType.DragEnter: case EventType.DragLeave: case EventType.DragMotion: case EventType.DragStatus: case EventType.DropStart: case EventType.DropFinished: return new EventDND (raw); case EventType.ClientEvent: return new EventClient (raw); case EventType.VisibilityNotify: return new EventVisibility (raw); case EventType.Scroll: return new EventScroll (raw); case EventType.WindowState: return new EventWindowState (raw); case EventType.Setting: return new EventSetting (raw); #if GTK_SHARP_2_6 case EventType.OwnerChange: return new EventOwnerChange (raw); #endif #if GTK_SHARP_2_8 case EventType.GrabBroken: return new EventGrabBroken (raw); #endif case EventType.Map: case EventType.Unmap: case EventType.NoExpose: case EventType.Delete: case EventType.Destroy: default: return new Gdk.Event (raw); } } } } gtk-sharp-2.12.40/gdk/gdk-symbols.xml0000664000175000017500000000373512767740470014253 00000000000000 gtk-sharp-2.12.40/gdk/Makefile.in0000664000175000017500000006520312767740506013341 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = gdk ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = gdk-sharp.dll.config CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(gapidir)" DATA = $(gapi_DATA) $(noinst_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in \ $(srcdir)/gdk-sharp.dll.config.in \ $(top_srcdir)/Makefile.include DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = . glue @ENABLE_MONO_CAIRO_FALSE@local_mono_cairo = @ENABLE_MONO_CAIRO_TRUE@local_mono_cairo = $(top_builddir)/cairo/Mono.Cairo.dll pkg = gdk SYMBOLS = gdk-symbols.xml INCLUDE_API = $(top_srcdir)/glib/glib-api.xml $(top_builddir)/pango/pango-api.xml METADATA = Gdk.metadata references = $(top_builddir)/glib/glib-sharp.dll $(top_builddir)/pango/pango-sharp.dll $(local_mono_cairo) glue_includes = gdk/gdk.h sources = \ EventButton.cs \ EventClient.cs \ EventConfigure.cs \ EventCrossing.cs \ Event.cs \ EventDND.cs \ EventExpose.cs \ EventFocus.cs \ EventGrabBroken.cs \ EventKey.cs \ EventMotion.cs \ EventOwnerChange.cs \ EventProperty.cs \ EventProximity.cs \ EventScroll.cs \ EventSelection.cs \ EventSetting.cs \ EventVisibility.cs \ EventWindowState.cs \ Key.cs \ Size.cs \ TextProperty.cs customs = \ Atom.custom \ Color.custom \ Device.custom \ DeviceAxis.custom \ Display.custom \ DisplayManager.custom \ DragContext.custom \ Drawable.custom \ EdgeTable.custom \ GCValues.custom \ Global.custom \ Input.custom \ Keymap.custom \ PangoAttrEmbossed.custom\ PangoAttrEmbossColor.custom \ PangoAttrStipple.custom \ Pixmap.custom \ Pixbuf.custom \ PixbufAnimation.custom \ PixbufFrame.custom \ PixbufLoader.custom \ Pixdata.custom \ Point.custom \ Property.custom \ Rectangle.custom \ Region.custom \ RgbCmap.custom \ Screen.custom \ Selection.custom \ WindowAttr.custom \ Window.custom add_dist = SNK = gtk-sharp.snk API = $(pkg)-api.xml RAW_API = $(pkg)-api.raw ASSEMBLY_NAME = $(pkg)-sharp ASSEMBLY = $(ASSEMBLY_NAME).dll TARGET = $(pkg:=-sharp.dll) $(pkg:=-sharp.dll.config) $(POLICY_ASSEMBLIES) noinst_DATA = $(TARGET) TARGET_API = $(pkg:=-api.xml) gapidir = $(datadir)/gapi-2.0 gapi_DATA = $(TARGET_API) CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(POLICY_ASSEMBLIES) generated-stamp generated/*.cs $(API) glue/generated.c $(SNK) AssemblyInfo.cs $(POLICY_CONFIGS) DISTCLEANFILES = $(ASSEMBLY).config POLICY_ASSEMBLIES = $(addsuffix .$(ASSEMBLY), $(addprefix policy., $(POLICY_VERSIONS))) POLICY_CONFIGS = $(addsuffix .config, $(addprefix policy., $(POLICY_VERSIONS))) EXTRA_DIST = $(RAW_API) $(SYMBOLS) $(ASSEMBLY).config.in $(METADATA) $(customs) $(sources) $(add_dist) build_symbols = $(addprefix --symbols=$(srcdir)/, $(SYMBOLS)) build_customs = $(addprefix $(srcdir)/, $(customs)) api_includes = $(addprefix -I:, $(INCLUDE_API)) build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs build_references = $(addprefix -r:, $(references)) $(MONO_CAIRO_LIBS) all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.include $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign gdk/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign gdk/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_srcdir)/Makefile.include $(am__empty): $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): gdk-sharp.dll.config: $(top_builddir)/config.status $(srcdir)/gdk-sharp.dll.config.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-gapiDATA: $(gapi_DATA) @$(NORMAL_INSTALL) @list='$(gapi_DATA)'; test -n "$(gapidir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(gapidir)'"; \ $(MKDIR_P) "$(DESTDIR)$(gapidir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(gapidir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(gapidir)" || exit $$?; \ done uninstall-gapiDATA: @$(NORMAL_UNINSTALL) @list='$(gapi_DATA)'; test -n "$(gapidir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(gapidir)'; $(am__uninstall_files_from_dir) # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(DATA) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(gapidir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-data-local install-gapiDATA install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-gapiDATA uninstall-local .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am \ install-data-local install-dvi install-dvi-am install-exec \ install-exec-am install-gapiDATA install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs installdirs-am \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-am uninstall uninstall-am uninstall-gapiDATA \ uninstall-local .PRECIOUS: Makefile $(API): $(METADATA) $(RAW_API) $(SYMBOLS) $(top_builddir)/parser/gapi-fixup.exe cp $(srcdir)/$(RAW_API) $(API) chmod u+w $(API) @if test -n '$(METADATA)'; then \ echo "$(RUNTIME) $(top_builddir)/parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA) $(build_symbols)"; \ $(RUNTIME) $(top_builddir)/parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA) $(build_symbols); \ fi generated-stamp: $(API) $(INCLUDE_API) $(top_builddir)/generator/gapi_codegen.exe $(build_customs) rm -f generated/* && \ $(RUNTIME) $(top_builddir)/generator/gapi_codegen.exe --generate $(API) \ $(api_includes) \ --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \ --gluelib-name=$(pkg)sharpglue-2 --glue-filename=glue/generated.c \ --glue-includes=$(glue_includes) \ && touch generated-stamp $(SNK): $(top_srcdir)/$(SNK) cp $(top_srcdir)/$(SNK) . AssemblyInfo.cs: $(top_builddir)/AssemblyInfo.cs cp $(top_builddir)/AssemblyInfo.cs . policy.%.config: $(top_builddir)/policy.config sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$*/" $(top_builddir)/policy.config > $@ $(POLICY_ASSEMBLIES) : policy.%.$(ASSEMBLY): policy.%.config $(SNK) $(AL) -link:policy.$*.config -version:$* -out:$@ -keyfile:$(SNK) $(ASSEMBLY): generated-stamp $(SNK) $(build_sources) $(references) @rm -f $(ASSEMBLY).mdb $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -unsafe -out:$(ASSEMBLY) -target:library $(build_references) $(GENERATED_SOURCES) $(build_sources) install-data-local: @if test -n '$(pkg)'; then \ echo "$(GACUTIL) -i $(ASSEMBLY) -f $(GACUTIL_FLAGS)"; \ $(GACUTIL) -i $(ASSEMBLY) -f $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) -i policy.$$i.$(ASSEMBLY) -f $(GACUTIL_FLAGS)"; \ $(GACUTIL) -i policy.$$i.$(ASSEMBLY) -f $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi uninstall-local: @if test -n '$(pkg)'; then \ echo "$(GACUTIL) -u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) -u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/gdk/Key.cs0000664000175000017500000007236712654353766012367 00000000000000// Generated File. Do not modify. namespace Gdk { public enum Key { VoidSymbol = 0xFFFFFF, BackSpace = 0xFF08, Tab = 0xFF09, Linefeed = 0xFF0A, Clear = 0xFF0B, Return = 0xFF0D, Pause = 0xFF13, Scroll_Lock = 0xFF14, Sys_Req = 0xFF15, Escape = 0xFF1B, Delete = 0xFFFF, Multi_key = 0xFF20, Codeinput = 0xFF37, SingleCandidate = 0xFF3C, MultipleCandidate = 0xFF3D, PreviousCandidate = 0xFF3E, Kanji = 0xFF21, Muhenkan = 0xFF22, Henkan_Mode = 0xFF23, Henkan = 0xFF23, Romaji = 0xFF24, Hiragana = 0xFF25, Katakana = 0xFF26, Hiragana_Katakana = 0xFF27, Zenkaku = 0xFF28, Hankaku = 0xFF29, Zenkaku_Hankaku = 0xFF2A, Touroku = 0xFF2B, Massyo = 0xFF2C, Kana_Lock = 0xFF2D, Kana_Shift = 0xFF2E, Eisu_Shift = 0xFF2F, Eisu_toggle = 0xFF30, Kanji_Bangou = 0xFF37, Zen_Koho = 0xFF3D, Mae_Koho = 0xFF3E, Home = 0xFF50, Left = 0xFF51, Up = 0xFF52, Right = 0xFF53, Down = 0xFF54, Prior = 0xFF55, Page_Up = 0xFF55, Next = 0xFF56, Page_Down = 0xFF56, End = 0xFF57, Begin = 0xFF58, Select = 0xFF60, Print = 0xFF61, Execute = 0xFF62, Insert = 0xFF63, Undo = 0xFF65, Redo = 0xFF66, Menu = 0xFF67, Find = 0xFF68, Cancel = 0xFF69, Help = 0xFF6A, Break = 0xFF6B, Mode_switch = 0xFF7E, script_switch = 0xFF7E, Num_Lock = 0xFF7F, KP_Space = 0xFF80, KP_Tab = 0xFF89, KP_Enter = 0xFF8D, KP_F1 = 0xFF91, KP_F2 = 0xFF92, KP_F3 = 0xFF93, KP_F4 = 0xFF94, KP_Home = 0xFF95, KP_Left = 0xFF96, KP_Up = 0xFF97, KP_Right = 0xFF98, KP_Down = 0xFF99, KP_Prior = 0xFF9A, KP_Page_Up = 0xFF9A, KP_Next = 0xFF9B, KP_Page_Down = 0xFF9B, KP_End = 0xFF9C, KP_Begin = 0xFF9D, KP_Insert = 0xFF9E, KP_Delete = 0xFF9F, KP_Equal = 0xFFBD, KP_Multiply = 0xFFAA, KP_Add = 0xFFAB, KP_Separator = 0xFFAC, KP_Subtract = 0xFFAD, KP_Decimal = 0xFFAE, KP_Divide = 0xFFAF, KP_0 = 0xFFB0, KP_1 = 0xFFB1, KP_2 = 0xFFB2, KP_3 = 0xFFB3, KP_4 = 0xFFB4, KP_5 = 0xFFB5, KP_6 = 0xFFB6, KP_7 = 0xFFB7, KP_8 = 0xFFB8, KP_9 = 0xFFB9, F1 = 0xFFBE, F2 = 0xFFBF, F3 = 0xFFC0, F4 = 0xFFC1, F5 = 0xFFC2, F6 = 0xFFC3, F7 = 0xFFC4, F8 = 0xFFC5, F9 = 0xFFC6, F10 = 0xFFC7, F11 = 0xFFC8, L1 = 0xFFC8, F12 = 0xFFC9, L2 = 0xFFC9, F13 = 0xFFCA, L3 = 0xFFCA, F14 = 0xFFCB, L4 = 0xFFCB, F15 = 0xFFCC, L5 = 0xFFCC, F16 = 0xFFCD, L6 = 0xFFCD, F17 = 0xFFCE, L7 = 0xFFCE, F18 = 0xFFCF, L8 = 0xFFCF, F19 = 0xFFD0, L9 = 0xFFD0, F20 = 0xFFD1, L10 = 0xFFD1, F21 = 0xFFD2, R1 = 0xFFD2, F22 = 0xFFD3, R2 = 0xFFD3, F23 = 0xFFD4, R3 = 0xFFD4, F24 = 0xFFD5, R4 = 0xFFD5, F25 = 0xFFD6, R5 = 0xFFD6, F26 = 0xFFD7, R6 = 0xFFD7, F27 = 0xFFD8, R7 = 0xFFD8, F28 = 0xFFD9, R8 = 0xFFD9, F29 = 0xFFDA, R9 = 0xFFDA, F30 = 0xFFDB, R10 = 0xFFDB, F31 = 0xFFDC, R11 = 0xFFDC, F32 = 0xFFDD, R12 = 0xFFDD, F33 = 0xFFDE, R13 = 0xFFDE, F34 = 0xFFDF, R14 = 0xFFDF, F35 = 0xFFE0, R15 = 0xFFE0, Shift_L = 0xFFE1, Shift_R = 0xFFE2, Control_L = 0xFFE3, Control_R = 0xFFE4, Caps_Lock = 0xFFE5, Shift_Lock = 0xFFE6, Meta_L = 0xFFE7, Meta_R = 0xFFE8, Alt_L = 0xFFE9, Alt_R = 0xFFEA, Super_L = 0xFFEB, Super_R = 0xFFEC, Hyper_L = 0xFFED, Hyper_R = 0xFFEE, ISO_Lock = 0xFE01, ISO_Level2_Latch = 0xFE02, ISO_Level3_Shift = 0xFE03, ISO_Level3_Latch = 0xFE04, ISO_Level3_Lock = 0xFE05, ISO_Group_Shift = 0xFF7E, ISO_Group_Latch = 0xFE06, ISO_Group_Lock = 0xFE07, ISO_Next_Group = 0xFE08, ISO_Next_Group_Lock = 0xFE09, ISO_Prev_Group = 0xFE0A, ISO_Prev_Group_Lock = 0xFE0B, ISO_First_Group = 0xFE0C, ISO_First_Group_Lock = 0xFE0D, ISO_Last_Group = 0xFE0E, ISO_Last_Group_Lock = 0xFE0F, ISO_Left_Tab = 0xFE20, ISO_Move_Line_Up = 0xFE21, ISO_Move_Line_Down = 0xFE22, ISO_Partial_Line_Up = 0xFE23, ISO_Partial_Line_Down = 0xFE24, ISO_Partial_Space_Left = 0xFE25, ISO_Partial_Space_Right = 0xFE26, ISO_Set_Margin_Left = 0xFE27, ISO_Set_Margin_Right = 0xFE28, ISO_Release_Margin_Left = 0xFE29, ISO_Release_Margin_Right = 0xFE2A, ISO_Release_Both_Margins = 0xFE2B, ISO_Fast_Cursor_Left = 0xFE2C, ISO_Fast_Cursor_Right = 0xFE2D, ISO_Fast_Cursor_Up = 0xFE2E, ISO_Fast_Cursor_Down = 0xFE2F, ISO_Continuous_Underline = 0xFE30, ISO_Discontinuous_Underline = 0xFE31, ISO_Emphasize = 0xFE32, ISO_Center_Object = 0xFE33, ISO_Enter = 0xFE34, dead_grave = 0xFE50, dead_acute = 0xFE51, dead_circumflex = 0xFE52, dead_tilde = 0xFE53, dead_macron = 0xFE54, dead_breve = 0xFE55, dead_abovedot = 0xFE56, dead_diaeresis = 0xFE57, dead_abovering = 0xFE58, dead_doubleacute = 0xFE59, dead_caron = 0xFE5A, dead_cedilla = 0xFE5B, dead_ogonek = 0xFE5C, dead_iota = 0xFE5D, dead_voiced_sound = 0xFE5E, dead_semivoiced_sound = 0xFE5F, dead_belowdot = 0xFE60, First_Virtual_Screen = 0xFED0, Prev_Virtual_Screen = 0xFED1, Next_Virtual_Screen = 0xFED2, Last_Virtual_Screen = 0xFED4, Terminate_Server = 0xFED5, AccessX_Enable = 0xFE70, AccessX_Feedback_Enable = 0xFE71, RepeatKeys_Enable = 0xFE72, SlowKeys_Enable = 0xFE73, BounceKeys_Enable = 0xFE74, StickyKeys_Enable = 0xFE75, MouseKeys_Enable = 0xFE76, MouseKeys_Accel_Enable = 0xFE77, Overlay1_Enable = 0xFE78, Overlay2_Enable = 0xFE79, AudibleBell_Enable = 0xFE7A, Pointer_Left = 0xFEE0, Pointer_Right = 0xFEE1, Pointer_Up = 0xFEE2, Pointer_Down = 0xFEE3, Pointer_UpLeft = 0xFEE4, Pointer_UpRight = 0xFEE5, Pointer_DownLeft = 0xFEE6, Pointer_DownRight = 0xFEE7, Pointer_Button_Dflt = 0xFEE8, Pointer_Button1 = 0xFEE9, Pointer_Button2 = 0xFEEA, Pointer_Button3 = 0xFEEB, Pointer_Button4 = 0xFEEC, Pointer_Button5 = 0xFEED, Pointer_DblClick_Dflt = 0xFEEE, Pointer_DblClick1 = 0xFEEF, Pointer_DblClick2 = 0xFEF0, Pointer_DblClick3 = 0xFEF1, Pointer_DblClick4 = 0xFEF2, Pointer_DblClick5 = 0xFEF3, Pointer_Drag_Dflt = 0xFEF4, Pointer_Drag1 = 0xFEF5, Pointer_Drag2 = 0xFEF6, Pointer_Drag3 = 0xFEF7, Pointer_Drag4 = 0xFEF8, Pointer_Drag5 = 0xFEFD, Pointer_EnableKeys = 0xFEF9, Pointer_Accelerate = 0xFEFA, Pointer_DfltBtnNext = 0xFEFB, Pointer_DfltBtnPrev = 0xFEFC, Key_3270_Duplicate = 0xFD01, Key_3270_FieldMark = 0xFD02, Key_3270_Right2 = 0xFD03, Key_3270_Left2 = 0xFD04, Key_3270_BackTab = 0xFD05, Key_3270_EraseEOF = 0xFD06, Key_3270_EraseInput = 0xFD07, Key_3270_Reset = 0xFD08, Key_3270_Quit = 0xFD09, Key_3270_PA1 = 0xFD0A, Key_3270_PA2 = 0xFD0B, Key_3270_PA3 = 0xFD0C, Key_3270_Test = 0xFD0D, Key_3270_Attn = 0xFD0E, Key_3270_CursorBlink = 0xFD0F, Key_3270_AltCursor = 0xFD10, Key_3270_KeyClick = 0xFD11, Key_3270_Jump = 0xFD12, Key_3270_Ident = 0xFD13, Key_3270_Rule = 0xFD14, Key_3270_Copy = 0xFD15, Key_3270_Play = 0xFD16, Key_3270_Setup = 0xFD17, Key_3270_Record = 0xFD18, Key_3270_ChangeScreen = 0xFD19, Key_3270_DeleteWord = 0xFD1A, Key_3270_ExSelect = 0xFD1B, Key_3270_CursorSelect = 0xFD1C, Key_3270_PrintScreen = 0xFD1D, Key_3270_Enter = 0xFD1E, space = 0x020, exclam = 0x021, quotedbl = 0x022, numbersign = 0x023, dollar = 0x024, percent = 0x025, ampersand = 0x026, apostrophe = 0x027, quoteright = 0x027, parenleft = 0x028, parenright = 0x029, asterisk = 0x02a, plus = 0x02b, comma = 0x02c, minus = 0x02d, period = 0x02e, slash = 0x02f, Key_0 = 0x030, Key_1 = 0x031, Key_2 = 0x032, Key_3 = 0x033, Key_4 = 0x034, Key_5 = 0x035, Key_6 = 0x036, Key_7 = 0x037, Key_8 = 0x038, Key_9 = 0x039, colon = 0x03a, semicolon = 0x03b, less = 0x03c, equal = 0x03d, greater = 0x03e, question = 0x03f, at = 0x040, A = 0x041, B = 0x042, C = 0x043, D = 0x044, E = 0x045, F = 0x046, G = 0x047, H = 0x048, I = 0x049, J = 0x04a, K = 0x04b, L = 0x04c, M = 0x04d, N = 0x04e, O = 0x04f, P = 0x050, Q = 0x051, R = 0x052, S = 0x053, T = 0x054, U = 0x055, V = 0x056, W = 0x057, X = 0x058, Y = 0x059, Z = 0x05a, bracketleft = 0x05b, backslash = 0x05c, bracketright = 0x05d, asciicircum = 0x05e, underscore = 0x05f, grave = 0x060, quoteleft = 0x060, a = 0x061, b = 0x062, c = 0x063, d = 0x064, e = 0x065, f = 0x066, g = 0x067, h = 0x068, i = 0x069, j = 0x06a, k = 0x06b, l = 0x06c, m = 0x06d, n = 0x06e, o = 0x06f, p = 0x070, q = 0x071, r = 0x072, s = 0x073, t = 0x074, u = 0x075, v = 0x076, w = 0x077, x = 0x078, y = 0x079, z = 0x07a, braceleft = 0x07b, bar = 0x07c, braceright = 0x07d, asciitilde = 0x07e, nobreakspace = 0x0a0, exclamdown = 0x0a1, cent = 0x0a2, sterling = 0x0a3, currency = 0x0a4, yen = 0x0a5, brokenbar = 0x0a6, section = 0x0a7, diaeresis = 0x0a8, copyright = 0x0a9, ordfeminine = 0x0aa, guillemotleft = 0x0ab, notsign = 0x0ac, hyphen = 0x0ad, registered = 0x0ae, macron = 0x0af, degree = 0x0b0, plusminus = 0x0b1, twosuperior = 0x0b2, threesuperior = 0x0b3, acute = 0x0b4, mu = 0x0b5, paragraph = 0x0b6, periodcentered = 0x0b7, cedilla = 0x0b8, onesuperior = 0x0b9, masculine = 0x0ba, guillemotright = 0x0bb, onequarter = 0x0bc, onehalf = 0x0bd, threequarters = 0x0be, questiondown = 0x0bf, Agrave = 0x0c0, Aacute = 0x0c1, Acircumflex = 0x0c2, Atilde = 0x0c3, Adiaeresis = 0x0c4, Aring = 0x0c5, AE = 0x0c6, Ccedilla = 0x0c7, Egrave = 0x0c8, Eacute = 0x0c9, Ecircumflex = 0x0ca, Ediaeresis = 0x0cb, Igrave = 0x0cc, Iacute = 0x0cd, Icircumflex = 0x0ce, Idiaeresis = 0x0cf, ETH = 0x0d0, Eth = 0x0d0, Ntilde = 0x0d1, Ograve = 0x0d2, Oacute = 0x0d3, Ocircumflex = 0x0d4, Otilde = 0x0d5, Odiaeresis = 0x0d6, multiply = 0x0d7, Ooblique = 0x0d8, Ugrave = 0x0d9, Uacute = 0x0da, Ucircumflex = 0x0db, Udiaeresis = 0x0dc, Yacute = 0x0dd, THORN = 0x0de, Thorn = 0x0de, ssharp = 0x0df, agrave = 0x0e0, aacute = 0x0e1, acircumflex = 0x0e2, atilde = 0x0e3, adiaeresis = 0x0e4, aring = 0x0e5, ae = 0x0e6, ccedilla = 0x0e7, egrave = 0x0e8, eacute = 0x0e9, ecircumflex = 0x0ea, ediaeresis = 0x0eb, igrave = 0x0ec, iacute = 0x0ed, icircumflex = 0x0ee, idiaeresis = 0x0ef, eth = 0x0f0, ntilde = 0x0f1, ograve = 0x0f2, oacute = 0x0f3, ocircumflex = 0x0f4, otilde = 0x0f5, odiaeresis = 0x0f6, division = 0x0f7, oslash = 0x0f8, ugrave = 0x0f9, uacute = 0x0fa, ucircumflex = 0x0fb, udiaeresis = 0x0fc, yacute = 0x0fd, thorn = 0x0fe, ydiaeresis = 0x0ff, Aogonek = 0x1a1, breve = 0x1a2, Lstroke = 0x1a3, Lcaron = 0x1a5, Sacute = 0x1a6, Scaron = 0x1a9, Scedilla = 0x1aa, Tcaron = 0x1ab, Zacute = 0x1ac, Zcaron = 0x1ae, Zabovedot = 0x1af, aogonek = 0x1b1, ogonek = 0x1b2, lstroke = 0x1b3, lcaron = 0x1b5, sacute = 0x1b6, caron = 0x1b7, scaron = 0x1b9, scedilla = 0x1ba, tcaron = 0x1bb, zacute = 0x1bc, doubleacute = 0x1bd, zcaron = 0x1be, zabovedot = 0x1bf, Racute = 0x1c0, Abreve = 0x1c3, Lacute = 0x1c5, Cacute = 0x1c6, Ccaron = 0x1c8, Eogonek = 0x1ca, Ecaron = 0x1cc, Dcaron = 0x1cf, Dstroke = 0x1d0, Nacute = 0x1d1, Ncaron = 0x1d2, Odoubleacute = 0x1d5, Rcaron = 0x1d8, Uring = 0x1d9, Udoubleacute = 0x1db, Tcedilla = 0x1de, racute = 0x1e0, abreve = 0x1e3, lacute = 0x1e5, cacute = 0x1e6, ccaron = 0x1e8, eogonek = 0x1ea, ecaron = 0x1ec, dcaron = 0x1ef, dstroke = 0x1f0, nacute = 0x1f1, ncaron = 0x1f2, odoubleacute = 0x1f5, udoubleacute = 0x1fb, rcaron = 0x1f8, uring = 0x1f9, tcedilla = 0x1fe, abovedot = 0x1ff, Hstroke = 0x2a1, Hcircumflex = 0x2a6, Iabovedot = 0x2a9, Gbreve = 0x2ab, Jcircumflex = 0x2ac, hstroke = 0x2b1, hcircumflex = 0x2b6, idotless = 0x2b9, gbreve = 0x2bb, jcircumflex = 0x2bc, Cabovedot = 0x2c5, Ccircumflex = 0x2c6, Gabovedot = 0x2d5, Gcircumflex = 0x2d8, Ubreve = 0x2dd, Scircumflex = 0x2de, cabovedot = 0x2e5, ccircumflex = 0x2e6, gabovedot = 0x2f5, gcircumflex = 0x2f8, ubreve = 0x2fd, scircumflex = 0x2fe, kra = 0x3a2, kappa = 0x3a2, Rcedilla = 0x3a3, Itilde = 0x3a5, Lcedilla = 0x3a6, Emacron = 0x3aa, Gcedilla = 0x3ab, Tslash = 0x3ac, rcedilla = 0x3b3, itilde = 0x3b5, lcedilla = 0x3b6, emacron = 0x3ba, gcedilla = 0x3bb, tslash = 0x3bc, ENG = 0x3bd, eng = 0x3bf, Amacron = 0x3c0, Iogonek = 0x3c7, Eabovedot = 0x3cc, Imacron = 0x3cf, Ncedilla = 0x3d1, Omacron = 0x3d2, Kcedilla = 0x3d3, Uogonek = 0x3d9, Utilde = 0x3dd, Umacron = 0x3de, amacron = 0x3e0, iogonek = 0x3e7, eabovedot = 0x3ec, imacron = 0x3ef, ncedilla = 0x3f1, omacron = 0x3f2, kcedilla = 0x3f3, uogonek = 0x3f9, utilde = 0x3fd, umacron = 0x3fe, OE = 0x13bc, oe = 0x13bd, Ydiaeresis = 0x13be, overline = 0x47e, kana_fullstop = 0x4a1, kana_openingbracket = 0x4a2, kana_closingbracket = 0x4a3, kana_comma = 0x4a4, kana_conjunctive = 0x4a5, kana_middledot = 0x4a5, kana_WO = 0x4a6, kana_a = 0x4a7, kana_i = 0x4a8, kana_u = 0x4a9, kana_e = 0x4aa, kana_o = 0x4ab, kana_ya = 0x4ac, kana_yu = 0x4ad, kana_yo = 0x4ae, kana_tsu = 0x4af, kana_tu = 0x4af, prolongedsound = 0x4b0, kana_A = 0x4b1, kana_I = 0x4b2, kana_U = 0x4b3, kana_E = 0x4b4, kana_O = 0x4b5, kana_KA = 0x4b6, kana_KI = 0x4b7, kana_KU = 0x4b8, kana_KE = 0x4b9, kana_KO = 0x4ba, kana_SA = 0x4bb, kana_SHI = 0x4bc, kana_SU = 0x4bd, kana_SE = 0x4be, kana_SO = 0x4bf, kana_TA = 0x4c0, kana_CHI = 0x4c1, kana_TI = 0x4c1, kana_TSU = 0x4c2, kana_TU = 0x4c2, kana_TE = 0x4c3, kana_TO = 0x4c4, kana_NA = 0x4c5, kana_NI = 0x4c6, kana_NU = 0x4c7, kana_NE = 0x4c8, kana_NO = 0x4c9, kana_HA = 0x4ca, kana_HI = 0x4cb, kana_FU = 0x4cc, kana_HU = 0x4cc, kana_HE = 0x4cd, kana_HO = 0x4ce, kana_MA = 0x4cf, kana_MI = 0x4d0, kana_MU = 0x4d1, kana_ME = 0x4d2, kana_MO = 0x4d3, kana_YA = 0x4d4, kana_YU = 0x4d5, kana_YO = 0x4d6, kana_RA = 0x4d7, kana_RI = 0x4d8, kana_RU = 0x4d9, kana_RE = 0x4da, kana_RO = 0x4db, kana_WA = 0x4dc, kana_N = 0x4dd, voicedsound = 0x4de, semivoicedsound = 0x4df, kana_switch = 0xFF7E, Arabic_comma = 0x5ac, Arabic_semicolon = 0x5bb, Arabic_question_mark = 0x5bf, Arabic_hamza = 0x5c1, Arabic_maddaonalef = 0x5c2, Arabic_hamzaonalef = 0x5c3, Arabic_hamzaonwaw = 0x5c4, Arabic_hamzaunderalef = 0x5c5, Arabic_hamzaonyeh = 0x5c6, Arabic_alef = 0x5c7, Arabic_beh = 0x5c8, Arabic_tehmarbuta = 0x5c9, Arabic_teh = 0x5ca, Arabic_theh = 0x5cb, Arabic_jeem = 0x5cc, Arabic_hah = 0x5cd, Arabic_khah = 0x5ce, Arabic_dal = 0x5cf, Arabic_thal = 0x5d0, Arabic_ra = 0x5d1, Arabic_zain = 0x5d2, Arabic_seen = 0x5d3, Arabic_sheen = 0x5d4, Arabic_sad = 0x5d5, Arabic_dad = 0x5d6, Arabic_tah = 0x5d7, Arabic_zah = 0x5d8, Arabic_ain = 0x5d9, Arabic_ghain = 0x5da, Arabic_tatweel = 0x5e0, Arabic_feh = 0x5e1, Arabic_qaf = 0x5e2, Arabic_kaf = 0x5e3, Arabic_lam = 0x5e4, Arabic_meem = 0x5e5, Arabic_noon = 0x5e6, Arabic_ha = 0x5e7, Arabic_heh = 0x5e7, Arabic_waw = 0x5e8, Arabic_alefmaksura = 0x5e9, Arabic_yeh = 0x5ea, Arabic_fathatan = 0x5eb, Arabic_dammatan = 0x5ec, Arabic_kasratan = 0x5ed, Arabic_fatha = 0x5ee, Arabic_damma = 0x5ef, Arabic_kasra = 0x5f0, Arabic_shadda = 0x5f1, Arabic_sukun = 0x5f2, Arabic_switch = 0xFF7E, Serbian_dje = 0x6a1, Macedonia_gje = 0x6a2, Cyrillic_io = 0x6a3, Ukrainian_ie = 0x6a4, Ukranian_je = 0x6a4, Macedonia_dse = 0x6a5, Ukrainian_i = 0x6a6, Ukranian_i = 0x6a6, Ukrainian_yi = 0x6a7, Ukranian_yi = 0x6a7, Cyrillic_je = 0x6a8, Serbian_je = 0x6a8, Cyrillic_lje = 0x6a9, Serbian_lje = 0x6a9, Cyrillic_nje = 0x6aa, Serbian_nje = 0x6aa, Serbian_tshe = 0x6ab, Macedonia_kje = 0x6ac, Byelorussian_shortu = 0x6ae, Cyrillic_dzhe = 0x6af, Serbian_dze = 0x6af, numerosign = 0x6b0, Serbian_DJE = 0x6b1, Macedonia_GJE = 0x6b2, Cyrillic_IO = 0x6b3, Ukrainian_IE = 0x6b4, Ukranian_JE = 0x6b4, Macedonia_DSE = 0x6b5, Ukrainian_I = 0x6b6, Ukranian_I = 0x6b6, Ukrainian_YI = 0x6b7, Ukranian_YI = 0x6b7, Cyrillic_JE = 0x6b8, Serbian_JE = 0x6b8, Cyrillic_LJE = 0x6b9, Serbian_LJE = 0x6b9, Cyrillic_NJE = 0x6ba, Serbian_NJE = 0x6ba, Serbian_TSHE = 0x6bb, Macedonia_KJE = 0x6bc, Byelorussian_SHORTU = 0x6be, Cyrillic_DZHE = 0x6bf, Serbian_DZE = 0x6bf, Cyrillic_yu = 0x6c0, Cyrillic_a = 0x6c1, Cyrillic_be = 0x6c2, Cyrillic_tse = 0x6c3, Cyrillic_de = 0x6c4, Cyrillic_ie = 0x6c5, Cyrillic_ef = 0x6c6, Cyrillic_ghe = 0x6c7, Cyrillic_ha = 0x6c8, Cyrillic_i = 0x6c9, Cyrillic_shorti = 0x6ca, Cyrillic_ka = 0x6cb, Cyrillic_el = 0x6cc, Cyrillic_em = 0x6cd, Cyrillic_en = 0x6ce, Cyrillic_o = 0x6cf, Cyrillic_pe = 0x6d0, Cyrillic_ya = 0x6d1, Cyrillic_er = 0x6d2, Cyrillic_es = 0x6d3, Cyrillic_te = 0x6d4, Cyrillic_u = 0x6d5, Cyrillic_zhe = 0x6d6, Cyrillic_ve = 0x6d7, Cyrillic_softsign = 0x6d8, Cyrillic_yeru = 0x6d9, Cyrillic_ze = 0x6da, Cyrillic_sha = 0x6db, Cyrillic_e = 0x6dc, Cyrillic_shcha = 0x6dd, Cyrillic_che = 0x6de, Cyrillic_hardsign = 0x6df, Cyrillic_YU = 0x6e0, Cyrillic_A = 0x6e1, Cyrillic_BE = 0x6e2, Cyrillic_TSE = 0x6e3, Cyrillic_DE = 0x6e4, Cyrillic_IE = 0x6e5, Cyrillic_EF = 0x6e6, Cyrillic_GHE = 0x6e7, Cyrillic_HA = 0x6e8, Cyrillic_I = 0x6e9, Cyrillic_SHORTI = 0x6ea, Cyrillic_KA = 0x6eb, Cyrillic_EL = 0x6ec, Cyrillic_EM = 0x6ed, Cyrillic_EN = 0x6ee, Cyrillic_O = 0x6ef, Cyrillic_PE = 0x6f0, Cyrillic_YA = 0x6f1, Cyrillic_ER = 0x6f2, Cyrillic_ES = 0x6f3, Cyrillic_TE = 0x6f4, Cyrillic_U = 0x6f5, Cyrillic_ZHE = 0x6f6, Cyrillic_VE = 0x6f7, Cyrillic_SOFTSIGN = 0x6f8, Cyrillic_YERU = 0x6f9, Cyrillic_ZE = 0x6fa, Cyrillic_SHA = 0x6fb, Cyrillic_E = 0x6fc, Cyrillic_SHCHA = 0x6fd, Cyrillic_CHE = 0x6fe, Cyrillic_HARDSIGN = 0x6ff, Greek_ALPHAaccent = 0x7a1, Greek_EPSILONaccent = 0x7a2, Greek_ETAaccent = 0x7a3, Greek_IOTAaccent = 0x7a4, Greek_IOTAdiaeresis = 0x7a5, Greek_OMICRONaccent = 0x7a7, Greek_UPSILONaccent = 0x7a8, Greek_UPSILONdieresis = 0x7a9, Greek_OMEGAaccent = 0x7ab, Greek_accentdieresis = 0x7ae, Greek_horizbar = 0x7af, Greek_alphaaccent = 0x7b1, Greek_epsilonaccent = 0x7b2, Greek_etaaccent = 0x7b3, Greek_iotaaccent = 0x7b4, Greek_iotadieresis = 0x7b5, Greek_iotaaccentdieresis = 0x7b6, Greek_omicronaccent = 0x7b7, Greek_upsilonaccent = 0x7b8, Greek_upsilondieresis = 0x7b9, Greek_upsilonaccentdieresis = 0x7ba, Greek_omegaaccent = 0x7bb, Greek_ALPHA = 0x7c1, Greek_BETA = 0x7c2, Greek_GAMMA = 0x7c3, Greek_DELTA = 0x7c4, Greek_EPSILON = 0x7c5, Greek_ZETA = 0x7c6, Greek_ETA = 0x7c7, Greek_THETA = 0x7c8, Greek_IOTA = 0x7c9, Greek_KAPPA = 0x7ca, Greek_LAMDA = 0x7cb, Greek_LAMBDA = 0x7cb, Greek_MU = 0x7cc, Greek_NU = 0x7cd, Greek_XI = 0x7ce, Greek_OMICRON = 0x7cf, Greek_PI = 0x7d0, Greek_RHO = 0x7d1, Greek_SIGMA = 0x7d2, Greek_TAU = 0x7d4, Greek_UPSILON = 0x7d5, Greek_PHI = 0x7d6, Greek_CHI = 0x7d7, Greek_PSI = 0x7d8, Greek_OMEGA = 0x7d9, Greek_alpha = 0x7e1, Greek_beta = 0x7e2, Greek_gamma = 0x7e3, Greek_delta = 0x7e4, Greek_epsilon = 0x7e5, Greek_zeta = 0x7e6, Greek_eta = 0x7e7, Greek_theta = 0x7e8, Greek_iota = 0x7e9, Greek_kappa = 0x7ea, Greek_lamda = 0x7eb, Greek_lambda = 0x7eb, Greek_mu = 0x7ec, Greek_nu = 0x7ed, Greek_xi = 0x7ee, Greek_omicron = 0x7ef, Greek_pi = 0x7f0, Greek_rho = 0x7f1, Greek_sigma = 0x7f2, Greek_finalsmallsigma = 0x7f3, Greek_tau = 0x7f4, Greek_upsilon = 0x7f5, Greek_phi = 0x7f6, Greek_chi = 0x7f7, Greek_psi = 0x7f8, Greek_omega = 0x7f9, Greek_switch = 0xFF7E, leftradical = 0x8a1, topleftradical = 0x8a2, horizconnector = 0x8a3, topintegral = 0x8a4, botintegral = 0x8a5, vertconnector = 0x8a6, topleftsqbracket = 0x8a7, botleftsqbracket = 0x8a8, toprightsqbracket = 0x8a9, botrightsqbracket = 0x8aa, topleftparens = 0x8ab, botleftparens = 0x8ac, toprightparens = 0x8ad, botrightparens = 0x8ae, leftmiddlecurlybrace = 0x8af, rightmiddlecurlybrace = 0x8b0, topleftsummation = 0x8b1, botleftsummation = 0x8b2, topvertsummationconnector = 0x8b3, botvertsummationconnector = 0x8b4, toprightsummation = 0x8b5, botrightsummation = 0x8b6, rightmiddlesummation = 0x8b7, lessthanequal = 0x8bc, notequal = 0x8bd, greaterthanequal = 0x8be, integral = 0x8bf, therefore = 0x8c0, variation = 0x8c1, infinity = 0x8c2, nabla = 0x8c5, approximate = 0x8c8, similarequal = 0x8c9, ifonlyif = 0x8cd, implies = 0x8ce, identical = 0x8cf, radical = 0x8d6, includedin = 0x8da, includes = 0x8db, intersection = 0x8dc, union = 0x8dd, logicaland = 0x8de, logicalor = 0x8df, partialderivative = 0x8ef, function = 0x8f6, leftarrow = 0x8fb, uparrow = 0x8fc, rightarrow = 0x8fd, downarrow = 0x8fe, blank = 0x9df, soliddiamond = 0x9e0, checkerboard = 0x9e1, ht = 0x9e2, ff = 0x9e3, cr = 0x9e4, lf = 0x9e5, nl = 0x9e8, vt = 0x9e9, lowrightcorner = 0x9ea, uprightcorner = 0x9eb, upleftcorner = 0x9ec, lowleftcorner = 0x9ed, crossinglines = 0x9ee, horizlinescan1 = 0x9ef, horizlinescan3 = 0x9f0, horizlinescan5 = 0x9f1, horizlinescan7 = 0x9f2, horizlinescan9 = 0x9f3, leftt = 0x9f4, rightt = 0x9f5, bott = 0x9f6, topt = 0x9f7, vertbar = 0x9f8, emspace = 0xaa1, enspace = 0xaa2, em3space = 0xaa3, em4space = 0xaa4, digitspace = 0xaa5, punctspace = 0xaa6, thinspace = 0xaa7, hairspace = 0xaa8, emdash = 0xaa9, endash = 0xaaa, signifblank = 0xaac, ellipsis = 0xaae, doubbaselinedot = 0xaaf, onethird = 0xab0, twothirds = 0xab1, onefifth = 0xab2, twofifths = 0xab3, threefifths = 0xab4, fourfifths = 0xab5, onesixth = 0xab6, fivesixths = 0xab7, careof = 0xab8, figdash = 0xabb, leftanglebracket = 0xabc, decimalpoint = 0xabd, rightanglebracket = 0xabe, marker = 0xabf, oneeighth = 0xac3, threeeighths = 0xac4, fiveeighths = 0xac5, seveneighths = 0xac6, trademark = 0xac9, signaturemark = 0xaca, trademarkincircle = 0xacb, leftopentriangle = 0xacc, rightopentriangle = 0xacd, emopencircle = 0xace, emopenrectangle = 0xacf, leftsinglequotemark = 0xad0, rightsinglequotemark = 0xad1, leftdoublequotemark = 0xad2, rightdoublequotemark = 0xad3, prescription = 0xad4, minutes = 0xad6, seconds = 0xad7, latincross = 0xad9, hexagram = 0xada, filledrectbullet = 0xadb, filledlefttribullet = 0xadc, filledrighttribullet = 0xadd, emfilledcircle = 0xade, emfilledrect = 0xadf, enopencircbullet = 0xae0, enopensquarebullet = 0xae1, openrectbullet = 0xae2, opentribulletup = 0xae3, opentribulletdown = 0xae4, openstar = 0xae5, enfilledcircbullet = 0xae6, enfilledsqbullet = 0xae7, filledtribulletup = 0xae8, filledtribulletdown = 0xae9, leftpointer = 0xaea, rightpointer = 0xaeb, club = 0xaec, diamond = 0xaed, heart = 0xaee, maltesecross = 0xaf0, dagger = 0xaf1, doubledagger = 0xaf2, checkmark = 0xaf3, ballotcross = 0xaf4, musicalsharp = 0xaf5, musicalflat = 0xaf6, malesymbol = 0xaf7, femalesymbol = 0xaf8, telephone = 0xaf9, telephonerecorder = 0xafa, phonographcopyright = 0xafb, caret = 0xafc, singlelowquotemark = 0xafd, doublelowquotemark = 0xafe, cursor = 0xaff, leftcaret = 0xba3, rightcaret = 0xba6, downcaret = 0xba8, upcaret = 0xba9, overbar = 0xbc0, downtack = 0xbc2, upshoe = 0xbc3, downstile = 0xbc4, underbar = 0xbc6, jot = 0xbca, quad = 0xbcc, uptack = 0xbce, circle = 0xbcf, upstile = 0xbd3, downshoe = 0xbd6, rightshoe = 0xbd8, leftshoe = 0xbda, lefttack = 0xbdc, righttack = 0xbfc, hebrew_doublelowline = 0xcdf, hebrew_aleph = 0xce0, hebrew_bet = 0xce1, hebrew_beth = 0xce1, hebrew_gimel = 0xce2, hebrew_gimmel = 0xce2, hebrew_dalet = 0xce3, hebrew_daleth = 0xce3, hebrew_he = 0xce4, hebrew_waw = 0xce5, hebrew_zain = 0xce6, hebrew_zayin = 0xce6, hebrew_chet = 0xce7, hebrew_het = 0xce7, hebrew_tet = 0xce8, hebrew_teth = 0xce8, hebrew_yod = 0xce9, hebrew_finalkaph = 0xcea, hebrew_kaph = 0xceb, hebrew_lamed = 0xcec, hebrew_finalmem = 0xced, hebrew_mem = 0xcee, hebrew_finalnun = 0xcef, hebrew_nun = 0xcf0, hebrew_samech = 0xcf1, hebrew_samekh = 0xcf1, hebrew_ayin = 0xcf2, hebrew_finalpe = 0xcf3, hebrew_pe = 0xcf4, hebrew_finalzade = 0xcf5, hebrew_finalzadi = 0xcf5, hebrew_zade = 0xcf6, hebrew_zadi = 0xcf6, hebrew_qoph = 0xcf7, hebrew_kuf = 0xcf7, hebrew_resh = 0xcf8, hebrew_shin = 0xcf9, hebrew_taw = 0xcfa, hebrew_taf = 0xcfa, Hebrew_switch = 0xFF7E, Thai_kokai = 0xda1, Thai_khokhai = 0xda2, Thai_khokhuat = 0xda3, Thai_khokhwai = 0xda4, Thai_khokhon = 0xda5, Thai_khorakhang = 0xda6, Thai_ngongu = 0xda7, Thai_chochan = 0xda8, Thai_choching = 0xda9, Thai_chochang = 0xdaa, Thai_soso = 0xdab, Thai_chochoe = 0xdac, Thai_yoying = 0xdad, Thai_dochada = 0xdae, Thai_topatak = 0xdaf, Thai_thothan = 0xdb0, Thai_thonangmontho = 0xdb1, Thai_thophuthao = 0xdb2, Thai_nonen = 0xdb3, Thai_dodek = 0xdb4, Thai_totao = 0xdb5, Thai_thothung = 0xdb6, Thai_thothahan = 0xdb7, Thai_thothong = 0xdb8, Thai_nonu = 0xdb9, Thai_bobaimai = 0xdba, Thai_popla = 0xdbb, Thai_phophung = 0xdbc, Thai_fofa = 0xdbd, Thai_phophan = 0xdbe, Thai_fofan = 0xdbf, Thai_phosamphao = 0xdc0, Thai_moma = 0xdc1, Thai_yoyak = 0xdc2, Thai_rorua = 0xdc3, Thai_ru = 0xdc4, Thai_loling = 0xdc5, Thai_lu = 0xdc6, Thai_wowaen = 0xdc7, Thai_sosala = 0xdc8, Thai_sorusi = 0xdc9, Thai_sosua = 0xdca, Thai_hohip = 0xdcb, Thai_lochula = 0xdcc, Thai_oang = 0xdcd, Thai_honokhuk = 0xdce, Thai_paiyannoi = 0xdcf, Thai_saraa = 0xdd0, Thai_maihanakat = 0xdd1, Thai_saraaa = 0xdd2, Thai_saraam = 0xdd3, Thai_sarai = 0xdd4, Thai_saraii = 0xdd5, Thai_saraue = 0xdd6, Thai_sarauee = 0xdd7, Thai_sarau = 0xdd8, Thai_sarauu = 0xdd9, Thai_phinthu = 0xdda, Thai_maihanakat_maitho = 0xdde, Thai_baht = 0xddf, Thai_sarae = 0xde0, Thai_saraae = 0xde1, Thai_sarao = 0xde2, Thai_saraaimaimuan = 0xde3, Thai_saraaimaimalai = 0xde4, Thai_lakkhangyao = 0xde5, Thai_maiyamok = 0xde6, Thai_maitaikhu = 0xde7, Thai_maiek = 0xde8, Thai_maitho = 0xde9, Thai_maitri = 0xdea, Thai_maichattawa = 0xdeb, Thai_thanthakhat = 0xdec, Thai_nikhahit = 0xded, Thai_leksun = 0xdf0, Thai_leknung = 0xdf1, Thai_leksong = 0xdf2, Thai_leksam = 0xdf3, Thai_leksi = 0xdf4, Thai_lekha = 0xdf5, Thai_lekhok = 0xdf6, Thai_lekchet = 0xdf7, Thai_lekpaet = 0xdf8, Thai_lekkao = 0xdf9, Hangul = 0xff31, Hangul_Start = 0xff32, Hangul_End = 0xff33, Hangul_Hanja = 0xff34, Hangul_Jamo = 0xff35, Hangul_Romaja = 0xff36, Hangul_Codeinput = 0xff37, Hangul_Jeonja = 0xff38, Hangul_Banja = 0xff39, Hangul_PreHanja = 0xff3a, Hangul_PostHanja = 0xff3b, Hangul_SingleCandidate = 0xff3c, Hangul_MultipleCandidate = 0xff3d, Hangul_PreviousCandidate = 0xff3e, Hangul_Special = 0xff3f, Hangul_switch = 0xFF7E, Hangul_Kiyeog = 0xea1, Hangul_SsangKiyeog = 0xea2, Hangul_KiyeogSios = 0xea3, Hangul_Nieun = 0xea4, Hangul_NieunJieuj = 0xea5, Hangul_NieunHieuh = 0xea6, Hangul_Dikeud = 0xea7, Hangul_SsangDikeud = 0xea8, Hangul_Rieul = 0xea9, Hangul_RieulKiyeog = 0xeaa, Hangul_RieulMieum = 0xeab, Hangul_RieulPieub = 0xeac, Hangul_RieulSios = 0xead, Hangul_RieulTieut = 0xeae, Hangul_RieulPhieuf = 0xeaf, Hangul_RieulHieuh = 0xeb0, Hangul_Mieum = 0xeb1, Hangul_Pieub = 0xeb2, Hangul_SsangPieub = 0xeb3, Hangul_PieubSios = 0xeb4, Hangul_Sios = 0xeb5, Hangul_SsangSios = 0xeb6, Hangul_Ieung = 0xeb7, Hangul_Jieuj = 0xeb8, Hangul_SsangJieuj = 0xeb9, Hangul_Cieuc = 0xeba, Hangul_Khieuq = 0xebb, Hangul_Tieut = 0xebc, Hangul_Phieuf = 0xebd, Hangul_Hieuh = 0xebe, Hangul_A = 0xebf, Hangul_AE = 0xec0, Hangul_YA = 0xec1, Hangul_YAE = 0xec2, Hangul_EO = 0xec3, Hangul_E = 0xec4, Hangul_YEO = 0xec5, Hangul_YE = 0xec6, Hangul_O = 0xec7, Hangul_WA = 0xec8, Hangul_WAE = 0xec9, Hangul_OE = 0xeca, Hangul_YO = 0xecb, Hangul_U = 0xecc, Hangul_WEO = 0xecd, Hangul_WE = 0xece, Hangul_WI = 0xecf, Hangul_YU = 0xed0, Hangul_EU = 0xed1, Hangul_YI = 0xed2, Hangul_I = 0xed3, Hangul_J_Kiyeog = 0xed4, Hangul_J_SsangKiyeog = 0xed5, Hangul_J_KiyeogSios = 0xed6, Hangul_J_Nieun = 0xed7, Hangul_J_NieunJieuj = 0xed8, Hangul_J_NieunHieuh = 0xed9, Hangul_J_Dikeud = 0xeda, Hangul_J_Rieul = 0xedb, Hangul_J_RieulKiyeog = 0xedc, Hangul_J_RieulMieum = 0xedd, Hangul_J_RieulPieub = 0xede, Hangul_J_RieulSios = 0xedf, Hangul_J_RieulTieut = 0xee0, Hangul_J_RieulPhieuf = 0xee1, Hangul_J_RieulHieuh = 0xee2, Hangul_J_Mieum = 0xee3, Hangul_J_Pieub = 0xee4, Hangul_J_PieubSios = 0xee5, Hangul_J_Sios = 0xee6, Hangul_J_SsangSios = 0xee7, Hangul_J_Ieung = 0xee8, Hangul_J_Jieuj = 0xee9, Hangul_J_Cieuc = 0xeea, Hangul_J_Khieuq = 0xeeb, Hangul_J_Tieut = 0xeec, Hangul_J_Phieuf = 0xeed, Hangul_J_Hieuh = 0xeee, Hangul_RieulYeorinHieuh = 0xeef, Hangul_SunkyeongeumMieum = 0xef0, Hangul_SunkyeongeumPieub = 0xef1, Hangul_PanSios = 0xef2, Hangul_KkogjiDalrinIeung = 0xef3, Hangul_SunkyeongeumPhieuf = 0xef4, Hangul_YeorinHieuh = 0xef5, Hangul_AraeA = 0xef6, Hangul_AraeAE = 0xef7, Hangul_J_PanSios = 0xef8, Hangul_J_KkogjiDalrinIeung = 0xef9, Hangul_J_YeorinHieuh = 0xefa, Korean_Won = 0xeff, EcuSign = 0x20a0, ColonSign = 0x20a1, CruzeiroSign = 0x20a2, FFrancSign = 0x20a3, LiraSign = 0x20a4, MillSign = 0x20a5, NairaSign = 0x20a6, PesetaSign = 0x20a7, RupeeSign = 0x20a8, WonSign = 0x20a9, NewSheqelSign = 0x20aa, DongSign = 0x20ab, EuroSign = 0x20ac, } } gtk-sharp-2.12.40/gdk/PangoAttrStipple.custom0000664000175000017500000000361412767740470015766 00000000000000// Gdk.PangoAttrStipple.custom - Gdk PangoAttrStipple class customizations // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete("Gdk.PangoAttrStipple is a reference type now, use null")] public static PangoAttrStipple Zero = null; [Obsolete("Replaced by PangoAttrStipple(IntPtr) constructor")] public static PangoAttrStipple New (IntPtr raw) { return new PangoAttrStipple (raw); } [Obsolete("Replaced by PangoAttrStipple(Gdk.Pixmap) constructor")] public static PangoAttrStipple New (Gdk.Pixmap stipple) { return new PangoAttrStipple (stipple); } [Obsolete("Replaced by explicit Pango.Attribute cast")] public Pango.Attribute Attr { get { return (Pango.Attribute)this; } } [Obsolete ("Replaced by Stipple property.")] public Gdk.Pixmap stipple { get { return Stipple; } set { Stipple = value; } } public static explicit operator Pango.Attribute (PangoAttrStipple attr_stipple) { return Pango.Attribute.GetAttribute (attr_stipple.Handle); } public static explicit operator PangoAttrStipple (Pango.Attribute attr) { return new PangoAttrStipple (attr.Handle); } gtk-sharp-2.12.40/gdk/PangoAttrEmbossed.custom0000664000175000017500000000332512767740470016106 00000000000000// Gdk.PangoAttrEmbossed.custom - Gdk PangoAttrEmbossed class customizations // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete("Gdk.PangoAttrEmbossed is a reference type now, use null")] public static PangoAttrEmbossed Zero = null; [Obsolete("Replaced by PangoAttrEmbossed(IntPtr) constructor")] public static PangoAttrEmbossed New (IntPtr raw) { return new PangoAttrEmbossed (raw); } [Obsolete("Replaced by PangoAttrEmbossed(bool) constructor")] public static PangoAttrEmbossed New (bool embossed) { return new PangoAttrEmbossed (embossed); } [Obsolete("Replaced by explicit Pango.Attribute cast")] public Pango.Attribute Attr { get { return (Pango.Attribute)this; } } public static explicit operator Pango.Attribute (PangoAttrEmbossed attr_embossed) { return Pango.Attribute.GetAttribute (attr_embossed.Handle); } public static explicit operator PangoAttrEmbossed (Pango.Attribute attr) { return new PangoAttrEmbossed (attr.Handle); } gtk-sharp-2.12.40/gdk/EventExpose.cs0000664000175000017500000000342312767740470014064 00000000000000// Gdk.EventExpose.cs - Custom expose event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventExpose : Event { [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_expose_get_area (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_expose_get_region (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_gdk_event_expose_get_count (IntPtr evt); public EventExpose (IntPtr raw) : base (raw) {} public Rectangle Area { get { return (Gdk.Rectangle) Marshal.PtrToStructure (gtksharp_gdk_event_expose_get_area (Handle), typeof (Gdk.Rectangle)); } } public int Count { get { return gtksharp_gdk_event_expose_get_count (Handle); } } public Region Region { get { return new Region (gtksharp_gdk_event_expose_get_region (Handle)); } } } } gtk-sharp-2.12.40/gdk/Screen.custom0000664000175000017500000000477712767740470013760 00000000000000// Screen.custom - customizations to Gdk.Screen // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_screen_get_toplevel_windows (IntPtr raw); public Window[] ToplevelWindows { get { IntPtr raw_ret = gdk_screen_get_toplevel_windows (Handle); if (raw_ret == IntPtr.Zero) return new Window [0]; return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.List), true, false); } } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_screen_list_visuals (IntPtr raw); public Visual[] ListVisuals () { IntPtr raw_ret = gdk_screen_list_visuals (Handle); if (raw_ret == IntPtr.Zero) return new Visual [0]; return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.List), true, false); } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_screen_get_font_options(IntPtr raw); [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gdk_screen_set_font_options(IntPtr raw, IntPtr options); [GLib.Property ("font-options")] public Cairo.FontOptions FontOptions { get { IntPtr raw_ret = gdk_screen_get_font_options(Handle); if (raw_ret == IntPtr.Zero) return null; System.Reflection.BindingFlags flags = System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance; return Activator.CreateInstance (typeof (Cairo.FontOptions), flags, null, new object [] {raw_ret}, null) as Cairo.FontOptions; } set { gdk_screen_set_font_options(Handle, value == null ? IntPtr.Zero : value.Handle); } } gtk-sharp-2.12.40/gdk/EventSetting.cs0000664000175000017500000000300712767740470014234 00000000000000// Gdk.EventSetting.cs - Custom Setting event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventSetting : Event { [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern SettingAction gtksharp_gdk_event_setting_get_action (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_setting_get_name (IntPtr evt); public EventSetting (IntPtr raw) : base (raw) {} public SettingAction Action { get { return gtksharp_gdk_event_setting_get_action (Handle); } } public string Name { get { return GLib.Marshaller.Utf8PtrToString (gtksharp_gdk_event_setting_get_name (Handle)); } } } } gtk-sharp-2.12.40/gdk/PixbufAnimation.custom0000664000175000017500000000256012767740470015622 00000000000000// PixbufAnimation.custom - GdkPixbufAnimation class customizations // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public PixbufAnimation (System.IO.Stream stream) : base (new PixbufLoader (stream).AnimationHandle) {} public PixbufAnimation (System.Reflection.Assembly assembly, string resource) : base (IntPtr.Zero) { if (assembly == null) assembly = System.Reflection.Assembly.GetCallingAssembly (); Raw = new PixbufLoader (assembly, resource).AnimationHandle; } static public PixbufAnimation LoadFromResource (string resource) { return new PixbufAnimation (System.Reflection.Assembly.GetCallingAssembly (), resource); } gtk-sharp-2.12.40/gdk/Display.custom0000664000175000017500000000664212767740470014137 00000000000000// Display.custom - customizations to Gdk.Display // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gdk_display_get_pointer(IntPtr raw, IntPtr screen, out int x, out int y, out int mask); [Obsolete] public void GetPointer(Gdk.Screen screen, out int x, out int y, out Gdk.ModifierType mask) { int mask_as_int; gdk_display_get_pointer(Handle, screen.Handle, out x, out y, out mask_as_int); mask = (Gdk.ModifierType) mask_as_int; } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gdk_display_get_pointer(IntPtr raw, out IntPtr screen, out int x, out int y, out int mask); public void GetPointer(out Gdk.Screen screen, out int x, out int y, out Gdk.ModifierType mask) { IntPtr screen_handle; int mask_as_int; gdk_display_get_pointer(Handle, out screen_handle, out x, out y, out mask_as_int); screen = (Gdk.Screen) GLib.Object.GetObject(screen_handle); mask = (Gdk.ModifierType) mask_as_int; } public void GetPointer (out int x, out int y) { Gdk.ModifierType mod; Gdk.Screen screen; GetPointer (out screen, out x, out y, out mod); } public void GetPointer (out int x, out int y, out Gdk.ModifierType mod) { Gdk.Screen screen; GetPointer (out screen, out x, out y, out mod); } public void GetPointer (out Gdk.Screen screen, out int x, out int y) { Gdk.ModifierType mod; GetPointer (out screen, out x, out y, out mod); } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_display_list_devices (IntPtr raw); public Device[] ListDevices () { IntPtr raw_ret = gdk_display_list_devices (Handle); if (raw_ret == IntPtr.Zero) return new Device [0]; GLib.List list = new GLib.List(raw_ret); return GLib.Marshaller.ListToArray (list); } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gdk_display_add_client_message_filter (IntPtr raw, IntPtr message_type, GdkSharp.FilterFuncNative func, IntPtr data); public void AddClientMessageFilter (Gdk.Atom message_type, Gdk.FilterFunc func) { GdkSharp.FilterFuncWrapper func_wrapper = new GdkSharp.FilterFuncWrapper (func); if (!PersistentData.Contains ("client_message_filter_func_list")) PersistentData ["client_message_filter_func_list"] = new ArrayList (); ArrayList func_list = PersistentData ["client_message_filter_func_list"] as ArrayList; func_list.Add (func_wrapper); gdk_display_add_client_message_filter (Handle, message_type == null ? IntPtr.Zero : message_type.Handle, func_wrapper.NativeDelegate, IntPtr.Zero); } gtk-sharp-2.12.40/gdk/EventClient.cs0000664000175000017500000000443112767740470014037 00000000000000// Gdk.EventClient.cs - Custom client event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventClient : Event { [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_client_get_message_type (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern ushort gtksharp_gdk_event_client_get_data_format (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_client_get_data (IntPtr evt); public EventClient (IntPtr raw) : base (raw) {} public Atom MessageType { get { return new Atom (gtksharp_gdk_event_client_get_message_type (Handle)); } } public ushort DataFormat { get { return gtksharp_gdk_event_client_get_data_format (Handle); } } public Array Data { get { switch (DataFormat) { case 8: byte[] b = new byte [20]; Marshal.Copy (b, 0, gtksharp_gdk_event_client_get_data (Handle), 20); return b; case 16: short[] s = new short [10]; Marshal.Copy (s, 0, gtksharp_gdk_event_client_get_data (Handle), 10); return s; case 32: IntPtr data_ptr = gtksharp_gdk_event_client_get_data (Handle); long[] l = new long [5]; for (int i = 0; i < 5; i++) l [i] = (long) Marshal.ReadIntPtr (data_ptr, i * IntPtr.Size); return l; default: throw new Exception ("Invalid Data Format: " + DataFormat); } } } } } gtk-sharp-2.12.40/gdk/Window.custom0000664000175000017500000001375712767740470014006 00000000000000// Gdk.Window.custom - Gdk Window class customizations // // Author: Moritz Balz // Mike Kestner // // Copyright (c) 2003 Moritz Balz // Copyright (c) 2004 - 2008 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public Window (Gdk.Window parent, Gdk.WindowAttr attributes, Gdk.WindowAttributesType attributes_mask) : this (parent, attributes, (int)attributes_mask) {} [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_window_get_children(IntPtr raw); public Window[] Children { get { IntPtr raw_ret = gdk_window_get_children(Handle); if (raw_ret == IntPtr.Zero) return new Window [0]; return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.List), true, false); } } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gdk_window_set_icon_list(IntPtr raw, IntPtr pixbufs); public Pixbuf[] IconList { set { GLib.List list = new GLib.List(IntPtr.Zero, typeof(Pixbuf), true, false); foreach (Pixbuf val in value) list.Append (val.Handle); gdk_window_set_icon_list(Handle, list.Handle); } } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_window_get_toplevels(); public static Window[] Toplevels { get { IntPtr raw_ret = gdk_window_get_toplevels(); if (raw_ret == IntPtr.Zero) return new Window [0]; return GLib.Marshaller.ListPtrToArray (raw_ret, typeof(GLib.List), true, false); } } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_object_ref (IntPtr raw); [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gdk_window_destroy(IntPtr raw); public void Destroy () { // native method assumes an outstanding normal ref, but we hold a // toggle ref. take out a normal ref for it to release, and let // Dispose release our toggle ref. g_object_ref (Handle); gdk_window_destroy(Handle); Dispose (); } public void MoveResize (Gdk.Rectangle rect) { gdk_window_move_resize (Handle, rect.X, rect.Y, rect.Width, rect.Height); } public void ClearArea (Gdk.Rectangle rect, bool expose) { if (expose) gdk_window_clear_area_e (Handle, rect.X, rect.Y, rect.Width, rect.Height); else gdk_window_clear_area (Handle, rect.X, rect.Y, rect.Width, rect.Height); } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gdk_window_get_user_data (IntPtr raw, out IntPtr data); [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gdk_window_set_user_data(IntPtr raw, IntPtr user_data); public IntPtr UserData { get { IntPtr data; gdk_window_get_user_data (Handle, out data); return data; } set { gdk_window_set_user_data(Handle, value); } } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gdk_window_add_filter (IntPtr handle, GdkSharp.FilterFuncNative wrapper, IntPtr data); [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gdk_window_remove_filter (IntPtr handle, GdkSharp.FilterFuncNative wrapper, IntPtr data); static Hashtable filter_all_hash; static Hashtable FilterAllHash { get { if (filter_all_hash == null) filter_all_hash = new Hashtable (); return filter_all_hash; } } public static void AddFilterForAll (FilterFunc func) { GdkSharp.FilterFuncWrapper wrapper = new GdkSharp.FilterFuncWrapper (func); FilterAllHash [func] = wrapper; gdk_window_add_filter (IntPtr.Zero, wrapper.NativeDelegate, IntPtr.Zero); } public static void RemoveFilterForAll (FilterFunc func) { GdkSharp.FilterFuncWrapper wrapper = FilterAllHash [func] as GdkSharp.FilterFuncWrapper; if (wrapper == null) return; FilterAllHash.Remove (func); gdk_window_remove_filter (IntPtr.Zero, wrapper.NativeDelegate, IntPtr.Zero); } public void AddFilter (FilterFunc function) { if (!PersistentData.Contains ("filter_func_hash")) PersistentData ["filter_func_hash"] = new Hashtable (); Hashtable hash = PersistentData ["filter_func_hash"] as Hashtable; GdkSharp.FilterFuncWrapper wrapper = new GdkSharp.FilterFuncWrapper (function); hash [function] = wrapper; gdk_window_add_filter (Handle, wrapper.NativeDelegate, IntPtr.Zero); } public void RemoveFilter (FilterFunc function) { Hashtable hash = PersistentData ["filter_func_hash"] as Hashtable; GdkSharp.FilterFuncWrapper wrapper = hash [function] as GdkSharp.FilterFuncWrapper; if (wrapper == null) return; hash.Remove (function); gdk_window_remove_filter (Handle, wrapper.NativeDelegate, IntPtr.Zero); } #if MANLY_ENOUGH_TO_INCLUDE public Cairo.Graphics CairoGraphics (out int offset_x, out int offset_y) { IntPtr real_drawable; Cairo.Graphics o = new Cairo.Graphics (); gdk_window_get_internal_paint_info (Handle, out real_drawable, out offset_x, out offset_y); IntPtr x11 = gdk_x11_drawable_get_xid (real_drawable); IntPtr display = gdk_x11_drawable_get_xdisplay (real_drawable); o.SetTargetDrawable (display, x11); return o; } public override Cairo.Graphics CairoGraphics () { int x, y; return CairoGraphics (out x, out y); } #endif gtk-sharp-2.12.40/gdk/DragContext.custom0000664000175000017500000000215212767740470014744 00000000000000// // gdk/DragContext.custom // // Author: Ettore Perazzoli // // Copyright (C) 2003 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_drag_context_get_targets (IntPtr ptr); public Atom [] Targets { get { GLib.List list = new GLib.List (gtksharp_drag_context_get_targets (this.Handle), typeof (Atom)); return GLib.Marshaller.ListToArray (list); } } gtk-sharp-2.12.40/gdk/EventProximity.cs0000664000175000017500000000300512767740470014621 00000000000000// Gdk.EventProximity.cs - Custom proximity event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventProximity : Event { [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_proximity_get_time (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_proximity_get_device (IntPtr evt); public EventProximity (IntPtr raw) : base (raw) {} public Device Device { get { return GLib.Object.GetObject (gtksharp_gdk_event_proximity_get_device (Handle)) as Device; } } public uint Time { get { return gtksharp_gdk_event_proximity_get_time (Handle); } } } } gtk-sharp-2.12.40/gdk/EventGrabBroken.cs0000664000175000017500000000322412767740470014634 00000000000000// Gdk.EventGrabBroken.cs - Custom GrabBroken event wrapper // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. #if GTK_SHARP_2_8 namespace Gdk { using System; using System.Runtime.InteropServices; public class EventGrabBroken : Event { [StructLayout(LayoutKind.Sequential)] struct NativeEventGrabBroken { EventType type; IntPtr window; sbyte send_event; public bool Keyboard; public bool Implicit; public IntPtr GrabWindowHandle; } NativeEventGrabBroken native_struct; public EventGrabBroken (IntPtr raw) : base (raw) { native_struct = (NativeEventGrabBroken) Marshal.PtrToStructure (raw, typeof (NativeEventGrabBroken)); } public bool Keyboard { get { return native_struct.Keyboard; } } public bool Implicit { get { return native_struct.Implicit; } } public Window GrabWindow { get { return GLib.Object.GetObject(native_struct.GrabWindowHandle) as Window; } } } } #endif gtk-sharp-2.12.40/gdk/Keymap.custom0000664000175000017500000000520612767740470013753 00000000000000// Keymap.custom - customizations to Gdk.Keymap // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_free(IntPtr ptr); [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gdk_keymap_get_entries_for_keycode(IntPtr raw, uint hardware_keycode, out IntPtr keys, out IntPtr keyvals, out int n_entries); public void GetEntriesForKeycode(uint hardware_keycode, out Gdk.KeymapKey[] keys, out uint[] keyvals) { IntPtr key_ptr, keyval_ptr; int count; if (gdk_keymap_get_entries_for_keycode(Handle, hardware_keycode, out key_ptr, out keyval_ptr, out count)) { keys = new KeymapKey [count]; keyvals = new uint [count]; int[] tmp = new int [count]; Marshal.Copy (keyval_ptr, tmp, 0, count); int keymapKeySize = Marshal.SizeOf (typeof (Gdk.KeymapKey)); for (int i = 0; i < count; i++) { IntPtr ptr = new IntPtr ((long) key_ptr + i * keymapKeySize); keyvals [i] = (uint) tmp [i]; keys [i] = KeymapKey.New (ptr); } g_free (key_ptr); g_free (keyval_ptr); } else { keys = new KeymapKey [0]; keyvals = new uint [0]; } } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gdk_keymap_get_entries_for_keyval(IntPtr raw, uint keyval, out IntPtr keys, out int n_keys); public KeymapKey[] GetEntriesForKeyval (uint keyval) { IntPtr key_ptr; int count; if (gdk_keymap_get_entries_for_keyval(Handle, keyval, out key_ptr, out count)) { KeymapKey[] result = new KeymapKey [count]; int keymapKeySize = Marshal.SizeOf (typeof (Gdk.KeymapKey)); for (int i = 0; i < count; i++) { IntPtr ptr = new IntPtr ((long) key_ptr + i * keymapKeySize); result [i] = KeymapKey.New (ptr); } g_free (key_ptr); return result; } else return new KeymapKey [0]; } gtk-sharp-2.12.40/gdk/EdgeTable.custom0000664000175000017500000000223712767740470014342 00000000000000// Gdk.EdgeTable.custom - Gdk EdgeTable class customizations // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Replaced by Scanlines property.")] public Gdk.ScanLineList scanlines { get { Gdk.ScanLineList ret = new Gdk.ScanLineList(_scanlines); if (ret == null) ret = new Gdk.ScanLineList(_scanlines); return ret; } set { _scanlines = value.Handle; } } gtk-sharp-2.12.40/gdk/GCValues.custom0000664000175000017500000000300512767740470014171 00000000000000// Gdk.GCValues.custom - Gdk GCValues class customizations // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Replaced by Tile property.")] public Gdk.Pixmap tile { get { Gdk.Pixmap ret = (Gdk.Pixmap) GLib.Object.GetObject(_tile); return ret; } set { _tile = value.Handle; } } [Obsolete ("Replaced by Stipple property.")] public Gdk.Pixmap stipple { get { Gdk.Pixmap ret = (Gdk.Pixmap) GLib.Object.GetObject(_stipple); return ret; } set { _stipple = value.Handle; } } [Obsolete ("Replaced by ClipMask property.")] public Gdk.Pixmap clip_mask { get { Gdk.Pixmap ret = (Gdk.Pixmap) GLib.Object.GetObject(_clip_mask); return ret; } set { _clip_mask = value.Handle; } } gtk-sharp-2.12.40/gdk/EventOwnerChange.cs0000664000175000017500000000471612767740470015027 00000000000000// Gdk.EventOwnerChange.cs - Custom OwnerChange event wrapper // // Author: Mike Kestner // // Copyright (c) 2008 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventOwnerChange : Event { public EventOwnerChange (IntPtr handle) : base (handle) {} struct NativeStruct { public Gdk.EventType type; public IntPtr window; public sbyte send_event; public uint owner; public Gdk.OwnerChange reason; public IntPtr selection; public uint time; public uint selection_time; } NativeStruct Native { get { return (NativeStruct) Marshal.PtrToStructure (Handle, typeof (NativeStruct)); } } public uint Owner { get { return Native.owner; } set { NativeStruct native = Native; native.owner = value; Marshal.StructureToPtr (native, Handle, false); } } public OwnerChange Reason { get { return Native.reason; } set { NativeStruct native = Native; native.reason = value; Marshal.StructureToPtr (native, Handle, false); } } public Gdk.Atom Selection { get { IntPtr sel = Native.selection; return sel == IntPtr.Zero ? null : (Gdk.Atom) GLib.Opaque.GetOpaque (sel, typeof (Gdk.Atom), false); } set { NativeStruct native = Native; native.selection = value == null ? IntPtr.Zero : value.Handle; Marshal.StructureToPtr (native, Handle, false); } } public uint Time { get { return Native.time; } set { NativeStruct native = Native; native.time = value; Marshal.StructureToPtr (native, Handle, false); } } public uint SelectionTime { get { return Native.selection_time; } set { NativeStruct native = Native; native.selection_time = value; Marshal.StructureToPtr (native, Handle, false); } } } } gtk-sharp-2.12.40/gdk/Atom.custom0000664000175000017500000000141012767740470013416 00000000000000// Atom.custom // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public static implicit operator string (Gdk.Atom atom) { return atom.Name; } gtk-sharp-2.12.40/gdk/EventButton.cs0000664000175000017500000000656112767740470014102 00000000000000// Gdk.EventButton.cs - Custom button event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventButton : Event { [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_button_get_time (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_button_get_x (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_button_get_y (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_button_get_x_root (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double gtksharp_gdk_event_button_get_y_root (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_button_get_state (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_button_get_button (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_button_get_device (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_button_get_axes (IntPtr evt); public EventButton (IntPtr raw) : base (raw) {} public uint Time { get { return gtksharp_gdk_event_button_get_time (Handle); } } public ModifierType State { get { return (ModifierType) gtksharp_gdk_event_button_get_state (Handle); } } public double X { get { return gtksharp_gdk_event_button_get_x (Handle); } } public double Y { get { return gtksharp_gdk_event_button_get_y (Handle); } } public double XRoot { get { return gtksharp_gdk_event_button_get_x_root (Handle); } } public double YRoot { get { return gtksharp_gdk_event_button_get_y_root (Handle); } } public uint Button { get { return gtksharp_gdk_event_button_get_button (Handle); } } public Device Device { get { return GLib.Object.GetObject (gtksharp_gdk_event_button_get_device (Handle)) as Device; } } public double[] Axes { get { double[] result = null; IntPtr axes = gtksharp_gdk_event_button_get_axes (Handle); if (axes != IntPtr.Zero) { result = new double[Device.NumAxes]; Marshal.Copy (axes, result, 0, result.Length); } return result; } } } } gtk-sharp-2.12.40/gdk/Drawable.custom0000664000175000017500000000453012767740470014245 00000000000000// Gdk.Drawble.custom - Gdk Drawble class customizations // // Author: Pedro Abelleira Seco // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public void DrawRectangle(Gdk.GC gc, bool filled, Gdk.Rectangle area) { gdk_draw_rectangle(Handle, gc.Handle, filled, area.X, area.Y, area.Width, area.Height); } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gdk_draw_polygon(IntPtr raw, IntPtr gc, int filled, Gdk.Point[] points, int npoints); [Obsolete] public void DrawPolygon(Gdk.GC gc, int filled, Gdk.Point[] points) { gdk_draw_polygon(Handle, gc.Handle, filled, points, points.Length); } public void DrawPolygon(Gdk.GC gc, bool filled, Gdk.Point[] points) { gdk_draw_polygon(Handle, gc.Handle, filled ? 1 : 0, points, points.Length); } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gdk_draw_lines(IntPtr raw, IntPtr gc, Gdk.Point[] points, int npoints); public void DrawLines(Gdk.GC gc, Gdk.Point[] points) { gdk_draw_lines(Handle, gc.Handle, points, points.Length); } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] internal static extern IntPtr gdk_x11_drawable_get_xdisplay (IntPtr raw); [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] internal static extern IntPtr gdk_x11_drawable_get_xid (IntPtr raw); #if MANLY_ENOUGH_TO_INCLUDE public virtual Cairo.Graphics CairoGraphics () { Cairo.Graphics o = new Cairo.Graphics (); IntPtr display = gdk_x11_drawable_get_xdisplay (Handle); o.SetTargetDrawable (display, gdk_x11_drawable_get_xid (Handle)); return o; } #endif gtk-sharp-2.12.40/gdk/RgbCmap.custom0000664000175000017500000000206612767740470014041 00000000000000// Gdk.RgbCmap.custom - Gdk RgbCmap class customizations // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete("Gdk.RgbCmap is a reference type now, use null")] public static RgbCmap Zero = null; [Obsolete("Replaced by RgbCmap(IntPtr) constructor")] public static RgbCmap New (IntPtr raw) { return new RgbCmap (raw); } gtk-sharp-2.12.40/gdk/PixbufLoader.custom0000664000175000017500000000754112767740470015115 00000000000000// PixbufLoader.custom - Gdk PixbufLoader class customizations // // Authors: // Mike Kestner // // Copyright (c) 2003 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_object_ref (IntPtr handle); internal IntPtr PixbufHandle { get { return g_object_ref (gdk_pixbuf_loader_get_pixbuf (Handle)); } } internal IntPtr AnimationHandle { get { return g_object_ref (gdk_pixbuf_loader_get_animation (Handle)); } } public bool Write (byte[] bytes) { return this.Write (bytes, (ulong) bytes.Length); } [Obsolete ("Replaced by Write (byte[], ulong) for 64 bit portability")] public bool Write (byte[] bytes, uint count) { return this.Write (bytes, (ulong) count); } private void LoadFromStream (System.IO.Stream input) { byte [] buffer = new byte [8192]; int n; while ((n = input.Read (buffer, 0, 8192)) != 0) Write (buffer, (uint) n); } public PixbufLoader (string file, int width, int height) : this () { SetSize(width, height); using(System.IO.FileStream stream = new System.IO.FileStream(file, System.IO.FileMode.Open, System.IO.FileAccess.Read)) { InitFromStream(stream); } } public PixbufLoader (System.IO.Stream stream) : this () { InitFromStream(stream); } private void InitFromStream (System.IO.Stream stream) { if (stream == null) throw new ArgumentNullException ("stream"); try { LoadFromStream (stream); } finally { Close (); } } public PixbufLoader (System.IO.Stream stream, int width, int height) : this() { SetSize(width, height); InitFromStream(stream); } public PixbufLoader (System.Reflection.Assembly assembly, string resource) : this () { InitFromAssemblyResource(assembly == null ? System.Reflection.Assembly.GetCallingAssembly () : assembly, resource); } private void InitFromAssemblyResource(System.Reflection.Assembly assembly, string resource) { if (assembly == null) throw new ArgumentNullException ("assembly"); System.IO.Stream s = assembly.GetManifestResourceStream (resource); if (s == null) throw new ArgumentException ("'" + resource + "' is not a valid resource name of assembly '" + assembly + "'."); try { LoadFromStream (s); } finally { Close (); } } public PixbufLoader (System.Reflection.Assembly assembly, string resource, int width, int height) : this () { SetSize(width, height); InitFromAssemblyResource(assembly == null ? System.Reflection.Assembly.GetCallingAssembly () : assembly, resource); } public PixbufLoader (byte[] buffer) : this() { InitFromBuffer(buffer); } private void InitFromBuffer (byte[] buffer) { try { Write (buffer, (uint)buffer.Length); } finally { Close (); } } public PixbufLoader (byte[] buffer, int width, int height) : this() { SetSize(width, height); InitFromBuffer(buffer); } static public PixbufLoader LoadFromResource (string resource) { return new PixbufLoader (System.Reflection.Assembly.GetCallingAssembly (), resource); } gtk-sharp-2.12.40/gdk/Pixbuf.custom0000664000175000017500000004343612767740470013771 00000000000000// Pixbuf.custom - Gdk Pixbuf class customizations // // Authors: // Vladimir Vukicevic // Miguel de Icaza // Mike Kestner // Duncan Mak // Gonzalo Paniagua Javier // Martin Willemoes Hansen // Jose Faria // // Copyright (c) 2002 Vladimir Vukicevic // Copyright (c) 2003 Ximian, Inc. (Miguel de Icaza) // Copyright (c) 2003 Ximian, Inc. (Duncan Mak) // Copyright (c) 2003 Ximian, Inc. (Gonzalo Paniagua Javier) // Copyright (c) 2003 Martin Willemoes Hansen // Copyright (c) 2004-2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_pixbuf_get_from_drawable(IntPtr raw, IntPtr src, IntPtr cmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height); public Gdk.Pixbuf GetFromDrawable(Gdk.Drawable src, Gdk.Colormap cmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height) { IntPtr raw_ret = gdk_pixbuf_get_from_drawable(Handle, src.Handle, cmap.Handle, src_x, src_y, dest_x, dest_y, width, height); Gdk.Pixbuf ret; if (raw_ret == IntPtr.Zero) ret = null; else ret = (Gdk.Pixbuf) GLib.Object.GetObject(raw_ret); return ret; } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_pixbuf_get_from_image(IntPtr raw, IntPtr src, IntPtr cmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height); public Gdk.Pixbuf GetFromImage(Gdk.Image src, Gdk.Colormap cmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height) { IntPtr raw_ret = gdk_pixbuf_get_from_image(Handle, src.Handle, cmap.Handle, src_x, src_y, dest_x, dest_y, width, height); Gdk.Pixbuf ret; if (raw_ret == IntPtr.Zero) ret = null; else ret = (Gdk.Pixbuf) GLib.Object.GetObject(raw_ret); return ret; } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gdk_pixbuf_render_pixmap_and_mask (IntPtr raw, out IntPtr pixmap_return, out IntPtr mask_return, int alpha_threshold); public void RenderPixmapAndMask (out Pixmap pixmap_return, out Pixmap mask_return, int alpha_threshold) { IntPtr mask_handle, pixmap_handle; gdk_pixbuf_render_pixmap_and_mask (Handle, out pixmap_handle, out mask_handle, alpha_threshold); pixmap_return = GLib.Object.GetObject (pixmap_handle) as Pixmap; mask_return = GLib.Object.GetObject (mask_handle) as Pixmap; } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gdk_pixbuf_render_pixmap_and_mask_for_colormap (IntPtr raw, IntPtr colormap, out IntPtr pixmap_return, out IntPtr mask_return, int alpha_threshold); public void RenderPixmapAndMaskForColormap (Colormap colormap, out Pixmap pixmap_return, out Pixmap mask_return, int alpha_threshold) { IntPtr mask_handle, pixmap_handle; gdk_pixbuf_render_pixmap_and_mask_for_colormap (Handle, colormap == null ? IntPtr.Zero : colormap.Handle, out pixmap_handle, out mask_handle, alpha_threshold); pixmap_return = GLib.Object.GetObject (pixmap_handle) as Pixmap; mask_return = GLib.Object.GetObject (mask_handle) as Pixmap; } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gdk_pixbuf_render_threshold_alpha(IntPtr raw, IntPtr bitmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height, int alpha_threshold); public void RenderThresholdAlpha(Gdk.Pixmap bitmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height, int alpha_threshold) { gdk_pixbuf_render_threshold_alpha(Handle, bitmap.Handle, src_x, src_y, dest_x, dest_y, width, height, alpha_threshold); } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gdk_pixbuf_render_to_drawable(IntPtr raw, IntPtr drawable, IntPtr gc, int src_x, int src_y, int dest_x, int dest_y, int width, int height, int dither, int x_dither, int y_dither); public void RenderToDrawable(Gdk.Drawable drawable, Gdk.GC gc, int src_x, int src_y, int dest_x, int dest_y, int width, int height, Gdk.RgbDither dither, int x_dither, int y_dither) { gdk_pixbuf_render_to_drawable(Handle, drawable.Handle, gc.Handle, src_x, src_y, dest_x, dest_y, width, height, (int) dither, x_dither, y_dither); } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gdk_pixbuf_render_to_drawable_alpha(IntPtr raw, IntPtr drawable, int src_x, int src_y, int dest_x, int dest_y, int width, int height, int alpha_mode, int alpha_threshold, int dither, int x_dither, int y_dither); public void RenderToDrawableAlpha(Gdk.Drawable drawable, int src_x, int src_y, int dest_x, int dest_y, int width, int height, Gdk.PixbufAlphaMode alpha_mode, int alpha_threshold, Gdk.RgbDither dither, int x_dither, int y_dither) { gdk_pixbuf_render_to_drawable_alpha(Handle, drawable.Handle, src_x, src_y, dest_x, dest_y, width, height, (int) alpha_mode, alpha_threshold, (int) dither, x_dither, y_dither); } public Pixbuf (System.IO.Stream stream) : base (IntPtr.Zero) { using (PixbufLoader pl = new PixbufLoader (stream)) { Raw = pl.PixbufHandle; } } public Pixbuf (System.IO.Stream stream, int width, int height) : base (IntPtr.Zero) { using (PixbufLoader pl = new PixbufLoader (stream, width, height)) { Raw = pl.PixbufHandle; } } public Pixbuf (System.Reflection.Assembly assembly, string resource) : base (IntPtr.Zero) { using (PixbufLoader pl = new PixbufLoader (assembly == null ? System.Reflection.Assembly.GetCallingAssembly () : assembly, resource)) { Raw = pl.PixbufHandle; } } public Pixbuf (System.Reflection.Assembly assembly, string resource, int width, int height) : base (IntPtr.Zero) { using (PixbufLoader pl = new PixbufLoader (assembly == null ? System.Reflection.Assembly.GetCallingAssembly () : assembly, resource, width, height)) { Raw = pl.PixbufHandle; } } public Pixbuf (byte[] buffer) : base (IntPtr.Zero) { using (PixbufLoader pl = new PixbufLoader (buffer)) { Raw = pl.PixbufHandle; } } public Pixbuf (byte[] buffer, int width, int height) : base (IntPtr.Zero) { using (PixbufLoader pl = new PixbufLoader (buffer, width, height)) { Raw = pl.PixbufHandle; } } static public Pixbuf LoadFromResource (string resource) { return new Pixbuf (System.Reflection.Assembly.GetCallingAssembly (), resource); } [DllImport("libgdk_pixbuf-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_pixbuf_scale_simple(IntPtr raw, int dest_width, int dest_height, int interp_type); public Gdk.Pixbuf ScaleSimple(int dest_width, int dest_height, Gdk.InterpType interp_type) { IntPtr raw_ret = gdk_pixbuf_scale_simple(Handle, dest_width, dest_height, (int) interp_type); Gdk.Pixbuf ret = (Gdk.Pixbuf) GLib.Object.GetObject(raw_ret, true); return ret; } [DllImport("libgdk_pixbuf-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_pixbuf_composite_color_simple(IntPtr raw, int dest_width, int dest_height, int interp_type, int overall_alpha, int check_size, uint color1, uint color2); public Gdk.Pixbuf CompositeColorSimple(int dest_width, int dest_height, Gdk.InterpType interp_type, int overall_alpha, int check_size, uint color1, uint color2) { IntPtr raw_ret = gdk_pixbuf_composite_color_simple(Handle, dest_width, dest_height, (int) interp_type, overall_alpha, check_size, color1, color2); Gdk.Pixbuf ret = (Gdk.Pixbuf) GLib.Object.GetObject(raw_ret, true); return ret; } [DllImport("libgdk_pixbuf-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_pixbuf_add_alpha(IntPtr raw, bool substitute_color, byte r, byte g, byte b); public Gdk.Pixbuf AddAlpha(bool substitute_color, byte r, byte g, byte b) { IntPtr raw_ret = gdk_pixbuf_add_alpha(Handle, substitute_color, r, g, b); Gdk.Pixbuf ret = (Gdk.Pixbuf) GLib.Object.GetObject(raw_ret, true); return ret; } class DestroyHelper { GCHandle gch; GCHandle data_handle; PixbufDestroyNotify notify; public DestroyHelper (byte[] data, PixbufDestroyNotify notify) { gch = GCHandle.Alloc (this); data_handle = GCHandle.Alloc (data, GCHandleType.Pinned); this.notify = notify; } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] public delegate void NativeDelegate (IntPtr buf, IntPtr data); void ReleaseHandles (IntPtr buf, IntPtr data) { if (notify != null) notify ((byte[])data_handle.Target); data_handle.Free (); gch.Free (); } NativeDelegate handler; public NativeDelegate Handler { get { handler = new NativeDelegate (ReleaseHandles); return handler; } } } [DllImport("libgdk_pixbuf-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_pixbuf_new_from_data(byte[] data, int colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, DestroyHelper.NativeDelegate destroy_fn, IntPtr destroy_fn_data); public Pixbuf (byte[] data, Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, Gdk.PixbufDestroyNotify destroy_fn) : base (IntPtr.Zero) { if (GetType () != typeof (Pixbuf)) { throw new InvalidOperationException ("Can't override this constructor."); } DestroyHelper helper = new DestroyHelper (data, destroy_fn); Raw = gdk_pixbuf_new_from_data(data, (int) colorspace, has_alpha, bits_per_sample, width, height, rowstride, helper.Handler, IntPtr.Zero); } // overload to default the colorspace public Pixbuf(byte [] data, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, Gdk.PixbufDestroyNotify destroy_fn) : this (data, Gdk.Colorspace.Rgb, has_alpha, bits_per_sample, width, height, rowstride, destroy_fn) {} public Pixbuf(byte [] data, bool has_alpha, int bits_per_sample, int width, int height, int rowstride) : this (data, Gdk.Colorspace.Rgb, has_alpha, bits_per_sample, width, height, rowstride, null) {} public Pixbuf(byte [] data, Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride) : this (data, colorspace, has_alpha, bits_per_sample, width, height, rowstride, null) {} public unsafe Pixbuf(byte[] data, bool copy_pixels) : base (IntPtr.Zero) { IntPtr error = IntPtr.Zero; Raw = gdk_pixbuf_new_from_inline(data.Length, data, copy_pixels, out error); if (error != IntPtr.Zero) throw new GLib.GException (error); } [DllImport("libgdk_pixbuf-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern unsafe IntPtr gdk_pixbuf_new_from_inline(int len, IntPtr data, bool copy_pixels, out IntPtr error); public unsafe Pixbuf(int data_length, void *data, bool copy_pixels) : base (IntPtr.Zero) { IntPtr error = IntPtr.Zero; Raw = gdk_pixbuf_new_from_inline(data_length, (IntPtr) data, copy_pixels, out error); if (error != IntPtr.Zero) throw new GLib.GException (error); } // // ICloneable interface // public object Clone () { return Copy (); } // // These are factory versions of a couple of existing methods, but simplify // the process by reducing the number of steps required. Here a single // operation will create the Pixbuf instead of two // public static Gdk.Pixbuf FromDrawable (Gdk.Drawable src, Gdk.Colormap cmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height) { IntPtr raw_ret = gdk_pixbuf_get_from_drawable(IntPtr.Zero, src.Handle, cmap.Handle, src_x, src_y, dest_x, dest_y, width, height); return new Pixbuf (raw_ret); } [Obsolete ("Replaced by static FromDrawable method")] public Gdk.Pixbuf CreateFromDrawable (Gdk.Drawable src, Gdk.Colormap cmap, int src_x, int src_y, int dest_x, int dest_y, int width, int height) { IntPtr raw_ret = gdk_pixbuf_get_from_drawable((IntPtr) 0, src.Handle, cmap.Handle, src_x, src_y, dest_x, dest_y, width, height); return new Pixbuf (raw_ret); } // // the 'Pixels' property // [DllImport("libgdk_pixbuf-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_pixbuf_get_pixels(IntPtr raw); public IntPtr Pixels { get { IntPtr ret = gdk_pixbuf_get_pixels (Handle); return ret; } } [DllImport("libgdk_pixbuf-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_pixbuf_get_formats(); public static PixbufFormat[] Formats { get { IntPtr list_ptr = gdk_pixbuf_get_formats (); if (list_ptr == IntPtr.Zero) return new PixbufFormat [0]; return GLib.Marshaller.ListPtrToArray (list_ptr, typeof (GLib.SList), true, false); } } [DllImport("libgdk_pixbuf-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern unsafe bool gdk_pixbuf_save(IntPtr raw, IntPtr filename, IntPtr type, out IntPtr error, IntPtr dummy); public unsafe bool Save(string filename, string type) { IntPtr error = IntPtr.Zero; IntPtr nfilename = GLib.Marshaller.StringToPtrGStrdup (filename); IntPtr ntype = GLib.Marshaller.StringToPtrGStrdup (type); bool ret = gdk_pixbuf_save(Handle, nfilename, ntype, out error, IntPtr.Zero); GLib.Marshaller.Free (nfilename); GLib.Marshaller.Free (ntype); if (error != IntPtr.Zero) throw new GLib.GException (error); return ret; } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_free (IntPtr raw); [DllImport("libgdk_pixbuf-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern unsafe bool gdk_pixbuf_save_to_bufferv (IntPtr raw, out IntPtr buffer, out IntPtr buffer_size, IntPtr type, IntPtr[] option_keys, IntPtr[] option_values, out IntPtr error); IntPtr[] NullTerm (string[] src) { if (src.Length == 0) return null; IntPtr[] result = new IntPtr [src.Length + 1]; for (int i = 0; i < src.Length; i++) result [i] = GLib.Marshaller.StringToPtrGStrdup (src [i]); result [src.Length] = IntPtr.Zero; return result; } void ReleaseArray (IntPtr[] ptrs) { if (ptrs == null) return; foreach (IntPtr p in ptrs) GLib.Marshaller.Free (p); } public unsafe byte[] SaveToBuffer (string type) { return SaveToBuffer (type, new string [0], new string [0]); } public unsafe byte[] SaveToBuffer (string type, string[] option_keys, string[] option_values) { IntPtr error = IntPtr.Zero; IntPtr buffer; IntPtr buffer_size; IntPtr ntype = GLib.Marshaller.StringToPtrGStrdup (type); IntPtr[] nkeys = NullTerm (option_keys); IntPtr[] nvals = NullTerm (option_values); bool saved = gdk_pixbuf_save_to_bufferv (Handle, out buffer, out buffer_size, ntype, nkeys, nvals, out error); GLib.Marshaller.Free (ntype); ReleaseArray (nkeys); ReleaseArray (nvals); if (!saved) throw new GLib.GException (error); byte[] result = new byte [(int)buffer_size]; Marshal.Copy (buffer, result, 0, (int) buffer_size); g_free (buffer); return result; } [DllImport("libgdk_pixbuf-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern unsafe bool gdk_pixbuf_save_to_callbackv (IntPtr raw, GdkSharp.PixbufSaveFuncNative save_func, IntPtr user_data, IntPtr type, IntPtr[] option_keys, IntPtr[] option_values, out IntPtr error); public unsafe void SaveToCallback (PixbufSaveFunc save_func, string type) { SaveToCallback (save_func, type, new string [0], new string [0]); } public unsafe void SaveToCallback (PixbufSaveFunc save_func, string type, string[] option_keys, string[] option_values) { GdkSharp.PixbufSaveFuncWrapper save_func_wrapper = new GdkSharp.PixbufSaveFuncWrapper (save_func); IntPtr error = IntPtr.Zero; IntPtr ntype = GLib.Marshaller.StringToPtrGStrdup (type); IntPtr[] nkeys = NullTerm (option_keys); IntPtr[] nvals = NullTerm (option_values); bool saved = gdk_pixbuf_save_to_callbackv (Handle, save_func_wrapper.NativeDelegate, IntPtr.Zero, ntype, nkeys, nvals, out error); GLib.Marshaller.Free (ntype); ReleaseArray (nkeys); ReleaseArray (nvals); if (!saved) throw new GLib.GException (error); } [DllImport("libgdk_pixbuf-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern unsafe bool gdk_pixbuf_savev(IntPtr raw, IntPtr filename, IntPtr type, IntPtr[] option_keys, IntPtr[] option_values, out IntPtr error); public unsafe bool Savev(string filename, string type, string[] option_keys, string[] option_values) { IntPtr error = IntPtr.Zero; IntPtr native_filename = GLib.Marshaller.StringToPtrGStrdup (filename); IntPtr native_type = GLib.Marshaller.StringToPtrGStrdup (type); IntPtr[] native_option_keys = NullTerm (option_keys); IntPtr[] native_option_values = NullTerm (option_values); bool saved = gdk_pixbuf_savev(Handle, native_filename, native_type, native_option_keys, native_option_values, out error); GLib.Marshaller.Free (native_filename); GLib.Marshaller.Free (native_type); ReleaseArray (native_option_keys); ReleaseArray (native_option_values); if (!saved) throw new GLib.GException (error); return saved; } gtk-sharp-2.12.40/gdk/EventProperty.cs0000664000175000017500000000335112767740470014445 00000000000000// Gdk.EventProperty.cs - Custom property event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventProperty : Event { [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_property_get_time (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gdk_event_property_get_atom (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern PropertyState gtksharp_gdk_event_property_get_state (IntPtr evt); public EventProperty (IntPtr raw) : base (raw) {} public Atom Atom { get { return new Atom (gtksharp_gdk_event_property_get_atom (Handle)); } } public PropertyState State { get { return gtksharp_gdk_event_property_get_state (Handle); } } public uint Time { get { return gtksharp_gdk_event_property_get_time (Handle); } } } } gtk-sharp-2.12.40/gdk/DeviceAxis.custom0000664000175000017500000000222612767740470014550 00000000000000// Gdk.Point.DeviceAxis - Gdk DeviceAxis class customizations // // Author: Jasper van Putten // // Copyright (c) 2002 Jasper van Putten // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. /// /// ToString method /// /// /// /// returns a string representation of this DeviceAxis /// /// public override string ToString () { return "Gdk.DeviceAxis, max:" + this.Max + ",min:" + this.Min + ",use:" + this.Use; } gtk-sharp-2.12.40/gdk/Selection.custom0000664000175000017500000000304712767740470014453 00000000000000// Gdk.Selection.custom - Gdk Selection class customizations // // Author: Mike Kestner // // Copyright (c) 2003 Mike Kestner // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_get_gdk_selection_primary (); public static Gdk.Atom Primary = new Gdk.Atom (gtksharp_get_gdk_selection_primary()); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_get_gdk_selection_secondary (); public static Gdk.Atom Secondary = new Gdk.Atom (gtksharp_get_gdk_selection_secondary()); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_get_gdk_selection_clipboard (); public static Gdk.Atom Clipboard = new Gdk.Atom (gtksharp_get_gdk_selection_clipboard()); gtk-sharp-2.12.40/gdk/Color.custom0000664000175000017500000000262712767740470013607 00000000000000// Gdk.Color.custom - Gdk Color class customizations // // Author: Jasper van Putten , Miguel de Icaza. // // Copyright (c) 2002 Jasper van Putten // Copyright (c) 2003 Miguel de Icaza. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public override string ToString () { return String.Format ("rgb:{0:x}/{1:x}/{2:x}", Red, Green, Blue); } public Color (byte r, byte g, byte b) { Red = (ushort) (r << 8 | r); Green = (ushort) (g << 8 | g); Blue = (ushort) (b << 8 | b); Pixel = 0; } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern uint gdk_color_hash(ref Gdk.Color raw); public override int GetHashCode() { return (int) gdk_color_hash(ref this); } gtk-sharp-2.12.40/gdk/WindowAttr.custom0000664000175000017500000000324312767740470014626 00000000000000// Gdk.WindowAttr.custom - Gdk Window class customizations // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public EventMask Mask { get { return (EventMask) EventMask; } set { EventMask = (int) value; } } [Obsolete ("Replaced by Visual property.")] public Gdk.Visual visual { get { Gdk.Visual ret = (Gdk.Visual) GLib.Object.GetObject(_visual); return ret; } set { _visual = value.Handle; } } [Obsolete ("Replaced by Colormap property.")] public Gdk.Colormap colormap { get { Gdk.Colormap ret = (Gdk.Colormap) GLib.Object.GetObject(_colormap); return ret; } set { _colormap = value.Handle; } } [Obsolete ("Replaced by Cursor property.")] public Gdk.Cursor cursor { get { Gdk.Cursor ret = new Gdk.Cursor(_cursor); if (ret == null) ret = new Gdk.Cursor(_cursor); return ret; } set { _cursor = value.Handle; } } gtk-sharp-2.12.40/gdk/Makefile.am0000664000175000017500000000276612767740470013335 00000000000000SUBDIRS = . glue if ENABLE_MONO_CAIRO local_mono_cairo=$(top_builddir)/cairo/Mono.Cairo.dll else local_mono_cairo= endif pkg = gdk SYMBOLS = gdk-symbols.xml INCLUDE_API = $(top_srcdir)/glib/glib-api.xml $(top_builddir)/pango/pango-api.xml METADATA = Gdk.metadata references = $(top_builddir)/glib/glib-sharp.dll $(top_builddir)/pango/pango-sharp.dll $(local_mono_cairo) glue_includes = gdk/gdk.h sources = \ EventButton.cs \ EventClient.cs \ EventConfigure.cs \ EventCrossing.cs \ Event.cs \ EventDND.cs \ EventExpose.cs \ EventFocus.cs \ EventGrabBroken.cs \ EventKey.cs \ EventMotion.cs \ EventOwnerChange.cs \ EventProperty.cs \ EventProximity.cs \ EventScroll.cs \ EventSelection.cs \ EventSetting.cs \ EventVisibility.cs \ EventWindowState.cs \ Key.cs \ Size.cs \ TextProperty.cs customs = \ Atom.custom \ Color.custom \ Device.custom \ DeviceAxis.custom \ Display.custom \ DisplayManager.custom \ DragContext.custom \ Drawable.custom \ EdgeTable.custom \ GCValues.custom \ Global.custom \ Input.custom \ Keymap.custom \ PangoAttrEmbossed.custom\ PangoAttrEmbossColor.custom \ PangoAttrStipple.custom \ Pixmap.custom \ Pixbuf.custom \ PixbufAnimation.custom \ PixbufFrame.custom \ PixbufLoader.custom \ Pixdata.custom \ Point.custom \ Property.custom \ Rectangle.custom \ Region.custom \ RgbCmap.custom \ Screen.custom \ Selection.custom \ WindowAttr.custom \ Window.custom add_dist = include $(top_srcdir)/Makefile.include gtk-sharp-2.12.40/gdk/gdk-api.raw0000664000175000017500000075604212767740470013333 00000000000000 gtk-sharp-2.12.40/gdk/Pixmap.custom0000664000175000017500000000634112767740470013764 00000000000000// Gdk.Pixmap.custom - Pixmap extensions // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public Pixmap (Gdk.Drawable drawable, int width, int height) : this (drawable, width, height, -1) {} [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_pixmap_colormap_create_from_xpm (IntPtr drawable, IntPtr colormap, IntPtr mask, IntPtr transparent_color, IntPtr filename); public static Gdk.Pixmap ColormapCreateFromXpm(Gdk.Drawable drawable, Gdk.Colormap colormap, string filename) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (filename); IntPtr raw_ret = gdk_pixmap_colormap_create_from_xpm (drawable.Handle, colormap.Handle, IntPtr.Zero, IntPtr.Zero, native); GLib.Marshaller.Free (native); return GLib.Object.GetObject (raw_ret) as Gdk.Pixmap; } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_pixmap_colormap_create_from_xpm_d (IntPtr drawable, IntPtr colormap, IntPtr mask, IntPtr transparent_color, IntPtr data); public static Gdk.Pixmap ColormapCreateFromXpmD(Gdk.Drawable drawable, Gdk.Colormap colormap, string data) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (data); IntPtr raw_ret = gdk_pixmap_colormap_create_from_xpm_d (drawable.Handle, colormap.Handle, IntPtr.Zero, IntPtr.Zero, native); GLib.Marshaller.Free (native); return GLib.Object.GetObject (raw_ret) as Gdk.Pixmap; } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_pixmap_create_from_xpm (IntPtr drawable, IntPtr mask, IntPtr transparent_color, IntPtr filename); public static Gdk.Pixmap CreateFromXpm(Gdk.Drawable drawable, string filename) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (filename); IntPtr raw_ret = gdk_pixmap_create_from_xpm (drawable.Handle, IntPtr.Zero, IntPtr.Zero, native); GLib.Marshaller.Free (native); return GLib.Object.GetObject (raw_ret) as Gdk.Pixmap; } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_pixmap_create_from_xpm_d (IntPtr drawable, IntPtr mask, IntPtr transparent_color, IntPtr data); public static Gdk.Pixmap CreateFromXpmD(Gdk.Drawable drawable, string data) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (data); IntPtr raw_ret = gdk_pixmap_create_from_xpm_d (drawable.Handle, IntPtr.Zero, IntPtr.Zero, native); GLib.Marshaller.Free (native); return GLib.Object.GetObject (raw_ret) as Gdk.Pixmap; } gtk-sharp-2.12.40/gdk/PangoAttrEmbossColor.custom0000664000175000017500000000217312767740470016574 00000000000000// Gdk.PangoAttrEmbossColor.custom - Gdk PangoAttrEmbossColor class customizations // // Copyright (c) 2007 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public static explicit operator Pango.Attribute (PangoAttrEmbossColor attr) { return Pango.Attribute.GetAttribute (attr.Handle); } public static explicit operator PangoAttrEmbossColor (Pango.Attribute attr) { return new PangoAttrEmbossColor (attr.Handle); } gtk-sharp-2.12.40/gdk/Pixdata.custom0000664000175000017500000000216512767740470014120 00000000000000// Pixdata.Custom // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgdk_pixbuf-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_pixdata_serialize (ref Gdk.Pixdata raw, out uint len); public byte [] Serialize () { uint len; IntPtr raw_ret = gdk_pixdata_serialize (ref this, out len); byte [] data = new byte [len]; Marshal.Copy (raw_ret, data, 0, (int)len); GLib.Marshaller.Free (raw_ret); return data; } gtk-sharp-2.12.40/gdk/DisplayManager.custom0000664000175000017500000000234312767740470015424 00000000000000// DisplayManager.custom - customizations to Gdk.DisplayManager // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gdk_display_manager_list_displays (IntPtr raw); public Display[] ListDisplays () { IntPtr raw_ret = gdk_display_manager_list_displays (Handle); if (raw_ret == IntPtr.Zero) return new Display [0]; return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.SList), true, false); } gtk-sharp-2.12.40/gdk/EventFocus.cs0000664000175000017500000000233012767740470013674 00000000000000// Gdk.EventFocus.cs - Custom focus event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventFocus : Event { [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern short gtksharp_gdk_event_focus_get_in (IntPtr evt); public EventFocus (IntPtr raw) : base (raw) {} public bool In { get { return gtksharp_gdk_event_focus_get_in (Handle) == 0 ? false : true; } } } } gtk-sharp-2.12.40/gdk/EventKey.cs0000664000175000017500000000443412767740470013354 00000000000000// Gdk.EventKey.cs - Custom key event wrapper // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class EventKey : Event { [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_key_get_time (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_key_get_state (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint gtksharp_gdk_event_key_get_keyval (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern ushort gtksharp_gdk_event_key_get_hardware_keycode (IntPtr evt); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern byte gtksharp_gdk_event_key_get_group (IntPtr evt); public EventKey (IntPtr raw) : base (raw) {} public uint Time { get { return gtksharp_gdk_event_key_get_time (Handle); } } public ModifierType State { get { return (ModifierType) gtksharp_gdk_event_key_get_state (Handle); } } public Key Key { get { return (Key) gtksharp_gdk_event_key_get_keyval (Handle); } } public uint KeyValue { get { return gtksharp_gdk_event_key_get_keyval (Handle); } } public ushort HardwareKeycode { get { return gtksharp_gdk_event_key_get_hardware_keycode (Handle); } } public byte Group { get { return gtksharp_gdk_event_key_get_group (Handle); } } } } gtk-sharp-2.12.40/gdk/Gdk.metadata0000664000175000017500000005773712767740470013520 00000000000000 1 1 1 gboolean ref 1 true 1 1 1 false out out 1 CairoHelper 1 1 out out 1 EventHelper 1 1 const-gchar* 1 1 1 1 1 1 1 1 1 /api/namespace/class[@cname='GdkGlobal'] 1 NotifyStartupComplete PangoHelper 1 1 1 1 ref 1 1 1 async 1 1 AddIdle 1 AddTimeout 1 ReleaseMask | 0x1fff InputOutput InputOnly 1 CreateBitmapFromData /api/namespace/object[@cname='GdkPixmap'] 1 ref 1 1 ref 1 public public public public public public 1 1 1 1 1 1 1 GetSupportsComposite GetSupportsInputShapes GetSupportsShapes 1 DragProtocol 1 1 1 1 1 1 1 1 1 n_points 1 out gpointer ref private private 1 1 GdkPangoRenderer* 1 1 1 1 1 true 1 1 1 1 1 1 1 1 1 1 true 1 true true true 1 1 1 1 GdkDrawable out out 1 out out 1 1 out 1 1 1 1 1 1 1 GdkWindow* true true 1 GdkDrawable 1 1 1 1 out out out out out out 1 call 1 1 1 1 1 1 GetName 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 private 1 out 1 1 n_points call 1 false 128 1 true true guchar guchar guchar gtk-sharp-2.12.40/gdk/TextProperty.cs0000664000175000017500000000510312767740470014305 00000000000000// Gdk.Text.cs - Custom implementation for Text class // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gdk { using System; using System.Runtime.InteropServices; public class TextProperty { [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gdk_free_text_list(IntPtr ptr); [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int gdk_text_property_to_utf8_list(IntPtr encoding, int format, byte[] text, int length, out IntPtr list); public static string[] ToStringList (Gdk.Atom encoding, int format, byte[] text, int length) { IntPtr list_ptr; int count = gdk_text_property_to_utf8_list(encoding.Handle, format, text, length, out list_ptr); if (count == 0) return new string [0]; string[] result = new string [count]; for (int i = 0; i < count; i++) { IntPtr ptr = Marshal.ReadIntPtr (list_ptr, i * IntPtr.Size); result [i] = GLib.Marshaller.Utf8PtrToString (ptr); } gdk_free_text_list (list_ptr); return result; } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int gdk_text_property_to_utf8_list_for_display(IntPtr display, IntPtr encoding, int format, byte[] text, int length, out IntPtr list); public static string[] ToStringListForDisplay (Gdk.Display display, Gdk.Atom encoding, int format, byte[] text, int length) { IntPtr list_ptr; int count = gdk_text_property_to_utf8_list_for_display (display.Handle, encoding.Handle, format, text, length, out list_ptr); if (count == 0) return new string [0]; string[] result = new string [count]; for (int i = 0; i < count; i++) { IntPtr ptr = Marshal.ReadIntPtr (list_ptr, i * IntPtr.Size); result [i] = GLib.Marshaller.Utf8PtrToString (ptr); } gdk_free_text_list (list_ptr); return result; } } } gtk-sharp-2.12.40/gdk/Device.custom0000664000175000017500000000537112767740470013727 00000000000000// Device.custom - customizations to Gdk.Device // // Authors: Manuel V. Santos // // Copyright (c) 2004 Manuel V. Santos // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern DeviceAxis gtksharp_gdk_device_get_device_axis (IntPtr device, uint axis); [DllImport("gdksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern DeviceKey gtksharp_gdk_device_get_device_key (IntPtr device, uint axis); [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gdk_device_get_state(IntPtr device, IntPtr window, double [] axes, out int maskAsInt); public void GetState(Gdk.Window window, out double [] axes, out Gdk.ModifierType mask) { int maskAsInt; axes = new double [this.NumAxes]; gdk_device_get_state(Handle, window.Handle, axes, out maskAsInt); mask = (Gdk.ModifierType) maskAsInt; } public Gdk.DeviceAxis GetDeviceAxis (uint axis) { return gtksharp_gdk_device_get_device_axis (Handle, axis); } public Gdk.DeviceKey GetDeviceKey (uint axis) { return gtksharp_gdk_device_get_device_key (Handle, axis); } [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gdk_device_free_history(IntPtr events, int n_events); [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gdk_device_get_history(IntPtr device, IntPtr window, uint start, uint stop, out IntPtr events, out int n_events); public TimeCoord[] GetHistory (Gdk.Window window, uint start, uint stop) { IntPtr coords_handle; int count; if (gdk_device_get_history (Handle, window.Handle, start, stop, out coords_handle, out count)) { TimeCoord[] result = new TimeCoord [count]; for (int i = 0; i < count; i++) { IntPtr ptr = Marshal.ReadIntPtr (coords_handle, i + IntPtr.Size); result [i] = TimeCoord.New (ptr); } gdk_device_free_history (coords_handle, count); return result; } else return new TimeCoord [0]; } gtk-sharp-2.12.40/gdk/PixbufFrame.custom0000664000175000017500000000302312767740470014730 00000000000000// Gdk.PixbufFrame.custom - Gdk PixbufFrame class customizations // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Replaced by Pixbuf property.")] public Gdk.Pixbuf pixbuf { get { Gdk.Pixbuf ret = (Gdk.Pixbuf) GLib.Object.GetObject(_pixbuf); return ret; } set { _pixbuf = value.Handle; } } [Obsolete ("Replaced by Composited property.")] public Gdk.Pixbuf composited { get { Gdk.Pixbuf ret = (Gdk.Pixbuf) GLib.Object.GetObject(_composited); return ret; } set { _composited = value.Handle; } } [Obsolete ("Replaced by Revert property.")] public Gdk.Pixbuf revert { get { Gdk.Pixbuf ret = (Gdk.Pixbuf) GLib.Object.GetObject(_revert); return ret; } set { _revert = value.Handle; } } gtk-sharp-2.12.40/gdk/glue/0000775000175000017500000000000012767740534012303 500000000000000gtk-sharp-2.12.40/gdk/glue/dragcontext.c0000664000175000017500000000200712767740470014707 00000000000000/* dragcontext.c: Glue for accessing fields in a GdkDragContext. * * Author: Ettore Perazzoli * * Copyright (c) 2003 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include GList *gtksharp_drag_context_get_targets (GdkDragContext *context); GList * gtksharp_drag_context_get_targets (GdkDragContext *context) { return context->targets; } gtk-sharp-2.12.40/gdk/glue/win32dll.c0000775000175000017500000000044312767740470014030 00000000000000#define WIN32_LEAN_AND_MEAN #include #undef WIN32_LEAN_AND_MEAN #include BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) { return TRUE; } /* BOOL APIENTRY DllMainCRTStartup (HINSTANCE hInst, DWORD reason, LPVOID reserved) { return TRUE; } */ gtk-sharp-2.12.40/gdk/glue/Makefile.in0000664000175000017500000005413612767740506014300 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = gdk/glue ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(libdir)" LTLIBRARIES = $(lib_LTLIBRARIES) am__DEPENDENCIES_1 = libgdksharpglue_2_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am_libgdksharpglue_2_la_OBJECTS = dragcontext.lo device.lo event.lo \ selection.lo windowmanager.lo nodist_libgdksharpglue_2_la_OBJECTS = generated.lo libgdksharpglue_2_la_OBJECTS = $(am_libgdksharpglue_2_la_OBJECTS) \ $(nodist_libgdksharpglue_2_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = libgdksharpglue_2_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(AM_CFLAGS) $(CFLAGS) $(libgdksharpglue_2_la_LDFLAGS) \ $(LDFLAGS) -o $@ AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(libgdksharpglue_2_la_SOURCES) \ $(nodist_libgdksharpglue_2_la_SOURCES) DIST_SOURCES = $(libgdksharpglue_2_la_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ lib_LTLIBRARIES = libgdksharpglue-2.la libgdksharpglue_2_la_SOURCES = \ dragcontext.c \ device.c \ event.c \ selection.c \ vmglueheaders.h \ windowmanager.c nodist_libgdksharpglue_2_la_SOURCES = generated.c # Adding a new glue file? libgdksharpglue_2_la_LDFLAGS = -module -avoid-version -no-undefined libgdksharpglue_2_la_LIBADD = $(GTK_LIBS) INCLUDES = $(GTK_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir) CLEANFILES = lib*.a lib*.dll EXTRA_DIST = win32dll.c all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign gdk/glue/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign gdk/glue/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ list2=; for p in $$list; do \ if test -f $$p; then \ list2="$$list2 $$p"; \ else :; fi; \ done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ } uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ done clean-libLTLIBRARIES: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) @list='$(lib_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libgdksharpglue-2.la: $(libgdksharpglue_2_la_OBJECTS) $(libgdksharpglue_2_la_DEPENDENCIES) $(EXTRA_libgdksharpglue_2_la_DEPENDENCIES) $(AM_V_CCLD)$(libgdksharpglue_2_la_LINK) -rpath $(libdir) $(libgdksharpglue_2_la_OBJECTS) $(libgdksharpglue_2_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/device.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dragcontext.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/event.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/generated.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/selection.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/windowmanager.Plo@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) installdirs: for dir in "$(DESTDIR)$(libdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-libLTLIBRARIES install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-libLTLIBRARIES .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ clean-libLTLIBRARIES clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-compile distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-libLTLIBRARIES install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-am uninstall uninstall-am uninstall-libLTLIBRARIES .PRECIOUS: Makefile libgdksharpglue.dll: $(libgdksharpglue_2_la_OBJECTS) libgdksharpglue.rc libgdksharpglue.def ./build-dll libgdksharpglue-2 $(VERSION) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/gdk/glue/selection.c0000664000175000017500000000331212767740470014352 00000000000000/* selection.c : Glue to access GdkAtoms defined in gdkselection.h * * Author: Mike Kestner * * Copyright (c) 2003 Mike Kestner * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include GdkAtom gtksharp_get_gdk_selection_primary (void); GdkAtom gtksharp_get_gdk_selection_secondary (void); GdkAtom gtksharp_get_gdk_selection_clipboard (void); /* FIXME: These are still left to do #define GDK_TARGET_BITMAP #define GDK_TARGET_COLORMAP #define GDK_TARGET_DRAWABLE #define GDK_TARGET_PIXMAP #define GDK_TARGET_STRING #define GDK_SELECTION_TYPE_ATOM #define GDK_SELECTION_TYPE_BITMAP #define GDK_SELECTION_TYPE_COLORMAP #define GDK_SELECTION_TYPE_DRAWABLE #define GDK_SELECTION_TYPE_INTEGER #define GDK_SELECTION_TYPE_PIXMAP #define GDK_SELECTION_TYPE_WINDOW #define GDK_SELECTION_TYPE_STRING */ GdkAtom gtksharp_get_gdk_selection_primary () { return GDK_SELECTION_PRIMARY; } GdkAtom gtksharp_get_gdk_selection_secondary () { return GDK_SELECTION_SECONDARY; } GdkAtom gtksharp_get_gdk_selection_clipboard () { return GDK_SELECTION_CLIPBOARD; } gtk-sharp-2.12.40/gdk/glue/windowmanager.c0000664000175000017500000001610012767740470015226 00000000000000/* windowmanager.c : Glue to access the extended window * manager hints via the root window properties using * gdk_property_get () * * This work is based on the specification found here: * http://www.freedesktop.org/standards/wm-spec/ * * Author: Boyd Timothy * * Copyright (c) 2004 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include #include #include GList * gtksharp_get_gdk_net_supported (void); gpointer * gtksharp_get_gdk_net_client_list (int *count); gint gtksharp_get_gdk_net_number_of_desktops (void); gint gtksharp_get_gdk_net_current_desktop (void); guint gtksharp_get_gdk_net_active_window (void); GList * gtksharp_get_gdk_net_workarea (void); GList * gtksharp_get_gdk_net_supported (void) { GdkAtom actual_property_type; int actual_format; int actual_length; long *data = NULL; GList *list = NULL; int i; if (!gdk_property_get ( gdk_screen_get_root_window (gdk_screen_get_default ()), gdk_atom_intern ("_NET_SUPPORTED", FALSE), gdk_atom_intern ("ATOM", FALSE), 0, G_MAXLONG, FALSE, &actual_property_type, &actual_format, &actual_length, (guchar **) &data)) { gchar *actual_property_type_name; g_critical ("Unable to get _NET_SUPPORTED"); actual_property_type_name = gdk_atom_name (actual_property_type); if (actual_property_type_name) { g_message ("actual_property_type: %s", actual_property_type_name); g_free (actual_property_type_name); } return NULL; } /* Put all of the GdkAtoms into a GList to return */ for (i = 0; i < actual_length / sizeof (long); i ++) { list = g_list_append (list, (GdkAtom) data [i]); } g_free (data); return list; } gpointer * gtksharp_get_gdk_net_client_list (int *count) { GdkAtom actual_property_type; int actual_format; int actual_length; long *data = NULL; gpointer *list = NULL; int i; if (!gdk_property_get ( gdk_screen_get_root_window (gdk_screen_get_default ()), gdk_atom_intern ("_NET_CLIENT_LIST", FALSE), gdk_atom_intern ("WINDOW", FALSE), 0, G_MAXLONG, FALSE, &actual_property_type, &actual_format, &actual_length, (guchar **) &data)) { gchar *actual_property_type_name; g_critical ("Unable to get _NET_CLIENT_LIST"); actual_property_type_name = gdk_atom_name (actual_property_type); if (actual_property_type_name) { g_message ("actual_property_type: %s", actual_property_type_name); g_free (actual_property_type_name); } return NULL; } *count = actual_length / sizeof (long); list = g_malloc (*count * sizeof (gpointer)); /* Put all of the windows into a GList to return */ for (i = 0; i < *count; i ++) { list [i] = data [i]; g_message ("WinID: %d", list [i]); } g_free (data); return list; } gint gtksharp_get_gdk_net_number_of_desktops (void) { GdkAtom actual_property_type; int actual_format; int actual_length; long *data = NULL; gint num_of_desktops; if (!gdk_property_get ( gdk_screen_get_root_window (gdk_screen_get_default ()), gdk_atom_intern ("_NET_NUMBER_OF_DESKTOPS", FALSE), gdk_atom_intern ("CARDINAL", FALSE), 0, G_MAXLONG, FALSE, &actual_property_type, &actual_format, &actual_length, (guchar **) &data)) { gchar *actual_property_type_name; g_critical ("Unable to get _NET_NUMBER_OF_DESKTOPS"); actual_property_type_name = gdk_atom_name (actual_property_type); if (actual_property_type_name) { g_message ("actual_property_type: %s", actual_property_type_name); g_free (actual_property_type_name); } return -1; } num_of_desktops = (gint) data[0]; g_free (data); return num_of_desktops; } gint gtksharp_get_gdk_net_current_desktop (void) { GdkAtom actual_property_type; int actual_format; int actual_length; long *data = NULL; gint current_desktop; if (!gdk_property_get ( gdk_screen_get_root_window (gdk_screen_get_default ()), gdk_atom_intern ("_NET_CURRENT_DESKTOP", FALSE), gdk_atom_intern ("CARDINAL", FALSE), 0, G_MAXLONG, FALSE, &actual_property_type, &actual_format, &actual_length, (guchar **) &data)) { gchar *actual_property_type_name; g_critical ("Unable to get _NET_CURRENT_DESKTOP"); actual_property_type_name = gdk_atom_name (actual_property_type); if (actual_property_type_name) { g_message ("actual_property_type: %s", actual_property_type_name); g_free (actual_property_type_name); } return -1; } current_desktop = (gint) data[0]; g_free (data); return current_desktop; } guint gtksharp_get_gdk_net_active_window (void) { GdkAtom actual_property_type; int actual_format; int actual_length; long *data = NULL; guint windowID = 0; if (!gdk_property_get ( gdk_screen_get_root_window (gdk_screen_get_default ()), gdk_atom_intern ("_NET_ACTIVE_WINDOW", FALSE), gdk_atom_intern ("WINDOW", FALSE), 0, G_MAXLONG, FALSE, &actual_property_type, &actual_format, &actual_length, (guchar **) &data)) { gchar *actualPropertyTypeName; g_critical ("Unable to get _NET_ACTIVE_WINDOW"); actualPropertyTypeName = gdk_atom_name (actual_property_type); if (actualPropertyTypeName) { g_message ("actual_property_type: %s", actualPropertyTypeName); g_free(actualPropertyTypeName); } return -1; } windowID = (gint) data [0]; g_free (data); return windowID; } GList * gtksharp_get_gdk_net_workarea (void) { GdkAtom actual_property_type; int actual_format; int actual_length; long *data = NULL; int i = 0; GList *list = NULL; if (!gdk_property_get ( gdk_screen_get_root_window (gdk_screen_get_default ()), gdk_atom_intern ("_NET_WORKAREA", FALSE), gdk_atom_intern ("CARDINAL", FALSE), 0, G_MAXLONG, FALSE, &actual_property_type, &actual_format, &actual_length, (guchar **) &data)) { gchar *actualPropertyTypeName; g_critical ("Unable to get _NET_WORKAREA"); actualPropertyTypeName = gdk_atom_name (actual_property_type); if (actualPropertyTypeName) { g_message ("actual_property_type: %s", actualPropertyTypeName); g_free(actualPropertyTypeName); } return FALSE; } for (i = 0; i < actual_length / sizeof (long); i += 4) { GdkRectangle *rectangle = g_malloc(sizeof (GdkRectangle)); rectangle->x = (int) data [i]; rectangle->y = (int) data [i + 1]; rectangle->width = (int) data [i + 2]; rectangle->height = (int) data [i + 3]; list = g_list_append (list, rectangle); } if (data != NULL) g_free(data); return list; } gtk-sharp-2.12.40/gdk/glue/event.c0000664000175000017500000003233612767740470013516 00000000000000/* event.c : Glue to access fields in GdkEvent. * * Authors: Rachel Hestilow * Mike Kestner * * Copyright (c) 2002 Rachel Hestilow * Copyright (c) 2002 Mike Kestner * Copyright (c) 2004 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ GdkEventType gtksharp_gdk_event_get_event_type (GdkEvent *event); GdkWindow* gtksharp_gdk_event_get_window (GdkEventAny *event); gint8 gtksharp_gdk_event_get_send_event (GdkEventAny *event); guint32 gtksharp_gdk_event_key_get_time (GdkEventKey *event); guint gtksharp_gdk_event_key_get_state (GdkEventKey *event); guint gtksharp_gdk_event_key_get_keyval (GdkEventKey *event); guint16 gtksharp_gdk_event_key_get_hardware_keycode (GdkEventKey *event); guint8 gtksharp_gdk_event_key_get_group (GdkEventKey *event); guint32 gtksharp_gdk_event_button_get_time (GdkEventButton *event); guint gtksharp_gdk_event_button_get_state (GdkEventButton *event); guint gtksharp_gdk_event_button_get_button (GdkEventButton *event); gdouble gtksharp_gdk_event_button_get_x (GdkEventButton *event); gdouble gtksharp_gdk_event_button_get_y (GdkEventButton *event); gdouble gtksharp_gdk_event_button_get_x_root (GdkEventButton *event); gdouble gtksharp_gdk_event_button_get_y_root (GdkEventButton *event); gdouble* gtksharp_gdk_event_button_get_axes (GdkEventButton *event); GdkDevice* gtksharp_gdk_event_button_get_device (GdkEventButton *event); guint32 gtksharp_gdk_event_scroll_get_time (GdkEventScroll *event); guint gtksharp_gdk_event_scroll_get_state (GdkEventScroll *event); guint gtksharp_gdk_event_scroll_get_direction (GdkEventScroll *event); gdouble gtksharp_gdk_event_scroll_get_x (GdkEventScroll *event); gdouble gtksharp_gdk_event_scroll_get_y (GdkEventScroll *event); gdouble gtksharp_gdk_event_scroll_get_x_root (GdkEventScroll *event); gdouble gtksharp_gdk_event_scroll_get_y_root (GdkEventScroll *event); GdkDevice* gtksharp_gdk_event_scroll_get_device (GdkEventScroll *event); guint32 gtksharp_gdk_event_motion_get_time (GdkEventMotion *event); guint gtksharp_gdk_event_motion_get_state (GdkEventMotion *event); guint16 gtksharp_gdk_event_motion_get_is_hint (GdkEventMotion *event); gdouble gtksharp_gdk_event_motion_get_x (GdkEventMotion *event); gdouble gtksharp_gdk_event_motion_get_y (GdkEventMotion *event); gdouble gtksharp_gdk_event_motion_get_x_root (GdkEventMotion *event); gdouble gtksharp_gdk_event_motion_get_y_root (GdkEventMotion *event); gdouble* gtksharp_gdk_event_motion_get_axes (GdkEventMotion *event); GdkDevice* gtksharp_gdk_event_motion_get_device (GdkEventMotion *event); GdkRectangle* gtksharp_gdk_event_expose_get_area (GdkEventExpose *event); gint gtksharp_gdk_event_expose_get_count (GdkEventExpose *event); GdkRegion* gtksharp_gdk_event_expose_get_region (GdkEventExpose *event); GdkVisibilityState gtksharp_gdk_event_visibility_get_state (GdkEventVisibility *event); guint32 gtksharp_gdk_event_crossing_get_time (GdkEventCrossing *event); guint gtksharp_gdk_event_crossing_get_state (GdkEventCrossing *event); gboolean gtksharp_gdk_event_crossing_get_focus (GdkEventCrossing *event); gdouble gtksharp_gdk_event_crossing_get_x (GdkEventCrossing *event); gdouble gtksharp_gdk_event_crossing_get_y (GdkEventCrossing *event); gdouble gtksharp_gdk_event_crossing_get_x_root (GdkEventCrossing *event); gdouble gtksharp_gdk_event_crossing_get_y_root (GdkEventCrossing *event); GdkNotifyType gtksharp_gdk_event_crossing_get_detail (GdkEventCrossing *event); GdkCrossingMode gtksharp_gdk_event_crossing_get_mode (GdkEventCrossing *event); GdkWindow* gtksharp_gdk_event_crossing_get_subwindow (GdkEventCrossing *event); gint16 gtksharp_gdk_event_focus_get_in (GdkEventFocus *event); gint gtksharp_gdk_event_configure_get_x (GdkEventConfigure *event); gint gtksharp_gdk_event_configure_get_y (GdkEventConfigure *event); gint gtksharp_gdk_event_configure_get_width (GdkEventConfigure *event); gint gtksharp_gdk_event_configure_get_height (GdkEventConfigure *event); guint32 gtksharp_gdk_event_property_get_time (GdkEventProperty *event); GdkAtom gtksharp_gdk_event_property_get_atom (GdkEventProperty *event); guint gtksharp_gdk_event_property_get_state (GdkEventProperty *event); GdkNativeWindow gtksharp_gdk_event_selection_get_requestor (GdkEventSelection *event); GdkAtom gtksharp_gdk_event_selection_get_property (GdkEventSelection *event); GdkAtom gtksharp_gdk_event_selection_get_selection (GdkEventSelection *event); GdkAtom gtksharp_gdk_event_selection_get_target (GdkEventSelection *event); guint32 gtksharp_gdk_event_selection_get_time (GdkEventSelection *event); guint32 gtksharp_gdk_event_dnd_get_time (GdkEventDND *event); gshort gtksharp_gdk_event_dnd_get_x_root (GdkEventDND *event); gshort gtksharp_gdk_event_dnd_get_y_root (GdkEventDND *event); GdkDragContext* gtksharp_gdk_event_dnd_get_context (GdkEventDND *event); GdkDevice* gtksharp_gdk_event_proximity_get_device (GdkEventProximity *event); guint32 gtksharp_gdk_event_proximity_get_time (GdkEventProximity *event); GdkAtom gtksharp_gdk_event_client_get_message_type (GdkEventClient *event); gushort gtksharp_gdk_event_client_get_data_format (GdkEventClient *event); gpointer gtksharp_gdk_event_client_get_data (GdkEventClient *event); GdkWindowState gtksharp_gdk_event_window_state_get_changed_mask (GdkEventWindowState *event); GdkWindowState gtksharp_gdk_event_window_state_get_new_window_state (GdkEventWindowState *event); GdkSettingAction gtksharp_gdk_event_setting_get_action (GdkEventSetting *event); char* gtksharp_gdk_event_setting_get_name (GdkEventSetting *event); /* */ GdkEventType gtksharp_gdk_event_get_event_type (GdkEvent *event) { return event->type; } GdkWindow* gtksharp_gdk_event_get_window (GdkEventAny *event) { return event->window; } gint8 gtksharp_gdk_event_get_send_event (GdkEventAny *event) { return event->send_event; } guint32 gtksharp_gdk_event_key_get_time (GdkEventKey *event) { return event->time; } guint gtksharp_gdk_event_key_get_state (GdkEventKey *event) { return event->state; } guint gtksharp_gdk_event_key_get_keyval (GdkEventKey *event) { return event->keyval; } guint16 gtksharp_gdk_event_key_get_hardware_keycode (GdkEventKey *event) { return event->hardware_keycode; } guint8 gtksharp_gdk_event_key_get_group (GdkEventKey *event) { return event->group; } guint32 gtksharp_gdk_event_button_get_time (GdkEventButton *event) { return event->time; } guint gtksharp_gdk_event_button_get_state (GdkEventButton *event) { return event->state; } guint gtksharp_gdk_event_button_get_button (GdkEventButton *event) { return event->button; } GdkDevice* gtksharp_gdk_event_button_get_device (GdkEventButton *event) { return event->device; } gdouble gtksharp_gdk_event_button_get_x (GdkEventButton *event) { return event->x; } gdouble gtksharp_gdk_event_button_get_y (GdkEventButton *event) { return event->y; } gdouble gtksharp_gdk_event_button_get_x_root (GdkEventButton *event) { return event->x_root; } gdouble gtksharp_gdk_event_button_get_y_root (GdkEventButton *event) { return event->y_root; } gdouble* gtksharp_gdk_event_button_get_axes (GdkEventButton *event) { return event->axes; } guint32 gtksharp_gdk_event_scroll_get_time (GdkEventScroll *event) { return event->time; } guint gtksharp_gdk_event_scroll_get_state (GdkEventScroll *event) { return event->state; } GdkScrollDirection gtksharp_gdk_event_scroll_get_direction (GdkEventScroll *event) { return event->direction; } GdkDevice* gtksharp_gdk_event_scroll_get_device (GdkEventScroll *event) { return event->device; } gdouble gtksharp_gdk_event_scroll_get_x (GdkEventScroll *event) { return event->x; } gdouble gtksharp_gdk_event_scroll_get_y (GdkEventScroll *event) { return event->y; } gdouble gtksharp_gdk_event_scroll_get_x_root (GdkEventScroll *event) { return event->x_root; } gdouble gtksharp_gdk_event_scroll_get_y_root (GdkEventScroll *event) { return event->y_root; } guint32 gtksharp_gdk_event_motion_get_time (GdkEventMotion *event) { return event->time; } guint gtksharp_gdk_event_motion_get_state (GdkEventMotion *event) { return event->state; } guint16 gtksharp_gdk_event_motion_get_is_hint (GdkEventMotion *event) { return event->is_hint; } GdkDevice* gtksharp_gdk_event_motion_get_device (GdkEventMotion *event) { return event->device; } gdouble gtksharp_gdk_event_motion_get_x (GdkEventMotion *event) { return event->x; } gdouble gtksharp_gdk_event_motion_get_y (GdkEventMotion *event) { return event->y; } gdouble gtksharp_gdk_event_motion_get_x_root (GdkEventMotion *event) { return event->x_root; } gdouble gtksharp_gdk_event_motion_get_y_root (GdkEventMotion *event) { return event->y_root; } gdouble* gtksharp_gdk_event_motion_get_axes (GdkEventMotion *event) { return event->axes; } GdkRectangle* gtksharp_gdk_event_expose_get_area (GdkEventExpose *event) { return &event->area; } gint gtksharp_gdk_event_expose_get_count (GdkEventExpose *event) { return event->count; } GdkRegion* gtksharp_gdk_event_expose_get_region (GdkEventExpose *event) { return event->region; } GdkVisibilityState gtksharp_gdk_event_visibility_get_state (GdkEventVisibility *event) { return event->state; } gdouble gtksharp_gdk_event_crossing_get_x (GdkEventCrossing *event) { return event->x; } gdouble gtksharp_gdk_event_crossing_get_y (GdkEventCrossing *event) { return event->y; } gdouble gtksharp_gdk_event_crossing_get_x_root (GdkEventCrossing *event) { return event->x_root; } gdouble gtksharp_gdk_event_crossing_get_y_root (GdkEventCrossing *event) { return event->y_root; } guint32 gtksharp_gdk_event_crossing_get_time (GdkEventCrossing *event) { return event->time; } guint gtksharp_gdk_event_crossing_get_state (GdkEventCrossing *event) { return event->state; } gboolean gtksharp_gdk_event_crossing_get_focus (GdkEventCrossing *event) { return event->focus; } GdkWindow* gtksharp_gdk_event_crossing_get_subwindow (GdkEventCrossing *event) { return event->subwindow; } GdkCrossingMode gtksharp_gdk_event_crossing_get_mode (GdkEventCrossing *event) { return event->mode; } GdkNotifyType gtksharp_gdk_event_crossing_get_detail (GdkEventCrossing *event) { return event->detail; } gint16 gtksharp_gdk_event_focus_get_in (GdkEventFocus *event) { return event->in; } gint gtksharp_gdk_event_configure_get_x (GdkEventConfigure *event) { return event->x; } gint gtksharp_gdk_event_configure_get_y (GdkEventConfigure *event) { return event->y; } gint gtksharp_gdk_event_configure_get_width (GdkEventConfigure *event) { return event->width; } gint gtksharp_gdk_event_configure_get_height (GdkEventConfigure *event) { return event->height; } guint32 gtksharp_gdk_event_property_get_time (GdkEventProperty *event) { return event->time; } GdkAtom gtksharp_gdk_event_property_get_atom (GdkEventProperty *event) { return event->atom; } guint gtksharp_gdk_event_property_get_state (GdkEventProperty *event) { return event->state; } GdkNativeWindow gtksharp_gdk_event_selection_get_requestor (GdkEventSelection *event) { return event->requestor; } GdkAtom gtksharp_gdk_event_selection_get_property (GdkEventSelection *event) { return event->property; } GdkAtom gtksharp_gdk_event_selection_get_selection (GdkEventSelection *event) { return event->selection; } GdkAtom gtksharp_gdk_event_selection_get_target (GdkEventSelection *event) { return event->target; } guint32 gtksharp_gdk_event_selection_get_time (GdkEventSelection *event) { return event->time; } GdkDragContext* gtksharp_gdk_event_dnd_get_context (GdkEventDND *event) { return event->context; } gshort gtksharp_gdk_event_dnd_get_x_root (GdkEventDND *event) { return event->x_root; } gshort gtksharp_gdk_event_dnd_get_y_root (GdkEventDND *event) { return event->y_root; } guint32 gtksharp_gdk_event_dnd_get_time (GdkEventDND *event) { return event->time; } GdkDevice* gtksharp_gdk_event_proximity_get_device (GdkEventProximity *event) { return event->device; } guint32 gtksharp_gdk_event_proximity_get_time (GdkEventProximity *event) { return event->time; } GdkAtom gtksharp_gdk_event_client_get_message_type (GdkEventClient *event) { return event->message_type; } gushort gtksharp_gdk_event_client_get_data_format (GdkEventClient *event) { return event->data_format; } gpointer gtksharp_gdk_event_client_get_data (GdkEventClient *event) { return &event->data; } GdkWindowState gtksharp_gdk_event_window_state_get_changed_mask (GdkEventWindowState *event) { return event->changed_mask; } GdkWindowState gtksharp_gdk_event_window_state_get_new_window_state (GdkEventWindowState *event) { return event->new_window_state; } GdkSettingAction gtksharp_gdk_event_setting_get_action (GdkEventSetting *event) { return event->action; } char* gtksharp_gdk_event_setting_get_name (GdkEventSetting *event) { return event->name; } gtk-sharp-2.12.40/gdk/glue/vmglueheaders.h0000664000175000017500000000011112767740470015217 00000000000000/* Headers for virtual method glue compilation */ #include gtk-sharp-2.12.40/gdk/glue/Makefile.am0000664000175000017500000000115412767740470014257 00000000000000lib_LTLIBRARIES = libgdksharpglue-2.la libgdksharpglue_2_la_SOURCES = \ dragcontext.c \ device.c \ event.c \ selection.c \ vmglueheaders.h \ windowmanager.c nodist_libgdksharpglue_2_la_SOURCES = generated.c # Adding a new glue file? libgdksharpglue_2_la_LDFLAGS = -module -avoid-version -no-undefined libgdksharpglue_2_la_LIBADD = $(GTK_LIBS) INCLUDES = $(GTK_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir) libgdksharpglue.dll: $(libgdksharpglue_2_la_OBJECTS) libgdksharpglue.rc libgdksharpglue.def ./build-dll libgdksharpglue-2 $(VERSION) CLEANFILES = lib*.a lib*.dll EXTRA_DIST = win32dll.c gtk-sharp-2.12.40/gdk/glue/device.c0000664000175000017500000000234312767740470013627 00000000000000/* device.c : Glue to access fields in GdkDevice. * * Author: Manuel V. Santos * * Copyright (c) Manuel V. Santos * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ GdkDeviceAxis gtksharp_gdk_device_get_device_axis (GdkDevice *device, guint i); GdkDeviceKey gtksharp_gdk_device_get_device_key (GdkDevice *device, guint i); GdkDeviceAxis gtksharp_gdk_device_get_device_axis (GdkDevice *device, guint i) { return device->axes[i]; } GdkDeviceKey gtksharp_gdk_device_get_device_key (GdkDevice *device, guint i) { return device->keys[i]; } gtk-sharp-2.12.40/gdk/Region.custom0000664000175000017500000000310612767740470013745 00000000000000// Gdk.Region.custom - Gdk Region class customizations // // Author: Joshua Tauberer // // Copyright (c) 2004 Joshua Tauberer // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_free (IntPtr mem); [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gdk_region_get_rectangles(IntPtr raw, out IntPtr rectangles, out int n_rectangles); public Rectangle[] GetRectangles () { int n; IntPtr rectangles; gdk_region_get_rectangles(Handle, out rectangles, out n); Rectangle[] ret = new Rectangle[n]; int step = Marshal.SizeOf(typeof(Rectangle)); long ptr = (long)rectangles; for (int i = 0; i < n; i++) { ret[i] = (Rectangle)Marshal.PtrToStructure((IntPtr)ptr, typeof(Rectangle)); ptr += step; } g_free(rectangles); return ret; } gtk-sharp-2.12.40/mono.snk0000664000175000017500000000112412767740470012204 00000000000000$RSA2yw:kz.tѯ̓t+,4GM$G~hSoNF^՗.m6p/ MHֱ/F_I.d/^d%F+=QТY_z{ is9~ \@9Ogtk-sharp-2.12.40/policy.config.in0000664000175000017500000000056512654353766013625 00000000000000 gtk-sharp-2.12.40/gtk/0000775000175000017500000000000012767740535011370 500000000000000gtk-sharp-2.12.40/gtk/ItemFactory.custom0000664000175000017500000000335612767740470014777 00000000000000// Gtk.ItemFactory.custom - Gtk ItemFactory class customizations // // Author: Mike Kestner // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_item_factory_new(IntPtr container_type, IntPtr path, IntPtr accel_group); public ItemFactory (GLib.GType container_type, string path, Gtk.AccelGroup accel_group) : base (IntPtr.Zero) { if (GetType () != typeof (ItemFactory)) { CreateNativeObject (new IntPtr [0], new GLib.Value [0], 0); Construct (container_type, path, accel_group); return; } IntPtr native = GLib.Marshaller.StringToPtrGStrdup (path); Raw = gtk_item_factory_new(container_type.Val, native, (accel_group != null) ? accel_group.Handle : IntPtr.Zero); GLib.Marshaller.Free (native); } [Obsolete ("Replaced by TranslateFunc property.")] public void SetTranslateFunc (TranslateFunc func, IntPtr data, DestroyNotify notify) { TranslateFunc = func; } gtk-sharp-2.12.40/gtk/ITreeNode.cs0000664000175000017500000000250112654353766013454 00000000000000// ITreeNode.cs - Interface and delegates for tree node navigation and updating. // // Author: Mike Kestner // // Copyright (c) 2003 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; public delegate void TreeNodeAddedHandler (object o, ITreeNode child); public delegate void TreeNodeRemovedHandler (object o, ITreeNode child, int old_position); public interface ITreeNode { int ID { get; } ITreeNode Parent { get; } int ChildCount { get; } ITreeNode this [int index] { get; } int IndexOf (object o); event EventHandler Changed; event TreeNodeAddedHandler ChildAdded; event TreeNodeRemovedHandler ChildRemoved; } } gtk-sharp-2.12.40/gtk/StatusIcon.custom0000664000175000017500000000657112767740470014647 00000000000000// StatusIcon.custom - customizations to Gtk.StatusIcon // // Authors: Mike Kestner // Authors: Stephane Delcroix // // Copyright (c) 2007-2008 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Replaced by (out Screen, out Rectangle, out Orientation) overload")] public bool GetGeometry (Gdk.Screen screen, Gdk.Rectangle area, out Orientation orientation) { Gdk.Screen junk; return GetGeometry (out junk, out area, out orientation); } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_gtk_status_icon_present_menu (IntPtr raw, IntPtr menu, uint button, uint activate_time); public void PresentMenu (Menu menu, uint button, uint activate_time) { gtksharp_gtk_status_icon_present_menu (Handle, menu == null ? IntPtr.Zero : menu.Handle, button, activate_time); } [Obsolete ("use the File property instead")] public string FromFile { set { IntPtr native_value = GLib.Marshaller.StringToPtrGStrdup (value); gtk_status_icon_set_from_file(Handle, native_value); GLib.Marshaller.Free (native_value); } } [Obsolete ("use the IconName property instead")] public string FromIconName { set { IntPtr native_value = GLib.Marshaller.StringToPtrGStrdup (value); gtk_status_icon_set_from_icon_name(Handle, native_value); GLib.Marshaller.Free (native_value); } } [Obsolete ("use the Pixbuf property instead")] public Gdk.Pixbuf FromPixbuf { set { gtk_status_icon_set_from_pixbuf(Handle, value == null ? IntPtr.Zero : value.Handle); } } [Obsolete ("use the Stock property instead")] public string FromStock { set { IntPtr native_value = GLib.Marshaller.StringToPtrGStrdup (value); gtk_status_icon_set_from_stock(Handle, native_value); GLib.Marshaller.Free (native_value); } } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool gtk_status_icon_get_geometry(IntPtr raw, out IntPtr screen, IntPtr area, out int orientation); public bool GetGeometry(out Gdk.Screen screen, out Gdk.Rectangle area, out Gtk.Orientation orientation) { IntPtr native_screen; IntPtr native_area = Marshal.AllocHGlobal (Marshal.SizeOf (typeof (Gdk.Rectangle))); int native_orientation; bool ret = gtk_status_icon_get_geometry(Handle, out native_screen, native_area, out native_orientation); if (ret) { screen = GLib.Object.GetObject(native_screen) as Gdk.Screen; area = Gdk.Rectangle.New (native_area); orientation = (Gtk.Orientation) native_orientation; } else { screen = null; area = Gdk.Rectangle.Zero; orientation = Gtk.Orientation.Horizontal; } Marshal.FreeHGlobal (native_area); return ret; } gtk-sharp-2.12.40/gtk/Application.cs0000664000175000017500000001403712767740470014105 00000000000000// GTK.Application.cs - GTK Main Event Loop class implementation // // Author: Mike Kestner // // Copyright (c) 2001 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; using System.Reflection; using System.Runtime.InteropServices; using Gdk; public class Application { // // Disables creation of instances. // private Application () { } const int WS_EX_TOOLWINDOW = 0x00000080; const int WS_OVERLAPPEDWINDOW = 0x00CF0000; [DllImport ("user32.dll", EntryPoint="CreateWindowExW", CharSet=CharSet.Unicode, CallingConvention=CallingConvention.StdCall)] static extern IntPtr Win32CreateWindow (int dwExStyle, string lpClassName, string lpWindowName,int dwStyle, int x, int y, int nWidth, int nHeight, IntPtr hWndParent, IntPtr hMenu, IntPtr hInstance, IntPtr lParam); [DllImport ("user32.dll", EntryPoint="DestroyWindow", CharSet=CharSet.Unicode, CallingConvention=CallingConvention.StdCall)] static extern bool Win32DestroyWindow (IntPtr window); static Application () { if (!GLib.Thread.Supported) GLib.Thread.Init (); switch (Environment.OSVersion.Platform) { case PlatformID.Win32NT: case PlatformID.Win32S: case PlatformID.Win32Windows: case PlatformID.WinCE: // No idea why we need to create that window, but it enables visual styles on the Windows platform IntPtr window = Win32CreateWindow (WS_EX_TOOLWINDOW, "static", "gtk-sharp visual styles window", WS_OVERLAPPEDWINDOW, 0, 0, 0, 0, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero); Win32DestroyWindow (window); break; default: break; } } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_init (ref int argc, ref IntPtr argv); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_init_check (ref int argc, ref IntPtr argv); static void SetPrgname () { GLib.Global.ProgramName = System.IO.Path.GetFileNameWithoutExtension (Environment.GetCommandLineArgs () [0]); } public static void Init () { SetPrgname (); IntPtr argv = new IntPtr(0); int argc = 0; gtk_init (ref argc, ref argv); } static bool do_init (string progname, ref string[] args, bool check) { SetPrgname (); bool res = false; string[] progargs = new string[args.Length + 1]; progargs[0] = progname; args.CopyTo (progargs, 1); GLib.Argv argv = new GLib.Argv (progargs); IntPtr buf = argv.Handle; int argc = progargs.Length; if (check) res = gtk_init_check (ref argc, ref buf); else gtk_init (ref argc, ref buf); if (buf != argv.Handle) throw new Exception ("init returned new argv handle"); // copy back the resulting argv, minus argv[0], which we're // not interested in. if (argc <= 1) args = new string[0]; else { progargs = argv.GetArgs (argc); args = new string[argc - 1]; Array.Copy (progargs, 1, args, 0, argc - 1); } return res; } public static void Init (string progname, ref string[] args) { do_init (progname, ref args, false); } public static bool InitCheck (string progname, ref string[] args) { return do_init (progname, ref args, true); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_main (); public static void Run () { gtk_main (); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_events_pending (); public static bool EventsPending () { return gtk_events_pending (); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_main_iteration (); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_main_iteration_do (bool blocking); public static void RunIteration () { gtk_main_iteration (); } public static bool RunIteration (bool blocking) { return gtk_main_iteration_do (blocking); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_main_quit (); public static void Quit () { gtk_main_quit (); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_get_current_event (); [DllImport ("libgdk-win32-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gdk_event_free (IntPtr raw); public static Gdk.Event CurrentEvent { get { var raw_ret = gtk_get_current_event (); var ret = Gdk.Event.GetEvent (raw_ret); gdk_event_free (raw_ret); return ret; } } internal class InvokeCB { EventHandler d; object sender; EventArgs args; internal InvokeCB (EventHandler d) { this.d = d; args = EventArgs.Empty; sender = this; } internal InvokeCB (EventHandler d, object sender, EventArgs args) { this.d = d; this.args = args; this.sender = sender; } internal bool Invoke () { d (sender, args); return false; } } public static void Invoke (EventHandler d) { InvokeCB icb = new InvokeCB (d); GLib.Timeout.Add (0, new GLib.TimeoutHandler (icb.Invoke)); } public static void Invoke (object sender, EventArgs args, EventHandler d) { InvokeCB icb = new InvokeCB (d, sender, args); GLib.Timeout.Add (0, new GLib.TimeoutHandler (icb.Invoke)); } } } gtk-sharp-2.12.40/gtk/Button.custom0000664000175000017500000000317212767740470014020 00000000000000// Gtk.Button.custom - Gtk Button class customizations // // Author: Mike Kestner // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_button_new_from_stock(IntPtr stock_id); public Button (string stock_id) : base (IntPtr.Zero) { if (GetType () != typeof (Button)) { GLib.Value[] vals = new GLib.Value [2]; var names = new IntPtr [2]; names [0] = GLib.Marshaller.StringToPtrGStrdup ("label"); vals [0] = new GLib.Value (stock_id); names [1] = GLib.Marshaller.StringToPtrGStrdup ("use_stock"); vals [1] = new GLib.Value (true); CreateNativeObject (names, vals, 2); return; } IntPtr native = GLib.Marshaller.StringToPtrGStrdup (stock_id); Raw = gtk_button_new_from_stock (native); GLib.Marshaller.Free (native); } public Button (Widget widget) : this () { Add (widget); } gtk-sharp-2.12.40/gtk/HScale.custom0000664000175000017500000000302312767740470013677 00000000000000// Gtk.HScale.custom - Gtk HScale class customizations // // Author: Mike Kestner // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_hscale_new_with_range (double min, double max, double step); public HScale (double min, double max, double step) : base (IntPtr.Zero) { if (GetType() != typeof (HScale)) { Adjustment adj = new Adjustment (min, min, max, step, 10 * step, 0); var names = new IntPtr [1]; GLib.Value[] vals = new GLib.Value [1]; names [0] = GLib.Marshaller.StringToPtrGStrdup ("adjustment"); vals [0] = new GLib.Value (adj); CreateNativeObject (names, vals, 1); return; } Raw = gtk_hscale_new_with_range (min, max, step); } gtk-sharp-2.12.40/gtk/Frame.custom0000664000175000017500000000170312767740470013575 00000000000000 // // Gtk.ScrolledWindow.custom - Gtk ScrolledWindow class customizations // // Author: Radek Doulik (rodo@ximian.com) // // Copyright (C) 2002 Ximian, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public Frame() : this (null) {} gtk-sharp-2.12.40/gtk/Bin.custom0000664000175000017500000000255012767740470013254 00000000000000// Gtk.Bin.custom - Gtk Bin class customizations // // Author: Mike Kestner // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_bin_get_child(IntPtr raw); public new Gtk.Widget Child { get { IntPtr raw_ret = gtk_bin_get_child(Handle); Gtk.Widget ret; if (raw_ret == IntPtr.Zero) ret = null; else ret = (Gtk.Widget) GLib.Object.GetObject(raw_ret); return ret; } set { GLib.Value val = new GLib.Value(value); SetProperty("child", val); val.Dispose (); } } gtk-sharp-2.12.40/gtk/Init.custom0000664000175000017500000000176612767740470013457 00000000000000// Gtk.Init.custom - Gtk Init class customizations // // Author: Mike Kestner // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public static bool Check (ref string[] argv) { return Application.InitCheck (Environment.CommandLine, ref argv); } gtk-sharp-2.12.40/gtk/TreeModelSort.custom0000664000175000017500000001655012767740470015301 00000000000000// Gtk.TreeModelSort.Custom - Gtk TreeModelSort class customizations // // Author: Kristian Rietveld // // Copyright (c) 2002 Kristian Rietveld // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_tree_model_iter_children (IntPtr raw, out Gtk.TreeIter iter, IntPtr parent); public bool IterChildren (out Gtk.TreeIter iter) { bool raw_ret = gtk_tree_model_iter_children (Handle, out iter, IntPtr.Zero); bool ret = raw_ret; return ret; } public int IterNChildren () { int raw_ret = gtk_tree_model_iter_n_children (Handle, IntPtr.Zero); int ret = raw_ret; return ret; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_tree_model_iter_nth_child (IntPtr raw, out Gtk.TreeIter iter, IntPtr parent, int n); public bool IterNthChild (out Gtk.TreeIter iter, int n) { bool raw_ret = gtk_tree_model_iter_nth_child (Handle, out iter, IntPtr.Zero, n); bool ret = raw_ret; return ret; } public void SetValue (Gtk.TreeIter iter, int column, bool value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, double value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, int value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, string value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, float value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, uint value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, object value) { throw new NotImplementedException (); } public Gtk.TreeIter AppendValues (params object[] values) { return AppendValues ((Array) values); } public object GetValue (Gtk.TreeIter iter, int column) { GLib.Value val = GLib.Value.Empty; GetValue (iter, column, ref val); object ret = val.Val; val.Dispose (); return ret; } [Obsolete ("Replaced by SetSortFunc (int, TreeIterCompareFunc) overload.")] public void SetSortFunc (int sort_column_id, TreeIterCompareFunc sort_func, IntPtr user_data, Gtk.DestroyNotify destroy) { SetSortFunc (sort_column_id, sort_func); } [Obsolete ("Replaced by DefaultSortFunc property.")] public void SetDefaultSortFunc (TreeIterCompareFunc sort_func, IntPtr user_data, Gtk.DestroyNotify destroy) { DefaultSortFunc = sort_func; } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void RowsReorderedSignalDelegate (IntPtr arg0, IntPtr arg1, IntPtr arg2, IntPtr arg3, IntPtr gch); static void RowsReorderedSignalCallback (IntPtr arg0, IntPtr arg1, IntPtr arg2, IntPtr arg3, IntPtr gch) { Gtk.RowsReorderedArgs args = new Gtk.RowsReorderedArgs (); try { GLib.Signal sig = ((GCHandle) gch).Target as GLib.Signal; if (sig == null) throw new Exception("Unknown signal GC handle received " + gch); TreeModelSort sender = GLib.Object.GetObject (arg0) as TreeModelSort; args.Args = new object[3]; args.Args[0] = arg1 == IntPtr.Zero ? null : (Gtk.TreePath) GLib.Opaque.GetOpaque (arg1, typeof (Gtk.TreePath), false); args.Args[1] = Gtk.TreeIter.New (arg2); int child_cnt = arg2 == IntPtr.Zero ? sender.IterNChildren () : sender.IterNChildren ((TreeIter)args.Args[1]); int[] new_order = new int [child_cnt]; Marshal.Copy (arg3, new_order, 0, child_cnt); args.Args[2] = new_order; Gtk.RowsReorderedHandler handler = (Gtk.RowsReorderedHandler) sig.Handler; handler (sender, args); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void RowsReorderedVMDelegate (IntPtr tree_model, IntPtr path, IntPtr iter, IntPtr new_order); static RowsReorderedVMDelegate RowsReorderedVMCallback; static void rowsreordered_cb (IntPtr tree_model, IntPtr path_ptr, IntPtr iter_ptr, IntPtr new_order) { try { TreeModelSort store = GLib.Object.GetObject (tree_model, false) as TreeModelSort; TreePath path = GLib.Opaque.GetOpaque (path_ptr, typeof (TreePath), false) as TreePath; TreeIter iter = TreeIter.New (iter_ptr); int child_cnt = store.IterNChildren (iter); int[] child_order = new int [child_cnt]; Marshal.Copy (new_order, child_order, 0, child_cnt); store.OnRowsReordered (path, iter, child_order); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call doesn't return throw e; } } private static void OverrideRowsReordered (GLib.GType gtype) { if (RowsReorderedVMCallback == null) RowsReorderedVMCallback = new RowsReorderedVMDelegate (rowsreordered_cb); OverrideVirtualMethod (gtype, "rows_reordered", RowsReorderedVMCallback); } [Obsolete ("Replaced by int[] new_order overload.")] [GLib.DefaultSignalHandler(Type=typeof(Gtk.TreeModelSort), ConnectionMethod="OverrideRowsReordered")] protected virtual void OnRowsReordered (Gtk.TreePath path, Gtk.TreeIter iter, out int new_order) { new_order = -1; } [GLib.DefaultSignalHandler(Type=typeof(Gtk.TreeModelSort), ConnectionMethod="OverrideRowsReordered")] protected virtual void OnRowsReordered (Gtk.TreePath path, Gtk.TreeIter iter, int[] new_order) { int dummy; OnRowsReordered (path, iter, out dummy); GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (4); using (var val0 = new GLib.Value (this)) { inst_and_params.Append (val0); using (var val1 = new GLib.Value (path)) { inst_and_params.Append (val1); using (var val2 = new GLib.Value (iter)) { inst_and_params.Append (val2); int cnt = IterNChildren (iter); IntPtr new_order_ptr = Marshal.AllocHGlobal (sizeof (int) * cnt); Marshal.Copy (new_order, 0, new_order_ptr, cnt); using (var val3 = new GLib.Value (new_order_ptr)) { inst_and_params.Append (val3); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); Marshal.FreeHGlobal (new_order_ptr); } } } } } [GLib.Signal("rows_reordered")] public event Gtk.RowsReorderedHandler RowsReordered { add { GLib.Signal sig = GLib.Signal.Lookup (this, "rows_reordered", new RowsReorderedSignalDelegate(RowsReorderedSignalCallback)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (this, "rows_reordered", new RowsReorderedSignalDelegate(RowsReorderedSignalCallback)); sig.RemoveDelegate (value); } } gtk-sharp-2.12.40/gtk/TreeView.custom0000664000175000017500000001537612767740470014310 00000000000000// Gtk.TreeView.Custom - Gtk TreeView class customizations // // Authors: // Kristian Rietveld // Gonzalo Paniagua Javier (gonzalo@ximian.com) // // Copyright (c) 2002 Kristian Rietveld // Copyright (c) 2003 Ximian, Inc. (http://www.ximian.com) // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr gtk_tree_view_get_model(IntPtr raw); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gtk_tree_view_set_model(IntPtr raw, IntPtr model); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_object_unref (IntPtr raw); [GLib.Property ("model")] public Gtk.TreeModel Model { get { IntPtr raw_ret = gtk_tree_view_get_model(Handle); Gtk.TreeModel ret = Gtk.TreeModelAdapter.GetObject (raw_ret, false); return ret; } set { var storeHandle = value == null ? IntPtr.Zero : value.Handle; gtk_tree_view_set_model(Handle, storeHandle); if (storeHandle != IntPtr.Zero) g_object_unref (storeHandle); } } [Obsolete ("Use NodeView with NodeStores")] public TreeView (NodeStore store) : base (IntPtr.Zero) { if (GetType() != typeof (TreeView)) { var names = new IntPtr[1]; GLib.Value[] vals = new GLib.Value [1]; names [0] = GLib.Marshaller.StringToPtrGStrdup ("model"); vals [0] = new GLib.Value (store); CreateNativeObject (names, vals, 1); return; } Raw = gtk_tree_view_new_with_model (store.Handle); } public Gdk.Color OddRowColor { get { GLib.Value value = StyleGetPropertyValue ("odd-row-color"); Gdk.Color ret = (Gdk.Color)value; value.Dispose (); return ret; } } public Gdk.Color EvenRowColor { get { GLib.Value value = StyleGetPropertyValue ("even-row-color"); Gdk.Color ret = (Gdk.Color)value; value.Dispose (); return ret; } } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_tree_view_get_path_at_pos (IntPtr raw, int x, int y, out IntPtr path, out IntPtr column, out int cell_x, out int cell_y); [DllImport("libgtk-win32-2.0-0.dll", EntryPoint="gtk_tree_view_get_path_at_pos", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_tree_view_get_path_at_pos_intptr (IntPtr raw, int x, int y, out IntPtr path, out IntPtr column, IntPtr cell_x, IntPtr cell_y); public bool GetPathAtPos (int x, int y, out Gtk.TreePath path, out Gtk.TreeViewColumn column, out int cell_x, out int cell_y) { IntPtr pathHandle; IntPtr columnHandle; bool raw_ret = gtk_tree_view_get_path_at_pos (Handle, x, y, out pathHandle, out columnHandle, out cell_x, out cell_y); if (raw_ret) { column = (Gtk.TreeViewColumn) GLib.Object.GetObject (columnHandle, false); path = (Gtk.TreePath) GLib.Opaque.GetOpaque (pathHandle, typeof (Gtk.TreePath), true); } else { path = null; column = null; } return raw_ret; } public bool GetPathAtPos (int x, int y, out Gtk.TreePath path) { IntPtr pathHandle; IntPtr columnHandle; bool raw_ret = gtk_tree_view_get_path_at_pos_intptr (Handle, x, y, out pathHandle, out columnHandle, IntPtr.Zero, IntPtr.Zero); if (raw_ret) path = (Gtk.TreePath) GLib.Opaque.GetOpaque (pathHandle, typeof (Gtk.TreePath), true); else path = null; return raw_ret; } public bool GetPathAtPos (int x, int y, out Gtk.TreePath path, out Gtk.TreeViewColumn column) { IntPtr pathHandle; IntPtr columnHandle; bool raw_ret = gtk_tree_view_get_path_at_pos_intptr (Handle, x, y, out pathHandle, out columnHandle, IntPtr.Zero, IntPtr.Zero); if (raw_ret) { path = (Gtk.TreePath) GLib.Opaque.GetOpaque (pathHandle, typeof (Gtk.TreePath), true); column = (Gtk.TreeViewColumn) GLib.Object.GetObject (columnHandle, false); } else { path = null; column = null; } return raw_ret; } public TreeViewColumn AppendColumn (string title, CellRenderer cell, TreeCellDataFunc cell_data) { Gtk.TreeViewColumn col = new Gtk.TreeViewColumn (); col.Title = title; col.PackStart (cell, true); col.SetCellDataFunc (cell, cell_data); AppendColumn (col); return col; } public TreeViewColumn AppendColumn (string title, CellRenderer cell, CellLayoutDataFunc cell_data) { Gtk.TreeViewColumn col = new Gtk.TreeViewColumn (); col.Title = title; col.PackStart (cell, true); col.SetCellDataFunc (cell, cell_data); AppendColumn (col); return col; } public Gtk.TreeViewColumn AppendColumn (string title, Gtk.CellRenderer cell, params object[] attrs) { Gtk.TreeViewColumn col = new Gtk.TreeViewColumn (title, cell, attrs); AppendColumn (col); return col; } public int InsertColumn (int pos, string title, CellRenderer cell, CellLayoutDataFunc cell_data) { TreeViewColumn col = new TreeViewColumn (); col.Title = title; col.PackStart (cell, true); col.SetCellDataFunc (cell, cell_data); return InsertColumn (col, pos); } public int InsertColumn (int pos, string title, CellRenderer cell, params object[] attrs) { TreeViewColumn col = new TreeViewColumn (title, cell, attrs); return InsertColumn (col, pos); } [Obsolete ("Replaced by SearchEqualFunc property.")] public void SetSearchEqualFunc (TreeViewSearchEqualFunc search_equal_func, IntPtr search_user_data, DestroyNotify search_destroy) { SearchEqualFunc = search_equal_func; } [Obsolete ("Replaced by DestroyCountFunc property.")] public void SetDestroyCountFunc (TreeDestroyCountFunc func, IntPtr data, DestroyNotify destroy) { DestroyCountFunc = func; } [Obsolete ("Replaced by ColumnDragFunction property.")] public void SetColumnDragFunction (TreeViewColumnDropFunc func, IntPtr user_data, DestroyNotify destroy) { ColumnDragFunction = func; } [Obsolete ("Replaced by VisibleRect property.")] public void GetVisibleRect(Gdk.Rectangle visible_rect) { ; } gtk-sharp-2.12.40/gtk/CellRendererToggle.custom0000664000175000017500000000354512767740470016261 00000000000000// // CellRendererToggle.custom - Gtk CellRendererToggle class customizations // // Author: Peter Johanson // // Copyright (C) 2007 Peter Johanson // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public override void GetSize (Gtk.Widget widget, ref Gdk.Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height) { CellRenderer.InternalGetSize (Gtk.CellRendererToggle.GType, this, widget, ref cell_area, out x_offset, out y_offset, out width, out height); } protected override void Render (Gdk.Drawable window, Gtk.Widget widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gdk.Rectangle expose_area, Gtk.CellRendererState flags) { CellRenderer.InternalRender (Gtk.CellRendererToggle.GType, this, window, widget, background_area, cell_area, expose_area, flags); } public override Gtk.CellEditable StartEditing(Gdk.Event evnt, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags) { return Gtk.CellRenderer.InternalStartEditing (Gtk.CellRendererToggle.GType, this, evnt, widget, path, ref background_area, ref cell_area, flags); } gtk-sharp-2.12.40/gtk/RadioActionEntry.cs0000664000175000017500000000316712654353766015065 00000000000000// RadioActionEntry.cs - Syntactic C# sugar for easily defining RadioActions. // // Authors: Jeroen Zwartepoorte // // Copyright (c) 2004 Jeroen Zwartepoorte // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. using System; namespace Gtk { public struct RadioActionEntry { public string name; public string stock_id; public string label; public string tooltip; public string accelerator; public int value; public RadioActionEntry (string name, string stock_id) : this (name, stock_id, null, null, null, 0) {} public RadioActionEntry (string name, string stock_id, string label, string accelerator, string tooltip) : this (name, stock_id, label, accelerator, tooltip, 0) {} public RadioActionEntry (string name, string stock_id, string label, string accelerator, string tooltip, int value) { this.name = name; this.stock_id = stock_id; this.label = label; this.accelerator = accelerator; this.tooltip = tooltip; this.value = value; } } } gtk-sharp-2.12.40/gtk/IconTheme.custom0000664000175000017500000001037212767740470014420 00000000000000// IconTheme.custom - customizations to Gtk.IconTheme // // Authors: Mike Kestner // Jeroen Zwartepoorte // // Copyright (c) 2004-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_icon_theme_list_icons (IntPtr raw, IntPtr context); public string[] ListIcons (string context) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (context); IntPtr list_ptr = gtk_icon_theme_list_icons (Handle, native); GLib.Marshaller.Free (native); if (list_ptr == IntPtr.Zero) return new string [0]; GLib.List list = new GLib.List (list_ptr, typeof (string), true, true); string[] result = new string [list.Count]; int i = 0; foreach (string val in list) result [i++] = val; return result; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_icon_theme_get_search_path(IntPtr raw, out IntPtr path, out int n_elements); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_icon_theme_set_search_path(IntPtr raw, IntPtr[] path, int n_elements); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_icon_theme_get_search_path_utf8(IntPtr raw, out IntPtr path, out int n_elements); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_icon_theme_set_search_path_utf8(IntPtr raw, IntPtr[] path, int n_elements); [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_strfreev (IntPtr mem); bool IsWindowsPlatform { get { switch (Environment.OSVersion.Platform) { case PlatformID.Win32NT: case PlatformID.Win32S: case PlatformID.Win32Windows: case PlatformID.WinCE: return true; default: return false; } } } public string[] SearchPath { get { int length; IntPtr raw_ret; if (IsWindowsPlatform) gtk_icon_theme_get_search_path_utf8 (Handle, out raw_ret, out length); else gtk_icon_theme_get_search_path (Handle, out raw_ret, out length); return GLib.Marshaller.NullTermPtrToStringArray (raw_ret, true); } set { IntPtr[] native_path; if (value == null) native_path = new IntPtr [0]; else native_path = GLib.Marshaller.StringArrayToNullTermPointer (value); if (IsWindowsPlatform) gtk_icon_theme_set_search_path_utf8 (Handle, native_path, value.Length); else gtk_icon_theme_set_search_path (Handle, native_path, value.Length); GLib.Marshaller.Free (native_path); } } [Obsolete ("Replaced by SearchPath property.")] public void SetSearchPath (string[] path) { SearchPath = path; } #if GTK_SHARP_2_6 [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_icon_theme_get_icon_sizes (IntPtr raw, IntPtr icon_name); public int[] GetIconSizes (string icon_name) { IntPtr icon_name_as_native = GLib.Marshaller.StringToPtrGStrdup (icon_name); IntPtr raw_ret = gtk_icon_theme_get_icon_sizes(Handle, icon_name_as_native); var result = new System.Collections.Generic.List (); int offset = 0; int size = Marshal.ReadInt32 (raw_ret, offset); while (size != 0) { result.Add (size); offset += 4; size = Marshal.ReadInt32 (raw_ret, offset); } GLib.Marshaller.Free (icon_name_as_native); GLib.Marshaller.Free (raw_ret); return result.ToArray (); } #endif gtk-sharp-2.12.40/gtk/TargetEntry.custom0000664000175000017500000000202312767740470015007 00000000000000// Gtk.Window.custom - Gtk Window class customizations // // Author: Ettore Perazzoli // // Copyright (c) 2003 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public TargetEntry (string target, Gtk.TargetFlags flags, uint info) { this.Target = target; this.Flags = flags; this.Info = info; } gtk-sharp-2.12.40/gtk/TextAttributes.custom0000664000175000017500000000330212767740470015533 00000000000000// Gtk.TextAttributes.custom - Gtk TextAttributes class customizations // // Authors: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete("Gtk.TextAttributes is a reference type now, use null")] public static TextAttributes Zero = null; [Obsolete("Replaced by TextAttributes(IntPtr) constructor")] public static TextAttributes New (IntPtr raw) { return new TextAttributes (raw); } [Obsolete("Replaced by TextAttributes() constructor")] public static TextAttributes New () { return new TextAttributes (); } [Obsolete ("Replaced by Font property.")] public Pango.FontDescription font { get { return Font; } set { Font = value; } } [Obsolete ("Replaced by Tabs property.")] public Pango.TabArray tabs { get { return Tabs; } set { Tabs = value; } } [Obsolete ("Replaced by Language property.")] public Pango.Language language { get { return Language; } set { Language = value; } } gtk-sharp-2.12.40/gtk/Style.custom0000664000175000017500000002742712767740470013656 00000000000000// // Gtk.Style.custom - Gtk Style class customizations // // Authors: Rachel Hestilow // Radek Doulik // Mike Kestner // // Copyright (C) 2002, 2003 Rachel Hestilow, Radek Doulik // Copyright (C) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. static Gdk.GC EnsureGC (IntPtr raw) { if (raw == IntPtr.Zero) return null; Gdk.GC ret = (Gdk.GC) GLib.Object.GetObject (raw, false); if (ret == null) ret = new Gdk.GC (raw); return ret; } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_get_white_gc (IntPtr style); public Gdk.GC WhiteGC { get { return EnsureGC (gtksharp_gtk_style_get_white_gc (Handle)); } } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_get_black_gc (IntPtr style); public Gdk.GC BlackGC { get { return EnsureGC (gtksharp_gtk_style_get_black_gc (Handle)); } } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_get_fg_gc (IntPtr style, int i); public Gdk.GC ForegroundGC (StateType state) { IntPtr raw = gtksharp_gtk_style_get_fg_gc (Handle, (int) state); return EnsureGC (raw); } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_set_fg_gc (IntPtr style, int i, IntPtr gc); public void SetForegroundGC (StateType state, Gdk.GC gc) { gtksharp_gtk_style_set_fg_gc (Handle, (int) state, gc.Handle); } public Gdk.GC[] ForegroundGCs { get { Gdk.GC[] ret = new Gdk.GC[5]; for (int i = 0; i < 5; i++) ret[i] = EnsureGC (gtksharp_gtk_style_get_fg_gc (Handle, i)); return ret; } } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_get_bg_gc (IntPtr style, int i); public Gdk.GC BackgroundGC (StateType state) { IntPtr raw = gtksharp_gtk_style_get_bg_gc (Handle, (int) state); return EnsureGC (raw); } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_set_bg_gc (IntPtr style, int i, IntPtr gc); public void SetBackgroundGC (StateType state, Gdk.GC gc) { gtksharp_gtk_style_set_bg_gc (Handle, (int) state, gc.Handle); } public Gdk.GC[] BackgroundGCs { get { Gdk.GC[] ret = new Gdk.GC[5]; for (int i = 0; i < 5; i++) ret[i] = EnsureGC (gtksharp_gtk_style_get_bg_gc (Handle, i)); return ret; } } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_get_base_gc (IntPtr style, int i); public Gdk.GC BaseGC (StateType state) { IntPtr raw = gtksharp_gtk_style_get_base_gc (Handle, (int) state); return EnsureGC (raw); } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_set_base_gc (IntPtr style, int i, IntPtr gc); public void SetBaseGC (StateType state, Gdk.GC gc) { gtksharp_gtk_style_set_base_gc (Handle, (int) state, gc.Handle); } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_get_text_gc (IntPtr style, int i); public Gdk.GC TextGC (StateType state) { IntPtr raw = gtksharp_gtk_style_get_text_gc (Handle, (int) state); return EnsureGC (raw); } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_set_text_gc (IntPtr style, int i, IntPtr gc); public void SetTextGC (StateType state, Gdk.GC gc) { gtksharp_gtk_style_set_text_gc (Handle, (int) state, gc.Handle); } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_get_text_aa_gc (IntPtr style, int i); public Gdk.GC TextAAGC (StateType state) { IntPtr raw = gtksharp_gtk_style_get_text_aa_gc (Handle, (int) state); return EnsureGC (raw); } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_set_text_aa_gc (IntPtr style, int i, IntPtr gc); public void SetTextAAGC (StateType state, Gdk.GC gc) { gtksharp_gtk_style_set_text_aa_gc (Handle, (int) state, gc.Handle); } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_get_light_gc (IntPtr style, int i); public Gdk.GC LightGC (StateType state) { IntPtr raw = gtksharp_gtk_style_get_light_gc (Handle, (int) state); return EnsureGC (raw); } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_set_light_gc (IntPtr style, int i, IntPtr gc); public void SetLightGC (StateType state, Gdk.GC gc) { gtksharp_gtk_style_set_light_gc (Handle, (int) state, gc.Handle); } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_get_dark_gc (IntPtr style, int i); public Gdk.GC DarkGC (StateType state) { IntPtr raw = gtksharp_gtk_style_get_dark_gc (Handle, (int) state); return EnsureGC (raw); } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_set_dark_gc (IntPtr style, int i, IntPtr gc); public void SetDarkGC (StateType state, Gdk.GC gc) { gtksharp_gtk_style_set_dark_gc (Handle, (int) state, gc.Handle); } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_get_mid_gc (IntPtr style, int i); public Gdk.GC MidGC (StateType state) { IntPtr raw = gtksharp_gtk_style_get_mid_gc (Handle, (int) state); return EnsureGC (raw); } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_set_mid_gc (IntPtr style, int i, IntPtr gc); public void SetMidGC (StateType state, Gdk.GC gc) { gtksharp_gtk_style_set_mid_gc (Handle, (int) state, gc.Handle); } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_get_bg (IntPtr style, int i); public Gdk.Color Background (StateType state) { IntPtr raw = gtksharp_gtk_style_get_bg (Handle, (int) state); return Gdk.Color.New (raw); } public Gdk.Color[] Backgrounds { get { Gdk.Color[] ret = new Gdk.Color[5]; for (int i = 0; i < 5; i++) ret[i] = Gdk.Color.New (gtksharp_gtk_style_get_bg (Handle, i)); return ret; } } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_get_fg (IntPtr style, int i); public Gdk.Color Foreground (StateType state) { IntPtr raw = gtksharp_gtk_style_get_fg (Handle, (int) state); return Gdk.Color.New (raw); } public Gdk.Color[] Foregrounds { get { Gdk.Color[] ret = new Gdk.Color[5]; for (int i = 0; i < 5; i++) ret[i] = Gdk.Color.New (gtksharp_gtk_style_get_fg (Handle, i)); return ret; } } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_get_text (IntPtr style, int i); public Gdk.Color Text (StateType state) { IntPtr raw = gtksharp_gtk_style_get_text (Handle, (int) state); return Gdk.Color.New (raw); } public Gdk.Color[] TextColors { get { Gdk.Color[] ret = new Gdk.Color[5]; for (int i = 0; i < 5; i++) ret[i] = Gdk.Color.New (gtksharp_gtk_style_get_text (Handle, i)); return ret; } } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_get_base (IntPtr style, int i); public Gdk.Color Base (StateType state) { IntPtr raw = gtksharp_gtk_style_get_base (Handle, (int) state); return Gdk.Color.New (raw); } public Gdk.Color[] BaseColors { get { Gdk.Color[] ret = new Gdk.Color[5]; for (int i = 0; i < 5; i++) ret[i] = Gdk.Color.New (gtksharp_gtk_style_get_base (Handle, i)); return ret; } } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_get_light (IntPtr style, int i); public Gdk.Color Light (StateType state) { IntPtr raw = gtksharp_gtk_style_get_light (Handle, (int) state); return Gdk.Color.New (raw); } public Gdk.Color[] LightColors { get { Gdk.Color[] ret = new Gdk.Color[5]; for (int i = 0; i < 5; i++) ret[i] = Gdk.Color.New (gtksharp_gtk_style_get_light (Handle, i)); return ret; } } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_get_mid (IntPtr style, int i); public Gdk.Color Mid (StateType state) { IntPtr raw = gtksharp_gtk_style_get_mid (Handle, (int) state); return Gdk.Color.New (raw); } public Gdk.Color[] MidColors { get { Gdk.Color[] ret = new Gdk.Color[5]; for (int i = 0; i < 5; i++) ret[i] = Gdk.Color.New (gtksharp_gtk_style_get_mid (Handle, i)); return ret; } } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_get_dark (IntPtr style, int i); public Gdk.Color Dark (StateType state) { IntPtr raw = gtksharp_gtk_style_get_dark (Handle, (int) state); return Gdk.Color.New (raw); } public Gdk.Color[] DarkColors { get { Gdk.Color[] ret = new Gdk.Color[5]; for (int i = 0; i < 5; i++) ret[i] = Gdk.Color.New (gtksharp_gtk_style_get_dark (Handle, i)); return ret; } } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_gtk_style_get_thickness (IntPtr style, int x_axis); [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_gtk_style_set_thickness (IntPtr style, int value); public int XThickness { get { return gtksharp_gtk_style_get_thickness (Handle, 0); } set { gtksharp_gtk_style_set_thickness (Handle, value); } } public int YThickness { get { return gtksharp_gtk_style_get_thickness (Handle, 1); } set { gtksharp_gtk_style_set_thickness (Handle, -value); } } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_get_font_description (IntPtr style); public Pango.FontDescription FontDescription { get { IntPtr Raw = gtksharp_gtk_style_get_font_description (Handle); if (Raw == IntPtr.Zero) return null; Pango.FontDescription ret = (Pango.FontDescription) GLib.Opaque.GetOpaque (Raw, typeof (Pango.FontDescription), false); if (ret == null) ret = new Pango.FontDescription (Raw); return ret; } } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_style_get_bg_pixmap (IntPtr style, int state); [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_gtk_style_set_bg_pixmap (IntPtr style, int state, IntPtr pixmap); public Gdk.Pixmap BgPixmap (StateType state) { IntPtr raw = gtksharp_gtk_style_get_bg_pixmap (Handle, (int) state); return GLib.Object.GetObject (raw) as Gdk.Pixmap; } public Gdk.Pixmap[] BgPixmaps { get { Gdk.Pixmap[] ret = new Gdk.Pixmap [5]; for (int i = 0; i < 5; i++) ret [i] = GLib.Object.GetObject (gtksharp_gtk_style_get_dark (Handle, i)) as Gdk.Pixmap; return ret; } } public void SetBgPixmap (StateType state, Gdk.Pixmap pixmap) { gtksharp_gtk_style_set_bg_pixmap (Handle, (int) state, pixmap == null ? IntPtr.Zero : pixmap.Handle); } gtk-sharp-2.12.40/gtk/CheckMenuItem.custom0000664000175000017500000000313012767740470015220 00000000000000// Gtk.CheckMenuItem.custom - Gtk CheckMenuItem class customizations // // Author: Mike Kestner // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_check_menu_item_new_with_mnemonic (IntPtr label); public CheckMenuItem (string label) : base (IntPtr.Zero) { if (GetType() != typeof (CheckMenuItem)) { CreateNativeObject (new IntPtr [0], new GLib.Value [0], 0); AccelLabel al = new AccelLabel (""); al.TextWithMnemonic = label; al.SetAlignment (0.0f, 0.5f); Add (al); al.AccelWidget = this; return; } IntPtr native = GLib.Marshaller.StringToPtrGStrdup (label); Raw = gtk_check_menu_item_new_with_mnemonic (native); GLib.Marshaller.Free (native); } public new void Toggle() { Active = !Active; } gtk-sharp-2.12.40/gtk/ActionGroup.custom0000664000175000017500000000554512767740470015005 00000000000000// ActionGroup.custom - Syntactic C# sugar for easily defining Actions. // // Authors: Jeroen Zwartepoorte // // Copyright (c) 2004 Jeroen Zwartepoorte // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public Action this[string name] { get { return GetAction (name); } } public void Add (ActionEntry[] entries) { foreach (ActionEntry entry in entries) { Action action = new Action (entry.name, entry.label, entry.tooltip, entry.stock_id); if (entry.activated != null) action.Activated += entry.activated; if (entry.accelerator == null) Add (action); else Add (action, entry.accelerator); } } public void Add (ToggleActionEntry[] entries) { foreach (ToggleActionEntry entry in entries) { ToggleAction action = new ToggleAction (entry.name, entry.label, entry.tooltip, entry.stock_id); action.Active = entry.active; if (entry.activated != null) action.Activated += entry.activated; if (entry.accelerator == null) Add (action); else Add (action, entry.accelerator); } } public void Add (RadioActionEntry[] entries, int value, ChangedHandler changed) { GLib.SList group = new GLib.SList (typeof (RadioAction)); RadioAction[] actions = new RadioAction[entries.Length]; for (int i = 0; i < entries.Length; i++) { actions[i] = new RadioAction (entries[i].name, entries[i].label, entries[i].tooltip, entries[i].stock_id, entries[i].value); actions[i].Group = group; group = actions[i].Group; actions[i].Active = value == entries[i].value; if (entries[i].accelerator == null) Add (actions[i]); else Add (actions[i], entries[i].accelerator); } // Add the ChangedHandler when we're done adding all the actions. // Otherwise, setting the Active property will trigger a premature event. if (changed != null) actions[0].Changed += changed; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_action_group_list_actions (IntPtr raw); public Gtk.Action[] ListActions() { IntPtr raw_ret = gtk_action_group_list_actions (Handle); return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.List), true, false); } gtk-sharp-2.12.40/gtk/TooltipsData.custom0000664000175000017500000000250612767740470015154 00000000000000// Gtk.TooltipsData.custom - Gtk TooltipsData class customizations // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Replaced by Tooltips property.")] public Gtk.Tooltips tooltips { get { return GLib.Object.GetObject(_tooltips) as Gtk.Tooltips; } set { _tooltips = value == null ? IntPtr.Zero : value.Handle; } } [Obsolete ("Replaced by Widget property.")] public Gtk.Widget widget { get { return GLib.Object.GetObject(_widget) as Gtk.Widget; } set { _widget = value == null ? IntPtr.Zero : value.Handle; } } gtk-sharp-2.12.40/gtk/TargetPair.custom0000664000175000017500000000216512767740470014610 00000000000000// Gtk.TargetPair.custom - Gtk TargetPair class customizations // // Authors: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Replaced by Target property.")] public Gdk.Atom target { get { Gdk.Atom ret = new Gdk.Atom(_target); if (ret == null) ret = new Gdk.Atom(_target); return ret; } set { _target = value.Handle; } } gtk-sharp-2.12.40/gtk/CellRenderer.custom0000664000175000017500000002305112767740470015111 00000000000000// // CellRenderer.custom - Gtk CellRenderer class customizations // // Author: Todd Berman , // Peter Johanson // // Copyright (C) 2004 Todd Berman // Copyright (C) 2007 Peter Johanson // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_cellrenderer_base_get_size (IntPtr handle, IntPtr widget, ref Gdk.Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height); [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_cellrenderer_override_get_size (IntPtr gtype, GetSizeDelegate cb); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void GetSizeDelegate (IntPtr item, IntPtr widget, IntPtr cell_area_ptr, IntPtr x_offset, IntPtr y_offset, IntPtr width, IntPtr height); static GetSizeDelegate GetSizeCallback; static void GetSize_cb (IntPtr item, IntPtr widget, IntPtr cell_area_ptr, IntPtr x_offset, IntPtr y_offset, IntPtr width, IntPtr height) { try { CellRenderer obj = GLib.Object.GetObject (item, false) as CellRenderer; Gtk.Widget widg = GLib.Object.GetObject (widget, false) as Gtk.Widget; Gdk.Rectangle cell_area = Gdk.Rectangle.New (cell_area_ptr); int a, b, c, d; obj.GetSize (widg, ref cell_area, out a, out b, out c, out d); if (x_offset != IntPtr.Zero) Marshal.WriteInt32 (x_offset, a); if (y_offset != IntPtr.Zero) Marshal.WriteInt32 (y_offset, b); if (width != IntPtr.Zero) Marshal.WriteInt32 (width, c); if (height != IntPtr.Zero) Marshal.WriteInt32 (height, d); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } static void OverrideGetSize (GLib.GType gtype) { if (GetSizeCallback == null) GetSizeCallback = new GetSizeDelegate (GetSize_cb); gtksharp_cellrenderer_override_get_size (gtype.Val, GetSizeCallback); } [GLib.DefaultSignalHandler (Type=typeof(Gtk.CellRenderer), ConnectionMethod="OverrideGetSize")] public virtual void GetSize(Gtk.Widget widget, ref Gdk.Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height) { gtksharp_cellrenderer_base_get_size(Handle, widget.Handle, ref cell_area, out x_offset, out y_offset, out width, out height); } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_cellrenderer_invoke_get_size (IntPtr gtype, IntPtr handle, IntPtr widget, ref Gdk.Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height); internal static void InternalGetSize (GLib.GType gtype, Gtk.CellRenderer cell, Gtk.Widget widget, ref Gdk.Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height) { gtksharp_cellrenderer_invoke_get_size (gtype.Val, cell.Handle, widget.Handle, ref cell_area, out x_offset, out y_offset, out width, out height); } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_cellrenderer_base_render (IntPtr handle, IntPtr window, IntPtr widget, ref Gdk.Rectangle background_area, ref Gdk.Rectangle cell_area, ref Gdk.Rectangle expose_area, Gtk.CellRendererState flags); [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_cellrenderer_override_render (IntPtr gtype, RenderDelegate cb); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void RenderDelegate (IntPtr item, IntPtr window, IntPtr widget, ref Gdk.Rectangle background_area, ref Gdk.Rectangle cell_area, ref Gdk.Rectangle expose_area, Gtk.CellRendererState flags); static RenderDelegate RenderCallback; static void Render_cb (IntPtr item, IntPtr window, IntPtr widget, ref Gdk.Rectangle background_area, ref Gdk.Rectangle cell_area, ref Gdk.Rectangle expose_area, Gtk.CellRendererState flags) { try { CellRenderer obj = GLib.Object.GetObject (item, false) as CellRenderer; Gdk.Drawable wind = GLib.Object.GetObject (window, false) as Gdk.Drawable; Gtk.Widget widg = GLib.Object.GetObject (widget, false) as Gtk.Widget; obj.Render (wind, widg, background_area, cell_area, expose_area, flags); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } static void OverrideRender (GLib.GType gtype) { if (RenderCallback == null) RenderCallback = new RenderDelegate (Render_cb); gtksharp_cellrenderer_override_render (gtype.Val, RenderCallback); } [GLib.DefaultSignalHandler (Type=typeof(Gtk.CellRenderer), ConnectionMethod="OverrideRender")] protected virtual void Render (Gdk.Drawable window, Gtk.Widget widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gdk.Rectangle expose_area, Gtk.CellRendererState flags) { gtksharp_cellrenderer_base_render (Handle, window.Handle, widget.Handle, ref background_area, ref cell_area, ref expose_area, flags); } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_cellrenderer_invoke_render (IntPtr gtype, IntPtr handle, IntPtr window, IntPtr widget, ref Gdk.Rectangle background_area, ref Gdk.Rectangle cell_area, ref Gdk.Rectangle expose_area, Gtk.CellRendererState flags); internal static void InternalRender (GLib.GType gtype, Gtk.CellRenderer cell, Gdk.Drawable window, Gtk.Widget widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gdk.Rectangle expose_area, Gtk.CellRendererState flags) { gtksharp_cellrenderer_invoke_render (gtype.Val, cell.Handle, window.Handle, widget.Handle, ref background_area, ref cell_area, ref expose_area, flags); } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_cellrenderer_override_start_editing (IntPtr gtype, StartEditingDelegate cb); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr StartEditingDelegate (IntPtr raw, IntPtr evnt, IntPtr widget, IntPtr path, ref Gdk.Rectangle background_area, ref Gdk.Rectangle cell_area, Gtk.CellRendererState flags); static StartEditingDelegate StartEditingCallback; static IntPtr StartEditing_cb (IntPtr raw, IntPtr evnt, IntPtr widget, IntPtr path, ref Gdk.Rectangle background_area, ref Gdk.Rectangle cell_area, Gtk.CellRendererState flags) { try { CellRenderer obj = GLib.Object.GetObject (raw, false) as CellRenderer; Gdk.Event _event = evnt != IntPtr.Zero ? new Gdk.Event (evnt) : null; Widget widg = GLib.Object.GetObject (widget, false) as Gtk.Widget; CellEditable retval = obj.StartEditing (_event, widg, GLib.Marshaller.Utf8PtrToString (path), background_area, cell_area, flags); if (retval == null) return IntPtr.Zero; return retval.Handle; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return IntPtr.Zero; } static void OverrideStartEditing (GLib.GType gtype) { if (StartEditingCallback == null) StartEditingCallback = new StartEditingDelegate (StartEditing_cb); gtksharp_cellrenderer_override_start_editing (gtype.Val, StartEditingCallback); } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_cellrenderer_base_start_editing(IntPtr raw, IntPtr evnt, IntPtr widget, IntPtr path, ref Gdk.Rectangle background_area, ref Gdk.Rectangle cell_area, int flags); [GLib.DefaultSignalHandler (Type=typeof(Gtk.CellRenderer), ConnectionMethod="OverrideStartEditing")] public virtual Gtk.CellEditable StartEditing(Gdk.Event evnt, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (path); IntPtr raw_ret = gtksharp_cellrenderer_base_start_editing(Handle, evnt != null ? evnt.Handle : IntPtr.Zero, widget.Handle, native, ref background_area, ref cell_area, (int) flags); GLib.Marshaller.Free (native); Gtk.CellEditable ret = (Gtk.CellEditable) GLib.Object.GetObject(raw_ret); return ret; } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_cellrenderer_invoke_start_editing(IntPtr gtype, IntPtr raw, IntPtr evnt, IntPtr widget, IntPtr path, ref Gdk.Rectangle background_area, ref Gdk.Rectangle cell_area, int flags); internal static Gtk.CellEditable InternalStartEditing(GLib.GType gtype, Gtk.CellRenderer cell, Gdk.Event evnt, Gtk.Widget widget, string path, ref Gdk.Rectangle background_area, ref Gdk.Rectangle cell_area, Gtk.CellRendererState flags) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (path); IntPtr raw_ret = gtksharp_cellrenderer_invoke_start_editing(gtype.Val, cell.Handle, evnt.Handle, widget.Handle, native, ref background_area, ref cell_area, (int) flags); GLib.Marshaller.Free (native); Gtk.CellEditable ret = GLib.Object.GetObject(raw_ret) as Gtk.CellEditable; return ret; } gtk-sharp-2.12.40/gtk/CellLayoutAdapter.custom0000664000175000017500000000224112767740470016117 00000000000000// Gtk.CellLayoutAdaptor.custom - Gtk CellLayoutAdaptor customizations // // Authors: Mike Kestner // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public void SetAttributes (CellRenderer cell, params object[] attrs) { if (attrs.Length % 2 != 0) throw new ArgumentException ("attrs should contain pairs of attribute/col"); ClearAttributes (cell); for (int i = 0; i < attrs.Length - 1; i += 2) { AddAttribute (cell, (string) attrs [i], (int) attrs [i + 1]); } } gtk-sharp-2.12.40/gtk/Toolbar.custom0000664000175000017500000002557112767740470014156 00000000000000// Gtk.Toolbar.custom - Gtk Toolbar class customizations // // Author: Mike Kestner // // Copyright (C) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_object_weak_ref (IntPtr raw, WeakNotify cb, IntPtr data); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void WeakNotify (IntPtr handle, IntPtr obj); static void ReleaseDelegateCB (IntPtr handle, IntPtr obj) { GCHandle gch = (GCHandle) handle; gch.Free (); } static WeakNotify on_weak_notify; static WeakNotify OnWeakNotify { get { if (on_weak_notify == null) on_weak_notify = new WeakNotify (ReleaseDelegateCB); return on_weak_notify; } } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_toolbar_append_element (IntPtr raw, int type, IntPtr widget, IntPtr text, IntPtr tooltip_text, IntPtr tooltip_private_text, IntPtr icon, GtkSharp.SignalFuncNative cb, IntPtr user_data); [Obsolete ("Replaced by ToolItem API")] public Gtk.Widget AppendElement (Gtk.ToolbarChildType type, Gtk.Widget widget, string text, string tooltip_text, string tooltip_private_text, Gtk.Widget icon, Gtk.SignalFunc cb) { GtkSharp.SignalFuncWrapper cb_wrapper = new GtkSharp.SignalFuncWrapper (cb); IntPtr ntext = GLib.Marshaller.StringToPtrGStrdup (text); IntPtr ntiptext = GLib.Marshaller.StringToPtrGStrdup (tooltip_text); IntPtr ntipprivtext = GLib.Marshaller.StringToPtrGStrdup (tooltip_private_text); IntPtr raw_ret = gtk_toolbar_append_element (Handle, (int) type, widget == null ? IntPtr.Zero : widget.Handle, ntext, ntiptext, ntipprivtext, icon == null ? IntPtr.Zero : icon.Handle, cb_wrapper.NativeDelegate, IntPtr.Zero); GLib.Marshaller.Free (ntext); GLib.Marshaller.Free (ntiptext); GLib.Marshaller.Free (ntipprivtext); Gtk.Widget ret; if (raw_ret == IntPtr.Zero) ret = null; else { ret = (Gtk.Widget) GLib.Object.GetObject (raw_ret); g_object_weak_ref (raw_ret, OnWeakNotify, (IntPtr) GCHandle.Alloc (cb_wrapper)); } return ret; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_toolbar_insert_element (IntPtr raw, int type, IntPtr widget, IntPtr text, IntPtr tooltip_text, IntPtr tooltip_private_text, IntPtr icon, GtkSharp.SignalFuncNative cb, IntPtr user_data, int position); [Obsolete ("Replaced by ToolItem API")] public Gtk.Widget InsertElement (Gtk.ToolbarChildType type, Gtk.Widget widget, string text, string tooltip_text, string tooltip_private_text, Gtk.Widget icon, Gtk.SignalFunc cb, IntPtr user_data, int position) { GtkSharp.SignalFuncWrapper cb_wrapper = new GtkSharp.SignalFuncWrapper (cb); IntPtr ntext = GLib.Marshaller.StringToPtrGStrdup (text); IntPtr ntiptext = GLib.Marshaller.StringToPtrGStrdup (tooltip_text); IntPtr ntipprivtext = GLib.Marshaller.StringToPtrGStrdup (tooltip_private_text); IntPtr raw_ret = gtk_toolbar_insert_element (Handle, (int) type, widget == null ? IntPtr.Zero : widget.Handle, ntext, ntiptext, ntipprivtext, icon == null ? IntPtr.Zero : icon.Handle, cb_wrapper.NativeDelegate, user_data, position); GLib.Marshaller.Free (ntext); GLib.Marshaller.Free (ntiptext); GLib.Marshaller.Free (ntipprivtext); Gtk.Widget ret; if (raw_ret == IntPtr.Zero) ret = null; else { ret = (Gtk.Widget) GLib.Object.GetObject (raw_ret); g_object_weak_ref (raw_ret, OnWeakNotify, (IntPtr) GCHandle.Alloc (cb_wrapper)); } return ret; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_toolbar_prepend_element (IntPtr raw, int type, IntPtr widget, IntPtr text, IntPtr tooltip_text, IntPtr tooltip_private_text, IntPtr icon, GtkSharp.SignalFuncNative cb, IntPtr user_data); [Obsolete ("Replaced by ToolItem API")] public Gtk.Widget PrependElement (Gtk.ToolbarChildType type, Gtk.Widget widget, string text, string tooltip_text, string tooltip_private_text, Gtk.Widget icon, Gtk.SignalFunc cb) { GtkSharp.SignalFuncWrapper cb_wrapper = new GtkSharp.SignalFuncWrapper (cb); IntPtr ntext = GLib.Marshaller.StringToPtrGStrdup (text); IntPtr ntiptext = GLib.Marshaller.StringToPtrGStrdup (tooltip_text); IntPtr ntipprivtext = GLib.Marshaller.StringToPtrGStrdup (tooltip_private_text); IntPtr raw_ret = gtk_toolbar_prepend_element (Handle, (int) type, widget == null ? IntPtr.Zero : widget.Handle, ntext, ntiptext, ntipprivtext, icon == null ? IntPtr.Zero : icon.Handle, cb_wrapper.NativeDelegate, IntPtr.Zero); GLib.Marshaller.Free (ntext); GLib.Marshaller.Free (ntiptext); GLib.Marshaller.Free (ntipprivtext); Gtk.Widget ret; if (raw_ret == IntPtr.Zero) ret = null; else { ret = (Gtk.Widget) GLib.Object.GetObject (raw_ret); g_object_weak_ref (raw_ret, OnWeakNotify, (IntPtr) GCHandle.Alloc (cb_wrapper)); } return ret; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_toolbar_append_item (IntPtr raw, IntPtr text, IntPtr tooltip_text, IntPtr tooltip_private_text, IntPtr icon, GtkSharp.SignalFuncNative cb, IntPtr user_data); [Obsolete ("Replaced by ToolItem API")] public Gtk.Widget AppendItem (string text, string tooltip_text, string tooltip_private_text, Gtk.Widget icon, Gtk.SignalFunc cb) { GtkSharp.SignalFuncWrapper cb_wrapper = new GtkSharp.SignalFuncWrapper (cb); IntPtr ntext = GLib.Marshaller.StringToPtrGStrdup (text); IntPtr ntiptext = GLib.Marshaller.StringToPtrGStrdup (tooltip_text); IntPtr ntipprivtext = GLib.Marshaller.StringToPtrGStrdup (tooltip_private_text); IntPtr raw_ret = gtk_toolbar_append_item (Handle, ntext, ntiptext, ntipprivtext, icon == null ? IntPtr.Zero : icon.Handle, cb_wrapper.NativeDelegate, IntPtr.Zero); GLib.Marshaller.Free (ntext); GLib.Marshaller.Free (ntiptext); GLib.Marshaller.Free (ntipprivtext); Gtk.Widget ret; if (raw_ret == IntPtr.Zero) ret = null; else { ret = (Gtk.Widget) GLib.Object.GetObject(raw_ret); g_object_weak_ref (raw_ret, OnWeakNotify, (IntPtr) GCHandle.Alloc (cb_wrapper)); } return ret; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_toolbar_insert_item (IntPtr raw, IntPtr text, IntPtr tooltip_text, IntPtr tooltip_private_text, IntPtr icon, GtkSharp.SignalFuncNative cb, IntPtr user_data, int position); [Obsolete ("Replaced by ToolItem API")] public Gtk.Widget InsertItem (string text, string tooltip_text, string tooltip_private_text, Gtk.Widget icon, Gtk.SignalFunc cb, IntPtr user_data, int position) { GtkSharp.SignalFuncWrapper cb_wrapper = new GtkSharp.SignalFuncWrapper (cb); IntPtr ntext = GLib.Marshaller.StringToPtrGStrdup (text); IntPtr ntiptext = GLib.Marshaller.StringToPtrGStrdup (tooltip_text); IntPtr ntipprivtext = GLib.Marshaller.StringToPtrGStrdup (tooltip_private_text); IntPtr raw_ret = gtk_toolbar_insert_item (Handle, ntext, ntiptext, ntipprivtext, icon == null ? IntPtr.Zero : icon.Handle, cb_wrapper.NativeDelegate, user_data, position); GLib.Marshaller.Free (ntext); GLib.Marshaller.Free (ntiptext); GLib.Marshaller.Free (ntipprivtext); Gtk.Widget ret; if (raw_ret == IntPtr.Zero) ret = null; else { ret = (Gtk.Widget) GLib.Object.GetObject(raw_ret); g_object_weak_ref (raw_ret, OnWeakNotify, (IntPtr) GCHandle.Alloc (cb_wrapper)); } return ret; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_toolbar_prepend_item (IntPtr raw, IntPtr text, IntPtr tooltip_text, IntPtr tooltip_private_text, IntPtr icon, GtkSharp.SignalFuncNative cb, IntPtr user_data); [Obsolete ("Replaced by ToolItem API")] public Gtk.Widget PrependItem (string text, string tooltip_text, string tooltip_private_text, Gtk.Widget icon, Gtk.SignalFunc cb) { GtkSharp.SignalFuncWrapper cb_wrapper = new GtkSharp.SignalFuncWrapper (cb); IntPtr ntext = GLib.Marshaller.StringToPtrGStrdup (text); IntPtr ntiptext = GLib.Marshaller.StringToPtrGStrdup (tooltip_text); IntPtr ntipprivtext = GLib.Marshaller.StringToPtrGStrdup (tooltip_private_text); IntPtr raw_ret = gtk_toolbar_prepend_item (Handle, ntext, ntiptext, ntipprivtext, icon == null ? IntPtr.Zero : icon.Handle, cb_wrapper.NativeDelegate, IntPtr.Zero); GLib.Marshaller.Free (ntext); GLib.Marshaller.Free (ntiptext); GLib.Marshaller.Free (ntipprivtext); Gtk.Widget ret; if (raw_ret == IntPtr.Zero) ret = null; else { ret = (Gtk.Widget) GLib.Object.GetObject(raw_ret); g_object_weak_ref (raw_ret, OnWeakNotify, (IntPtr) GCHandle.Alloc (cb_wrapper)); } return ret; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_toolbar_insert_stock (IntPtr raw, IntPtr stock_id, IntPtr tooltip_text, IntPtr tooltip_private_text, GtkSharp.SignalFuncNative cb, IntPtr user_data, int position); [Obsolete ("Replaced by ToolItem API")] public Gtk.Widget InsertStock (string stock_id, string tooltip_text, string tooltip_private_text, Gtk.SignalFunc cb, int position) { return InsertStock (stock_id, tooltip_text, tooltip_private_text, cb, IntPtr.Zero, position); } [Obsolete ("Replaced by ToolItem API")] public Gtk.Widget InsertStock (string stock_id, string tooltip_text, string tooltip_private_text, Gtk.SignalFunc cb, IntPtr user_data, int position) { GtkSharp.SignalFuncWrapper cb_wrapper = new GtkSharp.SignalFuncWrapper (cb); IntPtr nstock = GLib.Marshaller.StringToPtrGStrdup (stock_id); IntPtr ntiptext = GLib.Marshaller.StringToPtrGStrdup (tooltip_text); IntPtr ntipprivtext = GLib.Marshaller.StringToPtrGStrdup (tooltip_private_text); IntPtr raw_ret = gtk_toolbar_insert_stock (Handle, nstock, ntiptext, ntipprivtext, cb_wrapper.NativeDelegate, user_data, position); GLib.Marshaller.Free (nstock); GLib.Marshaller.Free (ntiptext); GLib.Marshaller.Free (ntipprivtext); Gtk.Widget ret; if (raw_ret == IntPtr.Zero) ret = null; else { ret = (Gtk.Widget) GLib.Object.GetObject (raw_ret); g_object_weak_ref (raw_ret, OnWeakNotify, (IntPtr) GCHandle.Alloc (cb_wrapper)); } return ret; } gtk-sharp-2.12.40/gtk/CellRendererCombo.custom0000664000175000017500000000354012767740470016072 00000000000000// // CellRendererCombo.custom - Gtk CellRendererCombo class customizations // // Author: Peter Johanson // // Copyright (C) 2007 Peter Johanson // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public override void GetSize (Gtk.Widget widget, ref Gdk.Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height) { CellRenderer.InternalGetSize (Gtk.CellRendererCombo.GType, this, widget, ref cell_area, out x_offset, out y_offset, out width, out height); } protected override void Render (Gdk.Drawable window, Gtk.Widget widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gdk.Rectangle expose_area, Gtk.CellRendererState flags) { CellRenderer.InternalRender (Gtk.CellRendererCombo.GType, this, window, widget, background_area, cell_area, expose_area, flags); } public override Gtk.CellEditable StartEditing(Gdk.Event evnt, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags) { return Gtk.CellRenderer.InternalStartEditing (Gtk.CellRendererCombo.GType, this, evnt, widget, path, ref background_area, ref cell_area, flags); } gtk-sharp-2.12.40/gtk/Input.custom0000664000175000017500000000621012767740470013640 00000000000000// Gtk.Input.custom - Gtk Input class customizations // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern uint gtk_input_add_full(int source, int condition, InputFunctionNative function, GtkSharp.CallbackMarshalNative marshal, IntPtr data, GLib.DestroyNotify destroy); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void InputFunctionNative(IntPtr data, int source, int condition); class InputFunctionWrapper { public void NativeCallback (IntPtr data, int source, int condition) { try { IntPtr _arg0 = data; int _arg1 = source; Gdk.InputCondition _arg2 = (Gdk.InputCondition) condition; managed ( _arg0, _arg1, _arg2); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } internal InputFunctionNative NativeDelegate; Gdk.InputFunction managed; public InputFunctionWrapper (Gdk.InputFunction managed) { this.managed = managed; if (managed != null) NativeDelegate = new InputFunctionNative (NativeCallback); } } class InputProxy { InputFunctionWrapper function; GtkSharp.CallbackMarshalWrapper marshal; IntPtr data; DestroyNotify destroy; GLib.DestroyNotify handler; public InputProxy (InputFunctionWrapper function, GtkSharp.CallbackMarshalWrapper marshal, IntPtr data, DestroyNotify destroy) { this.marshal = marshal; this.function = function; this.destroy = destroy; this.data = data; handler = new GLib.DestroyNotify (OnDestroy); } void OnDestroy (IntPtr data) { if (destroy != null) destroy (); GCHandle gch = (GCHandle) data; gch.Free (); } public GLib.DestroyNotify Handler { get { return handler; } } } [Obsolete] public static uint AddFull(int source, Gdk.InputCondition condition, Gdk.InputFunction function, Gtk.CallbackMarshal marshal, IntPtr data, Gtk.DestroyNotify destroy) { InputFunctionWrapper function_wrapper = new InputFunctionWrapper (function); GtkSharp.CallbackMarshalWrapper marshal_wrapper = new GtkSharp.CallbackMarshalWrapper (marshal); InputProxy proxy = new InputProxy (function_wrapper, marshal_wrapper, data, destroy); GCHandle gch = GCHandle.Alloc (proxy); return gtk_input_add_full (source, (int) condition, function_wrapper.NativeDelegate, marshal_wrapper.NativeDelegate, (IntPtr) gch, proxy.Handler); } gtk-sharp-2.12.40/gtk/ListStore.custom0000664000175000017500000002412212767740470014473 00000000000000// Gtk.ListStore.Custom - Gtk ListStore class customizations // // Author: Kristian Rietveld // // (c) 2002 Kristian Rietveld // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Replaced by Reorder (int[]) overload")] public int Reorder () { return -1; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_tree_model_iter_children (IntPtr raw, out Gtk.TreeIter iter, IntPtr parent); public bool IterChildren (out Gtk.TreeIter iter) { bool raw_ret = gtk_tree_model_iter_children (Handle, out iter, IntPtr.Zero); bool ret = raw_ret; return ret; } public int IterNChildren () { int raw_ret = gtk_tree_model_iter_n_children (Handle, IntPtr.Zero); int ret = raw_ret; return ret; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_tree_model_iter_nth_child (IntPtr raw, out Gtk.TreeIter iter, IntPtr parent, int n); public bool IterNthChild (out Gtk.TreeIter iter, int n) { bool raw_ret = gtk_tree_model_iter_nth_child (Handle, out iter, IntPtr.Zero, n); bool ret = raw_ret; return ret; } public void SetValue (Gtk.TreeIter iter, int column, bool value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } public void SetValue (Gtk.TreeIter iter, int column, double value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } public void SetValue (Gtk.TreeIter iter, int column, int value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } public void SetValue (Gtk.TreeIter iter, int column, string value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } public void SetValue (Gtk.TreeIter iter, int column, float value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } public void SetValue (Gtk.TreeIter iter, int column, uint value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } public void SetValue (Gtk.TreeIter iter, int column, object value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } public Gtk.TreeIter AppendValues (Array values) { Gtk.TreeIter iter = Append(); SetValues (iter, values); return iter; } public Gtk.TreeIter AppendValues (params object[] values) { Gtk.TreeIter iter = Append(); SetValues (iter, values); return iter; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_list_store_insert_with_valuesv(IntPtr raw, out TreeIter iter, int position, int[] columns, GLib.Value[] values, int n_values); public TreeIter InsertWithValues (int position, params object[] values) { int[] columns = new int[values.Length]; GLib.Value[] vals = new GLib.Value[values.Length]; int n_values = 0; for (int i = 0; i < values.Length; i++) { if (values[i] != null) { columns[n_values] = i; vals[n_values] = new GLib.Value (values[i]); n_values++; } } TreeIter iter; gtk_list_store_insert_with_valuesv (Handle, out iter, position, columns, vals, n_values); for (int i = 0; i < n_values; i++) vals[i].Dispose (); return iter; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_list_store_set_valuesv(IntPtr raw, ref TreeIter iter, int[] columns, GLib.Value[] values, int n_values); public void SetValues (TreeIter iter, params object[] values) { int[] columns = new int[values.Length]; GLib.Value[] vals = new GLib.Value[values.Length]; int n_values = 0; for (int i = 0; i < values.Length; i++) { if (values[i] != null) { columns[n_values] = i; vals[n_values] = new GLib.Value (values[i]); n_values++; } } gtk_list_store_set_valuesv (Handle, ref iter, columns, vals, n_values); for (int i = 0; i < n_values; i++) vals[i].Dispose (); } public ListStore (params GLib.GType[] types) : base (IntPtr.Zero) { CreateNativeObject (new IntPtr [0], new GLib.Value [0], 0); ColumnTypes = types; } public ListStore (params Type[] types) : base (IntPtr.Zero) { GLib.GType[] gtypes = new GLib.GType[types.Length]; int i = 0; foreach (Type type in types) { gtypes[i] = (GLib.GType) type; i++; } CreateNativeObject (new IntPtr [0], new GLib.Value [0], 0); ColumnTypes = gtypes; } [Obsolete ("Replaced by ColumnTypes property.")] public void SetColumnTypes (GLib.GType[] types) { ColumnTypes = types; } public object GetValue(Gtk.TreeIter iter, int column) { GLib.Value val = GLib.Value.Empty; GetValue (iter, column, ref val); object ret = val.Val; val.Dispose (); return ret; } [Obsolete ("Replaced by SetSortFunc (int, TreeIterCompareFunc) overload.")] public void SetSortFunc (int sort_column_id, TreeIterCompareFunc sort_func, IntPtr user_data, Gtk.DestroyNotify destroy) { SetSortFunc (sort_column_id, sort_func); } [Obsolete ("Replaced by DefaultSortFunc property.")] public void SetDefaultSortFunc (TreeIterCompareFunc sort_func, IntPtr user_data, Gtk.DestroyNotify destroy) { DefaultSortFunc = sort_func; } public IEnumerator GetEnumerator() { return new TreeEnumerator(this); } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void RowsReorderedSignalDelegate (IntPtr arg0, IntPtr arg1, IntPtr arg2, IntPtr arg3, IntPtr gch); static void RowsReorderedSignalCallback (IntPtr arg0, IntPtr arg1, IntPtr arg2, IntPtr arg3, IntPtr gch) { Gtk.RowsReorderedArgs args = new Gtk.RowsReorderedArgs (); try { GLib.Signal sig = ((GCHandle) gch).Target as GLib.Signal; if (sig == null) throw new Exception("Unknown signal GC handle received " + gch); ListStore sender = GLib.Object.GetObject (arg0) as ListStore; args.Args = new object[3]; args.Args[0] = arg1 == IntPtr.Zero ? null : (Gtk.TreePath) GLib.Opaque.GetOpaque (arg1, typeof (Gtk.TreePath), false); args.Args[1] = Gtk.TreeIter.New (arg2); int child_cnt = sender.IterNChildren (); int[] new_order = new int [child_cnt]; Marshal.Copy (arg3, new_order, 0, child_cnt); args.Args[2] = new_order; Gtk.RowsReorderedHandler handler = (Gtk.RowsReorderedHandler) sig.Handler; handler (sender, args); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void RowsReorderedVMDelegate (IntPtr tree_model, IntPtr path, IntPtr iter, IntPtr new_order); static RowsReorderedVMDelegate RowsReorderedVMCallback; static void rowsreordered_cb (IntPtr tree_model, IntPtr path_ptr, IntPtr iter_ptr, IntPtr new_order) { try { ListStore store = GLib.Object.GetObject (tree_model, false) as ListStore; TreePath path = GLib.Opaque.GetOpaque (path_ptr, typeof (TreePath), false) as TreePath; TreeIter iter = TreeIter.New (iter_ptr); int child_cnt = store.IterNChildren (); int[] child_order = new int [child_cnt]; Marshal.Copy (new_order, child_order, 0, child_cnt); store.OnRowsReordered (path, iter, child_order); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call doesn't return throw e; } } private static void OverrideRowsReordered (GLib.GType gtype) { if (RowsReorderedVMCallback == null) RowsReorderedVMCallback = new RowsReorderedVMDelegate (rowsreordered_cb); OverrideVirtualMethod (gtype, "rows_reordered", RowsReorderedVMCallback); } [Obsolete ("Replaced by int[] new_order overload.")] [GLib.DefaultSignalHandler(Type=typeof(Gtk.ListStore), ConnectionMethod="OverrideRowsReordered")] protected virtual void OnRowsReordered (Gtk.TreePath path, Gtk.TreeIter iter, out int new_order) { new_order = -1; } [GLib.DefaultSignalHandler(Type=typeof(Gtk.ListStore), ConnectionMethod="OverrideRowsReordered")] protected virtual void OnRowsReordered (Gtk.TreePath path, Gtk.TreeIter iter, int[] new_order) { int dummy; OnRowsReordered (path, iter, out dummy); GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (4); using (var val0 = new GLib.Value (this)) { inst_and_params.Append (val0); using (var val1 = new GLib.Value (path)) { inst_and_params.Append (val1); using (var val2 = new GLib.Value (iter)) { inst_and_params.Append (val2); int cnt = IterNChildren (); IntPtr new_order_ptr = Marshal.AllocHGlobal (sizeof (int) * cnt); Marshal.Copy (new_order, 0, new_order_ptr, cnt); using (var val3 = new GLib.Value (new_order_ptr)) { inst_and_params.Append (val3); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); Marshal.FreeHGlobal (new_order_ptr); } } } } } [GLib.Signal("rows_reordered")] public event Gtk.RowsReorderedHandler RowsReordered { add { GLib.Signal sig = GLib.Signal.Lookup (this, "rows_reordered", new RowsReorderedSignalDelegate(RowsReorderedSignalCallback)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (this, "rows_reordered", new RowsReorderedSignalDelegate(RowsReorderedSignalCallback)); sig.RemoveDelegate (value); } } gtk-sharp-2.12.40/gtk/CellRendererSpin.custom0000664000175000017500000000353312767740470015746 00000000000000// // CellRendererSpin.custom - Gtk CellRendererSpin class customizations // // Author: Peter Johanson // // Copyright (C) 2007 Peter Johanson // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public override void GetSize (Gtk.Widget widget, ref Gdk.Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height) { CellRenderer.InternalGetSize (Gtk.CellRendererSpin.GType, this, widget, ref cell_area, out x_offset, out y_offset, out width, out height); } protected override void Render (Gdk.Drawable window, Gtk.Widget widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gdk.Rectangle expose_area, Gtk.CellRendererState flags) { CellRenderer.InternalRender (Gtk.CellRendererSpin.GType, this, window, widget, background_area, cell_area, expose_area, flags); } public override Gtk.CellEditable StartEditing(Gdk.Event evnt, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags) { return Gtk.CellRenderer.InternalStartEditing (Gtk.CellRendererSpin.GType, this, evnt, widget, path, ref background_area, ref cell_area, flags); } gtk-sharp-2.12.40/gtk/TreeNodeValueAttribute.cs0000664000175000017500000000215412654353766016230 00000000000000// TreeNodeValueAttribute.cs - Attribute to mark properties as TreeNode column values // // Author: Mike Kestner // // Copyright (c) 2003 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; [AttributeUsage (AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = true)] public sealed class TreeNodeValueAttribute : Attribute { int col; public int Column { get { return col; } set { col = value; } } } } gtk-sharp-2.12.40/gtk/NodeStore.cs0000664000175000017500000003705212767740470013546 00000000000000// NodeStore.cs - Tree store implementation for TreeView. // // Author: Mike Kestner // // Copyright (c) 2003-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; using System.Collections; using System.Collections.Generic; using System.Reflection; using System.Runtime.InteropServices; public class NodeStore : GLib.Object, IEnumerable { class IDHashtable : Hashtable { class IDComparer : IComparer { public int Compare (object x, object y) { if ((int) x == (int) y) return 0; else return 1; } } class IDHashCodeProvider : IHashCodeProvider { public int GetHashCode (object o) { return (int) o; } } public IDHashtable () : base (new IDHashCodeProvider (), new IDComparer ()) {} } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate int GetFlagsDelegate (); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate int GetNColumnsDelegate (); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr GetColumnTypeDelegate (int col); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate bool GetNodeDelegate (out int node_idx, IntPtr path); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr GetPathDelegate (int node_idx); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void GetValueDelegate (int node_idx, int col, ref GLib.Value val); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate bool NextDelegate (ref int node_idx); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate bool ChildrenDelegate (out int child, int parent); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate bool HasChildDelegate (int node_idx); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate int NChildrenDelegate (int node_idx); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate bool NthChildDelegate (out int child, int parent, int n); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate bool ParentDelegate (out int parent, int child); [StructLayout(LayoutKind.Sequential)] struct TreeModelIfaceDelegates { public GetFlagsDelegate get_flags; public GetNColumnsDelegate get_n_columns; public GetColumnTypeDelegate get_column_type; public GetNodeDelegate get_node; public GetPathDelegate get_path; public GetValueDelegate get_value; public NextDelegate next; public ChildrenDelegate children; public HasChildDelegate has_child; public NChildrenDelegate n_children; public NthChildDelegate nth_child; public ParentDelegate parent; } Hashtable node_hash = new IDHashtable (); GLib.GType[] ctypes; MemberInfo [] getters; int n_cols; bool list_only = false; List nodes = new List (); TreeModelIfaceDelegates tree_model_iface; int get_flags_cb () { TreeModelFlags result = TreeModelFlags.ItersPersist; if (list_only) result |= TreeModelFlags.ListOnly; return (int) result; } int get_n_columns_cb () { return n_cols; } IntPtr get_column_type_cb (int col) { try { return ctypes [col].Val; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return IntPtr.Zero; } bool get_node_cb (out int node_idx, IntPtr path) { try { if (path == IntPtr.Zero) throw new ArgumentNullException ("path"); TreePath treepath = new TreePath (path); node_idx = -1; ITreeNode node = GetNodeAtPath (treepath); if (node == null) return false; node_idx = node.ID; node_hash [node.ID] = node; return true; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } node_idx = -1; return false; } IntPtr get_path_cb (int node_idx) { try { ITreeNode node = node_hash [node_idx] as ITreeNode; if (node == null) throw new Exception ("Invalid Node ID"); return GetPath (node).Handle; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return IntPtr.Zero; } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_value_init (ref GLib.Value val, IntPtr type); void get_value_cb (int node_idx, int col, ref GLib.Value val) { try { ITreeNode node = node_hash [node_idx] as ITreeNode; if (node == null) return; g_value_init (ref val, ctypes [col].Val); object col_val; if (getters [col] is PropertyInfo) col_val = ((PropertyInfo) getters [col]).GetValue (node, null); else col_val = ((FieldInfo) getters [col]).GetValue (node); val.Val = col_val; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } bool next_cb (ref int node_idx) { try { ITreeNode node = node_hash [node_idx] as ITreeNode; if (node == null) return false; int idx; if (node.Parent == null) idx = Nodes.IndexOf (node); else idx = node.Parent.IndexOf (node); if (idx < 0) throw new Exception ("Node not found in Nodes list"); if (node.Parent == null) { if (++idx >= Nodes.Count) return false; node = Nodes [idx] as ITreeNode; } else { if (++idx >= node.Parent.ChildCount) return false; node = node.Parent [idx]; } node_hash [node.ID] = node; node_idx = node.ID; return true; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return false; } bool children_cb (out int child_idx, int parent) { try { child_idx = -1; ITreeNode node; if (parent == -1) { if (Nodes.Count <= 0) return false; node = Nodes [0] as ITreeNode; child_idx = node.ID; node_hash [node.ID] = node; return true; } node = node_hash [parent] as ITreeNode; if (node == null || node.ChildCount <= 0) return false; ITreeNode child = node [0]; node_hash [child.ID] = child; child_idx = child.ID; return true; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } child_idx = -1; return false; } bool has_child_cb (int node_idx) { try { ITreeNode node = node_hash [node_idx] as ITreeNode; if (node == null || node.ChildCount <= 0) return false; return true; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return false; } int n_children_cb (int node_idx) { try { if (node_idx == -1) return Nodes.Count; ITreeNode node = node_hash [node_idx] as ITreeNode; if (node == null || node.ChildCount <= 0) return 0; return node.ChildCount; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return 0; } bool nth_child_cb (out int child_idx, int parent, int n) { child_idx = -1; try { ITreeNode node; if (parent == -1) { if (Nodes.Count <= n) return false; node = Nodes [n] as ITreeNode; child_idx = node.ID; node_hash [node.ID] = node; return true; } node = node_hash [parent] as ITreeNode; if (node == null || node.ChildCount <= n) return false; ITreeNode child = node [n]; node_hash [child.ID] = child; child_idx = child.ID; return true; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return false; } bool parent_cb (out int parent_idx, int child) { parent_idx = -1; try { ITreeNode node = node_hash [child] as ITreeNode; if (node == null || node.Parent == null) return false; node_hash [node.Parent.ID] = node.Parent; parent_idx = node.Parent.ID; return true; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return false; } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_node_store_set_tree_model_callbacks (IntPtr raw, ref TreeModelIfaceDelegates cbs); private void BuildTreeModelIface () { tree_model_iface.get_flags = new GetFlagsDelegate (get_flags_cb); tree_model_iface.get_n_columns = new GetNColumnsDelegate (get_n_columns_cb); tree_model_iface.get_column_type = new GetColumnTypeDelegate (get_column_type_cb); tree_model_iface.get_node = new GetNodeDelegate (get_node_cb); tree_model_iface.get_path = new GetPathDelegate (get_path_cb); tree_model_iface.get_value = new GetValueDelegate (get_value_cb); tree_model_iface.next = new NextDelegate (next_cb); tree_model_iface.children = new ChildrenDelegate (children_cb); tree_model_iface.has_child = new HasChildDelegate (has_child_cb); tree_model_iface.n_children = new NChildrenDelegate (n_children_cb); tree_model_iface.nth_child = new NthChildDelegate (nth_child_cb); tree_model_iface.parent = new ParentDelegate (parent_cb); gtksharp_node_store_set_tree_model_callbacks (Handle, ref tree_model_iface); } public NodeStore (Type node_type) : base (IntPtr.Zero) { CreateNativeObject (new IntPtr [0], new GLib.Value [0], 0); ScanType (node_type); BuildTreeModelIface (); } void ScanType (Type type) { TreeNodeAttribute tna = (TreeNodeAttribute) Attribute.GetCustomAttribute (type, typeof (TreeNodeAttribute), false); if (tna != null) list_only = tna.ListOnly; var minfos = new List (); foreach (PropertyInfo pi in type.GetProperties ()) foreach (TreeNodeValueAttribute attr in pi.GetCustomAttributes (typeof (TreeNodeValueAttribute), false)) minfos.Add (pi); foreach (FieldInfo fi in type.GetFields ()) foreach (TreeNodeValueAttribute attr in fi.GetCustomAttributes (typeof (TreeNodeValueAttribute), false)) minfos.Add (fi); ctypes = new GLib.GType [minfos.Count]; getters = new MemberInfo [minfos.Count]; foreach (MemberInfo mi in minfos) { foreach (TreeNodeValueAttribute attr in mi.GetCustomAttributes (typeof (TreeNodeValueAttribute), false)) { int col = attr.Column; if (getters [col] != null) throw new Exception (String.Format ("You have two TreeNodeValueAttributes with the Column={0}", col)); getters [col] = mi; Type t = mi is PropertyInfo ? ((PropertyInfo) mi).PropertyType : ((FieldInfo) mi).FieldType; ctypes [col] = (GLib.GType) t; } } } private IList Nodes { get { return nodes; } } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_node_store_emit_row_changed (IntPtr handle, IntPtr path, int node_idx); private void changed_cb (object o, EventArgs args) { ITreeNode node = o as ITreeNode; gtksharp_node_store_emit_row_changed (Handle, get_path_cb (node.ID), node.ID); } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_node_store_emit_row_inserted (IntPtr handle, IntPtr path, int node_idx); private void EmitRowInserted (ITreeNode node) { gtksharp_node_store_emit_row_inserted (Handle, get_path_cb (node.ID), node.ID); for (int i = 0; i < node.ChildCount; i++) EmitRowInserted (node [i]); } private void child_added_cb (object o, ITreeNode child) { AddNodeInternal (child); EmitRowInserted (child); } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_node_store_emit_row_deleted (IntPtr handle, IntPtr path); [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_node_store_emit_row_has_child_toggled (IntPtr handle, IntPtr path, int node_idx); private void RemoveNodeInternal (ITreeNode node) { node_hash.Remove (node.ID); for (int i = 0; i < node.ChildCount; i++) RemoveNodeInternal (node [i]); } private void child_deleted_cb (object o, ITreeNode child, int idx) { ITreeNode node = o as ITreeNode; TreePath path = new TreePath (get_path_cb (node.ID)); TreePath child_path = path.Copy (); child_path.AppendIndex (idx); RemoveNodeInternal (child); gtksharp_node_store_emit_row_deleted (Handle, child_path.Handle); if (node.ChildCount <= 0) gtksharp_node_store_emit_row_has_child_toggled (Handle, get_path_cb (node.ID), node.ID); } private void AddNodeInternal (ITreeNode node) { node_hash [node.ID] = node; node.Changed += new EventHandler (changed_cb); node.ChildAdded += new TreeNodeAddedHandler (child_added_cb); node.ChildRemoved += new TreeNodeRemovedHandler (child_deleted_cb); for (int i = 0; i < node.ChildCount; i++) AddNodeInternal (node [i]); } public void AddNode (ITreeNode node) { nodes.Add (node); AddNodeInternal (node); EmitRowInserted (node); } public void AddNode (ITreeNode node, int position) { nodes.Insert (position, node); AddNodeInternal (node); EmitRowInserted (node); } public void RemoveNode (ITreeNode node) { int idx = nodes.IndexOf (node); if (idx < 0) return; nodes.Remove (node); RemoveNodeInternal (node); TreePath path = new TreePath (); path.AppendIndex (idx); gtksharp_node_store_emit_row_deleted (Handle, path.Handle); } public void Clear () { while (nodes.Count > 0) RemoveNode (nodes [0]); } private ITreeNode GetNodeAtPath (TreePath path) { int[] indices = path.Indices; if (indices[0] >= Nodes.Count) return null; ITreeNode node = Nodes [indices [0]] as ITreeNode; int i; for (i = 1; i < path.Depth; i++) { if (indices [i] >= node.ChildCount) return null; node = node [indices [i]]; } return node; } public ITreeNode GetNode (TreePath path) { if (path == null) throw new ArgumentNullException (); return GetNodeAtPath (path); } internal ITreeNode GetNode (TreeIter iter) { return node_hash [(int) iter.UserData] as ITreeNode; } internal TreePath GetPath (ITreeNode node) { TreePath path = new TreePath (); int idx; while (node.Parent != null) { idx = node.Parent.IndexOf (node); if (idx < 0) throw new Exception ("Badly formed tree"); path.PrependIndex (idx); node = node.Parent; } idx = Nodes.IndexOf (node); if (idx < 0) throw new Exception ("Node not found in Nodes list"); path.PrependIndex (idx); path.Owned = false; return path; } internal TreeIter GetIter (ITreeNode node) { TreeIter iter = new TreeIter (); iter.UserData = new IntPtr (node.ID); return iter; } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_node_store_get_type (); public static new GLib.GType GType { get { return new GLib.GType (gtksharp_node_store_get_type ()); } } public IEnumerator GetEnumerator () { return nodes.GetEnumerator (); } } } gtk-sharp-2.12.40/gtk/Viewport.custom0000664000175000017500000000154312767740470014364 00000000000000// Customizations for Viewport. // Author: Lee Mallabone // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. // Make a default constructor that wraps typical usage. public Viewport (): this (null, null) { } gtk-sharp-2.12.40/gtk/Global.custom0000664000175000017500000000353012767740470013743 00000000000000// Global.custom - customizations to Gtk.Global // // Authors: Marius Ungureanu // // Copyright (c) 2016 Microsoft // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool gtk_parse_args(ref int argc, ref IntPtr argv); public static bool ParseArgs(ref int argc, ref string[] argv) { GLib.Argv a = new GLib.Argv (argv); IntPtr buf = a.Handle; bool ret = gtk_parse_args (ref argc, ref buf); argv = a.GetArgs (argc); return ret; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr gtk_get_current_event(); [DllImport ("libgdk-win32-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void gdk_event_free (IntPtr raw); public static Gdk.Event CurrentEvent { get { IntPtr raw_ret = gtk_get_current_event(); Gdk.Event ret = Gdk.Event.GetEvent (raw_ret); gdk_event_free (raw_ret); return ret; } } gtk-sharp-2.12.40/gtk/Timeout.cs0000664000175000017500000000403112767740470013261 00000000000000// Gtk.Timeout.cs - Gtk Timeout implementation. // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; using System.Runtime.InteropServices; [Obsolete ("Replaced by GLib.Timeout")] public class Timeout { [Obsolete ("Replaced by GLib.Source.Remove")] public static void Remove (uint timeout_handler_id) { GLib.Source.Remove (timeout_handler_id); } [Obsolete ("Replaced by GLib.Timeout.Add")] public static uint AddFull (uint interval, Gtk.Function function, Gtk.CallbackMarshal marshal, IntPtr data, Gtk.DestroyNotify destroy) { if (marshal != null || destroy != null) Console.WriteLine ("marshal, data, and destroy parameters ignored by Gtk.Timeout.AddFull ()."); return Add (interval, function); } class GTimeoutProxy { GLib.TimeoutHandler handler; Function function; public GTimeoutProxy (Gtk.Function function) { this.function = function; handler = new GLib.TimeoutHandler (Invoke); } public GLib.TimeoutHandler Handler { get { return handler; } } bool Invoke () { return function (); } } [Obsolete ("Replaced by GLib.Timeout.Add")] public static uint Add (uint interval, Gtk.Function function) { GTimeoutProxy proxy = new GTimeoutProxy (function); return GLib.Timeout.Add (interval, proxy.Handler); } } } gtk-sharp-2.12.40/gtk/Calendar.custom0000664000175000017500000000352112767740470014254 00000000000000// Gtk.Calendar.Custom - Gtk Calendar class customizations // // Author: // Gonzalo Paniagua Javier (gonzalo@ximian.com) // // Copyright (c) 2003 Ximian, Inc. (http://www.ximian.com) // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public DateTime GetDate () { uint year, month, day; GetDate (out year, out month, out day); DateTime result; try { result = new DateTime ((int) year, (int) month + 1, (int) day); } catch (ArgumentOutOfRangeException) { // Kluge to workaround GtkCalendar being in an invalid state // when raising month_changed signals, like in bug #78524. result = new DateTime ((int) year, (int) month + 1, DateTime.DaysInMonth ((int) year, (int) month + 1)); } return result; } // This defines a Date property for Calendar // Note that the setter causes CalendarChange events to be fired public DateTime Date { get { return this.GetDate(); } set { uint month= (uint) value.Month-1; uint year= (uint) value.Year; uint day = (uint) value.Day; SelectMonth(month,year); SelectDay(day); } } gtk-sharp-2.12.40/gtk/CellLayout.custom0000664000175000017500000000157512767740470014627 00000000000000// Gtk.CellLayout.custom - Gtk CellLayout customizations // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. void SetAttributes (CellRenderer renderer, object[] attrs); gtk-sharp-2.12.40/gtk/Label.custom0000664000175000017500000000153012767740470013560 00000000000000// // Gtk.Label.custom // // This code is inserted after the automatically generated code. // // Author: John Luke // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public Label () : this (null) {} gtk-sharp-2.12.40/gtk/FileChooser.custom0000664000175000017500000000160312767740470014744 00000000000000// Gtk.FileChooser.custom - Gtk FileChooser customizations // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. string[] Filenames { get; } string[] ShortcutFolders { get; } gtk-sharp-2.12.40/gtk/TextBuffer.custom0000664000175000017500000002007312767740470014622 00000000000000// TextBuffer.custom - customizations to Gtk.TextBuffer. // // Authors: Mike Kestner // // Copyright (c) 2004-2006 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_text_buffer_set_text (IntPtr raw, IntPtr text, int len); #if !GTK_SHARP_2_8 public string Text { get { return GetText (StartIter, EndIter, false); } set { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (value); gtk_text_buffer_set_text (Handle, native, -1); GLib.Marshaller.Free (native); } } #endif public void Clear () { Gtk.TextIter start = StartIter, end = EndIter; Delete (ref start, ref end); } [Obsolete ("Replaced by 'ref TextIter, ref TextIter' overload")] public void Delete (TextIter start, TextIter end ) { Delete (ref start, ref end); } // overload to paste clipboard contents at cursor editable by default. public void PasteClipboard (Gtk.Clipboard clipboard) { gtk_text_buffer_paste_clipboard(Handle, clipboard.Handle, IntPtr.Zero, true); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_text_buffer_insert (IntPtr raw, ref Gtk.TextIter iter, IntPtr text, int len); [Obsolete ("Replaced by 'ref TextIter iter' overload")] public void Insert (TextIter iter, string text) { Insert (ref iter, text); } public void Insert (ref Gtk.TextIter iter, string text) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (text); gtk_text_buffer_insert (Handle, ref iter, native, -1); GLib.Marshaller.Free (native); } [Obsolete ("Replaced by 'ref TextIter iter' overload")] public void InsertRange (TextIter iter, TextIter start, TextIter end ) { InsertRange (ref iter, start, end); } [Obsolete ("Replaced by 'ref TextIter iter' overload")] public void InsertWithTags (TextIter iter, string text, params TextTag[] tags) { InsertWithTags (ref iter, text, tags); } public void InsertWithTags (ref TextIter iter, string text, params TextTag[] tags) { TextIter start; int offset = iter.Offset; Insert (ref iter, text); start = GetIterAtOffset (offset); iter = GetIterAtOffset (offset + text.Length); foreach (TextTag t in tags) this.ApplyTag (t, start, iter); } public void InsertWithTagsByName (ref TextIter iter, string text, params string[] tagnames) { TextIter start; int offset = iter.Offset; Insert (ref iter, text); start = GetIterAtOffset (offset); iter = GetIterAtOffset (offset + text.Length); foreach (string tagname in tagnames) { TextTag tag = TagTable.Lookup (tagname); if (tag != null) this.ApplyTag (tag, start, iter); } } [Obsolete("Use the TextBuffer.Text property's setter")] public void SetText (string text) { Text = text; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_text_buffer_insert_interactive(IntPtr raw, ref Gtk.TextIter iter, IntPtr text, int len, bool default_editable); public bool InsertInteractive(ref Gtk.TextIter iter, string text, bool default_editable) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (text); bool result = gtk_text_buffer_insert_interactive(Handle, ref iter, native, -1, default_editable); GLib.Marshaller.Free (native); return result; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_text_buffer_insert_interactive_at_cursor(IntPtr raw, IntPtr text, int len, bool default_editable); public bool InsertInteractiveAtCursor(string text, bool default_editable) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (text); bool result = gtk_text_buffer_insert_interactive_at_cursor(Handle, native, -1, default_editable); GLib.Marshaller.Free (native); return result; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_text_buffer_insert_at_cursor(IntPtr raw, IntPtr text, int len); public void InsertAtCursor(string text) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (text); gtk_text_buffer_insert_at_cursor(Handle, native, -1); GLib.Marshaller.Free (native); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_text_buffer_serialize (IntPtr raw, IntPtr content_buffer, IntPtr format, ref Gtk.TextIter start, ref Gtk.TextIter end, out UIntPtr length); public byte[] Serialize(Gtk.TextBuffer content_buffer, Gdk.Atom format, Gtk.TextIter start, Gtk.TextIter end) { UIntPtr length; IntPtr raw_ret = gtk_text_buffer_serialize (Handle, content_buffer == null ? IntPtr.Zero : content_buffer.Handle, format == null ? IntPtr.Zero : format.Handle, ref start, ref end, out length); if (raw_ret == IntPtr.Zero) return new byte [0]; int sz = (int) (uint) length; byte[] ret = new byte [sz]; Marshal.Copy (raw_ret, ret, 0, sz); GLib.Marshaller.Free (raw_ret); return ret; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_text_buffer_get_serialize_formats(IntPtr raw, out int n_formats); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_text_buffer_get_deserialize_formats(IntPtr raw, out int n_formats); public Gdk.Atom[] DeserializeFormats { get { int n_formats; IntPtr raw_ret = gtk_text_buffer_get_deserialize_formats(Handle, out n_formats); Gdk.Atom[] result = new Gdk.Atom [n_formats]; for (int i = 0; i < n_formats; i++) { IntPtr format = Marshal.ReadIntPtr (raw_ret, i * IntPtr.Size); result [i] = format == IntPtr.Zero ? null : (Gdk.Atom) GLib.Opaque.GetOpaque (format, typeof (Gdk.Atom), false); } GLib.Marshaller.Free (raw_ret); return result; } } public Gdk.Atom[] SerializeFormats { get { int n_formats; IntPtr raw_ret = gtk_text_buffer_get_serialize_formats(Handle, out n_formats); Gdk.Atom[] result = new Gdk.Atom [n_formats]; for (int i = 0; i < n_formats; i++) { IntPtr format = Marshal.ReadIntPtr (raw_ret, i * IntPtr.Size); result [i] = format == IntPtr.Zero ? null : (Gdk.Atom) GLib.Opaque.GetOpaque (format, typeof (Gdk.Atom), false); } GLib.Marshaller.Free (raw_ret); return result; } } // This is directly copied from the old generated/TextBuffer.cs // It is no longer generated due to the manual implementation of TextBufferSerializeFunc // See https://bugzilla.novell.com/show_bug.cgi?id=555495 and textbuffer-serializefunc.patch [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_text_buffer_register_serialize_format(IntPtr raw, IntPtr mime_type, GtkSharp.TextBufferSerializeFuncNative function, IntPtr user_data, GLib.DestroyNotify user_data_destroy); public Gdk.Atom RegisterSerializeFormat(string mime_type, Gtk.TextBufferSerializeFunc function) { IntPtr native_mime_type = GLib.Marshaller.StringToPtrGStrdup (mime_type); GtkSharp.TextBufferSerializeFuncWrapper function_wrapper = new GtkSharp.TextBufferSerializeFuncWrapper (function); IntPtr user_data; GLib.DestroyNotify user_data_destroy; if (function == null) { user_data = IntPtr.Zero; user_data_destroy = null; } else { user_data = (IntPtr) GCHandle.Alloc (function_wrapper); user_data_destroy = GLib.DestroyHelper.NotifyHandler; } IntPtr raw_ret = gtk_text_buffer_register_serialize_format(Handle, native_mime_type, function_wrapper.NativeDelegate, user_data, user_data_destroy); Gdk.Atom ret = raw_ret == IntPtr.Zero ? null : (Gdk.Atom) GLib.Opaque.GetOpaque (raw_ret, typeof (Gdk.Atom), false); GLib.Marshaller.Free (native_mime_type); return ret; } gtk-sharp-2.12.40/gtk/SpinButton.custom0000664000175000017500000000305512767740470014652 00000000000000// Gtk.SpinButton.custom - Gtk SpinButton class customizations // // Author: Mike Kestner // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_spin_button_new_with_range (double min, double max, double step); public SpinButton (double min, double max, double step) : base (IntPtr.Zero) { if (GetType() != typeof (SpinButton)) { Adjustment adj = new Adjustment (min, min, max, step, 10 * step, 0); var names = new IntPtr [1]; GLib.Value[] vals = new GLib.Value [1]; names [0] = GLib.Marshaller.StringToPtrGStrdup ("adjustment"); vals [0] = new GLib.Value (adj); CreateNativeObject (names, vals, 1); return; } Raw = gtk_spin_button_new_with_range (min, max, step); } gtk-sharp-2.12.40/gtk/Makefile.in0000664000175000017500000007343512767740506013367 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = gtk ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = gtk-sharp-2.0.pc gtk-sharp.dll.config CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(gapidir)" "$(DESTDIR)$(pkgconfigdir)" DATA = $(gapi_DATA) $(noinst_DATA) $(pkgconfig_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/gtk-sharp-2.0.pc.in \ $(srcdir)/gtk-sharp.dll.config.in \ $(top_srcdir)/Makefile.include DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = . glue @ENABLE_MONO_CAIRO_FALSE@local_mono_cairo = @ENABLE_MONO_CAIRO_TRUE@local_mono_cairo = $(top_builddir)/cairo/Mono.Cairo.dll pkg = gtk pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = gtk-sharp-2.0.pc SYMBOLS = gtk-symbols.xml INCLUDE_API = $(top_srcdir)/glib/glib-api.xml $(top_builddir)/pango/pango-api.xml $(top_builddir)/atk/atk-api.xml $(top_builddir)/gdk/gdk-api.xml METADATA = Gtk.metadata references = $(top_builddir)/glib/glib-sharp.dll $(top_builddir)/pango/pango-sharp.dll $(top_builddir)/atk/atk-sharp.dll $(top_builddir)/gdk/gdk-sharp.dll $(local_mono_cairo) glue_includes = gtk/gtk.h sources = \ ActionEntry.cs \ Application.cs \ BindingAttribute.cs \ ChildPropertyAttribute.cs \ ITreeNode.cs \ Key.cs \ MoveFocusHandler.cs \ NodeCellDataFunc.cs \ NodeSelection.cs \ NodeStore.cs \ NodeView.cs \ RadioActionEntry.cs \ RowsReorderedHandler.cs \ StockManager.cs \ TextBufferSerializeFunc.cs \ GtkSharp.TextBufferSerializeFuncNative.cs \ ThreadNotify.cs \ ToggleActionEntry.cs \ Timeout.cs \ TreeEnumerator.cs \ TreeNodeAttribute.cs \ TreeNode.cs \ TreeNodeValueAttribute.cs customs = \ AboutDialog.custom \ Accel.custom \ AccelKey.custom \ Action.custom \ ActionGroup.custom \ Adjustment.custom \ Bin.custom \ Builder.custom \ Button.custom \ Calendar.custom \ CellRenderer.custom \ CellRendererAccel.custom \ CellRendererCombo.custom \ CellRendererPixbuf.custom \ CellRendererProgress.custom \ CellRendererSpin.custom \ CellRendererText.custom \ CellRendererToggle.custom \ CellLayout.custom \ CellLayoutAdapter.custom \ CellView.custom \ CheckMenuItem.custom \ Clipboard.custom \ ColorSelection.custom \ ColorSelectionDialog.custom \ Combo.custom \ ComboBox.custom \ ComboBoxEntry.custom \ Container.custom \ Dialog.custom \ Drag.custom \ Entry.custom \ EntryCompletion.custom \ FileChooser.custom \ FileChooserButton.custom \ FileChooserDialog.custom \ FileChooserWidget.custom \ FileSelection.custom \ Frame.custom \ Global.custom \ HBox.custom \ HScale.custom \ IconFactory.custom \ IconSet.custom \ IconTheme.custom \ IconView.custom \ Image.custom \ ImageMenuItem.custom \ Init.custom \ Input.custom \ ItemFactory.custom \ Label.custom \ ListStore.custom \ MessageDialog.custom \ Menu.custom \ MenuItem.custom \ Notebook.custom \ Object.custom \ Plug.custom \ PrintContext.custom \ PrintSettings.custom \ Printer.custom \ RadioButton.custom \ RadioMenuItem.custom \ RadioToolButton.custom \ ScrolledWindow.custom \ SelectionData.custom \ Settings.custom \ SpinButton.custom \ StatusIcon.custom \ Stock.custom \ StockItem.custom \ Style.custom \ Table.custom \ TargetEntry.custom \ TargetList.custom \ TargetPair.custom \ TextAttributes.custom \ TextAppearance.custom \ TextBuffer.custom \ TextChildAnchor.custom \ TextIter.custom \ TextMark.custom \ TextTag.custom \ TextView.custom \ Toolbar.custom \ TooltipsData.custom \ TreeIter.custom \ TreeModel.custom \ TreeModelAdapter.custom \ TreeModelFilter.custom \ TreeModelSort.custom \ TreePath.custom \ TreeSelection.custom \ TreeSortable.custom \ TreeSortableAdapter.custom \ TreeStore.custom \ TreeViewColumn.custom \ TreeView.custom \ UIManager.custom \ VBox.custom \ VScale.custom \ Viewport.custom \ Widget.custom \ Window.custom add_dist = gtk-sharp-2.0.pc.in SNK = gtk-sharp.snk API = $(pkg)-api.xml RAW_API = $(pkg)-api.raw ASSEMBLY_NAME = $(pkg)-sharp ASSEMBLY = $(ASSEMBLY_NAME).dll TARGET = $(pkg:=-sharp.dll) $(pkg:=-sharp.dll.config) $(POLICY_ASSEMBLIES) noinst_DATA = $(TARGET) TARGET_API = $(pkg:=-api.xml) gapidir = $(datadir)/gapi-2.0 gapi_DATA = $(TARGET_API) CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(POLICY_ASSEMBLIES) generated-stamp generated/*.cs $(API) glue/generated.c $(SNK) AssemblyInfo.cs $(POLICY_CONFIGS) DISTCLEANFILES = $(ASSEMBLY).config POLICY_ASSEMBLIES = $(addsuffix .$(ASSEMBLY), $(addprefix policy., $(POLICY_VERSIONS))) POLICY_CONFIGS = $(addsuffix .config, $(addprefix policy., $(POLICY_VERSIONS))) EXTRA_DIST = $(RAW_API) $(SYMBOLS) $(ASSEMBLY).config.in $(METADATA) $(customs) $(sources) $(add_dist) build_symbols = $(addprefix --symbols=$(srcdir)/, $(SYMBOLS)) build_customs = $(addprefix $(srcdir)/, $(customs)) api_includes = $(addprefix -I:, $(INCLUDE_API)) build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs build_references = $(addprefix -r:, $(references)) $(MONO_CAIRO_LIBS) all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.include $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign gtk/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign gtk/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_srcdir)/Makefile.include $(am__empty): $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): gtk-sharp-2.0.pc: $(top_builddir)/config.status $(srcdir)/gtk-sharp-2.0.pc.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ gtk-sharp.dll.config: $(top_builddir)/config.status $(srcdir)/gtk-sharp.dll.config.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-gapiDATA: $(gapi_DATA) @$(NORMAL_INSTALL) @list='$(gapi_DATA)'; test -n "$(gapidir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(gapidir)'"; \ $(MKDIR_P) "$(DESTDIR)$(gapidir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(gapidir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(gapidir)" || exit $$?; \ done uninstall-gapiDATA: @$(NORMAL_UNINSTALL) @list='$(gapi_DATA)'; test -n "$(gapidir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(gapidir)'; $(am__uninstall_files_from_dir) install-pkgconfigDATA: $(pkgconfig_DATA) @$(NORMAL_INSTALL) @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ done uninstall-pkgconfigDATA: @$(NORMAL_UNINSTALL) @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir) # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(DATA) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(gapidir)" "$(DESTDIR)$(pkgconfigdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-data-local install-gapiDATA \ install-pkgconfigDATA install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-gapiDATA uninstall-local \ uninstall-pkgconfigDATA .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am \ install-data-local install-dvi install-dvi-am install-exec \ install-exec-am install-gapiDATA install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-pkgconfigDATA install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am tags tags-am uninstall uninstall-am \ uninstall-gapiDATA uninstall-local uninstall-pkgconfigDATA .PRECIOUS: Makefile $(API): $(METADATA) $(RAW_API) $(SYMBOLS) $(top_builddir)/parser/gapi-fixup.exe cp $(srcdir)/$(RAW_API) $(API) chmod u+w $(API) @if test -n '$(METADATA)'; then \ echo "$(RUNTIME) $(top_builddir)/parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA) $(build_symbols)"; \ $(RUNTIME) $(top_builddir)/parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA) $(build_symbols); \ fi generated-stamp: $(API) $(INCLUDE_API) $(top_builddir)/generator/gapi_codegen.exe $(build_customs) rm -f generated/* && \ $(RUNTIME) $(top_builddir)/generator/gapi_codegen.exe --generate $(API) \ $(api_includes) \ --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \ --gluelib-name=$(pkg)sharpglue-2 --glue-filename=glue/generated.c \ --glue-includes=$(glue_includes) \ && touch generated-stamp $(SNK): $(top_srcdir)/$(SNK) cp $(top_srcdir)/$(SNK) . AssemblyInfo.cs: $(top_builddir)/AssemblyInfo.cs cp $(top_builddir)/AssemblyInfo.cs . policy.%.config: $(top_builddir)/policy.config sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$*/" $(top_builddir)/policy.config > $@ $(POLICY_ASSEMBLIES) : policy.%.$(ASSEMBLY): policy.%.config $(SNK) $(AL) -link:policy.$*.config -version:$* -out:$@ -keyfile:$(SNK) $(ASSEMBLY): generated-stamp $(SNK) $(build_sources) $(references) @rm -f $(ASSEMBLY).mdb $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -unsafe -out:$(ASSEMBLY) -target:library $(build_references) $(GENERATED_SOURCES) $(build_sources) install-data-local: @if test -n '$(pkg)'; then \ echo "$(GACUTIL) -i $(ASSEMBLY) -f $(GACUTIL_FLAGS)"; \ $(GACUTIL) -i $(ASSEMBLY) -f $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) -i policy.$$i.$(ASSEMBLY) -f $(GACUTIL_FLAGS)"; \ $(GACUTIL) -i policy.$$i.$(ASSEMBLY) -f $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi uninstall-local: @if test -n '$(pkg)'; then \ echo "$(GACUTIL) -u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) -u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/gtk/gtk-symbols.xml0000664000175000017500000000015312654353766014305 00000000000000 gtk-sharp-2.12.40/gtk/Key.cs0000664000175000017500000000336612767740470012375 00000000000000// Key.cs - Key class implementation // // Author: Mike Kestner // // Copyright (c) 2008 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; using System.Collections; using System.Runtime.InteropServices; public class Key { static Hashtable wrappers = new Hashtable (); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern uint gtk_key_snooper_install (GtkSharp.KeySnoopFuncNative snooper, IntPtr func_data); public static uint SnooperInstall (Gtk.KeySnoopFunc snooper) { GtkSharp.KeySnoopFuncWrapper snooper_wrapper = new GtkSharp.KeySnoopFuncWrapper (snooper); uint ret = gtk_key_snooper_install (snooper_wrapper.NativeDelegate, IntPtr.Zero); wrappers [ret] = snooper_wrapper; return ret; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_key_snooper_remove (uint snooper_handler_id); public static void SnooperRemove (uint snooper_handler_id) { gtk_key_snooper_remove(snooper_handler_id); wrappers.Remove (snooper_handler_id); } } } gtk-sharp-2.12.40/gtk/NodeSelection.cs0000664000175000017500000000731612767740470014377 00000000000000// NodeSelection.cs - a TreeSelection implementation that exposes ITreeNodes // // Author: Duncan Mak (duncan@ximian.com) // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; public class NodeSelection { private TreeSelection selection; public event EventHandler Changed; internal NodeSelection (TreeSelection selection) { this.selection = selection; selection.Changed += new EventHandler (ChangedHandler); } private void ChangedHandler (object o, EventArgs args) { if (Changed != null) Changed (this, args); } public bool NodeIsSelected (ITreeNode node) { return selection.IterIsSelected (NodeView.NodeStore.GetIter (node)); } public bool PathIsSelected (TreePath path) { return selection.PathIsSelected (path); } public void SelectAll () { selection.SelectAll (); } public void SelectNode (ITreeNode node) { selection.SelectIter (NodeView.NodeStore.GetIter (node)); } public void SelectPath (TreePath path) { selection.SelectPath (path); } public void SelectRange (ITreeNode begin_node, ITreeNode end_node) { TreePath begin = NodeView.NodeStore.GetPath (begin_node); TreePath end = NodeView.NodeStore.GetPath (end_node); selection.SelectRange (begin, end); } public void UnselectAll () { selection.UnselectAll (); } public void UnselectNode (ITreeNode node) { selection.UnselectIter (NodeView.NodeStore.GetIter (node)); } public void UnselectPath (TreePath path) { selection.UnselectPath (path); } public void UnselectRange (TreePath begin, TreePath end) { selection.UnselectRange (begin, end); } public void UnselectRange (ITreeNode begin_node, ITreeNode end_node) { TreePath begin = NodeView.NodeStore.GetPath (begin_node); TreePath end = NodeView.NodeStore.GetPath (end_node); selection.UnselectRange (begin, end); } public SelectionMode Mode { get { return selection.Mode; } set { selection.Mode = value; } } public NodeView NodeView { get { return selection.TreeView as NodeView; } } public ITreeNode[] SelectedNodes { get { TreePath [] paths = selection.GetSelectedRows (); int length = paths.Length; ITreeNode [] results = new ITreeNode [length]; for (int i = 0; i < length; i++) results [i] = NodeView.NodeStore.GetNode (paths [i]); return results; } } public ITreeNode SelectedNode { get { if (Mode == SelectionMode.Multiple) throw new InvalidOperationException ("SelectedNode is not valid with multi-selection mode"); ITreeNode [] sn = SelectedNodes; if (sn.Length == 0) return null; return sn [0]; } set { // with multiple mode, the behavior // here would be unclear. Does it just // select the `value' node or does it // make the `value' node the only // selected node. if (Mode == SelectionMode.Multiple) throw new InvalidOperationException ("SelectedNode is not valid with multi-selection mode"); SelectNode (value); } } } } gtk-sharp-2.12.40/gtk/TreePath.custom0000664000175000017500000000242112767740470014255 00000000000000// // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. // Patch submitted by malte on bug #49518 [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_tree_path_get_indices(IntPtr raw); public int [] Indices { get { IntPtr ptr = gtk_tree_path_get_indices(Handle); int [] arr = new int [Depth]; Marshal.Copy (ptr, arr, 0, Depth); return arr; } } public TreePath (int[] indices) : this () { foreach (int i in indices) AppendIndex (i); } public override bool Equals (object o) { if (!(o is TreePath)) return false; return (Compare (o as TreePath) == 0); } gtk-sharp-2.12.40/gtk/Gtk.metadata0000664000175000017500000034454412767740470013553 00000000000000 GDestroyNotify GDestroyNotify GdkKey Key GdkModifierType GtkAccelFlags 1 1 1 1 1 1 1 true 1 1 1 1 true true GtkPaperSize* true true out const-gchar** out 1 1 public public public public public 1 1 1 1 guchar 1 call out 1 call out 1 1 1 1 1 1 1 1 1 true 1 1 1 ref 1 1 1 GdkModifierType BindingsActivate 1 1 1 1 gboolean GetEventsPending 1 const-gchar* 1 1 1 1 n_points 1 1 GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* GdkDrawable* 1 1 1 1 1 1 1 async 1 1 true 1 true true 1 1 1 1 out out true 1 1 1 1 1 1 1 1 1 1 1 1 App Widget UInt32.MaxValue-0U UInt32.MaxValue-1U UInt32.MaxValue-2U 1 1 1 1 FinishEditing WidgetRemoved GtkCellRenderer* true 1 GetIsEditable ref SetIsEditable TextDeleted ref TextInserted DeleteText InsertText ref SelectRegion 1 1 true gfilename* true gfilename* true 1 true gfilename* const-gfilename* const-gfilename* gchar* true true GetFilters GtkFileFilter* true true 1 GetShortcutFolderUris gchar* true true true true true true true true GetFilenames gfilename* true true GetFilters gchar* true true GetShortcutFolders gchar* true true 1 call out 1 out out true ref out ref out out EmitRowChanged EmitRowDeleted EmitRowHasChildToggled EmitRowInserted EmitRowsReordered 1 1 ChangeSortColumn 1 label 1 1 1 1 1 1 Activated 1 1 call accel_group acceleratable keyval modifier call call true true MapChanged map accel_path accel_key accel_mods Add 1 1 Add 1 1 1 1 1 Remove action_group action proxy action_group action proxy action_group action action_group action 1 Change ChangeValue 1 1 1 PackEnd PackStart 1 const-gfilename* 1 1 GetErrorQuark true GObject* 1 1 1 true 1 public true Click Press Release Activated Entered Left SetDisplayOptions CancelEditing 1 1 TextXAlign TextYAlign 1 1 1 EmitToggled async async async async 1 1 out true true 1 1 out 1 out 1 1 1 1 1 1 1 GtkButton* public GtkEntry* 1 out GetTearoffTitle SetTearoffTitle public 1 1 1 1 1 1 1 call call 1 GtkWidget* true 1 1 Added ResizeChecked Removed FocusChildSet 1 1 GtkHButtonBox* VBox GtkVBox* 1 Respond GtkResponseType GtkResponseType GtkResponseType SetAlternativeButtonOrder 1 1 1 1 1 Activated ClipboardCopied ClipboardCut ClipboardPasted PrefixInserted 1 Activated 1 1 GtkHButtonBox* 1 GtkHButtonBox* private GtkButton* GtkTreeView* GtkTreeView* GtkButton* GtkButton* GtkMessageDialog* GtkEntry* GtkButton* GtkButton* private GtkMenu* GtkOptionMenu* MainVBox GtkVBox* GtkButton* GtkEntry* GtkLabel* true const-gfilename* true 1 true const-gfilename* gfilename* GtkButton* public GtkButton* public GtkButton* public 1 1 1 1 true 1 1 true 1 gchar* true true 1 true true true true 1 ActivateItem 1 1 out true out true out true out out true true GtkTreePath* true true out out out out true 1 AllSelected call 1 AllUnselected 1 1 pixbuf_animation true file true 1 1 out out out out out out SetAnimation true SetFile SetPixbuf SurroundingDeleted out out out GtkButton* public GtkButton* public 1 1 GetItem GetWidget GtkDestroyNotify Deselected Selected Toggled 1 label LineWrapMode ScrollAdjustmentsSet 1 1 out out out out 1 1 out ref 1 1 1 1 1 1 1 Activated ToggleSizeAllocated ToggleSizeRequested async call 1 Canceled Deactivated 1 1 1 void void 1 1 1 1 GtkDestroyNotify GtkDestroyNotify GtkDestroyNotify GtkDestroyNotify 1 const-gfilename* const-gfilename* 1 1 IsEmbedded true true 1 GetAcceptsPdf GetAcceptsPs GetHasDetails GetIsActive GetIsDefault GetIsVirtual GtkPageSetup* true true const-gfilename* call const-gfilename* GtkWidget 1 1 1 1 group group 1 1 1 1 1 1 1 1 true true true true true true true true true true 1 1 1 1 1 1 1 private private GetHScrollbar out GetVScrollbar void 1 GtkWidget* 1 true 1 SetStock SetPixbuf SetIconName SetFile 1 out n_columns n_rows Attach 1 1 tag_table ref ApplyTag DeleteMark 1 out 1 out GetInsertMark out out out out out out out 1 out 1 1 1 1 1 1 MoveMark RemoveTag 1 1 TagApplied UserActionBegun UserActionEnded ChildAnchorInserted PixbufInserted TagRemoved 1 ProcessEvent 1 TextEvent call 1 ref ref ref ref true out out out out ref ScrollAdjustmentsSet Toggle 1 Toggle 1 1 1 1 1 1 1 1 1 TooltipSet 1 virtual-root out 1 true true 1 model out out true true out GtkTreePath* true true out call 1 1 1 1 1 1 1 1 1 ref 1 1 1 1 1 1 1 Click 1 1 1 1 1 1 out GtkTreeViewColumn* true out out true out true out out true out GetEnableGridLines out 1 out out out out out true 1 1 call 1 ActivateRow GetRowExpanded SetEnableGridLines ScrollAdjustmentsSet 1 true 1 1 ScrollAdjustmentsSet 1 1 [GLib.TypeInitializer (typeof (Gtk.Widget), "ClassInit")] 1 1 1 true 1 1 1 1 1 out true true 1 1 ProcessEvent out 1 1 1 1 GdkEventMask 1 1 1 1 out GetIsFocus 1 1 out 1 GdkEventMask 1 1 out 1 1 1 1 AccelCanActivate ChildNotified drag_context drag_result WidgetEvent widget event WidgetEventAfter Focused FocusGrabbed Hidden Mapped MnemonicActivated Realized HelpShown Shown SizeAllocated SizeRequested ref Unmapped Unrealized 1 1 out 1 out out 1 1 GtkWindow* true true 1 true 1 1 DefaultActivated FocusActivated 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 GtkTargetFlags 1 private 1 n_targets PangoUnderline 1 1 1 1 1 1 1 1 1 /api/namespace/class[@cname='GtkGlobal'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] /api/namespace/object[@cname='GtkStyle'] 1 true 1 true 1 true 1 true 1 1 1 1 true true true 1 out true true true true true true 1 true true true false false 1 1 gtk-sharp-2.12.40/gtk/FileChooserButton.custom0000664000175000017500000000474012767740470016145 00000000000000// Gtk.FileChooserButton.custom - Gtk FileChooserButton customizations // // Authors: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. bool IsWindowsPlatform { get { switch (Environment.OSVersion.Platform) { case PlatformID.Win32NT: case PlatformID.Win32S: case PlatformID.Win32Windows: case PlatformID.WinCE: return true; default: return false; } } } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_file_chooser_get_filenames (IntPtr raw); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_file_chooser_get_filenames_utf8 (IntPtr raw); public string[] Filenames { get { IntPtr raw_ret; if (IsWindowsPlatform) raw_ret = gtk_file_chooser_get_filenames_utf8 (Handle); else raw_ret = gtk_file_chooser_get_filenames (Handle); GLib.SList list = new GLib.SList (raw_ret, typeof (GLib.ListBase.FilenameString), true, true); return GLib.Marshaller.ListToArray (list); } } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_file_chooser_list_shortcut_folders (IntPtr raw); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_file_chooser_list_shortcut_folders_utf8 (IntPtr raw); public string[] ShortcutFolders { get { IntPtr raw_ret; if (IsWindowsPlatform) raw_ret = gtk_file_chooser_list_shortcut_folders_utf8 (Handle); else raw_ret = gtk_file_chooser_list_shortcut_folders (Handle); GLib.SList list = new GLib.SList (raw_ret, typeof (GLib.ListBase.FilenameString), true, true); return GLib.Marshaller.ListToArray (list); } } gtk-sharp-2.12.40/gtk/TextView.custom0000664000175000017500000000737712767740470014337 00000000000000// Gtk.TextView.custom - Gtk TextView class customizations // // Author: Mike Kestner // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_text_view_new_with_buffer (IntPtr buffer); public TextView (TextBuffer buffer) : base (IntPtr.Zero) { if (GetType() != typeof (TextView)) { CreateNativeObject (new IntPtr [0], new GLib.Value [0], 0); Buffer = buffer; return; } Raw = gtk_text_view_new_with_buffer (buffer.Handle); } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void MoveFocusSignalDelegate (IntPtr arg0, int arg1, IntPtr gch); static void MoveFocusSignalCallback (IntPtr arg0, int arg1, IntPtr gch) { Gtk.MoveFocusArgs args = new Gtk.MoveFocusArgs (); try { GLib.Signal sig = ((GCHandle) gch).Target as GLib.Signal; if (sig == null) throw new Exception("Unknown signal GC handle received " + gch); args.Args = new object[1]; args.Args[0] = (Gtk.DirectionType) arg1; Gtk.MoveFocusHandler handler = (Gtk.MoveFocusHandler) sig.Handler; handler (GLib.Object.GetObject (arg0), args); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void MoveFocusVMDelegate (IntPtr text_view, int direction); static MoveFocusVMDelegate MoveFocusVMCallback; static void movefocus_cb (IntPtr text_view, int direction) { try { TextView text_view_managed = GLib.Object.GetObject (text_view, false) as TextView; text_view_managed.OnMoveFocus ((Gtk.DirectionType) direction); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } private static void OverrideMoveFocus (GLib.GType gtype) { if (MoveFocusVMCallback == null) MoveFocusVMCallback = new MoveFocusVMDelegate (movefocus_cb); OverrideVirtualMethod (gtype, "move_focus", MoveFocusVMCallback); } [Obsolete ("Replaced by keybinding signal on Gtk.Widget")] [GLib.DefaultSignalHandler(Type=typeof(Gtk.TextView), ConnectionMethod="OverrideMoveFocus")] protected virtual void OnMoveFocus (Gtk.DirectionType direction) { GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (2); using (var val0 = new GLib.Value (this)) { inst_and_params.Append (val0); using (var val1 = new GLib.Value (direction)) { inst_and_params.Append (val1); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); } } } [Obsolete ("Replaced by keybinding signal on Gtk.Widget")] [GLib.Signal("move_focus")] public event Gtk.MoveFocusHandler MoveFocus { add { GLib.Signal sig = GLib.Signal.Lookup (this, "move_focus", new MoveFocusSignalDelegate(MoveFocusSignalCallback)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (this, "move_focus", new MoveFocusSignalDelegate(MoveFocusSignalCallback)); sig.RemoveDelegate (value); } } gtk-sharp-2.12.40/gtk/ComboBoxEntry.custom0000664000175000017500000000205312767740470015274 00000000000000// Gtk.ComboBoxEntry.custom - Gtk ComboBoxEntry customizations // // Authors: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public ComboBoxEntry (string[] entries) : this (new ListStore (typeof (string)), 0) { foreach (string entry in entries) AppendText (entry); } public Gtk.Entry Entry { get { return (Gtk.Entry)Child; } } gtk-sharp-2.12.40/gtk/TreeIter.custom0000664000175000017500000000303612767740470014267 00000000000000// // To avoid ValueType.Equals which is slow // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public override int GetHashCode () { return Stamp ^ (int) _user_data ^ (int) _user_data2 ^ (int) _user_data3; } public override bool Equals (object o) { if (o == null) return false; if (!(o is TreeIter)) return false; TreeIter ti = (TreeIter) o; return ti.Stamp == Stamp && ti._user_data == _user_data && ti._user_data2 == _user_data2 && ti._user_data3 == _user_data3; } public IntPtr UserData { get { return _user_data; } set { _user_data = value; } } gtk-sharp-2.12.40/gtk/CellRendererAccel.custom0000664000175000017500000000354012767740470016042 00000000000000// // CellRendererAccel.custom - Gtk CellRendererAccel class customizations // // Author: Peter Johanson // // Copyright (C) 2007 Peter Johanson // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public override void GetSize (Gtk.Widget widget, ref Gdk.Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height) { CellRenderer.InternalGetSize (Gtk.CellRendererAccel.GType, this, widget, ref cell_area, out x_offset, out y_offset, out width, out height); } protected override void Render (Gdk.Drawable window, Gtk.Widget widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gdk.Rectangle expose_area, Gtk.CellRendererState flags) { CellRenderer.InternalRender (Gtk.CellRendererAccel.GType, this, window, widget, background_area, cell_area, expose_area, flags); } public override Gtk.CellEditable StartEditing(Gdk.Event evnt, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags) { return Gtk.CellRenderer.InternalStartEditing (Gtk.CellRendererAccel.GType, this, evnt, widget, path, ref background_area, ref cell_area, flags); } gtk-sharp-2.12.40/gtk/TreeViewColumn.custom0000664000175000017500000000615012767740470015454 00000000000000// Gtk.TreeViewColumn.Custom - Gtk TreeViewColumn class customizations // // Author: Rachel Hestilow // // Copyright (c) 2003 Rachel Hestilow // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public void SetAttributes (CellRenderer cell, params object[] attrs) { if (attrs.Length % 2 != 0) throw new ArgumentException ("attrs should contain pairs of attribute/col"); ClearAttributes (cell); for (int i = 0; i < attrs.Length - 1; i += 2) { AddAttribute (cell, (string) attrs [i], (int) attrs [i + 1]); } } private void _NewWithAttributes (string title, Gtk.CellRenderer cell, Array attrs) { Title = title; PackStart (cell, true); for (int i = 0; (i + 1) < attrs.Length; i += 2) { AddAttribute (cell, (string) ((object[])attrs)[i], (int)((object[])attrs)[i + 1]); } } public TreeViewColumn (string title, Gtk.CellRenderer cell, Array attrs) : this () { _NewWithAttributes (title, cell, attrs); } public TreeViewColumn (string title, Gtk.CellRenderer cell, params object[] attrs) : this () { _NewWithAttributes (title, cell, attrs); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_tree_view_column_get_cell_renderers (IntPtr raw); public CellRenderer[] CellRenderers { get { IntPtr raw_ret = gtk_tree_view_column_get_cell_renderers (Handle); if (raw_ret == IntPtr.Zero) return new CellRenderer [0]; return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.List), true, false); } } public void SetCellDataFunc (CellRenderer cell_renderer, NodeCellDataFunc func) { if (func == null) { gtk_tree_view_column_set_cell_data_func (Handle, cell_renderer == null ? IntPtr.Zero : cell_renderer.Handle, (GtkSharp.TreeCellDataFuncNative) null, IntPtr.Zero, null); return; } NodeCellDataFuncWrapper func_wrapper = new NodeCellDataFuncWrapper (func); GCHandle gch = GCHandle.Alloc (func_wrapper); gtk_cell_layout_set_cell_data_func (Handle, cell_renderer == null ? IntPtr.Zero : cell_renderer.Handle, func_wrapper.NativeDelegate, (IntPtr) gch, GLib.DestroyHelper.NotifyHandler); } [Obsolete ("Replaced by SetCellDataFunc (CellRenderer, TreeCellDataFunc) overload")] public void SetCellDataFunc (Gtk.CellRenderer cell_renderer, Gtk.TreeCellDataFunc func, IntPtr func_data, Gtk.DestroyNotify destroy) { SetCellDataFunc (cell_renderer, func); } gtk-sharp-2.12.40/gtk/Container.custom0000664000175000017500000001751412767740470014474 00000000000000// Container.custom - customizations to Gtk.Container // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_container_child_get_property (IntPtr container, IntPtr child, IntPtr property, ref GLib.Value value); public GLib.Value ChildGetProperty (Gtk.Widget child, string property_name) { GLib.Value value = new GLib.Value (); IntPtr native = GLib.Marshaller.StringToPtrGStrdup (property_name); gtksharp_container_child_get_property (Handle, child.Handle, native, ref value); GLib.Marshaller.Free (native); return value; } public IEnumerator GetEnumerator () { return Children.GetEnumerator (); } class ChildAccumulator { public ArrayList Children = new ArrayList (); public void Add (Gtk.Widget widget) { Children.Add (widget); } } public IEnumerable AllChildren { get { ChildAccumulator acc = new ChildAccumulator (); Forall (new Gtk.Callback (acc.Add)); return acc.Children; } } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_container_get_focus_chain (IntPtr raw, out IntPtr list_ptr); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_container_set_focus_chain (IntPtr raw, IntPtr list_ptr); public Widget[] FocusChain { get { IntPtr list_ptr; bool success = gtk_container_get_focus_chain (Handle, out list_ptr); if (!success) return new Widget [0]; return GLib.Marshaller.ListPtrToArray (list_ptr, typeof(GLib.List), true, false); } set { GLib.List list = new GLib.List (IntPtr.Zero, typeof(Widget), true, false); foreach (Widget val in value) list.Append (val.Handle); gtk_container_set_focus_chain (Handle, list.Handle); } } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_container_base_forall (IntPtr handle, bool include_internals, IntPtr cb, IntPtr data); [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_container_override_forall (IntPtr gtype, ForallDelegate cb); [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_container_invoke_gtk_callback (IntPtr cb, IntPtr handle, IntPtr data); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void ForallDelegate (IntPtr container, bool include_internals, IntPtr cb, IntPtr data); static ForallDelegate ForallOldCallback; static ForallDelegate ForallCallback; public struct CallbackInvoker { IntPtr cb; IntPtr data; internal CallbackInvoker (IntPtr cb, IntPtr data) { this.cb = cb; this.data = data; } internal IntPtr Data { get { return data; } } internal IntPtr Callback { get { return cb; } } public void Invoke (Widget w) { gtksharp_container_invoke_gtk_callback (cb, w.Handle, data); } } static void ForallOld_cb (IntPtr container, bool include_internals, IntPtr cb, IntPtr data) { try { //GtkContainer's unmanaged dispose calls forall, but by that time the managed object is gone //so it couldn't do anything useful, and resurrecting it would cause a resurrection cycle. //In that case, just chain to the native base in case it can do something. Container obj = (Container) GLib.Object.TryGetObject (container); if (obj != null) { CallbackInvoker invoker = new CallbackInvoker (cb, data); obj.ForAll (include_internals, invoker); } else { gtksharp_container_base_forall (container, include_internals, cb, data); } } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } static void OverrideForallOld (GLib.GType gtype) { if (ForallOldCallback == null) ForallOldCallback = new ForallDelegate (ForallOld_cb); gtksharp_container_override_forall (gtype.Val, ForallOldCallback); } [Obsolete ("Override the ForAll(bool,Gtk.Callback) method instead")] [GLib.DefaultSignalHandler (Type=typeof(Gtk.Container), ConnectionMethod="OverrideForallOld")] protected virtual void ForAll (bool include_internals, CallbackInvoker invoker) { gtksharp_container_base_forall (Handle, include_internals, invoker.Callback, invoker.Data); } static void Forall_cb (IntPtr container, bool include_internals, IntPtr cb, IntPtr data) { try { //GtkContainer's unmanaged dispose calls forall, but by that time the managed object is gone //so it couldn't do anything useful, and resurrecting it would cause a resurrection cycle. //In that case, just chain to the native base in case it can do something. Container obj = (Container) GLib.Object.TryGetObject (container); if (obj != null) { CallbackInvoker invoker = new CallbackInvoker (cb, data); obj.ForAll (include_internals, new Gtk.Callback (invoker.Invoke)); } else { gtksharp_container_base_forall (container, include_internals, cb, data); } } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } static void OverrideForall (GLib.GType gtype) { if (ForallCallback == null) ForallCallback = new ForallDelegate (Forall_cb); gtksharp_container_override_forall (gtype.Val, ForallCallback); } [GLib.DefaultSignalHandler (Type=typeof(Gtk.Container), ConnectionMethod="OverrideForall")] protected virtual void ForAll (bool include_internals, Gtk.Callback callback) { CallbackInvoker invoker; try { invoker = (CallbackInvoker)callback.Target; } catch { throw new ApplicationException ("ForAll can only be called as \"base.ForAll()\". Use Forall() or Foreach()."); } gtksharp_container_base_forall (Handle, include_internals, invoker.Callback, invoker.Data); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_container_child_type(IntPtr raw); [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_container_override_child_type (IntPtr type, ChildTypeDelegate cb); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr ChildTypeDelegate (IntPtr raw); static ChildTypeDelegate ChildTypeCallback; static IntPtr ChildType_cb (IntPtr raw) { try { Container obj = GLib.Object.GetObject (raw, false) as Container; GLib.GType gtype = obj.ChildType (); return gtype.Val; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return GLib.GType.Invalid.Val; } static void OverrideChildType (GLib.GType gtype) { if (ChildTypeCallback == null) ChildTypeCallback = new ChildTypeDelegate (ChildType_cb); gtksharp_container_override_child_type (gtype.Val, ChildTypeCallback); } [GLib.DefaultSignalHandler (Type=typeof(Gtk.Container), ConnectionMethod="OverrideChildType")] public virtual GLib.GType ChildType() { IntPtr raw_ret = gtk_container_child_type(Handle); GLib.GType ret = new GLib.GType(raw_ret); return ret; } public class ContainerChild { protected Container parent; protected Widget child; public ContainerChild (Container parent, Widget child) { this.parent = parent; this.child = child; } public Container Parent { get { return parent; } } public Widget Child { get { return child; } } } public virtual ContainerChild this [Widget w] { get { return new ContainerChild (this, w); } } gtk-sharp-2.12.40/gtk/ScrolledWindow.custom0000664000175000017500000000202412767740470015477 00000000000000 // // Gtk.ScrolledWindow.custom - Gtk ScrolledWindow class customizations // // Author: Radek Doulik (rodo@ximian.com) // // Copyright (C) 2002 Ximian, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public ScrolledWindow () : this (null, null) { SetPolicy (PolicyType.Automatic, PolicyType.Automatic); } gtk-sharp-2.12.40/gtk/FileChooserWidget.custom0000664000175000017500000000472112767740470016114 00000000000000// Gtk.FileChooserWidget.custom - Gtk FileChooserWidget customizations // // Authors: Todd Berman // // Copyright (c) 2004 Todd Berman // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. bool IsWindowsPlatform { get { switch (Environment.OSVersion.Platform) { case PlatformID.Win32NT: case PlatformID.Win32S: case PlatformID.Win32Windows: case PlatformID.WinCE: return true; default: return false; } } } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_file_chooser_get_filenames (IntPtr raw); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_file_chooser_get_filenames_utf8 (IntPtr raw); public string[] Filenames { get { IntPtr raw_ret; if (IsWindowsPlatform) raw_ret = gtk_file_chooser_get_filenames_utf8 (Handle); else raw_ret = gtk_file_chooser_get_filenames (Handle); GLib.SList list = new GLib.SList (raw_ret, typeof (GLib.ListBase.FilenameString), true, true); return GLib.Marshaller.ListToArray (list); } } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_file_chooser_list_shortcut_folders (IntPtr raw); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_file_chooser_list_shortcut_folders_utf8 (IntPtr raw); public string[] ShortcutFolders { get { IntPtr raw_ret; if (IsWindowsPlatform) raw_ret = gtk_file_chooser_list_shortcut_folders_utf8 (Handle); else raw_ret = gtk_file_chooser_list_shortcut_folders (Handle); GLib.SList list = new GLib.SList (raw_ret, typeof (GLib.ListBase.FilenameString), true, true); return GLib.Marshaller.ListToArray (list); } } gtk-sharp-2.12.40/gtk/AccelKey.custom0000664000175000017500000000152112767740470014221 00000000000000// // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public AccelKey (Gdk.Key key, Gdk.ModifierType mods, Gtk.AccelFlags flags) { this.Key = key; this.AccelMods = mods; this._bitfield0 = 0; this.AccelFlags = flags; } gtk-sharp-2.12.40/gtk/gtk-sharp.dll.config.in0000664000175000017500000000060312767740470015553 00000000000000 gtk-sharp-2.12.40/gtk/TreeStore.custom0000664000175000017500000004072612767740470014467 00000000000000// Gtk.TreeStore.Custom - Gtk TreeStore class customizations // // Authors: Kristian Rietveld // Mike Kestner // // Copyright (c) 2002 Kristian Rietveld // Copyright (c) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_tree_store_append (IntPtr raw, out TreeIter iter, ref TreeIter parent); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_tree_store_append (IntPtr raw, out TreeIter iter, IntPtr parent); [Obsolete ("Replaced by AppendNode")] public TreeIter Append (TreeIter parent) { TreeIter iter; gtk_tree_store_append (Handle, out iter, ref parent); return iter; } [Obsolete ("Replaced by AppendNode")] public void Append (out TreeIter iter) { gtk_tree_store_append (Handle, out iter, IntPtr.Zero); } public TreeIter AppendNode () { TreeIter iter; gtk_tree_store_append (Handle, out iter, IntPtr.Zero); return iter; } public TreeIter AppendNode (TreeIter parent) { TreeIter iter; gtk_tree_store_append (Handle, out iter, ref parent); return iter; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_tree_store_insert (IntPtr raw, out TreeIter iter, ref TreeIter parent, int position); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_tree_store_insert (IntPtr raw, out TreeIter iter, IntPtr parent, int position); [Obsolete ("Replaced by InsertNode")] public TreeIter Insert (TreeIter parent, int position) { TreeIter iter; gtk_tree_store_insert (Handle, out iter, ref parent, position); return iter; } [Obsolete ("Replaced by InsertNode")] public void Insert (out TreeIter iter, int position) { gtk_tree_store_insert (Handle, out iter, IntPtr.Zero, position); } public TreeIter InsertNode (TreeIter parent, int position) { TreeIter iter; gtk_tree_store_insert (Handle, out iter, ref parent, position); return iter; } public TreeIter InsertNode (int position) { TreeIter iter; gtk_tree_store_insert (Handle, out iter, IntPtr.Zero, position); return iter; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_tree_store_prepend (IntPtr raw, out TreeIter iter, ref TreeIter parent); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_tree_store_prepend (IntPtr raw, out TreeIter iter, IntPtr parent); [Obsolete ("Replaced by PrependNode")] public TreeIter Prepend(TreeIter parent) { TreeIter iter; gtk_tree_store_prepend (Handle, out iter, ref parent); return iter; } [Obsolete ("Replaced by PrependNode")] public void Prepend (out TreeIter iter) { gtk_tree_store_append (Handle, out iter, IntPtr.Zero); } public TreeIter PrependNode (TreeIter parent) { TreeIter iter; gtk_tree_store_prepend (Handle, out iter, ref parent); return iter; } public TreeIter PrependNode () { TreeIter iter; gtk_tree_store_prepend (Handle, out iter, IntPtr.Zero); return iter; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_tree_store_insert_before (IntPtr raw, out TreeIter iter, ref TreeIter parent, ref TreeIter sibling); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_tree_store_insert_before (IntPtr raw, out TreeIter iter, IntPtr parent, ref TreeIter sibling); [Obsolete ("Replaced by InsertNodeBefore")] public TreeIter InsertBefore (TreeIter parent, TreeIter sibling) { TreeIter iter; gtk_tree_store_insert_before (Handle, out iter, ref parent, ref sibling); return iter; } [Obsolete ("Replaced by InsertNodeBefore")] public void InsertBefore (out TreeIter iter, TreeIter sibling) { gtk_tree_store_insert_before (Handle, out iter, IntPtr.Zero, ref sibling); } public TreeIter InsertNodeBefore (TreeIter sibling) { TreeIter iter; gtk_tree_store_insert_before (Handle, out iter, IntPtr.Zero, ref sibling); return iter; } public TreeIter InsertNodeBefore (TreeIter parent, TreeIter sibling) { TreeIter iter; gtk_tree_store_insert_before (Handle, out iter, ref parent, ref sibling); return iter; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_tree_store_insert_after (IntPtr raw, out TreeIter iter, ref TreeIter parent, ref TreeIter sibling); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_tree_store_insert_after (IntPtr raw, out TreeIter iter, IntPtr parent, ref TreeIter sibling); [Obsolete ("Replaced by InsertNodeAfter")] public TreeIter InsertAfter (TreeIter parent, TreeIter sibling) { TreeIter iter; gtk_tree_store_insert_after (Handle, out iter, ref parent, ref sibling); return iter; } [Obsolete ("Replaced by InsertNodeAfter")] public void InsertAfter (out TreeIter iter, TreeIter sibling) { gtk_tree_store_insert_after (Handle, out iter, IntPtr.Zero, ref sibling); } public TreeIter InsertNodeAfter (TreeIter sibling) { TreeIter iter; gtk_tree_store_insert_after (Handle, out iter, IntPtr.Zero, ref sibling); return iter; } public TreeIter InsertNodeAfter (TreeIter parent, TreeIter sibling) { TreeIter iter; gtk_tree_store_insert_after (Handle, out iter, ref parent, ref sibling); return iter; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_tree_model_iter_children (IntPtr raw, out Gtk.TreeIter iter, IntPtr parent); public bool IterChildren (out Gtk.TreeIter iter) { bool raw_ret = gtk_tree_model_iter_children (Handle, out iter, IntPtr.Zero); bool ret = raw_ret; return ret; } public int IterNChildren () { int raw_ret = gtk_tree_model_iter_n_children (Handle, IntPtr.Zero); int ret = raw_ret; return ret; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_tree_model_iter_nth_child (IntPtr raw, out Gtk.TreeIter iter, IntPtr parent, int n); public bool IterNthChild (out Gtk.TreeIter iter, int n) { bool raw_ret = gtk_tree_model_iter_nth_child (Handle, out iter, IntPtr.Zero, n); bool ret = raw_ret; return ret; } public void SetValue (Gtk.TreeIter iter, int column, bool value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } public void SetValue (Gtk.TreeIter iter, int column, double value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } public void SetValue (Gtk.TreeIter iter, int column, int value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } public void SetValue (Gtk.TreeIter iter, int column, string value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } public void SetValue (Gtk.TreeIter iter, int column, float value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } public void SetValue (Gtk.TreeIter iter, int column, uint value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } public void SetValue (Gtk.TreeIter iter, int column, object value) { GLib.Value val = new GLib.Value (value); SetValue (iter, column, val); val.Dispose (); } public Gtk.TreeIter AppendValues (Gtk.TreeIter parent, Array values) { Gtk.TreeIter iter = AppendNode (parent); SetValues (iter, values); return iter; } public Gtk.TreeIter AppendValues (Gtk.TreeIter parent, params object[] values) { Gtk.TreeIter iter = AppendNode (parent); SetValues (iter, values); return iter; } public Gtk.TreeIter AppendValues (Array values) { Gtk.TreeIter iter = AppendNode (); SetValues (iter, values); return iter; } public Gtk.TreeIter AppendValues (params object[] values) { Gtk.TreeIter iter = AppendNode (); SetValues (iter, values); return iter; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_tree_store_insert_with_valuesv(IntPtr raw, out TreeIter iter, IntPtr parent, int position, int[] columns, GLib.Value[] values, int n_values); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_tree_store_insert_with_valuesv(IntPtr raw, out TreeIter iter, ref TreeIter parent, int position, int[] columns, GLib.Value[] values, int n_values); public TreeIter InsertWithValues (int position, params object[] values) { return InsertWithValues(false, TreeIter.Zero, position, values); } public TreeIter InsertWithValues (TreeIter parent, int position, params object[] values) { return InsertWithValues(true, parent, position, values); } private TreeIter InsertWithValues (bool hasParent, TreeIter parent, int position, params object[] values) { int[] columns = new int[values.Length]; GLib.Value[] vals = new GLib.Value[values.Length]; int n_values = 0; for (int i = 0; i < values.Length; i++) { if (values[i] != null) { columns[n_values] = i; vals[n_values] = new GLib.Value (values[i]); n_values++; } } TreeIter iter; if (hasParent) gtk_tree_store_insert_with_valuesv (Handle, out iter, ref parent, position, columns, vals, n_values); else gtk_tree_store_insert_with_valuesv (Handle, out iter, IntPtr.Zero, position, columns, vals, n_values); for (int i = 0; i < n_values; i++) vals[i].Dispose (); return iter; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_tree_store_set_valuesv(IntPtr raw, ref TreeIter iter, int[] columns, GLib.Value[] values, int n_values); public void SetValues (TreeIter iter, params object[] values) { int[] columns = new int[values.Length]; GLib.Value[] vals = new GLib.Value[values.Length]; int n_values = 0; for (int i = 0; i < values.Length; i++) { if (values[i] != null) { columns[n_values] = i; vals[n_values] = new GLib.Value (values[i]); n_values++; } } gtk_tree_store_set_valuesv (Handle, ref iter, columns, vals, n_values); for (int i = 0; i < n_values; i++) vals[i].Dispose (); } public TreeStore (params GLib.GType[] types) : base (IntPtr.Zero) { CreateNativeObject (new IntPtr [0], new GLib.Value [0], 0); ColumnTypes = types; } public TreeStore (params Type[] types) : base (IntPtr.Zero) { GLib.GType[] gtypes = new GLib.GType[types.Length]; int i = 0; foreach (Type type in types) { gtypes[i] = (GLib.GType) type; i++; } CreateNativeObject (new IntPtr [0], new GLib.Value [0], 0); ColumnTypes = gtypes; } [Obsolete ("Replaced by ColumnTypes property.")] public void SetColumnTypes (GLib.GType[] types) { ColumnTypes = types; } public object GetValue (Gtk.TreeIter iter, int column) { GLib.Value val = GLib.Value.Empty; GetValue (iter, column, ref val); object ret = val.Val; val.Dispose (); return ret; } [Obsolete ("Replaced by SetSortFunc (int, TreeIterCompareFunc) overload.")] public void SetSortFunc (int sort_column_id, TreeIterCompareFunc sort_func, IntPtr user_data, Gtk.DestroyNotify destroy) { SetSortFunc (sort_column_id, sort_func); } [Obsolete ("Replaced by DefaultSortFunc property.")] public void SetDefaultSortFunc (TreeIterCompareFunc sort_func, IntPtr user_data, Gtk.DestroyNotify destroy) { DefaultSortFunc = sort_func; } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void RowsReorderedSignalDelegate (IntPtr arg0, IntPtr arg1, IntPtr arg2, IntPtr arg3, IntPtr gch); static void RowsReorderedSignalCallback (IntPtr arg0, IntPtr arg1, IntPtr arg2, IntPtr arg3, IntPtr gch) { Gtk.RowsReorderedArgs args = new Gtk.RowsReorderedArgs (); try { GLib.Signal sig = ((GCHandle) gch).Target as GLib.Signal; if (sig == null) throw new Exception("Unknown signal GC handle received " + gch); TreeStore sender = GLib.Object.GetObject (arg0) as TreeStore; args.Args = new object[3]; args.Args[0] = arg1 == IntPtr.Zero ? null : (Gtk.TreePath) GLib.Opaque.GetOpaque (arg1, typeof (Gtk.TreePath), false); args.Args[1] = Gtk.TreeIter.New (arg2); int child_cnt = arg2 == IntPtr.Zero ? sender.IterNChildren () : sender.IterNChildren ((TreeIter)args.Args[1]); int[] new_order = new int [child_cnt]; Marshal.Copy (arg3, new_order, 0, child_cnt); args.Args[2] = new_order; Gtk.RowsReorderedHandler handler = (Gtk.RowsReorderedHandler) sig.Handler; handler (sender, args); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void RowsReorderedVMDelegate (IntPtr tree_model, IntPtr path, IntPtr iter, IntPtr new_order); static RowsReorderedVMDelegate RowsReorderedVMCallback; static void rowsreordered_cb (IntPtr tree_model, IntPtr path_ptr, IntPtr iter_ptr, IntPtr new_order) { try { TreeStore store = GLib.Object.GetObject (tree_model, false) as TreeStore; TreePath path = GLib.Opaque.GetOpaque (path_ptr, typeof (TreePath), false) as TreePath; TreeIter iter = TreeIter.New (iter_ptr); int child_cnt = store.IterNChildren (iter); int[] child_order = new int [child_cnt]; Marshal.Copy (new_order, child_order, 0, child_cnt); store.OnRowsReordered (path, iter, child_order); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call doesn't return throw e; } } private static void OverrideRowsReordered (GLib.GType gtype) { if (RowsReorderedVMCallback == null) RowsReorderedVMCallback = new RowsReorderedVMDelegate (rowsreordered_cb); OverrideVirtualMethod (gtype, "rows_reordered", RowsReorderedVMCallback); } [Obsolete ("Replaced by int[] new_order overload.")] [GLib.DefaultSignalHandler(Type=typeof(Gtk.TreeStore), ConnectionMethod="OverrideRowsReordered")] protected virtual void OnRowsReordered (Gtk.TreePath path, Gtk.TreeIter iter, out int new_order) { new_order = -1; } [GLib.DefaultSignalHandler(Type=typeof(Gtk.TreeStore), ConnectionMethod="OverrideRowsReordered")] protected virtual void OnRowsReordered (Gtk.TreePath path, Gtk.TreeIter iter, int[] new_order) { int dummy; OnRowsReordered (path, iter, out dummy); GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (4); using (var val0 = new GLib.Value (this)) { inst_and_params.Append (val0); using (var val1 = new GLib.Value (path)) { inst_and_params.Append (val1); using (var val2 = new GLib.Value (iter)) { inst_and_params.Append (val2); int cnt = IterNChildren (iter); IntPtr new_order_ptr = Marshal.AllocHGlobal (sizeof (int) * cnt); Marshal.Copy (new_order, 0, new_order_ptr, cnt); using (var val3 = new GLib.Value (new_order_ptr)) { inst_and_params.Append (val3); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); Marshal.FreeHGlobal (new_order_ptr); } } } } } [GLib.Signal("rows_reordered")] public event Gtk.RowsReorderedHandler RowsReordered { add { GLib.Signal sig = GLib.Signal.Lookup (this, "rows_reordered", new RowsReorderedSignalDelegate(RowsReorderedSignalCallback)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (this, "rows_reordered", new RowsReorderedSignalDelegate(RowsReorderedSignalCallback)); sig.RemoveDelegate (value); } } gtk-sharp-2.12.40/gtk/ComboBox.custom0000664000175000017500000000274212767740470014257 00000000000000// Gtk.ComboBox.custom - Gtk ComboBox customizations // // Authors: Todd Berman // Mike Kestner // // Copyright (c) 2004 Todd Berman // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public ComboBox (string[] entries) : this (new ListStore (typeof (string))) { CellRendererText cell = new CellRendererText (); PackStart (cell, true); SetAttributes (cell, "text", 0); foreach (string entry in entries) AppendText (entry); } public void SetAttributes (CellRenderer cell, params object[] attrs) { if (attrs.Length % 2 != 0) throw new ArgumentException ("attrs should contain pairs of attribute/col"); ClearAttributes (cell); for (int i = 0; i < attrs.Length - 1; i += 2) { AddAttribute (cell, (string) attrs [i], (int) attrs [i + 1]); } } gtk-sharp-2.12.40/gtk/RadioToolButton.custom0000664000175000017500000000415312767740470015635 00000000000000// Gtk.RadioToolButton.custom - Gtk RadioToolButton class customizations // // Author: Mike Kestner // // Copyright (c) 2006 Novell, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_radio_tool_button_new (IntPtr group); public RadioToolButton (GLib.SList group) : base (IntPtr.Zero) { if (GetType () != typeof (RadioToolButton)) { CreateNativeObject (new IntPtr [0], new GLib.Value [0], 0); Group = group; return; } Raw = gtk_radio_tool_button_new(group == null ? IntPtr.Zero : group.Handle); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_radio_tool_button_new_from_stock (IntPtr group, IntPtr stock_id); public RadioToolButton (GLib.SList group, string stock_id) : base (IntPtr.Zero) { if (GetType () != typeof (RadioToolButton)) { GLib.Value[] vals = new GLib.Value [1]; IntPtr[] names = { GLib.Marshaller.StringToPtrGStrdup ("stock_id") }; vals [0] = new GLib.Value (stock_id); CreateNativeObject (names, vals, 0); Group = group; return; } IntPtr stock_id_as_native = GLib.Marshaller.StringToPtrGStrdup (stock_id); Raw = gtk_radio_tool_button_new_from_stock(group == null ? IntPtr.Zero : group.Handle, stock_id_as_native); GLib.Marshaller.Free (stock_id_as_native); } gtk-sharp-2.12.40/gtk/Menu.custom0000664000175000017500000000300712767740470013446 00000000000000// Gtk.Menu.custom - Gtk Menu class customizations // // Author: John Luke // // Copyright (C) 2004 John Luke // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete("Replaced by overload without IntPtr argument")] public void Popup (Gtk.Widget parent_menu_shell, Gtk.Widget parent_menu_item, Gtk.MenuPositionFunc func, IntPtr data, uint button, uint activate_time) { Popup (parent_menu_shell, parent_menu_item, func, button, activate_time); } public void Popup () { Popup (null, null, null, 3, Global.CurrentEventTime); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_menu_set_screen (IntPtr raw, IntPtr screen); public new Gdk.Screen Screen { get { return base.Screen; } set { gtk_menu_set_screen (Handle, value.Handle); } } gtk-sharp-2.12.40/gtk/Image.custom0000664000175000017500000000750112767740470013567 00000000000000// Image.custom - Customizations to Gtk.Image // // Authors: Mike Kestner // Authors: Stephane Delcroix // // Copyright (c) 2004-2008 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_image_new_from_icon_set(IntPtr icon_set, int size); public Image (Gtk.IconSet icon_set, Gtk.IconSize size) : base (IntPtr.Zero) { if (GetType () != typeof (Image)) { var vals = new GLib.Value[2]; var names = new IntPtr[2]; names[0] = GLib.Marshaller.StringToPtrGStrdup ("icon_set"); vals[0] = new GLib.Value (icon_set); names[1] = GLib.Marshaller.StringToPtrGStrdup ("icon_size"); vals[1] = new GLib.Value ((int)size); CreateNativeObject (names, vals, 2); return; } Raw = gtk_image_new_from_icon_set(icon_set.Handle, (int) size); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_image_new_from_stock(IntPtr stock_id, int size); public Image (string stock_id, Gtk.IconSize size) : base (IntPtr.Zero) { if (GetType () != typeof (Image)) { var vals = new GLib.Value[2]; var names = new IntPtr[2]; names[0] = GLib.Marshaller.StringToPtrGStrdup ("stock"); vals[0] = new GLib.Value (stock_id); names[1] = GLib.Marshaller.StringToPtrGStrdup ("icon_size"); vals[1] = new GLib.Value ((int)size); CreateNativeObject (names, vals, 2); return; } IntPtr native = GLib.Marshaller.StringToPtrGStrdup (stock_id); Raw = gtk_image_new_from_stock(native, (int) size); GLib.Marshaller.Free (native); } void LoadFromStream (System.IO.Stream stream) { try { Gdk.PixbufAnimation anim = new Gdk.PixbufAnimation (stream); if (anim.IsStaticImage) Pixbuf = anim.StaticImage; else PixbufAnimation = anim; } catch { Stock = Gtk.Stock.MissingImage; } } public Image (System.IO.Stream stream) : this () { LoadFromStream (stream); } public Image (System.Reflection.Assembly assembly, string resource) : this () { if (assembly == null) assembly = System.Reflection.Assembly.GetCallingAssembly (); System.IO.Stream s = assembly.GetManifestResourceStream (resource); if (s == null) throw new ArgumentException ("'" + resource + "' is not a valid resource name of assembly '" + assembly + "'."); LoadFromStream (s); } static public Image LoadFromResource (string resource) { return new Image (System.Reflection.Assembly.GetCallingAssembly (), resource); } [Obsolete ("Use the Animation property instead")] public Gdk.PixbufAnimation FromAnimation { set { gtk_image_set_from_animation(Handle, value == null ? IntPtr.Zero : value.Handle); } } [Obsolete ("Use the File property instead")] public string FromFile { set { IntPtr native_value = GLib.Marshaller.StringToPtrGStrdup (value); gtk_image_set_from_file(Handle, native_value); GLib.Marshaller.Free (native_value); } } [Obsolete ("Use the Pixbuf property instead")] public Gdk.Pixbuf FromPixbuf { set { gtk_image_set_from_pixbuf(Handle, value == null ? IntPtr.Zero : value.Handle); } } gtk-sharp-2.12.40/gtk/Adjustment.custom0000664000175000017500000000375112767740470014666 00000000000000// // Gtk.Adjustment.custom - Allow customization of values in the GtkAdjustment // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. // [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_adjustment_new(double value, double lower, double upper, double step_increment, double page_increment, double page_size); public Adjustment (double value, double lower, double upper, double step_increment, double page_increment, double page_size) : base (IntPtr.Zero) { if (GetType () != typeof (Adjustment)) { CreateNativeObject (new IntPtr [0], new GLib.Value [0], 0); Value = value; Lower = lower; Upper = upper; StepIncrement = step_increment; PageIncrement = page_increment; PageSize = page_size; return; } Raw = gtk_adjustment_new(value, lower, upper, step_increment, page_increment, page_size); } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_gtk_adjustment_set_bounds (IntPtr i, double lower, double upper, double step_increment, double page_increment, double page_size); public void SetBounds (double lower, double upper, double step_increment, double page_increment, double page_size) { gtksharp_gtk_adjustment_set_bounds (this.Handle, lower, upper, step_increment, page_increment, page_size); } gtk-sharp-2.12.40/gtk/CellRendererPixbuf.custom0000664000175000017500000000354512767740470016275 00000000000000// // CellRendererPixbuf.custom - Gtk CellRendererPixbuf class customizations // // Author: Peter Johanson // // Copyright (C) 2007 Peter Johanson // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public override void GetSize (Gtk.Widget widget, ref Gdk.Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height) { CellRenderer.InternalGetSize (Gtk.CellRendererPixbuf.GType, this, widget, ref cell_area, out x_offset, out y_offset, out width, out height); } protected override void Render (Gdk.Drawable window, Gtk.Widget widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gdk.Rectangle expose_area, Gtk.CellRendererState flags) { CellRenderer.InternalRender (Gtk.CellRendererPixbuf.GType, this, window, widget, background_area, cell_area, expose_area, flags); } public override Gtk.CellEditable StartEditing(Gdk.Event evnt, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags) { return Gtk.CellRenderer.InternalStartEditing (Gtk.CellRendererPixbuf.GType, this, evnt, widget, path, ref background_area, ref cell_area, flags); } gtk-sharp-2.12.40/gtk/IconSet.custom0000664000175000017500000000375212767740470014115 00000000000000// // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] unsafe static extern void gtk_icon_set_get_sizes ( IntPtr raw, out int *pointer_to_enum, out int n_sizes); [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] unsafe static extern void g_free (int *mem); /// Sizes Property /// To be completed public Gtk.IconSize [] Sizes { get { Gtk.IconSize [] retval; unsafe { int length; int *pointer_to_enum; gtk_icon_set_get_sizes (Handle, out pointer_to_enum, out length); retval = new Gtk.IconSize [length]; for (int i = 0; i < length; i++) retval [i] = (Gtk.IconSize) pointer_to_enum [i]; g_free (pointer_to_enum); } return retval; } } gtk-sharp-2.12.40/gtk/HBox.custom0000664000175000017500000000131612767740470013403 00000000000000// // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public HBox () : this (false, 0) {} gtk-sharp-2.12.40/gtk/ThreadNotify.cs0000664000175000017500000000471212654353766014244 00000000000000// ThreadNotify.cs: implements a notification for the thread running the Gtk main // loop from another thread // // Authors: // Miguel de Icaza (miguel@ximian.com). // Gonzalo Paniagua Javier (gonzalo@ximian.com) // // Copyright (c) 2002 Ximian, Inc. // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System.Runtime.InteropServices; using System.Threading; using System; // // This delegate will be invoked on the main Gtk thread. // public delegate void ReadyEvent (); /// /// Utility class to help writting multi-threaded Gtk applications /// /// /// public class ThreadNotify : IDisposable { bool disposed; ReadyEvent re; GLib.IdleHandler idle; bool notified; /// /// The ReadyEvent delegate will be invoked on the current thread (which should /// be the Gtk thread) when another thread wakes us up by calling WakeupMain /// public ThreadNotify (ReadyEvent re) { this.re = re; idle = new GLib.IdleHandler (CallbackWrapper); } bool CallbackWrapper () { lock (this) { if (disposed) return false; notified = false; } re (); return false; } /// /// Invoke this function from a thread to call the `ReadyEvent' /// delegate provided in the constructor on the Main Gtk thread /// public void WakeupMain () { lock (this){ if (notified) return; notified = true; GLib.Idle.Add (idle); } } public void Close () { Dispose (true); GC.SuppressFinalize (this); } ~ThreadNotify () { Dispose (false); } void IDisposable.Dispose () { Close (); } protected virtual void Dispose (bool disposing) { lock (this) { disposed = true; } } } } gtk-sharp-2.12.40/gtk/TreeModelAdapter.custom0000664000175000017500000001554012767740470015730 00000000000000// Gtk.TreeModelAdapter.custom - Gtk TreeModelAdapter customizations // // Author: Mike Kestner // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_tree_model_iter_children (IntPtr raw, out Gtk.TreeIter iter, IntPtr parent); public bool IterChildren (out Gtk.TreeIter iter) { bool raw_ret = gtk_tree_model_iter_children (Handle, out iter, IntPtr.Zero); bool ret = raw_ret; return ret; } public int IterNChildren () { int raw_ret = gtk_tree_model_iter_n_children (Handle, IntPtr.Zero); int ret = raw_ret; return ret; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_tree_model_iter_nth_child (IntPtr raw, out Gtk.TreeIter iter, IntPtr parent, int n); public bool IterNthChild (out Gtk.TreeIter iter, int n) { bool raw_ret = gtk_tree_model_iter_nth_child (Handle, out iter, IntPtr.Zero, n); bool ret = raw_ret; return ret; } public void SetValue (Gtk.TreeIter iter, int column, bool value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, double value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, int value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, string value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, float value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, uint value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, object value) { throw new NotImplementedException (); } public object GetValue (Gtk.TreeIter iter, int column) { GLib.Value val = GLib.Value.Empty; GetValue (iter, column, ref val); object ret = val.Val; val.Dispose (); return ret; } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void RowsReorderedSignalDelegate (IntPtr arg0, IntPtr arg1, IntPtr arg2, IntPtr arg3, IntPtr gch); static void RowsReorderedSignalCallback (IntPtr arg0, IntPtr arg1, IntPtr arg2, IntPtr arg3, IntPtr gch) { Gtk.RowsReorderedArgs args = new Gtk.RowsReorderedArgs (); try { GLib.Signal sig = ((GCHandle) gch).Target as GLib.Signal; if (sig == null) throw new Exception("Unknown signal GC handle received " + gch); TreeModelFilter sender = GLib.Object.GetObject (arg0) as TreeModelFilter; args.Args = new object[3]; args.Args[0] = arg1 == IntPtr.Zero ? null : (Gtk.TreePath) GLib.Opaque.GetOpaque (arg1, typeof (Gtk.TreePath), false); args.Args[1] = Gtk.TreeIter.New (arg2); int child_cnt = arg2 == IntPtr.Zero ? sender.IterNChildren () : sender.IterNChildren ((TreeIter)args.Args[1]); int[] new_order = new int [child_cnt]; Marshal.Copy (arg3, new_order, 0, child_cnt); args.Args[2] = new_order; Gtk.RowsReorderedHandler handler = (Gtk.RowsReorderedHandler) sig.Handler; handler (sender, args); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } #if false [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void RowsReorderedVMDelegate (IntPtr tree_model, IntPtr path, IntPtr iter, IntPtr new_order); static RowsReorderedVMDelegate RowsReorderedVMCallback; static void rowsreordered_cb (IntPtr tree_model, IntPtr path_ptr, IntPtr iter_ptr, IntPtr new_order) { try { TreeModelFilter store = GLib.Object.GetObject (tree_model, false) as TreeModelFilter; TreePath path = GLib.Opaque.GetOpaque (path_ptr, typeof (TreePath), false) as TreePath; TreeIter iter = TreeIter.New (iter_ptr); int child_cnt = store.IterNChildren (iter); int[] child_order = new int [child_cnt]; Marshal.Copy (new_order, child_order, 0, child_cnt); store.OnRowsReordered (path, iter, child_order); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call doesn't return throw e; } } private static void OverrideRowsReordered (GLib.GType gtype) { if (RowsReorderedVMCallback == null) RowsReorderedVMCallback = new RowsReorderedVMDelegate (rowsreordered_cb); OverrideVirtualMethod (gtype, "rows_reordered", RowsReorderedVMCallback); } [Obsolete ("Replaced by int[] new_order overload.")] [GLib.DefaultSignalHandler(Type=typeof(Gtk.TreeModelFilter), ConnectionMethod="OverrideRowsReordered")] protected virtual void OnRowsReordered (Gtk.TreePath path, Gtk.TreeIter iter, out int new_order) { new_order = -1; } [GLib.DefaultSignalHandler(Type=typeof(Gtk.TreeModelFilter), ConnectionMethod="OverrideRowsReordered")] protected virtual void OnRowsReordered (Gtk.TreePath path, Gtk.TreeIter iter, int[] new_order) { int dummy; OnRowsReordered (path, iter, out dummy); GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (4); GLib.Value[] vals = new GLib.Value [4]; vals [0] = new GLib.Value (this); inst_and_params.Append (vals [0]); vals [1] = new GLib.Value (path); inst_and_params.Append (vals [1]); vals [2] = new GLib.Value (iter); inst_and_params.Append (vals [2]); int cnt = IterNChildren (iter); IntPtr new_order_ptr = Marshal.AllocHGlobal (Marshal.SizeOf (typeof (int)) * cnt); Marshal.Copy (new_order, 0, new_order_ptr, cnt); vals [3] = new GLib.Value (new_order_ptr); inst_and_params.Append (vals [3]); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); Marshal.FreeHGlobal (new_order_ptr); foreach (GLib.Value v in vals) v.Dispose (); } #endif [GLib.Signal("rows_reordered")] public event Gtk.RowsReorderedHandler RowsReordered { add { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "rows_reordered", new RowsReorderedSignalDelegate(RowsReorderedSignalCallback)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "rows_reordered", new RowsReorderedSignalDelegate(RowsReorderedSignalCallback)); sig.RemoveDelegate (value); } } gtk-sharp-2.12.40/gtk/GtkSharp.TextBufferSerializeFuncNative.cs0000664000175000017500000001016412767740470021272 00000000000000// This file was auto-generated at one time, but is hardcoded here as part of the fix // for the TextBufferSerializeFunc; see https://bugzilla.novell.com/show_bug.cgi?id=555495 // The generated code may have been modified as part of this fix; see textbuffer-serializefunc.patch namespace GtkSharp { using System; using System.Runtime.InteropServices; [UnmanagedFunctionPointer (CallingConvention.Cdecl)] internal delegate IntPtr TextBufferSerializeFuncNative(IntPtr register_buffer, IntPtr content_buffer, IntPtr start, IntPtr end, out UIntPtr length, IntPtr user_data); internal class TextBufferSerializeFuncInvoker { TextBufferSerializeFuncNative native_cb; IntPtr __data; GLib.DestroyNotify __notify; ~TextBufferSerializeFuncInvoker () { if (__notify == null) return; __notify (__data); } internal TextBufferSerializeFuncInvoker (TextBufferSerializeFuncNative native_cb) : this (native_cb, IntPtr.Zero, null) {} internal TextBufferSerializeFuncInvoker (TextBufferSerializeFuncNative native_cb, IntPtr data) : this (native_cb, data, null) {} internal TextBufferSerializeFuncInvoker (TextBufferSerializeFuncNative native_cb, IntPtr data, GLib.DestroyNotify notify) { this.native_cb = native_cb; __data = data; __notify = notify; } internal Gtk.TextBufferSerializeFunc Handler { get { return new Gtk.TextBufferSerializeFunc(InvokeNative); } } private static readonly byte [] empty_byte_array = new byte[0]; byte [] InvokeNative (Gtk.TextBuffer register_buffer, Gtk.TextBuffer content_buffer, Gtk.TextIter start, Gtk.TextIter end, out ulong length) { IntPtr native_start = GLib.Marshaller.StructureToPtrAlloc (start); IntPtr native_end = GLib.Marshaller.StructureToPtrAlloc (end); UIntPtr native_length; IntPtr result_ptr = native_cb (register_buffer == null ? IntPtr.Zero : register_buffer.Handle, content_buffer == null ? IntPtr.Zero : content_buffer.Handle, native_start, native_end, out native_length, __data); start = Gtk.TextIter.New (native_start); Marshal.FreeHGlobal (native_start); end = Gtk.TextIter.New (native_end); Marshal.FreeHGlobal (native_end); length = (ulong) native_length; byte [] result = null; if (length > 0 && result_ptr != IntPtr.Zero) { result = new byte [length]; Marshal.Copy (result_ptr, result, 0, (int)length); } if (result_ptr != IntPtr.Zero) { GLib.Marshaller.Free (result_ptr); } return result == null ? empty_byte_array : result; } } internal class TextBufferSerializeFuncWrapper { public IntPtr NativeCallback (IntPtr register_buffer, IntPtr content_buffer, IntPtr start, IntPtr end, out UIntPtr length, IntPtr user_data) { try { ulong mylength; byte [] __ret = managed (GLib.Object.GetObject(register_buffer) as Gtk.TextBuffer, GLib.Object.GetObject(content_buffer) as Gtk.TextBuffer, Gtk.TextIter.New (start), Gtk.TextIter.New (end), out mylength); length = new UIntPtr (mylength); IntPtr ret_ptr; if (mylength > 0) { ret_ptr = GLib.Marshaller.Malloc ((ulong)(sizeof (byte) * (int)mylength)); Marshal.Copy (__ret, 0, ret_ptr, (int)mylength); } else { ret_ptr = IntPtr.Zero; } if (release_on_call) gch.Free (); return ret_ptr; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: Above call does not return. throw e; } } bool release_on_call = false; GCHandle gch; public void PersistUntilCalled () { release_on_call = true; gch = GCHandle.Alloc (this); } internal TextBufferSerializeFuncNative NativeDelegate; Gtk.TextBufferSerializeFunc managed; public TextBufferSerializeFuncWrapper (Gtk.TextBufferSerializeFunc managed) { this.managed = managed; if (managed != null) NativeDelegate = new TextBufferSerializeFuncNative (NativeCallback); } public static Gtk.TextBufferSerializeFunc GetManagedDelegate (TextBufferSerializeFuncNative native) { if (native == null) return null; TextBufferSerializeFuncWrapper wrapper = (TextBufferSerializeFuncWrapper) native.Target; if (wrapper == null) return null; return wrapper.managed; } } } gtk-sharp-2.12.40/gtk/Window.custom0000664000175000017500000001224012767740470014010 00000000000000// Gtk.Window.custom - Gtk Window class customizations // // Author: Mike Kestner // // Copyright (c) 2001 Mike Kestner // Copyright (c) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public Window (String title) : this (WindowType.Toplevel) { this.Title = title; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_window_get_default_icon_list(); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_window_set_default_icon_list(IntPtr list); public static Gdk.Pixbuf[] DefaultIconList { get { IntPtr raw_ret = gtk_window_get_default_icon_list(); if (raw_ret == IntPtr.Zero) return new Gdk.Pixbuf [0]; return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.List), true, false); } set { GLib.List list = new GLib.List(IntPtr.Zero, typeof (IntPtr), true, false); foreach (Gdk.Pixbuf val in value) list.Append (val.Handle); gtk_window_set_default_icon_list(list.Handle); } } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_window_get_icon_list(IntPtr raw); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_window_set_icon_list(IntPtr raw, IntPtr list); public Gdk.Pixbuf[] IconList { get { IntPtr raw_ret = gtk_window_get_icon_list(Handle); if (raw_ret == IntPtr.Zero) return new Gdk.Pixbuf [0]; return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.List), true, false); } set { GLib.List list = new GLib.List(IntPtr.Zero, typeof (IntPtr), true, false); foreach (Gdk.Pixbuf val in value) list.Append (val.Handle); gtk_window_set_icon_list(Handle, list.Handle); } } public Gdk.Size DefaultSize { get { return new Gdk.Size (DefaultWidth, DefaultHeight); } set { DefaultWidth = value.Width; DefaultHeight = value.Height; } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void MoveFocusSignalDelegate (IntPtr arg0, int arg1, IntPtr gch); static void MoveFocusSignalCallback (IntPtr arg0, int arg1, IntPtr gch) { Gtk.MoveFocusArgs args = new Gtk.MoveFocusArgs (); try { GLib.Signal sig = ((GCHandle) gch).Target as GLib.Signal; if (sig == null) throw new Exception("Unknown signal GC handle received " + gch); args.Args = new object[1]; args.Args[0] = (Gtk.DirectionType) arg1; Gtk.MoveFocusHandler handler = (Gtk.MoveFocusHandler) sig.Handler; handler (GLib.Object.GetObject (arg0), args); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void MoveFocusVMDelegate (IntPtr window, int direction); static MoveFocusVMDelegate MoveFocusVMCallback; static void movefocus_cb (IntPtr window, int direction) { try { Window window_managed = GLib.Object.GetObject (window, false) as Window; window_managed.OnMoveFocus ((Gtk.DirectionType) direction); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } private static void OverrideMoveFocus (GLib.GType gtype) { if (MoveFocusVMCallback == null) MoveFocusVMCallback = new MoveFocusVMDelegate (movefocus_cb); OverrideVirtualMethod (gtype, "move_focus", MoveFocusVMCallback); } [Obsolete ("Replaced by Keybinding signal on Gtk.Widget")] [GLib.DefaultSignalHandler(Type=typeof(Gtk.Window), ConnectionMethod="OverrideMoveFocus")] protected virtual void OnMoveFocus (Gtk.DirectionType direction) { GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (2); using (var val0 = new GLib.Value (this)) { inst_and_params.Append (val0); using (var val1 = new GLib.Value (direction)) { inst_and_params.Append (val1); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); } } } [Obsolete ("Replaced by Keybinding signal on Gtk.Widget")] [GLib.Signal("move_focus")] public event Gtk.MoveFocusHandler MoveFocus { add { GLib.Signal sig = GLib.Signal.Lookup (this, "move_focus", new MoveFocusSignalDelegate(MoveFocusSignalCallback)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (this, "move_focus", new MoveFocusSignalDelegate(MoveFocusSignalCallback)); sig.RemoveDelegate (value); } } gtk-sharp-2.12.40/gtk/PrintContext.custom0000664000175000017500000000243612767740470015210 00000000000000// PrintContext.custom - customizations to Gtk.PrintContext // // Authors: Mike Kestner // // Copyright (c) 2008 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_print_context_get_cairo_context(IntPtr raw); [DllImport("libcairo-2.dll", CallingConvention=CallingConvention.Cdecl)] static extern void cairo_reference (IntPtr raw); public Cairo.Context CairoContext { get { IntPtr raw_ret = gtk_print_context_get_cairo_context (Handle); cairo_reference (raw_ret); return new Cairo.Context (raw_ret); } } gtk-sharp-2.12.40/gtk/MoveFocusHandler.cs0000664000175000017500000000102112767740470015033 00000000000000// This file was generated by the Gtk# code generator. // Any changes made will be lost if regenerated. namespace Gtk { using System; [Obsolete ("Events using this type were replaced by Gtk.Widget keybinding signal")] public delegate void MoveFocusHandler(object o, MoveFocusArgs args); [Obsolete ("Events using this type were replaced by Gtk.Widget keybinding signal")] public class MoveFocusArgs : GLib.SignalArgs { public Gtk.DirectionType Direction{ get { return (Gtk.DirectionType) Args[0]; } } } } gtk-sharp-2.12.40/gtk/Settings.custom0000664000175000017500000001533012767740470014344 00000000000000// Gtk.Settings.custom - Gtk Settings class customizations // // Author: Mike Kestner // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Removed from C API, returns IntPtr.Zero")] public IntPtr ColorHash { get { return IntPtr.Zero; } } public bool CursorBlink { get { GLib.Value val = GetProperty ("gtk-cursor-blink"); bool ret = (bool) val; val.Dispose (); return ret; } set { GLib.Value val = new GLib.Value(value); SetProperty("gtk-cursor-blink", val); val.Dispose (); } } public int CursorBlinkTime { get { GLib.Value val = GetProperty ("gtk-cursor-blink-time"); int ret = (int) val; val.Dispose (); return ret; } set { GLib.Value val = new GLib.Value(value); SetProperty("gtk-cursor-blink-time", val); val.Dispose (); } } public int DndDragThreshold { get { GLib.Value val = GetProperty ("gtk-dnd-drag-threshold"); int ret = (int) val; val.Dispose (); return ret; } set { GLib.Value val = new GLib.Value(value); SetProperty("gtk-dnd-drag-threshold", val); val.Dispose (); } } public int DoubleClickTime { get { GLib.Value val = GetProperty ("gtk-double-click-time"); int ret = (int) val; val.Dispose (); return ret; } set { GLib.Value val = new GLib.Value(value); SetProperty("gtk-double-click-time", val); val.Dispose (); } } public string FontName { get { GLib.Value val = GetProperty ("gtk-font-name"); string ret = (string) val; val.Dispose (); return ret; } set { GLib.Value val = new GLib.Value(value); SetProperty("gtk-font-name", val); val.Dispose (); } } public string IconSizes { get { GLib.Value val = GetProperty ("gtk-icon-sizes"); string ret = (string) val; val.Dispose (); return ret; } set { GLib.Value val = new GLib.Value(value); SetProperty("gtk-icon-sizes", val); val.Dispose (); } } public string KeyThemeName { get { GLib.Value val = GetProperty ("gtk-key-theme-name"); string ret = (string) val; val.Dispose (); return ret; } set { GLib.Value val = new GLib.Value(value); SetProperty("gtk-key-theme-name", val); val.Dispose (); } } public string MenuBarAccel { get { GLib.Value val = GetProperty ("gtk-menu-bar-accel"); string ret = (string) val; val.Dispose (); return ret; } set { GLib.Value val = new GLib.Value(value); SetProperty("gtk-menu-bar-accel", val); val.Dispose (); } } public bool SplitCursor { get { GLib.Value val = GetProperty ("gtk-split-cursor"); bool ret = (bool) val; val.Dispose (); return ret; } set { GLib.Value val = new GLib.Value(value); SetProperty("gtk-split-cursor", val); val.Dispose (); } } public string ThemeName { get { GLib.Value val = GetProperty ("gtk-theme-name"); string ret = (string) val; val.Dispose (); return ret; } set { GLib.Value val = new GLib.Value(value); SetProperty("gtk-theme-name", val); val.Dispose (); } } gtk-sharp-2.12.40/gtk/ColorSelectionDialog.custom0000664000175000017500000000476212767740470016617 00000000000000// Gtk.ColorSelectionDialog.custom - Gtk ColorSelectionDialog class customizations // // Author: Duncan Mak (duncan@ximian.com) // // Copyright (C) 2002 Ximian, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Do not use this class. It will cause your app to crash in mysterious ways.")] public class ColorSelectionButton : Gtk.Button { private ColorSelectionDialog color_sel; public ColorSelectionDialog ColorSelectionDialog { get { return color_sel; } } public ColorSelectionButton (ColorSelectionDialog cs, IntPtr raw) : base (raw) { color_sel = cs; } } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_color_selection_dialog_get_colorsel (IntPtr i); public ColorSelection ColorSelection { get { return GLib.Object.GetObject (gtksharp_color_selection_dialog_get_colorsel (this.Handle), false) as ColorSelection; } } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_color_selection_dialog_get_ok_button (IntPtr i); public Button OkButton { get { return GLib.Object.GetObject (gtksharp_color_selection_dialog_get_ok_button (this.Handle), false) as Button; } } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_color_selection_dialog_get_cancel_button (IntPtr i); public Button CancelButton { get { return GLib.Object.GetObject (gtksharp_color_selection_dialog_get_cancel_button (this.Handle), false) as Button; } } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_color_selection_dialog_get_help_button (IntPtr i); public Button HelpButton { get { return GLib.Object.GetObject (gtksharp_color_selection_dialog_get_help_button (this.Handle), false) as Button; } } gtk-sharp-2.12.40/gtk/TargetList.custom0000664000175000017500000000433312767740470014627 00000000000000// TargetList.custom - customizations for Gtk.TargetList // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_target_list_new(Gtk.TargetEntry[] targets, uint n_targets); public TargetList() : base(gtk_target_list_new(null, 0)) {} public TargetList (Gtk.TargetEntry[] targets) : this(gtk_target_list_new(targets, (uint) targets.Length)) {} public void Add(string target, uint flags, uint info) { Add(Gdk.Atom.Intern (target, false), flags, info); } public bool Find(string target, out uint info) { return Find(Gdk.Atom.Intern (target, false), out info); } public void Remove(string target) { Remove(Gdk.Atom.Intern (target, false)); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_target_table_free (IntPtr list, int n_targets); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_target_table_new_from_list (IntPtr list, out int n_targets); public static explicit operator TargetEntry[] (TargetList list) { int length; IntPtr ret = gtk_target_table_new_from_list (list.Handle, out length); TargetEntry[] entries = new TargetEntry[length]; for (int i = 0; i < length; i++) { entries [i] = (TargetEntry) Marshal.PtrToStructure (new IntPtr (ret.ToInt64 () + i * Marshal.SizeOf (typeof (TargetEntry))), typeof (TargetEntry)); } if (ret != IntPtr.Zero) gtk_target_table_free (ret, length); return entries; } gtk-sharp-2.12.40/gtk/MenuItem.custom0000664000175000017500000000300012767740470014256 00000000000000// Gtk.MenuItem.custom - Gtk MenuItem class customizations // // Author: Mike Kestner // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_menu_item_new_with_mnemonic (IntPtr label); public MenuItem (string label) : base (IntPtr.Zero) { if (GetType() != typeof (MenuItem)) { CreateNativeObject (new IntPtr [0], new GLib.Value [0], 0); AccelLabel al = new AccelLabel (""); al.TextWithMnemonic = label; al.SetAlignment (0.0f, 0.5f); Add (al); al.AccelWidget = this; return; } IntPtr native = GLib.Marshaller.StringToPtrGStrdup (label); Raw = gtk_menu_item_new_with_mnemonic (native); GLib.Marshaller.Free (native); } gtk-sharp-2.12.40/gtk/TreeEnumerator.cs0000664000175000017500000000431112767740470014575 00000000000000// TreeEnumerator.cs - .NET-style Enumerator for TreeModel classes // // Author: Eric Butler // // Copyright (c) 2005 Eric Butler // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. using System; using System.Collections; namespace Gtk { internal class TreeEnumerator : IEnumerator, IDisposable { private Gtk.TreeIter iter; private Gtk.TreeModel model; private bool reset = true; private bool changed = false; public TreeEnumerator (TreeModel model) { this.model = model; model.RowChanged += row_event; model.RowDeleted += row_event; model.RowInserted += row_event; model.RowsReordered += row_event; } public object Current { get { if (reset == false) { object[] row = new object[model.NColumns]; for (int x = 0; x < model.NColumns; x++) { row[x] = model.GetValue(iter, x); } return row; } else { throw new InvalidOperationException("Enumerator not started."); } } } public bool MoveNext() { if (changed == false) { if (reset == true) { reset = false; return model.GetIterFirst(out iter); } else { return model.IterNext(ref iter); } } else { throw new InvalidOperationException("List has changed."); } } public void Reset() { reset = true; changed = false; } private void row_event(object o, EventArgs args) { changed = true; } public void Dispose () { model.RowChanged -= row_event; model.RowDeleted -= row_event; model.RowInserted -= row_event; model.RowsReordered -= row_event; model = null; } } } gtk-sharp-2.12.40/gtk/TreeSortableAdapter.custom0000664000175000017500000000254612767740470016445 00000000000000// Gtk.TreeSortableAdapter.Custom - Gtk TreeSortableAdapter class customizations // // Author: Mike Kestner // // Copyright (c) 2007 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Replaced by SetSortFunc (int, TreeIterCompareFunc) overload.")] public void SetSortFunc (int sort_column_id, TreeIterCompareFunc sort_func, IntPtr user_data, Gtk.DestroyNotify destroy) { SetSortFunc (sort_column_id, sort_func); } [Obsolete ("Replaced by DefaultSortFunc property.")] public void SetDefaultSortFunc (TreeIterCompareFunc sort_func, IntPtr user_data, Gtk.DestroyNotify destroy) { DefaultSortFunc = sort_func; } gtk-sharp-2.12.40/gtk/EntryCompletion.custom0000664000175000017500000000235212767740470015677 00000000000000// Gtk.EntryCompletion.custom - Gtk EntryCompletion customizations // // Authors: Todd Berman // Mike Kestner // // Copyright (c) 2004 Todd Berman // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public void SetAttributes (CellRenderer cell, params object[] attrs) { if (attrs.Length % 2 != 0) throw new ArgumentException ("attrs should contain pairs of attribute/col"); ClearAttributes (cell); for (int i = 0; i < attrs.Length - 1; i += 2) { AddAttribute (cell, (string) attrs [i], (int) attrs [i + 1]); } } gtk-sharp-2.12.40/gtk/TextBufferSerializeFunc.cs0000664000175000017500000000074512767740470016405 00000000000000// This file was auto-generated at one time, but is hardcoded here as part of the fix // for the TextBufferSerializeFunc; see https://bugzilla.novell.com/show_bug.cgi?id=555495 // The generated code may have been modified as part of this fix; see textbuffer-serializefunc.patch namespace Gtk { using System; public delegate byte [] TextBufferSerializeFunc(Gtk.TextBuffer register_buffer, Gtk.TextBuffer content_buffer, Gtk.TextIter start, Gtk.TextIter end, out ulong length); } gtk-sharp-2.12.40/gtk/BindingAttribute.cs0000664000175000017500000000313112654353766015074 00000000000000// BindingAttribute.cs - Attribute to specify key bindings // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] public sealed class BindingAttribute : Attribute { Gdk.Key key; Gdk.ModifierType mod; string handler; object[] parms; public BindingAttribute (Gdk.Key key, string handler, params object[] parms) : this (key, 0, handler, parms) {} public BindingAttribute (Gdk.Key key, Gdk.ModifierType mod, string handler, params object[] parms) { this.key = key; this.mod = mod; this.handler = handler; this.parms = parms; } public Gdk.Key Key { get { return key; } } public Gdk.ModifierType Mod { get { return mod; } } public string Handler { get { return handler; } } public object[] Parms { get { return parms; } } } } gtk-sharp-2.12.40/gtk/VBox.custom0000664000175000017500000000131612767740470013421 00000000000000// // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public VBox () : this (false, 0) {} gtk-sharp-2.12.40/gtk/TextIter.custom0000664000175000017500000000572512767740470014323 00000000000000// TextIter.custom - customizations to Gtk.TextIter // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_unichar_to_utf8_string (int raw); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int gtk_text_iter_get_char(ref Gtk.TextIter raw); public string Char { get { IntPtr raw_ret = gtksharp_unichar_to_utf8_string (gtk_text_iter_get_char (ref this)); string ret = GLib.Marshaller.PtrToStringGFree(raw_ret); return ret; } } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_text_iter_get_marks (ref TextIter iter); public TextMark[] Marks { get { IntPtr raw_ret = gtk_text_iter_get_marks (ref this); if (raw_ret == IntPtr.Zero) return new TextMark [0]; return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.SList), true, false); } } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_text_iter_get_tags (ref TextIter iter); public TextTag[] Tags { get { IntPtr raw_ret = gtk_text_iter_get_tags (ref this); if (raw_ret == IntPtr.Zero) return new TextTag [0]; return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.SList), true, false); } } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_text_iter_get_toggled_tags (ref TextIter iter, bool toggled_on); public TextTag[] GetToggledTags (bool toggled_on) { IntPtr raw_ret = gtk_text_iter_get_toggled_tags (ref this, toggled_on); if (raw_ret == IntPtr.Zero) return new TextTag [0]; return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.SList), true, false); } [Obsolete("Replaced by overload without IntPtr argument")] public bool ForwardFindChar (Gtk.TextCharPredicate pred, IntPtr user_data, Gtk.TextIter limit) { return ForwardFindChar (pred, limit); } [Obsolete("Replaced by overload without IntPtr argument")] public bool BackwardFindChar (Gtk.TextCharPredicate pred, IntPtr user_data, Gtk.TextIter limit) { return BackwardFindChar (pred, limit); } gtk-sharp-2.12.40/gtk/IconView.custom0000664000175000017500000000334112767740470014266 00000000000000// IconView.custom - customizations to Gtk.IconView // // Authors: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. #if GTK_SHARP_2_8 public void SetAttributes (CellRenderer cell, params object[] attrs) { if (attrs.Length % 2 != 0) throw new ArgumentException ("attrs should contain pairs of attribute/col"); ClearAttributes (cell); for (int i = 0; i < attrs.Length - 1; i += 2) { AddAttribute (cell, (string) attrs [i], (int) attrs [i + 1]); } } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_icon_view_scroll_to_path(IntPtr raw, IntPtr path, bool use_align, float row_align, float col_align); public void ScrollToPath (Gtk.TreePath path) { gtk_icon_view_scroll_to_path(Handle, path == null ? IntPtr.Zero : path.Handle, false, 0.0f, 0.0f); } public void ScrollToPath (Gtk.TreePath path, float row_align, float col_align) { gtk_icon_view_scroll_to_path(Handle, path == null ? IntPtr.Zero : path.Handle, true, row_align, col_align); } #endif gtk-sharp-2.12.40/gtk/ChildPropertyAttribute.cs0000664000175000017500000000200212654353766016306 00000000000000// ChildPropertyAttribute.cs // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; public sealed class ChildPropertyAttribute : Attribute { string name; public ChildPropertyAttribute (string name) { this.name = name; } public string Name { get { return name; } set { name = value; } } } } gtk-sharp-2.12.40/gtk/TreeNode.cs0000664000175000017500000000521512654353766013350 00000000000000// TreeNode.cs - Abstract base class to subclass for TreeNode types // // Author: Mike Kestner // // Copyright (c) 2003 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; using System.Collections; using System.Threading; public abstract class TreeNode : ITreeNode { // Only use interlocked operations static int next_idx = 0; int id; ITreeNode parent; ArrayList children = new ArrayList (); public TreeNode () { id = Interlocked.Increment (ref next_idx); } public int ID { get { return id; } } public ITreeNode Parent { get { return parent; } } public int ChildCount { get { return children.Count; } } public int IndexOf (object o) { return children.IndexOf (o); } internal void SetParent (ITreeNode parent) { this.parent = parent; } public ITreeNode this [int index] { get { if (index >= ChildCount) return null; return children [index] as ITreeNode; } } public event EventHandler Changed; protected void OnChanged () { if (Changed == null) return; Changed (this, new EventArgs ()); } public event TreeNodeAddedHandler ChildAdded; private void OnChildAdded (ITreeNode child) { if (ChildAdded == null) return; ChildAdded (this, child); } public event TreeNodeRemovedHandler ChildRemoved; private void OnChildRemoved (TreeNode child, int old_position) { if (ChildRemoved == null) return; ChildRemoved (this, child, old_position); } public void AddChild (TreeNode child) { children.Add (child); child.SetParent (this); OnChildAdded (child); } public void AddChild (TreeNode child, int position) { children.Insert (position, child); child.SetParent (this); OnChildAdded (child); } public void RemoveChild (TreeNode child) { int idx = children.IndexOf (child); if (idx < 0) return; children.Remove (child); child.SetParent (null); OnChildRemoved (child, idx); } } } gtk-sharp-2.12.40/gtk/StockItem.custom0000664000175000017500000000204412767740470014444 00000000000000// Stock.custom - customizations to Gtk.Stock // // Authors: Larry Ewing // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public StockItem (string stock_id, string label, uint keyval, Gdk.ModifierType modifier, string domain) { this.StockId = stock_id; this.Label = label; this.Keyval = keyval; this.Modifier = modifier; this.TranslationDomain = domain; } gtk-sharp-2.12.40/gtk/Stock.custom0000664000175000017500000000431112767740470013624 00000000000000// Stock.custom - customizations to Gtk.Stock // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_stock_list_ids (); public static string[] ListIds () { IntPtr raw_ret = gtk_stock_list_ids (); if (raw_ret == IntPtr.Zero) return new string [0]; return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.SList), true, true); } [StructLayout(LayoutKind.Sequential)] struct ConstStockItem { public IntPtr StockId; public IntPtr Label; public Gdk.ModifierType Modifier; public uint Keyval; public IntPtr TranslationDomain; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_stock_lookup (IntPtr stock_id, out ConstStockItem item); public static Gtk.StockItem Lookup (string stock_id) { ConstStockItem const_item; IntPtr native_id = GLib.Marshaller.StringToPtrGStrdup (stock_id); bool result = gtk_stock_lookup (native_id, out const_item); GLib.Marshaller.Free (native_id); if (!result) return Gtk.StockItem.Zero; Gtk.StockItem item = new Gtk.StockItem (); item.StockId = GLib.Marshaller.Utf8PtrToString (const_item.StockId); item.Label = GLib.Marshaller.Utf8PtrToString (const_item.Label); item.Modifier = const_item.Modifier; item.Keyval = const_item.Keyval; item.TranslationDomain = GLib.Marshaller.Utf8PtrToString (const_item.TranslationDomain); return item; } gtk-sharp-2.12.40/gtk/RadioButton.custom0000664000175000017500000000222512767740470014775 00000000000000// // RadioButton.custom // // Author: John Luke // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_radio_button_new_with_mnemonic (IntPtr group, IntPtr label); // creates a new group for this RadioButton public RadioButton (string label) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (label); Raw = gtk_radio_button_new_with_mnemonic (IntPtr.Zero, native); GLib.Marshaller.Free (native); } gtk-sharp-2.12.40/gtk/TreeSortable.custom0000664000175000017500000000241212767740470015134 00000000000000// Gtk.TreeSortable.Custom - Gtk TreeSortable interface customizations // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Replaced by SetDefaultSortFunc (TreeIterCompareFunc) overload.")] void SetDefaultSortFunc (TreeIterCompareFunc sort_func, IntPtr user_data, Gtk.DestroyNotify destroy); [Obsolete ("Replaced by SetSortFunc (int, TreeIterCompareFunc) overload.")] void SetSortFunc (int sort_column_id, TreeIterCompareFunc sort_func, IntPtr user_data, Gtk.DestroyNotify destroy); gtk-sharp-2.12.40/gtk/Printer.custom0000664000175000017500000000305412767740470014167 00000000000000// Printer.custom - customizations to Gtk.Printer // // Authors: Mike Kestner // // Copyright (c) 2006 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_enumerate_printers (GtkSharp.PrinterFuncNative func, IntPtr func_data, GLib.DestroyNotify destroy, bool wait); public static void EnumeratePrinters (Gtk.PrinterFunc func, bool wait) { GtkSharp.PrinterFuncWrapper func_wrapper; IntPtr func_data; GLib.DestroyNotify destroy; if (func == null) { func_wrapper = null; func_data = IntPtr.Zero; destroy = null; } else { func_wrapper = new GtkSharp.PrinterFuncWrapper (func); func_data = (IntPtr) GCHandle.Alloc (func_wrapper); destroy = GLib.DestroyHelper.NotifyHandler; } gtk_enumerate_printers (func_wrapper.NativeDelegate, func_data, destroy, wait); } gtk-sharp-2.12.40/gtk/Action.custom0000664000175000017500000000256212767740470013764 00000000000000// Gtk.Action.custom - Gtk Action class customizations // // Author: John Luke // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public Action (string name, string label) : this (name, label, null, null) { } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_action_get_proxies (IntPtr raw); public Gtk.Widget[] Proxies { get { IntPtr raw_ret = gtk_action_get_proxies (Handle); GLib.SList list = new GLib.SList (raw_ret); return GLib.Marshaller.ListToArray (list); } } gtk-sharp-2.12.40/gtk/Clipboard.custom0000664000175000017500000001331112767740470014440 00000000000000// Gtk.Clipboard.custom - Customizations for the Clipboard class // // Authors: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_clipboard_set_with_data(IntPtr raw, TargetEntry[] targets, int n_targets, GtkSharp.ClipboardGetFuncNative get_func, GtkSharp.ClipboardClearFuncNative clear_func, IntPtr data); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_clipboard_set_with_owner(IntPtr raw, TargetEntry[] targets, int n_targets, GtkSharp.ClipboardGetFuncNative get_func, GtkSharp.ClipboardClearFuncNative clear_func, IntPtr owner); void ClearProxy (Clipboard clipboard) { if (PersistentData ["clear_func"] != null) { ClipboardClearFunc clear = PersistentData ["clear_func"] as ClipboardClearFunc; clear (clipboard); } SetPersistentData (null, null, null); } void SetPersistentData (object get_func_wrapper, object clear_func, object clear_proxy_wrapper) { PersistentData ["get_func_wrapper"] = get_func_wrapper; PersistentData ["clear_func"] = clear_func; PersistentData ["clear_proxy_wrapper"] = clear_proxy_wrapper; } public bool SetWithData (TargetEntry[] targets, ClipboardGetFunc get_func, ClipboardClearFunc clear_func) { ClipboardClearFunc clear_proxy = new ClipboardClearFunc (ClearProxy); GtkSharp.ClipboardGetFuncWrapper get_func_wrapper = new GtkSharp.ClipboardGetFuncWrapper (get_func); GtkSharp.ClipboardClearFuncWrapper clear_proxy_wrapper = new GtkSharp.ClipboardClearFuncWrapper (clear_proxy); bool ret = gtk_clipboard_set_with_data (Handle, targets, targets.Length, get_func_wrapper.NativeDelegate, clear_proxy_wrapper.NativeDelegate, IntPtr.Zero); SetPersistentData (get_func_wrapper, clear_func, clear_proxy_wrapper); return ret; } public bool SetWithOwner (TargetEntry[] targets, ClipboardGetFunc get_func, ClipboardClearFunc clear_func, GLib.Object owner) { ClipboardClearFunc clear_proxy = new ClipboardClearFunc (ClearProxy); GtkSharp.ClipboardGetFuncWrapper get_func_wrapper = new GtkSharp.ClipboardGetFuncWrapper (get_func); GtkSharp.ClipboardClearFuncWrapper clear_proxy_wrapper = new GtkSharp.ClipboardClearFuncWrapper (clear_proxy); bool ret = gtk_clipboard_set_with_owner (Handle, targets, targets.Length, get_func_wrapper.NativeDelegate, clear_proxy_wrapper.NativeDelegate, owner == null ? IntPtr.Zero : owner.Handle); SetPersistentData (get_func_wrapper, clear_func, clear_proxy_wrapper); return ret; } [Obsolete ("Replaced by Text property.")] public void SetText (string text) { Text = text; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_clipboard_wait_for_rich_text (IntPtr raw, IntPtr buffer, out IntPtr format, out UIntPtr length); public byte[] WaitForRichText(Gtk.TextBuffer buffer, out Gdk.Atom format) { UIntPtr length; IntPtr format_as_native; IntPtr raw_ret = gtk_clipboard_wait_for_rich_text (Handle, buffer == null ? IntPtr.Zero : buffer.Handle, out format_as_native, out length); format = format_as_native == IntPtr.Zero ? null : (Gdk.Atom) GLib.Opaque.GetOpaque (format_as_native, typeof (Gdk.Atom), false); if (raw_ret == IntPtr.Zero) return new byte [0]; int sz = (int) (uint) length; byte[] ret = new byte [sz]; Marshal.Copy (ret, 0, raw_ret, sz); GLib.Marshaller.Free (raw_ret); return ret; } public delegate void RichTextReceivedFunc (Gtk.Clipboard clipboard, Gdk.Atom format, byte[] text); static RichTextReceivedFuncNative rt_rcvd_marshaler; [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void RichTextReceivedFuncNative (IntPtr clipboard, IntPtr format, IntPtr text, UIntPtr length, IntPtr data); void RichTextReceivedCallback (IntPtr clipboard_ptr, IntPtr format_ptr, IntPtr text_ptr, UIntPtr length, IntPtr data) { try { Gtk.Clipboard clipboard = GLib.Object.GetObject(clipboard_ptr) as Gtk.Clipboard; Gdk.Atom format = format_ptr == IntPtr.Zero ? null : (Gdk.Atom) GLib.Opaque.GetOpaque (format_ptr, typeof (Gdk.Atom), false); int sz = (int) (uint) length; byte[] text = new byte [sz]; Marshal.Copy (text, 0, text_ptr, sz); GCHandle gch = (GCHandle) data; RichTextReceivedFunc cb = gch.Target as RichTextReceivedFunc; cb (clipboard, format, text); gch.Free (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_clipboard_request_rich_text(IntPtr raw, IntPtr buffer, RichTextReceivedFuncNative cb, IntPtr user_data); public void RequestRichText (Gtk.TextBuffer buffer, RichTextReceivedFunc cb) { if (rt_rcvd_marshaler == null) rt_rcvd_marshaler = new RichTextReceivedFuncNative (RichTextReceivedCallback); gtk_clipboard_request_rich_text (Handle, buffer == null ? IntPtr.Zero : buffer.Handle, rt_rcvd_marshaler, (IntPtr) GCHandle.Alloc (cb)); } gtk-sharp-2.12.40/gtk/gtk-sharp-2.0.pc.in0000664000175000017500000000101512767740470014431 00000000000000prefix=${pcfiledir}/../.. exec_prefix=${prefix} libdir=${exec_prefix}/lib gapidir=${prefix}/share/gapi-2.0 Name: Gtk# Description: Gtk# - GNOME .NET Binding Version: @VERSION@ Cflags: -I:${gapidir}/pango-api.xml -I:${gapidir}/atk-api.xml -I:${gapidir}/gdk-api.xml -I:${gapidir}/gtk-api.xml Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/pango-sharp.dll -r:${libdir}/mono/@PACKAGE_VERSION@/atk-sharp.dll -r:${libdir}/mono/@PACKAGE_VERSION@/gdk-sharp.dll -r:${libdir}/mono/@PACKAGE_VERSION@/gtk-sharp.dll Requires: glib-sharp-2.0 gtk-sharp-2.12.40/gtk/MessageDialog.custom0000664000175000017500000000372712767740470015257 00000000000000// // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_message_dialog_new (IntPtr parent_window, DialogFlags flags, MessageType type, ButtonsType bt, IntPtr msg, IntPtr args); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_message_dialog_new_with_markup (IntPtr parent_window, DialogFlags flags, MessageType type, ButtonsType bt, IntPtr msg, IntPtr args); public MessageDialog (Gtk.Window parent_window, DialogFlags flags, MessageType type, ButtonsType bt, bool use_markup, string format, params object[] args) { IntPtr p = (parent_window != null) ? parent_window.Handle : IntPtr.Zero; if (format == null) { Raw = gtk_message_dialog_new (p, flags, type, bt, IntPtr.Zero, IntPtr.Zero); return; } IntPtr nmsg = GLib.Marshaller.StringToPtrGStrdup (GLib.Marshaller.StringFormat (format, args)); if (use_markup) Raw = gtk_message_dialog_new_with_markup (p, flags, type, bt, nmsg, IntPtr.Zero); else Raw = gtk_message_dialog_new (p, flags, type, bt, nmsg, IntPtr.Zero); GLib.Marshaller.Free (nmsg); } public MessageDialog (Gtk.Window parent_window, DialogFlags flags, MessageType type, ButtonsType bt, string format, params object[] args) : this (parent_window, flags, type, bt, true, format, args) {} gtk-sharp-2.12.40/gtk/CellRendererText.custom0000664000175000017500000000353312767740470015761 00000000000000// // CellRendererText.custom - Gtk CellRendererText class customizations // // Author: Peter Johanson // // Copyright (C) 2007 Peter Johanson // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public override void GetSize (Gtk.Widget widget, ref Gdk.Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height) { CellRenderer.InternalGetSize (Gtk.CellRendererText.GType, this, widget, ref cell_area, out x_offset, out y_offset, out width, out height); } protected override void Render (Gdk.Drawable window, Gtk.Widget widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gdk.Rectangle expose_area, Gtk.CellRendererState flags) { CellRenderer.InternalRender (Gtk.CellRendererText.GType, this, window, widget, background_area, cell_area, expose_area, flags); } public override Gtk.CellEditable StartEditing(Gdk.Event evnt, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags) { return Gtk.CellRenderer.InternalStartEditing (Gtk.CellRendererText.GType, this, evnt, widget, path, ref background_area, ref cell_area, flags); } gtk-sharp-2.12.40/gtk/TextAppearance.custom0000664000175000017500000000253112767740470015447 00000000000000// Gtk.TextAppearance.custom - Gtk TextAppearance class customizations // // Authors: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Replaced by BgStipple property.")] public Gdk.Pixmap bg_stipple { get { Gdk.Pixmap ret = GLib.Object.GetObject(_bg_stipple) as Gdk.Pixmap; return ret; } set { _bg_stipple = value.Handle; } } [Obsolete ("Replaced by FgStipple property.")] public Gdk.Pixmap fg_stipple { get { Gdk.Pixmap ret = GLib.Object.GetObject(_fg_stipple) as Gdk.Pixmap; return ret; } set { _fg_stipple = value.Handle; } } gtk-sharp-2.12.40/gtk/TextChildAnchor.custom0000664000175000017500000000235212767740470015567 00000000000000// TextChildAnchor.custom - customizations to Gtk.TextChildAnchor // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_text_child_anchor_get_widgets (IntPtr raw); public Widget[] Widgets { get { IntPtr raw_ret = gtk_text_child_anchor_get_widgets (Handle); if (raw_ret == IntPtr.Zero) return new Widget [0]; return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.List), true, false); } } gtk-sharp-2.12.40/gtk/UIManager.custom0000664000175000017500000000443512767740470014360 00000000000000// Gtk.UiManager.custom - Gtk UiManager class customizations // // Author: John Luke // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public uint AddUiFromResource (string resource) { if (resource == null) throw new ArgumentNullException ("resource"); System.IO.Stream s = System.Reflection.Assembly.GetCallingAssembly ().GetManifestResourceStream (resource); if (s == null) throw new ArgumentException ("resource must be a valid resource name of 'assembly'."); return AddUiFromString (new System.IO.StreamReader (s).ReadToEnd ()); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern uint gtk_ui_manager_new_merge_id (IntPtr raw); public uint NewMergeId () { return gtk_ui_manager_new_merge_id (Handle); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_ui_manager_get_toplevels (IntPtr raw, int types); public Widget[] GetToplevels (Gtk.UIManagerItemType types) { IntPtr raw_ret = gtk_ui_manager_get_toplevels (Handle, (int) types); return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.SList), true, false); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_ui_manager_get_action_groups (IntPtr raw); public ActionGroup[] ActionGroups { get { IntPtr raw_ret = gtk_ui_manager_get_action_groups (Handle); GLib.List list = new GLib.List(raw_ret); return GLib.Marshaller.ListToArray (list); } } gtk-sharp-2.12.40/gtk/TreeModel.custom0000664000175000017500000000342412767740470014425 00000000000000// Gtk.TreeModel.Custom - Gtk TreeModel interface customizations // // Author: Kristian Rietveld // // Copyright (c) 2002 Kristian Rietveld // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. /// IterChildren Method /// To be completed bool IterChildren (out Gtk.TreeIter iter); /// IterNChildren Method /// To be completed int IterNChildren (); /// IterNthChild Method /// To be completed bool IterNthChild (out Gtk.TreeIter iter, int n); void SetValue (Gtk.TreeIter iter, int column, bool value); void SetValue (Gtk.TreeIter iter, int column, double value); void SetValue (Gtk.TreeIter iter, int column, int value); void SetValue (Gtk.TreeIter iter, int column, string value); void SetValue (Gtk.TreeIter iter, int column, float value); void SetValue (Gtk.TreeIter iter, int column, uint value); void SetValue (Gtk.TreeIter iter, int column, object value); object GetValue(Gtk.TreeIter iter, int column); event RowsReorderedHandler RowsReordered; gtk-sharp-2.12.40/gtk/ActionEntry.cs0000664000175000017500000000312712654353766014102 00000000000000// ActionEntry.cs - Syntactic C# sugar for easily defining Actions. // // Authors: Jeroen Zwartepoorte // // Copyright (c) 2004 Jeroen Zwartepoorte // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. using System; namespace Gtk { public struct ActionEntry { public string name; public string stock_id; public string label; public string tooltip; public string accelerator; public EventHandler activated; public ActionEntry (string name, string stock_id) : this (name, stock_id, null, null, null, null) {} public ActionEntry (string name, string stock_id, EventHandler activated) : this (name, stock_id, null, null, null, activated) {} public ActionEntry (string name, string stock_id, string label, string accelerator, string tooltip, EventHandler activated) { this.name = name; this.stock_id = stock_id; this.label = label; this.accelerator = accelerator; this.tooltip = tooltip; this.activated = activated; } } } gtk-sharp-2.12.40/gtk/Object.custom0000664000175000017500000001031412767740470013747 00000000000000// Gtk.Object.custom - Gtk Object class customizations // // Author: Mike Kestner // // Copyright (c) 2002-2003 Mike Kestner // Copyright (c) 2007 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. static Hashtable destroy_handlers; static Hashtable DestroyHandlers { get { if (destroy_handlers == null) destroy_handlers = new Hashtable (); return destroy_handlers; } } private static void OverrideDestroyed (GLib.GType gtype) { // Do Nothing. We don't want to hook into the native vtable. // We will manually invoke the VM on signal invocation. The signal // always raises before the default handler because this signal // is RUN_CLEANUP. } [GLib.DefaultSignalHandler(Type=typeof(Gtk.Object), ConnectionMethod="OverrideDestroyed")] protected virtual void OnDestroyed () { if (DestroyHandlers.Contains (Handle)) { EventHandler handler = (EventHandler) DestroyHandlers [Handle]; handler (this, EventArgs.Empty); DestroyHandlers.Remove (Handle); } } [GLib.Signal("destroy")] public event EventHandler Destroyed { add { EventHandler handler = (EventHandler) DestroyHandlers [Handle]; DestroyHandlers [Handle] = Delegate.Combine (handler, value); } remove { EventHandler handler = (EventHandler) DestroyHandlers [Handle]; handler = (EventHandler) Delegate.Remove (handler, value); if (handler != null) DestroyHandlers [Handle] = handler; else DestroyHandlers.Remove (Handle); } } event EventHandler InternalDestroyed { add { GLib.Signal sig = GLib.Signal.Lookup (this, "destroy"); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (this, "destroy"); sig.RemoveDelegate (value); } } static void NativeDestroy (object o, EventArgs args) { Gtk.Object obj = o as Gtk.Object; if (obj == null) return; obj.OnDestroyed (); } static EventHandler native_destroy_handler; static EventHandler NativeDestroyHandler { get { if (native_destroy_handler == null) native_destroy_handler = new EventHandler (NativeDestroy); return native_destroy_handler; } } public override void Dispose () { // Don't call base.Dispose because it's calling g_object_unref // which is done by gtk_object_destroy for Gtk.Object //Should line below be uncommented?(but it breaks backward compatiblity) //throw new InvalidOperationException("Calling Dispose is invalid for Gtk objects. Call Destroy()."); } protected override IntPtr Raw { get { return base.Raw; } set { base.Raw = value; if (value != IntPtr.Zero) InternalDestroyed += NativeDestroyHandler; } } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] private static extern void gtk_object_destroy (IntPtr raw); public virtual void Destroy () { if (Handle == IntPtr.Zero) return; if (IsFloating)//We have to check or we will increment ref_count IsFloating = false; gtk_object_destroy (Handle); InternalDestroyed -= NativeDestroyHandler; } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] private static extern bool gtksharp_object_is_floating (IntPtr raw); [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] private static extern bool gtksharp_object_set_floating (IntPtr raw, bool val); public bool IsFloating { get { return gtksharp_object_is_floating (Handle); } set { gtksharp_object_set_floating (Handle, value); } } gtk-sharp-2.12.40/gtk/TreeNodeAttribute.cs0000664000175000017500000000233412654353766015233 00000000000000// TreeNodeAttribute.cs - Attribute to specify TreeNode information for a class // // Author: Mike Kestner // // Copyright (c) 2003-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; [AttributeUsage(AttributeTargets.Class)] public sealed class TreeNodeAttribute : Attribute { bool list_only; [Obsolete ("This is no longer needed; it gets detected by Gtk#")] public int ColumnCount { get { return 0; } set { } } public bool ListOnly { get { return list_only; } set { list_only = value; } } } } gtk-sharp-2.12.40/gtk/ToggleActionEntry.cs0000664000175000017500000000357012654353766015246 00000000000000// ToggleActionEntry.cs - Syntactic C# sugar for easily defining ToggleActions. // // Authors: Jeroen Zwartepoorte // // Copyright (c) 2004 Jeroen Zwartepoorte // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. using System; namespace Gtk { public struct ToggleActionEntry { public string name; public string stock_id; public string label; public string tooltip; public string accelerator; public EventHandler activated; public bool active; public ToggleActionEntry (string name, string stock_id) : this (name, stock_id, null, null, null, null, false) {} public ToggleActionEntry (string name, string stock_id, EventHandler activated) : this (name, stock_id, null, null, null, activated, false) {} public ToggleActionEntry (string name, string stock_id, EventHandler activated, bool active) : this (name, stock_id, null, null, null, activated, active) {} public ToggleActionEntry (string name, string stock_id, string label, string accelerator, string tooltip, EventHandler activated, bool active) { this.name = name; this.stock_id = stock_id; this.label = label; this.accelerator = accelerator; this.tooltip = tooltip; this.activated = activated; this.active = active; } } } gtk-sharp-2.12.40/gtk/Combo.custom0000664000175000017500000000206012767740470013577 00000000000000// // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_combo_set_popdown_strings(IntPtr raw, IntPtr strings); public string[] PopdownStrings { set { GLib.List list = new GLib.List (IntPtr.Zero, typeof (string), true, true); foreach (string val in value) list.Append (val); gtk_combo_set_popdown_strings(Handle, list.Handle); } } gtk-sharp-2.12.40/gtk/PrintSettings.custom0000664000175000017500000000101412767740470015353 00000000000000 [DllImport("libgtk-win32-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr gtk_print_settings_get_page_ranges(IntPtr raw, out int num_ranges); public Gtk.PageRange[] GetPageRanges(out int num_ranges) { IntPtr raw_ret = gtk_print_settings_get_page_ranges(Handle, out num_ranges); var ret = new Gtk.PageRange [num_ranges]; for (int i = 0; i < num_ranges; i++) ret[i] = Gtk.PageRange.New (raw_ret + i * IntPtr.Size); GLib.Marshaller.Free (raw_ret); return ret; } gtk-sharp-2.12.40/gtk/Accel.custom0000664000175000017500000001321712767740470013555 00000000000000// Accel.custom - customizations to Gtk.Accel // // Authors: Mike Kestner // // Copyright (c) 2004-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_accel_map_save(IntPtr file_name); [Obsolete("Moved to AccelMap class. Use AccelMap.Save instead")] public static void MapSave(string file_name) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (file_name); gtk_accel_map_save (native); GLib.Marshaller.Free (native); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_accel_map_add_filter(IntPtr filter_pattern); [Obsolete("Moved to AccelMap class. Use AccelMap.AddFilter instead")] public static void MapAddFilter(string filter_pattern) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (filter_pattern); gtk_accel_map_add_filter (native); GLib.Marshaller.Free (native); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_accel_map_foreach_unfiltered(IntPtr data, GtkSharp.AccelMapForeachNative foreach_func); [Obsolete("Moved to AccelMap class. Use AccelMap.ForeachUnfiltered instead")] public static void MapForeachUnfiltered(IntPtr data, Gtk.AccelMapForeach foreach_func) { GtkSharp.AccelMapForeachWrapper foreach_func_wrapper = new GtkSharp.AccelMapForeachWrapper (foreach_func); gtk_accel_map_foreach_unfiltered(data, foreach_func_wrapper.NativeDelegate); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_accel_map_save_fd(int fd); [Obsolete("Moved to AccelMap class. Use AccelMap.SaveFd instead")] public static void MapSaveFd(int fd) { gtk_accel_map_save_fd(fd); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_accel_map_add_entry(IntPtr accel_path, uint accel_key, int accel_mods); [Obsolete("Moved to AccelMap class. Use AccelMap.AddEntry instead")] public static void MapAddEntry(string accel_path, uint accel_key, Gdk.ModifierType accel_mods) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (accel_path); gtk_accel_map_add_entry(native, accel_key, (int) accel_mods); GLib.Marshaller.Free (native); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_accel_map_load_fd(int fd); [Obsolete("Moved to AccelMap class. Use AccelMap.LoadFd instead")] public static void MapLoadFd(int fd) { gtk_accel_map_load_fd(fd); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_accel_map_lookup_entry(IntPtr accel_path, ref Gtk.AccelKey key); [Obsolete("Moved to AccelMap class. Use AccelMap.LookupEntry instead")] public static bool MapLookupEntry(string accel_path, Gtk.AccelKey key) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (accel_path); bool ret = gtk_accel_map_lookup_entry(native, ref key); GLib.Marshaller.Free (native); return ret; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_accel_map_change_entry(IntPtr accel_path, uint accel_key, int accel_mods, bool replace); [Obsolete("Moved to AccelMap class. Use AccelMap.ChangeEntry instead")] public static bool MapChangeEntry (string accel_path, uint accel_key, Gdk.ModifierType accel_mods, bool replace) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (accel_path); bool ret = gtk_accel_map_change_entry (native, accel_key, (int) accel_mods, replace); GLib.Marshaller.Free (native); return ret; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_accel_map_load (IntPtr file_name); [Obsolete("Moved to AccelMap class. Use AccelMap.Load instead")] public static void MapLoad (string file_name) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (file_name); gtk_accel_map_load (native); GLib.Marshaller.Free (native); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_accel_map_foreach(IntPtr data, GtkSharp.AccelMapForeachNative foreach_func); [Obsolete("Moved to AccelMap class. Use AccelMap.Foreach instead")] public static void MapForeach(IntPtr data, Gtk.AccelMapForeach foreach_func) { GtkSharp.AccelMapForeachWrapper foreach_func_wrapper = new GtkSharp.AccelMapForeachWrapper (foreach_func); gtk_accel_map_foreach(data, foreach_func_wrapper.NativeDelegate); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_accel_groups_from_object (IntPtr obj); public static AccelGroup[] GroupsFromObject (GLib.Object obj) { IntPtr raw_ret = gtk_accel_groups_from_object(obj.Handle); if (raw_ret == IntPtr.Zero) return new AccelGroup [0]; GLib.SList list = new GLib.SList(raw_ret); return GLib.Marshaller.ListToArray (list); } gtk-sharp-2.12.40/gtk/gtk-api.raw0000664000175000017500000406576512767740470013404 00000000000000 gtk-sharp-2.12.40/gtk/SelectionData.custom0000664000175000017500000000541412767740470015265 00000000000000// SelectionData.custom - customizations for Gtk.SelectionData // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] private static extern IntPtr gtk_selection_data_get_text (IntPtr selection_data); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] private static extern void gtk_selection_data_set_text (IntPtr selection_data, IntPtr str, int len); public string Text { get { IntPtr text = gtk_selection_data_get_text (Handle); if (text == IntPtr.Zero) return null; return GLib.Marshaller.PtrToStringGFree (text); } set { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (value); gtk_selection_data_set_text (Handle, native, -1); GLib.Marshaller.Free (native); } } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] private static extern IntPtr gtksharp_gtk_selection_data_get_data_pointer (IntPtr selection_data); public byte[] Data { get { IntPtr data_ptr = gtksharp_gtk_selection_data_get_data_pointer (Handle); byte[] result = new byte [Length]; Marshal.Copy (data_ptr, result, 0, Length); return result; } } public void Set(Gdk.Atom type, int format, byte[] data) { Set(type, format, data, data.Length); } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_free (IntPtr ptr); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_selection_data_get_targets(IntPtr raw, out IntPtr targets, out int n_atoms); public Gdk.Atom [] Targets { get { IntPtr target_ptr; int count; if (gtk_selection_data_get_targets (Handle, out target_ptr, out count)) { Gdk.Atom[] result = new Gdk.Atom [count]; for (int i = 0; i < count; i++) { IntPtr atom = Marshal.ReadIntPtr (target_ptr, count * IntPtr.Size); result [i] = new Gdk.Atom (atom); } g_free (target_ptr); return result; } else return new Gdk.Atom [0]; } } gtk-sharp-2.12.40/gtk/RowsReorderedHandler.cs0000664000175000017500000000242612654353766015730 00000000000000// RowsReorderedHandler.cs // // Authors: Mike Kestner // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; public delegate void RowsReorderedHandler (object o, RowsReorderedArgs args); public class RowsReorderedArgs : GLib.SignalArgs { public Gtk.TreePath Path{ get { return (Gtk.TreePath) Args[0]; } } public Gtk.TreeIter Iter{ get { return (Gtk.TreeIter) Args[1]; } } [Obsolete ("Replaced by NewChildOrder property")] public int NewOrder{ set { } } public int[] NewChildOrder { get { return (int[]) Args[2]; } } } } gtk-sharp-2.12.40/gtk/ImageMenuItem.custom0000664000175000017500000000304112767740470015226 00000000000000// Gtk.ImageMenuItem.custom - Gtk ImageMenuItem class customizations // // Author: Mike Kestner // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_image_menu_item_new_with_mnemonic (IntPtr label); public ImageMenuItem (string label) : base (IntPtr.Zero) { if (GetType() != typeof (ImageMenuItem)) { CreateNativeObject (new IntPtr [0], new GLib.Value [0], 0); AccelLabel al = new AccelLabel (""); al.TextWithMnemonic = label; al.SetAlignment (0.0f, 0.5f); Add (al); al.AccelWidget = this; return; } IntPtr native = GLib.Marshaller.StringToPtrGStrdup (label); Raw = gtk_image_menu_item_new_with_mnemonic (native); GLib.Marshaller.Free (native); } gtk-sharp-2.12.40/gtk/Makefile.am0000664000175000017500000000677512767740470013361 00000000000000SUBDIRS = . glue if ENABLE_MONO_CAIRO local_mono_cairo=$(top_builddir)/cairo/Mono.Cairo.dll else local_mono_cairo= endif pkg = gtk pkgconfigdir=$(libdir)/pkgconfig pkgconfig_DATA=gtk-sharp-2.0.pc SYMBOLS = gtk-symbols.xml INCLUDE_API = $(top_srcdir)/glib/glib-api.xml $(top_builddir)/pango/pango-api.xml $(top_builddir)/atk/atk-api.xml $(top_builddir)/gdk/gdk-api.xml METADATA = Gtk.metadata references = $(top_builddir)/glib/glib-sharp.dll $(top_builddir)/pango/pango-sharp.dll $(top_builddir)/atk/atk-sharp.dll $(top_builddir)/gdk/gdk-sharp.dll $(local_mono_cairo) glue_includes = gtk/gtk.h sources = \ ActionEntry.cs \ Application.cs \ BindingAttribute.cs \ ChildPropertyAttribute.cs \ ITreeNode.cs \ Key.cs \ MoveFocusHandler.cs \ NodeCellDataFunc.cs \ NodeSelection.cs \ NodeStore.cs \ NodeView.cs \ RadioActionEntry.cs \ RowsReorderedHandler.cs \ StockManager.cs \ TextBufferSerializeFunc.cs \ GtkSharp.TextBufferSerializeFuncNative.cs \ ThreadNotify.cs \ ToggleActionEntry.cs \ Timeout.cs \ TreeEnumerator.cs \ TreeNodeAttribute.cs \ TreeNode.cs \ TreeNodeValueAttribute.cs customs = \ AboutDialog.custom \ Accel.custom \ AccelKey.custom \ Action.custom \ ActionGroup.custom \ Adjustment.custom \ Bin.custom \ Builder.custom \ Button.custom \ Calendar.custom \ CellRenderer.custom \ CellRendererAccel.custom \ CellRendererCombo.custom \ CellRendererPixbuf.custom \ CellRendererProgress.custom \ CellRendererSpin.custom \ CellRendererText.custom \ CellRendererToggle.custom \ CellLayout.custom \ CellLayoutAdapter.custom \ CellView.custom \ CheckMenuItem.custom \ Clipboard.custom \ ColorSelection.custom \ ColorSelectionDialog.custom \ Combo.custom \ ComboBox.custom \ ComboBoxEntry.custom \ Container.custom \ Dialog.custom \ Drag.custom \ Entry.custom \ EntryCompletion.custom \ FileChooser.custom \ FileChooserButton.custom \ FileChooserDialog.custom \ FileChooserWidget.custom \ FileSelection.custom \ Frame.custom \ Global.custom \ HBox.custom \ HScale.custom \ IconFactory.custom \ IconSet.custom \ IconTheme.custom \ IconView.custom \ Image.custom \ ImageMenuItem.custom \ Init.custom \ Input.custom \ ItemFactory.custom \ Label.custom \ ListStore.custom \ MessageDialog.custom \ Menu.custom \ MenuItem.custom \ Notebook.custom \ Object.custom \ Plug.custom \ PrintContext.custom \ PrintSettings.custom \ Printer.custom \ RadioButton.custom \ RadioMenuItem.custom \ RadioToolButton.custom \ ScrolledWindow.custom \ SelectionData.custom \ Settings.custom \ SpinButton.custom \ StatusIcon.custom \ Stock.custom \ StockItem.custom \ Style.custom \ Table.custom \ TargetEntry.custom \ TargetList.custom \ TargetPair.custom \ TextAttributes.custom \ TextAppearance.custom \ TextBuffer.custom \ TextChildAnchor.custom \ TextIter.custom \ TextMark.custom \ TextTag.custom \ TextView.custom \ Toolbar.custom \ TooltipsData.custom \ TreeIter.custom \ TreeModel.custom \ TreeModelAdapter.custom \ TreeModelFilter.custom \ TreeModelSort.custom \ TreePath.custom \ TreeSelection.custom \ TreeSortable.custom \ TreeSortableAdapter.custom \ TreeStore.custom \ TreeViewColumn.custom \ TreeView.custom \ UIManager.custom \ VBox.custom \ VScale.custom \ Viewport.custom \ Widget.custom \ Window.custom add_dist = gtk-sharp-2.0.pc.in include $(top_srcdir)/Makefile.include gtk-sharp-2.12.40/gtk/Notebook.custom0000664000175000017500000000232712767740470014326 00000000000000// Notebook.custom - customization for Gtk.Notebook // // Authors: Xavier Amado (xavier@blackbloodstudios.com) // Mike Kestner (mkestner@ximian.com) // // Copyright (c) 2004 Novel, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public Widget CurrentPageWidget { get { return GetNthPage (CurrentPage); } } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int gtk_notebook_page_num (IntPtr handle, IntPtr child); public int PageNum (Widget child) { return gtk_notebook_page_num (Handle, child.Handle); } gtk-sharp-2.12.40/gtk/Drag.custom0000664000175000017500000000244712767740470013426 00000000000000// Drag.custom - Gtk.Drag class customizations // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_drag_set_icon_default(IntPtr context); public static void SetIconDefault(Gdk.DragContext context) { gtk_drag_set_icon_default(context == null ? IntPtr.Zero : context.Handle); } [Obsolete("Replaced by SetIconDefault(ctx)")] public static Gdk.DragContext IconDefault { set { gtk_drag_set_icon_default(value == null ? IntPtr.Zero : value.Handle); } } gtk-sharp-2.12.40/gtk/Entry.custom0000664000175000017500000000216512767740470013647 00000000000000// // Gtk.Entry.custom - Allow customization of values in the GtkEntry // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public int InsertText (string new_text) { int position = 0; InsertText (new_text, ref position); return position; } public Entry(string initialText): this() { Text = initialText; } [Obsolete("Replaced by IsEditable property")] public bool Editable { get { return IsEditable; } set { IsEditable = value; } } gtk-sharp-2.12.40/gtk/TextMark.custom0000664000175000017500000000177112767740470014307 00000000000000// Gtk.TextMark.custom - Gtk TextMark class customizations // // Author: Mike Kestner (mkestner@novell.com) // // Copyright (C) 2007 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. protected TextMark () : base (IntPtr.Zero) { CreateNativeObject (new IntPtr [0], new GLib.Value [0], 0); } gtk-sharp-2.12.40/gtk/StockManager.cs0000664000175000017500000000626312767740470014222 00000000000000// StockManager.cs - Gtk.Stock item manager // // Authors: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; using System.Runtime.InteropServices; public class StockManager { [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_stock_add_static(ref Gtk.StockItem items, uint n_items); [Obsolete ("Use StockManager.Add instead")] public static void AddStatic(Gtk.StockItem items, uint n_items) { gtk_stock_add_static(ref items, n_items); } [StructLayout(LayoutKind.Sequential)] struct ConstStockItem { public IntPtr StockId; public IntPtr Label; public Gdk.ModifierType Modifier; public uint Keyval; public IntPtr TranslationDomain; public static explicit operator StockItem (ConstStockItem csi) { Gtk.StockItem item = new Gtk.StockItem (); item.StockId = GLib.Marshaller.Utf8PtrToString (csi.StockId); item.Label = GLib.Marshaller.Utf8PtrToString (csi.Label); item.Modifier = csi.Modifier; item.Keyval = csi.Keyval; item.TranslationDomain = GLib.Marshaller.Utf8PtrToString (csi.TranslationDomain); return item; } } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_stock_lookup (IntPtr stock_id, out ConstStockItem item); public static bool Lookup (string stock_id, ref Gtk.StockItem item) { ConstStockItem const_item; IntPtr native_id = GLib.Marshaller.StringToPtrGStrdup (stock_id); bool found = gtk_stock_lookup (native_id, out const_item); GLib.Marshaller.Free (native_id); if (!found) return false; item = (StockItem) const_item; return true; } public static bool LookupItem (string stock_id, out Gtk.StockItem item) { item = StockItem.Zero; return Lookup (stock_id, ref item); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_stock_add(ref Gtk.StockItem item, uint n_items); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_stock_add(Gtk.StockItem[] items, uint n_items); [Obsolete ("Use the StockItem or StockItem[] overload instead.")] public static void Add (Gtk.StockItem items, uint n_items) { gtk_stock_add(ref items, n_items); } public static void Add (Gtk.StockItem item) { gtk_stock_add (ref item, 1); } public static void Add (Gtk.StockItem[] items) { gtk_stock_add (items, (uint) items.Length); } } } gtk-sharp-2.12.40/gtk/IconFactory.custom0000664000175000017500000000232612767740470014765 00000000000000// // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] extern static void gtk_icon_size_lookup (IconSize size, out int width, out int height); /// Query icon dimensions /// Queries dimensions for icons of the specified size. public void LookupIconSize (IconSize size, out int width, out int height) { gtk_icon_size_lookup (size, out width, out height); } gtk-sharp-2.12.40/gtk/Plug.custom0000664000175000017500000000331712767740470013455 00000000000000// Gtk.Plug.custom - Gtk Plug class customizations // // Author: Mike Kestner // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_plug_new(uint socket_id); public Plug (uint socket_id) : base (IntPtr.Zero) { if (GetType () != typeof (Plug)) { CreateNativeObject (new IntPtr [0], new GLib.Value [0], 0); Construct (socket_id); return; } Raw = gtk_plug_new(socket_id); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_plug_new_for_display(IntPtr display, uint socket_id); public Plug (Gdk.Display display, uint socket_id) : base (IntPtr.Zero) { if (GetType () != typeof (Plug)) { CreateNativeObject (new IntPtr [0], new GLib.Value [0], 0); ConstructForDisplay (display, socket_id); return; } Raw = gtk_plug_new_for_display(display.Handle, socket_id); } gtk-sharp-2.12.40/gtk/CellView.custom0000664000175000017500000000233412767740470014256 00000000000000// Gtk.CellView.custom - Gtk CellView customizations // // Authors: Todd Berman // Mike Kestner // // Copyright (c) 2004 Todd Berman // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public void SetAttributes (CellRenderer cell, params object[] attrs) { if (attrs.Length % 2 != 0) throw new ArgumentException ("attrs should contain pairs of attribute/col"); ClearAttributes (cell); for (int i = 0; i < attrs.Length - 1; i += 2) { AddAttribute (cell, (string) attrs [i], (int) attrs [i + 1]); } } gtk-sharp-2.12.40/gtk/NodeView.cs0000664000175000017500000000446612767740470013367 00000000000000// NodeView.cs - a TreeView implementation that exposes ITreeNodes // // Author: Duncan Mak (duncan@ximian.com) // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; using System.Collections; using System.Reflection; using System.Runtime.InteropServices; public class NodeView : TreeView { NodeStore store; NodeSelection selection; public NodeView (NodeStore store) : base (IntPtr.Zero) { IntPtr[] names = { GLib.Marshaller.StringToPtrGStrdup ("model") }; GLib.Value[] vals = { new GLib.Value (store) }; CreateNativeObject (names, vals, 0); this.store = store; } public NodeView () : base () {} [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_tree_view_set_model(IntPtr raw, IntPtr model); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_object_unref (IntPtr raw); public NodeStore NodeStore { get { return store; } set { var storeHandle = value == null ? IntPtr.Zero : value.Handle; gtk_tree_view_set_model (Handle, storeHandle); if (storeHandle != IntPtr.Zero) g_object_unref (storeHandle); } } public NodeSelection NodeSelection { get { if (selection == null) selection = new NodeSelection (Selection); return selection; } } public Gtk.TreeViewColumn AppendColumn (string title, Gtk.CellRenderer cell, Gtk.NodeCellDataFunc cell_data) { Gtk.TreeViewColumn col = new Gtk.TreeViewColumn (); col.Title = title; col.PackStart (cell, true); col.SetCellDataFunc (cell, cell_data); AppendColumn (col); return col; } } } gtk-sharp-2.12.40/gtk/RadioMenuItem.custom0000664000175000017500000000261312767740470015246 00000000000000// Gtk.RadioMenuItem.custom - Gtk RadioMenuItem customizations // // Authors: John Luke // Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public RadioMenuItem (string label) : base (IntPtr.Zero) { if (GetType() != typeof (RadioMenuItem)) { CreateNativeObject (new IntPtr [0], new GLib.Value [0], 0); AccelLabel al = new AccelLabel (""); al.TextWithMnemonic = label; al.SetAlignment (0.0f, 0.5f); Add (al); al.AccelWidget = this; return; } IntPtr label_as_native = GLib.Marshaller.StringToPtrGStrdup (label); Raw = gtk_radio_menu_item_new_with_mnemonic (IntPtr.Zero, label_as_native); GLib.Marshaller.Free (label_as_native); } gtk-sharp-2.12.40/gtk/FileChooserDialog.custom0000664000175000017500000001117712767740470016073 00000000000000// Gtk.FileChooserDialog.custom - Gtk FileChooserDialog customizations // // Authors: Todd Berman // Jeroen Zwartepoorte // Mike Kestner // // Copyright (c) 2004 Todd Berman, Jeroen Zwartepoorte // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_file_chooser_dialog_new(IntPtr title, IntPtr parent, int action, IntPtr nil); public FileChooserDialog (string title, Window parent, FileChooserAction action, params object[] button_data) : base (IntPtr.Zero) { if (GetType () != typeof (FileChooserDialog)) { CreateNativeObject (new IntPtr[0], new GLib.Value[0], 0); Title = title; if (parent != null) TransientFor = parent; Action = action; } else { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (title); Raw = gtk_file_chooser_dialog_new (native, parent == null ? IntPtr.Zero : parent.Handle, (int)action, IntPtr.Zero); GLib.Marshaller.Free (native); } for (int i = 0; i < button_data.Length - 1; i += 2) AddButton ((string) button_data [i], (int) button_data [i + 1]); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_file_chooser_dialog_new_with_backend(IntPtr title, IntPtr parent, int action, IntPtr backend, IntPtr nil); public FileChooserDialog (string backend, string title, Window parent, FileChooserAction action, params object[] button_data) : base (IntPtr.Zero) { if (GetType () != typeof (FileChooserDialog)) { CreateNativeObject (new IntPtr[] { GLib.Marshaller.StringToPtrGStrdup ("file-system-backend") }, new GLib.Value[] { new GLib.Value (backend) }, 1); Title = title; if (parent != null) TransientFor = parent; Action = action; } else { IntPtr ntitle = GLib.Marshaller.StringToPtrGStrdup (title); IntPtr nbackend = GLib.Marshaller.StringToPtrGStrdup (backend); Raw = gtk_file_chooser_dialog_new_with_backend (ntitle, parent == null ? IntPtr.Zero : parent.Handle, (int)action, nbackend, IntPtr.Zero); GLib.Marshaller.Free (ntitle); GLib.Marshaller.Free (nbackend); } for (int i = 0; i < button_data.Length - 1; i += 2) AddButton ((string) button_data [i], (int) button_data [i + 1]); } bool IsWindowsPlatform { get { switch (Environment.OSVersion.Platform) { case PlatformID.Win32NT: case PlatformID.Win32S: case PlatformID.Win32Windows: case PlatformID.WinCE: return true; default: return false; } } } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_file_chooser_get_filenames (IntPtr raw); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_file_chooser_get_filenames_utf8 (IntPtr raw); public string[] Filenames { get { IntPtr raw_ret; if (IsWindowsPlatform) raw_ret = gtk_file_chooser_get_filenames_utf8 (Handle); else raw_ret = gtk_file_chooser_get_filenames (Handle); GLib.SList list = new GLib.SList (raw_ret, typeof (GLib.ListBase.FilenameString), true, true); return GLib.Marshaller.ListToArray (list); } } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_file_chooser_list_shortcut_folders (IntPtr raw); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_file_chooser_list_shortcut_folders_utf8 (IntPtr raw); public string[] ShortcutFolders { get { IntPtr raw_ret; if (IsWindowsPlatform) raw_ret = gtk_file_chooser_list_shortcut_folders_utf8 (Handle); else raw_ret = gtk_file_chooser_list_shortcut_folders (Handle); GLib.SList list = new GLib.SList (raw_ret, typeof (GLib.ListBase.FilenameString), true, true); return GLib.Marshaller.ListToArray (list); } } gtk-sharp-2.12.40/gtk/ColorSelection.custom0000664000175000017500000000544312767740470015474 00000000000000// Gtk.ColorSelection.custom - customizations and corrections for ColorSelection // Author: Lee Mallabone // Author: Justin Malcolm // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_color_selection_palette_to_string(Gdk.Color[] colors, int n_colors); /// PaletteToString Method public static string PaletteToString(Gdk.Color[] colors) { int n_colors = colors.Length; IntPtr raw_ret = gtk_color_selection_palette_to_string(colors, n_colors); string ret = GLib.Marshaller.PtrToStringGFree (raw_ret); return ret; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_color_selection_palette_from_string(IntPtr str, out IntPtr colors, out int n_colors); public static Gdk.Color[] PaletteFromString(string str) { IntPtr parsedColors; int n_colors; IntPtr native = GLib.Marshaller.StringToPtrGStrdup (str); bool raw_ret = gtk_color_selection_palette_from_string(native, out parsedColors, out n_colors); GLib.Marshaller.Free (native); // If things failed, return silently if (!raw_ret) { return null; } Gdk.Color[] colors = new Gdk.Color[n_colors]; int colorSize = Marshal.SizeOf (typeof (Gdk.Color)); for (int i=0; i < n_colors; i++) { colors[i] = Gdk.Color.New(parsedColors); parsedColors = (IntPtr) ((int)parsedColors + colorSize); } return colors; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_color_selection_set_previous_color(IntPtr raw, ref Gdk.Color color); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_color_selection_get_previous_color(IntPtr raw, out Gdk.Color color); // Create Gtk# property to replace two Gtk+ functions public Gdk.Color PreviousColor { get { Gdk.Color returnColor; gtk_color_selection_get_previous_color(Handle, out returnColor); return returnColor; } set { gtk_color_selection_set_previous_color(Handle, ref value); } } gtk-sharp-2.12.40/gtk/Table.custom0000664000175000017500000000145312767740470013574 00000000000000// // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. /* FIXME: Uncomment this when the default ctor flag is added to the XML public Table() { Raw = gtk_table_new (0, 0, false); } */ gtk-sharp-2.12.40/gtk/TreeModelFilter.custom0000664000175000017500000001632212767740470015574 00000000000000 [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_tree_model_iter_children (IntPtr raw, out Gtk.TreeIter iter, IntPtr parent); public bool IterChildren (out Gtk.TreeIter iter) { bool raw_ret = gtk_tree_model_iter_children (Handle, out iter, IntPtr.Zero); bool ret = raw_ret; return ret; } public int IterNChildren () { int raw_ret = gtk_tree_model_iter_n_children (Handle, IntPtr.Zero); int ret = raw_ret; return ret; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_tree_model_iter_nth_child (IntPtr raw, out Gtk.TreeIter iter, IntPtr parent, int n); public bool IterNthChild (out Gtk.TreeIter iter, int n) { bool raw_ret = gtk_tree_model_iter_nth_child (Handle, out iter, IntPtr.Zero, n); bool ret = raw_ret; return ret; } public void SetValue (Gtk.TreeIter iter, int column, bool value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, double value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, int value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, string value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, float value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, uint value) { throw new NotImplementedException (); } public void SetValue (Gtk.TreeIter iter, int column, object value) { throw new NotImplementedException (); } public object GetValue (Gtk.TreeIter iter, int column) { GLib.Value val = GLib.Value.Empty; GetValue (iter, column, ref val); object ret = val.Val; val.Dispose (); return ret; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_tree_model_filter_set_modify_func(IntPtr raw, int n_columns, IntPtr[] types, GtkSharp.TreeModelFilterModifyFuncNative func, IntPtr data, GLib.DestroyNotify destroy); public void SetModifyFunc (int n_columns, GLib.GType[] types, TreeModelFilterModifyFunc func) { GtkSharp.TreeModelFilterModifyFuncWrapper func_wrapper = new GtkSharp.TreeModelFilterModifyFuncWrapper (func); IntPtr[] native_types = new IntPtr [types.Length]; for (int i = 0; i < types.Length; i++) native_types [i] = types [i].Val; GCHandle gch = GCHandle.Alloc (func_wrapper); gtk_tree_model_filter_set_modify_func (Handle, n_columns, native_types, func_wrapper.NativeDelegate, (IntPtr) gch, GLib.DestroyHelper.NotifyHandler); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_tree_model_filter_convert_child_iter_to_iter (IntPtr raw, out Gtk.TreeIter filter_iter, ref Gtk.TreeIter child_iter); public TreeIter ConvertChildIterToIter (Gtk.TreeIter child_iter) { TreeIter filter_iter; if (gtk_tree_model_filter_convert_child_iter_to_iter(Handle, out filter_iter, ref child_iter)) return filter_iter; else return TreeIter.Zero; } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void RowsReorderedSignalDelegate (IntPtr arg0, IntPtr arg1, IntPtr arg2, IntPtr arg3, IntPtr gch); static void RowsReorderedSignalCallback (IntPtr arg0, IntPtr arg1, IntPtr arg2, IntPtr arg3, IntPtr gch) { Gtk.RowsReorderedArgs args = new Gtk.RowsReorderedArgs (); try { GLib.Signal sig = ((GCHandle) gch).Target as GLib.Signal; if (sig == null) throw new Exception("Unknown signal GC handle received " + gch); TreeModelFilter sender = GLib.Object.GetObject (arg0) as TreeModelFilter; args.Args = new object[3]; args.Args[0] = arg1 == IntPtr.Zero ? null : (Gtk.TreePath) GLib.Opaque.GetOpaque (arg1, typeof (Gtk.TreePath), false); args.Args[1] = Gtk.TreeIter.New (arg2); int child_cnt = arg2 == IntPtr.Zero ? sender.IterNChildren () : sender.IterNChildren ((TreeIter)args.Args[1]); int[] new_order = new int [child_cnt]; Marshal.Copy (arg3, new_order, 0, child_cnt); args.Args[2] = new_order; Gtk.RowsReorderedHandler handler = (Gtk.RowsReorderedHandler) sig.Handler; handler (sender, args); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void RowsReorderedVMDelegate (IntPtr tree_model, IntPtr path, IntPtr iter, IntPtr new_order); static RowsReorderedVMDelegate RowsReorderedVMCallback; static void rowsreordered_cb (IntPtr tree_model, IntPtr path_ptr, IntPtr iter_ptr, IntPtr new_order) { try { TreeModelFilter store = GLib.Object.GetObject (tree_model, false) as TreeModelFilter; TreePath path = GLib.Opaque.GetOpaque (path_ptr, typeof (TreePath), false) as TreePath; TreeIter iter = TreeIter.New (iter_ptr); int child_cnt = store.IterNChildren (iter); int[] child_order = new int [child_cnt]; Marshal.Copy (new_order, child_order, 0, child_cnt); store.OnRowsReordered (path, iter, child_order); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call doesn't return throw e; } } private static void OverrideRowsReordered (GLib.GType gtype) { if (RowsReorderedVMCallback == null) RowsReorderedVMCallback = new RowsReorderedVMDelegate (rowsreordered_cb); OverrideVirtualMethod (gtype, "rows_reordered", RowsReorderedVMCallback); } [Obsolete ("Replaced by int[] new_order overload.")] [GLib.DefaultSignalHandler(Type=typeof(Gtk.TreeModelFilter), ConnectionMethod="OverrideRowsReordered")] protected virtual void OnRowsReordered (Gtk.TreePath path, Gtk.TreeIter iter, out int new_order) { new_order = -1; } [GLib.DefaultSignalHandler(Type=typeof(Gtk.TreeModelFilter), ConnectionMethod="OverrideRowsReordered")] protected virtual void OnRowsReordered (Gtk.TreePath path, Gtk.TreeIter iter, int[] new_order) { int dummy; OnRowsReordered (path, iter, out dummy); GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (4); using (var val0 = new GLib.Value (this)) { inst_and_params.Append (val0); using (var val1 = new GLib.Value (path)) { inst_and_params.Append (val1); using (var val2 = new GLib.Value (iter)) { inst_and_params.Append (val2); int cnt = IterNChildren (iter); IntPtr new_order_ptr = Marshal.AllocHGlobal (sizeof (int) * cnt); Marshal.Copy (new_order, 0, new_order_ptr, cnt); using (var val3 = new GLib.Value (new_order_ptr)) { inst_and_params.Append (val3); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); Marshal.FreeHGlobal (new_order_ptr); } } } } } [GLib.Signal("rows_reordered")] public event Gtk.RowsReorderedHandler RowsReordered { add { GLib.Signal sig = GLib.Signal.Lookup (this, "rows_reordered", new RowsReorderedSignalDelegate(RowsReorderedSignalCallback)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (this, "rows_reordered", new RowsReorderedSignalDelegate(RowsReorderedSignalCallback)); sig.RemoveDelegate (value); } } gtk-sharp-2.12.40/gtk/Widget.custom0000664000175000017500000002524212767740470013772 00000000000000// // Gtk.Widget.custom - Gtk Widget class customizations // // Authors: Rachel Hestilow , // Brad Taylor // // Copyright (C) 2007 Brad Taylor // Copyright (C) 2002 Rachel Hestilow // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete] protected Widget (GLib.GType gtype) : base(gtype) { } public override void Destroy () { base.Destroy (); } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_widget_get_allocation (IntPtr style); public Gdk.Rectangle Allocation { get { return Gdk.Rectangle.New (gtksharp_gtk_widget_get_allocation (Handle)); } set { SizeAllocate (value); } } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_gtk_widget_get_window (IntPtr widget); [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_gtk_widget_set_window (IntPtr widget, IntPtr window); public Gdk.Window GdkWindow { get { IntPtr raw_ret = gtksharp_gtk_widget_get_window (Handle); if (raw_ret != (IntPtr) 0){ Gdk.Window ret = (Gdk.Window) GLib.Object.GetObject(raw_ret, false); return ret; } return null; } set { Gdk.Window window = value as Gdk.Window; gtksharp_gtk_widget_set_window (Handle, window.Handle); } } public void AddAccelerator (string accel_signal, AccelGroup accel_group, AccelKey accel_key) { this.AddAccelerator (accel_signal, accel_group, (uint) accel_key.Key, accel_key.AccelMods, accel_key.AccelFlags); } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_widget_set_state (IntPtr raw, int state); [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_gtk_widget_get_state (IntPtr raw); public Gtk.StateType State { set { gtk_widget_set_state (Handle, (int) value); } get { return (Gtk.StateType) gtksharp_gtk_widget_get_state (Handle); } } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_gtk_widget_get_flags (IntPtr raw); [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_gtk_widget_set_flags (IntPtr raw, int flags); [Obsolete] public int Flags { get { return gtksharp_gtk_widget_get_flags (Handle); } set { gtksharp_gtk_widget_set_flags (Handle, (int) value); } } public WidgetFlags WidgetFlags { get { return (WidgetFlags) gtksharp_gtk_widget_get_flags (Handle); } set { gtksharp_gtk_widget_set_flags (Handle, (int) value); } } public void SetFlag (WidgetFlags flag) { Flags |= (int)flag; } public void ClearFlag (WidgetFlags flag) { Flags &= ~((int)flag); } public bool IsMapped { get { return ((Flags & (int)Gtk.WidgetFlags.Mapped) != 0); } } public bool IsRealized { get { return ((Flags & (int)Gtk.WidgetFlags.Realized) != 0); } } public bool IsNoWindow { get { return ((Flags & (int)Gtk.WidgetFlags.NoWindow) != 0); } } public bool IsTopLevel { get { return ((Flags & (int)Gtk.WidgetFlags.Toplevel) != 0); } } public bool HasGrab { get { return ((Flags & (int)Gtk.WidgetFlags.HasGrab) != 0); } } public bool IsCompositeChild { get { return ((Flags & (int)Gtk.WidgetFlags.CompositeChild) != 0); } } public bool IsAppPaintable { get { return ((Flags & (int)Gtk.WidgetFlags.AppPaintable) != 0); } } public bool IsDoubleBuffered { get { return ((Flags & (int)Gtk.WidgetFlags.DoubleBuffered) != 0); } } public bool IsDrawable { get { return (Visible && IsMapped); } } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_gtk_widget_style_get_int (IntPtr raw, IntPtr name); public int FocusLineWidth { get { IntPtr name = GLib.Marshaller.StringToPtrGStrdup ("focus-line-width"); int result = gtksharp_gtk_widget_style_get_int (Handle, name); GLib.Marshaller.Free (name); return result; } } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_widget_connect_set_scroll_adjustments_signal (IntPtr gtype, SetScrollAdjustmentsDelegate cb); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void SetScrollAdjustmentsDelegate (IntPtr widget, IntPtr hadj, IntPtr vadj); static SetScrollAdjustmentsDelegate SetScrollAdjustmentsCallback; static void SetScrollAdjustments_cb (IntPtr widget, IntPtr hadj, IntPtr vadj) { try { Widget obj; try { obj = GLib.Object.GetObject (widget, false) as Widget; } catch (GLib.MissingIntPtrCtorException) { return; } Gtk.Adjustment h = GLib.Object.GetObject (hadj, false) as Gtk.Adjustment; Gtk.Adjustment v = GLib.Object.GetObject (vadj, false) as Gtk.Adjustment; obj.OnSetScrollAdjustments (h, v); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } static void ConnectSetScrollAdjustments (GLib.GType gtype) { if (SetScrollAdjustmentsCallback == null) SetScrollAdjustmentsCallback = new SetScrollAdjustmentsDelegate (SetScrollAdjustments_cb); gtksharp_widget_connect_set_scroll_adjustments_signal (gtype.Val, SetScrollAdjustmentsCallback); } [GLib.DefaultSignalHandler (Type=typeof (Gtk.Widget), ConnectionMethod="ConnectSetScrollAdjustments")] protected virtual void OnSetScrollAdjustments (Gtk.Adjustment hadj, Gtk.Adjustment vadj) { } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_widget_connect_activate_signal (IntPtr gtype, ActivateDelegate cb); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void ActivateDelegate (IntPtr widget); static ActivateDelegate ActivateCallback; static void Activate_cb (IntPtr widget) { try { Widget obj; try { obj = GLib.Object.GetObject (widget, false) as Widget; } catch (GLib.MissingIntPtrCtorException) { return; } obj.OnActivate (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } static void ConnectActivate (GLib.GType gtype) { if (ActivateCallback == null) ActivateCallback = new ActivateDelegate (Activate_cb); gtksharp_widget_connect_activate_signal (gtype.Val, ActivateCallback); } [GLib.DefaultSignalHandler (Type=typeof (Gtk.Widget), ConnectionMethod="ConnectActivate")] protected virtual void OnActivate () { } private class BindingInvoker { System.Reflection.MethodInfo mi; object[] parms; public BindingInvoker (System.Reflection.MethodInfo mi, object[] parms) { this.mi = mi; this.parms = parms; } public void Invoke (Widget w) { mi.Invoke (w, parms); } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] private delegate void BindingHandler (IntPtr handle, IntPtr user_data); private static void BindingCallback (IntPtr handle, IntPtr user_data) { try { Widget w = GLib.Object.GetObject (handle, false) as Widget; BindingInvoker invoker = ((GCHandle) user_data).Target as BindingInvoker; invoker.Invoke (w); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } static BindingHandler binding_delegate; static BindingHandler BindingDelegate { get { if (binding_delegate == null) binding_delegate = new BindingHandler (BindingCallback); return binding_delegate; } } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_widget_add_binding_signal (IntPtr gvalue, IntPtr name, BindingHandler handler); [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_widget_register_binding (IntPtr gvalue, IntPtr name, uint key, int mod, IntPtr data); static void ClassInit (GLib.GType gtype, Type t) { object[] attrs = t.GetCustomAttributes (typeof (BindingAttribute), true); if (attrs.Length == 0) return; IntPtr signame = GLib.Marshaller.StringToPtrGStrdup (t.Name.Replace (".", "_") + "_bindings"); gtksharp_widget_add_binding_signal (gtype.Val, signame, BindingDelegate); foreach (BindingAttribute attr in attrs) { System.Reflection.MethodInfo mi = t.GetMethod (attr.Handler, System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Public); if (mi == null) throw new Exception ("Instance method " + attr.Handler + " not found in " + t); BindingInvoker inv = new BindingInvoker (mi, attr.Parms); gtksharp_widget_register_binding (gtype.Val, signame, (uint) attr.Key, (int) attr.Mod, (IntPtr) GCHandle.Alloc (inv)); } GLib.Marshaller.Free (signame); } [DllImport("gtksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern bool gtksharp_widget_style_get_property (IntPtr widget, IntPtr property, ref GLib.Value value); public object StyleGetProperty (string property_name) { GLib.Value value = new GLib.Value (); IntPtr name = GLib.Marshaller.StringToPtrGStrdup (property_name); bool success = gtksharp_widget_style_get_property (Handle, name, ref value); GLib.Marshaller.Free (name); if(success) { object ret = value.Val; value.Dispose (); return ret; } return null; } internal GLib.Value StyleGetPropertyValue (string property_name) { GLib.Value value = new GLib.Value (); IntPtr name = GLib.Marshaller.StringToPtrGStrdup (property_name); gtksharp_widget_style_get_property (Handle, name, ref value); GLib.Marshaller.Free (name); return value; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_widget_list_mnemonic_labels (IntPtr raw); public Widget[] ListMnemonicLabels () { IntPtr raw_ret = gtk_widget_list_mnemonic_labels (Handle); if (raw_ret == IntPtr.Zero) return new Widget [0]; return GLib.Marshaller.ListPtrToArray (raw_ret, typeof (GLib.List), true, false); } public void ModifyBase (Gtk.StateType state) { gtk_widget_modify_base (Handle, (int) state, IntPtr.Zero); } public void ModifyBg (Gtk.StateType state) { gtk_widget_modify_bg (Handle, (int) state, IntPtr.Zero); } public void ModifyFg (Gtk.StateType state) { gtk_widget_modify_fg (Handle, (int) state, IntPtr.Zero); } public void ModifyText (Gtk.StateType state) { gtk_widget_modify_text (Handle, (int) state, IntPtr.Zero); } gtk-sharp-2.12.40/gtk/TextTag.custom0000664000175000017500000000227712767740470014132 00000000000000 // // Gtk.TextTag.custom - Gtk TextTag class customizations // // Author: Radek Doulik (rodo@ximian.com) // // Copyright (C) 2002 Ximian, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public Pango.Weight Weight { get { GLib.Value val = GetProperty ("weight"); Pango.Weight ret = (Pango.Weight) (int) val; val.Dispose (); return ret; } set { GLib.Value val = new GLib.Value ((int) value); SetProperty ("weight", val); val.Dispose (); } } gtk-sharp-2.12.40/gtk/glue/0000775000175000017500000000000012767740535012324 500000000000000gtk-sharp-2.12.40/gtk/glue/selectiondata.c0000664000175000017500000000203512767740470015225 00000000000000/* selectiondata.c : Glue to access fields of GtkSelectionData * * Author: Mike Kestner * * Copyright (c) 2003 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include guchar *gtksharp_gtk_selection_data_get_data_pointer (GtkSelectionData *data); guchar * gtksharp_gtk_selection_data_get_data_pointer (GtkSelectionData *data) { return data->data; } gtk-sharp-2.12.40/gtk/glue/nodestore.c0000664000175000017500000002377712767740470014430 00000000000000/* * nodestore.c * * Copyright (c) 2003 Novell, Inc. * * Authors: Mike Kestner * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include typedef GtkTreeModelFlags (* GtkSharpNodeStoreGetFlagsFunc) (void); typedef gint (* GtkSharpNodeStoreGetNColumnsFunc) (void); typedef GType (* GtkSharpNodeStoreGetColumnTypeFunc) (gint col); typedef gboolean (* GtkSharpNodeStoreGetNodeFunc) (gint *node_idx, GtkTreePath *path); typedef GtkTreePath* (* GtkSharpNodeStoreGetPathFunc) (gint node_idx); typedef void (* GtkSharpNodeStoreGetValueFunc) (gint node_idx, gint col, GValue *value); typedef gboolean (* GtkSharpNodeStoreIterNextFunc) (gint *node_idx); typedef gboolean (* GtkSharpNodeStoreIterChildrenFunc) (gint *first_child, gint parent); typedef gboolean (* GtkSharpNodeStoreIterHasChildFunc) (gint node_idx); typedef gint (* GtkSharpNodeStoreIterNChildrenFunc) (gint node_idx); typedef gboolean (* GtkSharpNodeStoreIterNthChildFunc) (gint *child, gint parent, gint n); typedef gboolean (* GtkSharpNodeStoreIterParentFunc) (gint *parent, gint child); typedef struct _GtkSharpNodeStoreTreeModelIface { GtkSharpNodeStoreGetFlagsFunc get_flags; GtkSharpNodeStoreGetNColumnsFunc get_n_columns; GtkSharpNodeStoreGetColumnTypeFunc get_column_type; GtkSharpNodeStoreGetNodeFunc get_node; GtkSharpNodeStoreGetPathFunc get_path; GtkSharpNodeStoreGetValueFunc get_value; GtkSharpNodeStoreIterNextFunc iter_next; GtkSharpNodeStoreIterChildrenFunc iter_children; GtkSharpNodeStoreIterHasChildFunc iter_has_child; GtkSharpNodeStoreIterNChildrenFunc iter_n_children; GtkSharpNodeStoreIterNthChildFunc iter_nth_child; GtkSharpNodeStoreIterParentFunc iter_parent; } GtkSharpNodeStoreTreeModelIface; typedef struct _GtkSharpNodeStore { GObject parent; gint stamp; GtkSharpNodeStoreTreeModelIface tree_model; } GtkSharpNodeStore; typedef struct _GtkSharpNodeStoreClass { GObjectClass parent; } GtkSharpNodeStoreClass; GType gtksharp_node_store_get_type (void); GObject * gtksharp_node_store_new (void); void gtksharp_node_store_set_tree_model_callbacks (GtkSharpNodeStore *store, GtkSharpNodeStoreTreeModelIface *iface); void gtksharp_node_store_emit_row_changed (GtkSharpNodeStore *store, GtkTreePath *path, gint node_idx); void gtksharp_node_store_emit_row_inserted (GtkSharpNodeStore *store, GtkTreePath *path, gint node_idx); void gtksharp_node_store_emit_row_deleted (GtkSharpNodeStore *store, GtkTreePath *path); void gtksharp_node_store_emit_row_has_child_toggled (GtkSharpNodeStore *store, GtkTreePath *path, gint node_idx); static GtkTreeModelFlags gns_get_flags (GtkTreeModel *model) { GtkSharpNodeStore *store = (GtkSharpNodeStore *) model; return store->tree_model.get_flags (); } static int gns_get_n_columns (GtkTreeModel *model) { GtkSharpNodeStore *store = (GtkSharpNodeStore *) model; return store->tree_model.get_n_columns (); } static GType gns_get_column_type (GtkTreeModel *model, int col) { GtkSharpNodeStore *store = (GtkSharpNodeStore *) model; return store->tree_model.get_column_type (col); } static gboolean gns_get_iter (GtkTreeModel *model, GtkTreeIter *iter, GtkTreePath *path) { GtkSharpNodeStore *store = (GtkSharpNodeStore *) model; gint node_idx; if (!store->tree_model.get_node (&node_idx, path)) return FALSE; iter->stamp = store->stamp; iter->user_data = GINT_TO_POINTER (node_idx); return TRUE; } static GtkTreePath * gns_get_path (GtkTreeModel *model, GtkTreeIter *iter) { GtkSharpNodeStore *store = (GtkSharpNodeStore *) model; return store->tree_model.get_path (GPOINTER_TO_INT (iter->user_data)); } static void gns_get_value (GtkTreeModel *model, GtkTreeIter *iter, int col, GValue *value) { GtkSharpNodeStore *store = (GtkSharpNodeStore *) model; store->tree_model.get_value (GPOINTER_TO_INT (iter->user_data), col, value); } static gboolean gns_iter_next (GtkTreeModel *model, GtkTreeIter *iter) { GtkSharpNodeStore *store = (GtkSharpNodeStore *) model; gint node_idx; if (store->stamp != iter->stamp) return FALSE; node_idx = GPOINTER_TO_INT (iter->user_data); if (!store->tree_model.iter_next (&node_idx)) { iter->stamp = -1; return FALSE; } iter->user_data = GINT_TO_POINTER (node_idx); return TRUE; } static gboolean gns_iter_children (GtkTreeModel *model, GtkTreeIter *iter, GtkTreeIter *parent) { GtkSharpNodeStore *store = (GtkSharpNodeStore *) model; gint child_idx, parent_idx; if (!parent) parent_idx = -1; else { if (store->stamp != parent->stamp) return FALSE; parent_idx = GPOINTER_TO_INT (parent->user_data); } if (!store->tree_model.iter_children (&child_idx, parent_idx)) return FALSE; iter->stamp = store->stamp; iter->user_data = GINT_TO_POINTER (child_idx); return TRUE; } static gboolean gns_iter_has_child (GtkTreeModel *model, GtkTreeIter *iter) { GtkSharpNodeStore *store = (GtkSharpNodeStore *) model; return store->tree_model.iter_has_child (GPOINTER_TO_INT (iter->user_data)); } static int gns_iter_n_children (GtkTreeModel *model, GtkTreeIter *iter) { GtkSharpNodeStore *store = (GtkSharpNodeStore *) model; gint node_idx; if (!iter) node_idx = -1; else { if (store->stamp != iter->stamp) return 0; node_idx = GPOINTER_TO_INT (iter->user_data); } return store->tree_model.iter_n_children (node_idx); } static gboolean gns_iter_nth_child (GtkTreeModel *model, GtkTreeIter *iter, GtkTreeIter *parent, int n) { GtkSharpNodeStore *store = (GtkSharpNodeStore *) model; gint child_idx, parent_idx; if (!parent) parent_idx = -1; else { if (store->stamp != parent->stamp) return FALSE; parent_idx = GPOINTER_TO_INT (parent->user_data); } if (!store->tree_model.iter_nth_child (&child_idx, parent_idx, n)) return FALSE; iter->stamp = store->stamp; iter->user_data = GINT_TO_POINTER (child_idx); return TRUE; } static gboolean gns_iter_parent (GtkTreeModel *model, GtkTreeIter *iter, GtkTreeIter *child) { GtkSharpNodeStore *store = (GtkSharpNodeStore *) model; gint parent; if (store->stamp != child->stamp) return FALSE; if (!store->tree_model.iter_parent (&parent, GPOINTER_TO_INT (child->user_data))) return FALSE; iter->stamp = store->stamp; iter->user_data = GINT_TO_POINTER (parent); return TRUE; } static void gns_tree_model_init (GtkTreeModelIface *iface) { iface->get_flags = gns_get_flags; iface->get_n_columns = gns_get_n_columns; iface->get_column_type = gns_get_column_type; iface->get_iter = gns_get_iter; iface->get_path = gns_get_path; iface->get_value = gns_get_value; iface->iter_next = gns_iter_next; iface->iter_children = gns_iter_children; iface->iter_has_child = gns_iter_has_child; iface->iter_n_children = gns_iter_n_children; iface->iter_nth_child = gns_iter_nth_child; iface->iter_parent = gns_iter_parent; } static void gns_class_init (GObjectClass *klass) { } static void gns_init (GtkSharpNodeStore *store) { store->stamp = 0; store->tree_model.get_flags = NULL; store->tree_model.get_n_columns = NULL; store->tree_model.get_column_type = NULL; store->tree_model.get_node = NULL; store->tree_model.get_path = NULL; store->tree_model.get_value = NULL; store->tree_model.iter_next = NULL; store->tree_model.iter_children = NULL; store->tree_model.iter_has_child = NULL; store->tree_model.iter_n_children = NULL; store->tree_model.iter_nth_child = NULL; store->tree_model.iter_parent = NULL; } GType gtksharp_node_store_get_type (void) { static GType gns_type = 0; if (!gns_type) { static const GTypeInfo gns_info = { sizeof (GtkSharpNodeStoreClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) gns_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (GtkSharpNodeStore), 0, (GInstanceInitFunc) gns_init }; static const GInterfaceInfo tree_model_info = { (GInterfaceInitFunc) gns_tree_model_init, NULL, NULL }; gns_type = g_type_register_static (G_TYPE_OBJECT, "GtkSharpNodeStore", &gns_info, 0); g_type_add_interface_static (gns_type, GTK_TYPE_TREE_MODEL, &tree_model_info); } return gns_type; } GObject * gtksharp_node_store_new (void) { return g_object_new (gtksharp_node_store_get_type (), NULL); } void gtksharp_node_store_set_tree_model_callbacks (GtkSharpNodeStore *store, GtkSharpNodeStoreTreeModelIface *iface) { store->tree_model = *iface; } void gtksharp_node_store_emit_row_changed (GtkSharpNodeStore *store, GtkTreePath *path, gint node_idx) { GtkTreeIter iter; iter.stamp = store->stamp; iter.user_data = GINT_TO_POINTER (node_idx); gtk_tree_model_row_changed (GTK_TREE_MODEL (store), path, &iter); } void gtksharp_node_store_emit_row_inserted (GtkSharpNodeStore *store, GtkTreePath *path, gint node_idx) { GtkTreeIter iter; iter.stamp = store->stamp; iter.user_data = GINT_TO_POINTER (node_idx); gtk_tree_model_row_inserted (GTK_TREE_MODEL (store), path, &iter); } void gtksharp_node_store_emit_row_deleted (GtkSharpNodeStore *store, GtkTreePath *path) { gtk_tree_model_row_deleted (GTK_TREE_MODEL (store), path); } void gtksharp_node_store_emit_row_has_child_toggled (GtkSharpNodeStore *store, GtkTreePath *path, gint node_idx) { GtkTreeIter iter; iter.stamp = store->stamp; iter.user_data = GINT_TO_POINTER (node_idx); gtk_tree_model_row_has_child_toggled (GTK_TREE_MODEL (store), path, &iter); } gtk-sharp-2.12.40/gtk/glue/win32dll.c0000775000175000017500000000044312654353766014053 00000000000000#define WIN32_LEAN_AND_MEAN #include #undef WIN32_LEAN_AND_MEAN #include BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) { return TRUE; } /* BOOL APIENTRY DllMainCRTStartup (HINSTANCE hInst, DWORD reason, LPVOID reserved) { return TRUE; } */ gtk-sharp-2.12.40/gtk/glue/colorseldialog.c0000664000175000017500000000340612767740470015413 00000000000000/* colorseldialog.c : Glue for accessing fields in the GtkColorSelectionDialog widget. * * Author: Duncan Mak (duncan@ximian.com) * * Copyright (c) Ximian, INc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ GtkWidget *gtksharp_color_selection_dialog_get_colorsel (GtkColorSelectionDialog *dialog); GtkWidget *gtksharp_color_selection_dialog_get_ok_button (GtkColorSelectionDialog *dialog); GtkWidget *gtksharp_color_selection_dialog_get_cancel_button (GtkColorSelectionDialog *dialog); GtkWidget *gtksharp_color_selection_dialog_get_help_button (GtkColorSelectionDialog *dialog); /* */ GtkWidget* gtksharp_color_selection_dialog_get_colorsel (GtkColorSelectionDialog *dialog) { return dialog->colorsel; } GtkWidget* gtksharp_color_selection_dialog_get_ok_button (GtkColorSelectionDialog *dialog) { return dialog->ok_button; } GtkWidget* gtksharp_color_selection_dialog_get_cancel_button (GtkColorSelectionDialog *dialog) { return dialog->cancel_button; } GtkWidget* gtksharp_color_selection_dialog_get_help_button (GtkColorSelectionDialog *dialog) { return dialog->help_button; } gtk-sharp-2.12.40/gtk/glue/Makefile.in0000664000175000017500000005550612767740506014322 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = gtk/glue ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(libdir)" LTLIBRARIES = $(lib_LTLIBRARIES) am__DEPENDENCIES_1 = libgtksharpglue_2_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am_libgtksharpglue_2_la_OBJECTS = adjustment.lo cellrenderer.lo \ clipboard.lo colorseldialog.lo container.lo nodestore.lo \ object.lo selectiondata.lo statusicon.lo style.lo \ targetlist.lo widget.lo nodist_libgtksharpglue_2_la_OBJECTS = generated.lo libgtksharpglue_2_la_OBJECTS = $(am_libgtksharpglue_2_la_OBJECTS) \ $(nodist_libgtksharpglue_2_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = libgtksharpglue_2_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(AM_CFLAGS) $(CFLAGS) $(libgtksharpglue_2_la_LDFLAGS) \ $(LDFLAGS) -o $@ AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(libgtksharpglue_2_la_SOURCES) \ $(nodist_libgtksharpglue_2_la_SOURCES) DIST_SOURCES = $(libgtksharpglue_2_la_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ lib_LTLIBRARIES = libgtksharpglue-2.la libgtksharpglue_2_la_SOURCES = \ adjustment.c \ cellrenderer.c \ clipboard.c \ colorseldialog.c \ container.c \ nodestore.c \ object.c \ selectiondata.c \ statusicon.c \ style.c \ targetlist.c \ vmglueheaders.h \ widget.c nodist_libgtksharpglue_2_la_SOURCES = generated.c # Adding a new glue file? libgtksharpglue_2_la_LDFLAGS = -module -avoid-version -no-undefined libgtksharpglue_2_la_LIBADD = $(GTK_LIBS) INCLUDES = $(GTK_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir) CLEANFILES = lib*.a lib*.dll EXTRA_DIST = win32dll.c all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign gtk/glue/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign gtk/glue/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ list2=; for p in $$list; do \ if test -f $$p; then \ list2="$$list2 $$p"; \ else :; fi; \ done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ } uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ done clean-libLTLIBRARIES: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) @list='$(lib_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libgtksharpglue-2.la: $(libgtksharpglue_2_la_OBJECTS) $(libgtksharpglue_2_la_DEPENDENCIES) $(EXTRA_libgtksharpglue_2_la_DEPENDENCIES) $(AM_V_CCLD)$(libgtksharpglue_2_la_LINK) -rpath $(libdir) $(libgtksharpglue_2_la_OBJECTS) $(libgtksharpglue_2_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/adjustment.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cellrenderer.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/clipboard.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/colorseldialog.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/container.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/generated.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nodestore.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/object.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/selectiondata.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/statusicon.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/style.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/targetlist.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/widget.Plo@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) installdirs: for dir in "$(DESTDIR)$(libdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-libLTLIBRARIES install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-libLTLIBRARIES .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ clean-libLTLIBRARIES clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-compile distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-libLTLIBRARIES install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-am uninstall uninstall-am uninstall-libLTLIBRARIES .PRECIOUS: Makefile libgtksharpglue.dll: $(libgtksharpglue_2_la_OBJECTS) libgtksharpglue.rc libgtksharpglue.def ./build-dll libgtksharpglue-2 $(VERSION) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/gtk/glue/adjustment.c0000664000175000017500000000263112767740470014566 00000000000000/* * Utility wrapper for the GtkAdjustment * * Copyright (c) 2002 Miguel de Icaza (miguel@ximian.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ void gtksharp_gtk_adjustment_set_bounds (GtkAdjustment *adj, gdouble lower, gdouble upper, gdouble step_increment, gdouble page_increment, gdouble page_size); /* */ void gtksharp_gtk_adjustment_set_bounds (GtkAdjustment *adj, gdouble lower, gdouble upper, gdouble step_increment, gdouble page_increment, gdouble page_size) { adj->lower = lower; adj->upper = upper; adj->step_increment = step_increment; adj->page_increment = page_increment; adj->page_size = page_size; gtk_adjustment_changed (adj); } gtk-sharp-2.12.40/gtk/glue/object.c0000664000175000017500000000267012767740470013661 00000000000000/* object.c : Glue to clean up GtkObject references. * * Author: Mike Kestner * * Copyright (c) 2002 Mike Kestner * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include #include /* Forward declarations */ void gtksharp_object_unref_if_floating (GObject *obj); gboolean gtksharp_object_is_floating (GObject *obj); void gtksharp_object_set_floating (GtkObject *obj, gboolean val); /* */ void gtksharp_object_unref_if_floating (GObject *obj) { if (GTK_OBJECT_FLOATING (obj)) g_object_unref (obj); } gboolean gtksharp_object_is_floating (GObject *obj) { return GTK_OBJECT_FLOATING (obj); } void gtksharp_object_set_floating (GtkObject *obj, gboolean val) { if (val == TRUE) GTK_OBJECT_SET_FLAGS (obj, GTK_FLOATING); else gtk_object_sink (obj); } gtk-sharp-2.12.40/gtk/glue/container.c0000664000175000017500000000615012767740470014372 00000000000000/* container.c : Glue for GtkContainer * * Author: Mike Kestner (mkestner@ximian.com) * * Copyright (C) 2004 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include #include //if this can be invoked without an EntryPointNotFoundExfeption, the caller knows the container leak leak is fixed void gtksharp_container_leak_fixed_marker (); void gtksharp_container_leak_fixed_marker () { } void gtksharp_container_base_forall (GtkContainer *container, gboolean include_internals, GtkCallback cb, gpointer data); void gtksharp_container_base_forall (GtkContainer *container, gboolean include_internals, GtkCallback cb, gpointer data) { // Find and call the first base callback that's not the GTK# callback. The GTK# callback calls down the whole // managed override chain, so calling it on a subclass-of-a-managed-container-subclass causes a stack overflow. GtkContainerClass *parent = (GtkContainerClass *) G_OBJECT_GET_CLASS (container); while ((parent = g_type_class_peek_parent (parent))) { if (strncmp (G_OBJECT_CLASS_NAME (parent), "__gtksharp_", 11) != 0) { if (parent->forall) { (*parent->forall) (container, include_internals, cb, data); } return; } } } void gtksharp_container_override_forall (GType gtype, gpointer cb); void gtksharp_container_override_forall (GType gtype, gpointer cb) { GtkContainerClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((GtkContainerClass *) klass)->forall = cb; } void gtksharp_container_invoke_gtk_callback (GtkCallback cb, GtkWidget *widget, gpointer data); void gtksharp_container_invoke_gtk_callback (GtkCallback cb, GtkWidget *widget, gpointer data) { cb (widget, data); } void gtksharp_container_override_child_type (GType gtype, gpointer cb); void gtksharp_container_override_child_type (GType gtype, gpointer cb) { GtkContainerClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((GtkContainerClass *) klass)->child_type = cb; } void gtksharp_container_child_get_property (GtkContainer *container, GtkWidget *child, const gchar* property, GValue *value); void gtksharp_container_child_get_property (GtkContainer *container, GtkWidget *child, const gchar* property, GValue *value) { GParamSpec *spec = gtk_container_class_find_child_property (G_OBJECT_GET_CLASS (container), property); g_value_init (value, spec->value_type); gtk_container_child_get_property (container, child, property, value); } gtk-sharp-2.12.40/gtk/glue/cellrenderer.c0000664000175000017500000001256312767740470015063 00000000000000/* cellrenderer.c : Glue for overriding pieces of GtkCellRenderer * * Author: Todd Berman (tberman@sevenl.net), * Peter Johanson (peter@peterjohanson.com) * * Copyright (C) 2004 Todd Berman * Copyright (C) 2007 Peter Johanson * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include void gtksharp_cellrenderer_invoke_get_size (GType gtype, GtkCellRenderer *cell, GtkWidget *widget, GdkRectangle *cell_area, gint *x_offset, gint *y_offset, gint *width, gint *height); void gtksharp_cellrenderer_invoke_get_size (GType type, GtkCellRenderer *cell, GtkWidget *widget, GdkRectangle *cell_area, gint *x_offset, gint *y_offset, gint *width, gint *height) { GtkCellRendererClass *klass = g_type_class_peek (type); klass->get_size (cell, widget, cell_area, x_offset, y_offset, width, height); } void gtksharp_cellrenderer_base_get_size (GtkCellRenderer *cell, GtkWidget *widget, GdkRectangle *cell_area, gint *x_offset, gint *y_offset, gint *width, gint *height); void gtksharp_cellrenderer_base_get_size (GtkCellRenderer *cell, GtkWidget *widget, GdkRectangle *cell_area, gint *x_offset, gint *y_offset, gint *width, gint *height) { GtkCellRendererClass *parent = g_type_class_peek_parent (G_OBJECT_GET_CLASS (cell)); if (parent->get_size) (*parent->get_size) (cell, widget, cell_area, x_offset, y_offset, width, height); } void gtksharp_cellrenderer_override_get_size (GType gtype, gpointer cb); void gtksharp_cellrenderer_override_get_size (GType gtype, gpointer cb) { GtkCellRendererClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((GtkCellRendererClass *) klass)->get_size = cb; } void gtksharp_cellrenderer_invoke_render (GType type, GtkCellRenderer *cell, GdkDrawable *window, GtkWidget *widget, GdkRectangle *background_area, GdkRectangle *cell_area, GdkRectangle *expose_area, GtkCellRendererState flags); void gtksharp_cellrenderer_invoke_render (GType type, GtkCellRenderer *cell, GdkDrawable *window, GtkWidget *widget, GdkRectangle *background_area, GdkRectangle *cell_area, GdkRectangle *expose_area, GtkCellRendererState flags) { GtkCellRendererClass *klass = g_type_class_peek (type); klass->render (cell, window, widget, background_area, cell_area, expose_area, flags); } void gtksharp_cellrenderer_base_render (GtkCellRenderer *cell, GdkDrawable *window, GtkWidget *widget, GdkRectangle *background_area, GdkRectangle *cell_area, GdkRectangle *expose_area, GtkCellRendererState flags); void gtksharp_cellrenderer_base_render (GtkCellRenderer *cell, GdkDrawable *window, GtkWidget *widget, GdkRectangle *background_area, GdkRectangle *cell_area, GdkRectangle *expose_area, GtkCellRendererState flags) { GtkCellRendererClass *parent = g_type_class_peek_parent (G_OBJECT_GET_CLASS (cell)); if (parent->render) (*parent->render) (cell, window, widget, background_area, cell_area, expose_area, flags); } void gtksharp_cellrenderer_override_render (GType gtype, gpointer cb); void gtksharp_cellrenderer_override_render (GType gtype, gpointer cb) { GtkCellRendererClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((GtkCellRendererClass *) klass)->render = cb; } GtkCellEditable * gtksharp_cellrenderer_invoke_start_editing (GType type, GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, const gchar *path, GdkRectangle *background_area, GdkRectangle *cell_area, GtkCellRendererState flags); GtkCellEditable * gtksharp_cellrenderer_invoke_start_editing (GType type, GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, const gchar *path, GdkRectangle *background_area, GdkRectangle *cell_area, GtkCellRendererState flags) { GtkCellRendererClass *klass = g_type_class_peek (type); return klass->start_editing (cell, event, widget, path, background_area, cell_area, flags); } GtkCellEditable * gtksharp_cellrenderer_base_start_editing (GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, const gchar *path, GdkRectangle *background_area, GdkRectangle *cell_area, GtkCellRendererState flags); GtkCellEditable * gtksharp_cellrenderer_base_start_editing (GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, const gchar *path, GdkRectangle *background_area, GdkRectangle *cell_area, GtkCellRendererState flags) { GtkCellRendererClass *parent = g_type_class_peek_parent (G_OBJECT_GET_CLASS (cell)); if (parent->start_editing) return (*parent->start_editing) (cell, event, widget, path, background_area, cell_area, flags); return NULL; } void gtksharp_cellrenderer_override_start_editing (GType gtype, gpointer cb); void gtksharp_cellrenderer_override_start_editing (GType gtype, gpointer cb) { GtkCellRendererClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((GtkCellRendererClass *) klass)->start_editing = cb; } gtk-sharp-2.12.40/gtk/glue/clipboard.c0000664000175000017500000000430712767740470014351 00000000000000/* * clipboard.c * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ GSList *gtksharp_clipboard_target_list_add (GSList *list, char *target, guint flags, guint info); GtkTargetEntry *gtksharp_clipboard_target_list_to_array (GSList *list); void gtksharp_clipboard_target_array_free (GtkTargetEntry *targets); void gtksharp_clipboard_target_list_free (GSList *list); /* */ GSList * gtksharp_clipboard_target_list_add (GSList *list, char *target, guint flags, guint info) { GtkTargetEntry *entry = g_new0 (GtkTargetEntry, 1); entry->target = g_strdup (target); entry->flags = flags; entry->info = info; return g_slist_prepend (list, entry); } GtkTargetEntry * gtksharp_clipboard_target_list_to_array (GSList *list) { GtkTargetEntry *targets; GSList *iter; int i; targets = g_new0 (GtkTargetEntry, g_slist_length (list)); for (iter = list, i = 0; iter; iter = iter->next, i++) { GtkTargetEntry *t = (GtkTargetEntry *) iter->data; targets[i].target = t->target; /* NOT COPIED */ targets[i].flags = t->flags; targets[i].info = t->info; } return targets; } void gtksharp_clipboard_target_array_free (GtkTargetEntry *targets) { g_free (targets); } void gtksharp_clipboard_target_list_free (GSList *list) { GSList *iter; for (iter = list; iter; iter = iter->next) { GtkTargetEntry *t = (GtkTargetEntry *) iter->data; g_free (t->target); g_free (t); } g_slist_free (list); } gtk-sharp-2.12.40/gtk/glue/style.c0000664000175000017500000001504412767740470013552 00000000000000/* style.c : Glue to access fields in GtkStyle. * * Author: Rachel Hestilow * Radek Doulik * * Copyright (c) 2002, 2003 Rachel Hestilow, Mike Kestner, Radek Doulik * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ GdkGC *gtksharp_gtk_style_get_white_gc (GtkStyle *style); GdkGC *gtksharp_gtk_style_get_black_gc (GtkStyle *style); GdkGC *gtksharp_gtk_style_get_fg_gc (GtkStyle *style, int i); GdkGC *gtksharp_gtk_style_get_bg_gc (GtkStyle *style, int i); GdkGC *gtksharp_gtk_style_get_base_gc (GtkStyle *style, int i); GdkGC *gtksharp_gtk_style_get_text_gc (GtkStyle *style, int i); GdkGC *gtksharp_gtk_style_get_text_aa_gc (GtkStyle *style, int i); GdkGC *gtksharp_gtk_style_get_light_gc (GtkStyle *style, int i); GdkGC *gtksharp_gtk_style_get_dark_gc (GtkStyle *style, int i); GdkGC *gtksharp_gtk_style_get_mid_gc (GtkStyle *style, int i); void gtksharp_gtk_style_set_fg_gc (GtkStyle *style, int i, GdkGC *gc); void gtksharp_gtk_style_set_bg_gc (GtkStyle *style, int i, GdkGC *gc); void gtksharp_gtk_style_set_base_gc (GtkStyle *style, int i, GdkGC *gc); void gtksharp_gtk_style_set_text_gc (GtkStyle *style, int i, GdkGC *gc); void gtksharp_gtk_style_set_text_aa_gc (GtkStyle *style, int i, GdkGC *gc); void gtksharp_gtk_style_set_light_gc (GtkStyle *style, int i, GdkGC *gc); void gtksharp_gtk_style_set_dark_gc (GtkStyle *style, int i, GdkGC *gc); void gtksharp_gtk_style_set_mid_gc (GtkStyle *style, int i, GdkGC *gc); GdkColor *gtksharp_gtk_style_get_fg (GtkStyle *style, int i); GdkColor *gtksharp_gtk_style_get_bg (GtkStyle *style, int i); GdkColor *gtksharp_gtk_style_get_light (GtkStyle *style, int i); GdkColor *gtksharp_gtk_style_get_mid (GtkStyle *style, int i); GdkColor *gtksharp_gtk_style_get_dark (GtkStyle *style, int i); GdkColor *gtksharp_gtk_style_get_text (GtkStyle *style, int i); GdkColor *gtksharp_gtk_style_get_base (GtkStyle *style, int i); PangoFontDescription *gtksharp_gtk_style_get_font_description (GtkStyle *style); int gtksharp_gtk_style_get_thickness (GtkStyle *style, int x); void gtksharp_gtk_style_set_thickness (GtkStyle *style, int thickness); GdkPixmap *gtksharp_gtk_style_get_bg_pixmap (GtkStyle *style, int i); void gtksharp_gtk_style_set_bg_pixmap (GtkStyle *style, int i, GdkPixmap *pixmap); /* */ /* FIXME: include all fields */ GdkGC* gtksharp_gtk_style_get_white_gc (GtkStyle *style) { g_object_ref (G_OBJECT (style->white_gc)); return style->white_gc; } GdkGC* gtksharp_gtk_style_get_black_gc (GtkStyle *style) { g_object_ref (G_OBJECT (style->black_gc)); return style->black_gc; } GdkGC* gtksharp_gtk_style_get_fg_gc (GtkStyle *style, int i) { g_object_ref (G_OBJECT (style->fg_gc[i])); return style->fg_gc[i]; } GdkGC* gtksharp_gtk_style_get_bg_gc (GtkStyle *style, int i) { g_object_ref (G_OBJECT (style->bg_gc[i])); return style->bg_gc[i]; } GdkGC* gtksharp_gtk_style_get_base_gc (GtkStyle *style, int i) { g_object_ref (G_OBJECT (style->base_gc[i])); return style->base_gc[i]; } GdkGC* gtksharp_gtk_style_get_text_gc (GtkStyle *style, int i) { g_object_ref (G_OBJECT (style->text_gc[i])); return style->text_gc[i]; } GdkGC* gtksharp_gtk_style_get_text_aa_gc (GtkStyle *style, int i) { g_object_ref (G_OBJECT (style->text_aa_gc[i])); return style->text_aa_gc[i]; } GdkGC* gtksharp_gtk_style_get_light_gc (GtkStyle *style, int i) { g_object_ref (G_OBJECT (style->light_gc[i])); return style->light_gc[i]; } GdkGC* gtksharp_gtk_style_get_dark_gc (GtkStyle *style, int i) { g_object_ref (G_OBJECT (style->dark_gc[i])); return style->dark_gc[i]; } GdkGC* gtksharp_gtk_style_get_mid_gc (GtkStyle *style, int i) { g_object_ref (G_OBJECT (style->mid_gc[i])); return style->mid_gc[i]; } void gtksharp_gtk_style_set_fg_gc (GtkStyle *style, int i, GdkGC *gc) { g_object_ref (G_OBJECT (gc)); style->fg_gc[i] = gc; } void gtksharp_gtk_style_set_bg_gc (GtkStyle *style, int i, GdkGC *gc) { g_object_ref (G_OBJECT (gc)); style->bg_gc[i] = gc; } void gtksharp_gtk_style_set_base_gc (GtkStyle *style, int i, GdkGC *gc) { g_object_ref (G_OBJECT (gc)); style->base_gc[i] = gc; } void gtksharp_gtk_style_set_text_gc (GtkStyle *style, int i, GdkGC *gc) { g_object_ref (G_OBJECT (gc)); style->text_gc[i] = gc; } void gtksharp_gtk_style_set_text_aa_gc (GtkStyle *style, int i, GdkGC *gc) { g_object_ref (G_OBJECT (gc)); style->text_aa_gc[i] = gc; } void gtksharp_gtk_style_set_light_gc (GtkStyle *style, int i, GdkGC *gc) { g_object_ref (G_OBJECT (gc)); style->light_gc[i] = gc; } void gtksharp_gtk_style_set_dark_gc (GtkStyle *style, int i, GdkGC *gc) { g_object_ref (G_OBJECT (gc)); style->dark_gc[i] = gc; } GdkColor* gtksharp_gtk_style_get_fg (GtkStyle *style, int i) { return &style->fg[i]; } GdkColor* gtksharp_gtk_style_get_bg (GtkStyle *style, int i) { return &style->bg[i]; } GdkColor* gtksharp_gtk_style_get_light (GtkStyle *style, int i) { return &style->light[i]; } GdkColor* gtksharp_gtk_style_get_mid (GtkStyle *style, int i) { return &style->mid[i]; } GdkColor* gtksharp_gtk_style_get_dark (GtkStyle *style, int i) { return &style->dark[i]; } GdkColor* gtksharp_gtk_style_get_text (GtkStyle *style, int i) { return &style->text[i]; } GdkColor* gtksharp_gtk_style_get_base (GtkStyle *style, int i) { return &style->base[i]; } PangoFontDescription * gtksharp_gtk_style_get_font_description (GtkStyle *style) { return style->font_desc; } int gtksharp_gtk_style_get_thickness (GtkStyle *style, int x) { if (x) return style->xthickness; else return style->ythickness; } void gtksharp_gtk_style_set_thickness (GtkStyle *style, int thickness) { if (thickness > 0) style->xthickness = thickness; else style->ythickness = -thickness; } GdkPixmap * gtksharp_gtk_style_get_bg_pixmap (GtkStyle *style, int i) { return style->bg_pixmap[i]; } void gtksharp_gtk_style_set_bg_pixmap (GtkStyle *style, int i, GdkPixmap *pixmap) { g_object_ref (G_OBJECT (pixmap)); style->bg_pixmap[i] = pixmap; } gtk-sharp-2.12.40/gtk/glue/statusicon.c0000664000175000017500000000236312767740470014606 00000000000000/* * statusicon.c - Glue methods for GtkStatusIcon * * Authors: * Mike Kestner #include /* Forward declarations */ void gtksharp_gtk_status_icon_present_menu (GtkStatusIcon *icon, GtkMenu* menu, guint button, guint32 activate_time); /* */ void gtksharp_gtk_status_icon_present_menu (GtkStatusIcon *icon, GtkMenu* menu, guint button, guint32 activate_time) { gtk_menu_popup (menu, NULL, NULL, gtk_status_icon_position_menu, icon, button, activate_time); } gtk-sharp-2.12.40/gtk/glue/targetlist.c0000664000175000017500000000251612767740470014574 00000000000000/* * Utilities for GtkTargetList * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* forward declarations */ int gtksharp_target_list_length (GtkTargetList *list); void gtksharp_target_list_to_entry_array (GtkTargetList *list, GtkTargetEntry *entries); /* */ int gtksharp_target_list_length (GtkTargetList *list) { return g_list_length (list->list); } void gtksharp_target_list_to_entry_array (GtkTargetList *list, GtkTargetEntry *entries) { GList *l; int i; for (l = list->list, i = 0; l; l = l->next, i++) { GtkTargetPair *pair = (GtkTargetPair *)l->data; entries[i].target = gdk_atom_name (pair->target); entries[i].flags = pair->flags; entries[i].info = pair->info; } } gtk-sharp-2.12.40/gtk/glue/vmglueheaders.h0000664000175000017500000000011112654353766015242 00000000000000/* Headers for virtual method glue compilation */ #include gtk-sharp-2.12.40/gtk/glue/Makefile.am0000664000175000017500000000134112767740470014275 00000000000000lib_LTLIBRARIES = libgtksharpglue-2.la libgtksharpglue_2_la_SOURCES = \ adjustment.c \ cellrenderer.c \ clipboard.c \ colorseldialog.c \ container.c \ nodestore.c \ object.c \ selectiondata.c \ statusicon.c \ style.c \ targetlist.c \ vmglueheaders.h \ widget.c nodist_libgtksharpglue_2_la_SOURCES = generated.c # Adding a new glue file? libgtksharpglue_2_la_LDFLAGS = -module -avoid-version -no-undefined libgtksharpglue_2_la_LIBADD = $(GTK_LIBS) INCLUDES = $(GTK_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir) libgtksharpglue.dll: $(libgtksharpglue_2_la_OBJECTS) libgtksharpglue.rc libgtksharpglue.def ./build-dll libgtksharpglue-2 $(VERSION) CLEANFILES = lib*.a lib*.dll EXTRA_DIST = win32dll.c gtk-sharp-2.12.40/gtk/glue/widget.c0000664000175000017500000001454612767740470013703 00000000000000/* widget.c : Glue to access fields in GtkWidget. * * Authors: Rachel Hestilow , * Brad Taylor * * Copyright (c) 2007 Brad Taylor * Copyright (c) 2002 Rachel Hestilow, Mike Kestner * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include #include /* Forward declarations */ GdkRectangle *gtksharp_gtk_widget_get_allocation (GtkWidget *widget); GdkWindow *gtksharp_gtk_widget_get_window (GtkWidget *widget); void gtksharp_gtk_widget_set_window (GtkWidget *widget, GdkWindow *window); int gtksharp_gtk_widget_get_state (GtkWidget *widget); int gtksharp_gtk_widget_get_flags (GtkWidget *widget); void gtksharp_gtk_widget_set_flags (GtkWidget *widget, int flags); int gtksharp_gtk_widget_style_get_int (GtkWidget *widget, const char *name); void gtksharp_widget_connect_set_scroll_adjustments_signal (GType gtype, gpointer callback); void gtksharp_widget_connect_activate_signal (GType gtype, gpointer callback); void _gtksharp_marshal_VOID__OBJECT_OBJECT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data); int gtksharp_gtk_widget_get_flags (GtkWidget *widget); void gtksharp_gtk_widget_set_flags (GtkWidget *widget, int flags); int gtksharp_gtk_widget_style_get_int (GtkWidget *widget, const char *name); void gtksharp_widget_add_binding_signal (GType gtype, const char *sig_name, GCallback cb); void gtksharp_widget_register_binding (GType gtype, const char *sig_name, guint key, int mod, gpointer data); gboolean gtksharp_widget_style_get_property (GtkWidget *widget, const gchar* property, GValue *value); /* */ GdkRectangle* gtksharp_gtk_widget_get_allocation (GtkWidget *widget) { return &widget->allocation; } GdkWindow * gtksharp_gtk_widget_get_window (GtkWidget *widget) { return widget->window; } void gtksharp_gtk_widget_set_window (GtkWidget *widget, GdkWindow *window) { if (widget->window) g_object_unref (widget->window); widget->window = g_object_ref (window); } int gtksharp_gtk_widget_get_state (GtkWidget *widget) { return GTK_WIDGET_STATE (widget); } int gtksharp_gtk_widget_get_flags (GtkWidget *widget) { return GTK_WIDGET_FLAGS (widget); } void gtksharp_gtk_widget_set_flags (GtkWidget *widget, int flags) { GTK_OBJECT(widget)->flags = flags; } int gtksharp_gtk_widget_style_get_int (GtkWidget *widget, const char *name) { int value; gtk_widget_style_get (widget, name, &value, NULL); return value; } #include #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer void _gtksharp_marshal_VOID__OBJECT_OBJECT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data) { typedef void (*GMarshalFunc_VOID__OBJECT_OBJECT) (gpointer data1, gpointer arg_1, gpointer arg_2, gpointer data2); register GMarshalFunc_VOID__OBJECT_OBJECT callback; register GCClosure *cc = (GCClosure*) closure; register gpointer data1, data2; g_return_if_fail (n_param_values == 3); if (G_CCLOSURE_SWAP_DATA (closure)) { data1 = closure->data; data2 = g_value_peek_pointer (param_values + 0); } else { data1 = g_value_peek_pointer (param_values + 0); data2 = closure->data; } callback = (GMarshalFunc_VOID__OBJECT_OBJECT) (marshal_data ? marshal_data : cc->callback); callback (data1, g_marshal_value_peek_object (param_values + 1), g_marshal_value_peek_object (param_values + 2), data2); } void gtksharp_widget_connect_set_scroll_adjustments_signal (GType gtype, gpointer cb) { GType parm_types[] = {GTK_TYPE_ADJUSTMENT, GTK_TYPE_ADJUSTMENT}; GtkWidgetClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); klass->set_scroll_adjustments_signal = g_signal_newv ( "set_scroll_adjustments", gtype, G_SIGNAL_RUN_LAST, g_cclosure_new (cb, NULL, NULL), NULL, NULL, _gtksharp_marshal_VOID__OBJECT_OBJECT, G_TYPE_NONE, 2, parm_types); } void gtksharp_widget_connect_activate_signal (GType gtype, gpointer cb) { GtkWidgetClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); klass->activate_signal = g_signal_newv ( "activate_signal", gtype, G_SIGNAL_RUN_LAST, g_cclosure_new (cb, NULL, NULL), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0, NULL); } void gtksharp_widget_add_binding_signal (GType gtype, const gchar *sig_name, GCallback cb) { GType parm_types[] = {G_TYPE_LONG}; g_signal_newv (sig_name, gtype, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, g_cclosure_new (cb, NULL, NULL), NULL, NULL, g_cclosure_marshal_VOID__LONG, G_TYPE_NONE, 1, parm_types); } void gtksharp_widget_register_binding (GType gtype, const gchar *signame, guint key, int mod, gpointer data) { GObjectClass *klass = g_type_class_peek (gtype); if (klass == NULL) klass = g_type_class_ref (gtype); GtkBindingSet *set = gtk_binding_set_by_class (klass); gtk_binding_entry_add_signal (set, key, mod, signame, 1, G_TYPE_LONG, data); } gboolean gtksharp_widget_style_get_property (GtkWidget *widget, const gchar* property, GValue *value) { GParamSpec *spec = gtk_widget_class_find_style_property (GTK_WIDGET_GET_CLASS (widget), property); if (spec == NULL) return FALSE; g_value_init (value, spec->value_type); gtk_widget_style_get_property (widget, property, value); return TRUE; } gtk-sharp-2.12.40/gtk/NodeCellDataFunc.cs0000664000175000017500000000331112767740470014726 00000000000000// NodeCellDataFunc.cs - a TreeCellDataFunc marshaler for ITreeNodes // // Author: Mike Kestner (mkestner@novell.com) // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Gtk { using System; public delegate void NodeCellDataFunc (TreeViewColumn tree_column, CellRenderer cell, ITreeNode node); internal class NodeCellDataFuncWrapper { public void NativeCallback (IntPtr tree_column, IntPtr cell, IntPtr tree_model, IntPtr iter_ptr, IntPtr data) { TreeViewColumn col = (Gtk.TreeViewColumn) GLib.Object.GetObject(tree_column); CellRenderer renderer = (Gtk.CellRenderer) GLib.Object.GetObject(cell); NodeStore store = (NodeStore) GLib.Object.GetObject(tree_model); TreeIter iter = TreeIter.New (iter_ptr); managed (col, renderer, store.GetNode (iter)); } internal GtkSharp.CellLayoutDataFuncNative NativeDelegate; protected NodeCellDataFunc managed; public NodeCellDataFuncWrapper (NodeCellDataFunc managed) { NativeDelegate = new GtkSharp.CellLayoutDataFuncNative (NativeCallback); this.managed = managed; } } } gtk-sharp-2.12.40/gtk/Dialog.custom0000664000175000017500000000477012767740470013751 00000000000000// // Gtk.Dialog.custom - Gtk Dialog class customizations // // Author: Duncan Mak (duncan@ximian.com) // Mike Kestner (mkestner@speakeasy.net) // // Copyright (C) 2002 Ximian, Inc. and Mike Kestner // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_dialog_new_with_buttons (IntPtr title, IntPtr i, int flags, IntPtr dummy); public Dialog (string title, Gtk.Window parent, Gtk.DialogFlags flags, params object[] button_data) : base(IntPtr.Zero) { if (GetType() != typeof (Dialog)) { GLib.Value[] vals = new GLib.Value [1]; var names = new IntPtr [1]; names [0] = GLib.Marshaller.StringToPtrGStrdup ("title"); vals [0] = new GLib.Value (title); CreateNativeObject (names, vals, 1); TransientFor = parent; if ((flags & DialogFlags.Modal) > 0) Modal = true; if ((flags & DialogFlags.DestroyWithParent) > 0) DestroyWithParent = true; if ((flags & DialogFlags.NoSeparator) > 0) HasSeparator = false; } else { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (title); Raw = gtk_dialog_new_with_buttons (native, parent == null ? IntPtr.Zero : parent.Handle, (int) flags, IntPtr.Zero); GLib.Marshaller.Free (native); } for (int i = 0; i < button_data.Length - 1; i += 2) AddButton ((string) button_data [i], (int) button_data [i + 1]); } public void AddActionWidget (Widget child, ResponseType response) { this.AddActionWidget (child, (int) response); } public Gtk.Widget AddButton (string button_text, ResponseType response) { return this.AddButton (button_text, (int) response); } public void Respond (ResponseType response) { this.Respond ((int) response); } [Obsolete ("Replaced by AlternativeButtonOrder property")] public int SetAlternativeButtonOrderFromArray (int n_params) { return -1; } gtk-sharp-2.12.40/gtk/CellRendererProgress.custom0000664000175000017500000000355712767740470016647 00000000000000// // CellRendererProgress.custom - Gtk CellRendererProgress class customizations // // Author: Peter Johanson // // Copyright (C) 2007 Peter Johanson // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public override void GetSize (Gtk.Widget widget, ref Gdk.Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height) { CellRenderer.InternalGetSize (Gtk.CellRendererProgress.GType, this, widget, ref cell_area, out x_offset, out y_offset, out width, out height); } protected override void Render (Gdk.Drawable window, Gtk.Widget widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gdk.Rectangle expose_area, Gtk.CellRendererState flags) { CellRenderer.InternalRender (Gtk.CellRendererProgress.GType, this, window, widget, background_area, cell_area, expose_area, flags); } public override Gtk.CellEditable StartEditing(Gdk.Event evnt, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags) { return Gtk.CellRenderer.InternalStartEditing (Gtk.CellRendererProgress.GType, this, evnt, widget, path, ref background_area, ref cell_area, flags); } gtk-sharp-2.12.40/gtk/Builder.custom0000664000175000017500000002734212767740470014140 00000000000000// Builder.custom - customizations to Gtk.Builder // // Authors: Stephane Delcroix // The biggest part of this code is adapted from glade#, by // Ricardo Fernández Pascual // Rachel Hestilow // // Copyright (c) 2002 Ricardo Fernández Pascual // Copyright (c) 2003 Rachel Hestilow // Copyright (c) 2008 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [System.Serializable] public class HandlerNotFoundException : SystemException { string handler_name; string signal_name; System.Reflection.EventInfo evnt; Type delegate_type; public HandlerNotFoundException (string handler_name, string signal_name, System.Reflection.EventInfo evnt, Type delegate_type) : this (handler_name, signal_name, evnt, delegate_type, null) { } public HandlerNotFoundException (string handler_name, string signal_name, System.Reflection.EventInfo evnt, Type delegate_type, Exception inner) : base ("No handler " + handler_name + " found for signal " + signal_name, inner) { this.handler_name = handler_name; this.signal_name = signal_name; this.evnt = evnt; this.delegate_type = delegate_type; } public HandlerNotFoundException (string message, string handler_name, string signal_name, System.Reflection.EventInfo evnt, Type delegate_type) : base ((message != null) ? message : "No handler " + handler_name + " found for signal " + signal_name, null) { this.handler_name = handler_name; this.signal_name = signal_name; this.evnt = evnt; this.delegate_type = delegate_type; } protected HandlerNotFoundException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base (info, context) { handler_name = info.GetString ("HandlerName"); signal_name = info.GetString ("SignalName"); evnt = info.GetValue ("Event", typeof (System.Reflection.EventInfo)) as System.Reflection.EventInfo; delegate_type = info.GetValue ("DelegateType", typeof (Type)) as Type; } public string HandlerName { get { return handler_name; } } public string SignalName { get { return signal_name; } } public System.Reflection.EventInfo Event { get { return evnt; } } public Type DelegateType { get { return delegate_type; } } public override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData (info, context); info.AddValue ("HandlerName", handler_name); info.AddValue ("SignalName", signal_name); info.AddValue ("Event", evnt); info.AddValue ("DelegateType", delegate_type); } } [AttributeUsage (AttributeTargets.Field)] public class ObjectAttribute : Attribute { private string name; private bool specified; public ObjectAttribute (string name) { specified = true; this.name = name; } public ObjectAttribute () { specified = false; } public string Name { get { return name; } } public bool Specified { get { return specified; } } } public IntPtr GetRawObject(string name) { IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name); IntPtr raw_ret = gtk_builder_get_object(Handle, native_name); GLib.Marshaller.Free (native_name); return raw_ret; } public Builder (System.IO.Stream s) : this (s, null) { } public Builder (System.IO.Stream s, string translation_domain) { if (s == null) throw new ArgumentNullException ("s"); int size = (int) s.Length; byte[] buffer = new byte[size]; s.Read (buffer, 0, size); s.Close (); AddFromString(System.Text.Encoding.UTF8.GetString (buffer)); TranslationDomain = translation_domain; } public Builder (string resource_name) : this (resource_name, null) { } public Builder (string resource_name, string translation_domain) : this (System.Reflection.Assembly.GetEntryAssembly (), resource_name, translation_domain) { } public Builder (System.Reflection.Assembly assembly, string resource_name, string translation_domain) : this () { if (GetType() != typeof (Builder)) throw new InvalidOperationException ("Cannot chain to this constructor from subclasses."); if (assembly == null) assembly = System.Reflection.Assembly.GetCallingAssembly (); System.IO.Stream s = assembly.GetManifestResourceStream (resource_name); if (s == null) throw new ArgumentException ("Cannot get resource file '" + resource_name + "'", "resource_name"); int size = (int) s.Length; byte[] buffer = new byte[size]; s.Read (buffer, 0, size); s.Close (); AddFromString(System.Text.Encoding.UTF8.GetString (buffer)); TranslationDomain = translation_domain; } public void Autoconnect (object handler) { BindFields (handler); (new SignalConnector (this, handler)).ConnectSignals (); } public void Autoconnect (Type handler_class) { BindFields (handler_class); (new SignalConnector (this, handler_class)).ConnectSignals (); } class SignalConnector { Builder builder; Type handler_type; object handler; public SignalConnector (Builder builder, object handler) { this.builder = builder; this.handler = handler; handler_type = handler.GetType (); } public SignalConnector (Builder builder, Type handler_type) { this.builder = builder; this.handler = null; this.handler_type = handler_type; } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void gtk_builder_connect_signals_full(IntPtr raw, GtkSharp.BuilderConnectFuncNative func, IntPtr user_data); public void ConnectSignals() { GtkSharp.BuilderConnectFuncWrapper func_wrapper = new GtkSharp.BuilderConnectFuncWrapper (ConnectFunc); gtk_builder_connect_signals_full(builder.Handle, func_wrapper.NativeDelegate, IntPtr.Zero); } public void ConnectFunc (Builder builder, GLib.Object objekt, string signal_name, string handler_name, GLib.Object connect_object, GLib.ConnectFlags flags) { /* search for the event to connect */ System.Reflection.MemberInfo[] evnts = objekt.GetType (). FindMembers (System.Reflection.MemberTypes.Event, System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic, SignalFilter, signal_name); foreach (System.Reflection.EventInfo ei in evnts) { bool connected = false; System.Reflection.MethodInfo add = ei.GetAddMethod (); System.Reflection.ParameterInfo[] addpi = add.GetParameters (); if (addpi.Length == 1) { /* this should be always true, unless there's something broken */ Type delegate_type = addpi[0].ParameterType; /* look for an instance method */ if (connect_object != null || handler != null) try { Delegate d = Delegate.CreateDelegate (delegate_type, connect_object != null ? connect_object : handler, handler_name); add.Invoke (objekt, new object[] { d } ); connected = true; } catch (ArgumentException) { /* ignore if there is not such instance method */ } /* look for a static method if no instance method has been found */ if (!connected && handler_type != null) try { Delegate d = Delegate.CreateDelegate (delegate_type, handler_type, handler_name); add.Invoke (objekt, new object[] { d } ); connected = true; } catch (ArgumentException) { /* ignore if there is not such static method */ } if (!connected) { string msg = ExplainError (ei.Name, delegate_type, handler_type, handler_name); throw new HandlerNotFoundException (msg, handler_name, signal_name, ei, delegate_type); } } } } static bool SignalFilter (System.Reflection.MemberInfo m, object filterCriteria) { string signame = (filterCriteria as string); object[] attrs = m.GetCustomAttributes (typeof (GLib.SignalAttribute), false); if (attrs.Length > 0) { foreach (GLib.SignalAttribute a in attrs) { if (signame == a.CName) { return true; } } return false; } else { /* this tries to match the names when no attibutes are present. It is only a fallback. */ signame = signame.ToLower ().Replace ("_", ""); string evname = m.Name.ToLower (); return signame == evname; } } static string GetSignature (System.Reflection.MethodInfo method) { if (method == null) return null; System.Reflection.ParameterInfo [] parameters = method.GetParameters (); System.Text.StringBuilder sb = new System.Text.StringBuilder (); sb.Append ('('); foreach (System.Reflection.ParameterInfo info in parameters) { sb.Append (info.ParameterType.ToString ()); sb.Append (','); } if (sb.Length != 0) sb.Length--; sb.Append (')'); return sb.ToString (); } static string GetSignature (Type delegate_type) { System.Reflection.MethodInfo method = delegate_type.GetMethod ("Invoke"); return GetSignature (method); } const System.Reflection.BindingFlags flags = System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.Instance; static string GetSignature (Type klass, string method_name) { try { System.Reflection.MethodInfo method = klass.GetMethod (method_name, flags); return GetSignature (method); } catch { // May be more than one method with that name and none matches return null; } } static string ExplainError (string event_name, Type deleg, Type klass, string method) { if (deleg == null || klass == null || method == null) return null; System.Text.StringBuilder sb = new System.Text.StringBuilder (); string expected = GetSignature (deleg); string actual = GetSignature (klass, method); if (actual == null) return null; sb.AppendFormat ("The handler for the event {0} should take '{1}', " + "but the signature of the provided handler ('{2}') is '{3}'\n", event_name, expected, method, actual); return sb.ToString (); } } void BindFields (object target) { BindFields (target, target.GetType ()); } void BindFields (Type type) { BindFields (null, type); } void BindFields (object target, Type type) { System.Reflection.BindingFlags flags = System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.DeclaredOnly; if (target != null) flags |= System.Reflection.BindingFlags.Instance; else flags |= System.Reflection.BindingFlags.Static; do { System.Reflection.FieldInfo[] fields = type.GetFields (flags); if (fields == null) return; foreach (System.Reflection.FieldInfo field in fields) { object[] attrs = field.GetCustomAttributes (typeof (ObjectAttribute), false); if (attrs == null || attrs.Length == 0) continue; // The widget to field binding must be 1:1, so only check // the first attribute. ObjectAttribute attr = (ObjectAttribute) attrs[0]; GLib.Object gobject; if (attr.Specified) gobject = GetObject (attr.Name); else gobject = GetObject (field.Name); if (gobject != null) try { field.SetValue (target, gobject, flags, null, null); } catch (Exception e) { Console.WriteLine ("Unable to set value for field " + field.Name); throw e; } } type = type.BaseType; } while (type != typeof(object) && type != null); } gtk-sharp-2.12.40/gtk/AboutDialog.custom0000664000175000017500000000176112767740470014741 00000000000000// AboutDialog.custom - customizations to Gtk.AboutDialog // // Authors: Mike Kestner // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete("Use ProgramName instead")] [GLib.Property ("program-name")] public string Name { get { return ProgramName; } set { ProgramName = value; } } gtk-sharp-2.12.40/gtk/VScale.custom0000664000175000017500000000302312767740470013715 00000000000000// Gtk.VScale.custom - Gtk VScale class customizations // // Author: Mike Kestner // // Copyright (C) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_vscale_new_with_range (double min, double max, double step); public VScale (double min, double max, double step) : base (IntPtr.Zero) { if (GetType() != typeof (VScale)) { Adjustment adj = new Adjustment (min, min, max, step, 10 * step, 0); var names = new IntPtr [1]; GLib.Value[] vals = new GLib.Value [1]; names [0] = GLib.Marshaller.StringToPtrGStrdup ("adjustment"); vals [0] = new GLib.Value (adj); CreateNativeObject (names, vals, 1); return; } Raw = gtk_vscale_new_with_range (min, max, step); } gtk-sharp-2.12.40/gtk/FileSelection.custom0000664000175000017500000000443212767740470015272 00000000000000// // Gtk.FileSelection.custom - Gtk FileSelection class customizations // // Author: Duncan Mak (duncan@ximian.com) // Joe Shaw (joe@ximian.com) // // Copyright (C) 2002 Ximian, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public class FSButton : Gtk.Button { FileSelection file_sel; public FileSelection FileSelection { get { return file_sel; } } internal FSButton (FileSelection fs, IntPtr raw) : base (raw) { file_sel = fs; } } [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_file_selection_get_selections (IntPtr handle); [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_file_selection_get_selections_utf8 (IntPtr handle); [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_strfreev (IntPtr handle); public string[] Selections { get { IntPtr strv; switch (Environment.OSVersion.Platform) { case PlatformID.Win32NT: case PlatformID.Win32S: case PlatformID.Win32Windows: case PlatformID.WinCE: strv = gtk_file_selection_get_selections_utf8 (Handle); break; default: strv = gtk_file_selection_get_selections (Handle); break; } var result = new System.Collections.Generic.List (); int i = 0; IntPtr strptr = Marshal.ReadIntPtr (strv, IntPtr.Size * i++); while (strptr != IntPtr.Zero) { result.Add (GLib.Marshaller.FilenamePtrToString (strptr)); strptr = Marshal.ReadIntPtr (strv, IntPtr.Size * i++); } g_strfreev (strv); return result.ToArray (); } } gtk-sharp-2.12.40/gtk/TreeSelection.custom0000664000175000017500000000353312767740470015313 00000000000000// TreeSelection.custom - customizations to Gtk.TreeSelection // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libgtk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtk_tree_selection_get_selected_rows (IntPtr raw, IntPtr model); public TreePath[] GetSelectedRows () { IntPtr list_ptr = gtk_tree_selection_get_selected_rows (Handle, IntPtr.Zero); if (list_ptr == IntPtr.Zero) return new TreePath [0]; return GLib.Marshaller.ListPtrToArray (list_ptr, typeof (GLib.List), true, true); } [Obsolete ("Replaced by SelectFunction property.")] public void SetSelectFunction (Gtk.TreeSelectionFunc func, IntPtr data, Gtk.DestroyNotify destroy) { SelectFunction = func; } [DllImport("libgtk-win32-2.0-0.dll", EntryPoint="gtk_tree_selection_get_selected", CallingConvention=CallingConvention.Cdecl)] static extern bool gtk_tree_selection_get_selected_without_model (IntPtr raw, IntPtr model, out Gtk.TreeIter iter); public bool GetSelected (out Gtk.TreeIter iter) { return gtk_tree_selection_get_selected_without_model (Handle, IntPtr.Zero, out iter); } gtk-sharp-2.12.40/aclocal.m40000664000175000017500000135765012767740505012401 00000000000000# generated automatically by aclocal 1.15 -*- Autoconf -*- # Copyright (C) 1996-2014 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, [m4_warning([this file was generated for autoconf 2.69. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # # Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc. # Written by Gordon Matzigkeit, 1996 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. m4_define([_LT_COPYING], [dnl # Copyright (C) 2014 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # GNU Libtool is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of of the License, or # (at your option) any later version. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program or library that is built # using GNU Libtool, you may include this file under the same # distribution terms that you use for the rest of that program. # # GNU Libtool is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . ]) # serial 58 LT_INIT # LT_PREREQ(VERSION) # ------------------ # Complain and exit if this libtool version is less that VERSION. m4_defun([LT_PREREQ], [m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, [m4_default([$3], [m4_fatal([Libtool version $1 or higher is required], 63)])], [$2])]) # _LT_CHECK_BUILDDIR # ------------------ # Complain if the absolute build directory name contains unusual characters m4_defun([_LT_CHECK_BUILDDIR], [case `pwd` in *\ * | *\ *) AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; esac ]) # LT_INIT([OPTIONS]) # ------------------ AC_DEFUN([LT_INIT], [AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl AC_BEFORE([$0], [LT_LANG])dnl AC_BEFORE([$0], [LT_OUTPUT])dnl AC_BEFORE([$0], [LTDL_INIT])dnl m4_require([_LT_CHECK_BUILDDIR])dnl dnl Autoconf doesn't catch unexpanded LT_ macros by default: m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 dnl unless we require an AC_DEFUNed macro: AC_REQUIRE([LTOPTIONS_VERSION])dnl AC_REQUIRE([LTSUGAR_VERSION])dnl AC_REQUIRE([LTVERSION_VERSION])dnl AC_REQUIRE([LTOBSOLETE_VERSION])dnl m4_require([_LT_PROG_LTMAIN])dnl _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}]) dnl Parse OPTIONS _LT_SET_OPTIONS([$0], [$1]) # This can be used to rebuild libtool when needed LIBTOOL_DEPS=$ltmain # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' AC_SUBST(LIBTOOL)dnl _LT_SETUP # Only expand once: m4_define([LT_INIT]) ])# LT_INIT # Old names: AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_PROG_LIBTOOL], []) dnl AC_DEFUN([AM_PROG_LIBTOOL], []) # _LT_PREPARE_CC_BASENAME # ----------------------- m4_defun([_LT_PREPARE_CC_BASENAME], [ # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. func_cc_basename () { for cc_temp in @S|@*""; do case $cc_temp in compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; \-*) ;; *) break;; esac done func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` } ])# _LT_PREPARE_CC_BASENAME # _LT_CC_BASENAME(CC) # ------------------- # It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME, # but that macro is also expanded into generated libtool script, which # arranges for $SED and $ECHO to be set by different means. m4_defun([_LT_CC_BASENAME], [m4_require([_LT_PREPARE_CC_BASENAME])dnl AC_REQUIRE([_LT_DECL_SED])dnl AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl func_cc_basename $1 cc_basename=$func_cc_basename_result ]) # _LT_FILEUTILS_DEFAULTS # ---------------------- # It is okay to use these file commands and assume they have been set # sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'. m4_defun([_LT_FILEUTILS_DEFAULTS], [: ${CP="cp -f"} : ${MV="mv -f"} : ${RM="rm -f"} ])# _LT_FILEUTILS_DEFAULTS # _LT_SETUP # --------- m4_defun([_LT_SETUP], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl _LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl dnl _LT_DECL([], [host_alias], [0], [The host system])dnl _LT_DECL([], [host], [0])dnl _LT_DECL([], [host_os], [0])dnl dnl _LT_DECL([], [build_alias], [0], [The build system])dnl _LT_DECL([], [build], [0])dnl _LT_DECL([], [build_os], [0])dnl dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([LT_PATH_LD])dnl AC_REQUIRE([LT_PATH_NM])dnl dnl AC_REQUIRE([AC_PROG_LN_S])dnl test -z "$LN_S" && LN_S="ln -s" _LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl dnl AC_REQUIRE([LT_CMD_MAX_LEN])dnl _LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl _LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_CHECK_SHELL_FEATURES])dnl m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl m4_require([_LT_CMD_RELOAD])dnl m4_require([_LT_CHECK_MAGIC_METHOD])dnl m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl m4_require([_LT_CMD_OLD_ARCHIVE])dnl m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl m4_require([_LT_WITH_SYSROOT])dnl m4_require([_LT_CMD_TRUNCATE])dnl _LT_CONFIG_LIBTOOL_INIT([ # See if we are running on zsh, and set the options that allow our # commands through without removal of \ escapes INIT. if test -n "\${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi ]) if test -n "${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi _LT_CHECK_OBJDIR m4_require([_LT_TAG_COMPILER])dnl case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test set != "${COLLECT_NAMES+set}"; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Global variables: ofile=libtool can_build_shared=yes # All known linkers require a '.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a with_gnu_ld=$lt_cv_prog_gnu_ld old_CC=$CC old_CFLAGS=$CFLAGS # Set sane defaults for various variables test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS test -z "$LD" && LD=ld test -z "$ac_objext" && ac_objext=o _LT_CC_BASENAME([$compiler]) # Only perform the check for file, if the check method requires it test -z "$MAGIC_CMD" && MAGIC_CMD=file case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then _LT_PATH_MAGIC fi ;; esac # Use C for the default configuration in the libtool script LT_SUPPORTED_TAG([CC]) _LT_LANG_C_CONFIG _LT_LANG_DEFAULT_CONFIG _LT_CONFIG_COMMANDS ])# _LT_SETUP # _LT_PREPARE_SED_QUOTE_VARS # -------------------------- # Define a few sed substitution that help us do robust quoting. m4_defun([_LT_PREPARE_SED_QUOTE_VARS], [# Backslashify metacharacters that are still active within # double-quoted strings. sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\([["`\\]]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to delay expansion of an escaped single quote. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' ]) # _LT_PROG_LTMAIN # --------------- # Note that this code is called both from 'configure', and 'config.status' # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, # 'config.status' has no value for ac_aux_dir unless we are using Automake, # so we pass a copy along to make sure it has a sensible value anyway. m4_defun([_LT_PROG_LTMAIN], [m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl _LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) ltmain=$ac_aux_dir/ltmain.sh ])# _LT_PROG_LTMAIN # So that we can recreate a full libtool script including additional # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS # in macros and then make a single call at the end using the 'libtool' # label. # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) # ---------------------------------------- # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. m4_define([_LT_CONFIG_LIBTOOL_INIT], [m4_ifval([$1], [m4_append([_LT_OUTPUT_LIBTOOL_INIT], [$1 ])])]) # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_INIT]) # _LT_CONFIG_LIBTOOL([COMMANDS]) # ------------------------------ # Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. m4_define([_LT_CONFIG_LIBTOOL], [m4_ifval([$1], [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], [$1 ])])]) # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS]) # _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) # ----------------------------------------------------- m4_defun([_LT_CONFIG_SAVE_COMMANDS], [_LT_CONFIG_LIBTOOL([$1]) _LT_CONFIG_LIBTOOL_INIT([$2]) ]) # _LT_FORMAT_COMMENT([COMMENT]) # ----------------------------- # Add leading comment marks to the start of each line, and a trailing # full-stop to the whole comment if one is not present already. m4_define([_LT_FORMAT_COMMENT], [m4_ifval([$1], [ m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) )]) # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) # ------------------------------------------------------------------- # CONFIGNAME is the name given to the value in the libtool script. # VARNAME is the (base) name used in the configure script. # VALUE may be 0, 1 or 2 for a computed quote escaped value based on # VARNAME. Any other value will be used directly. m4_define([_LT_DECL], [lt_if_append_uniq([lt_decl_varnames], [$2], [, ], [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name], [m4_ifval([$1], [$1], [$2])]) lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3]) m4_ifval([$4], [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])]) lt_dict_add_subkey([lt_decl_dict], [$2], [tagged?], [m4_ifval([$5], [yes], [no])])]) ]) # _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) # -------------------------------------------------------- m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])]) # lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) # ------------------------------------------------ m4_define([lt_decl_tag_varnames], [_lt_decl_filter([tagged?], [yes], $@)]) # _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) # --------------------------------------------------------- m4_define([_lt_decl_filter], [m4_case([$#], [0], [m4_fatal([$0: too few arguments: $#])], [1], [m4_fatal([$0: too few arguments: $#: $1])], [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)], [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)], [lt_dict_filter([lt_decl_dict], $@)])[]dnl ]) # lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) # -------------------------------------------------- m4_define([lt_decl_quote_varnames], [_lt_decl_filter([value], [1], $@)]) # lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) # --------------------------------------------------- m4_define([lt_decl_dquote_varnames], [_lt_decl_filter([value], [2], $@)]) # lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) # --------------------------------------------------- m4_define([lt_decl_varnames_tagged], [m4_assert([$# <= 2])dnl _$0(m4_quote(m4_default([$1], [[, ]])), m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) m4_define([_lt_decl_varnames_tagged], [m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) # lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) # ------------------------------------------------ m4_define([lt_decl_all_varnames], [_$0(m4_quote(m4_default([$1], [[, ]])), m4_if([$2], [], m4_quote(lt_decl_varnames), m4_quote(m4_shift($@))))[]dnl ]) m4_define([_lt_decl_all_varnames], [lt_join($@, lt_decl_varnames_tagged([$1], lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl ]) # _LT_CONFIG_STATUS_DECLARE([VARNAME]) # ------------------------------------ # Quote a variable value, and forward it to 'config.status' so that its # declaration there will have the same value as in 'configure'. VARNAME # must have a single quote delimited value for this to work. m4_define([_LT_CONFIG_STATUS_DECLARE], [$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`']) # _LT_CONFIG_STATUS_DECLARATIONS # ------------------------------ # We delimit libtool config variables with single quotes, so when # we write them to config.status, we have to be sure to quote all # embedded single quotes properly. In configure, this macro expands # each variable declared with _LT_DECL (and _LT_TAGDECL) into: # # ='`$ECHO "$" | $SED "$delay_single_quote_subst"`' m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) # _LT_LIBTOOL_TAGS # ---------------- # Output comment and list of tags supported by the script m4_defun([_LT_LIBTOOL_TAGS], [_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl available_tags='_LT_TAGS'dnl ]) # _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) # ----------------------------------- # Extract the dictionary values for VARNAME (optionally with TAG) and # expand to a commented shell variable setting: # # # Some comment about what VAR is for. # visible_name=$lt_internal_name m4_define([_LT_LIBTOOL_DECLARE], [_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [description])))[]dnl m4_pushdef([_libtool_name], m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), [0], [_libtool_name=[$]$1], [1], [_libtool_name=$lt_[]$1], [2], [_libtool_name=$lt_[]$1], [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl ]) # _LT_LIBTOOL_CONFIG_VARS # ----------------------- # Produce commented declarations of non-tagged libtool config variables # suitable for insertion in the LIBTOOL CONFIG section of the 'libtool' # script. Tagged libtool config variables (even for the LIBTOOL CONFIG # section) are produced by _LT_LIBTOOL_TAG_VARS. m4_defun([_LT_LIBTOOL_CONFIG_VARS], [m4_foreach([_lt_var], m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) # _LT_LIBTOOL_TAG_VARS(TAG) # ------------------------- m4_define([_LT_LIBTOOL_TAG_VARS], [m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) # _LT_TAGVAR(VARNAME, [TAGNAME]) # ------------------------------ m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) # _LT_CONFIG_COMMANDS # ------------------- # Send accumulated output to $CONFIG_STATUS. Thanks to the lists of # variables for single and double quote escaping we saved from calls # to _LT_DECL, we can put quote escaped variables declarations # into 'config.status', and then the shell code to quote escape them in # for loops in 'config.status'. Finally, any additional code accumulated # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. m4_defun([_LT_CONFIG_COMMANDS], [AC_PROVIDE_IFELSE([LT_OUTPUT], dnl If the libtool generation code has been placed in $CONFIG_LT, dnl instead of duplicating it all over again into config.status, dnl then we will have config.status run $CONFIG_LT later, so it dnl needs to know what name is stored there: [AC_CONFIG_COMMANDS([libtool], [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], dnl If the libtool generation code is destined for config.status, dnl expand the accumulated commands and init code now: [AC_CONFIG_COMMANDS([libtool], [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])]) ])#_LT_CONFIG_COMMANDS # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT], [ # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH sed_quote_subst='$sed_quote_subst' double_quote_subst='$double_quote_subst' delay_variable_subst='$delay_variable_subst' _LT_CONFIG_STATUS_DECLARATIONS LTCC='$LTCC' LTCFLAGS='$LTCFLAGS' compiler='$compiler_DEFAULT' # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF \$[]1 _LTECHO_EOF' } # Quote evaled strings. for var in lt_decl_all_varnames([[ \ ]], lt_decl_quote_varnames); do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[[\\\\\\\`\\"\\\$]]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done # Double-quote double-evaled strings. for var in lt_decl_all_varnames([[ \ ]], lt_decl_dquote_varnames); do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[[\\\\\\\`\\"\\\$]]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done _LT_OUTPUT_LIBTOOL_INIT ]) # _LT_GENERATED_FILE_INIT(FILE, [COMMENT]) # ------------------------------------ # Generate a child script FILE with all initialization necessary to # reuse the environment learned by the parent script, and make the # file executable. If COMMENT is supplied, it is inserted after the # '#!' sequence but before initialization text begins. After this # macro, additional text can be appended to FILE to form the body of # the child script. The macro ends with non-zero status if the # file could not be fully written (such as if the disk is full). m4_ifdef([AS_INIT_GENERATED], [m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])], [m4_defun([_LT_GENERATED_FILE_INIT], [m4_require([AS_PREPARE])]dnl [m4_pushdef([AS_MESSAGE_LOG_FD])]dnl [lt_write_fail=0 cat >$1 <<_ASEOF || lt_write_fail=1 #! $SHELL # Generated by $as_me. $2 SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$1 <<\_ASEOF || lt_write_fail=1 AS_SHELL_SANITIZE _AS_PREPARE exec AS_MESSAGE_FD>&1 _ASEOF test 0 = "$lt_write_fail" && chmod +x $1[]dnl m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT # LT_OUTPUT # --------- # This macro allows early generation of the libtool script (before # AC_OUTPUT is called), incase it is used in configure for compilation # tests. AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt} AC_MSG_NOTICE([creating $CONFIG_LT]) _LT_GENERATED_FILE_INIT(["$CONFIG_LT"], [# Run this file to recreate a libtool stub with the current configuration.]) cat >>"$CONFIG_LT" <<\_LTEOF lt_cl_silent=false exec AS_MESSAGE_LOG_FD>>config.log { echo AS_BOX([Running $as_me.]) } >&AS_MESSAGE_LOG_FD lt_cl_help="\ '$as_me' creates a local libtool stub from the current configuration, for use in further configure time tests before the real libtool is generated. Usage: $[0] [[OPTIONS]] -h, --help print this help, then exit -V, --version print version number, then exit -q, --quiet do not print progress messages -d, --debug don't remove temporary files Report bugs to ." lt_cl_version="\ m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) configured by $[0], generated by m4_PACKAGE_STRING. Copyright (C) 2011 Free Software Foundation, Inc. This config.lt script is free software; the Free Software Foundation gives unlimited permision to copy, distribute and modify it." while test 0 != $[#] do case $[1] in --version | --v* | -V ) echo "$lt_cl_version"; exit 0 ;; --help | --h* | -h ) echo "$lt_cl_help"; exit 0 ;; --debug | --d* | -d ) debug=: ;; --quiet | --q* | --silent | --s* | -q ) lt_cl_silent=: ;; -*) AC_MSG_ERROR([unrecognized option: $[1] Try '$[0] --help' for more information.]) ;; *) AC_MSG_ERROR([unrecognized argument: $[1] Try '$[0] --help' for more information.]) ;; esac shift done if $lt_cl_silent; then exec AS_MESSAGE_FD>/dev/null fi _LTEOF cat >>"$CONFIG_LT" <<_LTEOF _LT_OUTPUT_LIBTOOL_COMMANDS_INIT _LTEOF cat >>"$CONFIG_LT" <<\_LTEOF AC_MSG_NOTICE([creating $ofile]) _LT_OUTPUT_LIBTOOL_COMMANDS AS_EXIT(0) _LTEOF chmod +x "$CONFIG_LT" # configure is writing to config.log, but config.lt does its own redirection, # appending to config.log, which fails on DOS, as config.log is still kept # open by configure. Here we exec the FD to /dev/null, effectively closing # config.log, so it can be properly (re)opened and appended to by config.lt. lt_cl_success=: test yes = "$silent" && lt_config_lt_args="$lt_config_lt_args --quiet" exec AS_MESSAGE_LOG_FD>/dev/null $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false exec AS_MESSAGE_LOG_FD>>config.log $lt_cl_success || AS_EXIT(1) ])# LT_OUTPUT # _LT_CONFIG(TAG) # --------------- # If TAG is the built-in tag, create an initial libtool script with a # default configuration from the untagged config vars. Otherwise add code # to config.status for appending the configuration named by TAG from the # matching tagged config vars. m4_defun([_LT_CONFIG], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl _LT_CONFIG_SAVE_COMMANDS([ m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl m4_if(_LT_TAG, [C], [ # See if we are running on zsh, and set the options that allow our # commands through without removal of \ escapes. if test -n "${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi cfgfile=${ofile}T trap "$RM \"$cfgfile\"; exit 1" 1 2 15 $RM "$cfgfile" cat <<_LT_EOF >> "$cfgfile" #! $SHELL # Generated automatically by $as_me ($PACKAGE) $VERSION # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # Provide generalized library-building support services. # Written by Gordon Matzigkeit, 1996 _LT_COPYING _LT_LIBTOOL_TAGS # Configured defaults for sys_lib_dlsearch_path munging. : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} # ### BEGIN LIBTOOL CONFIG _LT_LIBTOOL_CONFIG_VARS _LT_LIBTOOL_TAG_VARS # ### END LIBTOOL CONFIG _LT_EOF cat <<'_LT_EOF' >> "$cfgfile" # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE _LT_PREPARE_MUNGE_PATH_LIST _LT_PREPARE_CC_BASENAME # ### END FUNCTIONS SHARED WITH CONFIGURE _LT_EOF case $host_os in aix3*) cat <<\_LT_EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test set != "${COLLECT_NAMES+set}"; then COLLECT_NAMES= export COLLECT_NAMES fi _LT_EOF ;; esac _LT_PROG_LTMAIN # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" \ || (rm -f "$cfgfile"; exit 1) mv -f "$cfgfile" "$ofile" || (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" ], [cat <<_LT_EOF >> "$ofile" dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded dnl in a comment (ie after a #). # ### BEGIN LIBTOOL TAG CONFIG: $1 _LT_LIBTOOL_TAG_VARS(_LT_TAG) # ### END LIBTOOL TAG CONFIG: $1 _LT_EOF ])dnl /m4_if ], [m4_if([$1], [], [ PACKAGE='$PACKAGE' VERSION='$VERSION' RM='$RM' ofile='$ofile'], []) ])dnl /_LT_CONFIG_SAVE_COMMANDS ])# _LT_CONFIG # LT_SUPPORTED_TAG(TAG) # --------------------- # Trace this macro to discover what tags are supported by the libtool # --tag option, using: # autoconf --trace 'LT_SUPPORTED_TAG:$1' AC_DEFUN([LT_SUPPORTED_TAG], []) # C support is built-in for now m4_define([_LT_LANG_C_enabled], []) m4_define([_LT_TAGS], []) # LT_LANG(LANG) # ------------- # Enable libtool support for the given language if not already enabled. AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl m4_case([$1], [C], [_LT_LANG(C)], [C++], [_LT_LANG(CXX)], [Go], [_LT_LANG(GO)], [Java], [_LT_LANG(GCJ)], [Fortran 77], [_LT_LANG(F77)], [Fortran], [_LT_LANG(FC)], [Windows Resource], [_LT_LANG(RC)], [m4_ifdef([_LT_LANG_]$1[_CONFIG], [_LT_LANG($1)], [m4_fatal([$0: unsupported language: "$1"])])])dnl ])# LT_LANG # _LT_LANG(LANGNAME) # ------------------ m4_defun([_LT_LANG], [m4_ifdef([_LT_LANG_]$1[_enabled], [], [LT_SUPPORTED_TAG([$1])dnl m4_append([_LT_TAGS], [$1 ])dnl m4_define([_LT_LANG_]$1[_enabled], [])dnl _LT_LANG_$1_CONFIG($1)])dnl ])# _LT_LANG m4_ifndef([AC_PROG_GO], [ # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_GO. When it is available in # # a released version of Autoconf we should remove this # # macro and use it instead. # m4_defun([AC_PROG_GO], [AC_LANG_PUSH(Go)dnl AC_ARG_VAR([GOC], [Go compiler command])dnl AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl _AC_ARG_VAR_LDFLAGS()dnl AC_CHECK_TOOL(GOC, gccgo) if test -z "$GOC"; then if test -n "$ac_tool_prefix"; then AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo]) fi fi if test -z "$GOC"; then AC_CHECK_PROG(GOC, gccgo, gccgo, false) fi ])#m4_defun ])#m4_ifndef # _LT_LANG_DEFAULT_CONFIG # ----------------------- m4_defun([_LT_LANG_DEFAULT_CONFIG], [AC_PROVIDE_IFELSE([AC_PROG_CXX], [LT_LANG(CXX)], [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) AC_PROVIDE_IFELSE([AC_PROG_F77], [LT_LANG(F77)], [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) AC_PROVIDE_IFELSE([AC_PROG_FC], [LT_LANG(FC)], [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal dnl pulling things in needlessly. AC_PROVIDE_IFELSE([AC_PROG_GCJ], [LT_LANG(GCJ)], [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], [LT_LANG(GCJ)], [AC_PROVIDE_IFELSE([LT_PROG_GCJ], [LT_LANG(GCJ)], [m4_ifdef([AC_PROG_GCJ], [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) m4_ifdef([A][M_PROG_GCJ], [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) m4_ifdef([LT_PROG_GCJ], [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) AC_PROVIDE_IFELSE([AC_PROG_GO], [LT_LANG(GO)], [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])]) AC_PROVIDE_IFELSE([LT_PROG_RC], [LT_LANG(RC)], [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) ])# _LT_LANG_DEFAULT_CONFIG # Obsolete macros: AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_CXX], []) dnl AC_DEFUN([AC_LIBTOOL_F77], []) dnl AC_DEFUN([AC_LIBTOOL_FC], []) dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) dnl AC_DEFUN([AC_LIBTOOL_RC], []) # _LT_TAG_COMPILER # ---------------- m4_defun([_LT_TAG_COMPILER], [AC_REQUIRE([AC_PROG_CC])dnl _LT_DECL([LTCC], [CC], [1], [A C compiler])dnl _LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl _LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl _LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC ])# _LT_TAG_COMPILER # _LT_COMPILER_BOILERPLATE # ------------------------ # Check for compiler boilerplate output or warnings with # the simple compiler test code. m4_defun([_LT_COMPILER_BOILERPLATE], [m4_require([_LT_DECL_SED])dnl ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $RM conftest* ])# _LT_COMPILER_BOILERPLATE # _LT_LINKER_BOILERPLATE # ---------------------- # Check for linker boilerplate output or warnings with # the simple link test code. m4_defun([_LT_LINKER_BOILERPLATE], [m4_require([_LT_DECL_SED])dnl ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $RM -r conftest* ])# _LT_LINKER_BOILERPLATE # _LT_REQUIRED_DARWIN_CHECKS # ------------------------- m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ case $host_os in rhapsody* | darwin*) AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) AC_CHECK_TOOL([LIPO], [lipo], [:]) AC_CHECK_TOOL([OTOOL], [otool], [:]) AC_CHECK_TOOL([OTOOL64], [otool64], [:]) _LT_DECL([], [DSYMUTIL], [1], [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) _LT_DECL([], [NMEDIT], [1], [Tool to change global to local symbols on Mac OS X]) _LT_DECL([], [LIPO], [1], [Tool to manipulate fat objects and archives on Mac OS X]) _LT_DECL([], [OTOOL], [1], [ldd/readelf like tool for Mach-O binaries on Mac OS X]) _LT_DECL([], [OTOOL64], [1], [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], [lt_cv_apple_cc_single_mod=no if test -z "$LT_MULTI_MODULE"; then # By default we will add the -single_module flag. You can override # by either setting the environment variable LT_MULTI_MODULE # non-empty at configure time, or by adding -multi_module to the # link flags. rm -rf libconftest.dylib* echo "int foo(void){return 1;}" > conftest.c echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err _lt_result=$? # If there is a non-empty error log, and "single_module" # appears in it, assume the flag caused a linker warning if test -s conftest.err && $GREP single_module conftest.err; then cat conftest.err >&AS_MESSAGE_LOG_FD # Otherwise, if the output was created with a 0 exit code from # the compiler, it worked. elif test -f libconftest.dylib && test 0 = "$_lt_result"; then lt_cv_apple_cc_single_mod=yes else cat conftest.err >&AS_MESSAGE_LOG_FD fi rm -rf libconftest.dylib* rm -f conftest.* fi]) AC_CACHE_CHECK([for -exported_symbols_list linker flag], [lt_cv_ld_exported_symbols_list], [lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [lt_cv_ld_exported_symbols_list=yes], [lt_cv_ld_exported_symbols_list=no]) LDFLAGS=$save_LDFLAGS ]) AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load], [lt_cv_ld_force_load=no cat > conftest.c << _LT_EOF int forced_loaded() { return 2;} _LT_EOF echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD cat > conftest.c << _LT_EOF int main() { return 0;} _LT_EOF echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err _lt_result=$? if test -s conftest.err && $GREP force_load conftest.err; then cat conftest.err >&AS_MESSAGE_LOG_FD elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then lt_cv_ld_force_load=yes else cat conftest.err >&AS_MESSAGE_LOG_FD fi rm -f conftest.err libconftest.a conftest conftest.c rm -rf conftest.dSYM ]) case $host_os in rhapsody* | darwin1.[[012]]) _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; darwin1.*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; darwin*) # darwin 5.x on # if running on 10.5 or later, the deployment target defaults # to the OS version, if on x86, and 10.4, the deployment # target defaults to 10.4. Don't you love it? case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 10.[[012]][[,.]]*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 10.*) _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; esac ;; esac if test yes = "$lt_cv_apple_cc_single_mod"; then _lt_dar_single_mod='$single_module' fi if test yes = "$lt_cv_ld_exported_symbols_list"; then _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' else _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' fi if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then _lt_dsymutil='~$DSYMUTIL $lib || :' else _lt_dsymutil= fi ;; esac ]) # _LT_DARWIN_LINKER_FEATURES([TAG]) # --------------------------------- # Checks for linker and compiler features on darwin m4_defun([_LT_DARWIN_LINKER_FEATURES], [ m4_require([_LT_REQUIRED_DARWIN_CHECKS]) _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported if test yes = "$lt_cv_ld_force_load"; then _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes], [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes]) else _LT_TAGVAR(whole_archive_flag_spec, $1)='' fi _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=$_lt_dar_allow_undefined case $cc_basename in ifort*|nagfor*) _lt_dar_can_shared=yes ;; *) _lt_dar_can_shared=$GCC ;; esac if test yes = "$_lt_dar_can_shared"; then output_verbose_link_cmd=func_echo_all _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" m4_if([$1], [CXX], [ if test yes != "$lt_cv_apple_cc_single_mod"; then _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil" _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil" fi ],[]) else _LT_TAGVAR(ld_shlibs, $1)=no fi ]) # _LT_SYS_MODULE_PATH_AIX([TAGNAME]) # ---------------------------------- # Links a minimal program and checks the executable # for the system default hardcoded library path. In most cases, # this is /usr/lib:/lib, but when the MPI compilers are used # the location of the communication and MPI libs are included too. # If we don't find anything, use the default library path according # to the aix ld manual. # Store the results from the different compilers for each TAGNAME. # Allow to override them for all tags through lt_cv_aix_libpath. m4_defun([_LT_SYS_MODULE_PATH_AIX], [m4_require([_LT_DECL_SED])dnl if test set = "${lt_cv_aix_libpath+set}"; then aix_libpath=$lt_cv_aix_libpath else AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])], [AC_LINK_IFELSE([AC_LANG_PROGRAM],[ lt_aix_libpath_sed='[ /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }]' _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi],[]) if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=/usr/lib:/lib fi ]) aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1]) fi ])# _LT_SYS_MODULE_PATH_AIX # _LT_SHELL_INIT(ARG) # ------------------- m4_define([_LT_SHELL_INIT], [m4_divert_text([M4SH-INIT], [$1 ])])# _LT_SHELL_INIT # _LT_PROG_ECHO_BACKSLASH # ----------------------- # Find how we can fake an echo command that does not interpret backslash. # In particular, with Autoconf 2.60 or later we add some code to the start # of the generated configure script that will find a shell with a builtin # printf (that we can use as an echo command). m4_defun([_LT_PROG_ECHO_BACKSLASH], [ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO AC_MSG_CHECKING([how to print strings]) # Test print first, because it will be a builtin if present. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='print -r --' elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='printf %s\n' else # Use this function as a fallback that always works. func_fallback_echo () { eval 'cat <<_LTECHO_EOF $[]1 _LTECHO_EOF' } ECHO='func_fallback_echo' fi # func_echo_all arg... # Invoke $ECHO with all args, space-separated. func_echo_all () { $ECHO "$*" } case $ECHO in printf*) AC_MSG_RESULT([printf]) ;; print*) AC_MSG_RESULT([print -r]) ;; *) AC_MSG_RESULT([cat]) ;; esac m4_ifdef([_AS_DETECT_SUGGESTED], [_AS_DETECT_SUGGESTED([ test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || ( ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO PATH=/empty FPATH=/empty; export PATH FPATH test "X`printf %s $ECHO`" = "X$ECHO" \ || test "X`print -r -- $ECHO`" = "X$ECHO" )])]) _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes]) ])# _LT_PROG_ECHO_BACKSLASH # _LT_WITH_SYSROOT # ---------------- AC_DEFUN([_LT_WITH_SYSROOT], [AC_MSG_CHECKING([for sysroot]) AC_ARG_WITH([sysroot], [AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@], [Search for dependent libraries within DIR (or the compiler's sysroot if not specified).])], [], [with_sysroot=no]) dnl lt_sysroot will always be passed unquoted. We quote it here dnl in case the user passed a directory name. lt_sysroot= case $with_sysroot in #( yes) if test yes = "$GCC"; then lt_sysroot=`$CC --print-sysroot 2>/dev/null` fi ;; #( /*) lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` ;; #( no|'') ;; #( *) AC_MSG_RESULT([$with_sysroot]) AC_MSG_ERROR([The sysroot must be an absolute path.]) ;; esac AC_MSG_RESULT([${lt_sysroot:-no}]) _LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl [dependent libraries, and where our libraries should be installed.])]) # _LT_ENABLE_LOCK # --------------- m4_defun([_LT_ENABLE_LOCK], [AC_ARG_ENABLE([libtool-lock], [AS_HELP_STRING([--disable-libtool-lock], [avoid locking (might break parallel builds)])]) test no = "$enable_libtool_lock" || enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out what ABI is being produced by ac_compile, and set mode # options accordingly. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE=32 ;; *ELF-64*) HPUX_IA64_MODE=64 ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then if test yes = "$lt_cv_prog_gnu_ld"; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; mips64*-*linux*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then emul=elf case `/usr/bin/file conftest.$ac_objext` in *32-bit*) emul="${emul}32" ;; *64-bit*) emul="${emul}64" ;; esac case `/usr/bin/file conftest.$ac_objext` in *MSB*) emul="${emul}btsmip" ;; *LSB*) emul="${emul}ltsmip" ;; esac case `/usr/bin/file conftest.$ac_objext` in *N32*) emul="${emul}n32" ;; esac LD="${LD-ld} -m $emul" fi rm -rf conftest* ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. Note that the listed cases only cover the # situations where additional linker options are needed (such as when # doing 32-bit compilation for a host where ld defaults to 64-bit, or # vice versa); the common cases where no linker options are needed do # not appear in the list. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) case `/usr/bin/file conftest.o` in *x86-64*) LD="${LD-ld} -m elf32_x86_64" ;; *) LD="${LD-ld} -m elf_i386" ;; esac ;; powerpc64le-*linux*) LD="${LD-ld} -m elf32lppclinux" ;; powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_x86_64_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; powerpcle-*linux*) LD="${LD-ld} -m elf64lppc" ;; powerpc-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS=$CFLAGS CFLAGS="$CFLAGS -belf" AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, [AC_LANG_PUSH(C) AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) AC_LANG_POP]) if test yes != "$lt_cv_cc_needs_belf"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS=$SAVE_CFLAGS fi ;; *-*solaris*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) case $host in i?86-*-solaris*|x86_64-*-solaris*) LD="${LD-ld} -m elf_x86_64" ;; sparc*-*-solaris*) LD="${LD-ld} -m elf64_sparc" ;; esac # GNU ld 2.21 introduced _sol2 emulations. Use them if available. if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then LD=${LD-ld}_sol2 fi ;; *) if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then LD="${LD-ld} -64" fi ;; esac ;; esac fi rm -rf conftest* ;; esac need_locks=$enable_libtool_lock ])# _LT_ENABLE_LOCK # _LT_PROG_AR # ----------- m4_defun([_LT_PROG_AR], [AC_CHECK_TOOLS(AR, [ar], false) : ${AR=ar} : ${AR_FLAGS=cru} _LT_DECL([], [AR], [1], [The archiver]) _LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file], [lt_cv_ar_at_file=no AC_COMPILE_IFELSE([AC_LANG_PROGRAM], [echo conftest.$ac_objext > conftest.lst lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD' AC_TRY_EVAL([lt_ar_try]) if test 0 -eq "$ac_status"; then # Ensure the archiver fails upon bogus file names. rm -f conftest.$ac_objext libconftest.a AC_TRY_EVAL([lt_ar_try]) if test 0 -ne "$ac_status"; then lt_cv_ar_at_file=@ fi fi rm -f conftest.* libconftest.a ]) ]) if test no = "$lt_cv_ar_at_file"; then archiver_list_spec= else archiver_list_spec=$lt_cv_ar_at_file fi _LT_DECL([], [archiver_list_spec], [1], [How to feed a file listing to the archiver]) ])# _LT_PROG_AR # _LT_CMD_OLD_ARCHIVE # ------------------- m4_defun([_LT_CMD_OLD_ARCHIVE], [_LT_PROG_AR AC_CHECK_TOOL(STRIP, strip, :) test -z "$STRIP" && STRIP=: _LT_DECL([], [STRIP], [1], [A symbol stripping program]) AC_CHECK_TOOL(RANLIB, ranlib, :) test -z "$RANLIB" && RANLIB=: _LT_DECL([], [RANLIB], [1], [Commands used to install an old-style archive]) # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in bitrig* | openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" fi case $host_os in darwin*) lock_old_archive_extraction=yes ;; *) lock_old_archive_extraction=no ;; esac _LT_DECL([], [old_postinstall_cmds], [2]) _LT_DECL([], [old_postuninstall_cmds], [2]) _LT_TAGDECL([], [old_archive_cmds], [2], [Commands used to build an old-style archive]) _LT_DECL([], [lock_old_archive_extraction], [0], [Whether to use a lock for old archive extraction]) ])# _LT_CMD_OLD_ARCHIVE # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------------------- # Check whether the given compiler option works AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_SED])dnl AC_CACHE_CHECK([$1], [$2], [$2=no m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$3" ## exclude from sc_useless_quotes_in_assignment # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi fi $RM conftest* ]) if test yes = "[$]$2"; then m4_if([$5], , :, [$5]) else m4_if([$6], , :, [$6]) fi ])# _LT_COMPILER_OPTION # Old name: AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------- # Check whether the given linker option works AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_SED])dnl AC_CACHE_CHECK([$1], [$2], [$2=no save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS $3" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&AS_MESSAGE_LOG_FD $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi else $2=yes fi fi $RM -r conftest* LDFLAGS=$save_LDFLAGS ]) if test yes = "[$]$2"; then m4_if([$4], , :, [$4]) else m4_if([$5], , :, [$5]) fi ])# _LT_LINKER_OPTION # Old name: AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) # LT_CMD_MAX_LEN #--------------- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl # find the maximum length of command line arguments AC_MSG_CHECKING([the maximum length of command line arguments]) AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl i=0 teststring=ABCD case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw* | cegcc*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; mint*) # On MiNT this can take a long time and run out of memory. lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; os2*) # The test takes a long time on OS/2. lt_cv_sys_max_cmd_len=8192 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` if test -n "$lt_cv_sys_max_cmd_len" && \ test undefined != "$lt_cv_sys_max_cmd_len"; then lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` else # Make teststring a little bigger before we do anything with it. # a 1K string should be a reasonable start. for i in 1 2 3 4 5 6 7 8; do teststring=$teststring$teststring done SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. while { test X`env echo "$teststring$teststring" 2>/dev/null` \ = "X$teststring$teststring"; } >/dev/null 2>&1 && test 17 != "$i" # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done # Only check the string length outside the loop. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` teststring= # Add a significant safety factor because C++ compilers can tack on # massive amounts of additional arguments before passing them to the # linker. It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` fi ;; esac ]) if test -n "$lt_cv_sys_max_cmd_len"; then AC_MSG_RESULT($lt_cv_sys_max_cmd_len) else AC_MSG_RESULT(none) fi max_cmd_len=$lt_cv_sys_max_cmd_len _LT_DECL([], [max_cmd_len], [0], [What is the maximum length of a command?]) ])# LT_CMD_MAX_LEN # Old name: AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) # _LT_HEADER_DLFCN # ---------------- m4_defun([_LT_HEADER_DLFCN], [AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl ])# _LT_HEADER_DLFCN # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) # ---------------------------------------------------------------- m4_defun([_LT_TRY_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl if test yes = "$cross_compiling"; then : [$4] else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF [#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H #include #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif /* When -fvisibility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) int fnord () __attribute__((visibility("default"))); #endif int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else { if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; else puts (dlerror ()); } /* dlclose (self); */ } else puts (dlerror ()); return status; }] _LT_EOF if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) $1 ;; x$lt_dlneed_uscore) $2 ;; x$lt_dlunknown|x*) $3 ;; esac else : # compilation failed $3 fi fi rm -fr conftest* ])# _LT_TRY_DLOPEN_SELF # LT_SYS_DLOPEN_SELF # ------------------ AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl if test yes != "$enable_dlopen"; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen=load_add_on lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32* | cegcc*) lt_cv_dlopen=LoadLibrary lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen=dlopen lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[ lt_cv_dlopen=dyld lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ]) ;; tpf*) # Don't try to run any link tests for TPF. We know it's impossible # because TPF is a cross-compiler, and we know how we open DSOs. lt_cv_dlopen=dlopen lt_cv_dlopen_libs= lt_cv_dlopen_self=no ;; *) AC_CHECK_FUNC([shl_load], [lt_cv_dlopen=shl_load], [AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld], [AC_CHECK_FUNC([dlopen], [lt_cv_dlopen=dlopen], [AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl], [AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld], [AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld]) ]) ]) ]) ]) ]) ;; esac if test no = "$lt_cv_dlopen"; then enable_dlopen=no else enable_dlopen=yes fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS=$CPPFLAGS test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS=$LDFLAGS wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS=$LIBS LIBS="$lt_cv_dlopen_libs $LIBS" AC_CACHE_CHECK([whether a program can dlopen itself], lt_cv_dlopen_self, [dnl _LT_TRY_DLOPEN_SELF( lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) ]) if test yes = "$lt_cv_dlopen_self"; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" AC_CACHE_CHECK([whether a statically linked program can dlopen itself], lt_cv_dlopen_self_static, [dnl _LT_TRY_DLOPEN_SELF( lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) ]) fi CPPFLAGS=$save_CPPFLAGS LDFLAGS=$save_LDFLAGS LIBS=$save_LIBS ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi _LT_DECL([dlopen_support], [enable_dlopen], [0], [Whether dlopen is supported]) _LT_DECL([dlopen_self], [enable_dlopen_self], [0], [Whether dlopen of programs is supported]) _LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], [Whether dlopen of statically linked programs is supported]) ])# LT_SYS_DLOPEN_SELF # Old name: AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], []) # _LT_COMPILER_C_O([TAGNAME]) # --------------------------- # Check to see if options -c and -o are simultaneously supported by compiler. # This macro does not hard code the compiler like AC_PROG_CC_C_O. m4_defun([_LT_COMPILER_C_O], [m4_require([_LT_DECL_SED])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_TAG_COMPILER])dnl AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)], [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes fi fi chmod u+w . 2>&AS_MESSAGE_LOG_FD $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* ]) _LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1], [Does compiler simultaneously support -c and -o options?]) ])# _LT_COMPILER_C_O # _LT_COMPILER_FILE_LOCKS([TAGNAME]) # ---------------------------------- # Check to see if we can do hard links to lock some files if needed m4_defun([_LT_COMPILER_FILE_LOCKS], [m4_require([_LT_ENABLE_LOCK])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl _LT_COMPILER_C_O([$1]) hard_links=nottested if test no = "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" && test no != "$need_locks"; then # do not overwrite the value of need_locks provided by the user AC_MSG_CHECKING([if we can lock with hard links]) hard_links=yes $RM conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no AC_MSG_RESULT([$hard_links]) if test no = "$hard_links"; then AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe]) need_locks=warn fi else need_locks=no fi _LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) ])# _LT_COMPILER_FILE_LOCKS # _LT_CHECK_OBJDIR # ---------------- m4_defun([_LT_CHECK_OBJDIR], [AC_CACHE_CHECK([for objdir], [lt_cv_objdir], [rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null]) objdir=$lt_cv_objdir _LT_DECL([], [objdir], [0], [The name of the directory that contains temporary libtool files])dnl m4_pattern_allow([LT_OBJDIR])dnl AC_DEFINE_UNQUOTED([LT_OBJDIR], "$lt_cv_objdir/", [Define to the sub-directory where libtool stores uninstalled libraries.]) ])# _LT_CHECK_OBJDIR # _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) # -------------------------------------- # Check hardcoding attributes. m4_defun([_LT_LINKER_HARDCODE_LIBPATH], [AC_MSG_CHECKING([how to hardcode library paths into programs]) _LT_TAGVAR(hardcode_action, $1)= if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || test -n "$_LT_TAGVAR(runpath_var, $1)" || test yes = "$_LT_TAGVAR(hardcode_automatic, $1)"; then # We can hardcode non-existent directories. if test no != "$_LT_TAGVAR(hardcode_direct, $1)" && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" && test no != "$_LT_TAGVAR(hardcode_minus_L, $1)"; then # Linking always hardcodes the temporary library directory. _LT_TAGVAR(hardcode_action, $1)=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. _LT_TAGVAR(hardcode_action, $1)=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. _LT_TAGVAR(hardcode_action, $1)=unsupported fi AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) if test relink = "$_LT_TAGVAR(hardcode_action, $1)" || test yes = "$_LT_TAGVAR(inherit_rpath, $1)"; then # Fast installation is not supported enable_fast_install=no elif test yes = "$shlibpath_overrides_runpath" || test no = "$enable_shared"; then # Fast installation is not necessary enable_fast_install=needless fi _LT_TAGDECL([], [hardcode_action], [0], [How to hardcode a shared library path into an executable]) ])# _LT_LINKER_HARDCODE_LIBPATH # _LT_CMD_STRIPLIB # ---------------- m4_defun([_LT_CMD_STRIPLIB], [m4_require([_LT_DECL_EGREP]) striplib= old_striplib= AC_MSG_CHECKING([whether stripping libraries is possible]) if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" AC_MSG_RESULT([yes]) else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP"; then striplib="$STRIP -x" old_striplib="$STRIP -S" AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) fi ;; *) AC_MSG_RESULT([no]) ;; esac fi _LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) _LT_DECL([], [striplib], [1]) ])# _LT_CMD_STRIPLIB # _LT_PREPARE_MUNGE_PATH_LIST # --------------------------- # Make sure func_munge_path_list() is defined correctly. m4_defun([_LT_PREPARE_MUNGE_PATH_LIST], [[# func_munge_path_list VARIABLE PATH # ----------------------------------- # VARIABLE is name of variable containing _space_ separated list of # directories to be munged by the contents of PATH, which is string # having a format: # "DIR[:DIR]:" # string "DIR[ DIR]" will be prepended to VARIABLE # ":DIR[:DIR]" # string "DIR[ DIR]" will be appended to VARIABLE # "DIRP[:DIRP]::[DIRA:]DIRA" # string "DIRP[ DIRP]" will be prepended to VARIABLE and string # "DIRA[ DIRA]" will be appended to VARIABLE # "DIR[:DIR]" # VARIABLE will be replaced by "DIR[ DIR]" func_munge_path_list () { case x@S|@2 in x) ;; *:) eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\" ;; x:*) eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\" ;; *::*) eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\" ;; *) eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\" ;; esac } ]])# _LT_PREPARE_PATH_LIST # _LT_SYS_DYNAMIC_LINKER([TAG]) # ----------------------------- # PORTME Fill in your ld.so characteristics m4_defun([_LT_SYS_DYNAMIC_LINKER], [AC_REQUIRE([AC_CANONICAL_HOST])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_OBJDUMP])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_CHECK_SHELL_FEATURES])dnl m4_require([_LT_PREPARE_MUNGE_PATH_LIST])dnl AC_MSG_CHECKING([dynamic linker characteristics]) m4_if([$1], [], [ if test yes = "$GCC"; then case $host_os in darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; *) lt_awk_arg='/^libraries:/' ;; esac case $host_os in mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;; *) lt_sed_strip_eq='s|=/|/|g' ;; esac lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` case $lt_search_path_spec in *\;*) # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` ;; *) lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` ;; esac # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary... lt_tmp_lt_search_path_spec= lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` # ...but if some path component already ends with the multilib dir we assume # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). case "$lt_multi_os_dir; $lt_search_path_spec " in "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) lt_multi_os_dir= ;; esac for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" elif test -n "$lt_multi_os_dir"; then test -d "$lt_sys_path" && \ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' BEGIN {RS = " "; FS = "/|\n";} { lt_foo = ""; lt_count = 0; for (lt_i = NF; lt_i > 0; lt_i--) { if ($lt_i != "" && $lt_i != ".") { if ($lt_i == "..") { lt_count++; } else { if (lt_count == 0) { lt_foo = "/" $lt_i lt_foo; } else { lt_count--; } } } } if (lt_foo != "") { lt_freq[[lt_foo]]++; } if (lt_freq[[lt_foo]] == 1) { print lt_foo; } }'` # AWK program above erroneously prepends '/' to C:/dos/paths # for these hosts. case $host_os in mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;; esac sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi]) library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=.so postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown AC_ARG_VAR([LT_SYS_LIBRARY_PATH], [User-defined run-time library search path.]) case $host_os in aix3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='$libname$release$shared_ext$major' ;; aix[[4-9]]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no hardcode_into_libs=yes if test ia64 = "$host_cpu"; then # AIX 5 supports IA64 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line '#! .'. This would cause the generated library to # depend on '.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[[01]] | aix4.[[01]].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then : else can_build_shared=no fi ;; esac # Using Import Files as archive members, it is possible to support # filename-based versioning of shared library archives on AIX. While # this would work for both with and without runtime linking, it will # prevent static linking of such archives. So we do filename-based # shared library versioning with .so extension only, which is used # when both runtime linking and shared linking is enabled. # Unfortunately, runtime linking may impact performance, so we do # not want this to be the default eventually. Also, we use the # versioned .so libs for executables only if there is the -brtl # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. # To allow for filename-based versioning support, we need to create # libNAME.so.V as an archive file, containing: # *) an Import File, referring to the versioned filename of the # archive as well as the shared archive member, telling the # bitwidth (32 or 64) of that shared object, and providing the # list of exported symbols of that shared object, eventually # decorated with the 'weak' keyword # *) the shared object with the F_LOADONLY flag set, to really avoid # it being seen by the linker. # At run time we better use the real file rather than another symlink, # but for link time we create the symlink libNAME.so -> libNAME.so.V case $with_aix_soname,$aix_use_runtimelinking in # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. aix,yes) # traditional libtool dynamic_linker='AIX unversionable lib.so' # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' ;; aix,no) # traditional AIX only dynamic_linker='AIX lib.a[(]lib.so.V[)]' # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='$libname$release.a $libname.a' soname_spec='$libname$release$shared_ext$major' ;; svr4,*) # full svr4 only dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)]" library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' # We do not specify a path in Import Files, so LIBPATH fires. shlibpath_overrides_runpath=yes ;; *,yes) # both, prefer svr4 dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)], lib.a[(]lib.so.V[)]" library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' # unpreferred sharedlib libNAME.a needs extra handling postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' # We do not specify a path in Import Files, so LIBPATH fires. shlibpath_overrides_runpath=yes ;; *,no) # both, prefer aix dynamic_linker="AIX lib.a[(]lib.so.V[)], lib.so.V[(]$shared_archive_member_spec.o[)]" library_names_spec='$libname$release.a $libname.a' soname_spec='$libname$release$shared_ext$major' # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' ;; esac shlibpath_var=LIBPATH fi ;; amigaos*) case $host_cpu in powerpc) # Since July 2007 AmigaOS4 officially supports .so libraries. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' ;; m68k) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; beos*) library_names_spec='$libname$shared_ext' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[[45]]*) version_type=linux # correct to gnu/linux during the next big refactor need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32* | cegcc*) version_type=windows shrext_cmds=.dll need_version=no need_lib_prefix=no case $GCC,$cc_basename in yes,*) # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' m4_if([$1], [],[ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"]) ;; mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' ;; esac dynamic_linker='Win32 ld.exe' ;; *,cl*) # Native MSVC libname_spec='$name' soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' library_names_spec='$libname.dll.lib' case $build_os in mingw*) sys_lib_search_path_spec= lt_save_ifs=$IFS IFS=';' for lt_path in $LIB do IFS=$lt_save_ifs # Let DOS variable expansion print the short 8.3 style file name. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" done IFS=$lt_save_ifs # Convert to MSYS style. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'` ;; cygwin*) # Convert to unix form, then to dos form, then back to unix form # but this time dos style (no spaces!) so that the unix form looks # like /cygdrive/c/PROGRA~1:/cygdr... sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` ;; *) sys_lib_search_path_spec=$LIB if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then # It is most probably a Windows format PATH. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi # FIXME: find the short name or the path components, as spaces are # common. (e.g. "Program Files" -> "PROGRA~1") ;; esac # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes dynamic_linker='Win32 link.exe' ;; *) # Assume MSVC wrapper library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib' dynamic_linker='Win32 ld.exe' ;; esac # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' soname_spec='$libname$release$major$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' m4_if([$1], [],[ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[[23]].*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2.*) shlibpath_overrides_runpath=yes ;; freebsd3.[[01]]* | freebsdelf3.[[01]]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; haiku*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no dynamic_linker="$host_os runtime_loader" library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LIBRARY_PATH shlibpath_overrides_runpath=no sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' if test 32 = "$HPUX_IA64_MODE"; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" sys_lib_dlsearch_path_spec=/usr/lib/hpux32 else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" sys_lib_dlsearch_path_spec=/usr/lib/hpux64 fi ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555, ... postinstall_cmds='chmod 555 $lib' # or fails outright, so override atomically: install_override_mode=555 ;; interix[[3-9]]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test yes = "$lt_cv_prog_gnu_ld"; then version_type=linux # correct to gnu/linux during the next big refactor else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='$libname$release$shared_ext$major' library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; linux*android*) version_type=none # Android doesn't support versioned libraries. need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext' soname_spec='$libname$release$shared_ext' finish_cmds= shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes dynamic_linker='Android linker' # Don't embed -rpath directories since the linker doesn't support them. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # Some binutils ld are patched to set DT_RUNPATH AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath], [lt_cv_shlibpath_overrides_runpath=no save_LDFLAGS=$LDFLAGS save_libdir=$libdir eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], [lt_cv_shlibpath_overrides_runpath=yes])]) LDFLAGS=$save_LDFLAGS libdir=$save_libdir ]) shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Ideally, we could use ldconfig to report *all* directores which are # searched for libraries, however this is still not possible. Aside from not # being certain /sbin/ldconfig is available, command # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, # even though it is searched at run-time. Try to do the best guess by # appending ld.so.conf contents (and includes) to the search path. if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; *nto* | *qnx*) version_type=qnx need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='ldqnx.so' ;; openbsd* | bitrig*) version_type=sunos sys_lib_dlsearch_path_spec=/usr/lib need_lib_prefix=no if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then need_version=no else need_version=yes fi library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; os2*) libname_spec='$name' version_type=windows shrext_cmds=.dll need_version=no need_lib_prefix=no # OS/2 can only load a DLL with a base name of 8 characters or less. soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; v=$($ECHO $release$versuffix | tr -d .-); n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); $ECHO $n$v`$shared_ext' library_names_spec='${libname}_dll.$libext' dynamic_linker='OS/2 ld.exe' shlibpath_var=BEGINLIBPATH sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='$libname$release$shared_ext$major' library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test yes = "$with_gnu_ld"; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec; then version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' soname_spec='$libname$shared_ext.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=sco need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes if test yes = "$with_gnu_ld"; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; tpf*) # TPF is a cross-target only. Preferred cross-host = GNU/Linux. version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; uts4*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac AC_MSG_RESULT([$dynamic_linker]) test no = "$dynamic_linker" && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test yes = "$GCC"; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec fi if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec fi # remember unaugmented sys_lib_dlsearch_path content for libtool script decls... configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH _LT_DECL([], [variables_saved_for_relink], [1], [Variables whose values should be saved in libtool wrapper scripts and restored at link time]) _LT_DECL([], [need_lib_prefix], [0], [Do we need the "lib" prefix for modules?]) _LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) _LT_DECL([], [version_type], [0], [Library versioning type]) _LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) _LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) _LT_DECL([], [shlibpath_overrides_runpath], [0], [Is shlibpath searched before the hard-coded library search path?]) _LT_DECL([], [libname_spec], [1], [Format of library name prefix]) _LT_DECL([], [library_names_spec], [1], [[List of archive names. First name is the real one, the rest are links. The last name is the one that the linker finds with -lNAME]]) _LT_DECL([], [soname_spec], [1], [[The coded name of the library, if different from the real name]]) _LT_DECL([], [install_override_mode], [1], [Permission mode override for installation of shared libraries]) _LT_DECL([], [postinstall_cmds], [2], [Command to use after installation of a shared archive]) _LT_DECL([], [postuninstall_cmds], [2], [Command to use after uninstallation of a shared archive]) _LT_DECL([], [finish_cmds], [2], [Commands used to finish a libtool library installation in a directory]) _LT_DECL([], [finish_eval], [1], [[As "finish_cmds", except a single script fragment to be evaled but not shown]]) _LT_DECL([], [hardcode_into_libs], [0], [Whether we should hardcode library paths into libraries]) _LT_DECL([], [sys_lib_search_path_spec], [2], [Compile-time system search path for libraries]) _LT_DECL([sys_lib_dlsearch_path_spec], [configure_time_dlsearch_path], [2], [Detected run-time system search path for libraries]) _LT_DECL([], [configure_time_lt_sys_library_path], [2], [Explicit LT_SYS_LIBRARY_PATH set during ./configure time]) ])# _LT_SYS_DYNAMIC_LINKER # _LT_PATH_TOOL_PREFIX(TOOL) # -------------------------- # find a file program that can recognize shared library AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl AC_MSG_CHECKING([for $1]) AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, [case $MAGIC_CMD in [[\\/*] | ?:[\\/]*]) lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD=$MAGIC_CMD lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR dnl $ac_dummy forces splitting on constant user-supplied paths. dnl POSIX.2 word splitting is done only on the output of word expansions, dnl not every word. This closes a longstanding sh security hole. ac_dummy="m4_if([$2], , $PATH, [$2])" for ac_dir in $ac_dummy; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$1"; then lt_cv_path_MAGIC_CMD=$ac_dir/"$1" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD=$lt_cv_path_MAGIC_CMD if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS=$lt_save_ifs MAGIC_CMD=$lt_save_MAGIC_CMD ;; esac]) MAGIC_CMD=$lt_cv_path_MAGIC_CMD if test -n "$MAGIC_CMD"; then AC_MSG_RESULT($MAGIC_CMD) else AC_MSG_RESULT(no) fi _LT_DECL([], [MAGIC_CMD], [0], [Used to examine libraries when file_magic_cmd begins with "file"])dnl ])# _LT_PATH_TOOL_PREFIX # Old name: AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) # _LT_PATH_MAGIC # -------------- # find a file program that can recognize a shared library m4_defun([_LT_PATH_MAGIC], [_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) else MAGIC_CMD=: fi fi ])# _LT_PATH_MAGIC # LT_PATH_LD # ---------- # find the pathname to the GNU or non-GNU linker AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_PROG_ECHO_BACKSLASH])dnl AC_ARG_WITH([gnu-ld], [AS_HELP_STRING([--with-gnu-ld], [assume the C compiler uses GNU ld @<:@default=no@:>@])], [test no = "$withval" || with_gnu_ld=yes], [with_gnu_ld=no])dnl ac_prog=ld if test yes = "$GCC"; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by $CC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return, which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]]* | ?:[[\\/]]*) re_direlt='/[[^/]][[^/]]*/\.\./' # Canonicalize the pathname of ld ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD=$ac_prog ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test yes = "$with_gnu_ld"; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL(lt_cv_path_LD, [if test -z "$LD"; then lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD=$ac_dir/$ac_prog # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &1 conftest.i cat conftest.i conftest.i >conftest2.i : ${lt_DD:=$DD} AC_PATH_PROGS_FEATURE_CHECK([lt_DD], [dd], [if "$ac_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then cmp -s conftest.i conftest.out \ && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: fi]) rm -f conftest.i conftest2.i conftest.out]) ])# _LT_PATH_DD # _LT_CMD_TRUNCATE # ---------------- # find command to truncate a binary pipe m4_defun([_LT_CMD_TRUNCATE], [m4_require([_LT_PATH_DD]) AC_CACHE_CHECK([how to truncate binary pipes], [lt_cv_truncate_bin], [printf 0123456789abcdef0123456789abcdef >conftest.i cat conftest.i conftest.i >conftest2.i lt_cv_truncate_bin= if "$ac_cv_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then cmp -s conftest.i conftest.out \ && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" fi rm -f conftest.i conftest2.i conftest.out test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"]) _LT_DECL([lt_truncate_bin], [lt_cv_truncate_bin], [1], [Command to truncate a binary pipe]) ])# _LT_CMD_TRUNCATE # _LT_CHECK_MAGIC_METHOD # ---------------------- # how to check for library dependencies # -- PORTME fill in with the dynamic library characteristics m4_defun([_LT_CHECK_MAGIC_METHOD], [m4_require([_LT_DECL_EGREP]) m4_require([_LT_DECL_OBJDUMP]) AC_CACHE_CHECK([how to recognize dependent libraries], lt_cv_deplibs_check_method, [lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_deplibs_check_method='unknown' # Need to set the preceding variable on all platforms that support # interlibrary dependencies. # 'none' -- dependencies not supported. # 'unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path # that responds to the $file_magic_cmd with a given extended regex. # If you have 'file' or equivalent on your system and you're not sure # whether 'pass_all' will *always* work, you probably want this one. case $host_os in aix[[4-9]]*) lt_cv_deplibs_check_method=pass_all ;; beos*) lt_cv_deplibs_check_method=pass_all ;; bsdi[[45]]*) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' lt_cv_file_magic_cmd='/usr/bin/file -L' lt_cv_file_magic_test_file=/shlib/libc.so ;; cygwin*) # func_win32_libid is a shell function defined in ltmain.sh lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' ;; mingw* | pw32*) # Base MSYS/MinGW do not provide the 'file' command needed by # func_win32_libid shell function, so use a weaker test based on 'objdump', # unless we find 'file', for example because we are cross-compiling. if ( file / ) >/dev/null 2>&1; then lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else # Keep this pattern in sync with the one in func_win32_libid. lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; cegcc*) # use the weaker test based on 'objdump'. See mingw*. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' lt_cv_file_magic_cmd='$OBJDUMP -f' ;; darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; freebsd* | dragonfly*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; haiku*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'] lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; interix[[3-9]]*) # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) lt_cv_deplibs_check_method=pass_all ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; *nto* | *qnx*) lt_cv_deplibs_check_method=pass_all ;; openbsd* | bitrig*) if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; rdos*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; tpf*) lt_cv_deplibs_check_method=pass_all ;; os2*) lt_cv_deplibs_check_method=pass_all ;; esac ]) file_magic_glob= want_nocaseglob=no if test "$build" = "$host"; then case $host_os in mingw* | pw32*) if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then want_nocaseglob=yes else file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"` fi ;; esac fi file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown _LT_DECL([], [deplibs_check_method], [1], [Method to check whether dependent libraries are shared objects]) _LT_DECL([], [file_magic_cmd], [1], [Command to use when deplibs_check_method = "file_magic"]) _LT_DECL([], [file_magic_glob], [1], [How to find potential files when deplibs_check_method = "file_magic"]) _LT_DECL([], [want_nocaseglob], [1], [Find potential files using nocaseglob when deplibs_check_method = "file_magic"]) ])# _LT_CHECK_MAGIC_METHOD # LT_PATH_NM # ---------- # find the pathname to a BSD- or MS-compatible name lister AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, [if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM=$NM else lt_nm_to_check=${ac_tool_prefix}nm if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. tmp_nm=$ac_dir/$lt_tmp_nm if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then # Check to see if the nm accepts a BSD-compat flag. # Adding the 'sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty case $build_os in mingw*) lt_bad_file=conftest.nm/nofile ;; *) lt_bad_file=/dev/null ;; esac case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in *$lt_bad_file* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break 2 ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break 2 ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS=$lt_save_ifs done : ${lt_cv_path_NM=no} fi]) if test no != "$lt_cv_path_NM"; then NM=$lt_cv_path_NM else # Didn't find any BSD compatible name lister, look for dumpbin. if test -n "$DUMPBIN"; then : # Let the user override the test. else AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in *COFF*) DUMPBIN="$DUMPBIN -symbols -headers" ;; *) DUMPBIN=: ;; esac fi AC_SUBST([DUMPBIN]) if test : != "$DUMPBIN"; then NM=$DUMPBIN fi fi test -z "$NM" && NM=nm AC_SUBST([NM]) _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], [lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&AS_MESSAGE_LOG_FD (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&AS_MESSAGE_LOG_FD (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD) cat conftest.out >&AS_MESSAGE_LOG_FD if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" fi rm -f conftest*]) ])# LT_PATH_NM # Old names: AU_ALIAS([AM_PROG_NM], [LT_PATH_NM]) AU_ALIAS([AC_PROG_NM], [LT_PATH_NM]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_PROG_NM], []) dnl AC_DEFUN([AC_PROG_NM], []) # _LT_CHECK_SHAREDLIB_FROM_LINKLIB # -------------------------------- # how to determine the name of the shared library # associated with a specific link library. # -- PORTME fill in with the dynamic library characteristics m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB], [m4_require([_LT_DECL_EGREP]) m4_require([_LT_DECL_OBJDUMP]) m4_require([_LT_DECL_DLLTOOL]) AC_CACHE_CHECK([how to associate runtime and link libraries], lt_cv_sharedlib_from_linklib_cmd, [lt_cv_sharedlib_from_linklib_cmd='unknown' case $host_os in cygwin* | mingw* | pw32* | cegcc*) # two different shell functions defined in ltmain.sh; # decide which one to use based on capabilities of $DLLTOOL case `$DLLTOOL --help 2>&1` in *--identify-strict*) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib ;; *) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback ;; esac ;; *) # fallback: assume linklib IS sharedlib lt_cv_sharedlib_from_linklib_cmd=$ECHO ;; esac ]) sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO _LT_DECL([], [sharedlib_from_linklib_cmd], [1], [Command to associate shared and link libraries]) ])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB # _LT_PATH_MANIFEST_TOOL # ---------------------- # locate the manifest tool m4_defun([_LT_PATH_MANIFEST_TOOL], [AC_CHECK_TOOL(MANIFEST_TOOL, mt, :) test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool], [lt_cv_path_mainfest_tool=no echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out cat conftest.err >&AS_MESSAGE_LOG_FD if $GREP 'Manifest Tool' conftest.out > /dev/null; then lt_cv_path_mainfest_tool=yes fi rm -f conftest*]) if test yes != "$lt_cv_path_mainfest_tool"; then MANIFEST_TOOL=: fi _LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl ])# _LT_PATH_MANIFEST_TOOL # _LT_DLL_DEF_P([FILE]) # --------------------- # True iff FILE is a Windows DLL '.def' file. # Keep in sync with func_dll_def_p in the libtool script AC_DEFUN([_LT_DLL_DEF_P], [dnl test DEF = "`$SED -n dnl -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl -e q dnl Only consider the first "real" line $1`" dnl ])# _LT_DLL_DEF_P # LT_LIB_M # -------- # check for math library AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl LIBM= case $host in *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) # These system don't have libm, or don't need it ;; *-ncr-sysv4.3*) AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw) AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") ;; *) AC_CHECK_LIB(m, cos, LIBM=-lm) ;; esac AC_SUBST([LIBM]) ])# LT_LIB_M # Old name: AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_CHECK_LIBM], []) # _LT_COMPILER_NO_RTTI([TAGNAME]) # ------------------------------- m4_defun([_LT_COMPILER_NO_RTTI], [m4_require([_LT_TAG_COMPILER])dnl _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= if test yes = "$GCC"; then case $cc_basename in nvcc*) _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;; *) _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;; esac _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], lt_cv_prog_compiler_rtti_exceptions, [-fno-rtti -fno-exceptions], [], [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) fi _LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1], [Compiler flag to turn off builtin functions]) ])# _LT_COMPILER_NO_RTTI # _LT_CMD_GLOBAL_SYMBOLS # ---------------------- m4_defun([_LT_CMD_GLOBAL_SYMBOLS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([LT_PATH_NM])dnl AC_REQUIRE([LT_PATH_LD])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_TAG_COMPILER])dnl # Check for command to grab the raw symbol name followed by C symbol from nm. AC_MSG_CHECKING([command to parse $NM output from $compiler object]) AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [ # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[[BCDEGRST]]' # Regexp to match symbols that can be accessed directly from C. sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' # Define system-specific variables. case $host_os in aix*) symcode='[[BCDT]]' ;; cygwin* | mingw* | pw32* | cegcc*) symcode='[[ABCDGISTW]]' ;; hpux*) if test ia64 = "$host_cpu"; then symcode='[[ABCDEGRST]]' fi ;; irix* | nonstopux*) symcode='[[BCDEGRST]]' ;; osf*) symcode='[[BCDEGQRST]]' ;; solaris*) symcode='[[BDRT]]' ;; sco3.2v5*) symcode='[[DT]]' ;; sysv4.2uw2*) symcode='[[DT]]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[[ABDT]]' ;; sysv4) symcode='[[DFNSTU]]' ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[[ABCDGIRSTW]]' ;; esac if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Gets list of data symbols to import. lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" # Adjust the below global symbol transforms to fixup imported variables. lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" lt_c_name_lib_hook="\ -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" else # Disable hooks by default. lt_cv_sys_global_symbol_to_import= lt_cdecl_hook= lt_c_name_hook= lt_c_name_lib_hook= fi # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. lt_cv_sys_global_symbol_to_cdecl="sed -n"\ $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ $lt_c_name_hook\ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" # Transform an extracted symbol line into symbol name with lib prefix and # symbol address. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ $lt_c_name_lib_hook\ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # Try without a prefix underscore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Fake it for dumpbin and say T for any non-static function, # D for any global variable and I for any imported variable. # Also find C++ and __fastcall symbols from MSVC++, # which start with @ or ?. lt_cv_sys_global_symbol_pipe="$AWK ['"\ " {last_section=section; section=\$ 3};"\ " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ " \$ 0!~/External *\|/{next};"\ " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ " {if(hide[section]) next};"\ " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ " ' prfx=^$ac_symprfx]" else lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext <<_LT_EOF #ifdef __cplusplus extern "C" { #endif char nm_test_var; void nm_test_func(void); void nm_test_func(void){} #ifdef __cplusplus } #endif int main(){nm_test_var='a';nm_test_func();return(0);} _LT_EOF if AC_TRY_EVAL(ac_compile); then # Now try to grab the symbols. nlist=conftest.nm if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then if $GREP ' nm_test_func$' "$nlist" >/dev/null; then cat <<_LT_EOF > conftest.$ac_ext /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE /* DATA imports from DLLs on WIN32 can't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */ # define LT@&t@_DLSYM_CONST #elif defined __osf__ /* This system does not cope well with relocations in const data. */ # define LT@&t@_DLSYM_CONST #else # define LT@&t@_DLSYM_CONST const #endif #ifdef __cplusplus extern "C" { #endif _LT_EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */ LT@&t@_DLSYM_CONST struct { const char *name; void *address; } lt__PROGRAM__LTX_preloaded_symbols[[]] = { { "@PROGRAM@", (void *) 0 }, _LT_EOF $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext cat <<\_LT_EOF >> conftest.$ac_ext {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt__PROGRAM__LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_globsym_save_LIBS=$LIBS lt_globsym_save_CFLAGS=$CFLAGS LIBS=conftstm.$ac_objext CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then pipe_works=yes fi LIBS=$lt_globsym_save_LIBS CFLAGS=$lt_globsym_save_CFLAGS else echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD fi else echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD cat conftest.$ac_ext >&5 fi rm -rf conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test yes = "$pipe_works"; then break else lt_cv_sys_global_symbol_pipe= fi done ]) if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then AC_MSG_RESULT(failed) else AC_MSG_RESULT(ok) fi # Response file support. if test "$lt_cv_nm_interface" = "MS dumpbin"; then nm_file_list_spec='@' elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then nm_file_list_spec='@' fi _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], [Take the output of nm and produce a listing of raw symbols and C names]) _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], [Transform the output of nm in a proper C declaration]) _LT_DECL([global_symbol_to_import], [lt_cv_sys_global_symbol_to_import], [1], [Transform the output of nm into a list of symbols to manually relocate]) _LT_DECL([global_symbol_to_c_name_address], [lt_cv_sys_global_symbol_to_c_name_address], [1], [Transform the output of nm in a C name address pair]) _LT_DECL([global_symbol_to_c_name_address_lib_prefix], [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], [Transform the output of nm in a C name address pair when lib prefix is needed]) _LT_DECL([nm_interface], [lt_cv_nm_interface], [1], [The name lister interface]) _LT_DECL([], [nm_file_list_spec], [1], [Specify filename containing input files for $NM]) ]) # _LT_CMD_GLOBAL_SYMBOLS # _LT_COMPILER_PIC([TAGNAME]) # --------------------------- m4_defun([_LT_COMPILER_PIC], [m4_require([_LT_TAG_COMPILER])dnl _LT_TAGVAR(lt_prog_compiler_wl, $1)= _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)= m4_if([$1], [CXX], [ # C++ specific cases for pic, static, wl, etc. if test yes = "$GXX"; then _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the '-m68020' flag to GCC prevents building anything better, # like '-m68040'. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | os2* | pw32* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) case $host_os in os2*) _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' ;; esac ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; *djgpp*) # DJGPP does not support shared libraries at all _LT_TAGVAR(lt_prog_compiler_pic, $1)= ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. _LT_TAGVAR(lt_prog_compiler_static, $1)= ;; interix[[3-9]]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac else case $host_os in aix[[4-9]]*) # All AIX code is PIC. if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; chorus*) case $cc_basename in cxch68*) # Green Hills C++ Compiler # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" ;; esac ;; mingw* | cygwin* | os2* | pw32* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; dgux*) case $cc_basename in ec++*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; ghcx*) # Green Hills C++ Compiler _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; freebsd* | dragonfly*) # FreeBSD uses GNU C++ ;; hpux9* | hpux10* | hpux11*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive' if test ia64 != "$host_cpu"; then _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' fi ;; aCC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive' case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac ;; *) ;; esac ;; interix*) # This is c89, which is MS Visual C++ (no shared libs) # Anyone wants to do a port? ;; irix5* | irix6* | nonstopux*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' # CC pic flag -KPIC is the default. ;; *) ;; esac ;; linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) case $cc_basename in KCC*) # KAI C++ Compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; ecpc* ) # old Intel C++ for x86_64, which still supported -KPIC. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; icpc* ) # Intel C++, used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; pgCC* | pgcpp*) # Portland Group C++ compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; cxx*) # Compaq C++ # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL 8.0, 9.0 on PPC and BlueGene _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; esac ;; esac ;; lynxos*) ;; m88k*) ;; mvs*) case $cc_basename in cxx*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' ;; *) ;; esac ;; netbsd* | netbsdelf*-gnu) ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' ;; RCC*) # Rational C++ 2.4.1 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; cxx*) # Digital/Compaq C++ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; *) ;; esac ;; psos*) ;; solaris*) case $cc_basename in CC* | sunCC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; gcx*) # Green Hills C++ Compiler _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' ;; *) ;; esac ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; lcc*) # Lucid _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; *) ;; esac ;; vxworks*) ;; *) _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ], [ if test yes = "$GCC"; then _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the '-m68020' flag to GCC prevents building anything better, # like '-m68040'. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) case $host_os in os2*) _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' ;; esac ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. _LT_TAGVAR(lt_prog_compiler_static, $1)= ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; interix[[3-9]]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no enable_shared=no ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac case $cc_basename in nvcc*) # Cuda Compiler Driver 2.2 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker ' if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)" fi ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' case $cc_basename in nagfor*) # NAG Fortran compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) case $host_os in os2*) _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' ;; esac ;; hpux9* | hpux10* | hpux11*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC (with -KPIC) is the default. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) case $cc_basename in # old Intel for x86_64, which still supported -KPIC. ecc*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; # icc used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. icc* | ifort*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; # Lahey Fortran 8.1. lf95*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' ;; nagfor*) # NAG Fortran compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; tcc*) # Fabrice Bellard et al's Tiny C Compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; ccc*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All Alpha code is PIC. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; xl* | bgxl* | bgf* | mpixl*) # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*) # Sun Fortran 8.3 passes all unrecognized flags to the linker _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='' ;; *Sun\ F* | *Sun*Fortran*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; *Sun\ C*) # Sun C 5.9 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ;; *Intel*\ [[CF]]*Compiler*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; *Portland\ Group*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; esac ;; newsos6) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; osf3* | osf4* | osf5*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All OSF/1 code is PIC. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; rdos*) _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; solaris*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' case $cc_basename in f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; *) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; esac ;; sunos4*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; unicos*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; uts4*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; *) _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ]) case $host_os in # For platforms that do not support PIC, -DPIC is meaningless: *djgpp*) _LT_TAGVAR(lt_prog_compiler_pic, $1)= ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" ;; esac AC_CACHE_CHECK([for $compiler option to produce PIC], [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)], [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)]) _LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1) # # Check to make sure the PIC flag actually works. # if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)], [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in "" | " "*) ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;; esac], [_LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) fi _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1], [Additional compiler flags for building library objects]) _LT_TAGDECL([wl], [lt_prog_compiler_wl], [1], [How to pass a linker flag through the compiler]) # # Check to make sure the static flag actually works. # wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\" _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1), $lt_tmp_static_flag, [], [_LT_TAGVAR(lt_prog_compiler_static, $1)=]) _LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1], [Compiler flag to prevent dynamic linking]) ])# _LT_COMPILER_PIC # _LT_LINKER_SHLIBS([TAGNAME]) # ---------------------------- # See if the linker supports building shared libraries. m4_defun([_LT_LINKER_SHLIBS], [AC_REQUIRE([LT_PATH_LD])dnl AC_REQUIRE([LT_PATH_NM])dnl m4_require([_LT_PATH_MANIFEST_TOOL])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl m4_require([_LT_TAG_COMPILER])dnl AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) m4_if([$1], [CXX], [ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] case $host_os in aix[[4-9]]*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to GNU nm, but means don't demangle to AIX nm. # Without the "-l" option, or with the "-B" option, AIX nm treats # weak defined symbols like other global defined symbols, whereas # GNU nm marks them as "W". # While the 'weak' keyword is ignored in the Export File, we need # it in the Import File for the 'aix-soname' feature, so we have # to replace the "-B" option with "-P" for AIX nm. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' fi ;; pw32*) _LT_TAGVAR(export_symbols_cmds, $1)=$ltdll_cmds ;; cygwin* | mingw* | cegcc*) case $cc_basename in cl*) _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' ;; *) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] ;; esac ;; linux* | k*bsd*-gnu | gnu*) _LT_TAGVAR(link_all_deplibs, $1)=no ;; *) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; esac ], [ runpath_var= _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_cmds, $1)= _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(compiler_needs_object, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(old_archive_from_new_cmds, $1)= _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)= _LT_TAGVAR(thread_safe_flag_spec, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list _LT_TAGVAR(include_expsyms, $1)= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ' (' and ')$', so one must not match beginning or # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', # as well as any symbol that contains 'd'. _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. # Exclude shared library initialization/finalization symbols. dnl Note also adjust exclude_expsyms for C++ above. extract_expsyms_cmds= case $host_os in cygwin* | mingw* | pw32* | cegcc*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test yes != "$GCC"; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd* | bitrig*) with_gnu_ld=no ;; linux* | k*bsd*-gnu | gnu*) _LT_TAGVAR(link_all_deplibs, $1)=no ;; esac _LT_TAGVAR(ld_shlibs, $1)=yes # On some targets, GNU ld is compatible enough with the native linker # that we're better off using the native interface for both. lt_use_gnu_ld_interface=no if test yes = "$with_gnu_ld"; then case $host_os in aix*) # The AIX port of GNU ld has always aspired to compatibility # with the native linker. However, as the warning in the GNU ld # block says, versions before 2.19.5* couldn't really create working # shared libraries, regardless of the interface used. case `$LD -v 2>&1` in *\ \(GNU\ Binutils\)\ 2.19.5*) ;; *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;; *\ \(GNU\ Binutils\)\ [[3-9]]*) ;; *) lt_use_gnu_ld_interface=yes ;; esac ;; *) lt_use_gnu_ld_interface=yes ;; esac fi if test yes = "$lt_use_gnu_ld_interface"; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='$wl' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' else _LT_TAGVAR(whole_archive_flag_spec, $1)= fi supports_anon_versioning=no case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in *GNU\ gold*) supports_anon_versioning=yes ;; *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix[[3-9]]*) # On AIX/PPC, the GNU linker is very broken if test ia64 != "$host_cpu"; then _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: the GNU linker, at least up to release 2.19, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to install binutils *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. *** You will then need to restart the configuration process. _LT_EOF fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='' ;; m68k) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; cygwin* | mingw* | pw32* | cegcc*) # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file, use it as # is; otherwise, prepend EXPORTS... _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; haiku*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(link_all_deplibs, $1)=yes ;; os2*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=unsupported shrext_cmds=.dll _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; interix[[3-9]]*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) tmp_diet=no if test linux-dietlibc = "$host_os"; then case $cc_basename in diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) esac fi if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ && test no = "$tmp_diet" then tmp_addflag=' $pic_flag' tmp_sharedflag='-shared' case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group f77 and f90 compilers _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; lf95*) # Lahey Fortran 8.1 _LT_TAGVAR(whole_archive_flag_spec, $1)= tmp_sharedflag='--shared' ;; nagfor*) # NAGFOR 5.3 tmp_sharedflag='-Wl,-shared' ;; xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; nvcc*) # Cuda Compiler Driver 2.2 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; esac _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' if test yes = "$supports_anon_versioning"; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' fi case $cc_basename in tcc*) _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic' ;; xlf* | bgf* | bgxlf* | mpixlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test yes = "$supports_anon_versioning"; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' fi ;; esac else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; sunos4*) _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac if test no = "$_LT_TAGVAR(ld_shlibs, $1)"; then runpath_var= _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. _LT_TAGVAR(hardcode_minus_L, $1)=yes if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. _LT_TAGVAR(hardcode_direct, $1)=unsupported fi ;; aix[[4-9]]*) if test ia64 = "$host_cpu"; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag= else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to GNU nm, but means don't demangle to AIX nm. # Without the "-l" option, or with the "-B" option, AIX nm treats # weak defined symbols like other global defined symbols, whereas # GNU nm marks them as "W". # While the 'weak' keyword is ignored in the Export File, we need # it in the Import File for the 'aix-soname' feature, so we have # to replace the "-B" option with "-P" for AIX nm. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # have runtime linking enabled, and use it for executables. # For shared libraries, we enable/disable runtime linking # depending on the kind of the shared library created - # when "with_aix_soname,aix_use_runtimelinking" is: # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables # "aix,yes" lib.so shared, rtl:yes, for executables # lib.a static archive # "both,no" lib.so.V(shr.o) shared, rtl:yes # lib.a(lib.so.V) shared, rtl:no, for executables # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a(lib.so.V) shared, rtl:no # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a static archive case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) for ld_flag in $LDFLAGS; do if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then aix_use_runtimelinking=yes break fi done if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then # With aix-soname=svr4, we create the lib.so.V shared archives only, # so we don't have lib.a shared libs to link our executables. # We have to force runtime linking in this case. aix_use_runtimelinking=yes LDFLAGS="$LDFLAGS -Wl,-brtl" fi ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_TAGVAR(archive_cmds, $1)='' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(file_list_spec, $1)='$wl-f,' case $with_aix_soname,$aix_use_runtimelinking in aix,*) ;; # traditional, no import file svr4,* | *,yes) # use import file # The Import File defines what to hardcode. _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no ;; esac if test yes = "$GCC"; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`$CC -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 _LT_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)= fi ;; esac shared_flag='-shared' if test yes = "$aix_use_runtimelinking"; then shared_flag="$shared_flag "'$wl-G' fi # Need to ensure runtime linking is disabled for the traditional # shared library, or the linker may eventually find shared libraries # /with/ Import File - we do not want to mix them. shared_flag_aix='-shared' shared_flag_svr4='-shared $wl-G' else # not using gcc if test ia64 = "$host_cpu"; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test yes = "$aix_use_runtimelinking"; then shared_flag='$wl-G' else shared_flag='$wl-bM:SRE' fi shared_flag_aix='$wl-bM:SRE' shared_flag_svr4='$wl-G' fi fi _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. _LT_TAGVAR(always_export_symbols, $1)=yes if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag else if test ia64 = "$host_cpu"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib' _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok' _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok' if test yes = "$with_gnu_ld"; then # We only use this code for GNU lds that support --whole-archive. _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' fi _LT_TAGVAR(archive_cmds_need_lc, $1)=yes _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' # -brtl affects multiple linker settings, -berok does not and is overridden later compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`' if test svr4 != "$with_aix_soname"; then # This is similar to how AIX traditionally builds its shared libraries. _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' fi if test aix != "$with_aix_soname"; then _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' else # used by -dlpreopen to get the symbols _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir' fi _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d' fi fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='' ;; m68k) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac ;; bsdi[[45]]*) _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic ;; cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. case $cc_basename in cl*) # Native MSVC _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(file_list_spec, $1)='@' # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then cp "$export_symbols" "$output_objdir/$soname.def"; echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; else $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; fi~ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' # Don't use ranlib _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ lt_tool_outputfile="@TOOL_OUTPUT@"~ case $lt_outputfile in *.exe|*.EXE) ;; *) lt_outputfile=$lt_outputfile.exe lt_tool_outputfile=$lt_tool_outputfile.exe ;; esac~ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; $RM "$lt_outputfile.manifest"; fi' ;; *) # Assume MSVC wrapper _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' # FIXME: Should let the user specify the lib program. _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; esac ;; darwin* | rhapsody*) _LT_DARWIN_LINKER_FEATURES($1) ;; dgux*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2.*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; hpux9*) if test yes = "$GCC"; then _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' else _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_direct, $1)=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' ;; hpux10*) if test yes,no = "$GCC,$with_gnu_ld"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test no = "$with_gnu_ld"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes fi ;; hpux11*) if test yes,no = "$GCC,$with_gnu_ld"; then case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) m4_if($1, [], [ # Older versions of the 11.00 compiler do not understand -b yet # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) _LT_LINKER_OPTION([if $CC understands -b], _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b], [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])], [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags']) ;; esac fi if test no = "$with_gnu_ld"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test yes = "$GCC"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' # Try to use the -exported_symbol ld option, if it does not # work, assume that -exports_file does not work either and # implicitly export all symbols. # This should be the same for all languages, so no per-tag cache variable. AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol], [lt_cv_irix_exported_symbol], [save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" AC_LINK_IFELSE( [AC_LANG_SOURCE( [AC_LANG_CASE([C], [[int foo (void) { return 0; }]], [C++], [[int foo (void) { return 0; }]], [Fortran 77], [[ subroutine foo end]], [Fortran], [[ subroutine foo end]])])], [lt_cv_irix_exported_symbol=yes], [lt_cv_irix_exported_symbol=no]) LDFLAGS=$save_LDFLAGS]) if test yes = "$lt_cv_irix_exported_symbol"; then _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' fi _LT_TAGVAR(link_all_deplibs, $1)=no else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(inherit_rpath, $1)=yes _LT_TAGVAR(link_all_deplibs, $1)=yes ;; linux*) case $cc_basename in tcc*) # Fabrice Bellard et al's Tiny C Compiler _LT_TAGVAR(ld_shlibs, $1)=yes _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; newsos6) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *nto* | *qnx*) ;; openbsd* | bitrig*) if test -f /usr/libexec/ld.so; then _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=yes if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' fi else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; os2*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=unsupported shrext_cmds=.dll _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; osf3*) if test yes = "$GCC"; then _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' else _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test yes = "$GCC"; then _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' else _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp' # Both c and cxx compiler support -rpath directly _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_separator, $1)=: ;; solaris*) _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' if test yes = "$GCC"; then wlarc='$wl' _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' else case `$CC -V 2>&1` in *"Compilers 5.0"*) wlarc='' _LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' ;; *) wlarc='$wl' _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' ;; esac fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands '-z linker_flag'. GCC discards it without '$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test yes = "$GCC"; then _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' else _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' fi ;; esac _LT_TAGVAR(link_all_deplibs, $1)=yes ;; sunos4*) if test sequent = "$host_vendor"; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4) case $host_vendor in sni) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' _LT_TAGVAR(hardcode_direct, $1)=no ;; motorola) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4.3*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes _LT_TAGVAR(ld_shlibs, $1)=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' if test yes = "$GCC"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We CANNOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport' runpath_var='LD_RUN_PATH' if test yes = "$GCC"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(ld_shlibs, $1)=no ;; esac if test sni = "$host_vendor"; then case $host in sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym' ;; esac fi fi ]) AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no _LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld _LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl _LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl _LT_DECL([], [extract_expsyms_cmds], [2], [The commands to extract the exported symbol list from a shared archive]) # # Do we need to explicitly link libc? # case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in x|xyes) # Assume -lc should be added _LT_TAGVAR(archive_cmds_need_lc, $1)=yes if test yes,yes = "$GCC,$enable_shared"; then case $_LT_TAGVAR(archive_cmds, $1) in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. AC_CACHE_CHECK([whether -lc should be explicitly linked in], [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1), [$RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if AC_TRY_EVAL(ac_compile) 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) _LT_TAGVAR(allow_undefined_flag, $1)= if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) then lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no else lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes fi _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $RM conftest* ]) _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1) ;; esac fi ;; esac _LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0], [Whether or not to add -lc for building shared libraries]) _LT_TAGDECL([allow_libtool_libs_with_static_runtimes], [enable_shared_with_static_runtimes], [0], [Whether or not to disallow shared libs when runtime libs are static]) _LT_TAGDECL([], [export_dynamic_flag_spec], [1], [Compiler flag to allow reflexive dlopens]) _LT_TAGDECL([], [whole_archive_flag_spec], [1], [Compiler flag to generate shared objects directly from archives]) _LT_TAGDECL([], [compiler_needs_object], [1], [Whether the compiler copes with passing no objects directly]) _LT_TAGDECL([], [old_archive_from_new_cmds], [2], [Create an old-style archive from a shared archive]) _LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2], [Create a temporary old-style archive to link instead of a shared archive]) _LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive]) _LT_TAGDECL([], [archive_expsym_cmds], [2]) _LT_TAGDECL([], [module_cmds], [2], [Commands used to build a loadable module if different from building a shared archive.]) _LT_TAGDECL([], [module_expsym_cmds], [2]) _LT_TAGDECL([], [with_gnu_ld], [1], [Whether we are building with GNU ld or not]) _LT_TAGDECL([], [allow_undefined_flag], [1], [Flag that allows shared libraries with undefined symbols to be built]) _LT_TAGDECL([], [no_undefined_flag], [1], [Flag that enforces no undefined symbols]) _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1], [Flag to hardcode $libdir into a binary during linking. This must work even if $libdir does not exist]) _LT_TAGDECL([], [hardcode_libdir_separator], [1], [Whether we need a single "-rpath" flag with a separated argument]) _LT_TAGDECL([], [hardcode_direct], [0], [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_direct_absolute], [0], [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes DIR into the resulting binary and the resulting library dependency is "absolute", i.e impossible to change by setting $shlibpath_var if the library is relocated]) _LT_TAGDECL([], [hardcode_minus_L], [0], [Set to "yes" if using the -LDIR flag during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_shlibpath_var], [0], [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_automatic], [0], [Set to "yes" if building a shared library automatically hardcodes DIR into the library and all subsequent libraries and executables linked against it]) _LT_TAGDECL([], [inherit_rpath], [0], [Set to yes if linker adds runtime paths of dependent libraries to runtime path list]) _LT_TAGDECL([], [link_all_deplibs], [0], [Whether libtool must link a program against all its dependency libraries]) _LT_TAGDECL([], [always_export_symbols], [0], [Set to "yes" if exported symbols are required]) _LT_TAGDECL([], [export_symbols_cmds], [2], [The commands to list exported symbols]) _LT_TAGDECL([], [exclude_expsyms], [1], [Symbols that should not be listed in the preloaded symbols]) _LT_TAGDECL([], [include_expsyms], [1], [Symbols that must always be exported]) _LT_TAGDECL([], [prelink_cmds], [2], [Commands necessary for linking programs (against libraries) with templates]) _LT_TAGDECL([], [postlink_cmds], [2], [Commands necessary for finishing linking programs]) _LT_TAGDECL([], [file_list_spec], [1], [Specify filename containing input files]) dnl FIXME: Not yet implemented dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1], dnl [Compiler flag to generate thread safe objects]) ])# _LT_LINKER_SHLIBS # _LT_LANG_C_CONFIG([TAG]) # ------------------------ # Ensure that the configuration variables for a C compiler are suitably # defined. These variables are subsequently used by _LT_CONFIG to write # the compiler configuration to 'libtool'. m4_defun([_LT_LANG_C_CONFIG], [m4_require([_LT_DECL_EGREP])dnl lt_save_CC=$CC AC_LANG_PUSH(C) # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}' _LT_TAG_COMPILER # Save the default compiler, since it gets overwritten when the other # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. compiler_DEFAULT=$CC # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) LT_SYS_DLOPEN_SELF _LT_CMD_STRIPLIB # Report what library types will actually be built AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test no = "$can_build_shared" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test yes = "$enable_shared" && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test ia64 != "$host_cpu"; then case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in yes,aix,yes) ;; # shared object as lib.so file only yes,svr4,*) ;; # shared object as lib.so archive member only yes,*) enable_static=no ;; # shared object in lib.a archive as well esac fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test yes = "$enable_shared" || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_CONFIG($1) fi AC_LANG_POP CC=$lt_save_CC ])# _LT_LANG_C_CONFIG # _LT_LANG_CXX_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for a C++ compiler are suitably # defined. These variables are subsequently used by _LT_CONFIG to write # the compiler configuration to 'libtool'. m4_defun([_LT_LANG_CXX_CONFIG], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_PATH_MANIFEST_TOOL])dnl if test -n "$CXX" && ( test no != "$CXX" && ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || (test g++ != "$CXX"))); then AC_PROG_CXXCPP else _lt_caught_CXX_error=yes fi AC_LANG_PUSH(C++) _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(compiler_needs_object, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for C++ test sources. ac_ext=cpp # Object file extension for compiled C++ test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the CXX compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test yes != "$_lt_caught_CXX_error"; then # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_LD=$LD lt_save_GCC=$GCC GCC=$GXX lt_save_with_gnu_ld=$with_gnu_ld lt_save_path_LD=$lt_cv_path_LD if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else $as_unset lt_cv_prog_gnu_ld fi if test -n "${lt_cv_path_LDCXX+set}"; then lt_cv_path_LD=$lt_cv_path_LDCXX else $as_unset lt_cv_path_LD fi test -z "${LDCXX+set}" || LD=$LDCXX CC=${CXX-"c++"} CFLAGS=$CXXFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) if test -n "$compiler"; then # We don't want -fno-exception when compiling C++ code, so set the # no_builtin_flag separately if test yes = "$GXX"; then _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' else _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= fi if test yes = "$GXX"; then # Set up default GNU C++ configuration LT_PATH_LD # Check if GNU C++ uses GNU ld as the underlying linker, since the # archiving commands below assume that GNU ld is being used. if test yes = "$with_gnu_ld"; then _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' # If archive_cmds runs LD, not CC, wlarc should be empty # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to # investigate it a little bit more. (MM) wlarc='$wl' # ancient GNU ld didn't support --whole-archive et. al. if eval "`$CC -print-prog-name=ld` --help 2>&1" | $GREP 'no-whole-archive' > /dev/null; then _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' else _LT_TAGVAR(whole_archive_flag_spec, $1)= fi else with_gnu_ld=no wlarc= # A generic and very simple default shared library creation # command for GNU C++ for the case where it uses the native # linker, instead of GNU ld. If possible, this setting should # overridden to take advantage of the native linker features on # the platform it is being used on. _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' fi # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else GXX=no with_gnu_ld=no wlarc= fi # PORTME: fill in a description of your system's C++ link characteristics AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) _LT_TAGVAR(ld_shlibs, $1)=yes case $host_os in aix3*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aix[[4-9]]*) if test ia64 = "$host_cpu"; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag= else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # have runtime linking enabled, and use it for executables. # For shared libraries, we enable/disable runtime linking # depending on the kind of the shared library created - # when "with_aix_soname,aix_use_runtimelinking" is: # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables # "aix,yes" lib.so shared, rtl:yes, for executables # lib.a static archive # "both,no" lib.so.V(shr.o) shared, rtl:yes # lib.a(lib.so.V) shared, rtl:no, for executables # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a(lib.so.V) shared, rtl:no # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a static archive case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) for ld_flag in $LDFLAGS; do case $ld_flag in *-brtl*) aix_use_runtimelinking=yes break ;; esac done if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then # With aix-soname=svr4, we create the lib.so.V shared archives only, # so we don't have lib.a shared libs to link our executables. # We have to force runtime linking in this case. aix_use_runtimelinking=yes LDFLAGS="$LDFLAGS -Wl,-brtl" fi ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_TAGVAR(archive_cmds, $1)='' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(file_list_spec, $1)='$wl-f,' case $with_aix_soname,$aix_use_runtimelinking in aix,*) ;; # no import file svr4,* | *,yes) # use import file # The Import File defines what to hardcode. _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no ;; esac if test yes = "$GXX"; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`$CC -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 _LT_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)= fi esac shared_flag='-shared' if test yes = "$aix_use_runtimelinking"; then shared_flag=$shared_flag' $wl-G' fi # Need to ensure runtime linking is disabled for the traditional # shared library, or the linker may eventually find shared libraries # /with/ Import File - we do not want to mix them. shared_flag_aix='-shared' shared_flag_svr4='-shared $wl-G' else # not using gcc if test ia64 = "$host_cpu"; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test yes = "$aix_use_runtimelinking"; then shared_flag='$wl-G' else shared_flag='$wl-bM:SRE' fi shared_flag_aix='$wl-bM:SRE' shared_flag_svr4='$wl-G' fi fi _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to # export. _LT_TAGVAR(always_export_symbols, $1)=yes if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. # The "-G" linker flag allows undefined symbols. _LT_TAGVAR(no_undefined_flag, $1)='-bernotok' # Determine the default libpath from the value encoded in an empty # executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag else if test ia64 = "$host_cpu"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib' _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok' _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok' if test yes = "$with_gnu_ld"; then # We only use this code for GNU lds that support --whole-archive. _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' fi _LT_TAGVAR(archive_cmds_need_lc, $1)=yes _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' # -brtl affects multiple linker settings, -berok does not and is overridden later compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`' if test svr4 != "$with_aix_soname"; then # This is similar to how AIX traditionally builds its shared # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' fi if test aix != "$with_aix_soname"; then _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' else # used by -dlpreopen to get the symbols _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir' fi _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d' fi fi ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; chorus*) case $cc_basename in *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; cygwin* | mingw* | pw32* | cegcc*) case $GXX,$cc_basename in ,cl* | no,cl*) # Native MSVC # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(file_list_spec, $1)='@' # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then cp "$export_symbols" "$output_objdir/$soname.def"; echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; else $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; fi~ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes # Don't use ranlib _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ lt_tool_outputfile="@TOOL_OUTPUT@"~ case $lt_outputfile in *.exe|*.EXE) ;; *) lt_outputfile=$lt_outputfile.exe lt_tool_outputfile=$lt_tool_outputfile.exe ;; esac~ func_to_tool_file "$lt_outputfile"~ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; $RM "$lt_outputfile.manifest"; fi' ;; *) # g++ # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file, use it as # is; otherwise, prepend EXPORTS... _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; darwin* | rhapsody*) _LT_DARWIN_LINKER_FEATURES($1) ;; os2*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=unsupported shrext_cmds=.dll _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; dgux*) case $cc_basename in ec++*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; ghcx*) # Green Hills C++ Compiler # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; freebsd2.*) # C++ shared libraries reported to be fairly broken before # switch to ELF _LT_TAGVAR(ld_shlibs, $1)=no ;; freebsd-elf*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; freebsd* | dragonfly*) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions _LT_TAGVAR(ld_shlibs, $1)=yes ;; haiku*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(link_all_deplibs, $1)=yes ;; hpux9*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aCC*) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test yes = "$GXX"; then _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; hpux10*|hpux11*) if test no = "$with_gnu_ld"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) ;; *) _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' ;; esac fi case $host_cpu in hppa*64*|ia64*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. ;; esac case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aCC*) case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test yes = "$GXX"; then if test no = "$with_gnu_ld"; then case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac fi else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; interix[[3-9]]*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; irix5* | irix6*) case $cc_basename in CC*) # SGI C++ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' # Archives containing C++ object files must be created using # "CC -ar", where "CC" is the IRIX C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' ;; *) if test yes = "$GXX"; then if test no = "$with_gnu_ld"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib' fi fi _LT_TAGVAR(link_all_deplibs, $1)=yes ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(inherit_rpath, $1)=yes ;; linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; icpc* | ecpc* ) # Intel C++ with_gnu_ld=yes # version 8.0 and above of icpc choke on multiply defined symbols # if we add $predep_objects and $postdep_objects, however 7.1 and # earlier do not add the objects themselves. case `$CC -V 2>&1` in *"Version 7."*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' ;; *) # Version 8.0 or newer tmp_idyn= case $host_cpu in ia64*) tmp_idyn=' -i_dynamic';; esac _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' ;; esac _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive' ;; pgCC* | pgcpp*) # Portland Group C++ compiler case `$CC -V` in *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*) _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ $RANLIB $oldlib' _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' ;; *) # Version 6 and above use weak symbols _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' ;; cxx*) # Compaq C++ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols' runpath_var=LD_RUN_PATH _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' ;; xl* | mpixl* | bgxl*) # IBM XL 8.0 on PPC, with GNU ld _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' if test yes = "$supports_anon_versioning"; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' fi ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes # Not sure whether something based on # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 # would be better. output_verbose_link_cmd='func_echo_all' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; esac ;; esac ;; lynxos*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; m88k*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; mvs*) case $cc_basename in cxx*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' wlarc= _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no fi # Workaround some broken pre-1.5 toolchains output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' ;; *nto* | *qnx*) _LT_TAGVAR(ld_shlibs, $1)=yes ;; openbsd* | bitrig*) if test -f /usr/libexec/ld.so; then _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' fi output_verbose_link_cmd=func_echo_all else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Archives containing C++ object files must be created using # the KAI C++ compiler. case $host in osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; esac ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; cxx*) case $host in osf3*) _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' ;; *) _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ echo "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~ $RM $lib.exp' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' ;; esac _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test yes,no = "$GXX,$with_gnu_ld"; then _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' case $host in osf3*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; psos*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; lcc*) # Lucid # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; solaris*) case $cc_basename in CC* | sunCC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_TAGVAR(archive_cmds_need_lc,$1)=yes _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands '-z linker_flag'. # Supported since Solaris 2.6 (maybe 2.5.1?) _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; esac _LT_TAGVAR(link_all_deplibs, $1)=yes output_verbose_link_cmd='func_echo_all' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; gcx*) # Green Hills C++ Compiler _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' # The C++ compiler must be used to create the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' ;; *) # GNU C++ compiler with Solaris linker if test yes,no = "$GXX,$with_gnu_ld"; then _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs' if $CC --version | $GREP -v '^2\.7' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else # g++ 2.7 appears to require '-G' NOT '-shared' on this # platform. _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir' case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' ;; esac fi ;; esac ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We CANNOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport' runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~ '"$_LT_TAGVAR(old_archive_cmds, $1)" _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~ '"$_LT_TAGVAR(reload_cmds, $1)" ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; vxworks*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no _LT_TAGVAR(GCC, $1)=$GXX _LT_TAGVAR(LD, $1)=$LD ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_SYS_HIDDEN_LIBDEPS($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS LDCXX=$LD LD=$lt_save_LD GCC=$lt_save_GCC with_gnu_ld=$lt_save_with_gnu_ld lt_cv_path_LDCXX=$lt_cv_path_LD lt_cv_path_LD=$lt_save_path_LD lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld fi # test yes != "$_lt_caught_CXX_error" AC_LANG_POP ])# _LT_LANG_CXX_CONFIG # _LT_FUNC_STRIPNAME_CNF # ---------------------- # func_stripname_cnf prefix suffix name # strip PREFIX and SUFFIX off of NAME. # PREFIX and SUFFIX must not contain globbing or regex special # characters, hashes, percent signs, but SUFFIX may contain a leading # dot (in which case that matches only a dot). # # This function is identical to the (non-XSI) version of func_stripname, # except this one can be used by m4 code that may be executed by configure, # rather than the libtool script. m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl AC_REQUIRE([_LT_DECL_SED]) AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH]) func_stripname_cnf () { case @S|@2 in .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;; *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;; esac } # func_stripname_cnf ])# _LT_FUNC_STRIPNAME_CNF # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) # --------------------------------- # Figure out "hidden" library dependencies from verbose # compiler output when linking a shared library. # Parse the compiler output and extract the necessary # objects, libraries and library flags. m4_defun([_LT_SYS_HIDDEN_LIBDEPS], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl # Dependencies to place before and after the object being linked: _LT_TAGVAR(predep_objects, $1)= _LT_TAGVAR(postdep_objects, $1)= _LT_TAGVAR(predeps, $1)= _LT_TAGVAR(postdeps, $1)= _LT_TAGVAR(compiler_lib_search_path, $1)= dnl we can't use the lt_simple_compile_test_code here, dnl because it contains code intended for an executable, dnl not a library. It's possible we should let each dnl tag define a new lt_????_link_test_code variable, dnl but it's only used here... m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF int a; void foo (void) { a = 0; } _LT_EOF ], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF class Foo { public: Foo (void) { a = 0; } private: int a; }; _LT_EOF ], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF subroutine foo implicit none integer*4 a a=0 return end _LT_EOF ], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF subroutine foo implicit none integer a a=0 return end _LT_EOF ], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF public class foo { private int a; public void bar (void) { a = 0; } }; _LT_EOF ], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF package foo func foo() { } _LT_EOF ]) _lt_libdeps_save_CFLAGS=$CFLAGS case "$CC $CFLAGS " in #( *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; esac dnl Parse the compiler output and extract the necessary dnl objects, libraries and library flags. if AC_TRY_EVAL(ac_compile); then # Parse the compiler output and extract the necessary # objects, libraries and library flags. # Sentinel used to keep track of whether or not we are before # the conftest object file. pre_test_object_deps_done=no for p in `eval "$output_verbose_link_cmd"`; do case $prev$p in -L* | -R* | -l*) # Some compilers place space between "-{L,R}" and the path. # Remove the space. if test x-L = "$p" || test x-R = "$p"; then prev=$p continue fi # Expand the sysroot to ease extracting the directories later. if test -z "$prev"; then case $p in -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; esac fi case $p in =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; esac if test no = "$pre_test_object_deps_done"; then case $prev in -L | -R) # Internal compiler library paths should come after those # provided the user. The postdeps already come after the # user supplied libs so there is no need to process them. if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then _LT_TAGVAR(compiler_lib_search_path, $1)=$prev$p else _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} $prev$p" fi ;; # The "-l" case would never come before the object being # linked, so don't bother handling this case. esac else if test -z "$_LT_TAGVAR(postdeps, $1)"; then _LT_TAGVAR(postdeps, $1)=$prev$p else _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} $prev$p" fi fi prev= ;; *.lto.$objext) ;; # Ignore GCC LTO objects *.$objext) # This assumes that the test object file only shows up # once in the compiler output. if test "$p" = "conftest.$objext"; then pre_test_object_deps_done=yes continue fi if test no = "$pre_test_object_deps_done"; then if test -z "$_LT_TAGVAR(predep_objects, $1)"; then _LT_TAGVAR(predep_objects, $1)=$p else _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p" fi else if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then _LT_TAGVAR(postdep_objects, $1)=$p else _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p" fi fi ;; *) ;; # Ignore the rest. esac done # Clean up. rm -f a.out a.exe else echo "libtool.m4: error: problem compiling $1 test program" fi $RM -f confest.$objext CFLAGS=$_lt_libdeps_save_CFLAGS # PORTME: override above test on systems where it is broken m4_if([$1], [CXX], [case $host_os in interix[[3-9]]*) # Interix 3.5 installs completely hosed .la files for C++, so rather than # hack all around it, let's just trust "g++" to DTRT. _LT_TAGVAR(predep_objects,$1)= _LT_TAGVAR(postdep_objects,$1)= _LT_TAGVAR(postdeps,$1)= ;; esac ]) case " $_LT_TAGVAR(postdeps, $1) " in *" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; esac _LT_TAGVAR(compiler_lib_search_dirs, $1)= if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | $SED -e 's! -L! !g' -e 's!^ !!'` fi _LT_TAGDECL([], [compiler_lib_search_dirs], [1], [The directories searched by this compiler when creating a shared library]) _LT_TAGDECL([], [predep_objects], [1], [Dependencies to place before and after the objects being linked to create a shared library]) _LT_TAGDECL([], [postdep_objects], [1]) _LT_TAGDECL([], [predeps], [1]) _LT_TAGDECL([], [postdeps], [1]) _LT_TAGDECL([], [compiler_lib_search_path], [1], [The library search path used internally by the compiler when linking a shared library]) ])# _LT_SYS_HIDDEN_LIBDEPS # _LT_LANG_F77_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for a Fortran 77 compiler are # suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_F77_CONFIG], [AC_LANG_PUSH(Fortran 77) if test -z "$F77" || test no = "$F77"; then _lt_disable_F77=yes fi _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for f77 test sources. ac_ext=f # Object file extension for compiled f77 test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the F77 compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test yes != "$_lt_disable_F77"; then # Code to be used in simple compile tests lt_simple_compile_test_code="\ subroutine t return end " # Code to be used in simple link tests lt_simple_link_test_code="\ program t end " # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_GCC=$GCC lt_save_CFLAGS=$CFLAGS CC=${F77-"f77"} CFLAGS=$FFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) GCC=$G77 if test -n "$compiler"; then AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test no = "$can_build_shared" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test yes = "$enable_shared" && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test ia64 != "$host_cpu"; then case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in yes,aix,yes) ;; # shared object as lib.so file only yes,svr4,*) ;; # shared object as lib.so archive member only yes,*) enable_static=no ;; # shared object in lib.a archive as well esac fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test yes = "$enable_shared" || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_TAGVAR(GCC, $1)=$G77 _LT_TAGVAR(LD, $1)=$LD ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS fi # test yes != "$_lt_disable_F77" AC_LANG_POP ])# _LT_LANG_F77_CONFIG # _LT_LANG_FC_CONFIG([TAG]) # ------------------------- # Ensure that the configuration variables for a Fortran compiler are # suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_FC_CONFIG], [AC_LANG_PUSH(Fortran) if test -z "$FC" || test no = "$FC"; then _lt_disable_FC=yes fi _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for fc test sources. ac_ext=${ac_fc_srcext-f} # Object file extension for compiled fc test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the FC compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test yes != "$_lt_disable_FC"; then # Code to be used in simple compile tests lt_simple_compile_test_code="\ subroutine t return end " # Code to be used in simple link tests lt_simple_link_test_code="\ program t end " # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_GCC=$GCC lt_save_CFLAGS=$CFLAGS CC=${FC-"f95"} CFLAGS=$FCFLAGS compiler=$CC GCC=$ac_cv_fc_compiler_gnu _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) if test -n "$compiler"; then AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test no = "$can_build_shared" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test yes = "$enable_shared" && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test ia64 != "$host_cpu"; then case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in yes,aix,yes) ;; # shared object as lib.so file only yes,svr4,*) ;; # shared object as lib.so archive member only yes,*) enable_static=no ;; # shared object in lib.a archive as well esac fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test yes = "$enable_shared" || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_TAGVAR(GCC, $1)=$ac_cv_fc_compiler_gnu _LT_TAGVAR(LD, $1)=$LD ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_SYS_HIDDEN_LIBDEPS($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS fi # test yes != "$_lt_disable_FC" AC_LANG_POP ])# _LT_LANG_FC_CONFIG # _LT_LANG_GCJ_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for the GNU Java Compiler compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_GCJ_CONFIG], [AC_REQUIRE([LT_PROG_GCJ])dnl AC_LANG_SAVE # Source file extension for Java test sources. ac_ext=java # Object file extension for compiled Java test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="class foo {}" # Code to be used in simple link tests lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC=yes CC=${GCJ-"gcj"} CFLAGS=$GCJFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_TAGVAR(LD, $1)=$LD _LT_CC_BASENAME([$compiler]) # GCJ did not exist at the time GCC didn't implicitly link libc in. _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi AC_LANG_RESTORE GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_GCJ_CONFIG # _LT_LANG_GO_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for the GNU Go compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_GO_CONFIG], [AC_REQUIRE([LT_PROG_GO])dnl AC_LANG_SAVE # Source file extension for Go test sources. ac_ext=go # Object file extension for compiled Go test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="package main; func main() { }" # Code to be used in simple link tests lt_simple_link_test_code='package main; func main() { }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC=yes CC=${GOC-"gccgo"} CFLAGS=$GOFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_TAGVAR(LD, $1)=$LD _LT_CC_BASENAME([$compiler]) # Go did not exist at the time GCC didn't implicitly link libc in. _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi AC_LANG_RESTORE GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_GO_CONFIG # _LT_LANG_RC_CONFIG([TAG]) # ------------------------- # Ensure that the configuration variables for the Windows resource compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_RC_CONFIG], [AC_REQUIRE([LT_PROG_RC])dnl AC_LANG_SAVE # Source file extension for RC test sources. ac_ext=rc # Object file extension for compiled RC test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' # Code to be used in simple link tests lt_simple_link_test_code=$lt_simple_compile_test_code # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC= CC=${RC-"windres"} CFLAGS= compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes if test -n "$compiler"; then : _LT_CONFIG($1) fi GCC=$lt_save_GCC AC_LANG_RESTORE CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_RC_CONFIG # LT_PROG_GCJ # ----------- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], [AC_CHECK_TOOL(GCJ, gcj,) test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2" AC_SUBST(GCJFLAGS)])])[]dnl ]) # Old name: AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_GCJ], []) # LT_PROG_GO # ---------- AC_DEFUN([LT_PROG_GO], [AC_CHECK_TOOL(GOC, gccgo,) ]) # LT_PROG_RC # ---------- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,) ]) # Old name: AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_RC], []) # _LT_DECL_EGREP # -------------- # If we don't have a new enough Autoconf to choose the best grep # available, choose the one first in the user's PATH. m4_defun([_LT_DECL_EGREP], [AC_REQUIRE([AC_PROG_EGREP])dnl AC_REQUIRE([AC_PROG_FGREP])dnl test -z "$GREP" && GREP=grep _LT_DECL([], [GREP], [1], [A grep program that handles long lines]) _LT_DECL([], [EGREP], [1], [An ERE matcher]) _LT_DECL([], [FGREP], [1], [A literal string matcher]) dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too AC_SUBST([GREP]) ]) # _LT_DECL_OBJDUMP # -------------- # If we don't have a new enough Autoconf to choose the best objdump # available, choose the one first in the user's PATH. m4_defun([_LT_DECL_OBJDUMP], [AC_CHECK_TOOL(OBJDUMP, objdump, false) test -z "$OBJDUMP" && OBJDUMP=objdump _LT_DECL([], [OBJDUMP], [1], [An object symbol dumper]) AC_SUBST([OBJDUMP]) ]) # _LT_DECL_DLLTOOL # ---------------- # Ensure DLLTOOL variable is set. m4_defun([_LT_DECL_DLLTOOL], [AC_CHECK_TOOL(DLLTOOL, dlltool, false) test -z "$DLLTOOL" && DLLTOOL=dlltool _LT_DECL([], [DLLTOOL], [1], [DLL creation program]) AC_SUBST([DLLTOOL]) ]) # _LT_DECL_SED # ------------ # Check for a fully-functional sed program, that truncates # as few characters as possible. Prefer GNU sed if found. m4_defun([_LT_DECL_SED], [AC_PROG_SED test -z "$SED" && SED=sed Xsed="$SED -e 1s/^X//" _LT_DECL([], [SED], [1], [A sed program that does not truncate output]) _LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"], [Sed that helps us avoid accidentally triggering echo(1) options like -n]) ])# _LT_DECL_SED m4_ifndef([AC_PROG_SED], [ # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_SED. When it is available in # # a released version of Autoconf we should remove this # # macro and use it instead. # m4_defun([AC_PROG_SED], [AC_MSG_CHECKING([for a sed that does not truncate output]) AC_CACHE_VAL(lt_cv_path_SED, [# Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done done done IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do test ! -f "$lt_ac_sed" && continue cat /dev/null > conftest.in lt_ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >conftest.in # Check for GNU sed and select it if it is found. if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then lt_cv_path_SED=$lt_ac_sed break fi while true; do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo >>conftest.nl $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break cmp -s conftest.out conftest.nl || break # 10000 chars as input seems more than enough test 10 -lt "$lt_ac_count" && break lt_ac_count=`expr $lt_ac_count + 1` if test "$lt_ac_count" -gt "$lt_ac_max"; then lt_ac_max=$lt_ac_count lt_cv_path_SED=$lt_ac_sed fi done done ]) SED=$lt_cv_path_SED AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ])#AC_PROG_SED ])#m4_ifndef # Old name: AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_SED], []) # _LT_CHECK_SHELL_FEATURES # ------------------------ # Find out whether the shell is Bourne or XSI compatible, # or has some other useful features. m4_defun([_LT_CHECK_SHELL_FEATURES], [if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then lt_unset=unset else lt_unset=false fi _LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl # test EBCDIC or ASCII case `echo X|tr X '\101'` in A) # ASCII based system # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr lt_SP2NL='tr \040 \012' lt_NL2SP='tr \015\012 \040\040' ;; *) # EBCDIC based system lt_SP2NL='tr \100 \n' lt_NL2SP='tr \r\n \100\100' ;; esac _LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl ])# _LT_CHECK_SHELL_FEATURES # _LT_PATH_CONVERSION_FUNCTIONS # ----------------------------- # Determine what file name conversion functions should be used by # func_to_host_file (and, implicitly, by func_to_host_path). These are needed # for certain cross-compile configurations and native mingw. m4_defun([_LT_PATH_CONVERSION_FUNCTIONS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl AC_MSG_CHECKING([how to convert $build file names to $host format]) AC_CACHE_VAL(lt_cv_to_host_file_cmd, [case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 ;; esac ;; *-*-cygwin* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_noop ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin ;; esac ;; * ) # unhandled hosts (and "normal" native builds) lt_cv_to_host_file_cmd=func_convert_file_noop ;; esac ]) to_host_file_cmd=$lt_cv_to_host_file_cmd AC_MSG_RESULT([$lt_cv_to_host_file_cmd]) _LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd], [0], [convert $build file names to $host format])dnl AC_MSG_CHECKING([how to convert $build file names to toolchain format]) AC_CACHE_VAL(lt_cv_to_tool_file_cmd, [#assume ordinary cross tools, or native build. lt_cv_to_tool_file_cmd=func_convert_file_noop case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 ;; esac ;; esac ]) to_tool_file_cmd=$lt_cv_to_tool_file_cmd AC_MSG_RESULT([$lt_cv_to_tool_file_cmd]) _LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], [0], [convert $build files to toolchain format])dnl ])# _LT_PATH_CONVERSION_FUNCTIONS # Helper functions for option handling. -*- Autoconf -*- # # Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software # Foundation, Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 8 ltoptions.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) # ------------------------------------------ m4_define([_LT_MANGLE_OPTION], [[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) # --------------------------------------- # Set option OPTION-NAME for macro MACRO-NAME, and if there is a # matching handler defined, dispatch to it. Other OPTION-NAMEs are # saved as a flag. m4_define([_LT_SET_OPTION], [m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), _LT_MANGLE_DEFUN([$1], [$2]), [m4_warning([Unknown $1 option '$2'])])[]dnl ]) # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) # ------------------------------------------------------------ # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. m4_define([_LT_IF_OPTION], [m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) # _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) # ------------------------------------------------------- # Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME # are set. m4_define([_LT_UNLESS_OPTIONS], [m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), [m4_define([$0_found])])])[]dnl m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 ])[]dnl ]) # _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) # ---------------------------------------- # OPTION-LIST is a space-separated list of Libtool options associated # with MACRO-NAME. If any OPTION has a matching handler declared with # LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about # the unknown option and exit. m4_defun([_LT_SET_OPTIONS], [# Set options m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [_LT_SET_OPTION([$1], _LT_Option)]) m4_if([$1],[LT_INIT],[ dnl dnl Simply set some default values (i.e off) if boolean options were not dnl specified: _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no ]) _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no ]) dnl dnl If no reference was made to various pairs of opposing options, then dnl we run the default mode handler for the pair. For example, if neither dnl 'shared' nor 'disable-shared' was passed, we enable building of shared dnl archives by default: _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], [_LT_ENABLE_FAST_INSTALL]) _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4], [_LT_WITH_AIX_SONAME([aix])]) ]) ])# _LT_SET_OPTIONS # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) # ----------------------------------------- m4_define([_LT_MANGLE_DEFUN], [[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) # ----------------------------------------------- m4_define([LT_OPTION_DEFINE], [m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl ])# LT_OPTION_DEFINE # dlopen # ------ LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes ]) AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'dlopen' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) # win32-dll # --------- # Declare package support for building win32 dll's. LT_OPTION_DEFINE([LT_INIT], [win32-dll], [enable_win32_dll=yes case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) AC_CHECK_TOOL(AS, as, false) AC_CHECK_TOOL(DLLTOOL, dlltool, false) AC_CHECK_TOOL(OBJDUMP, objdump, false) ;; esac test -z "$AS" && AS=as _LT_DECL([], [AS], [1], [Assembler program])dnl test -z "$DLLTOOL" && DLLTOOL=dlltool _LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl test -z "$OBJDUMP" && OBJDUMP=objdump _LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl ])# win32-dll AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl _LT_SET_OPTION([LT_INIT], [win32-dll]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'win32-dll' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) # _LT_ENABLE_SHARED([DEFAULT]) # ---------------------------- # implement the --enable-shared flag, and supports the 'shared' and # 'disable-shared' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. m4_define([_LT_ENABLE_SHARED], [m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([shared], [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@], [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for pkg in $enableval; do IFS=$lt_save_ifs if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS=$lt_save_ifs ;; esac], [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) _LT_DECL([build_libtool_libs], [enable_shared], [0], [Whether or not to build shared libraries]) ])# _LT_ENABLE_SHARED LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) # Old names: AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) ]) AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared]) ]) AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_ENABLE_SHARED], []) dnl AC_DEFUN([AM_DISABLE_SHARED], []) # _LT_ENABLE_STATIC([DEFAULT]) # ---------------------------- # implement the --enable-static flag, and support the 'static' and # 'disable-static' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. m4_define([_LT_ENABLE_STATIC], [m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([static], [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for pkg in $enableval; do IFS=$lt_save_ifs if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS=$lt_save_ifs ;; esac], [enable_static=]_LT_ENABLE_STATIC_DEFAULT) _LT_DECL([build_old_libs], [enable_static], [0], [Whether or not to build static libraries]) ])# _LT_ENABLE_STATIC LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) # Old names: AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) ]) AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static]) ]) AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_ENABLE_STATIC], []) dnl AC_DEFUN([AM_DISABLE_STATIC], []) # _LT_ENABLE_FAST_INSTALL([DEFAULT]) # ---------------------------------- # implement the --enable-fast-install flag, and support the 'fast-install' # and 'disable-fast-install' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. m4_define([_LT_ENABLE_FAST_INSTALL], [m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([fast-install], [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for pkg in $enableval; do IFS=$lt_save_ifs if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS=$lt_save_ifs ;; esac], [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) _LT_DECL([fast_install], [enable_fast_install], [0], [Whether or not to optimize for fast installation])dnl ])# _LT_ENABLE_FAST_INSTALL LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) # Old names: AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'fast-install' option into LT_INIT's first parameter.]) ]) AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'disable-fast-install' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) # _LT_WITH_AIX_SONAME([DEFAULT]) # ---------------------------------- # implement the --with-aix-soname flag, and support the `aix-soname=aix' # and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT # is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'. m4_define([_LT_WITH_AIX_SONAME], [m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl shared_archive_member_spec= case $host,$enable_shared in power*-*-aix[[5-9]]*,yes) AC_MSG_CHECKING([which variant of shared library versioning to provide]) AC_ARG_WITH([aix-soname], [AS_HELP_STRING([--with-aix-soname=aix|svr4|both], [shared library versioning (aka "SONAME") variant to provide on AIX, @<:@default=]_LT_WITH_AIX_SONAME_DEFAULT[@:>@.])], [case $withval in aix|svr4|both) ;; *) AC_MSG_ERROR([Unknown argument to --with-aix-soname]) ;; esac lt_cv_with_aix_soname=$with_aix_soname], [AC_CACHE_VAL([lt_cv_with_aix_soname], [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT) with_aix_soname=$lt_cv_with_aix_soname]) AC_MSG_RESULT([$with_aix_soname]) if test aix != "$with_aix_soname"; then # For the AIX way of multilib, we name the shared archive member # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, # the AIX toolchain works better with OBJECT_MODE set (default 32). if test 64 = "${OBJECT_MODE-32}"; then shared_archive_member_spec=shr_64 else shared_archive_member_spec=shr fi fi ;; *) with_aix_soname=aix ;; esac _LT_DECL([], [shared_archive_member_spec], [0], [Shared archive member basename, for filename based shared library versioning on AIX])dnl ])# _LT_WITH_AIX_SONAME LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])]) # _LT_WITH_PIC([MODE]) # -------------------- # implement the --with-pic flag, and support the 'pic-only' and 'no-pic' # LT_INIT options. # MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'. m4_define([_LT_WITH_PIC], [AC_ARG_WITH([pic], [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@], [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], [lt_p=${PACKAGE-default} case $withval in yes|no) pic_mode=$withval ;; *) pic_mode=default # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for lt_pkg in $withval; do IFS=$lt_save_ifs if test "X$lt_pkg" = "X$lt_p"; then pic_mode=yes fi done IFS=$lt_save_ifs ;; esac], [pic_mode=m4_default([$1], [default])]) _LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl ])# _LT_WITH_PIC LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) # Old name: AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'pic-only' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) m4_define([_LTDL_MODE], []) LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], [m4_define([_LTDL_MODE], [nonrecursive])]) LT_OPTION_DEFINE([LTDL_INIT], [recursive], [m4_define([_LTDL_MODE], [recursive])]) LT_OPTION_DEFINE([LTDL_INIT], [subproject], [m4_define([_LTDL_MODE], [subproject])]) m4_define([_LTDL_TYPE], []) LT_OPTION_DEFINE([LTDL_INIT], [installable], [m4_define([_LTDL_TYPE], [installable])]) LT_OPTION_DEFINE([LTDL_INIT], [convenience], [m4_define([_LTDL_TYPE], [convenience])]) # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- # # Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software # Foundation, Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 6 ltsugar.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) # lt_join(SEP, ARG1, [ARG2...]) # ----------------------------- # Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their # associated separator. # Needed until we can rely on m4_join from Autoconf 2.62, since all earlier # versions in m4sugar had bugs. m4_define([lt_join], [m4_if([$#], [1], [], [$#], [2], [[$2]], [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])]) m4_define([_lt_join], [m4_if([$#$2], [2], [], [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])]) # lt_car(LIST) # lt_cdr(LIST) # ------------ # Manipulate m4 lists. # These macros are necessary as long as will still need to support # Autoconf-2.59, which quotes differently. m4_define([lt_car], [[$1]]) m4_define([lt_cdr], [m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], [$#], 1, [], [m4_dquote(m4_shift($@))])]) m4_define([lt_unquote], $1) # lt_append(MACRO-NAME, STRING, [SEPARATOR]) # ------------------------------------------ # Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'. # Note that neither SEPARATOR nor STRING are expanded; they are appended # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). # No SEPARATOR is output if MACRO-NAME was previously undefined (different # than defined and empty). # # This macro is needed until we can rely on Autoconf 2.62, since earlier # versions of m4sugar mistakenly expanded SEPARATOR but not STRING. m4_define([lt_append], [m4_define([$1], m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) # lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...]) # ---------------------------------------------------------- # Produce a SEP delimited list of all paired combinations of elements of # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list # has the form PREFIXmINFIXSUFFIXn. # Needed until we can rely on m4_combine added in Autoconf 2.62. m4_define([lt_combine], [m4_if(m4_eval([$# > 3]), [1], [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl [[m4_foreach([_Lt_prefix], [$2], [m4_foreach([_Lt_suffix], ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[, [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])]) # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) # ----------------------------------------------------------------------- # Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited # by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. m4_define([lt_if_append_uniq], [m4_ifdef([$1], [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1], [lt_append([$1], [$2], [$3])$4], [$5])], [lt_append([$1], [$2], [$3])$4])]) # lt_dict_add(DICT, KEY, VALUE) # ----------------------------- m4_define([lt_dict_add], [m4_define([$1($2)], [$3])]) # lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) # -------------------------------------------- m4_define([lt_dict_add_subkey], [m4_define([$1($2:$3)], [$4])]) # lt_dict_fetch(DICT, KEY, [SUBKEY]) # ---------------------------------- m4_define([lt_dict_fetch], [m4_ifval([$3], m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]), m4_ifdef([$1($2)], [m4_defn([$1($2)])]))]) # lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE]) # ----------------------------------------------------------------- m4_define([lt_if_dict_fetch], [m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4], [$5], [$6])]) # lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...]) # -------------------------------------------------------------- m4_define([lt_dict_filter], [m4_if([$5], [], [], [lt_join(m4_quote(m4_default([$4], [[, ]])), lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]), [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl ]) # ltversion.m4 -- version numbers -*- Autoconf -*- # # Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc. # Written by Scott James Remnant, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # @configure_input@ # serial 4179 ltversion.m4 # This file is part of GNU Libtool m4_define([LT_PACKAGE_VERSION], [2.4.6]) m4_define([LT_PACKAGE_REVISION], [2.4.6]) AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4.6' macro_revision='2.4.6' _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) _LT_DECL(, macro_revision, 0) ]) # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- # # Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software # Foundation, Inc. # Written by Scott James Remnant, 2004. # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 5 lt~obsolete.m4 # These exist entirely to fool aclocal when bootstrapping libtool. # # In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN), # which have later been changed to m4_define as they aren't part of the # exported API, or moved to Autoconf or Automake where they belong. # # The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN # in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us # using a macro with the same name in our local m4/libtool.m4 it'll # pull the old libtool.m4 in (it doesn't see our shiny new m4_define # and doesn't know about Autoconf macros at all.) # # So we provide this file, which has a silly filename so it's always # included after everything else. This provides aclocal with the # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything # because those macros already exist, or will be overwritten later. # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. # # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. # Yes, that means every name once taken will need to remain here until # we give up compatibility with versions before 1.7, at which point # we need to keep only those names which we still refer to. # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])]) m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])]) m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])]) m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])]) m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])]) m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])]) m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])]) m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])]) m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])]) m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])]) m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])]) m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])]) m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])]) m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])]) m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])]) m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])]) m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])]) m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])]) m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])]) m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])]) m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])]) m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])]) m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])]) m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])]) m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])]) m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])]) m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])]) m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])]) m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])]) m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])]) m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])]) m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])]) m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])]) m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])]) m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])]) m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])]) m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])]) m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])]) m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])]) m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])]) m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])]) m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]) m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])]) m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])]) m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])]) m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- dnl serial 11 (pkg-config-0.29.1) dnl dnl Copyright © 2004 Scott James Remnant . dnl Copyright © 2012-2015 Dan Nicholson dnl dnl This program is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by dnl the Free Software Foundation; either version 2 of the License, or dnl (at your option) any later version. dnl dnl This program is distributed in the hope that it will be useful, but dnl WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU dnl General Public License for more details. dnl dnl You should have received a copy of the GNU General Public License dnl along with this program; if not, write to the Free Software dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA dnl 02111-1307, USA. dnl dnl As a special exception to the GNU General Public License, if you dnl distribute this file as part of a program that contains a dnl configuration script generated by Autoconf, you may include it under dnl the same distribution terms that you use for the rest of that dnl program. dnl PKG_PREREQ(MIN-VERSION) dnl ----------------------- dnl Since: 0.29 dnl dnl Verify that the version of the pkg-config macros are at least dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's dnl installed version of pkg-config, this checks the developer's version dnl of pkg.m4 when generating configure. dnl dnl To ensure that this macro is defined, also add: dnl m4_ifndef([PKG_PREREQ], dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])]) dnl dnl See the "Since" comment for each macro you use to see what version dnl of the macros you require. m4_defun([PKG_PREREQ], [m4_define([PKG_MACROS_VERSION], [0.29.1]) m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) ])dnl PKG_PREREQ dnl PKG_PROG_PKG_CONFIG([MIN-VERSION]) dnl ---------------------------------- dnl Since: 0.16 dnl dnl Search for the pkg-config tool and set the PKG_CONFIG variable to dnl first found in the path. Checks that the version of pkg-config found dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is dnl used since that's the first version where most current features of dnl pkg-config existed. AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi if test -n "$PKG_CONFIG"; then _pkg_min_version=m4_default([$1], [0.9.0]) AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) PKG_CONFIG="" fi fi[]dnl ])dnl PKG_PROG_PKG_CONFIG dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) dnl ------------------------------------------------------------------- dnl Since: 0.18 dnl dnl Check to see whether a particular set of modules exists. Similar to dnl PKG_CHECK_MODULES(), but does not set variables or print errors. dnl dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) dnl only at the first occurence in configure.ac, so if the first place dnl it's called might be skipped (such as if it is within an "if", you dnl have to call PKG_CHECK_EXISTS manually AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then m4_default([$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) dnl --------------------------------------------- dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting dnl pkg_failed based on the result. m4_define([_PKG_CONFIG], [if test -n "$$1"; then pkg_cv_[]$1="$$1" elif test -n "$PKG_CONFIG"; then PKG_CHECK_EXISTS([$3], [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes]) else pkg_failed=untried fi[]dnl ])dnl _PKG_CONFIG dnl _PKG_SHORT_ERRORS_SUPPORTED dnl --------------------------- dnl Internal check to see if pkg-config supports short errors. AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi[]dnl ])dnl _PKG_SHORT_ERRORS_SUPPORTED dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], dnl [ACTION-IF-NOT-FOUND]) dnl -------------------------------------------------------------- dnl Since: 0.4.0 dnl dnl Note that if there is a possibility the first call to dnl PKG_CHECK_MODULES might not happen, you should be sure to include an dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no AC_MSG_CHECKING([for $1]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then AC_MSG_RESULT([no]) _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` else $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD m4_default([$4], [AC_MSG_ERROR( [Package requirements ($2) were not met: $$1_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. _PKG_TEXT])[]dnl ]) elif test $pkg_failed = untried; then AC_MSG_RESULT([no]) m4_default([$4], [AC_MSG_FAILURE( [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT To get pkg-config, see .])[]dnl ]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) $3 fi[]dnl ])dnl PKG_CHECK_MODULES dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], dnl [ACTION-IF-NOT-FOUND]) dnl --------------------------------------------------------------------- dnl Since: 0.29 dnl dnl Checks for existence of MODULES and gathers its build flags with dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags dnl and VARIABLE-PREFIX_LIBS from --libs. dnl dnl Note that if there is a possibility the first call to dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to dnl include an explicit call to PKG_PROG_PKG_CONFIG in your dnl configure.ac. AC_DEFUN([PKG_CHECK_MODULES_STATIC], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl _save_PKG_CONFIG=$PKG_CONFIG PKG_CONFIG="$PKG_CONFIG --static" PKG_CHECK_MODULES($@) PKG_CONFIG=$_save_PKG_CONFIG[]dnl ])dnl PKG_CHECK_MODULES_STATIC dnl PKG_INSTALLDIR([DIRECTORY]) dnl ------------------------- dnl Since: 0.27 dnl dnl Substitutes the variable pkgconfigdir as the location where a module dnl should install pkg-config .pc files. By default the directory is dnl $libdir/pkgconfig, but the default can be changed by passing dnl DIRECTORY. The user can override through the --with-pkgconfigdir dnl parameter. AC_DEFUN([PKG_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) m4_pushdef([pkg_description], [pkg-config installation directory @<:@]pkg_default[@:>@]) AC_ARG_WITH([pkgconfigdir], [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, [with_pkgconfigdir=]pkg_default) AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) m4_popdef([pkg_default]) m4_popdef([pkg_description]) ])dnl PKG_INSTALLDIR dnl PKG_NOARCH_INSTALLDIR([DIRECTORY]) dnl -------------------------------- dnl Since: 0.27 dnl dnl Substitutes the variable noarch_pkgconfigdir as the location where a dnl module should install arch-independent pkg-config .pc files. By dnl default the directory is $datadir/pkgconfig, but the default can be dnl changed by passing DIRECTORY. The user can override through the dnl --with-noarch-pkgconfigdir parameter. AC_DEFUN([PKG_NOARCH_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) m4_pushdef([pkg_description], [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) AC_ARG_WITH([noarch-pkgconfigdir], [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, [with_noarch_pkgconfigdir=]pkg_default) AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) m4_popdef([pkg_default]) m4_popdef([pkg_description]) ])dnl PKG_NOARCH_INSTALLDIR dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) dnl ------------------------------------------- dnl Since: 0.28 dnl dnl Retrieves the value of the pkg-config variable for the given module. AC_DEFUN([PKG_CHECK_VAR], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl _PKG_CONFIG([$1], [variable="][$3]["], [$2]) AS_VAR_COPY([$1], [pkg_cv_][$1]) AS_VAR_IF([$1], [""], [$5], [$4])dnl ])dnl PKG_CHECK_VAR # Copyright (C) 2002-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.15' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.15], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.15])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to # '$srcdir', '$srcdir/..', or '$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is '.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl m4_define([_AM_COND_VALUE_$1], [$2])dnl if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], [$1], [CXX], [depcc="$CXX" am_compiler_list=], [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], [$1], [UPC], [depcc="$UPC" am_compiler_list=], [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi am__universal=false m4_case([$1], [CC], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac], [CXX], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac]) for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES. AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl AS_HELP_STRING( [--enable-dependency-tracking], [do not reject slow dependency extractors]) AS_HELP_STRING( [--disable-dependency-tracking], [speeds up one-time build])]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl AC_SUBST([am__nodep])dnl _AM_SUBST_NOTMAKE([am__nodep])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "$am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each '.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC]) [_AM_PROG_CC_C_O ]) # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [AC_DIAGNOSE([obsolete], [$0: two- and three-arguments forms are deprecated.]) m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if( m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), [ok:ok],, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) AM_MISSING_PROG([AUTOCONF], [autoconf]) AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) AM_MISSING_PROG([AUTOHEADER], [autoheader]) AM_MISSING_PROG([MAKEINFO], [makeinfo]) AC_REQUIRE([AM_PROG_INSTALL_SH])dnl AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # AC_SUBST([mkdir_p], ['$(MKDIR_P)']) # We need awk for the "check" target (and possibly the TAP driver). The # system "awk" is bad on some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES([CC])], [m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES([CXX])], [m4_define([AC_PROG_CXX], m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES([OBJC])], [m4_define([AC_PROG_OBJC], m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], [_AM_DEPENDENCIES([OBJCXX])], [m4_define([AC_PROG_OBJCXX], m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl ]) AC_REQUIRE([AM_SILENT_RULES])dnl dnl The testsuite driver may need to know about EXEEXT, so add the dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. AC_CONFIG_COMMANDS_PRE(dnl [m4_provide_if([_AM_COMPILER_EXEEXT], [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) fi fi dnl The trailing newline in this macro's definition is deliberate, for dnl backward compatibility and to allow trailing 'dnl'-style comments dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. ]) dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further dnl mangled by Autoconf and run in a shell conditional statement. m4_define([_AC_COMPILER_EXEEXT], m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi AC_SUBST([install_sh])]) # Copyright (C) 2003-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering # Copyright (C) 1996-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MAINTAINER_MODE([DEFAULT-MODE]) # ---------------------------------- # Control maintainer-specific portions of Makefiles. # Default is to disable them, unless 'enable' is passed literally. # For symmetry, 'disable' may be passed as well. Anyway, the user # can override the default with the --enable/--disable switch. AC_DEFUN([AM_MAINTAINER_MODE], [m4_case(m4_default([$1], [disable]), [enable], [m4_define([am_maintainer_other], [disable])], [disable], [m4_define([am_maintainer_other], [enable])], [m4_define([am_maintainer_other], [enable]) m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) dnl maintainer-mode's default is 'disable' unless 'enable' is passed AC_ARG_ENABLE([maintainer-mode], [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode], am_maintainer_other[ make rules and dependencies not useful (and sometimes confusing) to the casual installer])], [USE_MAINTAINER_MODE=$enableval], [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) AC_MSG_RESULT([$USE_MAINTAINER_MODE]) AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) MAINT=$MAINTAINER_MODE_TRUE AC_SUBST([MAINT])dnl ] ) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from 'make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it is modern enough. # If it is, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= AC_MSG_WARN(['missing' script is too old or missing]) fi ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # -------------------- # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) # _AM_SET_OPTIONS(OPTIONS) # ------------------------ # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Copyright (C) 1999-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_PROG_CC_C_O # --------------- # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC # to automatically call this. AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([compile])dnl AC_LANG_PUSH([C])dnl AC_CACHE_CHECK( [whether $CC understands -c and -o together], [am_cv_prog_cc_c_o], [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i]) if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi AC_LANG_POP([C])]) # For backward compatibility. AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) # Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_RUN_LOG(COMMAND) # ------------------- # Run COMMAND, save the exit status in ac_status, and log it. # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD (exit $ac_status); }]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[[\\\"\#\$\&\'\`$am_lf]]*) AC_MSG_ERROR([unsafe absolute working directory name]);; esac case $srcdir in *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi if test "$[2]" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT([yes]) # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi AC_CONFIG_COMMANDS_PRE( [AC_MSG_CHECKING([that generated files are newer than configure]) if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi AC_MSG_RESULT([done])]) rm -f conftest.file ]) # Copyright (C) 2009-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_SILENT_RULES([DEFAULT]) # -------------------------- # Enable less verbose build rules; with the default set to DEFAULT # ("yes" being less verbose, "no" or empty being verbose). AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl AS_HELP_STRING( [--enable-silent-rules], [less verbose build output (undo: "make V=1")]) AS_HELP_STRING( [--disable-silent-rules], [verbose build output (undo: "make V=0")])dnl ]) case $enable_silent_rules in @%:@ ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; esac dnl dnl A few 'make' implementations (e.g., NonStop OS and NextStep) dnl do not support nested variable expansions. dnl See automake bug#9928 and bug#10237. am_make=${MAKE-make} AC_CACHE_CHECK([whether $am_make supports nested variables], [am_cv_make_support_nested_variables], [if AS_ECHO([['TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi]) if test $am_cv_make_support_nested_variables = yes; then dnl Using '$V' instead of '$(V)' breaks IRIX make. AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AC_SUBST([AM_V])dnl AM_SUBST_NOTMAKE([AM_V])dnl AC_SUBST([AM_DEFAULT_V])dnl AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl AC_SUBST([AM_DEFAULT_VERBOSITY])dnl AM_BACKSLASH='\' AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) # Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor 'install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in "make install-strip", and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # AM_SUBST_NOTMAKE(VARIABLE) # -------------------------- # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of 'v7', 'ustar', or 'pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar # AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AC_SUBST([AMTAR], ['$${TAR-tar}']) # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' m4_if([$1], [v7], [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], [m4_case([$1], [ustar], [# The POSIX 1988 'ustar' format is defined with fixed-size fields. # There is notably a 21 bits limit for the UID and the GID. In fact, # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 # and bug#13588). am_max_uid=2097151 # 2^21 - 1 am_max_gid=$am_max_uid # The $UID and $GID variables are not portable, so we need to resort # to the POSIX-mandated id(1) utility. Errors in the 'id' calls # below are definitely unexpected, so allow the users to see them # (that is, avoid stderr redirection). am_uid=`id -u || echo unknown` am_gid=`id -g || echo unknown` AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) if test $am_uid -le $am_max_uid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) if test $am_gid -le $am_max_gid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi], [pax], [], [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Go ahead even if we have the value already cached. We do so because we # need to set the values for the 'am__tar' and 'am__untar' variables. _am_tools=${am_cv_prog_tar_$1-$_am_tools} for _am_tool in $_am_tools; do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works. rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR gtk-sharp-2.12.40/cairo/0000775000175000017500000000000012767740534011677 500000000000000gtk-sharp-2.12.40/cairo/FontExtents.cs0000664000175000017500000000600312654353766014430 00000000000000// // Mono.Cairo.FontExtents.cs // // Authors: Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // // (C) Ximian, Inc. 2003 // // This is a simplistic binding of the Cairo API to C#. All functions // in cairo.h are transcribed into their C# equivelants // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; using System.Runtime.InteropServices; namespace Cairo { [StructLayout (LayoutKind.Sequential)] public struct FontExtents { double ascent; double descent; double height; double maxXAdvance; double maxYAdvance; public double Ascent { get { return ascent; } set { ascent = value; } } public double Descent { get { return descent; } set { descent = value; } } public double Height { get { return height; } set { height = value; } } public double MaxXAdvance { get { return maxXAdvance; } set { maxXAdvance = value; } } public double MaxYAdvance { get { return maxYAdvance; } set { maxYAdvance = value; } } public FontExtents (double ascent, double descent, double height, double maxXAdvance, double maxYAdvance) { this.ascent = ascent; this.descent = descent; this.height = height; this.maxXAdvance = maxXAdvance; this.maxYAdvance = maxYAdvance; } public override bool Equals (object obj) { if (obj is FontExtents) return this == (FontExtents) obj; return false; } public override int GetHashCode () { return (int) Ascent ^ (int) Descent ^ (int) Height ^ (int) MaxXAdvance ^ (int) MaxYAdvance; } public static bool operator == (FontExtents extents, FontExtents other) { return extents.Ascent == other.Ascent && extents.Descent == other.Descent && extents.Height == other.Height && extents.MaxXAdvance == other.MaxXAdvance && extents.MaxYAdvance == other.MaxYAdvance; } public static bool operator != (FontExtents extents, FontExtents other) { return !(extents == other); } } } gtk-sharp-2.12.40/cairo/RadialGradient.cs0000664000175000017500000000325712767740470015026 00000000000000// // Mono.Cairo.Pattern.cs // // Author: Jordi Mas (jordi@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // (C) Ximian Inc, 2004. // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class RadialGradient : Gradient { internal RadialGradient (IntPtr handle) : base (handle) { } public RadialGradient (double cx0, double cy0, double radius0, double cx1, double cy1, double radius1) { pattern = NativeMethods.cairo_pattern_create_radial (cx0, cy0, radius0, cx1, cy1, radius1); } } } gtk-sharp-2.12.40/cairo/LineCap.cs0000664000175000017500000000260012654353766013461 00000000000000// // Mono.Cairo.LineCap.cs // // Authors: Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum LineCap { Butt, Round, Square, } } gtk-sharp-2.12.40/cairo/Path.cs0000664000175000017500000000403512767740470013043 00000000000000// // Mono.Cairo.Context.cs // // Author: // Miguel de Icaza (miguel@novell.com) // // This is an OO wrapper API for the Cairo API. // // Copyright 2007 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; using System.Runtime.InteropServices; using Cairo; namespace Cairo { public class Path : IDisposable { internal IntPtr handle = IntPtr.Zero; internal Path (IntPtr handle) { this.handle = handle; } ~Path () { Dispose (false); } void IDisposable.Dispose () { Dispose (true); GC.SuppressFinalize (this); } protected virtual void Dispose (bool disposing) { if (!disposing){ Console.Error.WriteLine ("Cairo.Context: called from finalization thread, programmer is missing a call to Dispose"); return; } if (handle == IntPtr.Zero) return; NativeMethods.cairo_path_destroy (handle); handle = IntPtr.Zero; } } } gtk-sharp-2.12.40/cairo/Pattern.cs0000664000175000017500000000742312767740470013570 00000000000000// // Mono.Cairo.Pattern.cs // // Author: Jordi Mas (jordi@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // (C) Ximian Inc, 2004. // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; using System.Collections; namespace Cairo { public class Pattern : IDisposable { protected IntPtr pattern = IntPtr.Zero; internal static Pattern Lookup (IntPtr pattern) { if (pattern == IntPtr.Zero) return null; object x = patterns [pattern]; if (x != null) return (Pattern) x; PatternType pt = NativeMethods.cairo_pattern_get_type (pattern); switch (pt) { case PatternType.Solid: return new SolidPattern (pattern); case PatternType.Surface: return new SurfacePattern (pattern); case PatternType.Linear: return new LinearGradient (pattern); case PatternType.Radial: return new RadialGradient (pattern); default: return new Pattern (pattern); } } protected Pattern () { } static Hashtable patterns = new Hashtable (); internal Pattern (IntPtr ptr) { lock (patterns){ patterns [ptr] = this; } pattern = ptr; } ~Pattern () { } [Obsolete ("Use the SurfacePattern constructor")] public Pattern (Surface surface) { pattern = NativeMethods.cairo_pattern_create_for_surface (surface.Handle); } protected void Reference () { NativeMethods.cairo_pattern_reference (pattern); } void IDisposable.Dispose () { Dispose (true); } protected virtual void Dispose (bool disposing) { if (disposing) Destroy (); GC.SuppressFinalize (this); } public void Destroy () { if (pattern != IntPtr.Zero){ NativeMethods.cairo_pattern_destroy (pattern); pattern = IntPtr.Zero; } lock (patterns){ patterns.Remove (this); } } public Status Status { get { return NativeMethods.cairo_pattern_status (pattern); } } public Matrix Matrix { set { NativeMethods.cairo_pattern_set_matrix (pattern, value); } get { Matrix m = new Matrix (); NativeMethods.cairo_pattern_get_matrix (pattern, m); return m; } } public IntPtr Pointer { get { return pattern; } } public PatternType PatternType { get { return NativeMethods.cairo_pattern_get_type (pattern); } } } } gtk-sharp-2.12.40/cairo/PdfSurface.cs0000664000175000017500000000322112767740470014165 00000000000000// // Mono.Cairo.PdfSurface.cs // // Authors: // John Luke // // (C) John Luke, 2006. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class PdfSurface : Surface { internal PdfSurface (IntPtr handle, bool owns) : base (handle, owns) { } public PdfSurface (string filename, double width, double height) { surface = NativeMethods.cairo_pdf_surface_create (filename, width, height); lock (surfaces.SyncRoot){ surfaces [surface] = this; } } public void SetSize (double width, double height) { NativeMethods.cairo_pdf_surface_set_size (surface, width, height); } } } gtk-sharp-2.12.40/cairo/SvgSurface.cs0000664000175000017500000000322712767740470014221 00000000000000// // Mono.Cairo.SvgSurface.cs // // Authors: // John Luke // // (C) John Luke, 2006. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class SvgSurface : Surface { internal SvgSurface (IntPtr handle, bool owns) : base (handle, owns) { } public SvgSurface (string filename, double width, double height) { surface = NativeMethods.cairo_svg_surface_create (filename, width, height); lock (surfaces.SyncRoot){ surfaces [surface] = this; } } public void RestrictToVersion (SvgVersion version) { NativeMethods.cairo_svg_surface_restrict_to_version (surface, version); } } } gtk-sharp-2.12.40/cairo/Filter.cs0000664000175000017500000000263412654353766013402 00000000000000// // Mono.Cairo.Filter.cs // // Authors: // Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum Filter { Fast, Good, Best, Nearest, Bilinear, Gaussian, } } gtk-sharp-2.12.40/cairo/SurfacePattern.cs0000664000175000017500000000365212767740470015101 00000000000000// // Mono.Cairo.Pattern.cs // // Author: Jordi Mas (jordi@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // (C) Ximian Inc, 2004. // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class SurfacePattern : Pattern { internal SurfacePattern (IntPtr handle) : base (handle) { } public SurfacePattern (Surface surface) { pattern = NativeMethods.cairo_pattern_create_for_surface (surface.Handle); } public Extend Extend { set { NativeMethods.cairo_pattern_set_extend (pattern, value); } get { return NativeMethods.cairo_pattern_get_extend (pattern); } } public Filter Filter { set { NativeMethods.cairo_pattern_set_filter (pattern, value); } get { return NativeMethods.cairo_pattern_get_filter (pattern); } } } } gtk-sharp-2.12.40/cairo/FontSlant.cs0000664000175000017500000000260512654353766014063 00000000000000// // Mono.Cairo.FontSlant.cs // // Authors: // Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum FontSlant { Normal, Italic, Oblique } } gtk-sharp-2.12.40/cairo/SvgVersion.cs0000664000175000017500000000243312654353766014257 00000000000000// // Mono.Cairo.SvgVersion.cs // // Authors: // John Luke // // (C) John Luke, 2006. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum SvgVersion { // FIXME: yuck OnePointOne = 0, OnePointTwo, } } gtk-sharp-2.12.40/cairo/policy.2.0.config0000664000175000017500000000054512767740470014606 00000000000000 gtk-sharp-2.12.40/cairo/PSSurface.cs0000664000175000017500000000371412767740470014005 00000000000000// // Mono.Cairo.PostscriptSurface.cs // // Authors: // John Luke // // (C) John Luke, 2006. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class PSSurface : Surface { internal PSSurface (IntPtr handle, bool owns) : base (handle, owns) { } public PSSurface (string filename, double width, double height) { surface = NativeMethods.cairo_ps_surface_create (filename, width, height); lock (surfaces.SyncRoot){ surfaces [surface] = this; } } public void BeginPageSetup () { NativeMethods.cairo_ps_surface_begin_page_setup (surface); } public void BeginSetup () { NativeMethods.cairo_ps_surface_begin_setup (surface); } public void DscComment (string comment) { NativeMethods.cairo_ps_surface_dsc_comment (surface, comment); } public void SetSize (double width, double height) { NativeMethods.cairo_ps_surface_set_size (surface, width, height); } } } gtk-sharp-2.12.40/cairo/Context.cs0000664000175000017500000005744612767740470013611 00000000000000// // Mono.Cairo.Context.cs // // Author: // Duncan Mak (duncan@ximian.com) // Miguel de Icaza (miguel@novell.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // Alp Toker (alp@atoker.com) // // (C) Ximian Inc, 2003. // (C) Novell Inc, 2003. // // This is an OO wrapper API for the Cairo API. // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; using System.Runtime.InteropServices; using Cairo; namespace Cairo { public struct Point { public Point (int x, int y) { this.x = x; this.y = y; } int x, y; public int X { get { return x; } set { x = value; } } public int Y { get { return y; } set { y = value; } } } public struct PointD { public PointD (double x, double y) { this.x = x; this.y = y; } double x, y; public double X { get { return x; } set { x = value; } } public double Y { get { return y; } set { y = value; } } } public struct Distance { public Distance (double dx, double dy) { this.dx = dx; this.dy = dy; } double dx, dy; public double Dx { get { return dx; } set { dx = value; } } public double Dy { get { return dy; } set { dy = value; } } } public struct Color { public Color(double r, double g, double b) : this (r, g, b, 1.0) { } public Color(double r, double g, double b, double a) { this.r = r; this.g = g; this.b = b; this.a = a; } double r, g, b, a; public double R { get { return r; } set { r = value; } } public double G { get { return g; } set { g = value; } } public double B { get { return b; } set { b = value; } } public double A { get { return a; } set { a = value; } } } [Obsolete ("Renamed Cairo.Context per suggestion from cairo binding guidelines.")] public class Graphics : Context { public Graphics (IntPtr state) : base (state) {} public Graphics (Surface surface) : base (surface) {} } public class Context : IDisposable { internal IntPtr state = IntPtr.Zero; static int native_glyph_size, c_compiler_long_size; static Context () { // // This is used to determine what kind of structure // we should use to marshal Glyphs, as the public // definition in Cairo uses `long', which can be // 32 bits or 64 bits depending on the platform. // // We assume that sizeof(long) == sizeof(void*) // except in the case of Win64 where sizeof(long) // is 32 bits // int ptr_size = IntPtr.Size; PlatformID platform = Environment.OSVersion.Platform; if (platform == PlatformID.Win32NT || platform == PlatformID.Win32S || platform == PlatformID.Win32Windows || platform == PlatformID.WinCE || ptr_size == 4){ c_compiler_long_size = 4; native_glyph_size = Marshal.SizeOf (typeof (NativeGlyph_4byte_longs)); } else { c_compiler_long_size = 8; native_glyph_size = Marshal.SizeOf (typeof (Glyph)); } } public Context (Surface surface) { state = NativeMethods.cairo_create (surface.Handle); } public Context (IntPtr state) { this.state = state; } ~Context () { Dispose (false); } void IDisposable.Dispose () { Dispose (true); GC.SuppressFinalize (this); } protected virtual void Dispose (bool disposing) { if (!disposing){ Console.Error.WriteLine ("Cairo.Context: called from finalization thread, programmer is missing a call to Dispose"); return; } if (state == IntPtr.Zero) return; //Console.WriteLine ("Destroying"); NativeMethods.cairo_destroy (state); state = IntPtr.Zero; } public void Save () { NativeMethods.cairo_save (state); } public void Restore () { NativeMethods.cairo_restore (state); } public Antialias Antialias { get { return NativeMethods.cairo_get_antialias (state); } set { NativeMethods.cairo_set_antialias (state, value); } } public Cairo.Status Status { get { return NativeMethods.cairo_status (state); } } public IntPtr Handle { get { return state; } } public Cairo.Operator Operator { set { NativeMethods.cairo_set_operator (state, value); } get { return NativeMethods.cairo_get_operator (state); } } [Obsolete("Use SetSourceColor")] public Cairo.Color Color { set { NativeMethods.cairo_set_source_rgba (state, value.R, value.G, value.B, value.A); } } [Obsolete ("Use Color property")] public Cairo.Color ColorRgb { set { Color = new Color (value.R, value.G, value.B); } } public double Tolerance { get { return NativeMethods.cairo_get_tolerance (state); } set { NativeMethods.cairo_set_tolerance (state, value); } } public Cairo.FillRule FillRule { set { NativeMethods.cairo_set_fill_rule (state, value); } get { return NativeMethods.cairo_get_fill_rule (state); } } public double LineWidth { set { NativeMethods.cairo_set_line_width (state, value); } get { return NativeMethods.cairo_get_line_width (state); } } public Cairo.LineCap LineCap { set { NativeMethods.cairo_set_line_cap (state, value); } get { return NativeMethods.cairo_get_line_cap (state); } } public Cairo.LineJoin LineJoin { set { NativeMethods.cairo_set_line_join (state, value); } get { return NativeMethods.cairo_get_line_join (state); } } public void SetDash (double [] dashes, double offset) { NativeMethods.cairo_set_dash (state, dashes, dashes.Length, offset); } public Pattern Pattern { set { NativeMethods.cairo_set_source (state, value.Pointer); } get { return new Pattern (NativeMethods.cairo_get_source (state)); } } public Pattern Source { set { NativeMethods.cairo_set_source (state, value.Pointer); } get { return Pattern.Lookup (NativeMethods.cairo_get_source (state)); } } public double MiterLimit { set { NativeMethods.cairo_set_miter_limit (state, value); } get { return NativeMethods.cairo_get_miter_limit (state); } } public PointD CurrentPoint { get { double x, y; NativeMethods.cairo_get_current_point (state, out x, out y); return new PointD (x, y); } } public Cairo.Surface Target { set { if (state != IntPtr.Zero) NativeMethods.cairo_destroy (state); state = NativeMethods.cairo_create (value.Handle); } get { return Cairo.Surface.LookupExternalSurface ( NativeMethods.cairo_get_target (state)); } } public Cairo.ScaledFont ScaledFont { set { NativeMethods.cairo_set_scaled_font (state, value.Handle); } get { return new ScaledFont (NativeMethods.cairo_get_scaled_font (state)); } } public uint ReferenceCount { get { return NativeMethods.cairo_get_reference_count (state); } } public void SetSourceColor (Color color) { NativeMethods.cairo_set_source_rgba (state, color.R, color.G, color.B, color.A); } public void SetSourceRGB (double r, double g, double b) { NativeMethods.cairo_set_source_rgb (state, r, g, b); } public void SetSourceRGBA (double r, double g, double b, double a) { NativeMethods.cairo_set_source_rgba (state, r, g, b, a); } //[Obsolete ("Use SetSource method (with double parameters)")] public void SetSourceSurface (Surface source, int x, int y) { NativeMethods.cairo_set_source_surface (state, source.Handle, x, y); } public void SetSource (Surface source, double x, double y) { NativeMethods.cairo_set_source_surface (state, source.Handle, x, y); } public void SetSource (Surface source) { NativeMethods.cairo_set_source_surface (state, source.Handle, 0, 0); } #region Path methods public void NewPath () { NativeMethods.cairo_new_path (state); } public void NewSubPath () { NativeMethods.cairo_new_sub_path (state); } public void MoveTo (PointD p) { MoveTo (p.X, p.Y); } public void MoveTo (double x, double y) { NativeMethods.cairo_move_to (state, x, y); } public void LineTo (PointD p) { LineTo (p.X, p.Y); } public void LineTo (double x, double y) { NativeMethods.cairo_line_to (state, x, y); } public void CurveTo (PointD p1, PointD p2, PointD p3) { CurveTo (p1.X, p1.Y, p2.X, p2.Y, p3.X, p3.Y); } public void CurveTo (double x1, double y1, double x2, double y2, double x3, double y3) { NativeMethods.cairo_curve_to (state, x1, y1, x2, y2, x3, y3); } public void RelMoveTo (Distance d) { RelMoveTo (d.Dx, d.Dy); } public void RelMoveTo (double dx, double dy) { NativeMethods.cairo_rel_move_to (state, dx, dy); } public void RelLineTo (Distance d) { RelLineTo (d.Dx, d.Dy); } public void RelLineTo (double dx, double dy) { NativeMethods.cairo_rel_line_to (state, dx, dy); } public void RelCurveTo (Distance d1, Distance d2, Distance d3) { RelCurveTo (d1.Dx, d1.Dy, d2.Dx, d2.Dy, d3.Dx, d3.Dy); } public void RelCurveTo (double dx1, double dy1, double dx2, double dy2, double dx3, double dy3) { NativeMethods.cairo_rel_curve_to (state, dx1, dy1, dx2, dy2, dx3, dy3); } public void Arc (double xc, double yc, double radius, double angle1, double angle2) { NativeMethods.cairo_arc (state, xc, yc, radius, angle1, angle2); } public void ArcNegative (double xc, double yc, double radius, double angle1, double angle2) { NativeMethods.cairo_arc_negative (state, xc, yc, radius, angle1, angle2); } public void Rectangle (Rectangle rectangle) { Rectangle (rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height); } public void Rectangle (PointD p, double width, double height) { Rectangle (p.X, p.Y, width, height); } public void Rectangle (double x, double y, double width, double height) { NativeMethods.cairo_rectangle (state, x, y, width, height); } public void ClosePath () { NativeMethods.cairo_close_path (state); } public Path CopyPath () { return new Path (NativeMethods.cairo_copy_path (state)); } public Path CopyPathFlat () { return new Path (NativeMethods.cairo_copy_path_flat (state)); } public void AppendPath (Path path) { NativeMethods.cairo_append_path (state, path.handle); } #endregion #region Painting Methods public void Paint () { NativeMethods.cairo_paint (state); } public void PaintWithAlpha (double alpha) { NativeMethods.cairo_paint_with_alpha (state, alpha); } public void Mask (Pattern pattern) { NativeMethods.cairo_mask (state, pattern.Pointer); } public void MaskSurface (Surface surface, double surface_x, double surface_y) { NativeMethods.cairo_mask_surface (state, surface.Handle, surface_x, surface_y); } public void Stroke () { NativeMethods.cairo_stroke (state); } public void StrokePreserve () { NativeMethods.cairo_stroke_preserve (state); } public Rectangle StrokeExtents () { double x1, y1, x2, y2; NativeMethods.cairo_stroke_extents (state, out x1, out y1, out x2, out y2); return new Rectangle (x1, y1, x2, y2); } public void Fill () { NativeMethods.cairo_fill (state); } public Rectangle FillExtents () { double x1, y1, x2, y2; NativeMethods.cairo_fill_extents (state, out x1, out y1, out x2, out y2); return new Rectangle (x1, y1, x2, y2); } public void FillPreserve () { NativeMethods.cairo_fill_preserve (state); } #endregion public void Clip () { NativeMethods.cairo_clip (state); } public void ClipPreserve () { NativeMethods.cairo_clip_preserve (state); } public void ResetClip () { NativeMethods.cairo_reset_clip (state); } public bool InStroke (double x, double y) { return NativeMethods.cairo_in_stroke (state, x, y); } public bool InFill (double x, double y) { return NativeMethods.cairo_in_fill (state, x, y); } public Pattern PopGroup () { return Pattern.Lookup (NativeMethods.cairo_pop_group (state)); } public void PopGroupToSource () { NativeMethods.cairo_pop_group_to_source (state); } public void PushGroup () { NativeMethods.cairo_push_group (state); } public void PushGroup (Content content) { NativeMethods.cairo_push_group_with_content (state, content); } public Surface GroupTarget { get { IntPtr surface = NativeMethods.cairo_get_group_target (state); return Surface.LookupSurface (surface); } } public void Rotate (double angle) { NativeMethods.cairo_rotate (state, angle); } public void Scale (double sx, double sy) { NativeMethods.cairo_scale (state, sx, sy); } public void Translate (double tx, double ty) { NativeMethods.cairo_translate (state, tx, ty); } public void Transform (Matrix m) { NativeMethods.cairo_transform (state, m); } #region Methods that will become obsolete in the long term, after 1.2.5 becomes wildly available //[Obsolete("Use UserToDevice instead")] public void TransformPoint (ref double x, ref double y) { NativeMethods.cairo_user_to_device (state, ref x, ref y); } //[Obsolete("Use UserToDeviceDistance instead")] public void TransformDistance (ref double dx, ref double dy) { NativeMethods.cairo_user_to_device_distance (state, ref dx, ref dy); } //[Obsolete("Use InverseTransformPoint instead")] public void InverseTransformPoint (ref double x, ref double y) { NativeMethods.cairo_device_to_user (state, ref x, ref y); } //[Obsolete("Use DeviceToUserDistance instead")] public void InverseTransformDistance (ref double dx, ref double dy) { NativeMethods.cairo_device_to_user_distance (state, ref dx, ref dy); } #endregion public void UserToDevice (ref double x, ref double y) { NativeMethods.cairo_user_to_device (state, ref x, ref y); } public void UserToDeviceDistance (ref double dx, ref double dy) { NativeMethods.cairo_user_to_device_distance (state, ref dx, ref dy); } public void DeviceToUser (ref double x, ref double y) { NativeMethods.cairo_device_to_user (state, ref x, ref y); } public void DeviceToUserDistance (ref double dx, ref double dy) { NativeMethods.cairo_device_to_user_distance (state, ref dx, ref dy); } public Cairo.Matrix Matrix { set { NativeMethods.cairo_set_matrix (state, value); } get { Matrix m = new Matrix(); NativeMethods.cairo_get_matrix (state, m); return m; } } public void SetFontSize (double scale) { NativeMethods.cairo_set_font_size (state, scale); } public void IdentityMatrix () { NativeMethods.cairo_identity_matrix (state); } [Obsolete ("Use SetFontSize() instead.")] public void FontSetSize (double scale) { SetFontSize (scale); } [Obsolete ("Use SetFontSize() instead.")] public double FontSize { set { SetFontSize (value); } } public Matrix FontMatrix { get { Matrix m; NativeMethods.cairo_get_font_matrix (state, out m); return m; } set { NativeMethods.cairo_set_font_matrix (state, value); } } public FontOptions FontOptions { get { FontOptions options = new FontOptions (); NativeMethods.cairo_get_font_options (state, options.Handle); return options; } set { NativeMethods.cairo_set_font_options (state, value.Handle); } } [StructLayout(LayoutKind.Sequential)] internal struct NativeGlyph_4byte_longs { public int index; public double x; public double y; public NativeGlyph_4byte_longs (Glyph source) { index = (int) source.index; x = source.x; y = source.y; } } static internal IntPtr FromGlyphToUnManagedMemory(Glyph [] glyphs) { IntPtr dest = Marshal.AllocHGlobal (native_glyph_size * glyphs.Length); long pos = dest.ToInt64(); if (c_compiler_long_size == 8){ foreach (Glyph g in glyphs){ Marshal.StructureToPtr (g, (IntPtr)pos, false); pos += native_glyph_size; } } else { foreach (Glyph g in glyphs){ NativeGlyph_4byte_longs n = new NativeGlyph_4byte_longs (g); Marshal.StructureToPtr (n, (IntPtr)pos, false); pos += native_glyph_size; } } return dest; } public void ShowGlyphs (Glyph[] glyphs) { IntPtr ptr; ptr = FromGlyphToUnManagedMemory (glyphs); NativeMethods.cairo_show_glyphs (state, ptr, glyphs.Length); Marshal.FreeHGlobal (ptr); } [Obsolete("The matrix argument was never used, use ShowGlyphs(Glyphs []) instead")] public void ShowGlyphs (Matrix matrix, Glyph[] glyphs) { ShowGlyphs (glyphs); } [Obsolete("The matrix argument was never used, use GlyphPath(Glyphs []) instead")] public void GlyphPath (Matrix matrix, Glyph[] glyphs) { GlyphPath (glyphs); } public void GlyphPath (Glyph[] glyphs) { IntPtr ptr; ptr = FromGlyphToUnManagedMemory (glyphs); NativeMethods.cairo_glyph_path (state, ptr, glyphs.Length); Marshal.FreeHGlobal (ptr); } public FontExtents FontExtents { get { FontExtents f_extents; NativeMethods.cairo_font_extents (state, out f_extents); return f_extents; } } public void CopyPage () { NativeMethods.cairo_copy_page (state); } [Obsolete ("Use SelectFontFace() instead.")] public void FontFace (string family, FontSlant slant, FontWeight weight) { SelectFontFace (family, slant, weight); } public FontFace ContextFontFace { get { return Cairo.FontFace.Lookup (NativeMethods.cairo_get_font_face (state)); } set { NativeMethods.cairo_set_font_face (state, value == null ? IntPtr.Zero : value.Handle); } } public void SelectFontFace (string family, FontSlant slant, FontWeight weight) { NativeMethods.cairo_select_font_face (state, family, slant, weight); } public void ShowPage () { NativeMethods.cairo_show_page (state); } public void ShowText (string str) { NativeMethods.cairo_show_text (state, str); } public void TextPath (string str) { NativeMethods.cairo_text_path (state, str); } public TextExtents TextExtents (string utf8) { TextExtents extents; NativeMethods.cairo_text_extents (state, utf8, out extents); return extents; } public TextExtents GlyphExtents (Glyph[] glyphs) { IntPtr ptr = FromGlyphToUnManagedMemory (glyphs); TextExtents extents; NativeMethods.cairo_glyph_extents (state, ptr, glyphs.Length, out extents); Marshal.FreeHGlobal (ptr); return extents; } } } gtk-sharp-2.12.40/cairo/policy.1.0.config0000664000175000017500000000055012767740470014601 00000000000000 gtk-sharp-2.12.40/cairo/FontType.cs0000664000175000017500000000241012654353766013715 00000000000000// // Mono.Cairo.FontType.cs // // Authors: // John Luke // // (C) John Luke, 2006. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum FontType { Toy, FreeType, Win32, Atsui, } } gtk-sharp-2.12.40/cairo/Antialias.cs0000664000175000017500000000261612654353766014062 00000000000000// // Mono.Cairo.Antialias.cs // // Authors: // Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum Antialias { Default, None, Gray, Subpixel, } } gtk-sharp-2.12.40/cairo/Makefile.in0000664000175000017500000003763612767740506013702 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = cairo ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac DATA = $(noinst_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ ASSEMBLY_NAME = Mono.Cairo ASSEMBLY = $(ASSEMBLY_NAME).dll POLICY_1_0_ASSEMBLY = policy.1.0.$(ASSEMBLY) POLICY_1_0_CONFIG = policy.1.0.config POLICY_2_0_ASSEMBLY = policy.2.0.$(ASSEMBLY) POLICY_2_0_CONFIG = policy.2.0.config @ENABLE_MONO_CAIRO_FALSE@TARGET = @ENABLE_MONO_CAIRO_TRUE@TARGET = $(ASSEMBLY) $(POLICY_1_0_ASSEMBLY) $(POLICY_2_0_ASSEMBLY) noinst_DATA = $(TARGET) CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(POLICY_1_0_ASSEMBLY) $(POLICY_2_0_ASSEMBLY) mono.snk sources = \ Antialias.cs \ AssemblyInfo.cs \ Cairo.cs \ Content.cs \ Context.cs \ DirectFBSurface.cs \ Extend.cs \ FillRule.cs \ Filter.cs \ FontExtents.cs \ FontFace.cs \ FontOptions.cs \ FontSlant.cs \ FontType.cs \ FontWeight.cs \ Format.cs \ GlitzSurface.cs \ Glyph.cs \ Gradient.cs \ HintMetrics.cs \ HintStyle.cs \ ImageSurface.cs \ LinearGradient.cs \ LineCap.cs \ LineJoin.cs \ Matrix.cs \ NativeMethods.cs \ Operator.cs \ Path.cs \ Pattern.cs \ PatternType.cs \ PdfSurface.cs \ PSSurface.cs \ RadialGradient.cs \ Rectangle.cs \ ScaledFont.cs \ SolidPattern.cs \ Status.cs \ SubpixelOrder.cs \ Surface.cs \ SurfacePattern.cs \ SurfaceType.cs \ SvgSurface.cs \ SvgVersion.cs \ TextExtents.cs \ Win32Surface.cs \ XcbSurface.cs \ XlibSurface.cs \ # build_sources = $(addprefix $(srcdir)/, $(sources)) EXTRA_DIST = $(sources) $(POLICY_1_0_CONFIG) $(POLICY_2_0_CONFIG) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign cairo/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign cairo/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-data-local install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-local .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am \ install-data-local install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \ uninstall-am uninstall-local .PRECIOUS: Makefile mono.snk: $(top_srcdir)/mono.snk cp $(top_srcdir)/mono.snk . $(ASSEMBLY): $(build_sources) mono.snk @rm -f $(ASSEMBLY).mdb $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -out:$(ASSEMBLY) -target:library $(references) $(build_sources) $(POLICY_1_0_ASSEMBLY): $(srcdir)/$(POLICY_1_0_CONFIG) mono.snk echo "Creating policy.1.0.$(ASSEMBLY)"; $(AL) -link:$(POLICY_1_0_CONFIG) -version:1.0 -out:$@ -keyfile:mono.snk; $(POLICY_2_0_ASSEMBLY): $(srcdir)/$(POLICY_2_0_CONFIG) mono.snk echo "Creating policy.1.0.$(ASSEMBLY)"; $(AL) -link:$(POLICY_2_0_CONFIG) -version:2.0 -out:$@ -keyfile:mono.snk; install-data-local: @if test -n '$(TARGET)'; then \ echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ echo "$(GACUTIL) /i $(POLICY_1_0_ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i $(POLICY_1_0_ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ echo "$(GACUTIL) /i $(POLICY_2_0_ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i $(POLICY_2_0_ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ fi uninstall-local: @if test -n '$(TARGET)'; then \ echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ echo "$(GACUTIL) /u policy.1.0.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u policy.1.0.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ echo "$(GACUTIL) /u policy.2.0.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u policy.2.0.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/cairo/Format.cs0000664000175000017500000000300212654353766013373 00000000000000// // Mono.Cairo.Format.cs // // Authors: Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum Format { Argb32 = 0, Rgb24 = 1, A8 = 2, A1 = 3, Rgb16565 = 4, //[Obsolete ("Use Argb32")] ARGB32 = Argb32, //[Obsolete ("Use Rgb24")] RGB24 = Rgb24, } } gtk-sharp-2.12.40/cairo/HintStyle.cs0000664000175000017500000000263012654353766014074 00000000000000// // Mono.Cairo.HintStyle.cs // // Authors: Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum HintStyle { Default, None, Slight, Medium, Full, } } gtk-sharp-2.12.40/cairo/Surface.cs0000664000175000017500000001470212767740470013541 00000000000000// // Mono.Cairo.Surface.cs // // Authors: // Duncan Mak // Miguel de Icaza. // Alp Toker // // (C) Ximian Inc, 2003. // (C) Novell, Inc. 2003. // // This is an OO wrapper API for the Cairo API // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; using System.Collections; namespace Cairo { public class Surface : IDisposable { protected static Hashtable surfaces = new Hashtable (); internal IntPtr surface = IntPtr.Zero; protected Surface() { } protected Surface (IntPtr ptr, bool owns) { surface = ptr; lock (surfaces.SyncRoot){ surfaces [ptr] = this; } if (!owns) NativeMethods.cairo_surface_reference (ptr); } static internal Surface LookupExternalSurface (IntPtr p) { lock (surfaces.SyncRoot){ object o = surfaces [p]; if (o == null){ return new Surface (p, false); } return (Surface) o; } } static internal Surface LookupSurface (IntPtr surface) { SurfaceType st = NativeMethods.cairo_surface_get_type (surface); switch (st) { case SurfaceType.Image: return new ImageSurface (surface, true); case SurfaceType.Xlib: return new XlibSurface (surface, true); case SurfaceType.Xcb: return new XcbSurface (surface, true); case SurfaceType.Glitz: return new GlitzSurface (surface, true); case SurfaceType.Win32: return new Win32Surface (surface, true); case SurfaceType.Pdf: return new PdfSurface (surface, true); case SurfaceType.PS: return new PSSurface (surface, true); case SurfaceType.DirectFB: return new DirectFBSurface (surface, true); case SurfaceType.Svg: return new SvgSurface (surface, true); default: return Surface.LookupExternalSurface (surface); } } [Obsolete ("Use an ImageSurface constructor instead.")] public static Cairo.Surface CreateForImage ( ref byte[] data, Cairo.Format format, int width, int height, int stride) { IntPtr p = NativeMethods.cairo_image_surface_create_for_data ( data, format, width, height, stride); return new Cairo.Surface (p, true); } [Obsolete ("Use an ImageSurface constructor instead.")] public static Cairo.Surface CreateForImage ( Cairo.Format format, int width, int height) { IntPtr p = NativeMethods.cairo_image_surface_create ( format, width, height); return new Cairo.Surface (p, true); } public Cairo.Surface CreateSimilar ( Cairo.Content content, int width, int height) { IntPtr p = NativeMethods.cairo_surface_create_similar ( this.Handle, content, width, height); return new Cairo.Surface (p, true); } ~Surface () { Dispose (false); } //[Obsolete ("Use Context.SetSource() followed by Context.Paint()")] public void Show (Context gr, double x, double y) { NativeMethods.cairo_set_source_surface (gr.Handle, surface, x, y); NativeMethods.cairo_paint (gr.Handle); } void IDisposable.Dispose () { Dispose (true); GC.SuppressFinalize (this); } protected virtual void Dispose (bool disposing) { if (surface == IntPtr.Zero) return; lock (surfaces.SyncRoot) surfaces.Remove (surface); NativeMethods.cairo_surface_destroy (surface); surface = IntPtr.Zero; } public Status Finish () { NativeMethods.cairo_surface_finish (surface); return Status; } public void Flush () { NativeMethods.cairo_surface_flush (surface); } public void MarkDirty () { NativeMethods.cairo_surface_mark_dirty (Handle); } public void MarkDirty (Rectangle rectangle) { NativeMethods.cairo_surface_mark_dirty_rectangle (Handle, (int)rectangle.X, (int)rectangle.Y, (int)rectangle.Width, (int)rectangle.Height); } public IntPtr Handle { get { return surface; } } public PointD DeviceOffset { get { double x, y; NativeMethods.cairo_surface_get_device_offset (surface, out x, out y); return new PointD (x, y); } set { NativeMethods.cairo_surface_set_device_offset (surface, value.X, value.Y); } } public void Destroy() { Dispose (true); } public void SetFallbackResolution (double x, double y) { NativeMethods.cairo_surface_set_fallback_resolution (surface, x, y); } public void WriteToPng (string filename) { NativeMethods.cairo_surface_write_to_png (surface, filename); } [Obsolete ("Use Handle instead.")] public IntPtr Pointer { get { return surface; } } public Status Status { get { return NativeMethods.cairo_surface_status (surface); } } public Content Content { get { return NativeMethods.cairo_surface_get_content (surface); } } public SurfaceType SurfaceType { get { return NativeMethods.cairo_surface_get_type (surface); } } public uint ReferenceCount { get { return NativeMethods.cairo_surface_get_reference_count (surface); } } } } gtk-sharp-2.12.40/cairo/Matrix.cs0000664000175000017500000001251312767740470013413 00000000000000// // Mono.Cairo.Matrix.cs // // Author: Duncan Mak // Hisham Mardam Bey (hisham.mardambey@gmail.com) // Idan Gazit (idan@fastmail.fm) // // (C) Ximian Inc, 2003 - 2005. // // This is an OO wrapper API for the Cairo API // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; using System.Runtime.InteropServices; namespace Cairo { [StructLayout(LayoutKind.Sequential)] public class Matrix : ICloneable { public double Xx; public double Yx; public double Xy; public double Yy; public double X0; public double Y0; public Matrix (double xx, double yx, double xy, double yy, double x0, double y0) { this.Xx = xx; this.Yx = yx; this.Xy = xy; this.Yy = yy; this.X0 = x0; this.Y0 = y0; } public Matrix () { this.InitIdentity (); } public bool IsIdentity () { return (this == new Matrix ()); } public void InitIdentity () { // this.Init(1,0,0,1,0,0); NativeMethods.cairo_matrix_init_identity (this); } public void Init (double xx, double yx, double xy, double yy, double x0, double y0) { this.Xx = xx; this.Yx = yx; this.Xy = xy; this.Yy = yy; this.X0 = x0; this.Y0 = y0; } public void InitTranslate (double tx, double ty) { //this.Init (1, 0, 0, 1, tx, ty); NativeMethods.cairo_matrix_init_translate (this, tx, ty); } public void Translate (double tx, double ty) { NativeMethods.cairo_matrix_translate (this, tx, ty); } public void InitScale (double sx, double sy) { //this.Init (sx, 0, 0, sy, 0, 0); NativeMethods.cairo_matrix_init_scale (this, sx, sy); } public void Scale (double sx, double sy) { NativeMethods.cairo_matrix_scale (this, sx, sy); } public void InitRotate (double radians) { /* double s, c; s = Math.Sin (radians); c = Math.Cos (radians); this.Init (c, s, -s, c, 0, 0); */ NativeMethods.cairo_matrix_init_rotate (this, radians); } public void Rotate (double radians) { NativeMethods.cairo_matrix_rotate (this, radians); } public Cairo.Status Invert () { return NativeMethods.cairo_matrix_invert (this); } public void Multiply (Matrix b) { Matrix a = (Matrix) this.Clone (); NativeMethods.cairo_matrix_multiply (this, a, b); } public static Matrix Multiply (Matrix a, Matrix b) { Matrix result = new Matrix (); NativeMethods.cairo_matrix_multiply (result, a, b); return result; } public void TransformDistance (ref double dx, ref double dy) { NativeMethods.cairo_matrix_transform_distance (this, ref dx, ref dy); } public void TransformPoint (ref double x, ref double y) { NativeMethods.cairo_matrix_transform_point (this, ref x, ref y); } public override String ToString () { String s = String.Format ("xx:{0:##0.0#} yx:{1:##0.0#} xy:{2:##0.0#} yy:{3:##0.0#} x0:{4:##0.0#} y0:{5:##0.0#}", this.Xx, this.Yx, this.Xy, this.Yy, this.X0, this.Y0); return s; } public static bool operator == (Matrix lhs, Matrix rhs) { return (lhs.Xx == rhs.Xx && lhs.Xy == rhs.Xy && lhs.Yx == rhs.Yx && lhs.Yy == rhs.Yy && lhs.X0 == rhs.X0 && lhs.Y0 == rhs.Y0 ); } public static bool operator != (Matrix lhs, Matrix rhs) { return !(lhs==rhs); } public override bool Equals(object o) { if (! (o is Matrix)) return false; else return (this == (Matrix) o); } public override int GetHashCode() { return (int)this.Xx ^ (int)this.Xx>>32 ^ (int)this.Xy ^ (int)this.Xy>>32 ^ (int)this.Yx ^ (int)this.Yx>>32 ^ (int)this.Yy ^ (int)this.Yy>>32 ^ (int)this.X0 ^ (int)this.X0>>32 ^ (int)this.Y0 ^ (int)this.Y0>>32; } public object Clone() { return this.MemberwiseClone (); } } } gtk-sharp-2.12.40/cairo/LinearGradient.cs0000664000175000017500000000374612767740470015047 00000000000000// // Mono.Cairo.LinearGradient.cs // // Author: Jordi Mas (jordi@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // (C) Ximian Inc, 2004. // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class LinearGradient : Gradient { internal LinearGradient (IntPtr handle) : base (handle) { } public LinearGradient (double x0, double y0, double x1, double y1) { pattern = NativeMethods.cairo_pattern_create_linear (x0, y0, x1, y1); } public PointD[] LinearPoints { get { double x0, y0, x1, y1; PointD[] points = new PointD [2]; NativeMethods.cairo_pattern_get_linear_points (pattern, out x0, out y0, out x1, out y1); points[0] = new PointD (x0, y0); points[1] = new PointD (x1, y1); return points; } } } } gtk-sharp-2.12.40/cairo/Gradient.cs0000664000175000017500000000375212767740470013711 00000000000000// // Mono.Cairo.Gradient.cs // // Author: Jordi Mas (jordi@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // (C) Ximian Inc, 2004. // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class Gradient : Pattern { protected Gradient (IntPtr handle) : base (handle) { } protected Gradient () { } public int ColorStopCount { get { int cnt; NativeMethods.cairo_pattern_get_color_stop_count (pattern, out cnt); return cnt; } } public Status AddColorStop (double offset, Cairo.Color c) { NativeMethods.cairo_pattern_add_color_stop_rgba (pattern, offset, c.R, c.G, c.B, c.A); return Status; } public Status AddColorStopRgb (double offset, Cairo.Color c) { NativeMethods.cairo_pattern_add_color_stop_rgb (pattern, offset, c.R, c.G, c.B); return Status; } } } gtk-sharp-2.12.40/cairo/Extend.cs0000664000175000017500000000271212654353766013401 00000000000000// // Mono.Cairo.Extend.cs // // Authors: // Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // John Luke (john.luke@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // Copyright (C) 2005 John Luke // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum Extend { None, Repeat, Reflect, Pad, } } gtk-sharp-2.12.40/cairo/TextExtents.cs0000664000175000017500000000535112654353766014453 00000000000000// // Mono.Cairo.TextExtents.cs // // Authors: // Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; using System.Runtime.InteropServices; namespace Cairo { [StructLayout (LayoutKind.Sequential)] public struct TextExtents { double xbearing; double ybearing; double width; double height; double xadvance; double yadvance; public double XBearing { get { return xbearing; } set { xbearing = value; } } public double YBearing { get { return ybearing; } set { ybearing = value; } } public double Width { get { return width; } set { width = value; } } public double Height { get { return height; } set { height = value; } } public double XAdvance { get { return xadvance; } set { xadvance = value; } } public double YAdvance { get { return yadvance; } set { yadvance = value; } } public override bool Equals (object obj) { if (obj is TextExtents) return this == (TextExtents)obj; return false; } public override int GetHashCode () { return (int)XBearing ^ (int)YBearing ^ (int)Width ^ (int)Height ^ (int)XAdvance ^ (int)YAdvance; } public static bool operator == (TextExtents extents, TextExtents other) { return extents.XBearing == other.XBearing && extents.YBearing == other.YBearing && extents.Width == other.Width && extents.Height == other.Height && extents.XAdvance == other.XAdvance && extents.YAdvance == other.YAdvance; } public static bool operator != (TextExtents extents, TextExtents other) { return !(extents == other); } } } gtk-sharp-2.12.40/cairo/PatternType.cs0000664000175000017500000000242212654353766014427 00000000000000// // Mono.Cairo.PatternType.cs // // Authors: // John Luke // // (C) John Luke, 2006. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum PatternType { Solid, Surface, Linear, Radial, } } gtk-sharp-2.12.40/cairo/ScaledFont.cs0000664000175000017500000000614612767740470014176 00000000000000// // Mono.Cairo.ScaledFont.cs // // (c) 2008 Jordi Mas i Hernandez (jordimash@gmail.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; using System.Runtime.InteropServices; namespace Cairo { public class ScaledFont : IDisposable { protected IntPtr handle = IntPtr.Zero; internal ScaledFont (IntPtr handle) { this.handle = handle; } public ScaledFont (FontFace fontFace, Matrix matrix, Matrix ctm, FontOptions options) { handle = NativeMethods.cairo_scaled_font_create (fontFace.Handle, matrix, ctm, options.Handle); } ~ScaledFont () { Dispose (false); } public IntPtr Handle { get { return handle; } } public FontExtents FontExtents { get { FontExtents extents; NativeMethods.cairo_scaled_font_extents (handle, out extents); return extents; } } public Matrix FontMatrix { get { Matrix m; NativeMethods.cairo_scaled_font_get_font_matrix (handle, out m); return m; } } public FontType FontType { get { return NativeMethods.cairo_scaled_font_get_type (handle); } } public TextExtents GlyphExtents (Glyph[] glyphs) { IntPtr ptr = Context.FromGlyphToUnManagedMemory (glyphs); TextExtents extents; NativeMethods.cairo_scaled_font_glyph_extents (handle, ptr, glyphs.Length, out extents); Marshal.FreeHGlobal (ptr); return extents; } public Status Status { get { return NativeMethods.cairo_scaled_font_status (handle); } } void IDisposable.Dispose () { Dispose (true); GC.SuppressFinalize (this); } protected virtual void Dispose (bool disposing) { if (disposing) { NativeMethods.cairo_scaled_font_destroy (handle); handle = IntPtr.Zero; } } protected void Reference () { NativeMethods.cairo_scaled_font_reference (handle); } } } gtk-sharp-2.12.40/cairo/Glyph.cs0000664000175000017500000000510612654353766013235 00000000000000// // Mono.Cairo.Glyph.cs // // Authors: Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; using System.Runtime.InteropServices; namespace Cairo { [StructLayout(LayoutKind.Sequential)] public struct Glyph { internal long index; internal double x; internal double y; public Glyph (long index, double x, double y) { this.index = index; this.x = x; this.y = y; } public long Index { get { return index; } set { index = value; } } public double X { get { return x; } set { x = value; } } public double Y { get { return y; } set { y = value; } } public override bool Equals (object obj) { if (obj is Glyph) return this == (Glyph)obj; return false; } public override int GetHashCode () { return (int) Index ^ (int) X ^ (int) Y; } internal static IntPtr GlyphsToIntPtr (Glyph[] glyphs) { int size = Marshal.SizeOf (glyphs[0]); IntPtr dest = Marshal.AllocHGlobal (size * glyphs.Length); long pos = dest.ToInt64 (); for (int i = 0; i < glyphs.Length; i++, pos += size) Marshal.StructureToPtr (glyphs[i], (IntPtr) pos, false); return dest; } public static bool operator == (Glyph glyph, Glyph other) { return glyph.Index == other.Index && glyph.X == other.X && glyph.Y == other.Y; } public static bool operator != (Glyph glyph, Glyph other) { return !(glyph == other); } } } gtk-sharp-2.12.40/cairo/HintMetrics.cs0000664000175000017500000000260512654353766014404 00000000000000// // Mono.Cairo.HintMetrics.cs // // Authors: Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum HintMetrics { Default, Off, On, } } gtk-sharp-2.12.40/cairo/Content.cs0000664000175000017500000000265112654353766013566 00000000000000// // Mono.Cairo.Content.cs // // Authors: // Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { //[Flags] [Serializable] public enum Content { Color = 0x1000, Alpha = 0x2000, ColorAlpha = 0x3000, } } gtk-sharp-2.12.40/cairo/Win32Surface.cs0000664000175000017500000000274612767740470014371 00000000000000// // Mono.Cairo.Win32Surface.cs // // Authors: // John Luke // // (C) John Luke, 2006. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class Win32Surface : Surface { internal Win32Surface (IntPtr handle, bool owns) : base (handle, owns) { } public Win32Surface (IntPtr hdc) { surface = NativeMethods.cairo_win32_surface_create (hdc); lock (surfaces.SyncRoot) { surfaces [surface] = this; } } } } gtk-sharp-2.12.40/cairo/XlibSurface.cs0000664000175000017500000000572212767740470014362 00000000000000// // Mono.Cairo.XlibSurface.cs // // Authors: // Duncan Mak // Miguel de Icaza. // // (C) Ximian Inc, 2003. // (C) Novell, Inc. 2003. // // This is an OO wrapper API for the Cairo API // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class XlibSurface : Surface { public XlibSurface (IntPtr display, IntPtr drawable, IntPtr visual, int width, int height) { surface = NativeMethods.cairo_xlib_surface_create (display, drawable, visual, width, height); lock (surfaces.SyncRoot){ surfaces [surface] = this; } } public XlibSurface (IntPtr ptr, bool own) : base (ptr, own) { } public static XlibSurface FromBitmap (IntPtr display, IntPtr bitmap, IntPtr screen, int width, int height) { IntPtr ptr; ptr = NativeMethods.cairo_xlib_surface_create_for_bitmap (display, bitmap, screen, width, height); return new XlibSurface(ptr, true); } public void SetDrawable (IntPtr drawable, int width, int height) { NativeMethods.cairo_xlib_surface_set_drawable (surface, drawable, width, height); } public void SetSize (int width, int height) { NativeMethods.cairo_xlib_surface_set_size (surface, width, height); } public int Depth { get { return NativeMethods.cairo_xlib_surface_get_depth (surface); } } public IntPtr Display { get { return NativeMethods.cairo_xlib_surface_get_display (surface); } } public IntPtr Drawable { get { return NativeMethods.cairo_xlib_surface_get_drawable (surface); } } public int Height { get { return NativeMethods.cairo_xlib_surface_get_height (surface); } } public IntPtr Screen { get { return NativeMethods.cairo_xlib_surface_get_screen (surface); } } public IntPtr Visual { get { return NativeMethods.cairo_xlib_surface_get_visual (surface); } } public int Width { get { return NativeMethods.cairo_xlib_surface_get_width (surface); } } } } gtk-sharp-2.12.40/cairo/AssemblyInfo.cs0000664000175000017500000000026212767740470014540 00000000000000using System.Reflection; using System.Runtime.CompilerServices; [assembly:AssemblyVersion("2.0.0.0")] [assembly:AssemblyDelaySign(false)] [assembly:AssemblyKeyFile("mono.snk")] gtk-sharp-2.12.40/cairo/Rectangle.cs0000664000175000017500000000471112654353766014057 00000000000000// // Mono.Cairo.Rectangle.cs // // Author: // John Luke (john.luke@gmail.com) // // (C) John Luke 2005. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public struct Rectangle { double x; double y; double width; double height; public Rectangle (double x, double y, double width, double height) { this.x = x; this.y = y; this.width = width; this.height = height; } public Rectangle (Point point, double width, double height) { x = point.X; y = point.Y; this.width = width; this.height = height; } public double X { get { return x; } } public double Y { get { return y; } } public double Width { get { return width; } } public double Height { get { return height; } } public override bool Equals (object obj) { if (obj is Rectangle) return this == (Rectangle)obj; return false; } public override int GetHashCode () { return (int) (x + y + width + height); } public override string ToString () { return String.Format ("x:{0} y:{1} w:{2} h:{3}", x, y, width, height); } public static bool operator == (Rectangle rectangle, Rectangle other) { return rectangle.X == other.X && rectangle.Y == other.Y && rectangle.Width == other.Width && rectangle.Height == other.Height; } public static bool operator != (Rectangle rectangle, Rectangle other) { return !(rectangle == other); } } } gtk-sharp-2.12.40/cairo/NativeMethods.cs0000664000175000017500000011650012767740470014722 00000000000000// // Cairo.cs - a simplistic binding of the Cairo API to C#. // // Authors: Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // John Luke (john.luke@gmail.com) // Alp Toker (alp@atoker.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // Copyright (C) 2005 John Luke // Copyright (C) 2006 Alp Toker // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; using System.Runtime.InteropServices; namespace Cairo { // sort these so it is easier to find what is missing // http://www.cairographics.org/manual/ix01.html public class NativeMethods { private NativeMethods () {} const string cairo = "libcairo-2.dll"; //[DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] //internal static extern void cairo_append_path (IntPtr cr, Path path); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_arc (IntPtr cr, double xc, double yc, double radius, double angle1, double angle2); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_arc_negative (IntPtr cr, double xc, double yc, double radius, double angle1, double angle2); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_atsui_font_face_create_for_atsu_font_id (IntPtr font_id); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_clip (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_clip_preserve (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_clip_extents (IntPtr cr, out double x1, out double y1, out double x2, out double y2); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_close_path (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_copy_page (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_copy_path (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_copy_path_flat (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_append_path (IntPtr cr, IntPtr path); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_create (IntPtr target); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern uint cairo_get_reference_count (IntPtr surface); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_curve_to (IntPtr cr, double x1, double y1, double x2, double y2, double x3, double y3); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_debug_reset_static_data (); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_destroy (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_device_to_user (IntPtr cr, ref double x, ref double y); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_device_to_user_distance (IntPtr cr, ref double dx, ref double dy); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_fill (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_fill_extents (IntPtr cr, out double x1, out double y1, out double x2, out double y2); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_fill_preserve (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_font_extents (IntPtr cr, out FontExtents extents); // FontFace [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_font_face_destroy (IntPtr font_face); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern FontType cairo_font_face_get_type (IntPtr font_face); //[DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] //internal static extern void cairo_font_face_get_user_data (IntPtr font_face); //[DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] //internal static extern void cairo_font_face_set_user_data (IntPtr font_face); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_font_face_reference (IntPtr font_face); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Status cairo_font_face_status (IntPtr font_face); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern uint cairo_font_face_get_reference_count (IntPtr surface); // FontOptions [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_font_options_copy (IntPtr original); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_font_options_create (); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_font_options_destroy (IntPtr options); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] [return: MarshalAs (UnmanagedType.U1)] internal static extern bool cairo_font_options_equal (IntPtr options, IntPtr other); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Antialias cairo_font_options_get_antialias (IntPtr options); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern HintMetrics cairo_font_options_get_hint_metrics (IntPtr options); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern HintStyle cairo_font_options_get_hint_style (IntPtr options); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern SubpixelOrder cairo_font_options_get_subpixel_order (IntPtr options); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern long cairo_font_options_hash (IntPtr options); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_font_options_merge (IntPtr options, IntPtr other); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_font_options_set_antialias (IntPtr options, Antialias aa); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_font_options_set_hint_metrics (IntPtr options, HintMetrics metrics); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_font_options_set_hint_style (IntPtr options, HintStyle style); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_font_options_set_subpixel_order (IntPtr options, SubpixelOrder order); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Status cairo_font_options_status (IntPtr options); // Freetype / FontConfig [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_ft_font_face_create_for_ft_face (IntPtr face, int load_flags); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_ft_font_face_create_for_pattern (IntPtr fc_pattern); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_ft_font_options_substitute (FontOptions options, IntPtr pattern); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_ft_scaled_font_lock_face (IntPtr scaled_font); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_ft_scaled_font_unlock_face (IntPtr scaled_font); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Antialias cairo_get_antialias (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_get_current_point (IntPtr cr, out double x, out double y); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern FillRule cairo_get_fill_rule (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_get_font_face (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_get_font_matrix (IntPtr cr, out Matrix matrix); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_get_font_options (IntPtr cr, IntPtr options); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_get_group_target (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern LineCap cairo_get_line_cap (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern LineJoin cairo_get_line_join (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern double cairo_get_line_width (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_get_matrix (IntPtr cr, Matrix matrix); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern double cairo_get_miter_limit (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Operator cairo_get_operator (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_get_source (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_get_target (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern double cairo_get_tolerance (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_glitz_surface_create (IntPtr surface); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_glyph_extents (IntPtr cr, IntPtr glyphs, int num_glyphs, out TextExtents extents); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_glyph_path (IntPtr cr, IntPtr glyphs, int num_glyphs); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_identity_matrix (IntPtr cr); // ImageSurface [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_image_surface_create (Cairo.Format format, int width, int height); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_image_surface_create_for_data (byte[] data, Cairo.Format format, int width, int height, int stride); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_image_surface_create_for_data (IntPtr data, Cairo.Format format, int width, int height, int stride); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_image_surface_create_from_png (string filename); //[DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] //internal static extern IntPtr cairo_image_surface_create_from_png_stream (string filename); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_image_surface_get_data (IntPtr surface); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Format cairo_image_surface_get_format (IntPtr surface); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern int cairo_image_surface_get_height (IntPtr surface); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern int cairo_image_surface_get_stride (IntPtr surface); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern int cairo_image_surface_get_width (IntPtr surface); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern uint cairo_surface_get_reference_count (IntPtr surface); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] [return: MarshalAs (UnmanagedType.U1)] internal static extern bool cairo_in_fill (IntPtr cr, double x, double y); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] [return: MarshalAs (UnmanagedType.U1)] internal static extern bool cairo_in_stroke (IntPtr cr, double x, double y); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_line_to (IntPtr cr, double x, double y); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_mask (IntPtr cr, IntPtr pattern); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_mask_surface (IntPtr cr, IntPtr surface, double x, double y); // Matrix [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_matrix_init (Matrix matrix, double xx, double yx, double xy, double yy, double x0, double y0); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_matrix_init_identity (Matrix matrix); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_matrix_init_rotate (Matrix matrix, double radians); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_matrix_init_scale (Matrix matrix, double sx, double sy); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_matrix_init_translate (Matrix matrix, double tx, double ty); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Status cairo_matrix_invert (Matrix matrix); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_matrix_multiply (Matrix result, Matrix a, Matrix b); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_matrix_scale (Matrix matrix, double sx, double sy); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_matrix_rotate (Matrix matrix, double radians); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_matrix_transform_distance (Matrix matrix, ref double dx, ref double dy); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_matrix_transform_point (Matrix matrix, ref double x, ref double y); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_matrix_translate (Matrix matrix, double tx, double ty); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_move_to (IntPtr cr, double x, double y); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_new_path (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_new_sub_path (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_paint (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_paint_with_alpha (IntPtr cr, double alpha); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_path_destroy (IntPtr path); // Pattern [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_pattern_add_color_stop_rgb (IntPtr pattern, double offset, double red, double green, double blue); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_pattern_add_color_stop_rgba (IntPtr pattern, double offset, double red, double green, double blue, double alpha); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Status cairo_pattern_get_color_stop_count (IntPtr pattern, out int count); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Status cairo_pattern_get_color_stop_rgba (IntPtr pattern, int index, out double offset, out double red, out double green, out double blue, out double alpha); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_pattern_create_for_surface (IntPtr surface); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Status cairo_pattern_get_surface (IntPtr pattern, out IntPtr surface); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_pattern_create_linear (double x0, double y0, double x1, double y1); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Status cairo_pattern_get_linear_points (IntPtr pattern, out double x0, out double y0, out double x1, out double y1); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_pattern_create_radial (double cx0, double cy0, double radius0, double cx1, double cy1, double radius1); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Status cairo_pattern_get_radial_circles (IntPtr pattern, out double x0, out double y0, out double r0, out double x1, out double y1, out double r1); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_pattern_create_rgb (double r, double g, double b); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_pattern_create_rgba (double r, double g, double b, double a); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Status cairo_pattern_get_rgba (IntPtr pattern, out double red, out double green, out double blue, out double alpha); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_pattern_destroy (IntPtr pattern); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Extend cairo_pattern_get_extend (IntPtr pattern); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Filter cairo_pattern_get_filter (IntPtr pattern); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_pattern_get_matrix (IntPtr pattern, Matrix matrix); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern PatternType cairo_pattern_get_type (IntPtr pattern); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_pattern_reference (IntPtr pattern); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_pattern_set_extend (IntPtr pattern, Extend extend); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_pattern_set_filter (IntPtr pattern, Filter filter); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_pattern_set_matrix (IntPtr pattern, Matrix matrix); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Status cairo_pattern_status (IntPtr pattern); // PdfSurface [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_pdf_surface_create (string filename, double width, double height); //[DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] //internal static extern IntPtr cairo_pdf_surface_create_for_stream (string filename, double width, double height); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_pdf_surface_set_size (IntPtr surface, double x, double y); // PostscriptSurface [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_ps_surface_create (string filename, double width, double height); //[DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] //internal static extern IntPtr cairo_ps_surface_create_for_stream (string filename, double width, double height); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_ps_surface_begin_page_setup (IntPtr surface); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_ps_surface_begin_setup (IntPtr surface); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_ps_surface_dsc_comment (IntPtr surface, string comment); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_ps_surface_set_size (IntPtr surface, double x, double y); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_pop_group (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_pop_group_to_source (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_push_group (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_push_group_with_content (IntPtr cr, Content content); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_quartz_surface_create (IntPtr context, bool flipped, int width, int height); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_rectangle (IntPtr cr, double x, double y, double width, double height); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_reference (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_rel_curve_to (IntPtr cr, double dx1, double dy1, double dx2, double dy2, double dx3, double dy3); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_rel_line_to (IntPtr cr, double dx, double dy); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_rel_move_to (IntPtr cr, double dx, double dy); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_reset_clip (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_restore (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_rotate (IntPtr cr, double angle); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_save (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_scale (IntPtr cr, double sx, double sy); // ScaledFont [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_scaled_font_create (IntPtr fontFace, Matrix matrix, Matrix ctm, IntPtr options); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_scaled_font_destroy (IntPtr scaled_font); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_scaled_font_extents (IntPtr scaled_font, out FontExtents extents); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_scaled_font_get_ctm (IntPtr scaled_font, out Matrix matrix); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_scaled_font_get_font_face (IntPtr scaled_font); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_scaled_font_get_font_matrix (IntPtr scaled_font, out Matrix matrix); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_scaled_font_get_font_options (IntPtr scaled_font); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern FontType cairo_scaled_font_get_type (IntPtr scaled_font); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_scaled_font_glyph_extents (IntPtr scaled_font, IntPtr glyphs, int num_glyphs, out TextExtents extents); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_scaled_font_reference (IntPtr scaled_font); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Status cairo_scaled_font_status (IntPtr scaled_font); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_scaled_font (IntPtr cr, IntPtr scaled_font); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_get_scaled_font (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_scaled_font_text_extents (IntPtr scaled_font, string utf8, out TextExtents extents); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_select_font_face (IntPtr cr, string family, FontSlant slant, FontWeight weight); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_antialias (IntPtr cr, Antialias antialias); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_dash (IntPtr cr, double [] dashes, int ndash, double offset); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_get_dash (IntPtr cr, IntPtr dashes, out double offset); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern int cairo_get_dash_count (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_fill_rule (IntPtr cr, Cairo.FillRule fill_rule); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_font_face (IntPtr cr, IntPtr fontFace); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_font_matrix (IntPtr cr, Matrix matrix); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_font_options (IntPtr cr, IntPtr options); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_font_size (IntPtr cr, double size); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_line_cap (IntPtr cr, LineCap line_cap); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_line_join (IntPtr cr, LineJoin line_join); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_line_width (IntPtr cr, double width); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_matrix (IntPtr cr, Matrix matrix); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_miter_limit (IntPtr cr, double limit); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_operator (IntPtr cr, Cairo.Operator op); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_source (IntPtr cr, IntPtr pattern); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_source_rgb (IntPtr cr, double red, double green, double blue); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_source_rgba (IntPtr cr, double red, double green, double blue, double alpha); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_source_surface (IntPtr cr, IntPtr surface, double x, double y); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_set_tolerance (IntPtr cr, double tolerance); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_show_glyphs (IntPtr ct, IntPtr glyphs, int num_glyphs); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_show_page (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_show_text (IntPtr cr, string utf8); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Status cairo_status (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_status_to_string (Status status); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_stroke (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_stroke_extents (IntPtr cr, out double x1, out double y1, out double x2, out double y2); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_stroke_preserve (IntPtr cr); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_rectangle_list_destroy (IntPtr rectangle_list); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_copy_clip_rectangle_list (IntPtr cr); // Surface [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_surface_create_similar (IntPtr surface, Cairo.Content content, int width, int height); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_surface_destroy (IntPtr surface); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_surface_finish (IntPtr surface); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_surface_flush (IntPtr surface); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Content cairo_surface_get_content (IntPtr surface); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_surface_get_device_offset (IntPtr surface, out double x, out double y); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_surface_get_font_options (IntPtr surface, IntPtr FontOptions); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern SurfaceType cairo_surface_get_type (IntPtr surface); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_surface_mark_dirty (IntPtr surface); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_surface_mark_dirty_rectangle (IntPtr surface, int x, int y, int width, int height); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_surface_reference (IntPtr surface); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_surface_set_device_offset (IntPtr surface, double x, double y); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_surface_set_fallback_resolution (IntPtr surface, double x, double y); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Status cairo_surface_status (IntPtr surface); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_surface_write_to_png (IntPtr surface, string filename); //[DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] //internal static extern void cairo_surface_write_to_png_stream (IntPtr surface, WriteFunc writeFunc); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_svg_surface_create (string fileName, double width, double height); //[DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] //internal static extern IntPtr cairo_svg_surface_create_for_stream (double width, double height); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_svg_surface_restrict_to_version (IntPtr surface, SvgVersion version); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_text_extents (IntPtr cr, string utf8, out TextExtents extents); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_text_path (IntPtr ct, string utf8); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_transform (IntPtr cr, Matrix matrix); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_translate (IntPtr cr, double tx, double ty); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_user_to_device (IntPtr cr, ref double x, ref double y); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_user_to_device_distance (IntPtr cr, ref double dx, ref double dy); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern int cairo_version (); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_version_string (); // DirectFBSurface [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_directfb_surface_create (IntPtr dfb, IntPtr surface); // win32 fonts [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_win32_font_face_create_for_logfontw (IntPtr logfontw); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_win32_scaled_font_done_font (IntPtr scaled_font); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern double cairo_win32_scaled_font_get_metrics_factor (IntPtr scaled_font); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern Status cairo_win32_scaled_font_select_font (IntPtr scaled_font, IntPtr hdc); // win32 surface [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_win32_surface_create (IntPtr hdc); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_win32_surface_create_with_ddb (IntPtr hdc, Format format, int width, int height); // XcbSurface [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_xcb_surface_create (IntPtr connection, uint drawable, IntPtr visual, int width, int height); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_xcb_surface_create_for_bitmap (IntPtr connection, uint bitmap, IntPtr screen, int width, int height); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_xcb_surface_set_size (IntPtr surface, int width, int height); // XlibSurface [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_xlib_surface_create (IntPtr display, IntPtr drawable, IntPtr visual, int width, int height); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_xlib_surface_create_for_bitmap (IntPtr display, IntPtr bitmap, IntPtr screen, int width, int height); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern int cairo_xlib_surface_get_depth (IntPtr surface); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_xlib_surface_get_display (IntPtr surface); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_xlib_surface_get_drawable (IntPtr surface); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern int cairo_xlib_surface_get_height (IntPtr surface); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_xlib_surface_get_screen (IntPtr surface); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern IntPtr cairo_xlib_surface_get_visual (IntPtr surface); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern int cairo_xlib_surface_get_width (IntPtr surface); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_xlib_surface_set_drawable (IntPtr surface, IntPtr drawable, int width, int height); [DllImport (cairo, CallingConvention = CallingConvention.Cdecl)] internal static extern void cairo_xlib_surface_set_size (IntPtr surface, int width, int height); } } gtk-sharp-2.12.40/cairo/FontOptions.cs0000664000175000017500000000705312767740470014434 00000000000000// // Mono.Cairo.FontOptions.cs // // Author: // John Luke (john.luke@gmail.com) // // (C) John Luke 2005. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class FontOptions : IDisposable { IntPtr handle; bool disposed; public FontOptions () { handle = NativeMethods.cairo_font_options_create (); } ~FontOptions () { Dispose (false); } internal FontOptions (IntPtr handle) { this.handle = handle; } public FontOptions Copy () { return new FontOptions (NativeMethods.cairo_font_options_copy (handle)); } public void Destroy () { NativeMethods.cairo_font_options_destroy (handle); } public void Dispose () { Dispose (true); GC.SuppressFinalize (this); } private void Dispose (bool disposing) { if (!disposed) { Destroy (); handle = IntPtr.Zero; } disposed = true; } public static bool operator == (FontOptions options, FontOptions other) { return Equals (options, other); } public static bool operator != (FontOptions options, FontOptions other) { return !(options == other); } public override bool Equals (object other) { return Equals (other as FontOptions); } bool Equals (FontOptions options) { return options != null && NativeMethods.cairo_font_options_equal (Handle, options.Handle); } public IntPtr Handle { get { return handle; } } public override int GetHashCode () { return (int) NativeMethods.cairo_font_options_hash (handle); } public void Merge (FontOptions other) { if (other == null) throw new ArgumentNullException ("other"); NativeMethods.cairo_font_options_merge (handle, other.Handle); } public Antialias Antialias { get { return NativeMethods.cairo_font_options_get_antialias (handle); } set { NativeMethods.cairo_font_options_set_antialias (handle, value); } } public HintMetrics HintMetrics { get { return NativeMethods.cairo_font_options_get_hint_metrics (handle);} set { NativeMethods.cairo_font_options_set_hint_metrics (handle, value); } } public HintStyle HintStyle { get { return NativeMethods.cairo_font_options_get_hint_style (handle);} set { NativeMethods.cairo_font_options_set_hint_style (handle, value); } } public Status Status { get { return NativeMethods.cairo_font_options_status (handle); } } public SubpixelOrder SubpixelOrder { get { return NativeMethods.cairo_font_options_get_subpixel_order (handle);} set { NativeMethods.cairo_font_options_set_subpixel_order (handle, value); } } } } gtk-sharp-2.12.40/cairo/Operator.cs0000664000175000017500000000306612654353766013750 00000000000000// // Mono.Cairo.Operator.cs // // Authors: Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // John Luke (john.luke@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // Copyright (C) 2005 John Luke // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum Operator { Clear, Source, Over, In, Out, Atop, Dest, DestOver, DestIn, DestOut, DestAtop, Xor, Add, Saturate, } } gtk-sharp-2.12.40/cairo/FontFace.cs0000664000175000017500000000515712767740470013642 00000000000000// // Mono.Cairo.FontFace.cs // // Author: // Alp Toker (alp@atoker.com) // Miguel de Icaza (miguel@novell.com) // // (C) Ximian Inc, 2003. // // This is an OO wrapper API for the Cairo API. // // Copyright (C) 2004, 2007 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class FontFace : IDisposable { IntPtr handle; internal static FontFace Lookup (IntPtr handle) { if (handle == IntPtr.Zero) return null; NativeMethods.cairo_font_face_reference (handle); return new FontFace (handle); } ~FontFace () { // Since Cairo is not thread safe, we can not unref the // font_face here, the programmer must do this with IDisposable.Dispose Console.Error.WriteLine ("Programmer forgot to call Dispose on the FontFace"); Dispose (false); } void IDisposable.Dispose () { Dispose (true); } protected virtual void Dispose (bool disposing) { if (disposing) NativeMethods.cairo_font_face_destroy (handle); handle = IntPtr.Zero; GC.SuppressFinalize (this); } // TODO: make non-public when all entry points are complete in binding public FontFace (IntPtr handle) { this.handle = handle; } public IntPtr Handle { get { return handle; } } public Status Status { get { return NativeMethods.cairo_font_face_status (handle); } } public FontType FontType { get { return NativeMethods.cairo_font_face_get_type (handle); } } public uint ReferenceCount { get { return NativeMethods.cairo_font_face_get_reference_count (handle); } } } } gtk-sharp-2.12.40/cairo/DirectFBSurface.cs0000664000175000017500000000302112767740470015074 00000000000000// // Mono.Cairo.DirectFBSurface.cs // // Authors: // Alp Toker // // (C) Alp Toker, 2006. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class DirectFBSurface : Surface { internal DirectFBSurface (IntPtr handle, bool owns) : base (handle, owns) { } public DirectFBSurface (IntPtr dfb, IntPtr dfb_surface) { surface = NativeMethods.cairo_directfb_surface_create (dfb, dfb_surface); lock (surfaces.SyncRoot) { surfaces [surface] = this; } } } } gtk-sharp-2.12.40/cairo/GlitzSurface.cs0000664000175000017500000000276512767740470014561 00000000000000// // Mono.Cairo.GlitzSurface.cs // // Authors: // Alp Toker // // (C) Alp Toker, 2006. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class GlitzSurface : Surface { internal GlitzSurface (IntPtr handle, bool owns) : base (handle, owns) { } public GlitzSurface (IntPtr glitz_surface) { surface = NativeMethods.cairo_glitz_surface_create (glitz_surface); lock (surfaces.SyncRoot) { surfaces [surface] = this; } } } } gtk-sharp-2.12.40/cairo/SurfaceType.cs0000664000175000017500000000250512654353766014404 00000000000000// // Mono.Cairo.SurfaceType.cs // // Authors: // John Luke // // (C) John Luke, 2006. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum SurfaceType { Image, Pdf, PS, Xlib, Xcb, Glitz, Quartz, Win32, BeOS, DirectFB, Svg, } } gtk-sharp-2.12.40/cairo/SubpixelOrder.cs0000664000175000017500000000245212654353766014742 00000000000000// // Mono.Cairo.Cairo.cs // // Authors: // John Luke (john.luke@gmail.com) // // Copyright (C) John Luke 2005 // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum SubpixelOrder { Default, Rgb, Bgr, Vrgb, Vbgr, } } gtk-sharp-2.12.40/cairo/SolidPattern.cs0000664000175000017500000000456112767740470014563 00000000000000// // Mono.Cairo.Pattern.cs // // Author: Jordi Mas (jordi@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // (C) Ximian Inc, 2004. // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class SolidPattern : Pattern { internal SolidPattern (IntPtr handle) : base (handle) { } public SolidPattern (Color color) { pattern = NativeMethods.cairo_pattern_create_rgba (color.R, color.G, color.B, color.A); } public SolidPattern (double r, double g, double b) { pattern = NativeMethods.cairo_pattern_create_rgb (r, g, b); } public SolidPattern (double r, double g, double b, double a) { NativeMethods.cairo_pattern_create_rgba (r, g, b, a); } public SolidPattern (Color color, bool solid) { if (solid) pattern = NativeMethods.cairo_pattern_create_rgb (color.R, color.G, color.B); else pattern = NativeMethods.cairo_pattern_create_rgba (color.R, color.G, color.B, color.A); } public Color Color { get { double red, green, blue, alpha; NativeMethods.cairo_pattern_get_rgba (pattern, out red, out green, out blue, out alpha); return new Color (red, green, blue, alpha); } } } } gtk-sharp-2.12.40/cairo/Cairo.cs0000664000175000017500000000351312767740470013204 00000000000000// // Cairo.cs - a simplistic binding of the Cairo API to C#. // // Authors: Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // John Luke (john.luke@gmail.com) // Alp Toker (alp@atoker.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // Copyright (C) 2005 John Luke // Copyright (C) 2006 Alp Toker // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; using System.Runtime.InteropServices; namespace Cairo { public class CairoAPI { private CairoAPI () {} static public int Version { get { return Cairo.NativeMethods.cairo_version (); } } static public string VersionString { get { IntPtr x = Cairo.NativeMethods.cairo_version_string (); return Marshal.PtrToStringAnsi (x); } } } } gtk-sharp-2.12.40/cairo/FillRule.cs0000664000175000017500000000257212654353766013674 00000000000000// // Mono.Cairo.FillRule.cs // // Authors: // Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum FillRule { Winding, EvenOdd } } gtk-sharp-2.12.40/cairo/Makefile.am0000664000175000017500000000557412767740470013665 00000000000000ASSEMBLY_NAME = Mono.Cairo ASSEMBLY = $(ASSEMBLY_NAME).dll POLICY_1_0_ASSEMBLY = policy.1.0.$(ASSEMBLY) POLICY_1_0_CONFIG = policy.1.0.config POLICY_2_0_ASSEMBLY = policy.2.0.$(ASSEMBLY) POLICY_2_0_CONFIG = policy.2.0.config if ENABLE_MONO_CAIRO TARGET=$(ASSEMBLY) $(POLICY_1_0_ASSEMBLY) $(POLICY_2_0_ASSEMBLY) else TARGET= endif noinst_DATA = $(TARGET) CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(POLICY_1_0_ASSEMBLY) $(POLICY_2_0_ASSEMBLY) mono.snk sources = \ Antialias.cs \ AssemblyInfo.cs \ Cairo.cs \ Content.cs \ Context.cs \ DirectFBSurface.cs \ Extend.cs \ FillRule.cs \ Filter.cs \ FontExtents.cs \ FontFace.cs \ FontOptions.cs \ FontSlant.cs \ FontType.cs \ FontWeight.cs \ Format.cs \ GlitzSurface.cs \ Glyph.cs \ Gradient.cs \ HintMetrics.cs \ HintStyle.cs \ ImageSurface.cs \ LinearGradient.cs \ LineCap.cs \ LineJoin.cs \ Matrix.cs \ NativeMethods.cs \ Operator.cs \ Path.cs \ Pattern.cs \ PatternType.cs \ PdfSurface.cs \ PSSurface.cs \ RadialGradient.cs \ Rectangle.cs \ ScaledFont.cs \ SolidPattern.cs \ Status.cs \ SubpixelOrder.cs \ Surface.cs \ SurfacePattern.cs \ SurfaceType.cs \ SvgSurface.cs \ SvgVersion.cs \ TextExtents.cs \ Win32Surface.cs \ XcbSurface.cs \ XlibSurface.cs \ # build_sources = $(addprefix $(srcdir)/, $(sources)) mono.snk: $(top_srcdir)/mono.snk cp $(top_srcdir)/mono.snk . $(ASSEMBLY): $(build_sources) mono.snk @rm -f $(ASSEMBLY).mdb $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -out:$(ASSEMBLY) -target:library $(references) $(build_sources) $(POLICY_1_0_ASSEMBLY): $(srcdir)/$(POLICY_1_0_CONFIG) mono.snk echo "Creating policy.1.0.$(ASSEMBLY)"; $(AL) -link:$(POLICY_1_0_CONFIG) -version:1.0 -out:$@ -keyfile:mono.snk; $(POLICY_2_0_ASSEMBLY): $(srcdir)/$(POLICY_2_0_CONFIG) mono.snk echo "Creating policy.1.0.$(ASSEMBLY)"; $(AL) -link:$(POLICY_2_0_CONFIG) -version:2.0 -out:$@ -keyfile:mono.snk; install-data-local: @if test -n '$(TARGET)'; then \ echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ echo "$(GACUTIL) /i $(POLICY_1_0_ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i $(POLICY_1_0_ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ echo "$(GACUTIL) /i $(POLICY_2_0_ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i $(POLICY_2_0_ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; \ fi uninstall-local: @if test -n '$(TARGET)'; then \ echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ echo "$(GACUTIL) /u policy.1.0.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u policy.1.0.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ echo "$(GACUTIL) /u policy.2.0.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) /u policy.2.0.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ fi EXTRA_DIST = $(sources) $(POLICY_1_0_CONFIG) $(POLICY_2_0_CONFIG) gtk-sharp-2.12.40/cairo/XcbSurface.cs0000664000175000017500000000371412767740470014177 00000000000000// // Mono.Cairo.XcbSurface.cs // // Authors: // Alp Toker // // (C) Alp Toker, 2006. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { public class XcbSurface : Surface { internal XcbSurface (IntPtr handle, bool owns) : base (handle, owns) { } public XcbSurface (IntPtr connection, uint drawable, IntPtr visual, int width, int height) { surface = NativeMethods.cairo_xcb_surface_create (connection, drawable, visual, width, height); lock (surfaces.SyncRoot) { surfaces [surface] = this; } } public static XcbSurface FromBitmap (IntPtr connection, uint bitmap, IntPtr screen, int width, int height) { IntPtr ptr; ptr = NativeMethods.cairo_xcb_surface_create_for_bitmap (connection, bitmap, screen, width, height); return new XcbSurface (ptr, true); } public void SetSize (int width, int height) { NativeMethods.cairo_xcb_surface_set_size (surface, width, height); } } } gtk-sharp-2.12.40/cairo/Status.cs0000664000175000017500000000350012654353766013431 00000000000000// // Mono.Cairo.Status.cs // // Authors: // Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // John Luke (john.luke@gmail.com) // Alp Toker (alp@atoker.com) // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // Copyright (C) 2005 John Luke // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum Status { Success = 0, NoMemory, InvalidRestore, InvalidPopGroup, NoCurrentPoint, InvalidMatrix, InvalidStatus, NullPointer, InvalidString, InvalidPathData, ReadError, WriteError, SurfaceFinished, SurfaceTypeMismatch, PatternTypeMismatch, InvalidContent, InvalidFormat, InvalidVisual, FileNotFound, InvalidDash, InvalidDscComment, InvalidIndex, ClipNotRepresentable, } } gtk-sharp-2.12.40/cairo/ImageSurface.cs0000664000175000017500000000627012767740470014505 00000000000000// // Mono.Cairo.ImageSurface.cs // // Authors: // Duncan Mak // Miguel de Icaza. // // (C) Ximian Inc, 2003. // (C) Novell, Inc. 2003. // // This is an OO wrapper API for the Cairo API // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; using System.Runtime.InteropServices; namespace Cairo { public class ImageSurface : Surface { internal ImageSurface (IntPtr handle, bool owns) : base (handle, owns) { } public ImageSurface (Format format, int width, int height) { surface = NativeMethods.cairo_image_surface_create (format, width, height); lock (surfaces.SyncRoot){ surfaces [surface] = this; } } public ImageSurface (ref byte[] data, Cairo.Format format, int width, int height, int stride) { surface = NativeMethods.cairo_image_surface_create_for_data (data, format, width, height, stride); lock (surfaces.SyncRoot){ surfaces [surface] = this; } } public ImageSurface (IntPtr data, Cairo.Format format, int width, int height, int stride) { surface = NativeMethods.cairo_image_surface_create_for_data (data, format, width, height, stride); lock (surfaces.SyncRoot){ surfaces [surface] = this; } } public ImageSurface (string filename) { surface = NativeMethods.cairo_image_surface_create_from_png (filename); lock (surfaces.SyncRoot){ surfaces [surface] = this; } } public int Width { get { return NativeMethods.cairo_image_surface_get_width (surface); } } public int Height { get { return NativeMethods.cairo_image_surface_get_height (surface); } } public byte[] Data { get { IntPtr ptr = NativeMethods.cairo_image_surface_get_data (surface); int length = Height * Stride; byte[] data = new byte[length]; Marshal.Copy (ptr, data, 0, length); return data; } } public IntPtr DataPtr { get { return NativeMethods.cairo_image_surface_get_data (surface); } } public Format Format { get { return NativeMethods.cairo_image_surface_get_format (surface); } } public int Stride { get { return NativeMethods.cairo_image_surface_get_stride (surface); } } } } gtk-sharp-2.12.40/cairo/LineJoin.cs0000664000175000017500000000260212654353766013657 00000000000000// // Mono.Cairo.LineJoin.cs // // Authors: Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum LineJoin { Miter, Round, Bevel } } gtk-sharp-2.12.40/cairo/FontWeight.cs0000664000175000017500000000257312654353766014235 00000000000000// // Mono.Cairo.FontWeight.cs // // Authors: // Duncan Mak (duncan@ximian.com) // Hisham Mardam Bey (hisham.mardambey@gmail.com) // // (C) Ximian, Inc. 2003 // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // using System; namespace Cairo { [Serializable] public enum FontWeight { Normal, Bold, } } gtk-sharp-2.12.40/AUTHORS0000664000175000017500000000113512767740470011571 00000000000000Mike Kestner Documentation: psonek2@seznam.cz Duncan Mak Miguel de Icaza John Luke Marques Johansson Iain McCoy eric@extremeboredom.net (Eric Butler) Jamin Philip Gray chris@turchin.net (Chris Turchin) jaspervp@gmx.net (Jasper van Putten) wizito@gentelibre.org ( Nstor Salceda) cmorgan@alum.wpi.edu hris@protactin.co.uk ddollar@blueshiftdesign.com bis0n@mail.ru fsjrb@uaf.edu joe@fatnsoft.com pixelpapst@users.sourceforge.net alexmipego@hotmail.com wizito@gentelibre.org gtk-sharp-2.12.40/Makefile.in0000664000175000017500000006506712767740506012604 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ $(am__configure_deps) $(am__DIST_COMMON) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = AssemblyInfo.cs policy.config CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ cscope distdir dist dist-all distcheck am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ $(LISP)config.h.in # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags CSCOPE = cscope DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/AssemblyInfo.cs.in $(srcdir)/Makefile.in \ $(srcdir)/config.h.in $(srcdir)/policy.config.in AUTHORS \ COPYING ChangeLog NEWS README compile config.guess config.sub \ install-sh ltmain.sh missing DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ if test -d "$(distdir)"; then \ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -rf "$(distdir)" \ || { sleep 5 && rm -rf "$(distdir)"; }; \ else :; fi am__post_remove_distdir = $(am__remove_distdir) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best DIST_TARGETS = dist-gzip distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = sources generator parser glib cairo pango atk gdk gtk glade gtkdotnet sample doc msi EXTRA_DIST = \ mono.snk \ gtk-sharp.snk \ policy.config.in \ AssemblyInfo.cs.in \ ChangeLog \ HACKING \ README \ README.generator all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am--refresh: Makefile @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(am__cd) $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) $(am__aclocal_m4_deps): config.h: stamp-h1 @test -f $@ || rm -f stamp-h1 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 AssemblyInfo.cs: $(top_builddir)/config.status $(srcdir)/AssemblyInfo.cs.in cd $(top_builddir) && $(SHELL) ./config.status $@ policy.config: $(top_builddir)/config.status $(srcdir)/policy.config.in cd $(top_builddir) && $(SHELL) ./config.status $@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool config.lt # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscope: cscope.files test ! -s cscope.files \ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) clean-cscope: -rm -f cscope.files cscope.files: clean-cscope cscopelist cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f cscope.out cscope.in.out cscope.po.out cscope.files distdir: $(DISTFILES) $(am__remove_distdir) test -d "$(distdir)" || mkdir "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done -test -n "$(am__skip_mode_fix)" \ || find "$(distdir)" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__post_remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 $(am__post_remove_distdir) dist-lzip: distdir tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz $(am__post_remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__post_remove_distdir) dist-tarZ: distdir @echo WARNING: "Support for distribution archives compressed with" \ "legacy program 'compress' is deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__post_remove_distdir) dist-shar: distdir @echo WARNING: "Support for shar distribution archives is" \ "deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__post_remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__post_remove_distdir) dist dist-all: $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' $(am__post_remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lz*) \ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir) chmod u+w $(distdir) mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst chmod a-w $(distdir) test -d $(distdir)/_build || exit 0; \ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build/sub \ && ../../configure \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ --srcdir=../.. --prefix="$$dc_install_base" \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ && cd "$$am__cwd" \ || exit 1 $(am__post_remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @test -n '$(distuninstallcheck_dir)' || { \ echo 'ERROR: trying to run $@ with an empty' \ '$$(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ $(am__cd) '$(distuninstallcheck_dir)' || { \ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile config.h installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-hdr \ distclean-libtool distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(am__recursive_targets) all install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ am--refresh check check-am clean clean-cscope clean-generic \ clean-libtool cscope cscopelist-am ctags ctags-am dist \ dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \ dist-xz dist-zip distcheck distclean distclean-generic \ distclean-hdr distclean-libtool distclean-tags distcleancheck \ distdir distuninstallcheck dvi dvi-am html html-am info \ info-am install install-am install-data install-data-am \ install-dvi install-dvi-am install-exec install-exec-am \ install-html install-html-am install-info install-info-am \ install-man install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am .PRECIOUS: Makefile configure.in: bootstrap.status configure.in.in $(SHELL) $< # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/gtk-sharp.snk0000775000175000017500000000112412654353766013142 00000000000000$RSA2qlUuRrDb;,I 갵kDR;pCKb"A#$C%eds-߼p8> $n2ytB{@!&6d|аpRUuCI[2/nΊ'8HgCIFXD+U;_|0(]Tn$W3gO]B]G=7,=4(_ Ql{ܡ6j L[r;!f%]=O3ؖJFt} Ut ֐qvTv~6EjIlB,7an~+ Kb# LD>dSk?Vv&.{l_5{j.U,aVq&rbUx/gtk-sharp-2.12.40/compile0000755000175000017500000001624512676613141012076 00000000000000#! /bin/sh # Wrapper for compilers which do not understand '-c -o'. scriptversion=2012-10-14.11; # UTC # Copyright (C) 1999-2014 Free Software Foundation, Inc. # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . nl=' ' # We need space, tab and new line, in precisely that order. Quoting is # there to prevent tools from complaining about whitespace usage. IFS=" "" $nl" file_conv= # func_file_conv build_file lazy # Convert a $build file to $host form and store it in $file # Currently only supports Windows hosts. If the determined conversion # type is listed in (the comma separated) LAZY, no conversion will # take place. func_file_conv () { file=$1 case $file in / | /[!/]*) # absolute file, and not a UNC file if test -z "$file_conv"; then # lazily determine how to convert abs files case `uname -s` in MINGW*) file_conv=mingw ;; CYGWIN*) file_conv=cygwin ;; *) file_conv=wine ;; esac fi case $file_conv/,$2, in *,$file_conv,*) ;; mingw/*) file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` ;; cygwin/*) file=`cygpath -m "$file" || echo "$file"` ;; wine/*) file=`winepath -w "$file" || echo "$file"` ;; esac ;; esac } # func_cl_dashL linkdir # Make cl look for libraries in LINKDIR func_cl_dashL () { func_file_conv "$1" if test -z "$lib_path"; then lib_path=$file else lib_path="$lib_path;$file" fi linker_opts="$linker_opts -LIBPATH:$file" } # func_cl_dashl library # Do a library search-path lookup for cl func_cl_dashl () { lib=$1 found=no save_IFS=$IFS IFS=';' for dir in $lib_path $LIB do IFS=$save_IFS if $shared && test -f "$dir/$lib.dll.lib"; then found=yes lib=$dir/$lib.dll.lib break fi if test -f "$dir/$lib.lib"; then found=yes lib=$dir/$lib.lib break fi if test -f "$dir/lib$lib.a"; then found=yes lib=$dir/lib$lib.a break fi done IFS=$save_IFS if test "$found" != yes; then lib=$lib.lib fi } # func_cl_wrapper cl arg... # Adjust compile command to suit cl func_cl_wrapper () { # Assume a capable shell lib_path= shared=: linker_opts= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. eat=1 case $2 in *.o | *.[oO][bB][jJ]) func_file_conv "$2" set x "$@" -Fo"$file" shift ;; *) func_file_conv "$2" set x "$@" -Fe"$file" shift ;; esac ;; -I) eat=1 func_file_conv "$2" mingw set x "$@" -I"$file" shift ;; -I*) func_file_conv "${1#-I}" mingw set x "$@" -I"$file" shift ;; -l) eat=1 func_cl_dashl "$2" set x "$@" "$lib" shift ;; -l*) func_cl_dashl "${1#-l}" set x "$@" "$lib" shift ;; -L) eat=1 func_cl_dashL "$2" ;; -L*) func_cl_dashL "${1#-L}" ;; -static) shared=false ;; -Wl,*) arg=${1#-Wl,} save_ifs="$IFS"; IFS=',' for flag in $arg; do IFS="$save_ifs" linker_opts="$linker_opts $flag" done IFS="$save_ifs" ;; -Xlinker) eat=1 linker_opts="$linker_opts $2" ;; -*) set x "$@" "$1" shift ;; *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) func_file_conv "$1" set x "$@" -Tp"$file" shift ;; *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) func_file_conv "$1" mingw set x "$@" "$file" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -n "$linker_opts"; then linker_opts="-link$linker_opts" fi exec "$@" $linker_opts exit 1 } eat= case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: compile [--help] [--version] PROGRAM [ARGS] Wrapper for compilers which do not understand '-c -o'. Remove '-o dest.o' from ARGS, run PROGRAM with the remaining arguments, and rename the output as expected. If you are trying to build a whole package this is not the right script to run: please start by reading the file 'INSTALL'. Report bugs to . EOF exit $? ;; -v | --v*) echo "compile $scriptversion" exit $? ;; cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) func_cl_wrapper "$@" # Doesn't return... ;; esac ofile= cfile= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. # So we strip '-o arg' only if arg is an object. eat=1 case $2 in *.o | *.obj) ofile=$2 ;; *) set x "$@" -o "$2" shift ;; esac ;; *.c) cfile=$1 set x "$@" "$1" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -z "$ofile" || test -z "$cfile"; then # If no '-o' option was seen then we might have been invoked from a # pattern rule where we don't need one. That is ok -- this is a # normal compilation that the losing compiler can handle. If no # '.c' file was seen then we are probably linking. That is also # ok. exec "$@" fi # Name of file we expect compiler to create. cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` # Create the lock directory. # Note: use '[/\\:.-]' here to ensure that we don't use the same name # that we are using for the .o file. Also, base the name on the expected # object file name, since that is what matters with a parallel build. lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d while true; do if mkdir "$lockdir" >/dev/null 2>&1; then break fi sleep 1 done # FIXME: race condition here if user kills between mkdir and trap. trap "rmdir '$lockdir'; exit 1" 1 2 15 # Run the compile. "$@" ret=$? if test -f "$cofile"; then test "$cofile" = "$ofile" || mv "$cofile" "$ofile" elif test -f "${cofile}bj"; then test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" fi rmdir "$lockdir" exit $ret # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: gtk-sharp-2.12.40/depcomp0000755000175000017500000005601612676613141012075 00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2013-05-30.07; # UTC # Copyright (C) 1999-2014 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by 'PROGRAMS ARGS'. object Object file output by 'PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputting dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac # Get the directory component of the given path, and save it in the # global variables '$dir'. Note that this directory component will # be either empty or ending with a '/' character. This is deliberate. set_dir_from () { case $1 in */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; *) dir=;; esac } # Get the suffix-stripped basename of the given path, and save it the # global variable '$base'. set_base_from () { base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` } # If no dependency file was actually created by the compiler invocation, # we still have to create a dummy depfile, to avoid errors with the # Makefile "include basename.Plo" scheme. make_dummy_depfile () { echo "#dummy" > "$depfile" } # Factor out some common post-processing of the generated depfile. # Requires the auxiliary global variable '$tmpdepfile' to be set. aix_post_process_depfile () { # If the compiler actually managed to produce a dependency file, # post-process it. if test -f "$tmpdepfile"; then # Each line is of the form 'foo.o: dependency.h'. # Do two passes, one to just change these to # $object: dependency.h # and one to simply output # dependency.h: # which is needed to avoid the deleted-header problem. { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" } > "$depfile" rm -f "$tmpdepfile" else make_dummy_depfile fi } # A tabulation character. tab=' ' # A newline character. nl=' ' # Character ranges might be problematic outside the C locale. # These definitions help. upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ lower=abcdefghijklmnopqrstuvwxyz digits=0123456789 alpha=${upper}${lower} if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Avoid interferences from the environment. gccflag= dashmflag= # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi cygpath_u="cygpath -u -f -" if test "$depmode" = msvcmsys; then # This is just like msvisualcpp but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvisualcpp fi if test "$depmode" = msvc7msys; then # This is just like msvc7 but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvc7 fi if test "$depmode" = xlc; then # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. gccflag=-qmakedep=gcc,-MF depmode=gcc fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. ## Unfortunately, FreeBSD c89 acceptance of flags depends upon ## the command line argument order; so add the flags where they ## appear in depend2.am. Note that the slowdown incurred here ## affects only configure: in makefiles, %FASTDEP% shortcuts this. for arg do case $arg in -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; *) set fnord "$@" "$arg" ;; esac shift # fnord shift # $arg done "$@" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. ## (see the conditional assignment to $gccflag above). ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). Also, it might not be ## supported by the other compilers which use the 'gcc' depmode. ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The second -e expression handles DOS-style file names with drive # letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the "deleted header file" problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. ## Some versions of gcc put a space before the ':'. On the theory ## that the space means something, we add a space to the output as ## well. hp depmode also adds that space, but also prefixes the VPATH ## to the object. Take care to not repeat it in the output. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like '#:fec' to the end of the # dependency line. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ | tr "$nl" ' ' >> "$depfile" echo >> "$depfile" # The second pass generates a dummy entry for each header file. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" ;; xlc) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts '$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.u tmpdepfile2=$base.u tmpdepfile3=$dir.libs/$base.u "$@" -Wc,-M else tmpdepfile1=$dir$base.u tmpdepfile2=$dir$base.u tmpdepfile3=$dir$base.u "$@" -M fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done aix_post_process_depfile ;; tcc) # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 # FIXME: That version still under development at the moment of writing. # Make that this statement remains true also for stable, released # versions. # It will wrap lines (doesn't matter whether long or short) with a # trailing '\', as in: # # foo.o : \ # foo.c \ # foo.h \ # # It will put a trailing '\' even on the last line, and will use leading # spaces rather than leading tabs (at least since its commit 0394caf7 # "Emit spaces for -MD"). "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. # We have to change lines of the first kind to '$object: \'. sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" # And for each line of the second kind, we have to emit a 'dep.h:' # dummy dependency, to avoid the deleted-header problem. sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" rm -f "$tmpdepfile" ;; ## The order of this option in the case statement is important, since the ## shell code in configure will try each of these formats in the order ## listed in this file. A plain '-MD' option would be understood by many ## compilers, so we must ensure this comes after the gcc and icc options. pgcc) # Portland's C compiler understands '-MD'. # Will always output deps to 'file.d' where file is the root name of the # source file under compilation, even if file resides in a subdirectory. # The object file name does not affect the name of the '.d' file. # pgcc 10.2 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using '\' : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... set_dir_from "$object" # Use the source, not the object, to determine the base name, since # that's sadly what pgcc will do too. set_base_from "$source" tmpdepfile=$base.d # For projects that build the same source file twice into different object # files, the pgcc approach of using the *source* file root name can cause # problems in parallel builds. Use a locking strategy to avoid stomping on # the same $tmpdepfile. lockdir=$base.d-lock trap " echo '$0: caught signal, cleaning up...' >&2 rmdir '$lockdir' exit 1 " 1 2 13 15 numtries=100 i=$numtries while test $i -gt 0; do # mkdir is a portable test-and-set. if mkdir "$lockdir" 2>/dev/null; then # This process acquired the lock. "$@" -MD stat=$? # Release the lock. rmdir "$lockdir" break else # If the lock is being held by a different process, wait # until the winning process is done or we timeout. while test -d "$lockdir" && test $i -gt 0; do sleep 1 i=`expr $i - 1` done fi i=`expr $i - 1` done trap - 1 2 13 15 if test $i -le 0; then echo "$0: failed to acquire lock after $numtries attempts" >&2 echo "$0: check lockdir '$lockdir'" >&2 exit 1 fi if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp2) # The "hp" stanza above does not work with aCC (C++) and HP's ia64 # compilers, which have integrated preprocessors. The correct option # to use with these is +Maked; it writes dependencies to a file named # 'foo.d', which lands next to the object file, wherever that # happens to be. # Much of this is similar to the tru64 case; see comments there. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.d tmpdepfile2=$dir.libs/$base.d "$@" -Wc,+Maked else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d "$@" +Maked fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" # Add 'dependent.h:' lines. sed -ne '2,${ s/^ *// s/ \\*$// s/$/:/ p }' "$tmpdepfile" >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" "$tmpdepfile2" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in 'foo.d' instead, so we check for that too. # Subdirectories are respected. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then # Libtool generates 2 separate objects for the 2 libraries. These # two compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir$base.o.d # libtool 1.5 tmpdepfile2=$dir.libs/$base.o.d # Likewise. tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d "$@" -MD fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done # Same post-processing that is required for AIX mode. aix_post_process_depfile ;; msvc7) if test "$libtool" = yes; then showIncludes=-Wc,-showIncludes else showIncludes=-showIncludes fi "$@" $showIncludes > "$tmpdepfile" stat=$? grep -v '^Note: including file: ' "$tmpdepfile" if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The first sed program below extracts the file names and escapes # backslashes for cygpath. The second sed program outputs the file # name when reading, but also accumulates all include files in the # hold buffer in order to output them again at the end. This only # works with sed implementations that can handle large buffers. sed < "$tmpdepfile" -n ' /^Note: including file: *\(.*\)/ { s//\1/ s/\\/\\\\/g p }' | $cygpath_u | sort -u | sed -n ' s/ /\\ /g s/\(.*\)/'"$tab"'\1 \\/p s/.\(.*\) \\/\1:/ H $ { s/.*/'"$tab"'/ G p }' >> "$depfile" echo >> "$depfile" # make sure the fragment doesn't end with a backslash rm -f "$tmpdepfile" ;; msvc7msys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for ':' # in the target name. This is to cope with DOS-style filenames: # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. "$@" $dashmflag | sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this sed invocation # correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # X makedepend shift cleared=no eat=no for arg do case $cleared in no) set ""; shift cleared=yes ;; esac if test $eat = yes; then eat=no continue fi case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -arch) eat=yes ;; -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix=`echo "$object" | sed 's/^.*\././'` touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" # makedepend may prepend the VPATH from the source file name to the object. # No need to regex-escape $object, excess matching of '.' is harmless. sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process the last invocation # correctly. Breaking it into two sed invocations is a workaround. sed '1,2d' "$tmpdepfile" \ | tr ' ' "$nl" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E \ | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi IFS=" " for arg do case "$arg" in -o) shift ;; $object) shift ;; "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E 2>/dev/null | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" echo "$tab" >> "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; msvcmsys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: gtk-sharp-2.12.40/config.sub0000755000175000017500000010646012612517377012506 00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright 1992-2015 Free Software Foundation, Inc. timestamp='2015-08-20' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that # program. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # Please send patches to . # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS $0 [OPTION] ALIAS Canonicalize a configuration name. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright 1992-2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" exit 1 ;; *local*) # First pass through any local machine types. echo $1 exit ;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \ kopensolaris*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; android-linux) os=-linux-android basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown ;; *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] then os=`echo $1 | sed 's/.*-/-/'` else os=; fi ;; esac ### Let's recognize common machines as not being operating systems so ### that things like config.sub decstation-3100 work. We also ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in -sun*os*) # Prevent following clause from handling this invalid input. ;; -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ -apple | -axis | -knuth | -cray | -microblaze*) os= basic_machine=$1 ;; -bluegene*) os=-cnk ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 ;; -scout) ;; -wrs) os=-vxworks basic_machine=$1 ;; -chorusos*) os=-chorusos basic_machine=$1 ;; -chorusrdb) os=-chorusrdb basic_machine=$1 ;; -hiux*) os=-hiuxwe2 ;; -sco6) os=-sco5v6 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco4) os=-sco3.2v4 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5v6*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -udk*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -isc) os=-isc2.2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -clix*) basic_machine=clipper-intergraph ;; -isc*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -lynx*178) os=-lynxos178 ;; -lynx*5) os=-lynxos5 ;; -lynx*) os=-lynxos ;; -ptx*) basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` ;; -windowsnt*) os=`echo $os | sed -e 's/windowsnt/winnt/'` ;; -psos*) os=-psos ;; -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ | aarch64 | aarch64_be \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arceb \ | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ | avr | avr32 \ | ba \ | be32 | be64 \ | bfin \ | c4x | c8051 | clipper \ | d10v | d30v | dlx | dsp16xx \ | e2k | epiphany \ | fido | fr30 | frv | ft32 \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | hexagon \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | k1om \ | le32 | le64 \ | lm32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64octeon | mips64octeonel \ | mips64orion | mips64orionel \ | mips64r5900 | mips64r5900el \ | mips64vr | mips64vrel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa32r6 | mipsisa32r6el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64r6 | mipsisa64r6el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipsr5900 | mipsr5900el \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | moxie \ | mt \ | msp430 \ | nds32 | nds32le | nds32be \ | nios | nios2 | nios2eb | nios2el \ | ns16k | ns32k \ | open8 | or1k | or1knd | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle \ | pyramid \ | riscv32 | riscv64 \ | rl78 | rx \ | score \ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | spu \ | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | ubicom32 \ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ | visium \ | we32k \ | x86 | xc16x | xstormy16 | xtensa \ | z8k | z80) basic_machine=$basic_machine-unknown ;; c54x) basic_machine=tic54x-unknown ;; c55x) basic_machine=tic55x-unknown ;; c6x) basic_machine=tic6x-unknown ;; leon|leon[3-9]) basic_machine=sparc-$basic_machine ;; m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; ms1) basic_machine=mt-unknown ;; strongarm | thumb | xscale) basic_machine=arm-unknown ;; xgate) basic_machine=$basic_machine-unknown os=-none ;; xscaleeb) basic_machine=armeb-unknown ;; xscaleel) basic_machine=armel-unknown ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. *-*-*) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ | aarch64-* | aarch64_be-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | ba-* \ | be32-* | be64-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* \ | c8051-* | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | e2k-* | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | hexagon-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ | k1om-* \ | le32-* | le64-* \ | lm32-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ | microblaze-* | microblazeel-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64octeon-* | mips64octeonel-* \ | mips64orion-* | mips64orionel-* \ | mips64r5900-* | mips64r5900el-* \ | mips64vr-* | mips64vrel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa32r6-* | mipsisa32r6el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64r6-* | mipsisa64r6el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipsr5900-* | mipsr5900el-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ | nds32-* | nds32le-* | nds32be-* \ | nios-* | nios2-* | nios2eb-* | nios2el-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | open8-* \ | or1k*-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | pyramid-* \ | riscv32-* | riscv64-* \ | rl78-* | romp-* | rs6000-* | rx-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \ | tahoe-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tile*-* \ | tron-* \ | ubicom32-* \ | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ | vax-* \ | visium-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* \ | xstormy16-* | xtensa*-* \ | ymp-* \ | z8k-* | z80-*) ;; # Recognize the basic CPU types without company name, with glob match. xtensa*) basic_machine=$basic_machine-unknown ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) basic_machine=i386-unknown os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; a29khif) basic_machine=a29k-amd os=-udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amd64) basic_machine=x86_64-pc ;; amd64-*) basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; aros) basic_machine=i386-pc os=-aros ;; asmjs) basic_machine=asmjs-unknown ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; blackfin) basic_machine=bfin-unknown os=-linux ;; blackfin-*) basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; bluegene*) basic_machine=powerpc-ibm os=-cnk ;; c54x-*) basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c55x-*) basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c6x-*) basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c90) basic_machine=c90-cray os=-unicos ;; cegcc) basic_machine=arm-unknown os=-cegcc ;; convex-c1) basic_machine=c1-convex os=-bsd ;; convex-c2) basic_machine=c2-convex os=-bsd ;; convex-c32) basic_machine=c32-convex os=-bsd ;; convex-c34) basic_machine=c34-convex os=-bsd ;; convex-c38) basic_machine=c38-convex os=-bsd ;; cray | j90) basic_machine=j90-cray os=-unicos ;; craynv) basic_machine=craynv-cray os=-unicosmp ;; cr16 | cr16-*) basic_machine=cr16-unknown os=-elf ;; crds | unos) basic_machine=m68k-crds ;; crisv32 | crisv32-* | etraxfs*) basic_machine=crisv32-axis ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; crx) basic_machine=crx-unknown os=-elf ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; decsystem10* | dec10*) basic_machine=pdp10-dec os=-tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec os=-tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola ;; delta88) basic_machine=m88k-motorola os=-sysv3 ;; dicos) basic_machine=i686-pc os=-dicos ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2* | dpx2*-bull) basic_machine=m68k-bull os=-sysv3 ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; go32) basic_machine=i386-pc os=-go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; hppa-next) os=-nextstep3 ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; i386-vsta | vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; leon-*|leon[3-9]-*) basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'` ;; m68knommu) basic_machine=m68k-unknown os=-linux ;; m68knommu-*) basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; microblaze*) basic_machine=microblaze-xilinx ;; mingw64) basic_machine=x86_64-pc os=-mingw64 ;; mingw32) basic_machine=i686-pc os=-mingw32 ;; mingw32ce) basic_machine=arm-unknown os=-mingw32ce ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; moxiebox) basic_machine=moxie-unknown os=-moxiebox ;; msdos) basic_machine=i386-pc os=-msdos ;; ms1-*) basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; msys) basic_machine=i686-pc os=-msys ;; mvs) basic_machine=i370-ibm os=-mvs ;; nacl) basic_machine=le32-unknown os=-nacl ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; netbsd386) basic_machine=i386-unknown os=-netbsd ;; netwinder) basic_machine=armv4l-rebel os=-linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos ;; news1000) basic_machine=m68030-sony os=-newsos ;; news-3600 | risc-news) basic_machine=mips-sony os=-newsos ;; necv70) basic_machine=v70-nec os=-sysv ;; next | m*-next ) basic_machine=m68k-next case $os in -nextstep* ) ;; -ns2*) os=-nextstep2 ;; *) os=-nextstep3 ;; esac ;; nh3000) basic_machine=m68k-harris os=-cxux ;; nh[45]000) basic_machine=m88k-harris os=-cxux ;; nindy960) basic_machine=i960-intel os=-nindy ;; mon960) basic_machine=i960-intel os=-mon960 ;; nonstopux) basic_machine=mips-compaq os=-nonstopux ;; np1) basic_machine=np1-gould ;; neo-tandem) basic_machine=neo-tandem ;; nse-tandem) basic_machine=nse-tandem ;; nsr-tandem) basic_machine=nsr-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; openrisc | openrisc-*) basic_machine=or32-unknown ;; os400) basic_machine=powerpc-ibm os=-os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;; os68k) basic_machine=m68k-none os=-os68k ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; paragon) basic_machine=i860-intel os=-osf ;; parisc) basic_machine=hppa-unknown os=-linux ;; parisc-*) basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pc98) basic_machine=i386-pc ;; pc98-*) basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; pentium4) basic_machine=i786-pc ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium4-*) basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc | ppcbe) basic_machine=powerpc-unknown ;; ppc-* | ppcbe-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little | ppc64-le | powerpc64-little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; pw32) basic_machine=i586-unknown os=-pw32 ;; rdos | rdos64) basic_machine=x86_64-pc os=-rdos ;; rdos32) basic_machine=i386-pc os=-rdos ;; rom68k) basic_machine=m68k-rom68k os=-coff ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; s390 | s390-*) basic_machine=s390-ibm ;; s390x | s390x-*) basic_machine=s390x-ibm ;; sa29200) basic_machine=a29k-amd os=-udi ;; sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; sde) basic_machine=mipsisa32-sde os=-elf ;; sei) basic_machine=mips-sei os=-seiux ;; sequent) basic_machine=i386-sequent ;; sh) basic_machine=sh-hitachi os=-hms ;; sh5el) basic_machine=sh5le-unknown ;; sh64) basic_machine=sh64-unknown ;; sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; strongarm-* | thumb-*) basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` ;; sun2) basic_machine=m68000-sun ;; sun2os3) basic_machine=m68000-sun os=-sunos3 ;; sun2os4) basic_machine=m68000-sun os=-sunos4 ;; sun3os3) basic_machine=m68k-sun os=-sunos3 ;; sun3os4) basic_machine=m68k-sun os=-sunos4 ;; sun4os3) basic_machine=sparc-sun os=-sunos3 ;; sun4os4) basic_machine=sparc-sun os=-sunos4 ;; sun4sol2) basic_machine=sparc-sun os=-solaris2 ;; sun3 | sun3-*) basic_machine=m68k-sun ;; sun4) basic_machine=sparc-sun ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun ;; sv1) basic_machine=sv1-cray os=-unicos ;; symmetry) basic_machine=i386-sequent os=-dynix ;; t3e) basic_machine=alphaev5-cray os=-unicos ;; t90) basic_machine=t90-cray os=-unicos ;; tile*) basic_machine=$basic_machine-unknown os=-linux-gnu ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; tpf) basic_machine=s390x-ibm os=-tpf ;; udi29k) basic_machine=a29k-amd os=-udi ;; ultra3) basic_machine=a29k-nyu os=-sym1 ;; v810 | necv810) basic_machine=v810-nec os=-none ;; vaxv) basic_machine=vax-dec os=-sysv ;; vms) basic_machine=vax-dec os=-vms ;; vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; vxworks960) basic_machine=i960-wrs os=-vxworks ;; vxworks68) basic_machine=m68k-wrs os=-vxworks ;; vxworks29k) basic_machine=a29k-wrs os=-vxworks ;; w65*) basic_machine=w65-wdc os=-none ;; w89k-*) basic_machine=hppa1.1-winbond os=-proelf ;; xbox) basic_machine=i686-pc os=-mingw32 ;; xps | xps100) basic_machine=xps100-honeywell ;; xscale-* | xscalee[bl]-*) basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` ;; ymp) basic_machine=ymp-cray os=-unicos ;; z8k-*-coff) basic_machine=z8k-unknown os=-sim ;; z80-*-coff) basic_machine=z80-unknown os=-sim ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; mmix) basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp10) # there are many clones, so DEC is not a safe bet basic_machine=pdp10-unknown ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # First match some system type aliases # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. -auroraux) os=-auroraux ;; -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; -svr4*) os=-sysv4 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # First accept the basic system types. # The portable systems comes first. # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ | -sym* | -kopensolaris* | -plan9* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* | -aros* | -cloudabi* | -sortix* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | -bitrig* | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* | -cegcc* \ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2 ) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -es1800*) os=-ose ;; -xenix) os=-xenix ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -aros*) os=-aros ;; -zvmoe) os=-zvmoe ;; -dicos*) os=-dicos ;; -nacl*) ;; -none) ;; *) # Get rid of the `-' at the beginning of $os. os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 exit 1 ;; esac else # Here we handle the default operating systems that come with various machines. # The value should be what the vendor currently ships out the door with their # machine or put another way, the most popular os provided with the machine. # Note that if you're going to try to match "-MANUFACTURER" here (say, # "-sun"), then you have to tell the case statement up towards the top # that MANUFACTURER isn't an operating system. Otherwise, code above # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. case $basic_machine in score-*) os=-elf ;; spu-*) os=-elf ;; *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; c4x-* | tic4x-*) os=-coff ;; c8051-*) os=-elf ;; hexagon-*) os=-elf ;; tic54x-*) os=-coff ;; tic55x-*) os=-coff ;; tic6x-*) os=-coff ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 ;; pdp11-*) os=-none ;; *-dec | vax-*) os=-ultrix4.2 ;; m68*-apollo) os=-domain ;; i386-sun) os=-sunos4.0.2 ;; m68000-sun) os=-sunos3 ;; m68*-cisco) os=-aout ;; mep-*) os=-elf ;; mips*-cisco) os=-elf ;; mips*-*) os=-elf ;; or32-*) os=-coff ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; sparc-* | *-sun) os=-sunos4.1.1 ;; *-be) os=-beos ;; *-haiku) os=-haiku ;; *-ibm) os=-aix ;; *-knuth) os=-mmixware ;; *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-next ) os=-nextstep ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-next) os=-nextstep3 ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -cnk*|-aix*) vendor=ibm ;; -beos*) vendor=be ;; -hpux*) vendor=hp ;; -mpeix*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs* | -opened*) vendor=ibm ;; -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; -tpf*) vendor=ibm ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os exit # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: gtk-sharp-2.12.40/sample/0000775000175000017500000000000012767740535012064 500000000000000gtk-sharp-2.12.40/sample/PolarFixed.cs0000664000175000017500000001353412767740470014374 00000000000000// This is a completely pointless widget, but it shows how to subclass container... using System; using System.Collections; using Gtk; using Gdk; class PolarFixed : Container { ArrayList children; public PolarFixed () { children = new ArrayList (); WidgetFlags |= WidgetFlags.NoWindow; } // The child properties object public class PolarFixedChild : Container.ContainerChild { double theta; uint r; public PolarFixedChild (PolarFixed parent, Widget child, double theta, uint r) : base (parent, child) { this.theta = theta; this.r = r; } // We call parent.QueueResize() from the property setters here so that you // can move the widget around just by changing its child properties (just // like with a native container class). public double Theta { get { return theta; } set { theta = value; parent.QueueResize (); } } public uint R { get { return r; } set { r = value; parent.QueueResize (); } } } // Override the child properties accessor to return the right object from // "children". public override ContainerChild this [Widget w] { get { foreach (PolarFixedChild pfc in children) { if (pfc.Child == w) return pfc; } return null; } } // Indicate the kind of children the container will accept. Most containers // will accept any kind of child, so they should return Gtk.Widget.GType. // The default is "GLib.GType.None", which technically means that no (new) // children can be added to the container, though Container.Add does not // enforce this. public override GLib.GType ChildType () { return Gtk.Widget.GType; } // Implement gtk_container_forall(), which is also used by // Gtk.Container.Children and Gtk.Container.AllChildren. protected override void ForAll (bool include_internals, Callback callback) { foreach (PolarFixedChild pfc in children) callback (pfc.Child); } // Invoked by Container.Add (w). It's good practice to have this do *something*, // even if it's not something terribly useful. protected override void OnAdded (Widget w) { Put (w, 0.0, 0); } // our own adder method public void Put (Widget w, double theta, uint r) { children.Add (new PolarFixedChild (this, w, theta, r)); w.Parent = this; QueueResize (); } public void Move (Widget w, double theta, uint r) { PolarFixedChild pfc = (PolarFixedChild)this[w]; if (pfc != null) { pfc.Theta = theta; pfc.R = r; } } // invoked by Container.Remove (w) protected override void OnRemoved (Widget w) { PolarFixedChild pfc = (PolarFixedChild)this[w]; if (pfc != null) { pfc.Child.Unparent (); children.Remove (pfc); QueueResize (); } } // Handle size request protected override void OnSizeRequested (ref Requisition req) { Requisition childReq; int x, y; req.Width = req.Height = 0; foreach (PolarFixedChild pfc in children) { // Recursively SizeRequest each child childReq = pfc.Child.SizeRequest (); // Figure out where we're going to put it x = (int)(Math.Cos (pfc.Theta) * pfc.R) + childReq.Width / 2; y = (int)(Math.Sin (pfc.Theta) * pfc.R) + childReq.Height / 2; // Update our own size request to fit it if (req.Width < 2 * x) req.Width = 2 * x; if (req.Height < 2 * y) req.Height = 2 * y; } // Take Container.BorderWidth into account req.Width += (int)(2 * BorderWidth); req.Height += (int)(2 * BorderWidth); } // Size allocation. Note that the allocation received may be smaller than what we // requested. Some containers will take that into account by giving some or all // of their children a smaller allocation than they requested. Other containers // (like this one) just let their children get placed partly out-of-bounds if they // aren't allocated enough room. protected override void OnSizeAllocated (Rectangle allocation) { Requisition childReq; int cx, cy, x, y; // This sets the "Allocation" property. For widgets that // have a GdkWindow, it also calls GdkWindow.MoveResize() base.OnSizeAllocated (allocation); // Figure out where the center of the grid will be cx = allocation.X + (allocation.Width / 2); cy = allocation.Y + (allocation.Height / 2); foreach (PolarFixedChild pfc in children) { // Use ChildRequisition rather than SizeRequest(), // to ask for "what this child requested in the // last SizeRequest", rather than having it // compute it anew. childReq = pfc.Child.ChildRequisition; x = (int)(Math.Cos (pfc.Theta) * pfc.R) - childReq.Width / 2; y = (int)(Math.Sin (pfc.Theta) * pfc.R) + childReq.Height / 2; allocation.X = cx + x; allocation.Width = childReq.Width; allocation.Y = cy - y; allocation.Height = childReq.Height; pfc.Child.Allocation = allocation; } } } class Test { public static void Main () { uint r; double theta; Application.Init (); Gtk.Window win = new Gtk.Window ("Polar Coordinate Container"); win.DeleteEvent += new DeleteEventHandler (Window_Delete); Notebook notebook = new Notebook (); win.Add (notebook); // Clock PolarFixed pf = new PolarFixed (); notebook.AppendPage (pf, new Label ("Clock")); for (int hour = 1; hour <= 12; hour ++) { theta = (Math.PI / 2) - hour * (Math.PI / 6); if (theta < 0) theta += 2 * Math.PI; Label l = new Label ("" + hour.ToString () + ""); l.UseMarkup = true; pf.Put (l, theta, 200); } // Spiral pf = new PolarFixed (); notebook.AppendPage (pf, new Label ("Spiral")); r = 0; theta = 0.0; foreach (string id in Gtk.Stock.ListIds ()) { StockItem item = Gtk.Stock.Lookup (id); if (item.Label == null) continue; pf.Put (new Gtk.Button (id), theta, r); // Logarithmic spiral: r = a*e^(b*theta) r += 5; theta = 10 * Math.Log (10 * r); } win.ShowAll (); Application.Run (); } static void Window_Delete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } } gtk-sharp-2.12.40/sample/Size.cs0000664000175000017500000000230112767740470013237 00000000000000// Size.cs - struct marshalling test // // Author: Rachel Hestilow // // (c) 2002 Rachel Hestilow namespace GtkSamples { using Gtk; using Gdk; using System; public class SizeTest { public static int Main (string[] args) { Application.Init (); Gtk.Window win = new Gtk.Window ("Gtk# Hello World"); win.DeleteEvent += new DeleteEventHandler (Window_Delete); win.SizeAllocated += new SizeAllocatedHandler (Size_Allocated); win.SizeRequested += new SizeRequestedHandler (Size_Requested); win.ShowAll (); Application.Run (); return 0; } static void Window_Delete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } static void Size_Requested (object obj, SizeRequestedArgs args) { Requisition req = args.Requisition; Console.WriteLine ("Requesting 100 x 100"); req.Width = req.Height = 100; args.Requisition = req; } static void Size_Allocated (object obj, SizeAllocatedArgs args) { Rectangle rect = args.Allocation; if (rect.Width == 0 || rect.Height == 0) Console.WriteLine ("ERROR: Allocation is null!"); Console.WriteLine ("Size: ({0}, {1})", rect.Width, rect.Height); } } } gtk-sharp-2.12.40/sample/GladeTest.cs0000664000175000017500000000266612767740470014217 00000000000000// GladeViewer.cs - Tests for LibGlade in C# // // Author: Ricardo Fernndez Pascual // // (c) 2002 Ricardo Fernndez Pascual namespace GladeSamples { using System; using Gtk; using Glade; public class GladeTest { [Glade.Widget] Gtk.Window main_window; public static void Main (string[] args) { Application.Init (); new GladeTest (); Application.Run (); } public GladeTest () { /* Note that we load the XML info from the assembly instead of using an external file. You don't have to distribute the .glade file if you don't want */ Glade.XML gxml = new Glade.XML (null, "test.glade", "main_window", null); gxml.Autoconnect (this); if (main_window != null) Console.WriteLine ("Main Window Title: \"{0}\"", main_window.Title); else Console.WriteLine ("WidgetAttribute is broken."); } public void OnWindowDeleteEvent (object o, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } public void OnButton1Clicked (System.Object b, EventArgs e) { Console.WriteLine ("Button 1 clicked"); } public static void OnButton2Clicked (System.Object b, EventArgs e) { Console.WriteLine ("Button 2 clicked"); } public void OnButton2Entered (System.Object b, EventArgs e) { Console.WriteLine ("Button 2 entered"); } public void OnQuitActivated (object o, EventArgs args) { Application.Quit (); } } } gtk-sharp-2.12.40/sample/HelloWorld.cs0000775000175000017500000000113712654353766014414 00000000000000// HelloWorld.cs - GTK Window class Test implementation // // Author: Mike Kestner // // (c) 2001-2002 Mike Kestner namespace GtkSamples { using Gtk; using Gdk; using System; public class HelloWorld { public static int Main (string[] args) { Application.Init (); Gtk.Window win = new Gtk.Window ("Gtk# Hello World"); win.DeleteEvent += new DeleteEventHandler (Window_Delete); win.ShowAll (); Application.Run (); return 0; } static void Window_Delete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } } } gtk-sharp-2.12.40/sample/GladeViewer.cs0000664000175000017500000000227612767740470014536 00000000000000// GladeViewer.cs - Silly tests for LibGlade in C# // // Author: Ricardo Fernndez Pascual // // (c) 2002 Ricardo Fernndez Pascual namespace GladeSamples { using System; using Gtk; using Glade; public class GladeDemo { public static void Main (string[] args) { if (args.Length < 2) { Console.WriteLine ("Use: ./glade-viewer.exe \"fname\" \"root\""); return; } Application.Init (); string fname = args [0]; string root = args [1]; Glade.XML gxml = new Glade.XML (fname, root, null); Widget wid = gxml [root]; wid.Show (); Console.WriteLine ("The filename: {0}", gxml.Filename); Console.WriteLine ("A relative filename: {0}", gxml.RelativeFile ("image.png")); Console.WriteLine ("The name of the root widget: {0}", Glade.XML.GetWidgetName (wid)); Console.WriteLine ("It is {0} that it was created using a Glade.XML object", Glade.XML.GetWidgetTree (wid) != null); Console.WriteLine ("\nList of created widgets:"); foreach (Widget w in gxml.GetWidgetPrefix ("")) { Console.WriteLine ("{0} {1}", w.GetType (), Glade.XML.GetWidgetName (w)); } Application.Run (); } } } gtk-sharp-2.12.40/sample/CustomWidget.cs0000664000175000017500000001033612767740470014752 00000000000000using GLib; using Gtk; using System; class CustomWidgetTest { public static int Main (string[] args) { Application.Init (); Window win = new Window ("Custom Widget Test"); win.DeleteEvent += new DeleteEventHandler (OnQuit); VPaned paned = new VPaned (); CustomWidget cw = new CustomWidget (); cw.Label = "This one contains a button"; Button button = new Button ("Ordinary button"); cw.Add (button); paned.Pack1 (cw, true, false); cw = new CustomWidget (); cw.Label = "And this one a TextView"; cw.StockId = Stock.JustifyLeft; ScrolledWindow sw = new ScrolledWindow (null, null); sw.ShadowType = ShadowType.In; sw.HscrollbarPolicy = PolicyType.Automatic; sw.VscrollbarPolicy = PolicyType.Automatic; TextView textView = new TextView (); sw.Add (textView); cw.Add (sw); paned.Pack2 (cw, true, false); win.Add (paned); win.ShowAll (); Application.Run (); return 0; } static void OnQuit (object sender, DeleteEventArgs args) { Application.Quit (); } } class CustomWidget : Bin { internal static GType customWidgetGType; private Gdk.Pixbuf icon; private string label; private Pango.Layout layout; private string stockid; public CustomWidget () : base () { icon = null; label = "CustomWidget"; layout = null; stockid = Stock.Execute; WidgetFlags |= WidgetFlags.NoWindow; } private Gdk.Pixbuf Icon { get { if (icon == null) icon = RenderIcon (stockid, IconSize.Menu, ""); return icon; } } public string Label { get { return label; } set { label = value; Layout.SetText (label); } } private Pango.Layout Layout { get { if (layout == null) layout = CreatePangoLayout (label); return layout; } } public string StockId { get { return stockid; } set { stockid = value; icon = RenderIcon (stockid, IconSize.Menu, ""); } } private Gdk.Rectangle TitleArea { get { Gdk.Rectangle area; area.X = Allocation.X + (int)BorderWidth; area.Y = Allocation.Y + (int)BorderWidth; area.Width = (Allocation.Width - 2 * (int)BorderWidth); int layoutWidth, layoutHeight; Layout.GetPixelSize (out layoutWidth, out layoutHeight); area.Height = Math.Max (layoutHeight, icon.Height); return area; } } protected override bool OnExposeEvent (Gdk.EventExpose args) { Gdk.Rectangle exposeArea; Gdk.Rectangle titleArea = TitleArea; if (args.Area.Intersect (titleArea, out exposeArea)) GdkWindow.DrawPixbuf (Style.BackgroundGC (State), Icon, 0, 0, titleArea.X, titleArea.Y, Icon.Width, Icon.Height, Gdk.RgbDither.None, 0, 0); titleArea.X += icon.Width + 1; titleArea.Width -= icon.Width - 1; if (args.Area.Intersect (titleArea, out exposeArea)) { int layoutWidth, layoutHeight; Layout.GetPixelSize (out layoutWidth, out layoutHeight); titleArea.Y += (titleArea.Height - layoutHeight) / 2; Style.PaintLayout (Style, GdkWindow, State, true, exposeArea, this, null, titleArea.X, titleArea.Y, Layout); } return base.OnExposeEvent (args); } protected override void OnRealized () { WidgetFlags |= WidgetFlags.Realized; GdkWindow = ParentWindow; Style = Style.Attach (GdkWindow); } protected override void OnSizeAllocated (Gdk.Rectangle allocation) { base.OnSizeAllocated (allocation); int bw = (int)BorderWidth; Gdk.Rectangle titleArea = TitleArea; if (Child != null) { Gdk.Rectangle childAllocation; childAllocation.X = allocation.X + bw; childAllocation.Y = allocation.Y + bw + titleArea.Height; childAllocation.Width = allocation.Width - 2 * bw; childAllocation.Height = allocation.Height - 2 * bw - titleArea.Height; Child.SizeAllocate (childAllocation); } } protected override void OnSizeRequested (ref Requisition requisition) { requisition.Width = requisition.Height = (int)BorderWidth * 2; requisition.Width += Icon.Width + 1; int layoutWidth, layoutHeight; Layout.GetPixelSize (out layoutWidth, out layoutHeight); requisition.Height += layoutHeight; if (Child != null && Child.Visible) { Requisition childReq = Child.SizeRequest (); requisition.Height += childReq.Height; requisition.Width += Math.Max (layoutWidth, childReq.Width); } else { requisition.Width += layoutWidth; } } } gtk-sharp-2.12.40/sample/TreeViewDemo.cs0000664000175000017500000000631312767740470014673 00000000000000// TreeView.cs - Fun TreeView demo // // Author: Kristian Rietveld // // (c) 2002 Kristian Rietveld namespace GtkSamples { using System; using System.Reflection; using Gtk; public class TreeViewDemo { private static TreeStore store = null; private static Dialog dialog = null; private static Label dialog_label = null; private static int count = 0; public TreeViewDemo () { DateTime start = DateTime.Now; Application.Init (); PopulateStore (); Window win = new Window ("TreeView demo"); win.DeleteEvent += new DeleteEventHandler (DeleteCB); win.SetDefaultSize (640,480); ScrolledWindow sw = new ScrolledWindow (); win.Add (sw); TreeView tv = new TreeView (store); tv.HeadersVisible = true; tv.EnableSearch = false; tv.AppendColumn ("Name", new CellRendererText (), "text", 0); tv.AppendColumn ("Type", new CellRendererText (), "text", 1); sw.Add (tv); dialog.Destroy (); dialog = null; win.ShowAll (); Console.WriteLine (count + " nodes added."); Console.WriteLine ("Startup time: " + DateTime.Now.Subtract (start)); Application.Run (); } private static void ProcessType (TreeIter parent, System.Type t) { foreach (MemberInfo mi in t.GetMembers ()) { store.AppendValues (parent, mi.Name, mi.ToString ()); count++; } } private static void ProcessAssembly (TreeIter parent, Assembly asm) { string asm_name = asm.GetName ().Name; foreach (System.Type t in asm.GetTypes ()) { UpdateDialog ("Loading from {0}:\n{1}", asm_name, t.ToString ()); TreeIter iter = store.AppendValues (parent, t.Name, t.ToString ()); count++; ProcessType (iter, t); } } private static void PopulateStore () { if (store != null) return; store = new TreeStore (typeof (string), typeof (string)); foreach (Assembly asm in AppDomain.CurrentDomain.GetAssemblies ()) { UpdateDialog ("Loading {0}", asm.GetName ().Name); TreeIter iter = store.AppendValues (asm.GetName ().Name, "Assembly"); count++; ProcessAssembly (iter, asm); } } public static void Main (string[] args) { new TreeViewDemo (); } private static void DeleteCB (System.Object o, DeleteEventArgs args) { Application.Quit (); } private static void UpdateDialog (string format, params object[] args) { string text = String.Format (format, args); if (dialog == null) { dialog = new Dialog (); dialog.Title = "Loading data from assemblies..."; dialog.AddButton (Stock.Cancel, 1); dialog.Response += new ResponseHandler (ResponseCB); dialog.SetDefaultSize (480, 100); VBox vbox = dialog.VBox; HBox hbox = new HBox (false, 4); vbox.PackStart (hbox, true, true, 0); Gtk.Image icon = new Gtk.Image (Stock.DialogInfo, IconSize.Dialog); hbox.PackStart (icon, false, false, 0); dialog_label = new Label (text); hbox.PackStart (dialog_label, false, false, 0); dialog.ShowAll (); } else { dialog_label.Text = text; while (Application.EventsPending ()) Application.RunIteration (); } } private static void ResponseCB (object obj, ResponseArgs args) { Application.Quit (); System.Environment.Exit (0); } } } gtk-sharp-2.12.40/sample/Assistant.cs0000664000175000017500000000713312654353766014311 00000000000000// Assistant.cs - Gtk.Assistant Sample App // // Author: Mike Kestner // // Copyright (c) 2008 Novell, Inc. // // Adapted to C# with modifications from a C tutorial sample at // http://www.linuxquestions.org/linux/articles/Technical/New_GTK_Widgets_GtkAssistant namespace GtkSharpSamples { using System; using Gtk; public class SampleAssistant : Assistant { public static int Main (string[] argv) { Application.Init (); new SampleAssistant ().ShowAll (); Application.Run (); return 0; } ProgressBar progress_bar; public SampleAssistant () { SetSizeRequest (450, 300); Title = "Gtk.Assistant Sample"; Label lbl = new Label ("Click the forward button to continue."); AppendPage (lbl); SetPageTitle (lbl, "Introduction"); SetPageType (lbl, AssistantPageType.Intro); SetPageComplete (lbl, true); HBox box = new HBox (false, 6); box.PackStart (new Label ("Enter some text: "), false, false, 6); Entry entry = new Entry (); entry.Changed += new EventHandler (EntryChanged); box.PackStart (entry, false, false, 6); AppendPage (box); SetPageTitle (box, "Getting Some Input"); SetPageType (box, AssistantPageType.Content); CheckButton chk = new CheckButton ("I think Gtk# is awesome."); chk.Toggled += new EventHandler (ButtonToggled); AppendPage (chk); SetPageTitle (chk, "Provide Feedback"); SetPageType (chk, AssistantPageType.Content); Alignment al = new Alignment (0.5f, 0.5f, 0.0f, 0.0f); box = new HBox (false, 6); progress_bar = new ProgressBar (); box.PackStart (progress_bar, true, true, 6); Button btn = new Button ("Make progress"); btn.Clicked += new EventHandler (ButtonClicked); box.PackStart (btn, false, false, 6); al.Add (box); AppendPage (al); SetPageTitle (al, "Show Some Progress"); SetPageType (al, AssistantPageType.Progress); lbl = new Label ("In addition to being able to type,\nYou obviously have great taste in software."); AppendPage (lbl); SetPageTitle (lbl, "Congratulations"); SetPageType (lbl, AssistantPageType.Confirm); SetPageComplete (lbl, true); Cancel += new EventHandler (AssistantCancel); Close += new EventHandler (AssistantClose); } protected override bool OnDeleteEvent (Gdk.Event ev) { Console.WriteLine ("Assistant Destroyed prematurely"); Application.Quit (); return true; } // If there is text in the GtkEntry, set the page as complete. void EntryChanged (object o, EventArgs args) { string text = (o as Gtk.Entry).Text; SetPageComplete (GetNthPage (CurrentPage), text.Length > 0); } // If check button is checked, set the page as complete. void ButtonToggled (object o, EventArgs args) { bool active = (o as ToggleButton).Active; SetPageComplete (o as Widget, active); } // Progress 10% per second after button clicked. void ButtonClicked (object o, EventArgs args) { (o as Widget).Sensitive = false; GLib.Timeout.Add (500, new GLib.TimeoutHandler (TimeoutCallback)); } double fraction = 0.0; bool TimeoutCallback () { fraction += 5.0; progress_bar.Fraction = fraction / 100.0; progress_bar.Text = String.Format ("{0}% Complete", fraction); if (fraction == 100.0) { SetPageComplete (progress_bar.Parent.Parent, true); return false; } return true; } void AssistantCancel (object o, EventArgs args) { Console.WriteLine ("Assistant cancelled."); Destroy (); Application.Quit (); } void AssistantClose (object o, EventArgs args) { Console.WriteLine ("Assistant ran to completion."); Destroy (); Application.Quit (); } } } gtk-sharp-2.12.40/sample/CalendarApp.cs0000775000175000017500000000226312654353766014514 00000000000000// CalendarApp.cs - Gtk.Calendar class Test implementation // // Author: Lee Mallabone // // (c) 2003 Lee Mallabone namespace GtkSamples { using Gtk; using System; public class CalendarApp { public static Calendar CreateCalendar () { Calendar cal = new Calendar(); cal.DisplayOptions = CalendarDisplayOptions.ShowHeading | CalendarDisplayOptions.ShowDayNames | CalendarDisplayOptions.ShowWeekNumbers; return cal; } public static int Main (string[] args) { Application.Init (); Window win = new Window ("Calendar Tester"); win.DefaultWidth = 200; win.DefaultHeight = 150; win.DeleteEvent += new DeleteEventHandler (Window_Delete); Calendar cal = CreateCalendar(); cal.DaySelected += new EventHandler (DaySelected); win.Add (cal); win.ShowAll (); Application.Run (); return 0; } static void DaySelected (object obj, EventArgs args) { Calendar activatedCalendar = (Calendar) obj; Console.WriteLine (activatedCalendar.GetDate ().ToString ("yyyy/MM/dd")); } static void Window_Delete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } } } gtk-sharp-2.12.40/sample/test/0000775000175000017500000000000012767740535013043 500000000000000gtk-sharp-2.12.40/sample/test/ChangeLog0000664000175000017500000001035212654353766014537 000000000000002005-07-27 Dan Winship * TestComboBox.cs: test ComboBoxEntry.Entry 2004-05-31 Jeroen Zwartepoorte reviewed by: * TestCombo.cs: 2004-05-06 Jeroen Zwartepoorte reviewed by: * .cvsignore: * Makefile: * Makefile.am: * TestCombo.cs: * TestSizeGroup.cs: * WidgetViewer.cs: 2004-03-03 Jeroen Zwartepoorte reviewed by: * TestCombo.cs: 2003-03-05 Duncan Mak * TestCombo.cs: New file, to show basic usage of a ComboBox. It's missing some functionality, however. Currently, it's not possible to append to the list of strings in the pop-down. 2003-02-19 Duncan Mak * TestFileSelection.cs: Update to reflect FileSelection changes. * TestToolbar.cs: Change the method signature for the various SignalFuncs. Thanks to Leoric from #mono for pointing it out. 2002-10-11 Duncan Mak * TestToolbar.cs: Fix the arguments to Toolbar.InsertStock. 2002-08-09 Duncan Mak * TestRange.cs (reformat_value): Do something useful here. 2002-07-31 Duncan Mak * *.cs: Flush. Made it use Stock buttons instead of just a plain text label. * TestColorSelection.cs: Made the result dialog work a bit better. * ChangeLog: Added Rachel's ChangeLog entry to here. 2002-07-30 Rachel Hestilow * sample/test/TestColorSelection.cs: Display color string in hex format, update to use IsNull instead of == null, and size dialog to look pretty. 2002-07-25 Duncan Mak * TestRange.cs: Fix the EventHandlers here. 2002-07-23 Duncan Mak * 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. 2002-07-20 Duncan Mak * TestSizeGroup.cs: Minor aesthetic changes. * TestStatusbar.cs: Some changes in the output to figure out why it is behaving like this. 2002-07-19 Duncan Mak * TestSizeGroup.cs: New test for GtkSizeGroup. * Makefile: * WidgetViewer.cs: Include TestSizeGroup. 2002-07-18 Duncan Mak * 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. 2002-07-18 Duncan Mak * TestCheckButton.cs: * TestDialog.cs: * TestFileSelection.cs: * TestFlipping.cs: * TestMenus.cs: * TestRadioButton.cs: * TestRange.cs: * TestStatusbar.cs: * TestTooltip.cs: Removed erroneous references to SignalArgs, and changed EventHandlers to more appropriate specialized Handlers instead. 2002-07-17 Duncan Mak * Makefile: * WidgetViewer.cs: Added TestMenus.cs * TestMenus.cs: New test for testing menu widgets. 2002-07-17 Duncan Mak * 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. 2002-07-16 Duncan Mak * 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 * WidgetViewer.cs (AddButton): New convenience method so that I don't have to type the same thing when adding a new test button. 2002-07-13 Duncan Mak * *.cs: Added copyright material. * *.cs: Checking in testgtk# to CVS. gtk-sharp-2.12.40/sample/test/TestRadioButton.cs0000664000175000017500000000414312654353766016407 00000000000000// // TestRadioButton.cs // // Author: Duncan Mak (duncan@ximian.com) // // Copyright (C) 2002, Duncan Mak, Ximian Inc. // using System; using Gtk; namespace WidgetViewer { public class TestRadioButton { static Window window = null; static RadioButton radio_button = null; public static Gtk.Window Create () { window = new Window ("GtkRadioButton"); window.SetDefaultSize (200, 100); VBox box1 = new VBox (false, 0); window.Add (box1); VBox box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, true, true, 0); radio_button = new RadioButton ("Button 1"); box2.PackStart (radio_button, true, true, 0); radio_button = new RadioButton (radio_button, "Button 2"); radio_button.Active = true; box2.PackStart (radio_button, true, true, 0); radio_button = new RadioButton (radio_button, "Button 3"); box2.PackStart (radio_button, true, true, 0); radio_button = new RadioButton (radio_button, "Inconsistent"); radio_button.Inconsistent = true; box2.PackStart (radio_button, true, true, 0); box1.PackStart (new HSeparator (), false, true, 0); box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, true, true, 0); radio_button = new RadioButton ("Button 4"); radio_button.Mode = false; box2.PackStart (radio_button, true, true, 0); radio_button = new RadioButton (radio_button, "Button 5"); radio_button.Active = true; radio_button.Mode = false; box2.PackStart (radio_button, true, true, 0); radio_button = new RadioButton (radio_button, "Button 6"); radio_button.Mode = false; box2.PackStart (radio_button, true, true, 0); box1.PackStart (new HSeparator (), false, true, 0); box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, false, true, 0); Button button = new Button (Stock.Close); button.Clicked += new EventHandler (Close_Button); box2.PackStart (button, true, true, 0); button.CanDefault = true; button.GrabDefault (); return window; } static void Close_Button (object o, EventArgs args) { window.Destroy (); } } } gtk-sharp-2.12.40/sample/test/TestRange.cs0000664000175000017500000000456312767740470015214 00000000000000// // TestRange.cs // // Author: Duncan Mak (duncan@ximian.com) // // Copyright (C) 2002, Duncan Mak, Ximian Inc. // using System; using Gtk; namespace WidgetViewer { public class TestRange { static Window window = null; public static Gtk.Window Create () { window = new Window ("GtkRange"); window.SetDefaultSize (250, 200); VBox box1 = new VBox (false, 0); window.Add (box1); VBox box2 = new VBox (false, 0); box2.BorderWidth = 10; box1.PackStart (box2, true, true, 0); Adjustment adjustment = new Adjustment (0.0, 0.0, 101.0, 0.1, 1.0, 1.0); HScale hscale = new HScale (adjustment); hscale.SetSizeRequest (150, -1); ((Range) hscale).UpdatePolicy = UpdateType.Delayed; hscale.Digits = 1; hscale.DrawValue = true; box2.PackStart (hscale, true, true, 0); HScrollbar hscrollbar = new HScrollbar (adjustment); ((Range) hscrollbar).UpdatePolicy = UpdateType.Continuous; box2.PackStart (hscrollbar, true, true, 0); hscale = new HScale (adjustment); hscale.DrawValue = true; hscale.FormatValue += new FormatValueHandler (reformat_value); box2.PackStart (hscale, true, true, 0); HBox hbox = new HBox (false, 0); VScale vscale = new VScale (adjustment); vscale.SetSizeRequest (-1, 200); vscale.Digits = 2; vscale.DrawValue = true; hbox.PackStart (vscale, true, true, 0); vscale = new VScale (adjustment); vscale.SetSizeRequest (-1, 200); vscale.Digits = 2; vscale.DrawValue = true; ((Range) vscale).Inverted = true; hbox.PackStart (vscale, true, true, 0); vscale = new VScale (adjustment); vscale.DrawValue = true; vscale.FormatValue += new FormatValueHandler (reformat_value); hbox.PackStart (vscale, true, true, 0); box2.PackStart (hbox, true, true, 0); box1.PackStart (new HSeparator (), false, true, 0); box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, false, true, 0); Button button = new Button (Stock.Close); button.Clicked += new EventHandler (Close_Button); box2.PackStart (button, true, true, 0); button.CanDefault = true; button.GrabDefault (); window.ShowAll (); return window; } static void Close_Button (object o, EventArgs args) { window.Destroy (); } static void reformat_value (object o, FormatValueArgs args) { int x = (int) args.Value; args.RetVal = x.ToString (); } } } gtk-sharp-2.12.40/sample/test/Makefile.in0000664000175000017500000003333512767740507015036 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = sample/test ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SCRIPTS = $(noinst_SCRIPTS) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in ChangeLog DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ TARGETS = WidgetViewer.exe assemblies = $(top_builddir)/glib/glib-sharp.dll $(top_builddir)/pango/pango-sharp.dll $(top_builddir)/atk/atk-sharp.dll $(top_builddir)/gdk/gdk-sharp.dll $(top_builddir)/gtk/gtk-sharp.dll references = $(addprefix -r:, $(assemblies)) noinst_SCRIPTS = $(TARGETS) CLEANFILES = $(TARGETS) EXTRA_DIST = $(sources) ChangeLog sources = \ TestCheckButton.cs \ TestColorSelection.cs \ TestRadioButton.cs \ TestRange.cs \ TestStatusbar.cs \ TestDialog.cs \ TestFlipping.cs \ TestSizeGroup.cs \ TestCombo.cs \ TestComboBox.cs \ WidgetViewer.cs build_sources = $(addprefix $(srcdir)/, $(sources)) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign sample/test/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign sample/test/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(SCRIPTS) installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags-am uninstall uninstall-am .PRECIOUS: Makefile WidgetViewer.exe: $(build_sources) $(assemblies) $(CSC) -out:WidgetViewer.exe $(references) $(build_sources) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/sample/test/TestCombo.cs0000664000175000017500000000265212767740470015214 00000000000000// // TestCombo.cs // // Author: Duncan Mak (duncan@ximian.com) // // Copyright (C) 2003, Duncan Mak, Ximian Inc. // using System; using Gtk; namespace WidgetViewer { public class TestCombo { static Window window = null; static Gtk.Combo combo = null; public static Gtk.Window Create () { window = new Window ("GtkCombo"); window.SetDefaultSize (200, 100); VBox box1 = new VBox (false, 0); window.Add (box1); VBox box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, true, true, 0); combo = new Gtk.Combo (); string[] pop = {"Foo", "Bar"}; combo.PopdownStrings = pop; combo.Entry.Activated += new EventHandler (OnComboActivated); box2.PackStart (combo, true, true, 0); HSeparator separator = new HSeparator (); box1.PackStart (separator, false, false, 0); box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, false, false, 0); Button button = new Button (Stock.Close); button.Clicked += new EventHandler (OnCloseClicked); button.CanDefault = true; box2.PackStart (button, true, true, 0); button.GrabDefault (); return window; } static void OnCloseClicked (object o, EventArgs args) { window.Destroy (); } static void OnComboActivated (object o, EventArgs args) { string text = ((Gtk.Entry) o).Text; // combo.AppendString (text); // combo.SetPopdownStrings (text); } } } gtk-sharp-2.12.40/sample/test/TestComboBox.cs0000664000175000017500000000316512767740470015665 00000000000000// TestCombo.cs // // Author: Mike Kestner (mkestner@novell.com) // // Copyright (c) 2005, Novell, Inc. // using System; using Gtk; namespace WidgetViewer { public class TestComboBox { static Window window = null; public static Gtk.Window Create () { window = new Window ("GtkComboBox"); window.SetDefaultSize (200, 100); VBox box1 = new VBox (false, 0); window.Add (box1); VBox box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, true, true, 0); ComboBoxEntry combo = new Gtk.ComboBoxEntry (new string[] {"Foo", "Bar"}); combo.Changed += new EventHandler (OnComboActivated); combo.Entry.Changed += new EventHandler (OnComboEntryChanged); box2.PackStart (combo, true, true, 0); HSeparator separator = new HSeparator (); box1.PackStart (separator, false, false, 0); box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, false, false, 0); Button button = new Button (Stock.Close); button.Clicked += new EventHandler (OnCloseClicked); button.CanDefault = true; box2.PackStart (button, true, true, 0); button.GrabDefault (); return window; } static void OnCloseClicked (object o, EventArgs args) { window.Destroy (); } static void OnComboActivated (object o, EventArgs args) { ComboBox combo = o as ComboBox; TreeIter iter; if (combo.GetActiveIter (out iter)) Console.WriteLine ((string)combo.Model.GetValue (iter, 0)); } static void OnComboEntryChanged (object o, EventArgs args) { Entry entry = o as Entry; Console.WriteLine ("Entry text is: " + entry.Text); } } } gtk-sharp-2.12.40/sample/test/TestSizeGroup.cs0000664000175000017500000000643712767740470016111 00000000000000// // TestSizeGroup.cs // // Author: Duncan Mak (duncan@ximian.com) // // Copyright (C) 2002, Duncan Mak, Ximian Inc. // using System; using Gtk; namespace WidgetViewer { public class TestSizeGroup { static Dialog window = null; static SizeGroup size_group = null; public static Gtk.Window Create () { window = new Dialog (); window.Title = "Sized groups"; window.Resizable = false; VBox vbox = new VBox (false, 5); window.VBox.PackStart (vbox, true, true, 0); vbox.BorderWidth = 5; size_group = new SizeGroup (SizeGroupMode.Horizontal); Frame frame = new Frame ("Color Options"); vbox.PackStart (frame, true, true, 0); Table table = new Table (2, 2, false); table.BorderWidth = 5; table.RowSpacing = 5; table.ColumnSpacing = 10; frame.Add (table); string [] colors = {"Red", "Green", "Blue", }; string [] dashes = {"Solid", "Dashed", "Dotted", }; string [] ends = {"Square", "Round", "Arrow", }; Add_Row (table, 0, size_group, "_Foreground", colors); Add_Row (table, 1, size_group, "_Background", colors); frame = new Frame ("Line Options"); vbox.PackStart (frame, false, false, 0); table = new Table (2, 2, false); table.BorderWidth = 5; table.RowSpacing = 5; table.ColumnSpacing = 10; frame.Add (table); Add_Row (table, 0, size_group, "_Dashing", dashes); Add_Row (table, 1, size_group, "_Line ends", ends); CheckButton check_button = new CheckButton ("_Enable grouping"); vbox.PackStart (check_button, false, false, 0); check_button.Active = true; check_button.Toggled += new EventHandler (Button_Toggle_Cb); Button close_button = new Button (Stock.Close); close_button.Clicked += new EventHandler (Close_Button); window.ActionArea.PackStart (close_button, false, false, 0); window.ShowAll (); return window; } static ComboBox Create_ComboBox (string [] strings) { /*Menu menu = new Menu (); MenuItem menu_item = null; foreach (string str in strings) { menu_item = new MenuItem (str); menu_item.Show (); menu.Append (menu_item); } OptionMenu option_menu = new OptionMenu (); option_menu.Menu = menu; return option_menu;*/ ComboBox combo_box = new ComboBox (); foreach (string str in strings) { combo_box.AppendText (str); } return combo_box; } static void Add_Row (Table table, uint row, SizeGroup size_group, string label_text, string [] options) { Label label = new Label (label_text); label.SetAlignment (0, 1); table.Attach (label, 0, 1, row, row + 1, AttachOptions.Expand, AttachOptions.Fill, 0, 0); ComboBox combo_box = Create_ComboBox (options); size_group.AddWidget (combo_box); table.Attach (combo_box, 1, 2, row, row + 1, AttachOptions.Expand, AttachOptions.Expand, 0, 0); } static void Button_Toggle_Cb (object o, EventArgs args) { Toggle_Grouping ((ToggleButton) o, size_group); } static void Toggle_Grouping (ToggleButton check_button, SizeGroup size_group) { SizeGroupMode mode; if (check_button.Active) mode = SizeGroupMode.Horizontal; else mode = SizeGroupMode.None; size_group.Mode = mode; } static void Close_Button (object o, EventArgs args) { window.Destroy (); } } } gtk-sharp-2.12.40/sample/test/WidgetViewer.cs0000664000175000017500000000760512767740470015725 00000000000000// // WidgetViewer.cs // // Author: Duncan Mak (duncan@ximian.com) // // Copyright (C) 2002, Duncan Mak, Ximian Inc. // using System; using Gtk; namespace WidgetViewer { public class Viewer { static Window window = null; static Window viewer = null; static Button button = null; static VBox box2 = null; static void Main () { Application.Init (); window = new Window ("Gtk# Widget viewer"); window.DeleteEvent += new DeleteEventHandler (Window_Delete); window.SetDefaultSize (250, 200); VBox box1 = new VBox (false, 0); window.Add (box1); box2 = new VBox (false, 5); box2.BorderWidth = 10; Frame frame = new Frame ("Select a widget"); frame.BorderWidth = 5; frame.Add (box2); box1.PackStart (frame, true, true, 0); AddButton ("Bi-directional flipping", new EventHandler (Flipping)); AddButton ("Check Buttons", new EventHandler (Check_Buttons)); AddButton ("Color Selection", new EventHandler (Color_Selection)); AddButton ("Combo Box", new EventHandler (Combo_Box)); AddButton ("New Combo Box", new EventHandler (New_Combo_Box)); AddButton ("Dialog", new EventHandler (Dialog)); AddButton ("File Selection", new EventHandler (File_Selection)); AddButton ("Menus", new EventHandler (Menus)); AddButton ("Radio Buttons", new EventHandler (Radio_Buttons)); AddButton ("Range Controls", new EventHandler (Range_Controls)); AddButton ("Size Groups", new EventHandler (Size_Groups)); AddButton ("Statusbar", new EventHandler (Statusbar)); AddButton ("Toolbar", new EventHandler (Toolbar)); box1.PackStart (new HSeparator (), false, false, 0); box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, false, false, 0); Button close_button = new Button (Stock.Close); close_button.Clicked += new EventHandler (Close_Button); box2.PackStart (close_button, true, true, 0); window.ShowAll (); Application.Run (); } static void AddButton (string caption, EventHandler handler) { button = new Button (caption); button.Clicked += handler; box2.PackStart (button, false, false, 0); } static void AddWindow (Window dialog) { viewer = dialog; viewer.DeleteEvent += new DeleteEventHandler (Viewer_Delete); viewer.ShowAll (); } static void Window_Delete (object o, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } static void Viewer_Delete (object o, DeleteEventArgs args) { viewer.Destroy (); viewer = null; args.RetVal = true; } static void Close_Button (object o, EventArgs args) { Application.Quit (); } static void Check_Buttons (object o, EventArgs args) { AddWindow (TestCheckButton.Create ()); } static void Color_Selection (object o, EventArgs args) { AddWindow (TestColorSelection.Create ()); } static void File_Selection (object o, EventArgs args) { //AddWindow (TestFileSelection.Create ()); } static void Radio_Buttons (object o, EventArgs args) { AddWindow (TestRadioButton.Create ()); } static void Range_Controls (object o, EventArgs args) { AddWindow (TestRange.Create ()); } static void Statusbar (object o, EventArgs args) { AddWindow (TestStatusbar.Create ()); } static void Toolbar (object o, EventArgs args) { //AddWindow (TestToolbar.Create ()); } static void Dialog (object o, EventArgs args) { AddWindow (TestDialog.Create ()); } static void Flipping (object o, EventArgs args) { AddWindow (TestFlipping.Create ()); } static void Menus (object o, EventArgs args) { //AddWindow (TestMenus.Create ()); } static void Size_Groups (object o, EventArgs args) { AddWindow (TestSizeGroup.Create ()); } static void New_Combo_Box (object o, EventArgs args) { AddWindow (TestComboBox.Create ()); } static void Combo_Box (object o, EventArgs args) { AddWindow (TestCombo.Create ()); } } } gtk-sharp-2.12.40/sample/test/TestStatusbar.cs0000664000175000017500000000424012654353766016123 00000000000000// // TestStatusbar.cs // // Author: Duncan Mak (duncan@ximian.com) // // Copyright (C) 2002, Duncan Mak, Ximian Inc. // using System; using Gtk; namespace WidgetViewer { public class TestStatusbar { static Window window = null; static Statusbar statusbar = null; static int counter = 1; static uint context_id ; public static Gtk.Window Create () { window = new Window ("Statusbar"); window.SetDefaultSize (150, 100); VBox box1 = new VBox (false, 0); window.Add (box1); VBox box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, true, true, 0); statusbar = new Statusbar (); box1.PackEnd (statusbar, true, true, 0); statusbar.TextPopped += new TextPoppedHandler (statusbar_popped); Button button = new Button ("push"); box2.PackStart (button, false, false, 0); button.Clicked += new EventHandler (statusbar_pushed); button = new Button ("pop"); box2.PackStart (button, false, false, 0); button.Clicked += new EventHandler (pop_clicked); box1.PackStart (new HSeparator (), false, true, 0); box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, false, true, 0); Button close_button = new Button (Stock.Close); close_button.Clicked += new EventHandler (Close_Button); box2.PackStart (close_button, true, true, 0); button.CanDefault = true; button.GrabDefault (); window.ShowAll (); return window; } static void pop_clicked (object o, EventArgs args) { if (counter < -1) return; Console.WriteLine ("Pop: " + counter); statusbar.Pop (context_id); counter --; } static void statusbar_popped (object o, TextPoppedArgs args) { Console.WriteLine ("Popped: " + counter); } static void statusbar_pushed (object o, EventArgs args) { string content = null; if (counter < 0) content = String.Empty; else content = String.Format ("Push #{0}", counter); Console.WriteLine ("Push: " + counter); context_id = statusbar.GetContextId (content); statusbar.Push (context_id, content); counter ++; } static void Close_Button (object o, EventArgs args) { window.Destroy (); } } } gtk-sharp-2.12.40/sample/test/TestColorSelection.cs0000664000175000017500000000661612767740470017105 00000000000000// // TestColorSelection.cs // // Author: Duncan Mak (duncan@ximian.com) // // Copyright (C) 2002, Duncan Mak, Ximian Inc. // using System; using System.Text; using Gtk; namespace WidgetViewer { public class TestColorSelection { static ColorSelectionDialog window = null; static Dialog dialog = null; public static Gtk.Window Create () { HBox options = new HBox (false, 0); CheckButton check_button = null; window = new ColorSelectionDialog ("Color selection dialog"); window.ColorSelection.HasOpacityControl = true; window.ColorSelection.HasPalette = true; window.SetDefaultSize (250, 200); window.VBox.PackStart (options, false, false, 0); window.VBox.BorderWidth = 10; check_button = new CheckButton("Show Opacity"); check_button.Active = true; options.PackStart (check_button, false, false, 0); check_button.Toggled += new EventHandler (Opacity_Callback); check_button = new CheckButton("Show Palette"); check_button.Active = true; options.PackEnd (check_button, false, false, 0); check_button.Toggled += new EventHandler (Palette_Callback); window.ColorSelection.ColorChanged += new EventHandler (Color_Changed); window.OkButton.Clicked += new EventHandler (Color_Selection_OK); window.CancelButton.Clicked += new EventHandler (Color_Selection_Cancel); options.ShowAll (); return window; } static void Opacity_Callback (object o, EventArgs args) { window.ColorSelection.HasOpacityControl = ((ToggleButton )o).Active; } static void Palette_Callback (object o, EventArgs args) { window.ColorSelection.HasPalette = ((ToggleButton )o).Active; } static string HexFormat (Gdk.Color color) { StringBuilder s = new StringBuilder (); ushort[] vals = { color.Red, color.Green, color.Blue }; char[] hexchars = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'}; s.Append ('#'); foreach (ushort val in vals) { /* Convert to a range of 0-255, then lookup the * digit for each half-byte */ byte rounded = (byte) (val >> 8); s.Append (hexchars[(rounded & 0xf0) >> 4]); s.Append (hexchars[rounded & 0x0f]); } return s.ToString (); } static void Color_Changed (object o, EventArgs args) { Gdk.Color color = window.ColorSelection.CurrentColor; Console.WriteLine (HexFormat (color)); } static void Color_Selection_OK (object o, EventArgs args) { Gdk.Color selected = window.ColorSelection.CurrentColor; window.Hide (); Display_Result (selected); } static void Color_Selection_Cancel (object o, EventArgs args) { window.Destroy (); } static void Dialog_Ok (object o, EventArgs args) { dialog.Destroy (); window.ShowAll (); } static void Display_Result (Gdk.Color color) { dialog = new Dialog (); dialog.Title = "Selected Color: " + HexFormat (color); dialog.HasSeparator = true; DrawingArea da = new DrawingArea (); da.ModifyBg (StateType.Normal, color); dialog.VBox.BorderWidth = 10; dialog.VBox.PackStart (da, true, true, 10); dialog.SetDefaultSize (200, 200); Button button = new Button (Stock.Ok); button.Clicked += new EventHandler (Dialog_Ok); button.CanDefault = true; dialog.ActionArea.PackStart (button, true, true, 0); button.GrabDefault (); dialog.ShowAll (); } static void Close_Button (object o, EventArgs args) { Color_Selection_Cancel (o, args); } } } gtk-sharp-2.12.40/sample/test/TestCheckButton.cs0000664000175000017500000000301612654353766016364 00000000000000// // TestCheckButton.cs // // Author: Duncan Mak (duncan@ximian.com) // // Copyright (C) 2002, Duncan Mak, Ximian Inc. // using System; using Gtk; namespace WidgetViewer { public class TestCheckButton { static Window window = null; static CheckButton checked_button = null; public static Gtk.Window Create () { window = new Window ("GtkCheckButton"); window.SetDefaultSize (200, 100); VBox box1 = new VBox (false, 0); window.Add (box1); VBox box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, true, true, 0); checked_button = new CheckButton ("_button1"); box2.PackStart (checked_button, true, true, 0); checked_button = new CheckButton ("button2"); box2.PackStart (checked_button, true, true, 0); checked_button = new CheckButton ("button3"); box2.PackStart (checked_button, true, true, 0); checked_button = new CheckButton ("Inconsistent"); checked_button.Inconsistent = true; box2.PackStart (checked_button, true, true, 0); HSeparator separator = new HSeparator (); box1.PackStart (separator, false, false, 0); box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, false, false, 0); Button button = new Button (Stock.Close); button.Clicked += new EventHandler (OnCloseClicked); button.CanDefault = true; box2.PackStart (button, true, true, 0); button.GrabDefault (); return window; } static void OnCloseClicked (object o, EventArgs args) { window.Destroy (); } } } gtk-sharp-2.12.40/sample/test/Makefile.am0000664000175000017500000000136212767740470015017 00000000000000TARGETS = WidgetViewer.exe assemblies=$(top_builddir)/glib/glib-sharp.dll $(top_builddir)/pango/pango-sharp.dll $(top_builddir)/atk/atk-sharp.dll $(top_builddir)/gdk/gdk-sharp.dll $(top_builddir)/gtk/gtk-sharp.dll references = $(addprefix -r:, $(assemblies)) noinst_SCRIPTS = $(TARGETS) CLEANFILES = $(TARGETS) EXTRA_DIST = $(sources) ChangeLog sources = \ TestCheckButton.cs \ TestColorSelection.cs \ TestRadioButton.cs \ TestRange.cs \ TestStatusbar.cs \ TestDialog.cs \ TestFlipping.cs \ TestSizeGroup.cs \ TestCombo.cs \ TestComboBox.cs \ WidgetViewer.cs build_sources = $(addprefix $(srcdir)/, $(sources)) WidgetViewer.exe: $(build_sources) $(assemblies) $(CSC) -out:WidgetViewer.exe $(references) $(build_sources) gtk-sharp-2.12.40/sample/test/TestDialog.cs0000664000175000017500000000332712767740470015354 00000000000000// // TestDialog.cs // // Author: Duncan Mak (duncan@ximian.com) // // Copyright (C) 2002, Duncan Mak, Ximian Inc. // using System; using Gtk; namespace WidgetViewer { public class TestDialog { static Dialog window = null; static Label label = null; public static Gtk.Window Create () { window = new Dialog (); window.Response += new ResponseHandler (Print_Response); window.SetDefaultSize (200, 100); window.Title = "GtkDialog"; Button button = new Button (Stock.Ok); button.Clicked += new EventHandler (Close_Button); button.CanDefault = true; window.ActionArea.PackStart (button, true, true, 0); button.GrabDefault (); ToggleButton toggle_button = new ToggleButton ("Toggle Label"); toggle_button.Clicked += new EventHandler (Label_Toggle); window.ActionArea.PackStart (toggle_button, true, true, 0); toggle_button = new ToggleButton ("Toggle Separator"); toggle_button.Clicked += new EventHandler (Separator_Toggle); window.ActionArea.PackStart (toggle_button, true, true, 0); window.ShowAll (); return window; } static void Close_Button (object o, EventArgs args) { window.Destroy (); } static void Print_Response (object o, ResponseArgs args) { Console.WriteLine ("Received response signal: " + args.ResponseId); } static void Label_Toggle (object o, EventArgs args) { if (label == null) { label = new Label ("This is Text label inside a Dialog"); label.SetPadding (10, 10); window.VBox.PackStart (label, true, true, 0); label.Show (); } else { label.Destroy (); label = null; } } static void Separator_Toggle (object o, EventArgs args) { window.HasSeparator = (!((ToggleButton) o).Active); } } } gtk-sharp-2.12.40/sample/test/TestFlipping.cs0000664000175000017500000000312612767740470015722 00000000000000// // TestFlipping.cs // // Author: Duncan Mak (duncan@ximian.com) // // Copyright (C) 2002, Duncan Mak, Ximian Inc. // using System; using Gtk; namespace WidgetViewer { public class TestFlipping { static Dialog window = null; static CheckButton check_button = null; static Button button = null; static Label label = null; public static Gtk.Window Create () { window = new Dialog (); window.Title = "Bi-directional flipping"; window.SetDefaultSize (200, 100); label = new Label ("Label direction: Left-to-right"); label.UseMarkup = true; label.SetPadding (3, 3); window.VBox.PackStart (label, true, true, 0); check_button = new CheckButton ("Toggle label direction"); window.VBox.PackStart (check_button, true, true, 2); if (window.Direction == TextDirection.Ltr) check_button.Active = true; check_button.Toggled += new EventHandler (Toggle_Flip); check_button.BorderWidth = 10; button = new Button (Stock.Close); button.Clicked += new EventHandler (Close_Button); button.CanDefault = true; window.ActionArea.PackStart (button, true, true, 0); button.GrabDefault (); window.ShowAll (); return window; } static void Toggle_Flip (object o, EventArgs args) { if (((CheckButton) o).Active) { check_button.Direction = TextDirection.Ltr; label.Markup = "Label direction: Left-to-right"; } else { check_button.Direction = TextDirection.Rtl; label.Markup = "Label direction: Right-to-left"; } } static void Close_Button (object o, EventArgs args) { window.Destroy (); } } } gtk-sharp-2.12.40/sample/opaquetest/0000775000175000017500000000000012767740535014256 500000000000000gtk-sharp-2.12.40/sample/opaquetest/OpaqueTest.cs0000664000175000017500000002335512654353766016630 00000000000000// Opaquetest.cs: GLib.Opaque regression test // // Copyright (c) 2005 Novell, Inc. using Gtksharp; using System; public class OpaqueTest { static int errors = 0; static void GC () { System.GC.Collect (); System.GC.WaitForPendingFinalizers (); System.GC.Collect (); System.GC.WaitForPendingFinalizers (); } public static int Main () { Gtk.Application.Init (); TestOpaque (); Console.WriteLine (); TestRefcounted (); Console.WriteLine (); Console.WriteLine ("{0} errors", errors); return errors; } static Opaque ret_op; static Opaque ReturnOpaque () { return ret_op; } static void TestOpaque () { Opaque op, op1; IntPtr handle; Console.WriteLine ("Testing Opaque new/free"); op = new Opaque (); if (!op.Owned) Error ("Newly-created Opaque is not Owned"); handle = op.Handle; op.Dispose (); op = new Opaque (handle); if (op.Owned) Error ("IntPtr-created Opaque is Owned"); if (Opaquetest.Error) Error ("Memory error after initial new/free."); Opaquetest.ExpectError = true; if (op.Serial != Opaque.LastSerial) Error ("Serial mismatch. Expected {0}, Got {1}", Opaque.LastSerial, op.Serial); if (!Opaquetest.Error) Error ("Opaque not properly freed."); op.Dispose (); if (Opaquetest.Error) Error ("Opaque created from IntPtr was freed by gtk#"); Console.WriteLine ("Testing Opaque copy/free"); op = new Opaque (); op1 = op.Copy (); handle = op1.Handle; op.Dispose (); op1.Dispose (); if (Opaquetest.Error) Error ("Memory error after initial copy/free."); op = new Opaque (handle); Opaquetest.ExpectError = true; if (op.Serial != Opaque.LastSerial) Error ("Serial mismatch. Expected {0}, Got {1}", Opaque.LastSerial, op.Serial); if (!Opaquetest.Error) Error ("Opaque not properly freed."); op.Dispose (); if (Opaquetest.Error) Error ("Opaque created from IntPtr was freed by gtk#"); Console.WriteLine ("Testing non-owned return."); op = new Opaque (); op1 = new Opaque (); op.Friend = op1; if (Opaquetest.Error) Error ("Memory error after setting op.Friend."); op1 = op.Friend; if (op1.Serial != Opaque.LastSerial || Opaquetest.Error) Error ("Error reading op.Friend. Expected {0}, Got {1}", Opaque.LastSerial, op1.Serial); if (!op1.Owned) Error ("op1 not Owned after being read off op.Friend"); op.Dispose (); op1.Dispose (); if (Opaquetest.Error) Error ("Memory error after freeing op and op1."); Console.WriteLine ("Testing returning a Gtk#-owned opaque from C# to C"); ret_op = new Opaque (); op = Opaque.Check (new Gtksharp.OpaqueReturnFunc (ReturnOpaque), new Gtksharp.GCFunc (GC)); if (op.Serial != Opaque.LastSerial || Opaquetest.Error) Error ("Error during Opaque.Check. Expected {0}, Got {1}", Opaque.LastSerial, op.Serial); op.Dispose (); if (Opaquetest.Error) Error ("Memory error after clearing op."); Console.WriteLine ("Testing returning a Gtk#-owned opaque to a C method that will free it"); ret_op = new Opaque (); op = Opaque.CheckFree (new Gtksharp.OpaqueReturnFunc (ReturnOpaque), new Gtksharp.GCFunc (GC)); if (Opaquetest.Error) Error ("Error during Opaque.CheckFree."); Opaquetest.ExpectError = true; if (op.Serial != Opaque.LastSerial) Error ("Error during Opaque.CheckFree. Expected {0}, Got {1}", Opaque.LastSerial, op.Serial); if (!Opaquetest.Error) Error ("Didn't get expected error accessing op.Serial!"); Opaquetest.ExpectError = true; op.Dispose (); if (!Opaquetest.Error) Error ("Didn't get expected double free on op after CheckFree!"); Console.WriteLine ("Testing leaking a C-owned opaque"); ret_op = new Opaque (); ret_op.Owned = false; op = Opaque.Check (new Gtksharp.OpaqueReturnFunc (ReturnOpaque), new Gtksharp.GCFunc (GC)); if (op.Serial != Opaque.LastSerial || Opaquetest.Error) Error ("Error during Opaque.Check. Expected {0}, Got {1}", Opaque.LastSerial, op.Serial); handle = op.Handle; op.Dispose (); if (Opaquetest.Error) Error ("Memory error after disposing op."); op = new Opaque (handle); if (op.Serial != Opaque.LastSerial || Opaquetest.Error) Error ("Failed to leak op. Expected {0}, Got {1}", Opaque.LastSerial, op.Serial); Console.WriteLine ("Testing handing over a C-owned opaque to a C method that will free it"); ret_op = new Opaque (); ret_op.Owned = false; op = Opaque.CheckFree (new Gtksharp.OpaqueReturnFunc (ReturnOpaque), new Gtksharp.GCFunc (GC)); if (Opaquetest.Error) Error ("Error during Opaque.CheckFree."); Opaquetest.ExpectError = true; if (op.Serial != Opaque.LastSerial) Error ("Error during Opaque.CheckFree. Expected {0}, Got {1}", Opaque.LastSerial, op.Serial); if (!Opaquetest.Error) Error ("Didn't get expected error accessing op.Serial!"); op.Dispose (); if (Opaquetest.Error) Error ("Double free on op!"); } static Refcounted ret_ref; static Refcounted ReturnRefcounted () { return ret_ref; } static void TestRefcounted () { Refcounted ref1, ref2; IntPtr handle; Console.WriteLine ("Testing Refcounted new/free"); ref1 = new Refcounted (); if (!ref1.Owned) Error ("Newly-created Refcounted is not Owned"); handle = ref1.Handle; ref1.Dispose (); Opaquetest.ExpectError = true; ref1 = new Refcounted (handle); if (!Opaquetest.Error) Error ("Didn't get expected ref error resurrecting ref1."); if (!ref1.Owned) Error ("IntPtr-created Refcounted is not Owned"); Opaquetest.ExpectError = true; if (ref1.Serial != Refcounted.LastSerial) Error ("Serial mismatch. Expected {0}, Got {1}", Refcounted.LastSerial, ref1.Serial); // We caused it to take a ref on the "freed" underlying object, so // undo that now so it doesn't cause an error later when we're not // expecting it. Opaquetest.ExpectError = true; ref1.Dispose (); Opaquetest.Error = false; Console.WriteLine ("Testing Refcounted leak/non-free"); ref1 = new Refcounted (); ref1.Owned = false; handle = ref1.Handle; ref1.Dispose (); ref1 = new Refcounted (handle); if (Opaquetest.Error) Error ("Non-owned ref was freed by gtk#"); if (ref1.Serial != Refcounted.LastSerial) Error ("Serial mismatch. Expected {0}, Got {1}", Refcounted.LastSerial, ref1.Serial); if (Opaquetest.Error) Error ("Non-owned ref was freed by gtk#"); Console.WriteLine ("Testing non-owned return."); ref1 = new Refcounted (); ref2 = new Refcounted (); ref1.Friend = ref2; if (Opaquetest.Error) Error ("Memory error after setting ref1.Friend."); if (ref2.Refcount != 2) Error ("Refcount wrong for ref2 after setting ref1.Friend. Expected 2, Got {0}", ref2.Refcount); ref2.Dispose (); ref2 = ref1.Friend; if (ref2.Serial != Refcounted.LastSerial || Opaquetest.Error) Error ("Error reading ref1.Friend. Expected {0}, Got {1}", Refcounted.LastSerial, ref2.Serial); if (ref2.Refcount != 2 || Opaquetest.Error) Error ("Refcount wrong for ref2 after reading ref1.Friend. Expected 2, Got {0}", ref2.Refcount); if (!ref2.Owned) Error ("ref2 not Owned after being read off ref1.Friend"); ref1.Dispose (); ref2.Dispose (); if (Opaquetest.Error) Error ("Memory error after freeing ref1 and ref2."); Console.WriteLine ("Testing returning a Gtk#-owned refcounted from C# to C"); ret_ref = new Refcounted (); ref1 = Refcounted.Check (new Gtksharp.RefcountedReturnFunc (ReturnRefcounted), new Gtksharp.GCFunc (GC)); if (ref1.Serial != Refcounted.LastSerial || Opaquetest.Error) Error ("Error during Refcounted.Check. Expected {0}, Got {1}", Refcounted.LastSerial, ref1.Serial); ref1.Dispose (); if (Opaquetest.Error) Error ("Memory error after clearing ref1."); Console.WriteLine ("Testing returning a Gtk#-owned refcounted to a C method that will free it"); ret_ref = new Refcounted (); ref1 = Refcounted.CheckUnref (new Gtksharp.RefcountedReturnFunc (ReturnRefcounted), new Gtksharp.GCFunc (GC)); if (Opaquetest.Error) Error ("Error during Refcounted.CheckUnref."); Opaquetest.ExpectError = true; if (ref1.Serial != Refcounted.LastSerial) Error ("Error during Refcounted.CheckUnref. Expected {0}, Got {1}", Refcounted.LastSerial, ref1.Serial); if (!Opaquetest.Error) Error ("Didn't get expected error accessing ref1.Serial!"); Opaquetest.ExpectError = true; ref1.Dispose (); if (!Opaquetest.Error) Error ("Didn't get expected double free on ref1 after CheckUnref!"); Console.WriteLine ("Testing leaking a C-owned refcounted"); ret_ref = new Refcounted (); ret_ref.Owned = false; ref1 = Refcounted.Check (new Gtksharp.RefcountedReturnFunc (ReturnRefcounted), new Gtksharp.GCFunc (GC)); if (ref1.Serial != Refcounted.LastSerial || Opaquetest.Error) Error ("Error during Refcounted.Check. Expected {0}, Got {1}", Refcounted.LastSerial, ref1.Serial); handle = ref1.Handle; ref1.Dispose (); if (Opaquetest.Error) Error ("Memory error after disposing ref1."); ref1 = new Refcounted (handle); if (ref1.Serial != Refcounted.LastSerial || Opaquetest.Error) Error ("Failed to leak ref1. Expected {0}, Got {1}", Refcounted.LastSerial, ref1.Serial); Console.WriteLine ("Testing handing over a C-owned refcounted to a C method that will free it"); ret_ref = new Refcounted (); ret_ref.Owned = false; ref1 = Refcounted.CheckUnref (new Gtksharp.RefcountedReturnFunc (ReturnRefcounted), new Gtksharp.GCFunc (GC)); if (Opaquetest.Error) Error ("Error during Refcounted.CheckUnref."); Opaquetest.ExpectError = true; if (ref1.Serial != Refcounted.LastSerial) Error ("Error during Refcounted.CheckUnref. Expected {0}, Got {1}", Refcounted.LastSerial, ref1.Serial); if (!Opaquetest.Error) Error ("Didn't get expected error accessing ref1.Serial!"); ref1.Dispose (); if (Opaquetest.Error) Error ("Double free on ref1!"); } static void Error (string message, params object[] args) { Console.Error.WriteLine (" MANAGED ERROR: " + message, args); errors++; } } gtk-sharp-2.12.40/sample/opaquetest/opaque-sources.xml0000664000175000017500000000030612654353766017673 00000000000000 . gtk-sharp-2.12.40/sample/opaquetest/opaques.c0000664000175000017500000001165212654353766016025 00000000000000/* opaques.c: Opaque memory management test objects * * Copyright (c) 2005 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include "opaques.h" #include static int opserial, refserial; static gboolean error = FALSE, expect_error = FALSE; static gboolean check_error (gboolean valid, const char *msg, ...); GtksharpOpaque * gtksharp_opaque_new (void) { GtksharpOpaque *op = g_new0 (GtksharpOpaque, 1); op->valid = TRUE; op->serial = opserial++; return op; } int gtksharp_opaque_get_serial (GtksharpOpaque *op) { check_error (op->valid, "get_serial on freed GtksharpOpaque serial %d\n", op->serial); return op->serial; } void gtksharp_opaque_set_friend (GtksharpOpaque *op, GtksharpOpaque *friend) { check_error (op->valid, "set_friend on freed GtksharpOpaque serial %d\n", op->serial); op->friend = friend; } GtksharpOpaque * gtksharp_opaque_get_friend (GtksharpOpaque *op) { check_error (op->valid, "get_friend on freed GtksharpOpaque serial %d\n", op->serial); return op->friend; } GtksharpOpaque * gtksharp_opaque_copy (GtksharpOpaque *op) { check_error (op->valid, "copying freed GtksharpOpaque serial %d\n", op->serial); return gtksharp_opaque_new (); } void gtksharp_opaque_free (GtksharpOpaque *op) { check_error (op->valid, "Double free of GtksharpOpaque serial %d\n", op->serial); op->valid = FALSE; /* We don't actually free it */ } GtksharpOpaque * gtksharp_opaque_check (GtksharpOpaqueReturnFunc func, GtksharpGCFunc gc) { GtksharpOpaque *op = func (); gc (); return op; } GtksharpOpaque * gtksharp_opaque_check_free (GtksharpOpaqueReturnFunc func, GtksharpGCFunc gc) { GtksharpOpaque *op = func (); gc (); gtksharp_opaque_free (op); gc (); return op; } int gtksharp_opaque_get_last_serial (void) { return opserial - 1; } GtksharpRefcounted * gtksharp_refcounted_new (void) { GtksharpRefcounted *ref = g_new0 (GtksharpRefcounted, 1); ref->valid = TRUE; ref->refcount = 1; ref->serial = refserial++; return ref; } int gtksharp_refcounted_get_serial (GtksharpRefcounted *ref) { check_error (ref->valid, "get_serial on freed GtksharpRefcounted serial %d\n", ref->serial); return ref->serial; } void gtksharp_refcounted_ref (GtksharpRefcounted *ref) { if (check_error (ref->valid, "ref on freed GtksharpRefcounted serial %d\n", ref->serial)) return; ref->refcount++; } void gtksharp_refcounted_unref (GtksharpRefcounted *ref) { if (check_error (ref->valid, "unref on freed GtksharpRefcounted serial %d\n", ref->serial)) return; if (--ref->refcount == 0) { ref->valid = FALSE; /* We don't actually free it */ } } int gtksharp_refcounted_get_refcount (GtksharpRefcounted *ref) { check_error (ref->valid, "get_refcount on freed GtksharpRefcounted serial %d\n", ref->serial); return ref->refcount; } void gtksharp_refcounted_set_friend (GtksharpRefcounted *ref, GtksharpRefcounted *friend) { check_error (ref->valid, "set_friend on freed GtksharpRefcounted serial %d\n", ref->serial); if (ref->friend) gtksharp_refcounted_unref (ref->friend); ref->friend = friend; if (ref->friend) gtksharp_refcounted_ref (ref->friend); } GtksharpRefcounted * gtksharp_refcounted_get_friend (GtksharpRefcounted *ref) { check_error (ref->valid, "get_friend on freed GtksharpRefcounted serial %d\n", ref->serial); return ref->friend; } GtksharpRefcounted * gtksharp_refcounted_check (GtksharpRefcountedReturnFunc func, GtksharpGCFunc gc) { GtksharpRefcounted *ref = func (); gc (); return ref; } GtksharpRefcounted * gtksharp_refcounted_check_unref (GtksharpRefcountedReturnFunc func, GtksharpGCFunc gc) { GtksharpRefcounted *ref = func (); gc (); gtksharp_refcounted_unref (ref); gc (); return ref; } int gtksharp_refcounted_get_last_serial (void) { return refserial - 1; } static gboolean check_error (gboolean valid, const char *msg, ...) { va_list ap; if (valid) return FALSE; error = TRUE; if (expect_error) { expect_error = FALSE; return FALSE; } expect_error = FALSE; fprintf (stderr, " UNMANAGED ERROR: "); va_start (ap, msg); vfprintf (stderr, msg, ap); va_end (ap); return TRUE; } gboolean gtksharp_opaquetest_get_error (void) { gboolean old_error = error; error = expect_error = FALSE; return old_error; } void gtksharp_opaquetest_set_error (gboolean err) { error = err; } void gtksharp_opaquetest_set_expect_error (gboolean err) { expect_error = err; } gtk-sharp-2.12.40/sample/opaquetest/Makefile.in0000664000175000017500000005441712767740507016255 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = sample/opaquetest ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = opaquetest.exe.config CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(libdir)" LTLIBRARIES = $(lib_LTLIBRARIES) am__DEPENDENCIES_1 = libopaque_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am_libopaque_la_OBJECTS = opaques.lo libopaque_la_OBJECTS = $(am_libopaque_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = libopaque_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(libopaque_la_LDFLAGS) $(LDFLAGS) -o $@ SCRIPTS = $(noinst_SCRIPTS) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(libopaque_la_SOURCES) DIST_SOURCES = $(libopaque_la_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in \ $(srcdir)/opaquetest.exe.config.in $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ noinst_SCRIPTS = opaquetest.exe lib_LTLIBRARIES = libopaque.la assemblies = $(top_builddir)/glib/glib-sharp.dll $(top_builddir)/pango/pango-sharp.dll $(top_builddir)/atk/atk-sharp.dll $(top_builddir)/gdk/gdk-sharp.dll $(top_builddir)/gtk/gtk-sharp.dll references = $(addprefix -r:, $(assemblies)) libopaque_la_SOURCES = \ opaques.c \ opaques.h libopaque_la_LDFLAGS = -module -avoid-version -no-undefined libopaque_la_LIBADD = $(GTK_LIBS) INCLUDES = $(GTK_CFLAGS) CLEANFILES = \ opaquetest.exe \ opaquetest.exe.mdb \ generated/*.cs EXTRA_DIST = \ OpaqueTest.cs \ opaque-api.xml \ opaque-sources.xml all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign sample/opaquetest/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign sample/opaquetest/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): opaquetest.exe.config: $(top_builddir)/config.status $(srcdir)/opaquetest.exe.config.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ list2=; for p in $$list; do \ if test -f $$p; then \ list2="$$list2 $$p"; \ else :; fi; \ done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ } uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ done clean-libLTLIBRARIES: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) @list='$(lib_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libopaque.la: $(libopaque_la_OBJECTS) $(libopaque_la_DEPENDENCIES) $(EXTRA_libopaque_la_DEPENDENCIES) $(AM_V_CCLD)$(libopaque_la_LINK) -rpath $(libdir) $(libopaque_la_OBJECTS) $(libopaque_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/opaques.Plo@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) $(SCRIPTS) installdirs: for dir in "$(DESTDIR)$(libdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-libLTLIBRARIES install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-libLTLIBRARIES .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ clean-libLTLIBRARIES clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-compile distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-libLTLIBRARIES install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-am uninstall uninstall-am uninstall-libLTLIBRARIES .PRECIOUS: Makefile opaquetest.exe: OpaqueTest.cs generated/*.cs $(assemblies) $(CSC) -out:opaquetest.exe $(references) $(srcdir)/OpaqueTest.cs $(GENERATED_SOURCES) generated/*.cs: opaque-api.xml $(RUNTIME) $(top_builddir)/generator/gapi_codegen.exe --generate $(srcdir)/opaque-api.xml --include $(top_builddir)/gtk/gtk-api.xml $(top_builddir)/gdk/gdk-api.xml --outdir=generated --assembly-name=opaque-sharp api: PATH=$(top_builddir)/parser:$PATH $(RUNTIME) $(top_builddir)/parser/gapi-parser.exe opaque-sources.xml $(RUNTIME) $(top_builddir)/parser/gapi-fixup.exe --metadata=Opaque.metadata --api=opaque-api.xml install: # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/sample/opaquetest/opaque-api.xml0000664000175000017500000001172612767740470016766 00000000000000 gtk-sharp-2.12.40/sample/opaquetest/opaquetest.exe.config.in0000664000175000017500000000016212654353766020744 00000000000000 gtk-sharp-2.12.40/sample/opaquetest/Makefile.am0000664000175000017500000000230712767740470016232 00000000000000noinst_SCRIPTS = opaquetest.exe lib_LTLIBRARIES = libopaque.la assemblies=$(top_builddir)/glib/glib-sharp.dll $(top_builddir)/pango/pango-sharp.dll $(top_builddir)/atk/atk-sharp.dll $(top_builddir)/gdk/gdk-sharp.dll $(top_builddir)/gtk/gtk-sharp.dll references=$(addprefix -r:, $(assemblies)) opaquetest.exe: OpaqueTest.cs generated/*.cs $(assemblies) $(CSC) -out:opaquetest.exe $(references) $(srcdir)/OpaqueTest.cs $(GENERATED_SOURCES) libopaque_la_SOURCES = \ opaques.c \ opaques.h libopaque_la_LDFLAGS = -module -avoid-version -no-undefined libopaque_la_LIBADD = $(GTK_LIBS) INCLUDES = $(GTK_CFLAGS) generated/*.cs: opaque-api.xml $(RUNTIME) $(top_builddir)/generator/gapi_codegen.exe --generate $(srcdir)/opaque-api.xml --include $(top_builddir)/gtk/gtk-api.xml $(top_builddir)/gdk/gdk-api.xml --outdir=generated --assembly-name=opaque-sharp api: PATH=$(top_builddir)/parser:$PATH $(RUNTIME) $(top_builddir)/parser/gapi-parser.exe opaque-sources.xml $(RUNTIME) $(top_builddir)/parser/gapi-fixup.exe --metadata=Opaque.metadata --api=opaque-api.xml install: CLEANFILES = \ opaquetest.exe \ opaquetest.exe.mdb \ generated/*.cs EXTRA_DIST = \ OpaqueTest.cs \ opaque-api.xml \ opaque-sources.xml gtk-sharp-2.12.40/sample/opaquetest/opaques.h0000664000175000017500000000461312654353766016031 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Copyright (C) 2000-2003, Ximian, Inc. */ #ifndef GTKSHARP_OPAQUES_H #define GTKSHARP_OPAQUES_H 1 #include typedef void (*GtksharpGCFunc) (void); typedef struct GtksharpOpaque GtksharpOpaque; struct GtksharpOpaque { int serial; gboolean valid; GtksharpOpaque *friend; }; typedef GtksharpOpaque *(*GtksharpOpaqueReturnFunc) (void); GtksharpOpaque *gtksharp_opaque_new (void); int gtksharp_opaque_get_serial (GtksharpOpaque *op); void gtksharp_opaque_set_friend (GtksharpOpaque *op, GtksharpOpaque *friend); GtksharpOpaque *gtksharp_opaque_get_friend (GtksharpOpaque *op); GtksharpOpaque *gtksharp_opaque_copy (GtksharpOpaque *op); void gtksharp_opaque_free (GtksharpOpaque *op); GtksharpOpaque *gtksharp_opaque_check (GtksharpOpaqueReturnFunc func, GtksharpGCFunc gc); GtksharpOpaque *gtksharp_opaque_check_free (GtksharpOpaqueReturnFunc func, GtksharpGCFunc gc); int gtksharp_opaque_get_last_serial (void); typedef struct GtksharpRefcounted GtksharpRefcounted; struct GtksharpRefcounted { int serial, refcount; gboolean valid; GtksharpRefcounted *friend; }; typedef GtksharpRefcounted *(*GtksharpRefcountedReturnFunc) (void); GtksharpRefcounted *gtksharp_refcounted_new (void); int gtksharp_refcounted_get_serial (GtksharpRefcounted *ref); void gtksharp_refcounted_ref (GtksharpRefcounted *ref); void gtksharp_refcounted_unref (GtksharpRefcounted *ref); int gtksharp_refcounted_get_refcount (GtksharpRefcounted *ref); void gtksharp_refcounted_set_friend (GtksharpRefcounted *ref, GtksharpRefcounted *friend); GtksharpRefcounted *gtksharp_refcounted_get_friend (GtksharpRefcounted *ref); GtksharpRefcounted *gtksharp_refcounted_check (GtksharpRefcountedReturnFunc func, GtksharpGCFunc gc); GtksharpRefcounted *gtksharp_refcounted_check_unref (GtksharpRefcountedReturnFunc func, GtksharpGCFunc gc); int gtksharp_refcounted_get_last_serial (void); gboolean gtksharp_opaquetest_get_error (void); void gtksharp_opaquetest_set_error (gboolean err); void gtksharp_opaquetest_set_expect_error (gboolean err); #endif /* GTKSHARP_OPAQUES_H */ gtk-sharp-2.12.40/sample/Makefile.in0000664000175000017500000006050212767740507014053 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = sample ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SCRIPTS = $(noinst_SCRIPTS) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = test GtkDemo pixmaps valtest opaquetest @ENABLE_MONO_CAIRO_FALSE@cairo_ref = $(MONO_CAIRO_LIBS) @ENABLE_MONO_CAIRO_TRUE@cairo_ref = -r:$(top_builddir)/cairo/Mono.Cairo.dll @ENABLE_GLADE_FALSE@GLADE_TARGETS = @ENABLE_GLADE_TRUE@GLADE_TARGETS = glade-viewer.exe glade-test.exe @ENABLE_GLADE_FALSE@GLADE_ASSEMBLY = @ENABLE_GLADE_TRUE@GLADE_ASSEMBLY = $(top_builddir)/glade/glade-sharp.dll @ENABLE_DOTNET_FALSE@DOTNET_TARGETS = @ENABLE_DOTNET_TRUE@DOTNET_TARGETS = drawing-sample.exe @ENABLE_DOTNET_FALSE@DOTNET_ASSEMBLY = @ENABLE_DOTNET_TRUE@DOTNET_ASSEMBLY = $(top_builddir)/gtkdotnet/gtk-dotnet.dll TARGETS = polarfixed.exe custom-widget.exe custom-cellrenderer.exe gtk-hello-world.exe button.exe calendar.exe subclass.exe menu.exe size.exe scribble.exe scribble-xinput.exe treeviewdemo.exe managedtreeviewdemo.exe nodeviewdemo.exe treemodeldemo.exe testdnd.exe actions.exe spawn.exe assistant.exe registerprop.exe gexceptiontest.exe cairo-sample.exe $(GLADE_TARGETS) $(DOTNET_TARGETS) DEBUGS = $(addsuffix .mdb, $(TARGETS)) assemblies = $(top_builddir)/glib/glib-sharp.dll $(top_builddir)/pango/pango-sharp.dll $(top_builddir)/atk/atk-sharp.dll $(top_builddir)/gdk/gdk-sharp.dll $(top_builddir)/gtk/gtk-sharp.dll $(GLADE_ASSEMBLY) references = $(addprefix -r:, $(assemblies)) noinst_SCRIPTS = $(TARGETS) CLEANFILES = $(TARGETS) $(DEBUGS) dotnet_references = $(references) $(addprefix -r:, $(DOTNET_ASSEMBLY)) -r:System.Drawing.dll EXTRA_DIST = \ HelloWorld.cs \ Assistant.cs \ ButtonApp.cs \ CalendarApp.cs \ Subclass.cs \ Menu.cs \ Size.cs \ Scribble.cs \ ScribbleXInput.cs \ SpawnTests.cs \ TreeModelDemo.cs \ TreeViewDemo.cs \ ManagedTreeViewDemo.cs \ NodeViewDemo.cs \ GExceptionTest.cs \ GladeViewer.cs \ GladeTest.cs \ test.glade \ CairoSample.cs \ TestDnd.cs \ CustomCellRenderer.cs \ DrawingSample.cs \ CustomWidget.cs \ Actions.cs \ PropertyRegistration.cs \ PolarFixed.cs all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign sample/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign sample/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(SCRIPTS) installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am tags tags-am uninstall uninstall-am .PRECIOUS: Makefile gtk-hello-world.exe: $(srcdir)/HelloWorld.cs $(assemblies) $(CSC) -out:gtk-hello-world.exe $(references) $(srcdir)/HelloWorld.cs button.exe: $(srcdir)/ButtonApp.cs $(assemblies) $(CSC) -out:button.exe $(references) $(srcdir)/ButtonApp.cs calendar.exe: $(srcdir)/CalendarApp.cs $(assemblies) $(CSC) -out:calendar.exe $(references) $(srcdir)/CalendarApp.cs subclass.exe: $(srcdir)/Subclass.cs $(assemblies) $(CSC) -out:subclass.exe $(references) $(srcdir)/Subclass.cs menu.exe: $(srcdir)/Menu.cs $(assemblies) $(CSC) -out:menu.exe $(references) $(srcdir)/Menu.cs size.exe: $(srcdir)/Size.cs $(assemblies) $(CSC) -out:size.exe $(references) $(srcdir)/Size.cs scribble.exe: $(srcdir)/Scribble.cs $(assemblies) $(CSC) -out:scribble.exe $(references) $(srcdir)/Scribble.cs scribble-xinput.exe: $(srcdir)/ScribbleXInput.cs $(assemblies) $(CSC) -out:scribble-xinput.exe $(references) $(srcdir)/ScribbleXInput.cs treeviewdemo.exe: $(srcdir)/TreeViewDemo.cs $(assemblies) $(CSC) -out:treeviewdemo.exe $(references) $(srcdir)/TreeViewDemo.cs managedtreeviewdemo.exe: $(srcdir)/ManagedTreeViewDemo.cs $(assemblies) $(CSC) -out:managedtreeviewdemo.exe $(references) $(srcdir)/ManagedTreeViewDemo.cs nodeviewdemo.exe: $(srcdir)/NodeViewDemo.cs $(assemblies) $(CSC) -out:nodeviewdemo.exe $(references) $(srcdir)/NodeViewDemo.cs treemodeldemo.exe: $(srcdir)/TreeModelDemo.cs $(assemblies) $(CSC) -out:treemodeldemo.exe $(references) $(srcdir)/TreeModelDemo.cs glade-viewer.exe: $(srcdir)/GladeViewer.cs $(assemblies) $(CSC) -out:glade-viewer.exe $(references) $(srcdir)/GladeViewer.cs glade-test.exe: $(srcdir)/GladeTest.cs $(srcdir)/test.glade $(assemblies) $(CSC) -resource:$(srcdir)/test.glade,test.glade -out:glade-test.exe $(references) $(srcdir)/GladeTest.cs cairo-sample.exe: $(srcdir)/CairoSample.cs $(assemblies) $(CSC) -out:cairo-sample.exe $(references) $(cairo_ref) $(srcdir)/CairoSample.cs testdnd.exe: $(srcdir)/TestDnd.cs $(assemblies) $(CSC) -debug -unsafe -out:testdnd.exe $(references) $(srcdir)/TestDnd.cs custom-cellrenderer.exe: $(srcdir)/CustomCellRenderer.cs $(assemblies) $(CSC) -debug -out:custom-cellrenderer.exe $(references) $(srcdir)/CustomCellRenderer.cs drawing-sample.exe: $(srcdir)/DrawingSample.cs $(assemblies) $(DOTNET_ASSEMBLIES) $(CSC) -debug -out:drawing-sample.exe $(dotnet_references) $(srcdir)/DrawingSample.cs custom-widget.exe: $(srcdir)/CustomWidget.cs $(assemblies) $(CSC) -debug -out:custom-widget.exe $(references) $(srcdir)/CustomWidget.cs actions.exe: $(srcdir)/Actions.cs $(CSC) -debug -unsafe -out:actions.exe $(references) $(srcdir)/Actions.cs polarfixed.exe: $(srcdir)/PolarFixed.cs $(assemblies) $(CSC) -debug -out:polarfixed.exe $(references) $(srcdir)/PolarFixed.cs spawn.exe: $(srcdir)/SpawnTests.cs $(assemblies) $(CSC) -out:spawn.exe $(references) $(srcdir)/SpawnTests.cs assistant.exe: $(srcdir)/Assistant.cs $(assemblies) $(CSC) -out:assistant.exe $(references) $(srcdir)/Assistant.cs registerprop.exe: $(srcdir)/PropertyRegistration.cs $(assemblies) $(CSC) -out:registerprop.exe $(references) $(srcdir)/PropertyRegistration.cs gexceptiontest.exe: $(srcdir)/GExceptionTest.cs $(assemblies) $(CSC) -out:gexceptiontest.exe $(references) $(srcdir)/GExceptionTest.cs # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/sample/GtkDemo/0000775000175000017500000000000012767740535013416 500000000000000gtk-sharp-2.12.40/sample/GtkDemo/DemoColorSelection.cs0000664000175000017500000000461112767740470017416 00000000000000/* Color Selector * * GtkColorSelection lets the user choose a color. GtkColorSelectionDialog is * a prebuilt dialog containing a GtkColorSelection. * */ using System; using Gdk; using Gtk; namespace GtkDemo { [Demo ("Color Selection", "DemoColorSelection.cs")] public class DemoColorSelection : Gtk.Window { private Gdk.Color color; private Gtk.DrawingArea drawingArea; public DemoColorSelection () : base ("Color Selection") { BorderWidth = 8; VBox vbox = new VBox (false,8); vbox.BorderWidth = 8; Add (vbox); // Create the color swatch area Frame frame = new Frame (); frame.ShadowType = ShadowType.In; vbox.PackStart (frame, true, true, 0); drawingArea = new DrawingArea (); drawingArea.ExposeEvent += new ExposeEventHandler (ExposeEventCallback); // set a minimum size drawingArea.SetSizeRequest (200,200); // set the color color = new Gdk.Color (0, 0, 0xff); drawingArea.ModifyBg (StateType.Normal, color); frame.Add (drawingArea); Alignment alignment = new Alignment (1.0f, 0.5f, 0.0f, 0.0f); Button button = new Button ("_Change the above color"); button.Clicked += new EventHandler (ChangeColorCallback); alignment.Add (button); vbox.PackStart (alignment); ShowAll (); } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } // Expose callback for the drawing area private void ExposeEventCallback (object o, ExposeEventArgs args) { EventExpose eventExpose = args.Event; Gdk.Window window = eventExpose.Window; Rectangle area = eventExpose.Area; window.DrawRectangle (drawingArea.Style.BackgroundGC (StateType.Normal), true, area.X, area.Y, area.Width, area.Height); args.RetVal = true; } private void ChangeColorCallback (object o, EventArgs args) { using (ColorSelectionDialog colorSelectionDialog = new ColorSelectionDialog ("Changing color")) { colorSelectionDialog.TransientFor = this; colorSelectionDialog.ColorSelection.PreviousColor = color; colorSelectionDialog.ColorSelection.CurrentColor = color; colorSelectionDialog.ColorSelection.HasPalette = true; if (colorSelectionDialog.Run () == (int) ResponseType.Ok) { Gdk.Color selected = colorSelectionDialog.ColorSelection.CurrentColor; drawingArea.ModifyBg (StateType.Normal, selected); } colorSelectionDialog.Hide (); } } } } gtk-sharp-2.12.40/sample/GtkDemo/DemoListStore.cs0000664000175000017500000001136712654353766016433 00000000000000/* Tree View/List Store * * The Gtk.ListStore is used to store data in tree form, to be * used later on by a Gtk.ListView to display it. This demo builds * a simple Gtk.ListStore and displays it. If you're new to the * Gtk.ListView widgets and associates, look into the Gtk.ListStore * example first. */ using System; using System.Collections; using Gtk; namespace GtkDemo { [Demo ("List Store", "DemoListStore.cs", "Tree View")] public class DemoListStore : Gtk.Window { ListStore store; public DemoListStore () : base ("ListStore Demo") { BorderWidth = 8; VBox vbox = new VBox (false, 8); Add (vbox); Label label = new Label ("This is the bug list (note: not based on real data, it would be nice to have a nice ODBC interface to bugzilla or so, though)."); vbox.PackStart (label, false, false, 0); ScrolledWindow sw = new ScrolledWindow (); sw.ShadowType = ShadowType.EtchedIn; sw.SetPolicy (PolicyType.Automatic, PolicyType.Automatic); vbox.PackStart (sw, true, true, 0); // create model store = CreateModel (); // create tree view TreeView treeView = new TreeView (store); treeView.RulesHint = true; treeView.SearchColumn = (int) Column.Description; sw.Add (treeView); AddColumns (treeView); // finish & show SetDefaultSize (280, 250); ShowAll (); } private void FixedToggled (object o, ToggledArgs args) { Gtk.TreeIter iter; if (store.GetIterFromString (out iter, args.Path)) { bool val = (bool) store.GetValue (iter, 0); store.SetValue (iter, 0, !val); } } private void AddColumns (TreeView treeView) { // column for fixed toggles CellRendererToggle rendererToggle = new CellRendererToggle (); rendererToggle.Toggled += new ToggledHandler (FixedToggled); TreeViewColumn column = new TreeViewColumn ("Fixed?", rendererToggle, "active", Column.Fixed); // set this column to a fixed sizing (of 50 pixels) column.Sizing = TreeViewColumnSizing.Fixed; column.FixedWidth = 50; treeView.AppendColumn (column); // column for bug numbers CellRendererText rendererText = new CellRendererText (); column = new TreeViewColumn ("Bug number", rendererText, "text", Column.Number); column.SortColumnId = (int) Column.Number; treeView.AppendColumn (column); // column for severities rendererText = new CellRendererText (); column = new TreeViewColumn ("Severity", rendererText, "text", Column.Severity); column.SortColumnId = (int) Column.Severity; treeView.AppendColumn(column); // column for description rendererText = new CellRendererText (); column = new TreeViewColumn ("Description", rendererText, "text", Column.Description); column.SortColumnId = (int) Column.Description; treeView.AppendColumn (column); } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } private ListStore CreateModel () { ListStore store = new ListStore (typeof(bool), typeof(int), typeof(string), typeof(string)); foreach (Bug bug in bugs) { store.AppendValues (bug.Fixed, bug.Number, bug.Severity, bug.Description); } return store; } private enum Column { Fixed, Number, Severity, Description } private static Bug[] bugs = { new Bug ( false, 60482, "Normal", "scrollable notebooks and hidden tabs"), new Bug ( false, 60620, "Critical", "gdk_window_clear_area (gdkwindow-win32.c) is not thread-safe" ), new Bug ( false, 50214, "Major", "Xft support does not clean up correctly" ), new Bug ( true, 52877, "Major", "GtkFileSelection needs a refresh method. " ), new Bug ( false, 56070, "Normal", "Can't click button after setting in sensitive" ), new Bug ( true, 56355, "Normal", "GtkLabel - Not all changes propagate correctly" ), new Bug ( false, 50055, "Normal", "Rework width/height computations for TreeView" ), new Bug ( false, 58278, "Normal", "gtk_dialog_set_response_sensitive () doesn't work" ), new Bug ( false, 55767, "Normal", "Getters for all setters" ), new Bug ( false, 56925, "Normal", "Gtkcalender size" ), new Bug ( false, 56221, "Normal", "Selectable label needs right-click copy menu" ), new Bug ( true, 50939, "Normal", "Add shift clicking to GtkTextView" ), new Bug ( false, 6112, "Enhancement","netscape-like collapsable toolbars" ), new Bug ( false, 1, "Normal", "First bug :=)" ) }; } public class Bug { public bool Fixed; public int Number; public string Severity; public string Description; public Bug (bool status, int number, string severity, string description) { Fixed = status; Number = number; Severity = severity; Description = description; } } } gtk-sharp-2.12.40/sample/GtkDemo/TODO0000664000175000017500000000036212654353766014030 00000000000000General - gtk-demo passes a widget to each demo that is used to set the Screen and sometimes Parent of each demo window - Demo window management is not the same as in gtk-demo DemoMain - syntax highlighting Change Display - missing gtk-sharp-2.12.40/sample/GtkDemo/DemoRotatedText.cs0000664000175000017500000000601312654353766016742 00000000000000using System; using Gtk; using Pango; #if GTK_SHARP_2_6 namespace GtkDemo { [Demo ("Rotated Text", "DemoRotatedText.cs")] public class DemoRotatedText : Window { const int RADIUS = 150; const int N_WORDS = 10; public DemoRotatedText () : base ("Rotated text") { DrawingArea drawingArea = new DrawingArea (); Gdk.Color white = new Gdk.Color (0xff, 0xff, 0xff); // This overrides the background color from the theme drawingArea.ModifyBg (StateType.Normal, white); drawingArea.ExposeEvent += new ExposeEventHandler (RotatedTextExposeEvent); this.Add (drawingArea); this.DeleteEvent += new DeleteEventHandler (OnWinDelete); this.SetDefaultSize (2 * RADIUS, 2 * RADIUS); this.ShowAll (); } void RotatedTextExposeEvent (object sender, ExposeEventArgs a) { DrawingArea drawingArea = sender as DrawingArea; int width = drawingArea.Allocation.Width; int height = drawingArea.Allocation.Height; double deviceRadius; // Get the default renderer for the screen, and set it up for drawing Gdk.PangoRenderer renderer = Gdk.PangoRenderer.GetDefault (drawingArea.Screen); renderer.Drawable = drawingArea.GdkWindow; renderer.Gc = drawingArea.Style.BlackGC; // Set up a transformation matrix so that the user space coordinates for // the centered square where we draw are [-RADIUS, RADIUS], [-RADIUS, RADIUS] // We first center, then change the scale deviceRadius = Math.Min (width, height) / 2; Matrix matrix = Pango.Matrix.Identity; matrix.Translate (deviceRadius + (width - 2 * deviceRadius) / 2, deviceRadius + (height - 2 * deviceRadius) / 2); matrix.Scale (deviceRadius / RADIUS, deviceRadius / RADIUS); // Create a PangoLayout, set the font and text Context context = drawingArea.CreatePangoContext (); Pango.Layout layout = new Pango.Layout (context); layout.SetText ("Text"); FontDescription desc = FontDescription.FromString ("Sans Bold 27"); layout.FontDescription = desc; // Draw the layout N_WORDS times in a circle for (int i = 0; i < N_WORDS; i++) { Gdk.Color color = new Gdk.Color (); Matrix rotatedMatrix = matrix; int w, h; double angle = (360 * i) / N_WORDS; // Gradient from red at angle == 60 to blue at angle == 300 color.Red = (ushort) (65535 * (1 + Math.Cos ((angle - 60) * Math.PI / 180)) / 2); color.Green = 0; color.Blue = (ushort) (65535 - color.Red); renderer.SetOverrideColor (RenderPart.Foreground, color); rotatedMatrix.Rotate (angle); context.Matrix = rotatedMatrix; // Inform Pango to re-layout the text with the new transformation matrix layout.ContextChanged (); layout.GetSize (out w, out h); renderer.DrawLayout (layout, - w / 2, (int) (- RADIUS * Pango.Scale.PangoScale)); } // Clean up default renderer, since it is shared renderer.SetOverrideColor (RenderPart.Foreground, Gdk.Color.Zero); renderer.Drawable = null; renderer.Gc = null; } void OnWinDelete (object sender, DeleteEventArgs a) { this.Hide (); this.Dispose (); } } } #endif gtk-sharp-2.12.40/sample/GtkDemo/DemoExpander.cs0000664000175000017500000000157212767740470016243 00000000000000/* Expander * * GtkExpander allows to provide additional content that is initially hidden. * This is also known as "disclosure triangle". * */ using System; using Gtk; namespace GtkDemo { [Demo ("Expander", "DemoExpander.cs")] public class DemoExpander : Gtk.Dialog { public DemoExpander () : base ("Demo Expander", null, DialogFlags.DestroyWithParent) { Resizable = false; VBox vbox = new VBox (false, 5); this.VBox.PackStart (vbox, true, true, 0); vbox.BorderWidth = 5; vbox.PackStart (new Label ("Expander demo. Click on the triangle for details."), false, false, 0); // Create the expander Expander expander = new Expander ("Details"); expander.Add (new Label ("Details can be shown or hidden.")); vbox.PackStart (expander, false, false, 0); AddButton (Stock.Close, ResponseType.Close); ShowAll (); Run (); Destroy (); } } } gtk-sharp-2.12.40/sample/GtkDemo/DemoIconView.cs0000664000175000017500000001012212654353766016212 00000000000000using System; using System.IO; using Gtk; #if GTK_SHARP_2_6 namespace GtkDemo { [Demo ("Icon View", "DemoIconView.cs")] public class DemoIconView : Window { const int COL_PATH = 0; const int COL_DISPLAY_NAME = 1; const int COL_PIXBUF = 2; const int COL_IS_DIRECTORY = 3; DirectoryInfo parent = new DirectoryInfo ("/"); Gdk.Pixbuf dirIcon, fileIcon; ListStore store; ToolButton upButton; public DemoIconView () : base ("Gtk.IconView demo") { SetDefaultSize (650, 400); DeleteEvent += new DeleteEventHandler (OnWinDelete); VBox vbox = new VBox (false, 0); Add (vbox); Toolbar toolbar = new Toolbar (); vbox.PackStart (toolbar, false, false, 0); upButton = new ToolButton (Stock.GoUp); upButton.IsImportant = true; upButton.Sensitive = false; toolbar.Insert (upButton, -1); ToolButton homeButton = new ToolButton (Stock.Home); homeButton.IsImportant = true; toolbar.Insert (homeButton, -1); fileIcon = GetIcon (Stock.File); dirIcon = GetIcon (Stock.Open); ScrolledWindow sw = new ScrolledWindow (); sw.ShadowType = ShadowType.EtchedIn; sw.SetPolicy (PolicyType.Automatic, PolicyType.Automatic); vbox.PackStart (sw, true, true, 0); // Create the store and fill it with the contents of '/' store = CreateStore (); FillStore (); IconView iconView = new IconView (store); iconView.SelectionMode = SelectionMode.Multiple; upButton.Clicked += new EventHandler (OnUpClicked); homeButton.Clicked += new EventHandler (OnHomeClicked); iconView.TextColumn = COL_DISPLAY_NAME; iconView.PixbufColumn = COL_PIXBUF; iconView.ItemActivated += new ItemActivatedHandler (OnItemActivated); sw.Add (iconView); iconView.GrabFocus (); ShowAll (); } Gdk.Pixbuf GetIcon (string name) { return Gtk.IconTheme.Default.LoadIcon (name, 48, (IconLookupFlags) 0); } ListStore CreateStore () { // path, name, pixbuf, is_dir ListStore store = new ListStore (typeof (string), typeof (string), typeof (Gdk.Pixbuf), typeof (bool)); // Set sort column and function store.DefaultSortFunc = new TreeIterCompareFunc (SortFunc); store.SetSortColumnId (COL_DISPLAY_NAME, SortType.Ascending); return store; } void FillStore () { // first clear the store store.Clear (); // Now go through the directory and extract all the file information if (!parent.Exists) return; foreach (DirectoryInfo di in parent.GetDirectories ()) { if (!di.Name.StartsWith (".")) store.AppendValues (di.FullName, di.Name, dirIcon, true); } foreach (FileInfo file in parent.GetFiles ()) { if (!file.Name.StartsWith (".")) store.AppendValues (file.FullName, file.Name, fileIcon, false); } } int SortFunc (TreeModel model, TreeIter a, TreeIter b) { // sorts folders before files bool a_is_dir = (bool) model.GetValue (a, COL_IS_DIRECTORY); bool b_is_dir = (bool) model.GetValue (b, COL_IS_DIRECTORY); string a_name = (string) model.GetValue (a, COL_DISPLAY_NAME); string b_name = (string) model.GetValue (b, COL_DISPLAY_NAME); if (!a_is_dir && b_is_dir) return 1; else if (a_is_dir && !b_is_dir) return -1; else return String.Compare (a_name, b_name); } void OnHomeClicked (object sender, EventArgs a) { parent = new DirectoryInfo (Environment.GetFolderPath (Environment.SpecialFolder.Personal)); FillStore (); upButton.Sensitive = true; } void OnItemActivated (object sender, ItemActivatedArgs a) { TreeIter iter; store.GetIter (out iter, a.Path); string path = (string) store.GetValue (iter, COL_PATH); bool isDir = (bool) store.GetValue (iter, COL_IS_DIRECTORY); if (!isDir) return; // Replace parent with path and re-fill the model parent = new DirectoryInfo (path); FillStore (); // Sensitize the up button upButton.Sensitive = true; } void OnUpClicked (object sender, EventArgs a) { parent = parent.Parent; FillStore (); upButton.Sensitive = (parent.FullName == "/" ? false : true); } void OnWinDelete (object sender, DeleteEventArgs a) { Hide (); Dispose (); } } } #endif gtk-sharp-2.12.40/sample/GtkDemo/Makefile.in0000664000175000017500000003634612767740507015416 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = sample/GtkDemo ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SCRIPTS = $(noinst_SCRIPTS) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in README TODO DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ @ENABLE_MONO_CAIRO_FALSE@local_mono_cairo = @ENABLE_MONO_CAIRO_TRUE@local_mono_cairo = $(top_builddir)/cairo/Mono.Cairo.dll assemblies = \ $(top_builddir)/glib/glib-sharp.dll $(top_builddir)/pango/pango-sharp.dll \ $(top_builddir)/atk/atk-sharp.dll $(top_builddir)/gdk/gdk-sharp.dll \ $(top_builddir)/gtk/gtk-sharp.dll $(local_mono_cairo) references = $(addprefix -r:, $(assemblies)) @MONO_CAIRO_LIBS@ TARGETS = GtkDemo.exe DEBUGS = $(addsuffix .mdb, $(TARGETS)) CLEANFILES = $(TARGETS) $(DEBUGS) noinst_SCRIPTS = $(TARGETS) EXTRA_DIST = $(sources) $(image_names) sources = \ DemoApplicationWindow.cs \ DemoAttribute.cs \ DemoButtonBox.cs \ DemoClipboard.cs \ DemoColorSelection.cs \ DemoDialog.cs \ DemoDrawingArea.cs \ DemoEditableCells.cs \ DemoEntryCompletion.cs \ DemoExpander.cs \ DemoHyperText.cs \ DemoIconView.cs \ DemoImages.cs \ DemoListStore.cs \ DemoMain.cs \ DemoMenus.cs \ DemoPanes.cs \ DemoPixbuf.cs \ DemoRotatedText.cs \ DemoSizeGroup.cs \ DemoStockBrowser.cs \ DemoTextView.cs \ DemoTreeStore.cs \ DemoUIManager.cs \ DemoPrinting.cs images = \ images/gnome-foot.png,gnome-foot.png \ images/MonoIcon.png,MonoIcon.png \ images/gnome-calendar.png,gnome-calendar.png \ images/gnome-gmush.png,gnome-gmush.png \ images/gnu-keys.png,gnu-keys.png \ images/gnome-applets.png,gnome-applets.png \ images/gnome-gsame.png,gnome-gsame.png \ images/alphatest.png,alphatest.png \ images/gnome-gimp.png,gnome-gimp.png \ images/apple-red.png,apple-red.png \ images/background.jpg,background.jpg \ images/gtk-logo-rgb.gif,gtk-logo-rgb.gif \ images/floppybuddy.gif,floppybuddy.gif image_names = \ images/gnome-foot.png \ images/MonoIcon.png \ images/gnome-calendar.png \ images/gnome-gmush.png \ images/gnu-keys.png \ images/gnome-applets.png \ images/gnome-gsame.png \ images/alphatest.png \ images/gnome-gimp.png \ images/apple-red.png \ images/background.jpg \ images/gtk-logo-rgb.gif \ images/floppybuddy.gif build_sources = $(addprefix $(srcdir)/, $(sources)) build_images = $(addprefix $(srcdir)/, $(images)) resources = $(addprefix -resource:, $(build_images)) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign sample/GtkDemo/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign sample/GtkDemo/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(SCRIPTS) installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags-am uninstall uninstall-am .PRECIOUS: Makefile GtkDemo.exe: $(build_sources) $(assemblies) $(CSC) $(CSFLAGS) -out:GtkDemo.exe $(build_sources) $(references) $(resources) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/sample/GtkDemo/images/0000775000175000017500000000000012767740535014663 500000000000000gtk-sharp-2.12.40/sample/GtkDemo/images/gnome-gsame.png0000664000175000017500000001024712654353766017515 00000000000000PNG  IHDR00WgAMA1_^IDATxYdWy[{U3ӳ3a0+f1F !HI7x,g~Swoߟk03֫6Y,bMWr?[?;j1񪴜S|zoY|쳷S;s%>sj\3Җ\+A {?+%y2 P/=S .>٘cƘ2j;_ 'VF;k wN;njYo9-dG-ӿw?ӟ=B()9 4&0L.~$%KL(K~| _ѹ|h#B4xۍKx`Fi猆F?Ikm!qcQ%7 BY`x)uJRc|'g8w:{S@6s:.&R0 =y;zRJß[޲t_}&[i؋.YoKU!Ejg;*sf[)y@E ^G٠L^B6v@$9J@YJ@cp@hs;}jP `8V\Ib+~fժR9֘0r#?chEb5USб2wdЙBDEF(ՠ-4ƶu ra"nR͜>Y1U @2q{78asC^,yr\ģ'\kW!WbJCvFdIJjDS2B #l\S8IMJV@]e߳83lu2mu6ZYÿvW녙th6jLLX{wNgy=;wd#lm'Y,}T[ 6NsD:bj^tG)ǟ{Mo󙝇{.[Fxt+(M AElZET'12nF/"QlҜ02J+%Am D)C~l"oKm! dn[yǹOyԣ%!)RjV)5jK)kRJ8L]" i昭nil M3"݄"OZVc6F.[#7UPxSDq[kSkmbst!D@<ߪv:;f4ZG(9Α) /Í#$'eZbkAx>.v^ @^޶ֶMkmZ+1Ba1BITn+$:vgjT3p$(c'h3Mr&&4 HPiz6%t N;jZkT!Xp55afvVhCE4Mb"Ռ7N:!hk3\ Jr$PF;* 6|k1L5!D0?9uY>@1nRIiĒ:6/ʉ Ɉ2ֶhQ8r\g*h^1b!D`E`3U @=v޴V0M "I $ 2.f[ `uu{W[Bkg^ ,hkB$Z;֎$W|?Ԭ7pGjz}أO<,mFWu̥O]{l#3-R=И^ZI+~`6t kur>dZ֒8Ɋ3T̬\3*_;w.6?:p`f9zDgnĮKk)ԆfBXJ Zztx{n޿w5g1IT+dy&,#I0 |$[7 n[H^ѷΏN8%>Zq^sw~) !zvb(pd:H(4IyFRE IZQ=.TZpZ%^+x:򖛿!If)I>3\Gh)cTZ)cGQz@զ2rGKkkHuNIApn˅^R7a@ݡ.QuԽ];vuZ!T}jQNRT+UfXC 0&' B?LKRnsu^\yJ yv~1qFCbðpq1 !B@K)m!)W.|;}?QS 4,JV~ okwN33^zb8)q]Yx2a%b !TVTRqr)egi9#o$4Ea,Q<ׄQ\|+eƽ®z@$GIL/c&J~TN\^VmR1h!e/4OQ ]$q]_x^Dh1'{&o f@&`%4j.)!DF 4n)4ιJڻ0n^@eB'qa_|9?R5-oL Jkgѣ␰4`aaA}l6fxӾVn_LLy^8 +)," }MR]gU/mCCҀ/ \KylA[_/M-uǽv%Jy#҄Dv @tpPKQq?66*y |tKRRUVen~bՊ5.emmqAI}y`=Nm+_ϾNiJg3ޤW e)q+|%Ķ;^s1aIENDB`gtk-sharp-2.12.40/sample/GtkDemo/images/gnome-applets.png0000664000175000017500000000602212654353766020065 00000000000000PNG  IHDR00WgAMA abKGD pHYs``zxEtIME ( IDATxYuګg㐢9ҖdkMіI@ӒF 'P q^b=F I6<Yk I @L٢hQ#҈Ԉξw5}(e<) ={#qs$L.KgK v\&H a-'r#pUVW cs1,'og])6˽~ @c[ : (&POsp3_:z|dxp4Ȓ4':NZeMo}ߘ]XY3B|y@.ρ|sy޽_$,H( <ϱ]vX[>G/nN(9&P*/=ra0**,!!IRB_쯹 +baGRR/dS*?{ķ+}5,)nj]R7 4%Mb$%NRUS/.Cȥw}TT*S)K覉a訪,ɿ$4!c8!c8ŕ;%l3j>?w\R*)U*eR4Q5EQd.$邕}(8ˆLKzk}}^o| Ǟ{_꺎ii J ib)2 ,S)Ұt+N9voinʲhF ,Q*WɃYӻ໱/ ,QT$uMes;B6x@Ldp edY)2cPUwH2xId Y\'N*$2YzRra/ۥ'}x"K3,#R,,f4%C|&+!4#R$EcyI(Wpz`Rӿ*2 {AަXS#it2EDa@xv| €(KӘ$Iӄ4MIqyxq7/ӱ]TMR.?݌mj8ꮰQݕw\s|}K" C(&j54z^z;Flj☡a\Ͽ/xAډHdOA@{xظݱpm ױ|;>( g}}3gޣ^gV\,rIݮ= +]iE!Bs=_feNt=/~SJ uD*] U(Cǧ/ֱ]xg"e]iJr|qXZ\4?ȓ?JLN& >]CܵGf׮a'2,bychl!{>A!I8V==X6M�{8*f9 xWJ%Iqˬ?ÿ4X= I,ϒ)aF1AA1iS2M8V#lľW_}N`nvCCyȲ Ο'==? ʪ!q#2%äJozw}yusl^[[[a RNZ1l{ &'%BR 45$&Ŭq% $ } ZZ\4c>{`˲fFFF5A (lvnzSo}͖mwszr;BAk*"$ i"+2*aP_K˫/ߚ8juj'F!%{T;%IUUZa*W):r0體 RVjhɩ19nZoO>.^n(HpZFFmfQ{l CM쯡j*#JwKt72y?\v♶ ' m멅# V,ˆg C3TEsuM!YQU)#m+_܈?%! @C^>kR(uc3e՞]lA_x)n/o+uhZQ`Q,<liOU cg7yA|527]B9p @xq bo?ڧE~p{ ցtc Ř5.a[A}/ ef b\GYD@6$-<E/E,E=<VD8q//.!<+dM`PV<}Cvwb}HB&*za+9B{z4zQ$Pr8C7ze^)|oթ {y շX~o$QajmӢ "EBbxvPZs|EkS؎%_X{.^52* @NwBhJiO{]XdZ8'Z O YG2Ad;@zooAkIENDB`gtk-sharp-2.12.40/sample/GtkDemo/images/alphatest.png0000664000175000017500000006364112654353766017311 00000000000000PNG  IHDR|B}>gAMA|Q cHRMo?r$m_j<Wmg,IDATxb?(`i0 F(> F Q0 F(! F Q0 F(! F Q0 F(! F Q0 F(! F Q0 F(! F Q0 9]:= h`3Z G[`Q02@G(`-G(`-G(`-G(`-G(`-G(`-G(`-G(`-G(`-G(`-G(`-G(`-G(`-G(`-G(`-G(`-G(`-G(`-G(`-G(`-G(R@,Q0 F~8.h Q0 FQ0 FQ0 FQ0 FQ0 FQ0 FQ0 FQ0 FQ0 FQ0 FQ0 FQ0 FQ0 FQ0 FQ0 FQ0 FQ0 FQ0 FQ0 FQ0 FQ0 FQ0 FQ0 FQ0 FQ0 FQ0 FQ0 FQ0 F v(C D,R @Z``d"ڭ` b?,SLWRdh$7|4CH4 UPvfdd3 gm0$riUR=7 (Y^`8FXrpIgt(( Obm(F5@ qE7B+:`eD(ʠN< $uG"=X!܋@\?`|kn  c$Fp@'FF \SxIg*ZcR@{  ȿHhr uj45cac1#iUQ4}E;D-T2?,H͋U^$&,#, ta|HwTgF(  |X!0F.W"ˀ@c)!L6 aAFF

J˙{Ie`*z .opf N{ e\0Vy02BZxh y/ƚ:$-8* t? S<a![&^(@9k(u09 u)#*F{hnhR9@+Ѐ_?D1 ,5i0N!#\?:3AP\u`<A!5^VDi&j024M j-у]'`U`a&D@]࣏`zlCȒm"v`a [tz5#R,CSϸd@z+0@Y[K¿PQ0 h h#NXvB}vQKA10i.J=G--|:nh+a $pCw"nGŶ,;؊ {>WVOv3V|VON˙ , >.[=6#7 F4PC:-{I3t`p?Rw|ZctC[H4,n',Z7xҎNdufѕ@Jh?M'7!$Q]RҢ@,7sj7踂l ѥ!L1`+`L ޾mrژ3hn!db5qNiO!=,98-'@;>Ⱦ]ٟX{ft< &]hA9]ƭ< ^(p 931q@MPy NrynX̤ Y]eyjD"4#v84`sK.#@ |X|=0g"ҁ.M74T@LjÍ "K PnX9 WdL#t <&$ԁydElYv_Ԍ!Cr;VOpW02, K U@75ő)fA갫$[eO)ӌqotg|FYHe#RflQgD3tUB!R<@X]0w .dZ+i t%aK*#}HQLzU?HsYL%5B##rL!@Fd7 TXoNxt2]A X0v ]ЍrK|2J^r z vhl4<2@W댈$= $0‰.9L`Y Np1@/Jeu,ldY*\v|Q7= {P z0(Ԟ t;l?tfEtd+Z`aT4<@:ms2*D! Hص 7@F8#Al+!U2x !U Ԇ< RCVTbP ^ π-SoB3tP*PqJ 6`퟼RBFB6Vy;l? ~C4Y9v*J1Q.Q!ɦ;v2XXAѥgN+Y :,C[J[u/~~q! QRP2IjvoMgҁD9 N'ygdI0-z7lB,z|!}i8i| ['D!sf}n{SA7q0R-l i!=Ǚz"ub e52,FsE݃p?;bv+$|o'6<ȳׄ+i v/YA0wTЍ $`de@]*H ;+ƉKrJ Djι/tXe{X;(;o>N4U4p;Z(̀m[#҆3/mbwSD|<n^08B-EDܝjq,/_i [XkB\K\!;nSD.az}&qG\&@"pu{D&bsFXfd?8%Ī|/.ˀgF"nS Ԥ`f2,c?.z$'K'~ +naJ?(HI2/IW` tձr FD9$5i@QPWx?c8d?R ^f`VΩ].n?:r!l 8'P֩٠Bco!4aSx\ئgFjdf6 Zӟp`@ HόyZ&0Tk fϻE-̜Z|'t"-eRP4QM;p{aY"` @SGRPCBÚ)ᣨЋi` -/ 3YX>*Izn=0 #p$F3,HV& (,&X=$q˯`` [D y _.sXI[Old?]ʓe{4o~_[G܈ .ݔ)杓.%%hClD=ӂƫ֫ _m (u dd~N7{sQ3->s m7S  XVQ+`Xʎ}SWDI!P"1I` hl#]OFAXà,ǘL\ @0Uևn}m4#Ĵ~BVmId~.6`n?de @޵ ,l$vXXG`D ,RQ@4ugύ?w1ŭ=פ-!*Gr]O̽Q.XN}1* D= LdjP+cHsCHr; {ܯ Ur5(Vtv$[&;䟝<2%uM;Y*1|ɲ| ]"ISf}5Pp0nTdNPA:wG"3Iji܏K*NxH o"=TXgH:| = qah3p`gg\pǪ&yi+$$jIdzjIo{{6l}t41I/Z[/ې)-,F}~m5 K)8 19P@{eYKw$I0E @"+T]q<]oV=dzeCLp67TIJʎ2xgbӟ G߅}!35tgnko0L}oRę1,qJ'^mh')! $"%;)د,s$9(N5Ԥ.bC uYemb쵴`ox %ygo0 Ca# 4l =;P2 0+q+zO wGsX'?}I ER#܎!*K^|AUY6$գ[ٜIBi /$٣{͵(ѥBh*&iӴNݲo~SƘ7 _Q&` v.o]S}kfHSC-@;J*W0C6p%A2p-@C:Jՠ+y|ڮO&jq@^ѼV|M;}/Js`2JlOЦA2m@ tH,0=s9g;' hD}';_,O)x_J)`m琿gZQS}=IS;x*!1k@'-I`|(Fh2N,& 3X-Wtp;'}e'<)[TӨ架9]jaU E2Ĭ4hWUB-.$sϬ39!}x'v@;iȴ(O4 J$Z{{eK+Gy< qa(lo +`c [!SЩ?RN{qv?r ߃݂_Q ZBՁfm"u6x-{z{gJFUL<~q"d%)mFPg-:d>f2Foy'T;UosEn@_/|e?Ø٠m<>21V$Pܳ)Ti]vӱ cۤ qFw 2$Wʝh9{4$):pVY|31unWȻ#bǫkj% lw<,fFo ax< }F7_^熧 'ڂ04<_?*ȍpC8,Z´KМ-W)|FeB%wfEVm!Aչ3Q4zhKv<ڍah4+0ð @T4,Ai#K iqPdYz/:r|X&Rz3^/Dډ䃇A*z XZhh(Nêp9'6=RXa& drѣ*Ct{=}2; {B`2UāWR I{m)lGKR\E7lulw̱* @Q&B҉uԕxS1wC[2=kTDTSapZi>Ydҧ]{#o]Wa&.FCtD=[ZI&8a1!1!>},Q KN?. u{iDF+A;=lˣ{4_C^ P1Skdx/<9L.I0=eyyN)[3 k 'PY_em#|P\ Ң~VDP0iIp+:C,Z{/4Ts1av)f PI@ap#R0N>*E1]#e:< na`bLX“ 0JDWu&9/v~?s2*H}6=/ %ɦ"3ԨGf BuDLk;. s|'ج 0pB"l`Z+)xeӢi~}vވz)@2,02q;0kg;Z fG3'SQTL{e&vIвLEcr8^a?G6zXT&BISg=0 B0%&L9 c{ @!A҄ ``ÿU@#3;2,fN ӋW:vsRHbldiHV4{( @Xa\jYd}jG<{ %=> eMg땓 m]E29.ckGaaXNfũf)9rS]1+ZA,tG&# k(L fvl+L)\PGa 6=QTdp $6LvyWP>~?w70oa /FFVٗ6*UN2@g*NNLw _H9TAKexa4%a}ߘrH)$ID"ؽZD_7=7ucI>TE"+G,7IG+{$o";?ӛ"1Ϡ\1^)S$>NԴG^b F+7]!k6(Y2.1>oGrea5$H>R*ie[bv;znW4CN@JyEo+ -2&MilǁMOW:}[{ QQOL0N DXB %h+J@Y&8tyno@ $l >b5d8>}Ԋ'2N@uO#q9بjUS6S):OF@ y raX &_E#LIL 4֬M~#k܉< b" ,H )OSMceaYCDktLmup [D):*7'B'%iBE<^E% g)؄jJ;9ֻFd; Eh}4zT%1+f CESwGo,;gFL=/钱*z(6F4.*+& !"ѣ19 @ d3 gԾD FT&״>_!Qq {F,`_ OL_ϥ_n;tfUՠ !KFJ˧jlCH2w&~yJ!.WJFJ9YLcsWrfjӗ6g LX4͹Z)cĻCn9`@ExbDxs t htgZZF蟀8Ja]RJI ).I&PI"#f#a>Wڵ\lf ye|>QUYd"U]8|a}</fp?*'zx)7>k+yV(rrKzɒ=2Ç1u½jTn:᬴sR'p*T/KYTŒgBߔ"x Mn*$TO p=9k@ @l,l? J /QKG[UmN/\5XvU|+[>r\@] $R/c]Nj QEp`fYA'ja<6+Ʈocƭ U, K( &h:#(wU%">*rKylI!iؖ\_s4LNxɍάh[&3:Ia* 0[ |ҨABDO+g{v;Ql9 IJS͆`uhJ’Նb8:}YWdoulArdWb5wWV_pVW XdґR?Lm)CZďyg$tux)OAr:dV^ g(XRҰ-R'T4ц\iǟXx%6y!diϰ18GsV3?oȻa(/:@b ŗ1`(}ֲsb=0oZE{۝|Vy03X9j_)sy~viBesG)oe =ssA#TI !s2nn9Iy^]Zd=]z$}3+2ۈ]"Ɠ+k@ `*:%[{N#{8)[rҳG*ߙvE54*=̆[[N* W?k4o0SV -12JE#j Xg,Tº<3GHӏ.3WTzatM.[Ł0lYK0xž$ ;]H.@k̇] 0 t`>$@Gk?/Ikg g>ˈ~]EpoWbpdAui,=/MlzJS tEAd=""2 19ak *!`D:lf,>T1GFc6 : 70#+ZD8d-hMO?x2!fY{BտLgZP|z |Uu#D٣RҐ*mW'Jr\<7]0 Q( 蘀)-2%Cc%t.DZ-)/A;6lrрg5'']^Q$D gcnj}*oxH;ū<,K&kg}7cd1{~,_eO(دN;-EZ$cYŞaG|Àm I&dJ1dRj!.r&$|/s|szR.؄C=0Ke6PhƠ'!w_58S$':E1st}a B;c V`h)bKq]:p"qȎ[YvjݏYf̳$=kX)MެH,4u[~%srЈU{W˦퐺0I+$,+zy{#%w{|`[3Ɛi%+nx"2i:hM @VJuGX`%i/3H4P!a >5ZSr{4tA1}5Ii,_K";OA4>Pw80 LG>03&2&NQ DBU!MrGr}1eYa\wvqd6̞9OYW{D5J/qfRK߬nRo'W])8*Y*8N.(q9on]ʳ6 kWdԥP5U>]M  z$t?R&obDO|(y#vR X׃Z@& 6Z0psH,gfu@|g@/TC#Z(/80zN!ۜ4 LaW .$?ZIO\guЂO@wM[ 1`q sn(<[V*sa);T?LئFDs/#-ȇaڅȆ5OEp#Q?\@a t T@KAܱ=ŽD.q ?-?}5c4+iA(]i@aH?lv͊4t XnC;$,p@7KUlj{;wpv4iRh;q /I'3k݌z -D@@&ʷG5(BjyhΜNʢҜa@tr~ YhEJn6 $#EUJ?8JH(^}?5k+8uЯΒk% Z"]0 sF`؅-x cp&X#m'G>IDqDnq 33+9XtA f-to.c w=7r4-j9kNz+HGCIx$=HrqEoxI=EԊKZu JiF(~Hi(j_r:SEZ񰝩 VƱw|B:z@:J[G*I^C>!{.{ӒOrFrnj1pPsޜ\OBwqSK^QB >s,L8hFf+ Tgw':/ra{M$ ,`UI5!P.)Z*o׷1ȝ'5Q`ݐ4>V\?ŭ6o mnA2kΟ]10 4 /aeGB06 x;?`gbd&>@-T0!*U(Nj_ KGMRs$M~s2C1.Eُ˘}(M=^zucKvGڛV>v|9M.O x׳_m7*˂H:-,dvkpBQ>Y&7M34"54.J0K׏O,\j1 uZ j֋4z{eJ{5ρ A-8W݋ mbo:X"53P1 % Is|9 (~~ŀ߽y$Lej/-|(?&vY%gp >+Nq<w$d2e}r& WYTaAT;xdz-6GFaT1~lv3ihaSePX͇$Њ-֨ CH̞RTzeA9@G4Pf۳e:"`b^CH:W*NB9jldcz\HIEdw=5@CǿܒpEPElUr-`%H>ne>v([@]& e-;G4k$_zkmH :, +r=%`oͨݳJO; z>Oۦ!u`02/w ]e:D0—ZGI;/`o* 7[xXEib2 s+t >y9LÏZ@Tț gv20Zѳ۫ؿ @vv|X5c@@CG/ı+\ !K5La 3ȁ$:tjQj}O9c~G6$PSa"~(SrNfG-89hPˀvяv/@ [\3S&HK؆*B@:ڗQ0E"^Sq tEZҐn@Z+DzA|h UY=뫴4o`,G3E [ zhGEY9b[4T8ȀmE$#j2C0>#@%`+Ax1@k$`%#8i+J{]r vG<_^;stQ#p-;0w1 9?vBeEgqMcjFt-ms!5-`1BVdvV@A„{$FX9 *@P8 0yąe C9!® 6L:={!\`Cag̓@̇,2'@oGfVaq;2,*X:5p" xd>G.G.8t ,GBpaeo u0Xh H1*a~6/F QpCeB IpH]?7юT};Ia״B,z-a%٥Ѝj~IV3A+j"Nć,e 2$)j [x'j˫E;nUrZ%7&o "ZXc3@0RF J"D -]`u4,@2AMbi4Ej/t4/s VbrˇP _0BfXm†l\#M4y#_,ht #J^aqD+f'- w4s ?1zآ ڮ "C`>m3=KP }HA>` aZ9Kۧ"Ō1{xǀ.h993B%jg͋H^+:a,nvA`a@q &3DhfD\ 1kVpwAkDpOYPz*,)&<9%DhCZC{#e4\ |\l?ZKdgN}+zsB@k0gr }BjT!bPF{5}"]ZY7O!N6`-Ki~ϬHFÊ'$3g=ps?lh O瑋~b)3B!ﰞa/)*-Qcహ(֤!f!Hσ Vb/!2B8lk,c abBKp %M?κSn#C @ 59aqĀ=b@ 1_⒃ #xJ;@AG S8ց_.5~Y{!lPZ־cF+hyX>ubdޑcdY 6F*a711X x*ek@eO>x'J;g@ LOܔa7E<,`eWǐPt$ڏ5+ ͺ@[9 r ́!oE=@{F@uo(>0*&Fx&X%݋SKZ)/G((j;Lȣds!M7b3Pm"r /eM@A#9-EN#PlKpfY'h7,S``a ,Z KN]h?Z@C]5ݲ3L6c3! 1^LB2Ƚc4,:r[4ᏂQ0 1(l;j ,AsC{݈qd]=HZc! H{B GSaQ? +Q@5,e%#|3bt)І5H;pQF<NoD*;#|ƙsM#h? F(&0OCo]tdVBG(Y|]SG)## 9|o)@| F Q0 FUb@: ?P;#$d1 G"vm(d2tXRaO` F'mG(TGy g@7WB7sl/@̪{W] ul?|2R}>t@`FfeȜpAl‡&`ECT#(k푶@%jzy-G(T3yO89 P c&`4b:v"GYHGQ@1n?i*;={<ƏybB)RC h? F(x q%[baxv  z ?`@EnciZK,#*Q0 FUj_tfHMa0@o_ފ>ƀ|C*W~:Š4ZQ0 3>e@) ro Ϣ^.AїOJBb2@6o1 Q?|=j)[t//Q@5lr|#DyX Zy8p3u1ݶw3v2"] ,rk= @(j`Bs`&,F l,rqpkrRc8ԀXw/@6U7W H8 끅Q4ZQ0  \!fa Asgawe@ gW*ТTi_5Zc=Q@uPvLX q^(Ȏ,hg@rw0s* 1l+Ew0Q@P~ :gBVVR5_rM7^ueʘ1gP/D\)o6X ]=8@`lYЋt |Ն/+_):,y`둚K ߡ-G(``h`h`h`h`h`h`h`pwm &uHb10 "7'~gx|9u~>}~$Rۥ]'ckxyYkZz62 6 CY#d?^fLe8\F`Ẇ[y_dA }7o/ػAa%xeli?ɱ#;\y4> Ye©Poly%(cE3'!Opnǁ6*VWKSr\8dbuܫ=9=~' v`NiHą*+çï6mv¨r^25ı38vu墜N94;,j4"d0i᷊֭C'})FQ?Cj[Gε铖r,S WBڡr U4e|iF}sn7MH_&##Us}V+_Wu5 ݼ0ֽ}GnkCਓ]UKgFkuyn$O\%#uD\'I%JpX'w97uoswkxݚ[%| {G։DUjuk8#9V;9@uG3rY:1П[sPdD NK(ڡNR֩0&EUC)U]]5nm OZWZީh)bHY [JLL([v!q3@6P!FDWO./4W8!ہM_@E9\q:e @Owjc;tSkJ=|&ՇaT\$Dy<_ܞ&2\cR[O>xԫoZ]ruq q0IYbbyEJo1 _Jӷu$fv$3I)a}7E u **s"D>7@G;hO|G$:qkG֝ӽ*HߵOؽQ`qAN&iK\dBD)W 3aHnIɘc%! ")= \]+36u׶b.AL% C+}vߋ؁jbK$ pXձY=3BծA++-tk ?8ӹN)+'=?$(a3?JnZ^Hئ$Sc!KhrQR\_'_|ӌ#-][r`_?:<ҡ݊ 37 Pshu0ܝV}(~ ӹuW2`=qjm4 6%: 1{҃@=01-4bZ2/)Wr3 L/:PKT@NwАB)&U^yj\`s WEGߐ LR[\~MzÜP^*60"[ rIO]A}F4"΋$K7)$t5(2;Mb;AU씲]C&>pyԷuqq]1Su6vNeN` 1 k'A%.: Vl/L2f6 IwjmobH t=QLc/]d 6U)Kj̣[UVӉlu4g_:_lBjKrZ# lRR tR]myא*srL?E"?}KlsE*&uqC4bLi CCNܓwo{Sdr_iH,_9atO8-=-j0A'|nٴoQ=+SoeJigg {kMx^=^ 4Sot6n3.Ԩ. 5X| K`u7C2F@1Ǘ $} cK#o褙LQQa;A܈ m'1Q4h2s$3[8cfvfM|[6#9ڵixlm?_:TLS 2d.\*bsXRt~i5/<-Mj i58$Ѷ|ؚGQj')!b=d(` ? F( F Q0 F(! F Q0 F(! F Q0 F(! F Q0 F(! F Q0 F(! F Q0 F(! F Q0 F(! V0,$iaX _..b>ik1rNEo穴F'oG~VgOx^Wduuu2]>>٪3-yib<6g-wg@AjB&60MPs|הRW>';S@A|ZSzN)@uECui .W͎ .Tt).#QQ[(.*j μ8BwBpŸb&~i[ -IsmL y }EВe#@7w[Sx|r}ۿ,-*C;sh|hnkM͗Vȧi9d| Q>qgqq Az[4 e5'Fn,F,Dj؀BS #3 S3NS[bɷ#,NwC}yGS?8nb;q 'qF>9cbgKVZKMAt1`wTSk.GzT{*/$|QIFi;Q_Wftwvunb"bۄBͼ՞^KJOret@tKb5ע׿t;t]> \E;Ap1<vsqd$8GuVҳDtU *_`k<%T :ڸ Y +. ~n@qͰ3|+FAu 50d`qf"B.xQNH$T$c[M2>pKη&3@^Rwՙ2nu qAz[{E A|yA)I)$O L{SqOeIv!vgD9tIN [91"4Ǧhd;[[.) [C̯6 *Tj@]<mZx6[ȩᦙ5@U΁ 0p(\ 8]ۻĒ,rkwk /a\aH\mЉie^5sDA4\ϜK4# MSKTOÉKi={b)4s-mv}r6ަԘ63mҏ |]ktw[jRl.u!'ˌh\0@.EGL/ gx81l> X?cS!QC >>???@@@AAABBBCCCDDDEEEFFFGGGHHHIIIJJJKKKLLLMMMNNNOOOPPPQQQRRRSSSTTTUUUVVVWWWXXXYYYZZZ[[[\\\]]]^^^___```aaabbbcccdddeeefffggghhhiiijjjkkklllmmmnnnooopppqqqrrrssstttuuuvvvwwwxxxyyyzzz{{{|||}}}~~~ぁ=v{! NETSCAPE2.0! ,L> H*\ȰÇ#JHŋ3jȱǏ CIdA(S\rɅNjI̗ cJϞ@H 2hJ2rD)@*0.O[vDٕ@Xsjj׶l6$٫w5mW)9-͢{,ҁEgu8 5|bSCJ%x3|Cf ۸Icqhq}vmBN-8(U/gys_9qٵ^?9yï>d|p_M6~ϕv(ބ`.} W!*I؅І9gNAȚkhq8S)5Hgf>$JBHL:mh:QIe!I6 $0JY$dHX'umAh긑*9|jB昉aрx&be1aJYziviJ:*A*=ҫꚔ,Bk$KO9Ūl}<WL%*QMi.W~HS•;Rvն;m_2xn~).kn2zk0 .9,o[.fw#! ,L> H*\ȰÇ#JHŋ3jȱǏ CIdA(S\rɅNjI̗ cJϞ@&΃EE4eSF@TL}Z 4TIb͚P vX(Dːյj7)֩VU{n*4YR{5*ʹ ,hq |PJ|]x'ФsWZ_Sޙ'[}u[[E%č_O|9sϥ.PassSWo8yguh` w%V"h rY]ɗփvN(ǁd`]&L%Db'\~ rуxvڌԈҍ&x!AjFd("6DP8%JUqE[V``)eH_qy&[kx'QG)"}y~`1Uh!;)ZބNNf꒤v*iI+¤ҨhꥄVkj*t뎵*+Od!U_Dlv5`u]6k؎4-MfҷyfbnWJ5Ӣc$K~n 7G,T!This GIF file was assembled by CDavis with GIF Construction Set from: Alchemy Mindworks Inc. P.O. Box 500 Beeton, Ontario L0G 1A0 CANADA. ! ,L> H*\ȰÇ#JHŋ3jȱǏ CIdA(S\rɅNjI̗ cJϞ@H 2hJ2rD)@*0.O[vDٕ@Xsjj׶l6$٫w5mW)9-͢{,ҁEgu8 5|bSCJ%x3|Cf ۸Icqhq}vmBN-8(U/gys_9qٵ^?9yï>d|p_M6~ϕv(ބ`.} W!*I؅І9gNAȚkhq8S)5Hgf>$JBHL:mh:QIe!I6 $0JY$dHX'umAh긑*9|jB昉aрx&be1aJYziviJ:*A*=ҫꚔ,Bk$KO9Ūl}<WL%*QMi.W~HS•;Rvն;m_2xn~).kn2zk0 .9,o[.fw#! ,L> H*\ȰÇ#JHŋ3jȱǏ CIdA(S\rɅNjI̗ cJϞ@&΃EE4eSF@TL}Z 4TIb͚P vX(Dːյj7)֩VU{n*4YR{5*ʹ ,hq |PJ|]x'ФsWZ_Sޙ'[}u[[E%č_O|9sϥ.PassSWo8yguh` w%V"h rY]ɗփvN(ǁd`]&L%Db'\~ rуxvڌԈҍ&x!AjFd("6DP8%JUqE[V``)eH_qy&[kx'QG)"}y~`1Uh!;)ZބNNf꒤v*iI+¤ҨhꥄVkj*t뎵*+Od!U_Dlv5`u]6k؎4-MfҷyfbnWJ5Ӣc$K~n 7G,T!This space for rent...! ,L> H*\ȰÇ#JHŋ3jȱǏ CIdA(S\rɅNjI̗ cJϞ@H 2hJ2rD)@*0.O[vDٕ@Xsjj׶l6$٫w5mW)9-͢{,ҁEgu8 5|bSCJ%x3|Cf ۸Icqhq}vmBN-8(U/gys_9qٵ^?9yï>d|p_M6~ϕv(ބ`.} W!*I؅І9gNAȚkhq8S)5Hgf>$JBHL:mh:QIe!I6 $0JY$dHX'umAh긑*9|jB昉aрx&be1aJYziviJ:*A*=ҫꚔ,Bk$KO9Ūl}<WL%*QMi.W~HS•;Rvն;m_2xn~).kn2zk0 .9,o[.fw#! ,L> H*\ȰÇ#JHŋ3jȱǏ CIdA(S\rɅNjI̗ cJϞ@&΃EE4eSF@TL}Z 4TIb͚P vX(Dːյj7)֩VU{n*4YR{5*ʹ ,hq |PJ|]x'ФsWZ_Sޙ'[}u[[E%č_O|9sϥ.PassSWo8yguh` w%V"h rY]ɗփvN(ǁd`]&L%Db'\~ rуxvڌԈҍ&x!AjFd("6DP8%JUqE[V``)eH_qy&[kx'QG)"}y~`1Uh!;)ZބNNf꒤v*iI+¤ҨhꥄVkj*t뎵*+Od!U_Dlv5`u]6k؎4-MfҷyfbnWJ5Ӣc$K~n 7G,T!This GIF file was assembled with GIF Construction Set from: Alchemy Mindworks Inc. P.O. Box 500 Beeton, Ontario L0G 1A0 CANADA. This comment block will not appear in files created with a registered version of GIF Construction Set;gtk-sharp-2.12.40/sample/GtkDemo/images/MonoIcon.png0000664000175000017500000000070012654353766017030 00000000000000PNG  IHDR@@. pHYsodrIDATxY0 >zo0 2&r⇰-w}A,[@k5b9X|@A$@33R-4:@б @t*!O  9c *;> ^"ٯ8:pygp 2Z,nt/18LJqwRF03<(j D P)a] \Nm@tN]y9m_3lD_, q,"Io$IK٣+=~3)ҧoek-OF>|eP6@: D2U|e53Դn!]e ;IENDB`gtk-sharp-2.12.40/sample/GtkDemo/images/background.jpg0000664000175000017500000005331312654353766017432 00000000000000JFIFHHCreated with The GIMPC    $.' ",#(7),01444'9=82<.342C  2!!22222222222222222222222222222222222222222222222222"8!1AQ"a2q#BR3rbC1 ?T[C GzFh ʎ^h| lFT{(v4 TQ|Q ¡KHylmUw$"G4dvEL C1H2;ށY $=3Y4pVM'UDkYR#B@X㘧X"A8$rB Kиd֩1`Np˛MTDL~)oϊ%%FQ"-ó<P \(@E/zg[}ST-ɌpD* $EV$~7U ` {U-yZTꍻk :ԃD!7@`5{~(1`vֲ0ݤ}N[ͰPb"7"1 rfV $Oo~Pe5'HqTfڠXEgU27?)7fW]ۉ?mos9 hb$CYQG-3]:sRH;սXf$}YڶB[Pr$G N,T4hx>iFER*@=sb;k|*(O>(P$S aN<2UpXK&v^*=Fse{]t߭e-胯WeqM@~t{ u-ҳqmAjX&O5@W ڝyp*ʾ;hrI =C!9g(ǚ 3X:46P c h46P1:Hd{ EDnH:XE; Pn- OZxB2Ց1#>H1Hӏ(3b]0H:TɽԶ(L#ɥZùa{im-ZKPm?.ucʁRKT-[npX3 k-9\x CSnDSڣNrQ(~(`K UuQv)aseTI2)e+a{$W>৐;U ߎi+P꣰t= :{p8ULZ*k$My N_q&^MFy:N嶽Ř0PtUBuH=Ywz̈%)PzpX!\\'jt9 W\*i$ ' WOhl/K{@`d~h`@2y)K,-UB} ) c梳gdbDH)B@M>GYh -剃<^e{ZgMm-HU'Pfh P#9g; 'GH؊e]V._%DkTobvh:` cMs\`Ph99 ~ᕰ@=A[%Ǹ:*)>cE lF܍H2'4l<:+^%m9ƷLtU@QIJ) r?={. ?[p9-7Mmn:b].ۻY!wU ˃ <]zFڤ*2'B2cnRދ9b7ⅲ}H=sxs@m*-W[;1 ~p *ΉhX悳75,4$x5FPg114 1ދLS.:> Pˤvu9"t4Od|ċi,H"=1K2R{οXu2OĞ>k)!8wTPd yb`5^S[rqgg4[CkԎ2vڨ+dL FKb*=v*YXD I~@A}R΢V٠mȂb5qU@}5VcځllKx@U@-r7'g$h?5 ˘S\zxxs3UhQDe&vf1(HCl6Si@8("o[캤KxUn[Sy`椷K=5%pvhnUd hB TsZ+'.40LcwGqjȝ ,nط[>ªbuAඡ@&;P"1P@*"I<,CL~GuInkF -S)wü zfڵZv ?W0Xb}؏hIKVГ6>dOl@#Ku h?{HDH #E@*K 11As Y v,VmP fl(]*?o\[}: P;-KKA ?;eFIրImRAPǽrݫCI~5pYeK}g@ v ӕB$w!| e r1 S1v3(* #=b'KSIrNKyTnތfU"u:~( [H/RI2I317)ڏbOo`L{(i3tk J+;!Ҵq*!yـLB+cڟ#&c*& РGQ@B'Qa0=I6t&d 䊨,nط[>ªbuAඡ@&;TR*I$)}21dy~T>6:Tkx0`2|; ~nͫ]5`p>jLn &*)݈DTo 0+0#cDH6̴9P̶aT@D 9 Tx[;bN eJb`vlU2 ~Ojnbq۲31F5ŷӮ ð^ jAszFThĝh E$ { -ڴ?`q?Q 6^'{b 9T,NZqojXֹ`m< v!m+;zmw$UXȘR[{ i.9Z:nap+q#KGdx^=EИT\׮qz{Nxaڼuze6Ŷq֦ rO›*qle5\(UQu|Q޵K\r} A(83,g[;GޑWӑ8 ==:M$GP)v(@sW SG$=C1ԁ$fi_UMmVDӺgp-dDk5' A(=TqY$ַm3  U fv"qS*`Bݏ?OyZP=c&g3h LE Ŏ,s1kY N(6*< 7X sO>ɓ'A- EIv o+ DLbk7S 3LAQLWitτ! >aIڃ*=T5[ ?K([f{P)9?jֹ`m< v!m+;zmw$U)%[`5ȗ bz_{4xN] Omz hyW W]gSl[i'jj*^ w$)|Gk0Pc\P͜}QUh0']η=\@T G42; A2ɌuHKaTxqM9P܃ڭcJ )A m>P f {(^>PH>)L<9ղXAYE_VITT̘biQQ=z|,2P*P\dR[y$N⢂(Y$qvE-?޶6n\8}^womc Ѵ{y1ոu=O4ޡԨ{J81{'k*CNF 􂋬ξcܚA$F5UFpX7Hf׶\6vKq>)A m>P f {(^>PH>)L<9ղXAYE_VITT̘biQQ=z|,2P*P\dR[y$N⢂(Y$qvE-?޶6n\8}^womc Ѵ{y1\EtonsEZ*?UGlbR.w :W%D&1Q{z MHwwn8^Z l)$5 Z|S?4!-+V( \ĉ1Y%wi-ALU]axX-+r}6UOj RVia*JݲOrP% Yై5@팪b;H@2\" e(PHzWp"ډ1t8;,++\c5O4 t6B:4Urv(qU<- r>;QM'<_IϨ lg( $ncof6ӥ*e B^~hP:f5QqSݸ.3l QBTsFtœ f9WPyEk :'&OmtzyLXzS>N;iReUq/En~ہ@үQY-qL3q2k/\ A⹺wf׻q&893,H␲Rg,4UWP\P@B2b`KF_oimP/к#gAUSXˀ<8fŲI&gj Gڎ0YV  UP{2a汶 2y 5T[]?LL3$r; j95PPX2Z3q'PҰiR/{{@Ы@H9l* @TfX !e)ɢ2ϘXi@*d1YP0,>f_u$# F` yrN>ؤg%R~)U 2ۍNPlG n2,]V!)R.NG~ G:ɊtLkY_$*[v$h a=iF. @'02IcX$ӥ@ ?j5`ANyWǸ`a-)N⋹!f{M#x۞Oڛ ,dyB[9?4WrA#T#[M*n@)Ҥ:Ivs)P'FbΦ˾D.8ԽhDT)OHKAƝL|Q=*i0 vMf[4" EbqT,,xb!x[aP;%?!-ROv'1G0Y/i5nFg#G _ @'zk2V6;_@a,kĚ/̷Qw7&Z FFPAb-j4@b;^f1Vjjl^^ ~sEGӴ0R:q:WL¬€2 X7fAjı8vbnԅ!53ж"<RT Umo6cڵ7oV`|df"džMJ9 Ub9=-r֡)`)0&55<5@]D=kpl? -rZDRPpuUM#`lsk m7ʆkV@5HΪ 1<$P"LGv(Iv,< 2+9lڊ>p@WC)"KhwUIk,1se[P; KK;d 5U7L[NA^.L)Gi2$p/ AUE(ñ:2.kvRfL6&IX80$ʑW׹E۷Qvy[iQӲ-[>3?5Q4:v&&A|ǦO5y"B0[ĝE⵷gkPa1+{ ds ip]GTy>h[Li(~Y'T q588*4H>Kmq@I3?PIi8QdyDS"*+N"`ڀ$YĒq$qYR촋kwnx NLDOsA*\')BvQJ}(hB/;$@ؖhl@$a@@UBAk-솝"c(arFB{&rV:QHRn(2N5飻!Mh@qAD1}o` 4$R]Ndn>*_='@J;gm753ikǓiDYLfO}TSnB! Nк!bL;UwpKiPhj`chTA rA>&Icj}GC@#7sN s^bm#gt1O4Taʏ$UCV䝘nР(9:8Q.oLs!Ar#u%dVwOg7ٮ{6LY().ZN4&>*a 梪O4 +@Y?]#Hb&!'Fnx NLDOsA*\')BvQJ}(hB/;$@ؖhl@$a@@UBAk-솝"c(arFB{&rV:QHRn(2N5飻!Mh@qAD1}o` 4$R]Ndn>*_='@J;gm753ikǓiDYLfO}TSnB! Nк!bL;UwpKiPPKr@ :pf}ܓM)wA;m-#tm#(w{xp o\ޟfw'@*S6[ޙY\E(UTJ2Di46 {UF V ʼnf*:IHM1gGu5l"FB0Ŷ8&GbPJj&fh vbp5!*1\CR}G$tfi d4cftwQMsV)9d*Nc [cM2l4v 4ffH`'f)\Rn0=y4='rI'C+cjq'z'f6'>")[;i[eN "-y1bFTT3DA&h}CB(aR5kV`~$$p?4PỸfPT!Ʃ`" >hYsm4IOdIX ?zP$ (ղ@?+*ǙQ2i~4V.C\=D*# @1X;k"2mРF̬@S}SNŷ1ʠP"a@;a.޳΢M *b?ZկF%}dɬTO H*, !j'SL>#ǓAmEQZiK*O>!mL Dl(S:קҪɮvMr?yuO&uC7aAzt-xdž2-4 M%3ykV}DZIf 9KjGjqp8xJ)LAuv"~yn(#{e*P*O 4~Xk Z`+hjSB?P`8 ,fALd(AfcrcTH4, $觲O$I(fcj LIcj(b4H!݀ Ѭ[L5I6hP#fVw)SbۈYeP(|@LD\|zYQJ&PD±fڭjףhHvvqo'Qm D9a#q+*;z4Ŧp 9'B椑!w{رPI[lG"!tI<T$ߚY>h| lFT{(v4 TQ|Q ¡KHylmUw$"G4dvEL C1H2;ށY $=3Y4pVM'UDkYR#B@X㘧X"A8$rB Kиd֩1`Np˛MTDL~)oϊ%%FQ"-ó<P \(@E/zg[}ST-ɌpD* $EV$~7U ` {U-yZTꍻk :ԃD!7@`5{~(1`vֲ0ݤ}N[ͰPb"7"1 rfV $Oo~Pe5'HqTfڠXEgU27?)7fW]ۉ?mos9 hb$CYQG-3]:sRH;սXf$}YڶB[Pr$G N,T4hx>iFER*@=sb;k|*(O>(P$S aN<2UpXK&v^*=Fse{]t߭e-胯WeqM@~t{ u-ҳqmAjX&O5@W ڝyp*ʾ;hrI =C!9g(ǚ 3X:46P c h46P1:Hd{ EDnH:XE; Pn- OZxB2Ց1#>H1Hӏ(3b]0H:TɽԶ(L#ɥZùa{im-ZKPm?.ucʁRKT-[npX3 k-9\x CSnDSڣNrQ(~(`K UuQv)aseTI2)e+a{$W>৐;U ߎi+P꣰t= :{p8ULZ*k$My N_q&^MFy:N嶽Ř0PtUBuH=Ywz̈%)PzpX!\\'jt9 W\*i$ ' WOhl/K{@`d~h`@2y)K,-UB} ) c梳gdbDH)B@M>GYh -剃<^e{ZgMm-HU'Pfh P#9g; 'GH؊e]V._%DkTobvh:` cMs\`Ph99 ~ᕰ@=A[%Ǹ:*)>cE lF܍H2'4l<:+^%m9ƷLtU@QIJ) r?={. ?[p9-7Mmn:b].ۻY!wU ˃ <]zFڤ*2'B2cnRދ9b7ⅲ}H=sxs@m*-W[;1 ~p *ΉhX悳75,4$x5FPg114 1ދLS.:> Pˤvu9"t4Od|ċi,H"=1K2R{οXu2OĞ>k)!8wTPd yb`5^S[rqgg4[CkԎ2vڨ+dL FKb*=v*YXD I~@A}R΢V٠mȂb5qU@}5VcځllKx@U@-r7'g$h?5 ˘S\zxxs3UhQDe&vf1(HCl6Si@8("o[캤KxUn[Sy`椷K=5%pvhnUd hB TsZ+'.40LcwGqjȝ ,nط[>ªbuAඡ@&;P"1P@*"I<,CL~GuInkF -S)wü zfڵZv ?W0Xb}؏hIKVГ6>dOl@#Ku h?{HDH #E@*K 11As Y v,VmP fl(]*?o\[}: P;-KKA ?;eFIրImRAPǽrݫCI~5pYeK}g@ v ӕB$w!| e r1 S1v3(* #=b'KSIrNKyTnތfU"u:~( [H/RI2I317)ڏbOo`L{(i3tk J+;!Ҵq*!yـLB+cڟ#&c*& РGQ@B'Qa0=I6t&d 䊨,nط[>ªbuAඡ@&;TR*I$)}21dy~T>6:Tkx0`2|; ~nͫ]5`p>jLn &*)݈DTo 0+0#cDH6̴9P̶aT@D 9 Tx[;bN eJb`vlU2 ~Ojnbq۲31F5ŷӮ ð^ jAszFThĝh E$ { -ڴ?`q?Q 6^'{b 9T,NZqojXֹ`m< v!m+;zmw$UXȘR[{ i.9Z:nap+q#KGdx^=EИT\׮qz{Nxaڼuze6Ŷq֦ rO›*qle5\(UQu|Q޵K\r} A(83,g[;GޑWӑ8 ==:M$GP)v(@sW SG$=C1ԁ$fi_UMmVDӺgp-dDk5' A(=TqY$ַm3  U fv"qS*`Bݏ?OyZP=c&g3h LE Ŏ,s1kY N(6*< 7X sO>ɓ'A- EIv o+ DLbk7S 3LAQLWitτ! >aIڃ*=T5[ ?K([f{P)9?jֹ`m< v!m+;zmw$U)%[`5ȗ bz_{4xN] Omz hyW W]gSl[i'jj*^ w$)|Gk0Pc\P͜}QUh0']η=\@T G42; A2ɌuHKaTxqM9P܃ڭcJ )A m>P f {(^>PH>)L<9ղXAYE_VITT̘biQQ=z|,2P*P\dR[y$N⢂(Y$qvE-?޶6n\8}^womc Ѵ{y1ոu=O4ޡԨ{J81{'k*CNF 􂋬ξcܚA$F5UFpX7Hf׶\6vKq>)A m>P f {(^>PH>)L<9ղXAYE_VITT̘biQQ=z|,2P*P\dR[y$N⢂(Y$qvE-?޶6n\8}^womc Ѵ{y1\EtonsEZ*?UGlbR.w :W%D&1Q{z MHwwn8^Z l)$5 Z|S?4!-+V( \ĉ1Y%wi-ALU]axX-+r}6UOj RVia*JݲOrP% Yై5@팪b;H@2\" e(PHzWp"ډ1t8;,++\c5O4 t6B:4Urv(qU<- r>;QM'<_IϨ lg( $ncof6ӥ*e B^~hP:f5QqSݸ.3l QBTsFtœ f9WPyEk :'&OmtzyLXzS>N;iReUq/En~ہ@үQY-qL3q2k/\ A⹺wf׻q&893,H␲Rg,4UWP\P@B2b`KF_oimP/к#gAUSXˀ<8fŲI&gj Gڎ0YV  UP{2a汶 2y 5T[]?LL3$r; j95PPX2Z3q'PҰiR/{{@Ы@H9l* @TfX !e)ɢ2ϘXi@*d1YP0,>f_u$# F` yrN>ؤg%R~)U 2ۍNPlG n2,]V!)R.NG~ G:ɊtLkY_$*[v$h a=iF. @'02IcX$ӥ@ ?j5`ANyWǸ`a-)N⋹!f{M#x۞Oڛ ,dyB[9?4WrA#Tgtk-sharp-2.12.40/sample/GtkDemo/images/gnu-keys.png0000664000175000017500000000741412654353766017062 00000000000000PNG  IHDR00WgAMA aIDATxkt]e゙[rr-M&i4IoŦC;DgPQTTguleP^Ҧ-msk~9Im}y|)̗:~yy}.qK\2C^Fd"弋Kt᪵UrL+ͷRu-YVV^zU+W (=ݽo `L-(`Fy9&NaYV왳vmۏ:/L/zefB01o2jy_8Pϱup H)B0qm_[ ȿV;@V(\{^fr(6 IG{x3cKս( *H$|)T4h?]ȂeneY9kjx4Jbd+W^y%լhB L  [|aIl2F~~+&OG @Uө|A< _ 8nSOn$I1UfV^~<`wn~ t4'8͞-ZXYyށT{߽ۿ_qǎR\RȬJ Il[8y%e^UQ5Mc_EVvϕxK"yn /﮻iK,554k>+cY=\mOw0 xmO~/P Be``}r!ʊ)- 3blя[i%hF*$LcuTcP⒊;>u{)j0%yyB` p㉸퇿]WWWwBǁQ`rJn'7†jB4E4Lo߫4kp$/w]MP5b$q|tb嗱kҲr=elt_="GeG7tM0M'߽;~rt]G"IA4¡0hhlzFF 3:$ccc$IFc8z9zG BB&Mرc<.馛)/+W||f9pEQP <.ӿxb&8ҊoRinm&77Jj-_Ƽy9s4gΝ"JY8R"}qʦa&j`A4Mlذk\k  ԾZolDUUt]_}}RL7^L@G>2EUPu.+ZJBz{zof$6JEE% ;.' ˪g΂HC "Yz@0H__/CA=ơCعs'K,acض͑#u}ctL%Oxɼ@QQQov(G&]]]]Pe1HSPX+0LښhhlॗvHũcH.iiiq,*QUΞսGbYAx|;w$;7p(*斪yϝxd0 x _bf/H_y_|'<9Bcǎ8y3˙;gPs &pl}G3RK v5V>3tZ͆O~7^/f(=>.\wI àa&M/}TM#;+#?EQQ*̟;˗zΎNod*Iii2~n}.**gdh+HOjo.a 7\rY"&6>55<.<ץ-?žp7QZVi o=B:==Xu,KpUܱAR{`?wE 'OP6ן"#QtM! 12CʛKco}wc) R0u #%'4 U?>D"Yy_?? ,kf:ōm[+k&pmTTT,]=[(x3SE_8R88I*"@+_FW\=|v4 ,\W M -郵ugsrm7d mݽ횪BP@(hB;u…5?=x'uyjS_kOYpݡ:+>6M>۾d;O5;{}#6//oY''UTTT3L'lK}ACRJ%A kBg[ԌT4hzo>JhBkVjUSÙL DUU;?vTaYvȡc=gN7=='yiT]m-mV 3KhqCowL&0 NCDz.L\Τ/y۽e˗rsM5.b$ Dcx}k+V.Ng{cC#4y/x'QV]ʫYZZꍌ Y{Q~WRnaswkwD"&w?K\{;$誂IENDB`gtk-sharp-2.12.40/sample/GtkDemo/images/apple-red.png0000664000175000017500000000673112654353766017172 00000000000000PNG  IHDR00WgAMA a IDATx[]Wyk9s8 N)JڄڨB>pE WK R@@@BqS+8v3sk}>31^|֞9e{^tvy_Tz߇} r޽cksM?p<p+E>*ܾ֏ W]vfgvw>yv!'+_dLom]aD֭G7L#ͯ굿>tbލW-,.{>E,&+֬h /ڳ{^>߄z;?/ ;po}U.tKGŇf6)o]EZ91|}~ W--7C4 ;%씍ozۍ! g|aNgnMo,VKU!@0G|׶nڱk5pJog&;W5B8tpao;[6:׽O\ 2R wͮr|Ο=ZEB|[aղ,ꭿw~x VmB)Fhcݷ}\In}GSefc"vԪg/-3j"`wogpr>Aqow;7O ̄ & AXA۰ض8pS9pMNwnmჃja~n,v?s{v}7ُOP v4!tTUMOh[( 0 :4uȢ(;'yn9?Scbጙ!|'/͛7+Wu_իNH)D^'jFĪBĐ,h.%49 0ofH_ CSv&/ʁnzhɖtJ?ܽ^q6]^~ӣ&5)G1!@2 ĺۖzf r\饊6?7=_ޓwַ/;w'W7y'^jc wzCDqbO1H!޴a f曖cP26,dhRЀص0hO~ί{r/VOMVl^}5#ey_\3*1D7*Jx*4+Dƨ$",X^SxAJpǏvpǏ8Gݍ׮YmeM޲zr\ǎ1?L NɈq X4L Iz!u$Dw!P!X(3J⺫~w>*;o; fLթѦO{ A?MtzU:z47"qsHNDS@8ɜn5A75e<3atH` _ v:,~J;I`U"* af#Pp wD0US"Vka`9zT5^W/8Ognl?P2⠥Qs8;A T"J9%3^]vݫ )%@_jBxɘ9w'fT(0 -/lpaAAi#aEN0NKm7]E;tz`@~$Zɘ`xD^1CQƱoN@pu,@z%jS6:ઔEk)e  "`h "TFPv,GbrJ>5ZS TP'4QuGlb*-+18ʨ>L Uǣ",*V1,E, *U;Ή@&D "Ǐљ&}a5\ )"JF0U3 sh БB+isa+  J)-M:&Xɸ "y4âd-TrD@#Ȱ(q@S<ܶwŧULЛYE*J.D B#%Cdb`#j0#qZUT)h}7kCPK VfZaoI@PB iA ֩#  F Q>JdŽP1IP"XTlXE"ia"Z@<hsaЎgyhCL_) LMttzb|[{v0Fԕ*A"E" 'U(G3.ElPSZsD %;١B1rch&3Ԅ%$D9FbwƓ963{;ydb vXs<2N80qY?fza\!9zTr;O97c2~ie8]щblE˜ |\IENDB`gtk-sharp-2.12.40/sample/GtkDemo/images/gnome-gimp.png0000664000175000017500000000652212654353766017356 00000000000000PNG  IHDR00WgAMA1_ IDATxYk]u>{9w޶gllc#ǯ_Qܹu7up,+ k, !]?w @u ܴry=>ّ/$~IDhxm~Gȱ=fR.w'{ˡC"_"#acv*KDv ܂VK6Wztl0[; . 9<ckGn΍lR;y介~ &/xԙ ~w:$\":An(EFW~#AcR)ĭ4\OKs{&R@*=tӪW|B$BDp-xgp7zK~RH ѢrW\OBy񟟞Ǔ4++ݟ~xWQ,Z`olRZ2-v hJC g@ 0`O\!8 3v3X 0zE_s]^fvy\o<ЦMz^0o-[~ c8ȤDIdR!,j9ic_[6#)fݼaÆm޼!!Dqbb?=ȶKF|/b``{ޏ5kǐJǖ-[ƪP*VR1Z[Jz3WpdTMdldS*wx===m۶GǽfIo&q<?ժxWh~~vi^{m?8رcꫯBJVR R*( h֒Ʊ='20I.gN;HCyQyBvr''=Z vڅF3'`Fm<3={e&$A;IIJ({f0$GV (mb 0V:@rhrrB,_ѣGP,šs@>q߃a֭\SOhnRf}uՙ0l#٩T*-uM08O*ܝ=== fFehZ(J(9ϝ93'0n~i(RJT 8{}Π^  &VfX &fgseג3|߇Ð(Bp hPڇo}+ex~ԅSHJkZm IښU@BfÜ_Lkqaya!mU'mhـ=`6`f,? Vl$j ApY)rԇs1ro}c}ɞi4˲waE{{zz0 Q.GbCZITPy>=erJkLL]TIq3|fnqTux+ֺZT (ðJa I\CYV AAlIHc뚶p2z y5@4<5}nב˦pM?qx^R{dyZIΜG&SHrk@+ĄnNF sqnb}3VZZkRv;[P!`if[`f9;;{xHISiFJ* CiTJ0;W<.^Z@d-(B/Stz@n/5̘jg<9덎]` ۼqL |,H6ՆBT,T*7BO="Sgr0}SK0H3zjSU^uWu~NLW̧0iORIENDB`gtk-sharp-2.12.40/sample/GtkDemo/images/gnome-calendar.png0000664000175000017500000000530312654353766020167 00000000000000PNG  IHDR00WgAMA1_ zIDATx]lWwvvwNvc7֤}B"TDAVT臢ҨQ Ayh)BB R>ѠTb'󹉿];wwfa7N*Du5;wN;Nnn0;x}?&Ex @twRJ"T!@QW @ a H_(yJ6'C""a$ BuZ BiM* *=ܪD;ϏweBB E*es8N2H)A6/O^ZJ)[?J%#/hl34*aH(ω|>*c76 $2'\O6.8y}B1aᅊmsu'X aHB|rןP(J(^)RԑRDJNDΗ^ac_kG-VVW6l |#bhm!ne~ye9FhfA^G#7)rp$^<|] QJ"py2 KV^o $ʈ C;Qؐ{Iȥnc2}8ڭ;rk LdGui 8ƃ@ "Z!&7ֽ@^xO,k*)-l ]o[fMCz8@oܸ K;7ę v(d6LJxh-`Oˌ]5MdU`PHw@1c; 9D5#M@.}@7vg):?yyF+C ? lSKl =˓R)/fYZ)JgDeYZXbbGF@o84ށX5e!J:OS)N)w3ccdYv 180H+Mm֢@QNtR|'C^_Cgzt%eTkÐZ25;5эIXخh&BrĻt[jEZjc'ak*ͮa1yKTu]T%onl(r  ~ضrC4d'Ƅ:o!:zGcXd&zI} !ҩh+-G7 I4[=`ŵ $Mce_ܿ'F{1>7wccۀ^k1.Z\10ŁNVdf9v)c|t=< 3ccL̔1E94y0nzz=Du:3?2T ,T\0s _e/ׇ o>Н:qj^ڷo߉mXpd WMjo1W[?kll,cСT*5:6M$eW2ob x3}3}xgPUjI3&c+wM& rտ%v{v$+Q):ښNƘUOdΑ/R7ODzHKR"xDb!zKAHiY0 RedLU(fyQݵr]] Cj6ѪU!J-a>奂Jz|q 琈E0ym{A=J|7xx#luS6}Wz6#gޘ%r[%-Mi|Zov,e |YQp"z}_wԪ_hUvyc ѦY|)B&_; qիtMb\^cϏ& G}F+8nu;hdhp6Zbew7%5 3 3j`*-nxw-8ph$Rwmcg.#\ٚmd몂g Kdj,J(*}k_z~'H^sk#-dz7vq5_VONKF8%5*'Qc]Xioiٟĥûo岹#vDP0Ƕ`YoozVYT?/l$,D!M%c-V0̟lV+T%drL\0y?mlВ'FGL%4D2IEM MF>Oy3׳ݽ}X|wo_o,l biuS/#[(=948Ǡ`zz{a[aYGPIg,# Hu^-Cm]X_;+{>VWU mX0, ϣ4C<ЪW`Y"Fni|e̤Pk $>\|r=N"6  CJYǒb!ǶZ@MC#\V˫V)c=vjn̻ [5 VIa[xAqD1׶ XYZd2gr[AWfD/Wk3GiZeyx'eBD1D8%kkeL%OO<^-Fޜ$ 1-;єdhF$EmS'eQ]Ӊm0M,g2x8v,~7|/jf0ֽ%ю^0l8$-I (J=j;.XaZbMo;MC| -Q8<< $7L 5(4=`-LE*48  ; &M=r2fpz$L-M>v!C %e)<9 H FE,)7 IKj)%6#&89;4P 4E&@4ޕpA YhPJ,A~(t,0C&Η"Cwa9 ۔ @5qGZpX@QH"\6eSdX:bR\T 2AdvP0CM p% pRBYDMwlBL h6l5zP10abK%qE9JY@+,6儳G[j72YЀtVa-:#,4!*}51a "mBNh[V0vC0A TIZp&: *L(",h:1B[?8[;B: L֭;n|pΗ$#F*`EuY >CF9BCJ7 C#(0BBG@fCd6tuCsyNDWA[zv'%Ԡ7\]凇sSQTa[`hR".Ye-d, BӡJAqAv`0@i,UA<@\b'^ʐcDƝQPp6" zk|U)L\A #(y B !.PB>0\&n`Cbv`->`k0A a@ @H#!~"Y> RWۂ&Q>TzGJWX(c%-%JP xjb[R? E|@$@:\c @AVpOXĀn~I{i"NЁ x"P#` Xo6(nK IVG7@2ˆAREp I! .X `+c,AC?qQrO~% otDAyiBڇ ^N @$$ి",C.tR$$` d4(t&v  Եk]fv^Ć>xS#U <1`"7{N#ȠS5쌷\pA {ݐH$Ћ$KGZPP֠I$Ӈqy8hwum WЇ~C PK VZo!A @HWl{!q` [s r|Eݵ F ыK@o2}ѵrpq #<Ƹ t@~EAM)^o`un "ems H` p y|pqЀ~0[$x_H~47U` 6r `6Pr_#Wt < 3@27UtPcA}x !0U6``` gW `dO@2@}YRPct&j 16`|px `O ) l9j2$ mIZa0o @|~ ؚG~ p P @A $0o밓{ UplJ/ n  X.Lm~ߐQr`Y rĠ UQq.҃)8iJ@RtًAG `6P%; ]ʀR b lRܠ j0mov~飊@j`H` %FAȐ _hbUwФ叛 {Xm kjtrPtʦ ڐAY`Đ lb)Z!7pqeq" Y|4Un``p`pj6 f` UC`r '/yH[W5 O wh*ʰ<$oqQ"}PUTJ(FS% `ZdZ%0.Apg2 OG`. ZlmخK6e!7 °`GW֤N:Щp.7^Xv{ZRnpl&fAp Y ͺ(d",+ 嚮ٕf_! c+ɛؓ`ЭI [m3$+~@sz]WBP!K yڀ&XVJ ^PkmW[Zi ZbG+4`>2\l!GP (+`Ep[hXWR7+["yfo 2 !g] Q D`|G^f7} 1˛ٖu> !0h}j`km˚Z|tp%o&ЅUj au[m~ / , (V$P{`w% Q 7`` kqC6pgxv7ً[f0ʶ f2%`)7b`Wt A$0f⢐c YY& `H7p !`&PܲwɎP #\)`Ƥ  v WTL3[kUP lbzˋ؈T7 Mo! ΜMǰ DMrI 7נZ^h% ;\X;L3٬ -됡^m k6)!F@ GE4t.XLvb+Ng0Ƣ2Eeh8kqIz]T2Gd6%"@nY>| `oFX^=vxƚek-ΝEj @f22kU|as <5d$Z-~@RcF޴,:ۼ|GzrTfIZ!|: 8p 91a@Jߗx+6][=Ӧj>pOn_" bc3?ϛukO!DQkuffZlnl> RiΟybҌԦh2 Gl.hxW^wMDŽ " C(Bk &;;=]u4 ֮T*:œqfKssdWw>?v۝}tZ$nR*?x {!koƯ-?ܳ{rHNSGvIRa8  ~#&qL$R0ers7h$NXťuV$J&WrX._M9<|ߗ~K)58ILb,Zn#ʼni$ J}y`1j s*qȷomR)v{sp/oH?[~qX!RJj*RqOiA)d2A)E$ycZs 9GZ%X\gqao.κ<=stؗŷD>Rz{D)>t|cDQDE$IB) jlr!.-h68r mh6:O|=|?k8VۯGkY$ Ks$Ii2 DQD(A0;3#8~|޲Gfnрtww|LN\B<[?~+? q;h6xO|| \),T*cPJ!GUG @NI!:>rC t]qB̀f3'G'~~OwָcJBeH)B0L}BCkspFYufm_]^!tuG/4GK9RT*8Bnׅ!ֲHE0Dx<RzD⯟},BxX~+~u2c}U/dxkR1뽑V@D¿)i>ed!0 ihQJM H)WIFfIoZGn&js\*x-'FkHd$v>iRΎ1fZE'2zkܠ9Ph-'PX,0Okb–IL&&;|7W 9rUˣ_ρmw#$I SZk8- $sV2[/H)d$J81Sŗ <.diZOZ_rљ#Ϝ9R 9HӔ4M}cJGQV[l4K`MI&|^B»x" + "

" + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + ""; public DemoUIManager () : base ("UI Manager") { ActionEntry[] entries = new ActionEntry[] { new ActionEntry ("FileMenu", null, "_File", null, null, null), new ActionEntry ("PreferencesMenu", null, "_Preferences", null, null, null), new ActionEntry ("ColorMenu", null, "_Color", null, null, null), new ActionEntry ("ShapeMenu", null, "_Shape", null, null, null), new ActionEntry ("HelpMenu", null, "_Help", null, null, null), new ActionEntry ("New", Stock.New, "_New", "N", "Create a new file", new EventHandler (ActionActivated)), new ActionEntry ("Open", Stock.Open, "_Open", "O", "Open a file", new EventHandler (ActionActivated)), new ActionEntry ("Save", Stock.Save, "_Save", "S", "Save current file", new EventHandler (ActionActivated)), new ActionEntry ("SaveAs", Stock.SaveAs, "Save _As", null, "Save to a file", new EventHandler (ActionActivated)), new ActionEntry ("Quit", Stock.Quit, "_Quit", "Q", "Quit", new EventHandler (ActionActivated)), new ActionEntry ("About", null, "_About", "A", "About", new EventHandler (ActionActivated)), new ActionEntry ("Logo", "demo-gtk-logo", null, null, "Gtk#", new EventHandler (ActionActivated)) }; ToggleActionEntry[] toggleEntries = new ToggleActionEntry[] { new ToggleActionEntry ("Bold", Stock.Bold, "_Bold", "B", "Bold", new EventHandler (ActionActivated), true) }; RadioActionEntry[] colorEntries = new RadioActionEntry[] { new RadioActionEntry ("Red", null, "_Red", "R", "Blood", (int)Color.Red), new RadioActionEntry ("Green", null, "_Green", "G", "Grass", (int)Color.Green), new RadioActionEntry ("Blue", null, "_Blue", "B", "Sky", (int)Color.Blue) }; RadioActionEntry[] shapeEntries = new RadioActionEntry[] { new RadioActionEntry ("Square", null, "_Square", "S", "Square", (int)Shape.Square), new RadioActionEntry ("Rectangle", null, "_Rectangle", "R", "Rectangle", (int)Shape.Rectangle), new RadioActionEntry ("Oval", null, "_Oval", "O", "Egg", (int)Shape.Oval) }; ActionGroup actions = new ActionGroup ("group"); actions.Add (entries); actions.Add (toggleEntries); actions.Add (colorEntries, (int)Color.Red, new ChangedHandler (RadioActionActivated)); actions.Add (shapeEntries, (int)Shape.Oval, new ChangedHandler (RadioActionActivated)); UIManager uim = new UIManager (); uim.InsertActionGroup (actions, 0); AddAccelGroup (uim.AccelGroup); uim.AddUiFromString (uiInfo); VBox box1 = new VBox (false, 0); Add (box1); box1.PackStart (uim.GetWidget ("/MenuBar"), false, false, 0); Label label = new Label ("Type\n\nto start"); label.SetSizeRequest (200, 200); label.SetAlignment (0.5f, 0.5f); box1.PackStart (label, true, true, 0); HSeparator separator = new HSeparator (); box1.PackStart (separator, false, true, 0); VBox box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, false, true, 0); Button button = new Button ("close"); button.Clicked += new EventHandler (CloseClicked); box2.PackStart (button, true, true, 0); button.CanDefault = true; button.GrabDefault (); ShowAll (); } private void ActionActivated (object sender, EventArgs a) { Gtk.Action action = sender as Gtk.Action; Console.WriteLine ("Action \"{0}\" activated", action.Name); } private void RadioActionActivated (object sender, ChangedArgs args) { Console.WriteLine ("Radio action \"{0}\" selected", args.Current.Name); } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } void CloseClicked (object sender, EventArgs a) { Destroy (); } } } gtk-sharp-2.12.40/sample/GtkDemo/DemoImages.cs0000664000175000017500000001155012767740470015677 00000000000000/* Images * * Gtk.Image is used to display an image; the image can be in a number of formats. * Typically, you load an image into a Gdk.Pixbuf, then display the pixbuf. * * This demo code shows some of the more obscure cases, in the simple * case a call to the constructor Gtk.Image (string filename) is all you need. * * If you want to put image data in your program compile it in as a resource. * This way you will not need to depend on loading external files, your * application binary can be self-contained. */ using System; using System.IO; using System.Reflection; using Gtk; using Gdk; namespace GtkDemo { [Demo ("Images", "DemoImages.cs")] public class DemoImages : Gtk.Window { private Gtk.Image progressiveImage; private VBox vbox; BinaryReader imageStream; public DemoImages () : base ("Images") { BorderWidth = 8; vbox = new VBox (false, 8); vbox.BorderWidth = 8; Add (vbox); Gtk.Label label = new Gtk.Label ("Image loaded from a file"); label.UseMarkup = true; vbox.PackStart (label, false, false, 0); Gtk.Frame frame = new Gtk.Frame (); frame.ShadowType = ShadowType.In; // The alignment keeps the frame from growing when users resize // the window Alignment alignment = new Alignment (0.5f, 0.5f, 0f, 0f); alignment.Add (frame); vbox.PackStart (alignment, false, false, 0); Gtk.Image image = Gtk.Image.LoadFromResource ("gtk-logo-rgb.gif"); frame.Add (image); // Animation label = new Gtk.Label ("Animation loaded from a file"); label.UseMarkup = true; vbox.PackStart (label, false, false, 0); frame = new Gtk.Frame (); frame.ShadowType = ShadowType.In; alignment = new Alignment (0.5f, 0.5f, 0f, 0f); alignment.Add (frame); vbox.PackStart (alignment, false, false, 0); image = Gtk.Image.LoadFromResource ("floppybuddy.gif"); frame.Add (image); // Progressive label = new Gtk.Label ("Progressive image loading"); label.UseMarkup = true; vbox.PackStart (label, false, false, 0); frame = new Gtk.Frame (); frame.ShadowType = ShadowType.In; alignment = new Alignment (0.5f, 0.5f, 0f, 0f); alignment.Add (frame); vbox.PackStart (alignment, false, false, 0); // Create an empty image for now; the progressive loader // will create the pixbuf and fill it in. progressiveImage = new Gtk.Image (); frame.Add (progressiveImage); StartProgressiveLoading (); // Sensitivity control Gtk.ToggleButton button = new Gtk.ToggleButton ("_Insensitive"); vbox.PackStart (button, false, false, 0); button.Toggled += new EventHandler (ToggleSensitivity); ShowAll (); } protected override void OnDestroyed () { if (timeout_id != 0) { GLib.Source.Remove (timeout_id); timeout_id = 0; } if (pixbufLoader != null) { pixbufLoader.Close (); pixbufLoader = null; } if (imageStream != null) { imageStream.Close (); imageStream = null; } } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } private void ToggleSensitivity (object o, EventArgs args) { ToggleButton toggle = o as ToggleButton; foreach (Widget widget in vbox) { // don't disable our toggle if (widget != toggle) widget.Sensitive = !toggle.Active; } } private uint timeout_id; private void StartProgressiveLoading () { // This is obviously totally contrived (we slow down loading // on purpose to show how incremental loading works). // The real purpose of incremental loading is the case where // you are reading data from a slow source such as the network. // The timeout simply simulates a slow data source by inserting // pauses in the reading process. timeout_id = GLib.Timeout.Add (150, new GLib.TimeoutHandler (ProgressiveTimeout)); } Gdk.PixbufLoader pixbufLoader; // TODO: Decide if we want to perform the same crazy error handling // gtk-demo does private bool ProgressiveTimeout () { if (imageStream == null) { Stream stream = Assembly.GetExecutingAssembly ().GetManifestResourceStream ("alphatest.png"); imageStream = new BinaryReader (stream); pixbufLoader = new Gdk.PixbufLoader (); pixbufLoader.AreaPrepared += new EventHandler (ProgressivePreparedCallback); pixbufLoader.AreaUpdated += new AreaUpdatedHandler (ProgressiveUpdatedCallback); } if (imageStream.PeekChar () != -1) { byte[] bytes = imageStream.ReadBytes (256); pixbufLoader.Write (bytes); return true; // leave the timeout active } else { imageStream.Close (); return false; // removes the timeout } } void ProgressivePreparedCallback (object obj, EventArgs args) { Gdk.Pixbuf pixbuf = pixbufLoader.Pixbuf; pixbuf.Fill (0xaaaaaaff); progressiveImage.FromPixbuf = pixbuf; } void ProgressiveUpdatedCallback (object obj, AreaUpdatedArgs args) { progressiveImage.QueueDraw (); } } } gtk-sharp-2.12.40/sample/GtkDemo/DemoDialog.cs0000664000175000017500000000670012767740470015672 00000000000000/* Dialog and Message Boxes * * Dialog widgets are used to pop up a transient window for user feedback. */ using System; using Gtk; namespace GtkDemo { [Demo ("Dialog and Message Boxes", "DemoDialog.cs")] public class DemoDialog : Gtk.Window { private Entry entry1; private Entry entry2; public DemoDialog () : base ("Dialogs") { BorderWidth = 8; Frame frame = new Frame ("Dialogs"); Add (frame); VBox vbox = new VBox (false, 8); vbox.BorderWidth = 8; frame.Add (vbox); // Standard message dialog HBox hbox = new HBox (false,8); vbox.PackStart (hbox, false, false, 0); Button button = new Button ("_Message Dialog"); button.Clicked += new EventHandler (MessageDialogClicked); hbox.PackStart (button, false, false, 0); vbox.PackStart (new HSeparator(), false, false, 0); // Interactive dialog hbox = new HBox (false, 8); vbox.PackStart (hbox, false, false, 0); VBox vbox2 = new VBox (false, 0); button = new Button ("_Interactive Dialog"); button.Clicked += new EventHandler (InteractiveDialogClicked); hbox.PackStart (vbox2, false, false, 0); vbox2.PackStart (button, false, false, 0); Table table = new Table (2, 2, false); table.RowSpacing = 4; table.ColumnSpacing = 4; hbox.PackStart (table, false, false, 0); Label label = new Label ("_Entry1"); table.Attach (label, 0, 1, 0, 1); entry1 = new Entry (); table.Attach (entry1, 1, 2, 0, 1); label.MnemonicWidget = entry1; label = new Label ("E_ntry2"); table.Attach (label,0,1,1,2); entry2 = new Entry (); table.Attach (entry2, 1, 2, 1, 2); label.MnemonicWidget = entry2; ShowAll (); } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } private int i = 1; private void MessageDialogClicked (object o, EventArgs args) { using (Dialog dialog = new MessageDialog (this, DialogFlags.Modal | DialogFlags.DestroyWithParent, MessageType.Info, ButtonsType.Ok, "This message box has been popped up the following\nnumber of times:\n\n {0}", i)) { dialog.Run (); dialog.Hide (); } i++; } private void InteractiveDialogClicked (object o, EventArgs args) { Dialog dialog = new Dialog ("Interactive Dialog", this, DialogFlags.Modal | DialogFlags.DestroyWithParent, Gtk.Stock.Ok, ResponseType.Ok, "_Non-stock Button", ResponseType.Cancel); HBox hbox = new HBox (false, 8); hbox.BorderWidth = 8; dialog.VBox.PackStart (hbox, false, false, 0); Image stock = new Image (Stock.DialogQuestion, IconSize.Dialog); hbox.PackStart (stock, false, false, 0); Table table = new Table (2, 2, false); table.RowSpacing = 4; table.ColumnSpacing = 4; hbox.PackStart (table, true, true, 0); Label label = new Label ("_Entry1"); table.Attach (label, 0, 1, 0, 1); Entry localEntry1 = new Entry (); localEntry1.Text = entry1.Text; table.Attach (localEntry1, 1, 2, 0, 1); label.MnemonicWidget = localEntry1; label = new Label ("E_ntry2"); table.Attach (label, 0, 1, 1, 2); Entry localEntry2 = new Entry (); localEntry2.Text = entry2.Text; table.Attach (localEntry2, 1, 2, 1, 2); label.MnemonicWidget = localEntry2; hbox.ShowAll (); ResponseType response = (ResponseType) dialog.Run (); if (response == ResponseType.Ok) { entry1.Text = localEntry1.Text; entry2.Text = localEntry2.Text; } dialog.Destroy (); } } } gtk-sharp-2.12.40/sample/GtkDemo/DemoDrawingArea.cs0000664000175000017500000001442312767740470016660 00000000000000/* Drawing Area * * GtkDrawingArea is a blank area where you can draw custom displays * of various kinds. * * This demo has two drawing areas. The checkerboard area shows * how you can just draw something; all you have to do is write * a signal handler for ExposeEvent, as shown here. * * The "scribble" area is a bit more advanced, and shows how to handle * events such as button presses and mouse motion. Click the mouse * and drag in the scribble area to draw squiggles. Resize the window * to clear the area. */ using System; using Gtk; using Gdk; namespace GtkDemo { [Demo ("Drawing Area", "DemoDrawingArea.cs")] public class DemoDrawingArea : Gtk.Window { private Pixmap pixmap = null; public DemoDrawingArea () : base ("Drawing Area") { BorderWidth = 8; VBox vbox = new VBox (false, 8); vbox.BorderWidth = 8; Add (vbox); // Create the checkerboard area Label label = new Label ("Checkerboard pattern"); label.UseMarkup = true; vbox.PackStart (label, false, false, 0); Frame frame = new Frame (); frame.ShadowType = ShadowType.In; vbox.PackStart (frame, true, true, 0); DrawingArea da = new DrawingArea (); // set a minimum size da.SetSizeRequest (100,100); frame.Add (da); da.ExposeEvent += new ExposeEventHandler (CheckerboardExpose); // Create the scribble area label = new Label ("Scribble area"); label.UseMarkup = true; vbox.PackStart (label, false, false, 0); frame = new Frame (); frame.ShadowType = ShadowType.In; vbox.PackStart (frame, true, true, 0); da = new DrawingArea (); // set a minimum size da.SetSizeRequest (100, 100); frame.Add (da); // Signals used to handle backing pixmap da.ExposeEvent += new ExposeEventHandler (ScribbleExpose); da.ConfigureEvent += new ConfigureEventHandler (ScribbleConfigure); // Event signals da.MotionNotifyEvent += new MotionNotifyEventHandler (ScribbleMotionNotify); da.ButtonPressEvent += new ButtonPressEventHandler (ScribbleButtonPress); // Ask to receive events the drawing area doesn't normally // subscribe to da.Events |= EventMask.LeaveNotifyMask | EventMask.ButtonPressMask | EventMask.PointerMotionMask | EventMask.PointerMotionHintMask; ShowAll (); } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } private void CheckerboardExpose (object o, ExposeEventArgs args) { const int CheckSize = 10; const int Spacing = 2; DrawingArea da = o as DrawingArea; // It would be a bit more efficient to keep these // GC's around instead of recreating on each expose, but // this is the lazy/slow way. Gdk.GC gc1 = new Gdk.GC (da.GdkWindow); gc1.RgbFgColor = new Gdk.Color (117, 0, 117); Gdk.GC gc2 = new Gdk.GC (da.GdkWindow); gc2.RgbFgColor = new Gdk.Color (255, 255, 255); int i, j, xcount, ycount; Gdk.Rectangle alloc = da.Allocation; // Start redrawing the Checkerboard xcount = 0; i = Spacing; while (i < alloc.Width) { j = Spacing; ycount = xcount % 2; // start with even/odd depending on row while (j < alloc.Height) { Gdk.GC gc; if (ycount % 2 != 0) gc = gc1; else gc = gc2; da.GdkWindow.DrawRectangle (gc, true, i, j, CheckSize, CheckSize); j += CheckSize + Spacing; ++ycount; } i += CheckSize + Spacing; ++xcount; } // return true because we've handled this event, so no // further processing is required. args.RetVal = true; } private void ScribbleExpose (object o, ExposeEventArgs args) { Widget widget = o as Widget; Gdk.Window window = widget.GdkWindow; Rectangle area = args.Event.Area; // We use the "ForegroundGC" for the widget since it already exists, // but honestly any GC would work. The only thing to worry about // is whether the GC has an inappropriate clip region set. window.DrawDrawable (widget.Style.ForegroundGC (StateType.Normal), pixmap, area.X, area.Y, area.X, area.Y, area.Width, area.Height); } // Create a new pixmap of the appropriate size to store our scribbles private void ScribbleConfigure (object o, ConfigureEventArgs args) { Widget widget = o as Widget; Rectangle allocation = widget.Allocation; pixmap = new Pixmap (widget.GdkWindow, allocation.Width, allocation.Height, -1); // Initialize the pixmap to white pixmap.DrawRectangle (widget.Style.WhiteGC, true, 0, 0, allocation.Width, allocation.Height); // We've handled the configure event, no need for further processing. args.RetVal = true; } private void ScribbleMotionNotify (object o, MotionNotifyEventArgs args) { // paranoia check, in case we haven't gotten a configure event if (pixmap == null) return; // This call is very important; it requests the next motion event. // If you don't call Window.GetPointer() you'll only get a single // motion event. The reason is that we specified PointerMotionHintMask // in widget.Events. If we hadn't specified that, we could just use // args.Event.X, args.Event.Y as the pointer location. But we'd also // get deluged in events. By requesting the next event as we handle // the current one, we avoid getting a huge number of events faster // than we can cope. int x, y; ModifierType state; args.Event.Window.GetPointer (out x, out y, out state); if ((state & ModifierType.Button1Mask) != 0) DrawBrush (o as Widget, x, y); // We've handled it, stop processing args.RetVal = true; } // Draw a rectangle on the screen private void DrawBrush (Widget widget, double x, double y) { Rectangle update_rect = new Rectangle ((int)x - 3, (int)y - 3, 6, 6); // Paint to the pixmap, where we store our state pixmap.DrawRectangle (widget.Style.BlackGC, true, update_rect.X, update_rect.Y, update_rect.Width, update_rect.Height); widget.GdkWindow.InvalidateRect (update_rect, false); } private void ScribbleButtonPress (object o, ButtonPressEventArgs args) { // paranoia check, in case we haven't gotten a configure event if (pixmap == null) return; EventButton ev = args.Event; if (ev.Button == 1) DrawBrush (o as Widget, ev.X, ev.Y); // We've handled the event, stop processing args.RetVal = true; } } } gtk-sharp-2.12.40/sample/GtkDemo/README0000664000175000017500000000067712654353766014231 00000000000000This is a mostly complete port of gtk-demo to Gtk#; for notes on what's missing, see the TODO file. The original port was done by Daniel Kornhauser (dkor@alum.mit.edu), with additions/changes/fixes by various other people, as seen in the main gtk-sharp ChangeLog. For the most part, the various demos should stay as close as possible to the C version, so that GtkDemo.exe can be compared against gtk-demo to make sure Gtk# is working correctly. gtk-sharp-2.12.40/sample/GtkDemo/DemoSizeGroup.cs0000664000175000017500000000717212767740470016426 00000000000000/* Size Groups * * SizeGroup provides a mechanism for grouping a number of * widgets together so they all request the same amount of space. * This is typically useful when you want a column of widgets to * have the same size, but you can't use a Table widget. * * Note that size groups only affect the amount of space requested, * not the size that the widgets finally receive. If you want the * widgets in a SizeGroup to actually be the same size, you need * to pack them in such a way that they get the size they request * and not more. For example, if you are packing your widgets * into a table, you would not include the Gtk.Fill flag. */ using System; using Gtk; namespace GtkDemo { [Demo ("Size Group", "DemoSizeGroup.cs")] public class DemoSizeGroup : Dialog { private SizeGroup sizeGroup; static string [] colors = { "Red", "Green", "Blue" }; static string [] dashes = { "Solid", "Dashed", "Dotted" }; static string [] ends = { "Square", "Round", "Arrow" }; public DemoSizeGroup () : base ("SizeGroup", null, DialogFlags.DestroyWithParent, Gtk.Stock.Close, Gtk.ResponseType.Close) { Resizable = false; VBox vbox = new VBox (false, 5); this.VBox.PackStart (vbox, true, true, 0); vbox.BorderWidth = 5; sizeGroup = new SizeGroup (SizeGroupMode.Horizontal); // Create one frame holding color options Frame frame = new Frame ("Color Options"); vbox.PackStart (frame, true, true, 0); Table table = new Table (2, 2, false); table.BorderWidth = 5; table.RowSpacing = 5; table.ColumnSpacing = 10; frame.Add (table); AddRow (table, 0, sizeGroup, "_Foreground", colors); AddRow (table, 1, sizeGroup, "_Background", colors); // And another frame holding line style options frame = new Frame ("Line Options"); vbox.PackStart (frame, false, false, 0); table = new Table (2, 2, false); table.BorderWidth = 5; table.RowSpacing = 5; table.ColumnSpacing = 10; frame.Add (table); AddRow (table, 0, sizeGroup, "_Dashing", dashes); AddRow (table, 1, sizeGroup, "_Line ends", ends); // And a check button to turn grouping on and off CheckButton checkButton = new CheckButton ("_Enable grouping"); vbox.PackStart (checkButton, false, false, 0); checkButton.Active = true; checkButton.Toggled += new EventHandler (ToggleGrouping); ShowAll (); } // Convenience function to create a combo box holding a number of strings private ComboBox CreateComboBox (string [] strings) { ComboBox combo = ComboBox.NewText (); foreach (string str in strings) combo.AppendText (str); combo.Active = 0; return combo; } private void AddRow (Table table, uint row, SizeGroup sizeGroup, string labelText, string [] options) { Label label = new Label (labelText); label.SetAlignment (0, 1); table.Attach (label, 0, 1, row, row + 1, AttachOptions.Expand | AttachOptions.Fill, 0, 0, 0); ComboBox combo = CreateComboBox (options); label.MnemonicWidget = combo; sizeGroup.AddWidget (combo); table.Attach (combo, 1, 2, row, row + 1, 0, 0, 0, 0); } private void ToggleGrouping (object o, EventArgs args) { ToggleButton checkButton = (ToggleButton)o; // SizeGroupMode.None is not generally useful, but is useful // here to show the effect of SizeGroupMode.Horizontal by // contrast SizeGroupMode mode; if (checkButton.Active) mode = SizeGroupMode.Horizontal; else mode = SizeGroupMode.None; sizeGroup.Mode = mode; } protected override void OnResponse (Gtk.ResponseType responseId) { Destroy (); } } } gtk-sharp-2.12.40/sample/GtkDemo/DemoHyperText.cs0000664000175000017500000001464212767740470016433 00000000000000/* Text Widget/Hypertext * * Usually, tags modify the appearance of text in the view, e.g. making it * bold or colored or underlined. But tags are not restricted to appearance. * They can also affect the behavior of mouse and key presses, as this demo * shows. */ using System; using System.Collections; using Gtk; namespace GtkDemo { [Demo ("Hyper Text", "DemoHyperText.cs", "Text Widget")] public class DemoHyperText : Gtk.Window { bool hoveringOverLink = false; Gdk.Cursor handCursor, regularCursor; public DemoHyperText () : base ("HyperText") { handCursor = new Gdk.Cursor (Gdk.CursorType.Hand2); regularCursor = new Gdk.Cursor (Gdk.CursorType.Xterm); SetDefaultSize (450, 450); TextView view = new TextView (); view.WrapMode = WrapMode.Word; view.KeyPressEvent += new KeyPressEventHandler (KeyPress); view.WidgetEventAfter += new WidgetEventAfterHandler (EventAfter); view.MotionNotifyEvent += new MotionNotifyEventHandler (MotionNotify); view.VisibilityNotifyEvent += new VisibilityNotifyEventHandler (VisibilityNotify); ScrolledWindow sw = new ScrolledWindow (); sw.SetPolicy (Gtk.PolicyType.Automatic, Gtk.PolicyType.Automatic); Add (sw); sw.Add (view); ShowPage (view.Buffer, 1); ShowAll (); } Hashtable tag_pages = new Hashtable (); // Inserts a piece of text into the buffer, giving it the usual // appearance of a hyperlink in a web browser: blue and underlined. // Additionally, attaches some data on the tag, to make it recognizable // as a link. void InsertLink (TextBuffer buffer, ref TextIter iter, string text, int page) { TextTag tag = new TextTag (null); tag.Foreground = "blue"; tag.Underline = Pango.Underline.Single; tag_pages [tag] = page; buffer.TagTable.Add (tag); buffer.InsertWithTags (ref iter, text, tag); } // Fills the buffer with text and interspersed links. In any real // hypertext app, this method would parse a file to identify the links. void ShowPage (TextBuffer buffer, int page) { buffer.Text = ""; TextIter iter = buffer.StartIter; if (page == 1) { buffer.Insert (ref iter, "Some text to show that simple "); InsertLink (buffer, ref iter, "hypertext", 3); buffer.Insert (ref iter, " can easily be realized with "); InsertLink (buffer, ref iter, "tags", 2); buffer.Insert (ref iter, "."); } else if (page == 2) { buffer.Insert (ref iter, "A tag is an attribute that can be applied to some range of text. " + "For example, a tag might be called \"bold\" and make the text inside " + "the tag bold. However, the tag concept is more general than that; " + "tags don't have to affect appearance. They can instead affect the " + "behavior of mouse and key presses, \"lock\" a range of text so the " + "user can't edit it, or countless other things.\n"); InsertLink (buffer, ref iter, "Go back", 1); } else if (page == 3) { TextTag tag = buffer.TagTable.Lookup ("bold"); if (tag == null) { tag = new TextTag ("bold"); tag.Weight = Pango.Weight.Bold; buffer.TagTable.Add (tag); } buffer.InsertWithTags (ref iter, "hypertext:\n", tag); buffer.Insert (ref iter, "machine-readable text that is not sequential but is organized " + "so that related items of information are connected.\n"); InsertLink (buffer, ref iter, "Go back", 1); } } // Looks at all tags covering the position of iter in the text view, // and if one of them is a link, follow it by showing the page identified // by the data attached to it. void FollowIfLink (TextView view, TextIter iter) { foreach (TextTag tag in iter.Tags) { object page = tag_pages [tag]; if (page is int) ShowPage (view.Buffer, (int)page); } } // Looks at all tags covering the position (x, y) in the text view, // and if one of them is a link, change the cursor to the "hands" cursor // typically used by web browsers. void SetCursorIfAppropriate (TextView view, int x, int y) { bool hovering = false; TextIter iter = view.GetIterAtLocation (x, y); foreach (TextTag tag in iter.Tags) { if (tag_pages [tag] is int) { hovering = true; break; } } if (hovering != hoveringOverLink) { Gdk.Window window = view.GetWindow (Gtk.TextWindowType.Text); hoveringOverLink = hovering; if (hoveringOverLink) window.Cursor = handCursor; else window.Cursor = regularCursor; } } // Links can be activated by pressing Enter. void KeyPress (object sender, KeyPressEventArgs args) { TextView view = sender as TextView; switch ((Gdk.Key) args.Event.KeyValue) { case Gdk.Key.Return: case Gdk.Key.KP_Enter: TextIter iter = view.Buffer.GetIterAtMark (view.Buffer.InsertMark); FollowIfLink (view, iter); break; default: break; } } // Links can also be activated by clicking. void EventAfter (object sender, WidgetEventAfterArgs args) { if (args.Event.Type != Gdk.EventType.ButtonRelease) return; Gdk.EventButton evt = (Gdk.EventButton)args.Event; if (evt.Button != 1) return; TextView view = sender as TextView; TextIter start, end, iter; int x, y; // we shouldn't follow a link if the user has selected something view.Buffer.GetSelectionBounds (out start, out end); if (start.Offset != end.Offset) return; view.WindowToBufferCoords (TextWindowType.Widget, (int) evt.X, (int) evt.Y, out x, out y); iter = view.GetIterAtLocation (x, y); FollowIfLink (view, iter); } // Update the cursor image if the pointer moved. void MotionNotify (object sender, MotionNotifyEventArgs args) { TextView view = sender as TextView; int x, y; Gdk.ModifierType state; view.WindowToBufferCoords (TextWindowType.Widget, (int) args.Event.X, (int) args.Event.Y, out x, out y); SetCursorIfAppropriate (view, x, y); view.GdkWindow.GetPointer (out x, out y, out state); } // Also update the cursor image if the window becomes visible // (e.g. when a window covering it got iconified). void VisibilityNotify (object sender, VisibilityNotifyEventArgs a) { TextView view = sender as TextView; int wx, wy, bx, by; view.GetPointer (out wx, out wy); view.WindowToBufferCoords (TextWindowType.Widget, wx, wy, out bx, out by); SetCursorIfAppropriate (view, bx, by); } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } } } gtk-sharp-2.12.40/sample/GtkDemo/DemoPanes.cs0000664000175000017500000000663312767740470015546 00000000000000/* Paned Widgets * * The HPaned and VPaned Widgets divide their content * area into two panes with a divider in between that the * user can adjust. A separate child is placed into each * pane. * * There are a number of options that can be set for each pane. * This test contains both a horizontal (HPaned) and a vertical * (VPaned) widget, and allows you to adjust the options for * each side of each widget. */ using System; using System.Collections; using Gtk; namespace GtkDemo { [Demo ("Paned Widget", "DemoPanes.cs")] public class DemoPanes : Gtk.Window { Hashtable children = new Hashtable (); public DemoPanes () : base ("Panes") { VBox vbox = new VBox (false, 0); Add (vbox); VPaned vpaned = new VPaned (); vbox.PackStart (vpaned, true, true, 0); vpaned.BorderWidth = 5; HPaned hpaned = new HPaned (); vpaned.Add1 (hpaned); Frame frame = new Frame (); frame.ShadowType = ShadowType.In; frame.SetSizeRequest (60, 60); hpaned.Add1 (frame); Gtk.Button button = new Button ("_Hi there"); frame.Add (button); frame = new Frame (); frame.ShadowType = ShadowType.In; frame.SetSizeRequest (80, 60); hpaned.Add2 (frame); frame = new Frame (); frame.ShadowType = ShadowType.In; frame.SetSizeRequest (60, 80); vpaned.Add2 (frame); // Now create toggle buttons to control sizing vbox.PackStart (CreatePaneOptions (hpaned, "Horizontal", "Left", "Right"), false, false, 0); vbox.PackStart (CreatePaneOptions (vpaned, "Vertical", "Top", "Bottom"), false, false, 0); ShowAll (); } Frame CreatePaneOptions (Paned paned, string frameLabel, string label1, string label2) { Frame frame = new Frame (frameLabel); frame.BorderWidth = 4; Table table = new Table (3, 2, true); frame.Add (table); Label label = new Label (label1); table.Attach (label, 0, 1, 0, 1); CheckButton check = new CheckButton ("_Resize"); table.Attach (check, 0, 1, 1, 2); check.Toggled += new EventHandler (ToggleResize); children[check] = paned.Child1; check = new CheckButton ("_Shrink"); table.Attach (check, 0, 1, 2, 3); check.Active = true; check.Toggled += new EventHandler (ToggleShrink); children[check] = paned.Child1; label = new Label (label2); table.Attach (label, 1, 2, 0, 1); check = new CheckButton ("_Resize"); table.Attach (check, 1, 2, 1, 2); check.Active = true; check.Toggled += new EventHandler (ToggleResize); children[check] = paned.Child2; check = new CheckButton ("_Shrink"); table.Attach (check, 1, 2, 2, 3); check.Active = true; check.Toggled += new EventHandler (ToggleShrink); children[check] = paned.Child2; return frame; } private void ToggleResize (object obj, EventArgs args) { ToggleButton toggle = obj as ToggleButton; Widget child = children[obj] as Widget; Paned paned = child.Parent as Paned; Paned.PanedChild pc = paned[child] as Paned.PanedChild; pc.Resize = toggle.Active; } private void ToggleShrink (object obj, EventArgs args) { ToggleButton toggle = obj as ToggleButton; Widget child = children[obj] as Widget; Paned paned = child.Parent as Paned; Paned.PanedChild pc = paned[child] as Paned.PanedChild; pc.Shrink = toggle.Active; } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } } } gtk-sharp-2.12.40/sample/GtkDemo/DemoTextView.cs0000664000175000017500000004352012767740470016253 00000000000000/* Text Widget/Multiple Views * * The Gtk.TextView widget displays a Gtk.TextBuffer. One Gtk.TextBuffer * can be displayed by multiple Gtk.TextViews. This demo has two views * displaying a single buffer, and shows off the widget's text * formatting features. */ using System; using System.IO; using Gdk; using Gtk; namespace GtkDemo { [Demo ("Multiple Views", "DemoTextView.cs", "Text Widget")] public class DemoTextView : Gtk.Window { TextView view1; TextView view2; public DemoTextView () : base ("TextView") { SetDefaultSize (450,450); BorderWidth = 0; VPaned vpaned = new VPaned (); vpaned.BorderWidth = 5; Add (vpaned); // For convenience, we just use the autocreated buffer from // the first text view; you could also create the buffer // by itself, then later create a view widget. view1 = new TextView (); TextBuffer buffer = view1.Buffer; view2 = new TextView (buffer); ScrolledWindow sw = new ScrolledWindow (); sw.SetPolicy (PolicyType.Automatic, PolicyType.Automatic); vpaned.Add1 (sw); sw.Add (view1); sw = new ScrolledWindow (); sw.SetPolicy (PolicyType.Automatic, PolicyType.Automatic); vpaned.Add2 (sw); sw.Add (view2); CreateTags (buffer); InsertText (buffer); AttachWidgets (view1); AttachWidgets (view2); ShowAll (); } private TextChildAnchor buttonAnchor; private TextChildAnchor menuAnchor; private TextChildAnchor scaleAnchor; private TextChildAnchor animationAnchor; private TextChildAnchor entryAnchor; private void AttachWidgets (TextView textView) { // This is really different from the C version, but the // C versions seems a little pointless. Button button = new Button ("Click Me"); button.Clicked += new EventHandler(EasterEggCB); textView.AddChildAtAnchor (button, buttonAnchor); button.ShowAll (); ComboBox combo = ComboBox.NewText (); combo.AppendText ("Option 1"); combo.AppendText ("Option 2"); combo.AppendText ("Option 3"); textView.AddChildAtAnchor (combo, menuAnchor); HScale scale = new HScale (null); scale.SetRange (0,100); scale.SetSizeRequest (70, -1); textView.AddChildAtAnchor (scale, scaleAnchor); scale.ShowAll (); Gtk.Image image = Gtk.Image.LoadFromResource ("floppybuddy.gif"); textView.AddChildAtAnchor (image, animationAnchor); image.ShowAll (); Entry entry = new Entry (); textView.AddChildAtAnchor (entry, entryAnchor); entry.ShowAll (); } const int gray50_width = 2; const int gray50_height = 2; const string gray50_bits = "\x02\x01"; private void CreateTags (TextBuffer buffer) { // Create a bunch of tags. Note that it's also possible to // create tags with gtk_text_tag_new() then add them to the // tag table for the buffer, gtk_text_buffer_create_tag() is // just a convenience function. Also note that you don't have // to give tags a name; pass NULL for the name to create an // anonymous tag. // // In any real app, another useful optimization would be to create // a GtkTextTagTable in advance, and reuse the same tag table for // all the buffers with the same tag set, instead of creating // new copies of the same tags for every buffer. // // Tags are assigned default priorities in order of addition to the // tag table. That is, tags created later that affect the same text // property affected by an earlier tag will override the earlier // tag. You can modify tag priorities with // gtk_text_tag_set_priority(). TextTag tag = new TextTag ("heading"); tag.Weight = Pango.Weight.Bold; tag.Size = (int) Pango.Scale.PangoScale * 15; buffer.TagTable.Add (tag); tag = new TextTag ("italic"); tag.Style = Pango.Style.Italic; buffer.TagTable.Add (tag); tag = new TextTag ("bold"); tag.Weight = Pango.Weight.Bold; buffer.TagTable.Add (tag); tag = new TextTag ("big"); tag.Size = (int) Pango.Scale.PangoScale * 20; buffer.TagTable.Add (tag); tag = new TextTag ("xx-small"); tag.Scale = Pango.Scale.XXSmall; buffer.TagTable.Add (tag); tag = new TextTag ("x-large"); tag.Scale = Pango.Scale.XLarge; buffer.TagTable.Add (tag); tag = new TextTag ("monospace"); tag.Family = "monospace"; buffer.TagTable.Add (tag); tag = new TextTag ("blue_foreground"); tag.Foreground = "blue"; buffer.TagTable.Add (tag); tag = new TextTag ("red_background"); tag.Background = "red"; buffer.TagTable.Add (tag); // The C gtk-demo passes NULL for the drawable param, which isn't // multi-head safe, so it seems bad to allow it in the C# API. // But the Window isn't realized at this point, so we can't get // an actual Drawable from it. So we kludge for now. Pixmap stipple = Pixmap.CreateBitmapFromData (Gdk.Screen.Default.RootWindow, gray50_bits, gray50_width, gray50_height); tag = new TextTag ("background_stipple"); tag.BackgroundStipple = stipple; buffer.TagTable.Add (tag); tag = new TextTag ("foreground_stipple"); tag.ForegroundStipple = stipple; buffer.TagTable.Add (tag); tag = new TextTag ("big_gap_before_line"); tag.PixelsAboveLines = 30; buffer.TagTable.Add (tag); tag = new TextTag ("big_gap_after_line"); tag.PixelsBelowLines = 30; buffer.TagTable.Add (tag); tag = new TextTag ("double_spaced_line"); tag.PixelsInsideWrap = 10; buffer.TagTable.Add (tag); tag = new TextTag ("not_editable"); tag.Editable = false; buffer.TagTable.Add (tag); tag = new TextTag ("word_wrap"); tag.WrapMode = WrapMode.Word; buffer.TagTable.Add (tag); tag = new TextTag ("char_wrap"); tag.WrapMode = WrapMode.Char; buffer.TagTable.Add (tag); tag = new TextTag ("no_wrap"); tag.WrapMode = WrapMode.None; buffer.TagTable.Add (tag); tag = new TextTag ("center"); tag.Justification = Justification.Center; buffer.TagTable.Add (tag); tag = new TextTag ("right_justify"); tag.Justification = Justification.Right; buffer.TagTable.Add (tag); tag = new TextTag ("wide_margins"); tag.LeftMargin = 50; tag.RightMargin = 50; buffer.TagTable.Add (tag); tag = new TextTag ("strikethrough"); tag.Strikethrough = true; buffer.TagTable.Add (tag); tag = new TextTag ("underline"); tag.Underline = Pango.Underline.Single; buffer.TagTable.Add (tag); tag = new TextTag ("double_underline"); tag.Underline = Pango.Underline.Double; buffer.TagTable.Add (tag); tag = new TextTag ("superscript"); tag.Rise = (int) Pango.Scale.PangoScale * 10; tag.Size = (int) Pango.Scale.PangoScale * 8; buffer.TagTable.Add (tag); tag = new TextTag ("subscript"); tag.Rise = (int) Pango.Scale.PangoScale * -10; tag.Size = (int) Pango.Scale.PangoScale * 8; buffer.TagTable.Add (tag); tag = new TextTag ("rtl_quote"); tag.WrapMode = WrapMode.Word; tag.Direction = TextDirection.Rtl; tag.Indent = 30; tag.LeftMargin = 20; tag.RightMargin = 20; buffer.TagTable.Add (tag); } private void InsertText (TextBuffer buffer) { Pixbuf pixbuf = Gdk.Pixbuf.LoadFromResource ("gtk-logo-rgb.gif"); pixbuf = pixbuf.ScaleSimple (32, 32, InterpType.Bilinear); // get start of buffer; each insertion will revalidate the // iterator to point to just after the inserted text. TextIter insertIter = buffer.StartIter; buffer.Insert (ref insertIter, "The text widget can display text with all kinds of nifty attributes. It also supports multiple views of the same buffer; this demo is showing the same buffer in two places.\n\n"); buffer.InsertWithTagsByName (ref insertIter, "Font styles. ", "heading"); buffer.Insert (ref insertIter, "For example, you can have "); buffer.InsertWithTagsByName (ref insertIter, "italic", "italic"); buffer.Insert (ref insertIter, ", "); buffer.InsertWithTagsByName (ref insertIter, "bold", "bold"); buffer.Insert (ref insertIter, ", or "); buffer.InsertWithTagsByName (ref insertIter, "monospace (typewriter)", "monospace"); buffer.Insert (ref insertIter, ", or "); buffer.InsertWithTagsByName (ref insertIter, "big", "big"); buffer.Insert (ref insertIter, " text. "); buffer.Insert (ref insertIter, "It's best not to hardcode specific text sizes; you can use relative sizes as with CSS, such as "); buffer.InsertWithTagsByName (ref insertIter, "xx-small", "xx-small"); buffer.Insert (ref insertIter, " or"); buffer.InsertWithTagsByName (ref insertIter, "x-large", "x-large"); buffer.Insert (ref insertIter, " to ensure that your program properly adapts if the user changes the default font size.\n\n"); buffer.InsertWithTagsByName (ref insertIter, "Colors. ", "heading"); buffer.Insert (ref insertIter, "Colors such as "); buffer.InsertWithTagsByName (ref insertIter, "a blue foreground", "blue_foreground"); buffer.Insert (ref insertIter, " or "); buffer.InsertWithTagsByName (ref insertIter, "a red background", "red_background"); buffer.Insert (ref insertIter, " or even "); buffer.InsertWithTagsByName (ref insertIter, "a stippled red background", "red_background", "background_stipple"); buffer.Insert (ref insertIter, " or "); buffer.InsertWithTagsByName (ref insertIter, "a stippled blue foreground on solid red background", "blue_foreground", "red_background", "foreground_stipple"); buffer.Insert (ref insertIter, " (select that to read it) can be used.\n\n"); buffer.InsertWithTagsByName (ref insertIter, "Underline, strikethrough, and rise. ", "heading"); buffer.InsertWithTagsByName (ref insertIter, "Strikethrough", "strikethrough"); buffer.Insert (ref insertIter, ", "); buffer.InsertWithTagsByName (ref insertIter, "underline", "underline"); buffer.Insert (ref insertIter, ", "); buffer.InsertWithTagsByName (ref insertIter, "double underline", "double_underline"); buffer.Insert (ref insertIter, ", "); buffer.InsertWithTagsByName (ref insertIter, "superscript", "superscript"); buffer.Insert (ref insertIter, ", and "); buffer.InsertWithTagsByName (ref insertIter, "subscript", "subscript"); buffer.Insert (ref insertIter, " are all supported.\n\n"); buffer.InsertWithTagsByName (ref insertIter, "Images. ", "heading"); buffer.Insert (ref insertIter, "The buffer can have images in it: "); buffer.InsertPixbuf (ref insertIter, pixbuf); buffer.InsertPixbuf (ref insertIter, pixbuf); buffer.InsertPixbuf (ref insertIter, pixbuf); buffer.Insert (ref insertIter, " for example.\n\n"); buffer.InsertWithTagsByName (ref insertIter, "Spacing. ", "heading"); buffer.Insert (ref insertIter, "You can adjust the amount of space before each line.\n"); buffer.InsertWithTagsByName (ref insertIter, "This line has a whole lot of space before it.\n", "big_gap_before_line", "wide_margins"); buffer.InsertWithTagsByName (ref insertIter, "You can also adjust the amount of space after each line; this line has a whole lot of space after it.\n", "big_gap_after_line", "wide_margins"); buffer.InsertWithTagsByName (ref insertIter, "You can also adjust the amount of space between wrapped lines; this line has extra space between each wrapped line in the same paragraph. To show off wrapping, some filler text: the quick brown fox jumped over the lazy dog. Blah blah blah blah blah blah blah blah blah.\n", "double_spaced_line", "wide_margins"); buffer.Insert (ref insertIter, "Also note that those lines have extra-wide margins.\n\n"); buffer.InsertWithTagsByName (ref insertIter, "Editability. ", "heading"); buffer.InsertWithTagsByName (ref insertIter, "This line is 'locked down' and can't be edited by the user - just try it! You can't delete this line.\n\n", "not_editable"); buffer.InsertWithTagsByName (ref insertIter, "Wrapping. ", "heading"); buffer.Insert (ref insertIter, "This line (and most of the others in this buffer) is word-wrapped, using the proper Unicode algorithm. Word wrap should work in all scripts and languages that GTK+ supports. Let's make this a long paragraph to demonstrate: blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah\n\n"); buffer.InsertWithTagsByName (ref insertIter, "This line has character-based wrapping, and can wrap between any two character glyphs. Let's make this a long paragraph to demonstrate: blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah\n\n", "char_wrap"); buffer.InsertWithTagsByName (ref insertIter, "This line has all wrapping turned off, so it makes the horizontal scrollbar appear.\n\n\n", "no_wrap"); buffer.InsertWithTagsByName (ref insertIter, "Justification. ", "heading"); buffer.InsertWithTagsByName (ref insertIter, "\nThis line has center justification.\n", "center"); buffer.InsertWithTagsByName (ref insertIter, "This line has right justification.\n", "right_justify"); buffer.InsertWithTagsByName (ref insertIter, "\nThis line has big wide margins. Text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text.\n", "wide_margins"); buffer.InsertWithTagsByName (ref insertIter, "Internationalization. ", "heading"); buffer.Insert (ref insertIter, "You can put all sorts of Unicode text in the buffer.\n\nGerman (Deutsch S\u00fcd) Gr\u00fc\u00df Gott\nGreek (\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac) \u0393\u03b5\u03b9\u03ac \u03c3\u03b1\u03c2\nHebrew \u05e9\u05dc\u05d5\u05dd\nJapanese (\u65e5\u672c\u8a9e)\n\nThe widget properly handles bidirectional text, word wrapping, DOS/UNIX/Unicode paragraph separators, grapheme boundaries, and so on using the Pango internationalization framework.\n"); buffer.Insert (ref insertIter, "Here's a word-wrapped quote in a right-to-left language:\n"); buffer.InsertWithTagsByName (ref insertIter, "\u0648\u0642\u062f \u0628\u062f\u0623 \u062b\u0644\u0627\u062b \u0645\u0646 \u0623\u0643\u062b\u0631 \u0627\u0644\u0645\u0624\u0633\u0633\u0627\u062a \u062a\u0642\u062f\u0645\u0627 \u0641\u064a \u0634\u0628\u0643\u0629 \u0627\u0643\u0633\u064a\u0648\u0646 \u0628\u0631\u0627\u0645\u062c\u0647\u0627 \u0643\u0645\u0646\u0638\u0645\u0627\u062a \u0644\u0627 \u062a\u0633\u0639\u0649 \u0644\u0644\u0631\u0628\u062d\u060c \u062b\u0645 \u062a\u062d\u0648\u0644\u062a \u0641\u064a \u0627\u0644\u0633\u0646\u0648\u0627\u062a \u0627\u0644\u062e\u0645\u0633 \u0627\u0644\u0645\u0627\u0636\u064a\u0629 \u0625\u0644\u0649 \u0645\u0624\u0633\u0633\u0627\u062a \u0645\u0627\u0644\u064a\u0629 \u0645\u0646\u0638\u0645\u0629\u060c \u0648\u0628\u0627\u062a\u062a \u062c\u0632\u0621\u0627 \u0645\u0646 \u0627\u0644\u0646\u0638\u0627\u0645 \u0627\u0644\u0645\u0627\u0644\u064a \u0641\u064a \u0628\u0644\u062f\u0627\u0646\u0647\u0627\u060c \u0648\u0644\u0643\u0646\u0647\u0627 \u062a\u062a\u062e\u0635\u0635 \u0641\u064a \u062e\u062f\u0645\u0629 \u0642\u0637\u0627\u0639 \u0627\u0644\u0645\u0634\u0631\u0648\u0639\u0627\u062a \u0627\u0644\u0635\u063a\u064a\u0631\u0629\u002e \u0648\u0623\u062d\u062f \u0623\u0643\u062b\u0631 \u0647\u0630\u0647 \u0627\u0644\u0645\u0624\u0633\u0633\u0627\u062a \u0646\u062c\u0627\u062d\u0627 \u0647\u0648 \u00bb\u0628\u0627\u0646\u0643\u0648\u0633\u0648\u0644\u00ab \u0641\u064a \u0628\u0648\u0644\u064a\u0641\u064a\u0627.\n\n", "rtl_quote"); buffer.Insert (ref insertIter, "You can put widgets in the buffer: Here's a button: "); buttonAnchor = buffer.CreateChildAnchor (ref insertIter); buffer.Insert (ref insertIter, " and a menu: "); menuAnchor = buffer.CreateChildAnchor (ref insertIter); buffer.Insert (ref insertIter, " and a scale: "); scaleAnchor = buffer.CreateChildAnchor (ref insertIter); buffer.Insert (ref insertIter, " and an animation: "); animationAnchor = buffer.CreateChildAnchor (ref insertIter); buffer.Insert (ref insertIter, " finally a text entry: "); entryAnchor = buffer.CreateChildAnchor (ref insertIter); buffer.Insert (ref insertIter, ".\n"); buffer.Insert (ref insertIter, "\n\nThis demo doesn't demonstrate all the GtkTextBuffer features; it leaves out, for example: invisible/hidden text (doesn't work in GTK 2, but planned), tab stops, application-drawn areas on the sides of the widget for displaying breakpoints and such..."); buffer.ApplyTag ("word_wrap", buffer.StartIter, buffer.EndIter); } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } private void RecursiveAttach (int depth, TextView view, TextChildAnchor anchor) { if (depth > 4) return; TextView childView = new TextView (view.Buffer); // Event box is to add a black border around each child view EventBox eventBox = new EventBox (); Gdk.Color color = new Gdk.Color (); Gdk.Color.Parse ("black", ref color); eventBox.ModifyBg (StateType.Normal, color); Alignment align = new Alignment (0.5f, 0.5f, 1.0f, 1.0f); align.BorderWidth = 1; eventBox.Add (align); align.Add (childView); view.AddChildAtAnchor (eventBox, anchor); RecursiveAttach (depth+1, childView, anchor); } private void EasterEggCB (object o, EventArgs args) { TextIter insertIter; TextBuffer buffer = new TextBuffer (null); insertIter = buffer.StartIter; buffer.Insert (ref insertIter, "This buffer is shared by a set of nested text views.\n Nested view:\n"); TextChildAnchor anchor = buffer.CreateChildAnchor (ref insertIter); buffer.Insert (ref insertIter, "\nDon't do this in real applications, please.\n"); TextView view = new TextView (buffer); RecursiveAttach (0, view, anchor); Gtk.Window window = new Gtk.Window (Gtk.WindowType.Toplevel); ScrolledWindow sw = new ScrolledWindow (); sw.SetPolicy (PolicyType.Automatic, PolicyType.Automatic); window.Add (sw); sw.Add (view); window.SetDefaultSize (300, 400); window.ShowAll (); } } } gtk-sharp-2.12.40/sample/GtkDemo/DemoPixbuf.cs0000664000175000017500000001036012767740470015725 00000000000000/* Pixbufs * * A Pixbuf represents an image, normally in RGB or RGBA format. * Pixbufs are normally used to load files from disk and perform * image scaling. * * This demo is not all that educational, but looks cool. It was written * by Extreme Pixbuf Hacker Federico Mena Quintero. It also shows * off how to use DrawingArea to do a simple animation. * * Look at the Image demo for additional pixbuf usage examples. * */ using Gdk; using Gtk; using System; using System.Runtime.InteropServices; // for Marshal.Copy namespace GtkDemo { [Demo ("Pixbuf", "DemoPixbuf.cs")] public class DemoPixbuf : Gtk.Window { const int FrameDelay = 50; const int CycleLen = 60; const string BackgroundName = "background.jpg"; static string[] ImageNames = { "apple-red.png", "gnome-applets.png", "gnome-calendar.png", "gnome-foot.png", "gnome-gmush.png", "gnome-gimp.png", "gnome-gsame.png", "gnu-keys.png" }; // background image static Pixbuf background; static int backWidth, backHeight; // images static Pixbuf[] images; // current frame Pixbuf frame; int frameNum; // drawing area DrawingArea drawingArea; uint timeoutId; static DemoPixbuf () { // Load the images for the demo background = Gdk.Pixbuf.LoadFromResource (BackgroundName); backWidth = background.Width; backHeight = background.Height; images = new Pixbuf[ImageNames.Length]; int i = 0; foreach (string im in ImageNames) images[i++] = Gdk.Pixbuf.LoadFromResource (im); } // Expose callback for the drawing area void Expose (object o, ExposeEventArgs args) { Widget widget = (Widget) o; Gdk.Rectangle area = args.Event.Area; byte[] pixels; int rowstride; rowstride = frame.Rowstride; pixels = new byte[(frame.Height - area.Y) * rowstride]; IntPtr src = (IntPtr)(frame.Pixels.ToInt64 () + rowstride * area.Y + area.X * 3); Marshal.Copy (src, pixels, 0, pixels.Length); widget.GdkWindow.DrawRgbImageDithalign (widget.Style.BlackGC, area.X, area.Y, area.Width, area.Height, Gdk.RgbDither.Normal, pixels, rowstride, area.X, area.Y); args.RetVal = true; } // timeout handler to regenerate the frame bool timeout () { background.CopyArea (0, 0, backWidth, backHeight, frame, 0, 0); double f = (double) (frameNum % CycleLen) / CycleLen; int xmid = backWidth / 2; int ymid = backHeight / 2; double radius = Math.Min (xmid, ymid) / 2; for (int i = 0; i < images.Length; i++) { double ang = 2 * Math.PI * (double) i / images.Length - f * 2 * Math.PI; int iw = images[i].Width; int ih = images[i].Height; double r = radius + (radius / 3) * Math.Sin (f * 2 * Math.PI); int xpos = (int) Math.Floor (xmid + r * Math.Cos (ang) - iw / 2.0 + 0.5); int ypos = (int) Math.Floor (ymid + r * Math.Sin (ang) - ih / 2.0 + 0.5); double k = (i % 2 == 1) ? Math.Sin (f * 2 * Math.PI) : Math.Cos (f * 2 * Math.PI); k = 2 * k * k; k = Math.Max (0.25, k); Rectangle r1, r2, dest; r1 = new Rectangle (xpos, ypos, (int) (iw * k), (int) (ih * k)); r2 = new Rectangle (0, 0, backWidth, backHeight); dest = Rectangle.Intersect (r1, r2); if (!dest.IsEmpty) { images[i].Composite (frame, dest.X, dest.Y, dest.Width, dest.Height, xpos, ypos, k, k, InterpType.Nearest, (int) ((i % 2 == 1) ? Math.Max (127, Math.Abs (255 * Math.Sin (f * 2 * Math.PI))) : Math.Max (127, Math.Abs (255 * Math.Cos (f * 2 * Math.PI))))); } } drawingArea.QueueDraw (); frameNum++; return true; } public DemoPixbuf () : base ("Pixbufs") { Resizable = false; SetSizeRequest (backWidth, backHeight); frame = new Pixbuf (Colorspace.Rgb, false, 8, backWidth, backHeight); drawingArea = new DrawingArea (); drawingArea.ExposeEvent += new ExposeEventHandler (Expose); Add (drawingArea); timeoutId = GLib.Timeout.Add (FrameDelay, new GLib.TimeoutHandler(timeout)); ShowAll (); } protected override void OnDestroyed () { if (timeoutId != 0) { GLib.Source.Remove (timeoutId); timeoutId = 0; } } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } } } gtk-sharp-2.12.40/sample/GtkDemo/DemoPrinting.cs0000664000175000017500000000703112654353766016266 00000000000000/* Printing * * GtkPrintOperation offers a simple API to support printing in a cross-platform way. */ using System; using System.IO; using System.Reflection; using Gtk; using Cairo; namespace GtkDemo { [Demo ("Printing", "DemoPrinting.cs")] public class DemoPrinting { private static double headerHeight = (10*72/25.4); private static double headerGap = (3*72/25.4); private static int pangoScale = 1024; private PrintOperation print; private string fileName = "DemoPrinting.cs"; private double fontSize = 12.0; private int linesPerPage; private string[] lines; private int numLines; private int numPages; public DemoPrinting () { print = new PrintOperation (); print.BeginPrint += new BeginPrintHandler (OnBeginPrint); print.DrawPage += new DrawPageHandler (OnDrawPage); print.EndPrint += new EndPrintHandler (OnEndPrint); print.Run (PrintOperationAction.PrintDialog, null); } private void OnBeginPrint (object obj, Gtk.BeginPrintArgs args) { string contents; double height; PrintContext context = args.Context; height = context.Height; linesPerPage = (int)Math.Floor(height / fontSize); contents = LoadFile("DemoPrinting.cs"); lines = contents.Split('\n'); numLines = lines.Length; numPages = (numLines - 1) / linesPerPage + 1; print.NPages = numPages; } private string LoadFile (string filename) { Stream file = Assembly.GetExecutingAssembly ().GetManifestResourceStream (filename); if (file == null && File.Exists (filename)) { file = File.OpenRead (filename); } if (file == null) { return "File not found"; } StreamReader sr = new StreamReader (file); return sr.ReadToEnd (); } private void OnDrawPage (object obj, Gtk.DrawPageArgs args) { PrintContext context = args.Context; Cairo.Context cr = context.CairoContext; double width = context.Width; cr.Rectangle (0, 0, width, headerHeight); cr.SetSourceRGB (0.8, 0.8, 0.8); cr.FillPreserve (); cr.SetSourceRGB (0, 0, 0); cr.LineWidth = 1; cr.Stroke(); Pango.Layout layout = context.CreatePangoLayout (); Pango.FontDescription desc = Pango.FontDescription.FromString ("sans 14"); layout.FontDescription = desc; layout.SetText (fileName); layout.Width = (int)width; layout.Alignment = Pango.Alignment.Center; int layoutWidth, layoutHeight; layout.GetSize (out layoutWidth, out layoutHeight); double textHeight = (double)layoutHeight / (double)pangoScale; cr.MoveTo (width/2, (headerHeight - textHeight) / 2); Pango.CairoHelper.ShowLayout (cr, layout); string pageStr = String.Format ("{0}/{1}", args.PageNr + 1, numPages); layout.SetText (pageStr); layout.Alignment = Pango.Alignment.Right; cr.MoveTo (width - 2, (headerHeight - textHeight) / 2); Pango.CairoHelper.ShowLayout (cr, layout); layout = null; layout = context.CreatePangoLayout (); desc = Pango.FontDescription.FromString ("mono"); desc.Size = (int)(fontSize * pangoScale); layout.FontDescription = desc; cr.MoveTo (0, headerHeight + headerGap); int line = args.PageNr * linesPerPage; for (int i=0; i < linesPerPage && line < numLines; i++) { layout.SetText (lines[line]); Pango.CairoHelper.ShowLayout (cr, layout); cr.RelMoveTo (0, fontSize); line++; } (cr as IDisposable).Dispose (); layout = null; } private void OnEndPrint (object obj, Gtk.EndPrintArgs args) { } } } gtk-sharp-2.12.40/sample/GtkDemo/DemoTreeStore.cs0000664000175000017500000002626712767740470016421 00000000000000/* Tree View/Tree Store * * The Gtk.TreeStore is used to store data in tree form, to be * used later on by a Gtk.TreeView to display it. This demo builds * a simple Gtk.TreeStore and displays it. If you're new to the * Gtk.TreeView widgets and associates, look into the Gtk.ListStore * example first. */ using System; using System.Collections; using Gtk; using GLib; namespace GtkDemo { [Demo ("TreeStore", "DemoTreeStore.cs", "Tree View")] public class DemoTreeStore : Gtk.Window { private TreeStore store; public DemoTreeStore () : base ("Card planning sheet") { VBox vbox = new VBox (false, 8); vbox.BorderWidth = 8; Add (vbox); vbox.PackStart (new Label ("Jonathan's Holiday Card Planning Sheet"), false, false, 0); ScrolledWindow sw = new ScrolledWindow (); sw.ShadowType = ShadowType.EtchedIn; sw.SetPolicy (PolicyType.Automatic, PolicyType.Automatic); vbox.PackStart (sw, true, true, 0); // create model CreateModel (); // create tree view TreeView treeView = new TreeView (store); treeView.RulesHint = true; treeView.Selection.Mode = SelectionMode.Multiple; AddColumns (treeView); sw.Add (treeView); // expand all rows after the treeview widget has been realized treeView.Realized += new EventHandler (ExpandRows); SetDefaultSize (650, 400); ShowAll (); } private void ExpandRows (object obj, EventArgs args) { TreeView treeView = obj as TreeView; treeView.ExpandAll (); } ArrayList columns = new ArrayList (); private void ItemToggled (object sender, ToggledArgs args) { int column = columns.IndexOf (sender); Gtk.TreeIter iter; if (store.GetIterFromString (out iter, args.Path)) { bool val = (bool) store.GetValue (iter, column); store.SetValue (iter, column, !val); } } private void AddColumns (TreeView treeView) { CellRendererText text; CellRendererToggle toggle; // column for holiday names text = new CellRendererText (); text.Xalign = 0.0f; columns.Add (text); TreeViewColumn column = new TreeViewColumn ("Holiday", text, "text", Column.HolidayName); treeView.InsertColumn (column, (int) Column.HolidayName); // alex column toggle = new CellRendererToggle (); toggle.Xalign = 0.0f; columns.Add (toggle); toggle.Toggled += new ToggledHandler (ItemToggled); column = new TreeViewColumn ("Alex", toggle, "active", (int) Column.Alex, "visible", (int) Column.Visible, "activatable", (int) Column.World); column.Sizing = TreeViewColumnSizing.Fixed; column.FixedWidth = 50; column.Clickable = true; treeView.InsertColumn (column, (int) Column.Alex); // havoc column toggle = new CellRendererToggle (); toggle.Xalign = 0.0f; columns.Add (toggle); toggle.Toggled += new ToggledHandler (ItemToggled); column = new TreeViewColumn ("Havoc", toggle, "active", (int) Column.Havoc, "visible", (int) Column.Visible); treeView.InsertColumn (column, (int) Column.Havoc); column.Sizing = TreeViewColumnSizing.Fixed; column.FixedWidth = 50; column.Clickable = true; // tim column toggle = new CellRendererToggle (); toggle.Xalign = 0.0f; columns.Add (toggle); toggle.Toggled += new ToggledHandler (ItemToggled); column = new TreeViewColumn ("Tim", toggle, "active", (int) Column.Tim, "visible", (int) Column.Visible, "activatable", (int) Column.World); treeView.InsertColumn (column, (int) Column.Tim); column.Sizing = TreeViewColumnSizing.Fixed; column.FixedWidth = 50; column.Clickable = true; // owen column toggle = new CellRendererToggle (); toggle.Xalign = 0.0f; columns.Add (toggle); toggle.Toggled += new ToggledHandler (ItemToggled); column = new TreeViewColumn ("Owen", toggle, "active", (int) Column.Owen, "visible", (int) Column.Visible); treeView.InsertColumn (column, (int) Column.Owen); column.Sizing = TreeViewColumnSizing.Fixed; column.FixedWidth = 50; column.Clickable = true; // dave column toggle = new CellRendererToggle (); toggle.Xalign = 0.0f; columns.Add (toggle); toggle.Toggled += new ToggledHandler (ItemToggled); column = new TreeViewColumn ("Dave", toggle, "active", (int) Column.Dave, "visible", (int) Column.Visible); treeView.InsertColumn (column, (int) Column.Dave); column.Sizing = TreeViewColumnSizing.Fixed; column.FixedWidth = 50; column.Clickable = true; } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } private void CreateModel () { // create tree store store = new TreeStore (typeof (string), typeof (bool), typeof (bool), typeof (bool), typeof (bool), typeof (bool), typeof (bool), typeof (bool)); // add data to the tree store foreach (MyTreeItem month in toplevel) { TreeIter iter = store.AppendValues (month.Label, false, false, false, false, false, false, false); foreach (MyTreeItem holiday in month.Children) { store.AppendValues (iter, holiday.Label, holiday.Alex, holiday.Havoc, holiday.Tim, holiday.Owen, holiday.Dave, true, holiday.WorldHoliday); } } } // tree data private static MyTreeItem[] january = { new MyTreeItem ("New Years Day", true, true, true, true, false, true, null ), new MyTreeItem ("Presidential Inauguration", false, true, false, true, false, false, null ), new MyTreeItem ("Martin Luther King Jr. day", false, true, false, true, false, false, null ) }; private static MyTreeItem[] february = { new MyTreeItem ( "Presidents' Day", false, true, false, true, false, false, null ), new MyTreeItem ( "Groundhog Day", false, false, false, false, false, false, null ), new MyTreeItem ( "Valentine's Day", false, false, false, false, true, true, null ) }; private static MyTreeItem[] march = { new MyTreeItem ( "National Tree Planting Day", false, false, false, false, false, false, null ), new MyTreeItem ( "St Patrick's Day", false, false, false, false, false, true, null ) }; private static MyTreeItem[] april = { new MyTreeItem ( "April Fools' Day", false, false, false, false, false, true, null ), new MyTreeItem ( "Army Day", false, false, false, false, false, false, null ), new MyTreeItem ( "Earth Day", false, false, false, false, false, true, null ), new MyTreeItem ( "Administrative Professionals' Day", false, false, false, false, false, false, null ) }; private static MyTreeItem[] may = { new MyTreeItem ( "Nurses' Day", false, false, false, false, false, false, null ), new MyTreeItem ( "National Day of Prayer", false, false, false, false, false, false, null ), new MyTreeItem ( "Mothers' Day", false, false, false, false, false, true, null ), new MyTreeItem ( "Armed Forces Day", false, false, false, false, false, false, null ), new MyTreeItem ( "Memorial Day", true, true, true, true, false, true, null ) }; private static MyTreeItem[] june = { new MyTreeItem ( "June Fathers' Day", false, false, false, false, false, true, null ), new MyTreeItem ( "Juneteenth (Liberation of Slaves)", false, false, false, false, false, false, null ), new MyTreeItem ( "Flag Day", false, true, false, true, false, false, null ) }; private static MyTreeItem[] july = { new MyTreeItem ( "Parents' Day", false, false, false, false, false, true, null ), new MyTreeItem ( "Independence Day", false, true, false, true, false, false, null ) }; private static MyTreeItem[] august = { new MyTreeItem ( "Air Force Day", false, false, false, false, false, false, null ), new MyTreeItem ( "Coast Guard Day", false, false, false, false, false, false, null ), new MyTreeItem ( "Friendship Day", false, false, false, false, false, false, null ) }; private static MyTreeItem[] september = { new MyTreeItem ( "Grandparents' Day", false, false, false, false, false, true, null ), new MyTreeItem ( "Citizenship Day or Constitution Day", false, false, false, false, false, false, null ), new MyTreeItem ( "Labor Day", true, true, true, true, false, true, null ) }; private static MyTreeItem[] october = { new MyTreeItem ( "National Children's Day", false, false, false, false, false, false, null ), new MyTreeItem ( "Bosses' Day", false, false, false, false, false, false, null ), new MyTreeItem ( "Sweetest Day", false, false, false, false, false, false, null ), new MyTreeItem ( "Mother-in-Law's Day", false, false, false, false, false, false, null ), new MyTreeItem ( "Navy Day", false, false, false, false, false, false, null ), new MyTreeItem ( "Columbus Day", false, true, false, true, false, false, null ), new MyTreeItem ( "Halloween", false, false, false, false, false, true, null ) }; private static MyTreeItem[] november = { new MyTreeItem ( "Marine Corps Day", false, false, false, false, false, false, null ), new MyTreeItem ( "Veterans' Day", true, true, true, true, false, true, null ), new MyTreeItem ( "Thanksgiving", false, true, false, true, false, false, null ) }; private static MyTreeItem[] december = { new MyTreeItem ( "Pearl Harbor Remembrance Day", false, false, false, false, false, false, null ), new MyTreeItem ( "Christmas", true, true, true, true, false, true, null ), new MyTreeItem ( "Kwanzaa", false, false, false, false, false, false, null ) }; private static MyTreeItem[] toplevel = { new MyTreeItem ("January", false, false, false, false, false, false, january), new MyTreeItem ("February", false, false, false, false, false, false, february), new MyTreeItem ("March", false, false, false, false, false, false, march), new MyTreeItem ("April", false, false, false, false, false, false, april), new MyTreeItem ("May", false, false, false, false, false, false, may), new MyTreeItem ("June", false, false, false, false, false, false, june), new MyTreeItem ("July", false, false, false, false, false, false, july), new MyTreeItem ("August", false, false, false, false, false, false, august), new MyTreeItem ("September", false, false, false, false, false, false, september), new MyTreeItem ("October", false, false, false, false, false, false, october), new MyTreeItem ("November", false, false, false, false, false, false, november), new MyTreeItem ("December", false, false, false, false, false, false, december) }; // TreeItem structure public class MyTreeItem { public string Label; public bool Alex, Havoc, Tim, Owen, Dave; public bool WorldHoliday; // shared by the European hackers public MyTreeItem[] Children; public MyTreeItem (string label, bool alex, bool havoc, bool tim, bool owen, bool dave, bool worldHoliday, MyTreeItem[] children) { Label = label; Alex = alex; Havoc = havoc; Tim = tim; Owen = owen; Dave = dave; WorldHoliday = worldHoliday; Children = children; } } // columns public enum Column { HolidayName, Alex, Havoc, Tim, Owen, Dave, Visible, World, } } } gtk-sharp-2.12.40/sample/GtkDemo/DemoEntryCompletion.cs0000664000175000017500000000227412767740470017630 00000000000000/* Entry Completion * * GtkEntryCompletion provides a mechanism for adding support for * completion in GtkEntry. * */ using System; using Gtk; namespace GtkDemo { [Demo ("Entry Completion", "DemoEntryCompletion.cs")] public class DemoEntryCompletion : Dialog { public DemoEntryCompletion () : base ("Demo Entry Completion", null, DialogFlags.DestroyWithParent) { Resizable = false; VBox vbox = new VBox (false, 5); vbox.BorderWidth = 5; this.VBox.PackStart (vbox, true, true, 0); Label label = new Label ("Completion demo, try writing total or gnome for example."); label.UseMarkup = true; vbox.PackStart (label, false, true, 0); Entry entry = new Entry (); vbox.PackStart (entry, false, true, 0); entry.Completion = new EntryCompletion (); entry.Completion.Model = CreateCompletionModel (); entry.Completion.TextColumn = 0; AddButton (Stock.Close, ResponseType.Close); ShowAll (); Run (); Destroy (); } TreeModel CreateCompletionModel () { ListStore store = new ListStore (typeof (string)); store.AppendValues ("GNOME"); store.AppendValues ("total"); store.AppendValues ("totally"); return store; } } } gtk-sharp-2.12.40/sample/GtkDemo/DemoEditableCells.cs0000664000175000017500000001076412767740470017174 00000000000000/* Tree View/Editable Cells * * This demo demonstrates the use of editable cells in a Gtk.TreeView. If * you are new to the Gtk.TreeView widgets and associates, look into * the Gtk.ListStore example first. * */ using System; using System.Collections; using Gtk; namespace GtkDemo { [Demo ("Editable Cells", "DemoEditableCells.cs", "Tree View")] public class DemoEditableCells : Gtk.Window { private ListStore store; private TreeView treeView; private ArrayList articles; public DemoEditableCells () : base ("Shopping list") { SetDefaultSize (320, 200); BorderWidth = 5; VBox vbox = new VBox (false, 5); Add (vbox); vbox.PackStart (new Label ("Shopping list (you can edit the cells!)"), false, false, 0); ScrolledWindow scrolledWindow = new ScrolledWindow (); scrolledWindow.ShadowType = ShadowType.EtchedIn; scrolledWindow.SetPolicy (PolicyType.Automatic, PolicyType.Automatic); vbox.PackStart (scrolledWindow, true, true, 0); // create model store = CreateModel (); // create tree view treeView = new TreeView (store); treeView.RulesHint = true; treeView.Selection.Mode = SelectionMode.Single; AddColumns (); scrolledWindow.Add (treeView); // some buttons HBox hbox = new HBox (true, 4); vbox.PackStart (hbox, false, false, 0); Button button = new Button ("Add item"); button.Clicked += new EventHandler (AddItem); hbox.PackStart (button, true, true, 0); button = new Button ("Remove item"); button.Clicked += new EventHandler (RemoveItem); hbox.PackStart (button, true, true, 0); ShowAll (); } private void AddColumns () { CellRendererText renderer; // number column renderer = new CellRendererText (); renderer.Edited += new EditedHandler (NumberCellEdited); renderer.Editable = true; treeView.AppendColumn ("Number", renderer, "text", (int) Column.Number); // product column renderer = new CellRendererText (); renderer.Edited += new EditedHandler (TextCellEdited); renderer.Editable = true; treeView.AppendColumn ("Product", renderer , "text", (int) Column.Product); } private ListStore CreateModel () { // create array articles = new ArrayList (); AddItems (); // create list store ListStore store = new ListStore (typeof (int), typeof (string), typeof (bool)); // add items foreach (Item item in articles) store.AppendValues (item.Number, item.Product); return store; } private void AddItems () { Item foo; foo = new Item (3, "bottles of coke"); articles.Add (foo); foo = new Item (5, "packages of noodles"); articles.Add (foo); foo = new Item (2, "packages of chocolate chip cookies"); articles.Add (foo); foo = new Item (1, "can vanilla ice cream"); articles.Add (foo); foo = new Item (6, "eggs"); articles.Add (foo); } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } private void NumberCellEdited (object o, EditedArgs args) { TreePath path = new TreePath (args.Path); TreeIter iter; store.GetIter (out iter, path); int i = path.Indices[0]; Item foo; try { foo = (Item) articles[i]; foo.Number = int.Parse (args.NewText); } catch (Exception e) { Console.WriteLine (e); return; } store.SetValue (iter, (int) Column.Number, foo.Number); } private void TextCellEdited (object o, EditedArgs args) { TreePath path = new TreePath (args.Path); TreeIter iter; store.GetIter (out iter, path); int i = path.Indices[0]; Item foo = (Item) articles[i]; foo.Product = args.NewText; store.SetValue (iter, (int) Column.Product, foo.Product); } private void AddItem (object o, EventArgs args) { Item foo = new Item (0, "Description here"); articles.Add (foo); store.AppendValues (foo.Number, foo.Product); } private void RemoveItem (object o, EventArgs args) { TreeIter iter; TreeModel model; if (treeView.Selection.GetSelected (out model, out iter)) { int position = store.GetPath (iter).Indices[0]; store.Remove (ref iter); articles.RemoveAt (position); } } } enum Column { Number, Product }; struct Item { public int Number { get { return number; } set { number = value; } } public string Product { get { return product; } set { product = value; } } private int number; private string product; public Item (int number, string product) { this.number = number; this.product = product; } } } gtk-sharp-2.12.40/sample/GtkDemo/DemoApplicationWindow.cs0000664000175000017500000001561112767740470020127 00000000000000/* Application main window * * Demonstrates a typical application window, with menubar, toolbar, statusbar. */ using System; using Gtk; namespace GtkDemo { [Demo ("Application Window", "DemoApplicationWindow.cs")] public class DemoApplicationWindow : Window { Statusbar statusbar; VBox vbox; static DemoApplicationWindow () { // Register our custom toolbar icons, for themability Gdk.Pixbuf pixbuf = Gdk.Pixbuf.LoadFromResource ("gtk-logo-rgb.gif"); Gdk.Pixbuf transparent = pixbuf.AddAlpha (true, 0xff, 0xff, 0xff); IconFactory factory = new IconFactory (); factory.Add ("demo-gtk-logo", new IconSet (transparent)); factory.AddDefault (); StockManager.Add (new StockItem ("demo-gtk-logo", "_GTK#", 0, 0, null)); } const string uiInfo = "" + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + ""; public DemoApplicationWindow () : base ("Application Window") { SetDefaultSize (200, 200); vbox = new VBox (false, 0); Add (vbox); AddActions (); statusbar = new Statusbar (); UpdateStatus (); vbox.PackEnd (statusbar, false, false, 0); ScrolledWindow sw = new ScrolledWindow (); sw.SetPolicy (PolicyType.Automatic, PolicyType.Automatic); sw.ShadowType = ShadowType.In; vbox.PackEnd (sw, true, true, 0); TextView textview = new TextView (); textview.Buffer.MarkSet += new MarkSetHandler (MarkSet); sw.Add (textview); textview.GrabFocus (); ShowAll (); } enum Color { Red, Green, Blue } enum Shape { Square, Rectangle, Oval } void AddActions () { ActionEntry[] actions = new ActionEntry[] { new ActionEntry ("FileMenu", null, "_File", null, null, null), new ActionEntry ("PreferencesMenu", null, "_Preferences", null, null, null), new ActionEntry ("ColorMenu", null, "_Color", null, null, null), new ActionEntry ("ShapeMenu", null, "_Shape", null, null, null), new ActionEntry ("HelpMenu", null, "_Help", null, null, null), new ActionEntry ("New", Stock.New, "_New", "N", "Create a new file", new EventHandler (ActionActivated)), new ActionEntry ("Open", Stock.Open, "_Open", "O", "Open a file", new EventHandler (ActionActivated)), new ActionEntry ("Save", Stock.Save, "_Save", "S", "Save current file", new EventHandler (ActionActivated)), new ActionEntry ("SaveAs", Stock.SaveAs, "Save _As", null, "Save to a file", new EventHandler (ActionActivated)), new ActionEntry ("Quit", Stock.Quit, "_Quit", "Q", "Quit", new EventHandler (ActionActivated)), new ActionEntry ("About", null, "_About", "A", "About", new EventHandler (ActionActivated)), new ActionEntry ("Logo", "demo-gtk-logo", null, null, "Gtk#", new EventHandler (ActionActivated)) }; ToggleActionEntry[] toggleActions = new ToggleActionEntry[] { new ToggleActionEntry ("Bold", Stock.Bold, "_Bold", "B", "Bold", new EventHandler (ActionActivated), true) }; RadioActionEntry[] colorActions = new RadioActionEntry[] { new RadioActionEntry ("Red", null, "_Red", "R", "Blood", (int)Color.Red), new RadioActionEntry ("Green", null, "_Green", "G", "Grass", (int)Color.Green), new RadioActionEntry ("Blue", null, "_Blue", "B", "Sky", (int)Color.Blue) }; RadioActionEntry[] shapeActions = new RadioActionEntry[] { new RadioActionEntry ("Square", null, "_Square", "S", "Square", (int)Shape.Square), new RadioActionEntry ("Rectangle", null, "_Rectangle", "R", "Rectangle", (int)Shape.Rectangle), new RadioActionEntry ("Oval", null, "_Oval", "O", "Egg", (int)Shape.Oval) }; ActionGroup group = new ActionGroup ("AppWindowActions"); group.Add (actions); group.Add (toggleActions); group.Add (colorActions, (int)Color.Red, new ChangedHandler (RadioActionActivated)); group.Add (shapeActions, (int)Shape.Square, new ChangedHandler (RadioActionActivated)); UIManager uim = new UIManager (); uim.InsertActionGroup (group, 0); uim.AddWidget += new AddWidgetHandler (AddWidget); uim.AddUiFromString (uiInfo); AddAccelGroup (uim.AccelGroup); } private void ActionActivated (object sender, EventArgs a) { Gtk.Action action = sender as Gtk.Action; MessageDialog md; md = new MessageDialog (this, DialogFlags.DestroyWithParent, MessageType.Info, ButtonsType.Close, "You activated action: \"{0}\" of type \"{1}\"", action.Name, action.GetType ()); md.Run (); md.Destroy (); } private void RadioActionActivated (object sender, ChangedArgs args) { RadioAction action = args.Current; MessageDialog md; if (action.Active) { md = new MessageDialog (this, DialogFlags.DestroyWithParent, MessageType.Info, ButtonsType.Close, "You activated radio action: \"{0}\" of type \"{1}\".\nCurrent value: {2}", action.Name, action.GetType (), args.Current.Value); md.Run (); md.Destroy (); } } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } protected override bool OnWindowStateEvent (Gdk.EventWindowState evt) { if ((evt.ChangedMask & (Gdk.WindowState.Maximized | Gdk.WindowState.Fullscreen)) != 0) statusbar.HasResizeGrip = (evt.NewWindowState & (Gdk.WindowState.Maximized | Gdk.WindowState.Fullscreen)) == 0; return false; } const string fmt = "Cursor at row {0} column {1} - {2} chars in document"; int row, column, count = 0; void MarkSet (object o, MarkSetArgs args) { TextIter iter = args.Location; row = iter.Line + 1; column = iter.VisibleLineOffset; count = args.Mark.Buffer.CharCount; UpdateStatus (); } void UpdateStatus () { statusbar.Pop (0); statusbar.Push (0, String.Format (fmt, row, column, count)); } void AddWidget (object sender, AddWidgetArgs a) { a.Widget.Show (); vbox.PackStart (a.Widget, false, true, 0); } } } gtk-sharp-2.12.40/sample/GtkDemo/DemoClipboard.cs0000664000175000017500000000422312654353766016373 00000000000000/* Clipboard * * GtkClipboard is used for clipboard handling. This demo shows how to * copy and paste text to and from the clipboard. * * This is actually from gtk+ 2.6's gtk-demo, but doesn't use any 2.6 * functionality */ using System; using Gtk; namespace GtkDemo { [Demo ("Clipboard", "DemoClipboard.cs")] public class DemoClipboard : Gtk.Window { Entry pasteEntry, copyEntry; public DemoClipboard () : base ("Demo Clipboard") { VBox vbox = new VBox (); vbox.BorderWidth = 8; Label copyLabel = new Label ("\"Copy\" will copy the text\nin the entry to the clipboard"); vbox.PackStart (copyLabel, false, true, 0); vbox.PackStart (CreateCopyBox (), false, true, 0); Label pasteLabel = new Label ("\"Paste\" will paste the text from the clipboard to the entry"); vbox.PackStart (pasteLabel, false, false, 0); vbox.PackStart (CreatePasteBox (), false, false, 0); Add (vbox); ShowAll (); } HBox CreateCopyBox () { HBox hbox = new HBox (false, 4); hbox.BorderWidth = 8; copyEntry = new Entry (); Button copyButton = new Button (Stock.Copy); copyButton.Clicked += new EventHandler (CopyClicked); hbox.PackStart (copyEntry, true, true, 0); hbox.PackStart (copyButton, false, false, 0); return hbox; } HBox CreatePasteBox () { HBox hbox = new HBox (false, 4); hbox.BorderWidth = 8; pasteEntry = new Entry (); Button pasteButton = new Button (Stock.Paste); pasteButton.Clicked += new EventHandler (PasteClicked); hbox.PackStart (pasteEntry, true, true, 0); hbox.PackStart (pasteButton, false, false, 0); return hbox; } void CopyClicked (object obj, EventArgs args) { Clipboard clipboard = copyEntry.GetClipboard (Gdk.Selection.Clipboard); clipboard.Text = copyEntry.Text; } void PasteClicked (object obj, EventArgs args) { Clipboard clipboard = pasteEntry.GetClipboard (Gdk.Selection.Clipboard); clipboard.RequestText (new ClipboardTextReceivedFunc (PasteReceived)); } void PasteReceived (Clipboard clipboard, string text) { pasteEntry.Text = text; } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } } } gtk-sharp-2.12.40/sample/GtkDemo/DemoStockBrowser.cs0000664000175000017500000001231012767740470017114 00000000000000/* Stock Item and Icon Browser * * This source code for this demo doesn't demonstrate anything * particularly useful in applications. The purpose of the "demo" is * just to provide a handy place to browse the available stock icons * and stock items. */ using System; using System.Collections; using System.Reflection; using Gtk; namespace GtkDemo { [Demo ("Stock Item and Icon Browser", "DemoStockBrowser.cs")] public class DemoStockBrowser : Gtk.Window { enum Column { Id, Name, Label, Accel, }; Label typeLabel, nameLabel, idLabel, accelLabel; Image iconImage; public DemoStockBrowser () : base ("Stock Icons and Items") { SetDefaultSize (-1, 500); BorderWidth = 8; HBox hbox = new HBox (false, 8); Add (hbox); ScrolledWindow sw = new ScrolledWindow (); sw.SetPolicy (PolicyType.Never, PolicyType.Automatic); hbox.PackStart (sw, false, false, 0); ListStore model = CreateModel (); TreeView treeview = new TreeView (model); sw.Add (treeview); TreeViewColumn column = new TreeViewColumn (); column.Title = "Name"; CellRenderer renderer = new CellRendererPixbuf (); column.PackStart (renderer, false); column.SetAttributes (renderer, "stock_id", Column.Id); renderer = new CellRendererText (); column.PackStart (renderer, true); column.SetAttributes (renderer, "text", Column.Name); treeview.AppendColumn (column); treeview.AppendColumn ("Label", new CellRendererText (), "text", Column.Label); treeview.AppendColumn ("Accel", new CellRendererText (), "text", Column.Accel); treeview.AppendColumn ("ID", new CellRendererText (), "text", Column.Id); Alignment align = new Alignment (0.5f, 0.0f, 0.0f, 0.0f); hbox.PackEnd (align, false, false, 0); Frame frame = new Frame ("Selected Item"); align.Add (frame); VBox vbox = new VBox (false, 8); vbox.BorderWidth = 8; frame.Add (vbox); typeLabel = new Label (); vbox.PackStart (typeLabel, false, false, 0); iconImage = new Gtk.Image (); vbox.PackStart (iconImage, false, false, 0); accelLabel = new Label (); vbox.PackStart (accelLabel, false, false, 0); nameLabel = new Label (); vbox.PackStart (nameLabel, false, false, 0); idLabel = new Label (); vbox.PackStart (idLabel, false, false, 0); treeview.Selection.Mode = Gtk.SelectionMode.Single; treeview.Selection.Changed += new EventHandler (SelectionChanged); ShowAll (); } private ListStore CreateModel () { ListStore store = new Gtk.ListStore (typeof (string), typeof(string), typeof(string), typeof(string), typeof (string)); string[] stockIds = Gtk.Stock.ListIds (); Array.Sort (stockIds); // Use reflection to get the list of C# names Hashtable idToName = new Hashtable (); foreach (PropertyInfo info in typeof (Gtk.Stock).GetProperties (BindingFlags.Public | BindingFlags.Static)) { if (info.PropertyType == typeof (string)) idToName[info.GetValue (null, null)] = "Gtk.Stock." + info.Name; } foreach (string id in stockIds) { Gtk.StockItem si; string accel; si = Gtk.Stock.Lookup (id); if (si.Keyval != 0) accel = Accelerator.Name (si.Keyval, si.Modifier); else accel = ""; store.AppendValues (id, idToName[id], si.Label, accel); } return store; } void SelectionChanged (object o, EventArgs args) { TreeSelection selection = (TreeSelection)o; TreeIter iter; TreeModel model; if (selection.GetSelected (out model, out iter)) { string id = (string) model.GetValue (iter, (int)Column.Id); string name = (string) model.GetValue (iter, (int)Column.Name); string label = (string) model.GetValue (iter, (int)Column.Label); string accel = (string) model.GetValue (iter, (int)Column.Accel); IconSize size = GetLargestSize (id); bool icon = (size != IconSize.Invalid); if (icon && label != null) typeLabel.Text = "Icon and Item"; else if (icon) typeLabel.Text = "Icon Only"; else if (label != null) typeLabel.Text = "Item Only"; else typeLabel.Text = "???????"; if (name != null) nameLabel.Text = name; else nameLabel.Text = ""; idLabel.Text = id; if (label != null) accelLabel.TextWithMnemonic = label + " " + accel; else accelLabel.Text = ""; if (icon) iconImage.SetFromStock (id, size); else iconImage.Pixbuf = null; } else { typeLabel.Text = "No selected item"; nameLabel.Text = ""; idLabel.Text = ""; accelLabel.Text = ""; iconImage.Pixbuf = null; } } // Finds the largest size at which the given image stock id is // available. This would not be useful for a normal application private IconSize GetLargestSize (string stockId) { IconSet set = IconFactory.LookupDefault (stockId); if (set == null) return IconSize.Invalid; IconSize[] sizes = set.Sizes; IconSize bestSize = IconSize.Invalid; int bestPixels = 0; foreach (IconSize size in sizes) { int width, height; Gtk.Icon.SizeLookup (size, out width, out height); if (width * height > bestPixels) { bestSize = size; bestPixels = width * height; } } return bestSize; } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } } } gtk-sharp-2.12.40/sample/GtkDemo/DemoMain.cs0000664000175000017500000001521212767740470015355 00000000000000using System; using System.Collections; using System.IO; using System.Reflection; using Gdk; using Gtk; using Pango; namespace GtkDemo { public class DemoMain { private Gtk.Window window; private TextBuffer infoBuffer = new TextBuffer (null); private TextBuffer sourceBuffer = new TextBuffer (null); private TreeView treeView; private TreeStore store; private TreeIter oldSelection = TreeIter.Zero; public static void Main (string[] args) { Application.Init (); new DemoMain (); Application.Run (); } public DemoMain () { SetupDefaultIcon (); window = new Gtk.Window ("Gtk# Code Demos"); window.SetDefaultSize (600, 400); window.DeleteEvent += new DeleteEventHandler (WindowDelete); HBox hbox = new HBox (false, 0); window.Add (hbox); treeView = CreateTree (); hbox.PackStart (treeView, false, false, 0); Notebook notebook = new Notebook (); hbox.PackStart (notebook, true, true, 0); notebook.AppendPage (CreateText (infoBuffer, false), new Label ("_Info")); TextTag heading = new TextTag ("heading"); heading.Font = "Sans 18"; infoBuffer.TagTable.Add (heading); notebook.AppendPage (CreateText (sourceBuffer, true), new Label ("_Source")); window.ShowAll (); } private void LoadFile (string filename) { Stream file = Assembly.GetExecutingAssembly ().GetManifestResourceStream (filename); if (file != null) { LoadStream (file); } else if (File.Exists (filename)) { file = File.OpenRead (filename); LoadStream (file); } else { infoBuffer.Text = String.Format ("{0} was not found.", filename); sourceBuffer.Text = String.Empty; } Fontify (); } private enum LoadState { Title, Info, SkipWhitespace, Body }; private void LoadStream (Stream file) { StreamReader sr = new StreamReader (file); LoadState state = LoadState.Title; bool inPara = false; infoBuffer.Text = ""; sourceBuffer.Text = ""; TextIter infoIter = infoBuffer.EndIter; TextIter sourceIter = sourceBuffer.EndIter; // mostly broken comment parsing for splitting // out the special comments to display in the infobuffer string line, trimmed; while (sr.Peek () != -1) { line = sr.ReadLine (); trimmed = line.Trim (); switch (state) { case LoadState.Title: if (trimmed.StartsWith ("/* ")) { infoBuffer.InsertWithTagsByName (ref infoIter, trimmed.Substring (3), "heading"); state = LoadState.Info; } break; case LoadState.Info: if (trimmed == "*") { infoBuffer.Insert (ref infoIter, "\n"); inPara = false; } else if (trimmed.StartsWith ("* ")) { if (inPara) infoBuffer.Insert (ref infoIter, " "); infoBuffer.Insert (ref infoIter, trimmed.Substring (2)); inPara = true; } else if (trimmed.StartsWith ("*/")) state = LoadState.SkipWhitespace; break; case LoadState.SkipWhitespace: if (trimmed != "") { state = LoadState.Body; goto case LoadState.Body; } break; case LoadState.Body: sourceBuffer.Insert (ref sourceIter, line + "\n"); break; } } sr.Close (); file.Close (); } // this is to highlight the sourceBuffer private void Fontify () { } private void SetupDefaultIcon () { Gdk.Pixbuf pixbuf = Gdk.Pixbuf.LoadFromResource ("gtk-logo-rgb.gif"); if (pixbuf != null) { // The gtk-logo-rgb icon has a white background // make it transparent instead Pixbuf transparent = pixbuf.AddAlpha (true, 0xff, 0xff, 0xff); Gtk.Window.DefaultIconList = new Gdk.Pixbuf [] { transparent }; } } private TreeView CreateTree () { TreeView view = new TreeView (); view.Model = FillTree (); CellRendererText cr = new CellRendererText (); TreeViewColumn column = new TreeViewColumn ("Widget (double click for demo)", cr, "text", 0); column.AddAttribute (cr, "style" , 2); view.AppendColumn (column); view.Selection.Changed += new EventHandler (TreeChanged); view.RowActivated += new RowActivatedHandler (RowActivated); view.ExpandAll (); view.SetSizeRequest (200, -1); view.Selection.Mode = Gtk.SelectionMode.Browse; return view; } private ScrolledWindow CreateText (TextBuffer buffer, bool IsSource) { ScrolledWindow scrolledWindow = new ScrolledWindow (); scrolledWindow.SetPolicy (PolicyType.Automatic, PolicyType.Automatic); scrolledWindow.ShadowType = ShadowType.In; TextView textView = new TextView (buffer); textView.Editable = false; textView.CursorVisible = false; scrolledWindow.Add (textView); if (IsSource) { FontDescription fontDescription = FontDescription.FromString ("Courier 12"); textView.ModifyFont (fontDescription); textView.WrapMode = Gtk.WrapMode.None; } else { // Make it a bit nicer for text textView.WrapMode = Gtk.WrapMode.Word; textView.PixelsAboveLines = 2; textView.PixelsBelowLines = 2; } return scrolledWindow; } private TreeStore FillTree () { // title, filename, italic store = new TreeStore (typeof (string), typeof (System.Type), typeof (bool)); Hashtable parents = new Hashtable (); TreeIter parent; Type[] types = Assembly.GetExecutingAssembly ().GetTypes (); foreach (Type t in types) { object[] att = t.GetCustomAttributes (typeof (DemoAttribute), false); foreach (DemoAttribute demo in att) { if (demo.Parent != null) { if (!parents.Contains (demo.Parent)) parents.Add (demo.Parent, store.AppendValues (demo.Parent)); parent = (TreeIter) parents[demo.Parent]; store.AppendValues (parent, demo.Label, t, false); } else { store.AppendValues (demo.Label, t, false); } } } store.SetSortColumnId (0, SortType.Ascending); return store; } private void TreeChanged (object o, EventArgs args) { TreeIter iter; TreeModel model; if (treeView.Selection.GetSelected (out model, out iter)) { Type type = (Type) model.GetValue (iter, 1); if (type != null) { object[] atts = type.GetCustomAttributes (typeof (DemoAttribute), false); string file = ((DemoAttribute) atts[0]).Filename; LoadFile (file); } model.SetValue (iter, 2, true); if (!oldSelection.Equals (TreeIter.Zero)) model.SetValue (oldSelection, 2, false); oldSelection = iter; } } private void RowActivated (object o, RowActivatedArgs args) { TreeIter iter; if (treeView.Model.GetIter (out iter, args.Path)) { Type type = (Type) treeView.Model.GetValue (iter, 1); if (type != null) Activator.CreateInstance (type); } } private void WindowDelete (object o, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } } } gtk-sharp-2.12.40/sample/GtkDemo/Makefile.am0000664000175000017500000000433212767740470015372 00000000000000if ENABLE_MONO_CAIRO local_mono_cairo=$(top_builddir)/cairo/Mono.Cairo.dll else local_mono_cairo= endif assemblies = \ $(top_builddir)/glib/glib-sharp.dll $(top_builddir)/pango/pango-sharp.dll \ $(top_builddir)/atk/atk-sharp.dll $(top_builddir)/gdk/gdk-sharp.dll \ $(top_builddir)/gtk/gtk-sharp.dll $(local_mono_cairo) references = $(addprefix -r:, $(assemblies)) @MONO_CAIRO_LIBS@ TARGETS = GtkDemo.exe DEBUGS = $(addsuffix .mdb, $(TARGETS)) CLEANFILES = $(TARGETS) $(DEBUGS) noinst_SCRIPTS = $(TARGETS) EXTRA_DIST = $(sources) $(image_names) sources = \ DemoApplicationWindow.cs \ DemoAttribute.cs \ DemoButtonBox.cs \ DemoClipboard.cs \ DemoColorSelection.cs \ DemoDialog.cs \ DemoDrawingArea.cs \ DemoEditableCells.cs \ DemoEntryCompletion.cs \ DemoExpander.cs \ DemoHyperText.cs \ DemoIconView.cs \ DemoImages.cs \ DemoListStore.cs \ DemoMain.cs \ DemoMenus.cs \ DemoPanes.cs \ DemoPixbuf.cs \ DemoRotatedText.cs \ DemoSizeGroup.cs \ DemoStockBrowser.cs \ DemoTextView.cs \ DemoTreeStore.cs \ DemoUIManager.cs \ DemoPrinting.cs images = \ images/gnome-foot.png,gnome-foot.png \ images/MonoIcon.png,MonoIcon.png \ images/gnome-calendar.png,gnome-calendar.png \ images/gnome-gmush.png,gnome-gmush.png \ images/gnu-keys.png,gnu-keys.png \ images/gnome-applets.png,gnome-applets.png \ images/gnome-gsame.png,gnome-gsame.png \ images/alphatest.png,alphatest.png \ images/gnome-gimp.png,gnome-gimp.png \ images/apple-red.png,apple-red.png \ images/background.jpg,background.jpg \ images/gtk-logo-rgb.gif,gtk-logo-rgb.gif \ images/floppybuddy.gif,floppybuddy.gif image_names = \ images/gnome-foot.png \ images/MonoIcon.png \ images/gnome-calendar.png \ images/gnome-gmush.png \ images/gnu-keys.png \ images/gnome-applets.png \ images/gnome-gsame.png \ images/alphatest.png \ images/gnome-gimp.png \ images/apple-red.png \ images/background.jpg \ images/gtk-logo-rgb.gif \ images/floppybuddy.gif build_sources = $(addprefix $(srcdir)/, $(sources)) build_images = $(addprefix $(srcdir)/, $(images)) resources = $(addprefix -resource:, $(build_images)) GtkDemo.exe: $(build_sources) $(assemblies) $(CSC) $(CSFLAGS) -out:GtkDemo.exe $(build_sources) $(references) $(resources) gtk-sharp-2.12.40/sample/GtkDemo/DemoMenus.cs0000664000175000017500000000574512767740470015572 00000000000000/* Menus * * There are several widgets involved in displaying menus. The MenuBar * widget is a horizontal menu bar, which normally appears at the top * of an application. The Menu widget is the actual menu that pops up. * Both MenuBar and Menu are subclasses of MenuShell; a MenuShell * contains menu items (MenuItem). Each menu item contains text and/or * images and can be selected by the user. * * There are several kinds of menu item, including plain MenuItem, * CheckMenuItem which can be checked/unchecked, RadioMenuItem which * is a check menu item that's in a mutually exclusive group, * SeparatorMenuItem which is a separator bar, TearoffMenuItem which * allows a Menu to be torn off, and ImageMenuItem which can place a * Image or other widget next to the menu text. * * A MenuItem can have a submenu, which is simply a Menu to pop up * when the menu item is selected. Typically, all menu items in a menu * bar have submenus. * * UIManager provides a higher-level interface for creating menu bars * and menus; while you can construct menus manually, most people * don't do that. There's a separate demo for UIManager. * */ using System; using Gtk; namespace GtkDemo { [Demo ("Menus", "DemoMenus.cs")] public class DemoMenus : Gtk.Window { public DemoMenus () : base ("Menus") { AccelGroup accel_group = new AccelGroup (); AddAccelGroup (accel_group); VBox box1 = new VBox (false, 0); Add (box1); MenuBar menubar = new MenuBar (); box1.PackStart (menubar, false, true, 0); MenuItem menuitem = new MenuItem ("test\nline2"); menuitem.Submenu = CreateMenu (2, true); menubar.Append (menuitem); MenuItem menuitem1 = new MenuItem ("foo"); menuitem1.Submenu = CreateMenu (3, true); menubar.Append (menuitem1); menuitem = new MenuItem ("bar"); menuitem.Submenu = CreateMenu (4, true); menuitem.RightJustified = true; menubar.Append (menuitem); VBox box2 = new VBox (false, 10); box2.BorderWidth = 10; box1.PackStart (box2, false, true, 0); Button close = new Button ("close"); close.Clicked += new EventHandler (CloseClicked); box2.PackStart (close, true, true, 0); close.CanDefault = true; close.GrabDefault (); ShowAll (); } private Menu CreateMenu (int depth, bool tearoff) { if (depth < 1) return null; Menu menu = new Menu (); GLib.SList group = new GLib.SList (IntPtr.Zero); if (tearoff) { TearoffMenuItem menuitem = new TearoffMenuItem (); menu.Append (menuitem); } for (int i = 0, j = 1; i < 5; i++, j++) { RadioMenuItem menuitem = new RadioMenuItem (group, String.Format ("item {0} - {1}", depth, j)); group = menuitem.Group; menu.Append (menuitem); if (i == 3) menuitem.Sensitive = false; menuitem.Submenu = CreateMenu ((depth - 1), true); } return menu; } private void CloseClicked (object o, EventArgs args) { Destroy (); } protected override bool OnDeleteEvent (Gdk.Event evt) { Destroy (); return true; } } } gtk-sharp-2.12.40/sample/GtkDemo/DemoAttribute.cs0000664000175000017500000000110612654353766016434 00000000000000using System; namespace GtkDemo { [AttributeUsage (AttributeTargets.Class)] public class DemoAttribute : Attribute { string label, filename, parent; public DemoAttribute (string label, string filename) : this (label, filename, null) { } public DemoAttribute (string label, string filename, string parent) { this.label = label; this.filename = filename; this.parent = parent; } public string Filename { get { return filename; } } public string Label { get { return label; } } public string Parent { get { return parent; } } } } gtk-sharp-2.12.40/sample/DrawingSample.cs0000664000175000017500000000471112654353766015074 00000000000000// // Sample program demostrating using System.Drawing with Gtk# // using Gtk; using System; using System.Drawing; class X { static DrawingArea a, b; static void Main () { Application.Init (); Gtk.Window w = new Gtk.Window ("System.Drawing and Gtk#"); // Custom widget sample a = new PrettyGraphic (); // Event-based drawing b = new DrawingArea (); b.ExposeEvent += new ExposeEventHandler (ExposeHandler); b.SizeAllocated += new SizeAllocatedHandler (SizeAllocatedHandler); Button c = new Button ("Quit"); c.Clicked += new EventHandler (quit); MovingText m = new MovingText (); Box box = new HBox (true, 0); box.Add (a); box.Add (b); box.Add (m); box.Add (c); w.Add (box); w.ShowAll (); Application.Run (); } static void quit (object obj, EventArgs args) { Application.Quit (); } static Gdk.Rectangle rect; static void SizeAllocatedHandler (object obj, SizeAllocatedArgs args) { rect = args.Allocation; } static void ExposeHandler (object obj, ExposeEventArgs args) { Gdk.EventExpose ev = args.Event; Gdk.Window window = ev.Window; using (Graphics g = Gtk.DotNet.Graphics.FromDrawable (window)){ g.TranslateTransform (ev.Area.X, ev.Area.Y); using (Pen p = new Pen (Color.Red)){ g.DrawPie (p, 0, 0, rect.Width, rect.Height, 50, 90); } } } } // // A sample using inheritance to draw // class PrettyGraphic : DrawingArea { public PrettyGraphic () { SetSizeRequest (200, 200); } protected override bool OnExposeEvent (Gdk.EventExpose args) { using (Graphics g = Gtk.DotNet.Graphics.FromDrawable (args.Window)){ Pen p = new Pen (Color.Blue, 1.0f); for (int i = 0; i < 600; i += 60) for (int j = 0; j < 600; j += 60) g.DrawLine (p, i, 0, 0, j); } return true; } } class MovingText : DrawingArea { static int d = 0; Font f; public MovingText () { GLib.Timeout.Add (20, new GLib.TimeoutHandler (Forever)); SetSizeRequest (300, 200); f = new Font ("Times", 20); } bool Forever () { QueueDraw (); return true; } protected override bool OnExposeEvent (Gdk.EventExpose args) { using (Graphics g = Gtk.DotNet.Graphics.FromDrawable (args.Window)){ using (Brush back = new SolidBrush (Color.White), fore = new SolidBrush (Color.Red)){ g.FillRectangle (back, 0, 0, 400, 400); g.TranslateTransform (150, 100); g.RotateTransform (d); d += 3; g.DrawString ("Mono", f, fore, 0, 0); } } return true; } } gtk-sharp-2.12.40/sample/Actions.cs0000664000175000017500000002653412767740470013743 00000000000000// Actions.cs - Gtk.Action class Test implementation (port of testactions.c) // // Author: Jeroen Zwartepoorte // // (c) 2004 Jeroen Zwartepoorte namespace GtkSamples { using Gtk; using System; using System.Collections; public class Actions { static VBox box = null; static Statusbar statusbar = null; static ActionGroup group = null; static Toolbar toolbar = null; static SpinButton spin = null; static ActionGroup dynGroup = null; static uint mergeId = 0; static UIManager uim = null; static Hashtable actions = new Hashtable (); /* XML description of the menus for the test app. The parser understands * a subset of the Bonobo UI XML format, and uses GMarkup for parsing */ const string ui_info = " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n" + " \n"; static ActionEntry[] entries = new ActionEntry[] { new ActionEntry ("Menu1Action", null, "Menu _1", null, null, null), new ActionEntry ("Menu2Action", null, "Menu _2", null, null, null), new ActionEntry ("Menu3Action", null, "_Dynamic Menu", null, null, null), new ActionEntry ("cut", Stock.Cut, "C_ut", "X", "Cut the selected text to the clipboard", new EventHandler (OnActivate)), new ActionEntry ("copy", Stock.Copy, "_Copy", "C", "Copy the selected text to the clipboard", new EventHandler (OnActivate)), new ActionEntry ("paste", Stock.Paste, "_Paste", "V", "Paste the text from the clipboard", new EventHandler (OnActivate)), new ActionEntry ("quit", Stock.Quit, null, "Q", "Quit the application", new EventHandler (OnQuit)), new ActionEntry ("customise-accels", null, "Customise _Accels", null, "Customize keyboard shortcuts", new EventHandler (OnCustomizeAccels)), new ActionEntry ("toolbar-small-icons", null, "Small Icons", null, null, new EventHandler (OnToolbarSizeSmall)), new ActionEntry ("toolbar-large-icons", null, "Large Icons", null, null, new EventHandler (OnToolbarSizeLarge)) }; static ToggleActionEntry[] toggleEntries = new ToggleActionEntry[] { new ToggleActionEntry ("bold", Stock.Bold, "_Bold", "B", "Change to bold face", new EventHandler (OnToggle), false), new ToggleActionEntry ("toggle-cnp", null, "Enable Cut/Copy/Paste", null, "Change the sensitivity of the cut, copy and paste actions", new EventHandler (OnToggleCnp), true) }; enum Justify { Left, Center, Right, Fill }; static RadioActionEntry[] radioEntries = new RadioActionEntry[] { new RadioActionEntry ("justify-left", Stock.JustifyLeft, "_Left", "L", "Left justify the text", (int)Justify.Left), new RadioActionEntry ("justify-center", Stock.JustifyCenter, "C_enter", "E", "Center justify the text", (int)Justify.Center), new RadioActionEntry ("justify-right", Stock.JustifyRight, "_Right", "R", "Right justify the text", (int)Justify.Right), new RadioActionEntry ("justify-fill", Stock.JustifyFill, "_Fill", "J", "Fill justify the text", (int)Justify.Fill) }; static RadioActionEntry[] toolbarEntries = new RadioActionEntry[] { new RadioActionEntry ("toolbar-icons", null, "Icons", null, null, (int)ToolbarStyle.Icons), new RadioActionEntry ("toolbar-text", null, "Text", null, null, (int)ToolbarStyle.Text), new RadioActionEntry ("toolbar-both", null, "Both", null, null, (int)ToolbarStyle.Both), new RadioActionEntry ("toolbar-both-horiz", null, "Both Horizontal", null, null, (int)ToolbarStyle.BothHoriz) }; public static int Main (string[] args) { Application.Init (); Window win = new Window ("Action Demo"); win.DefaultSize = new Gdk.Size (200, 150); win.DeleteEvent += new DeleteEventHandler (OnWindowDelete); box = new VBox (false, 0); win.Add (box); group = new ActionGroup ("TestActions"); group.Add (entries); group.Add (toggleEntries); group.Add (radioEntries, (int)Justify.Left, new ChangedHandler (OnRadio)); group.Add (toolbarEntries, (int)ToolbarStyle.BothHoriz, new ChangedHandler (OnToolbarStyle)); uim = new UIManager (); uim.AddWidget += new AddWidgetHandler (OnWidgetAdd); uim.ConnectProxy += new ConnectProxyHandler (OnProxyConnect); uim.InsertActionGroup (group, 0); uim.AddUiFromString (ui_info); statusbar = new Statusbar (); box.PackEnd (statusbar, false, true, 0); VBox vbox = new VBox (false, 5); Button button = new Button ("Blah"); vbox.PackEnd (button, true, true, 0); HBox hbox = new HBox (false, 5); spin = new SpinButton (new Adjustment (100, 100, 10000, 1, 100, 100), 100, 0); hbox.PackStart (spin, true, true, 0); button = new Button ("Remove"); button.Clicked += new EventHandler (OnDynamicRemove); hbox.PackEnd (button, false, false, 0); button = new Button ("Add"); button.Clicked += new EventHandler (OnDynamicAdd); hbox.PackEnd (button, false, false, 0); vbox.PackEnd (hbox, false, false, 0); box.PackEnd (vbox, true, true, 0); win.ShowAll (); Application.Run (); return 0; } static void OnActivate (object obj, EventArgs args) { Gtk.Action action = (Gtk.Action)obj; Console.WriteLine ("Action {0} (type={1}) activated", action.Name, action.GetType ().FullName); } static void OnCustomizeAccels (object obj, EventArgs args) { Console.WriteLine ("Sorry, accel dialog not available"); } static void OnToolbarSizeSmall (object obj, EventArgs args) { toolbar.IconSize = IconSize.SmallToolbar; } static void OnToolbarSizeLarge (object obj, EventArgs args) { toolbar.IconSize = IconSize.LargeToolbar; } static void OnToggle (object obj, EventArgs args) { ToggleAction action = (ToggleAction)obj; Console.WriteLine ("Action {0} (type={1}) activated (active={2})", action.Name, action.GetType ().FullName, action.Active); } static void OnToggleCnp (object obj, EventArgs args) { Gtk.Action action = (ToggleAction)obj; bool sensitive = ((ToggleAction)action).Active; action = group.GetAction ("cut"); action.Sensitive = sensitive; action = group.GetAction ("copy"); action.Sensitive = sensitive; action = group.GetAction ("paste"); action.Sensitive = sensitive; action = group.GetAction ("toggle-cnp"); if (sensitive) action.Label = "Disable Cut and past ops"; else action.Label = "Enable Cut and paste ops"; } static void OnRadio (object obj, ChangedArgs args) { RadioAction action = (RadioAction)obj; Console.WriteLine ("Action {0} (type={1}) activated (active={2}) (value {3})", action.Name, action.GetType ().FullName, action.Active, action.CurrentValue); } static void OnToolbarStyle (object obj, ChangedArgs args) { RadioAction action = (RadioAction)obj; ToolbarStyle style = (ToolbarStyle)action.CurrentValue; toolbar.ToolbarStyle = style; } static void OnDynamicAdd (object obj, EventArgs args) { if (mergeId != 0 || dynGroup != null) return; int num = spin.ValueAsInt; dynGroup = new ActionGroup ("DynamicActions"); uim.InsertActionGroup (dynGroup, 0); mergeId = uim.NewMergeId (); for (int i = 0; i < num; i++) { string name = "DynAction" + i; string label = "Dynamic Action " + i; Gtk.Action action = new Gtk.Action (name, label); dynGroup.Add (action); uim.AddUi (mergeId, "/menubar/DynamicMenu", name, name, UIManagerItemType.Menuitem, false); } uim.EnsureUpdate (); } static void OnDynamicRemove (object obj, EventArgs args) { if (mergeId == 0 || dynGroup == null) return; uim.RemoveUi (mergeId); uim.EnsureUpdate (); mergeId = 0; uim.RemoveActionGroup (dynGroup); dynGroup = null; } static void OnWindowDelete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } static void OnWidgetAdd (object obj, AddWidgetArgs args) { if (args.Widget is Toolbar) toolbar = (Toolbar)args.Widget; args.Widget.Show (); box.PackStart (args.Widget, false, true, 0); } static void OnSelect (object obj, EventArgs args) { Gtk.Action action = (Gtk.Action) actions[obj]; if (action.Tooltip != null) statusbar.Push (0, action.Tooltip); } static void OnDeselect (object obj, EventArgs args) { statusbar.Pop (0); } static void OnProxyConnect (object obj, ConnectProxyArgs args) { if (args.Proxy is MenuItem) { actions[args.Proxy] = args.Action; ((Item)args.Proxy).Selected += new EventHandler (OnSelect); ((Item)args.Proxy).Deselected += new EventHandler (OnDeselect); } } static void OnQuit (object obj, EventArgs args) { Application.Quit (); } } } gtk-sharp-2.12.40/sample/SpawnTests.cs0000664000175000017500000000606612654353766014457 00000000000000// SpawnTests.cs - Tests for GLib.Process.Spawn* // // Author: Mike Kestner // // Copyright (c) 2007 Novell, Inc. namespace GtkSamples { using Gtk; using Gdk; using GLib; using System; public class SpawnTests { static MainLoop ml; public static void Main (string[] args) { CommandLineSyncTest (); CommandLineAsyncTest (); SyncTest (); AsyncTest (); AsyncWithPipesTest (); ml = new MainLoop (); ml.Run (); } static void CommandLineAsyncTest () { Console.WriteLine ("CommandLineAsyncTest:"); try { GLib.Process.SpawnCommandLineAsync ("echo \"[CommandLineAsync running: `pwd`]\""); } catch (Exception e) { Console.WriteLine ("Exception in SpawnCommandLineAsync: " + e); } Console.WriteLine ("returning"); } static void CommandLineSyncTest () { Console.WriteLine ("CommandLineSyncTest:"); try { string stdout, stderr; int exit_status; GLib.Process.SpawnCommandLineSync ("pwd", out stdout, out stderr, out exit_status); Console.Write ("pwd exit_status=" + exit_status + " output: " + stdout); } catch (Exception e) { Console.WriteLine ("Exception in SpawnCommandLineSync: " + e); } Console.WriteLine ("returning"); } static void SyncTest () { Console.WriteLine ("SyncTest:"); try { string stdout, stderr; int exit_status; GLib.Process.SpawnSync ("/usr", new string[] {"pwd"}, null, SpawnFlags.SearchPath, null, out stdout, out stderr, out exit_status); Console.Write ("pwd exit_status=" + exit_status + " output: " + stdout); } catch (Exception e) { Console.WriteLine ("Exception in SpawnSync: " + e); } Console.WriteLine ("returning"); } static void AsyncTest () { Console.WriteLine ("AsyncTest:"); try { Process proc; GLib.Process.SpawnAsync (null, new string[] {"echo", "[AsyncTest running]"}, null, SpawnFlags.SearchPath, null, out proc); } catch (Exception e) { Console.WriteLine ("Exception in SpawnSync: " + e); } Console.WriteLine ("returning"); } static IOChannel channel; static void AsyncWithPipesTest () { Console.WriteLine ("AsyncWithPipesTest:"); try { Process proc; int stdin = Process.IgnorePipe; int stdout = Process.RequestPipe; int stderr = Process.IgnorePipe; GLib.Process.SpawnAsyncWithPipes (null, new string[] {"pwd"}, null, SpawnFlags.SearchPath, null, out proc, ref stdin, ref stdout, ref stderr); channel = new IOChannel (stdout); channel.AddWatch (0, IOCondition.In | IOCondition.Hup, new IOFunc (ReadStdout)); } catch (Exception e) { Console.WriteLine ("Exception in SpawnSync: " + e); } Console.WriteLine ("returning"); } static bool ReadStdout (IOChannel source, IOCondition condition) { if ((condition & IOCondition.In) == IOCondition.In) { string txt; if (source.ReadToEnd (out txt) == IOStatus.Normal) Console.WriteLine ("[AsyncWithPipesTest output] " + txt); } if ((condition & IOCondition.Hup) == IOCondition.Hup) { source.Dispose (); ml.Quit (); return true; } return true; } } } gtk-sharp-2.12.40/sample/NodeViewDemo.cs0000664000175000017500000000746212767740470014667 00000000000000// NodeViewDemo.cs - rework of TreeViewDemo to use NodeView. // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. namespace GtkSamples { using System; using System.Reflection; using Gtk; public class DemoTreeNode : TreeNode { string desc; static int count = 0; public DemoTreeNode (string name, string desc) { this.Name = name; this.desc = desc; count++; } // TreeNodeValues can come from both properties and fields [TreeNodeValue (Column=0)] public string Name; [TreeNodeValue (Column=1)] public string Description { get { return desc; } } public static int Count { get { return count; } } } public class NodeViewDemo : Gtk.Window { NodeStore store; StatusDialog dialog; public NodeViewDemo () : base ("NodeView demo") { DeleteEvent += new DeleteEventHandler (DeleteCB); DefaultSize = new Gdk.Size (640,480); ScrolledWindow sw = new ScrolledWindow (); Add (sw); NodeView view = new NodeView (Store); view.HeadersVisible = true; view.AppendColumn ("Name", new CellRendererText (), "text", 0); view.AppendColumn ("Type", new CellRendererText (), new NodeCellDataFunc (DataCallback)); sw.Add (view); dialog.Destroy (); dialog = null; } private void DataCallback (TreeViewColumn col, CellRenderer cell, ITreeNode node) { (cell as CellRendererText).Text = (node as DemoTreeNode).Description; } StatusDialog Dialog { get { if (dialog == null) dialog = new StatusDialog (); return dialog; } } void ProcessType (DemoTreeNode parent, System.Type t) { foreach (MemberInfo mi in t.GetMembers ()) parent.AddChild (new DemoTreeNode (mi.Name, mi.ToString ())); } void ProcessAssembly (DemoTreeNode parent, Assembly asm) { string asm_name = asm.GetName ().Name; foreach (System.Type t in asm.GetTypes ()) { Dialog.Update ("Loading from {0}:\n{1}", asm_name, t.ToString ()); DemoTreeNode node = new DemoTreeNode (t.Name, t.ToString ()); ProcessType (node, t); parent.AddChild (node); } } NodeStore Store { get { if (store == null) { store = new NodeStore (typeof (DemoTreeNode)); foreach (Assembly asm in AppDomain.CurrentDomain.GetAssemblies ()) { Dialog.Update ("Loading {0}", asm.GetName ().Name); DemoTreeNode node = new DemoTreeNode (asm.GetName ().Name, "Assembly"); ProcessAssembly (node, asm); store.AddNode (node); } } return store; } } public static void Main (string[] args) { DateTime start = DateTime.Now; Application.Init (); Gtk.Window win = new NodeViewDemo (); win.ShowAll (); Console.WriteLine (DemoTreeNode.Count + " nodes created."); Console.WriteLine ("startup time: " + DateTime.Now.Subtract (start)); Application.Run (); } void DeleteCB (System.Object o, DeleteEventArgs args) { Application.Quit (); } } public class StatusDialog : Gtk.Dialog { Label dialog_label; public StatusDialog () : base () { Title = "Loading data from assemblies..."; AddButton (Stock.Cancel, 1); Response += new ResponseHandler (ResponseCB); DefaultSize = new Gdk.Size (480, 100); HBox hbox = new HBox (false, 4); VBox.PackStart (hbox, true, true, 0); Gtk.Image icon = new Gtk.Image (Stock.DialogInfo, IconSize.Dialog); hbox.PackStart (icon, false, false, 0); dialog_label = new Label (""); hbox.PackStart (dialog_label, false, false, 0); ShowAll (); } public void Update (string format, params object[] args) { string text = String.Format (format, args); dialog_label.Text = text; while (Application.EventsPending ()) Application.RunIteration (); } private static void ResponseCB (object obj, ResponseArgs args) { Application.Quit (); System.Environment.Exit (0); } } } gtk-sharp-2.12.40/sample/ManagedTreeViewDemo.cs0000664000175000017500000000353412767740470016152 00000000000000// ManagedTreeViewDemo.cs - Another TreeView demo // // Author: Rachel Hestilow // // (c) 2003 Rachel Hestilow namespace GtkSamples { using System; using System.Runtime.InteropServices; using Gtk; public class TreeViewDemo { private static ListStore store = null; private class Pair { public string a, b; public Pair (string a, string b) { this.a = a; this.b = b; } } private static void PopulateStore () { store = new ListStore (typeof (Pair)); string[] combs = {null, "foo", "bar", "baz"}; foreach (string a in combs) { foreach (string b in combs) { store.AppendValues (new Pair (a, b)); } } } private static void CellDataA (Gtk.TreeViewColumn tree_column, Gtk.CellRenderer cell, Gtk.TreeModel tree_model, Gtk.TreeIter iter) { Pair val = (Pair) store.GetValue (iter, 0); ((CellRendererText) cell).Text = val.a; } private static void CellDataB (Gtk.TreeViewColumn tree_column, Gtk.CellRenderer cell, Gtk.TreeModel tree_model, Gtk.TreeIter iter) { Pair val = (Pair) store.GetValue (iter, 0); ((CellRendererText) cell).Text = val.b; } public static void Main (string[] args) { Application.Init (); PopulateStore (); Window win = new Window ("TreeView demo"); win.DeleteEvent += new DeleteEventHandler (DeleteCB); win.DefaultWidth = 320; win.DefaultHeight = 480; ScrolledWindow sw = new ScrolledWindow (); win.Add (sw); TreeView tv = new TreeView (store); tv.HeadersVisible = true; tv.AppendColumn ("One", new CellRendererText (), new TreeCellDataFunc (CellDataA)); tv.AppendColumn ("Two", new CellRendererText (), new TreeCellDataFunc (CellDataB)); sw.Add (tv); win.ShowAll (); Application.Run (); } private static void DeleteCB (System.Object o, DeleteEventArgs args) { Application.Quit (); } } } gtk-sharp-2.12.40/sample/Subclass.cs0000775000175000017500000000227112767740470014115 00000000000000// Subclass.cs - Widget subclass Test // // Author: Mike Kestner // // (c) 2001-2003 Mike Kestner, Novell, Inc. [assembly:GLib.IgnoreClassInitializers] namespace GtkSamples { using Gtk; using System; public class ButtonApp { public static int Main (string[] args) { Application.Init (); Window win = new Window ("Button Tester"); win.DeleteEvent += new DeleteEventHandler (Quit); Button btn = new MyButton (); win.Add (btn); win.ShowAll (); Application.Run (); return 0; } static void Quit (object sender, DeleteEventArgs args) { Application.Quit(); } } [Binding (Gdk.Key.Escape, "HandleBinding", "Escape")] [Binding (Gdk.Key.Left, "HandleBinding", "Left")] [Binding (Gdk.Key.Right, "HandleBinding", "Right")] [Binding (Gdk.Key.Up, "HandleBinding", "Up")] [Binding (Gdk.Key.Down, "HandleBinding", "Down")] public class MyButton : Gtk.Button { public MyButton () : base ("I'm a subclassed button") {} protected override void OnClicked () { Console.WriteLine ("Button::Clicked default handler fired."); } private void HandleBinding (string text) { Console.WriteLine ("Got a bound keypress: " + text); } } } gtk-sharp-2.12.40/sample/test.glade0000664000175000017500000000625312767740470013765 00000000000000 True Glade# test GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False True False True False 0 True True _File True True gtk-quit True 0 False False True True Click here True GTK_RELIEF_NORMAL 0 False False True True Don't click here True GTK_RELIEF_NORMAL 0 False False gtk-sharp-2.12.40/sample/Scribble.cs0000664000175000017500000000643712767740470014070 00000000000000// Scribble.cs - port of Gtk+ scribble demo // // Author: Rachel Hestilow // // (c) 2002 Rachel Hestilow namespace GtkSamples { using Gtk; using Gdk; using System; public class Scribble { private static Gtk.DrawingArea darea; private static Gdk.Pixmap pixmap = null; public static int Main (string[] args) { Application.Init (); Gtk.Window win = new Gtk.Window ("Scribble demo"); win.DeleteEvent += new DeleteEventHandler (Window_Delete); darea = new Gtk.DrawingArea (); darea.SetSizeRequest (200, 200); win.Add (darea); darea.ExposeEvent += new ExposeEventHandler (ExposeEvent); darea.ConfigureEvent += new ConfigureEventHandler (ConfigureEvent); darea.MotionNotifyEvent += new MotionNotifyEventHandler (MotionNotifyEvent); darea.ButtonPressEvent += new ButtonPressEventHandler (ButtonPressEvent); darea.Events = EventMask.ExposureMask | EventMask.LeaveNotifyMask | EventMask.ButtonPressMask | EventMask.PointerMotionMask | EventMask.PointerMotionHintMask; win.ShowAll (); Application.Run (); return 0; } static void Window_Delete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } static void ExposeEvent (object obj, ExposeEventArgs args) { Gdk.Rectangle area = args.Event.Area; args.Event.Window.DrawDrawable (darea.Style.BlackGC, pixmap, area.X, area.Y, area.X, area.Y, area.Width, area.Height); args.RetVal = false; } static void ConfigureEvent (object obj, ConfigureEventArgs args) { Gdk.EventConfigure ev = args.Event; Gdk.Window window = ev.Window; Gdk.Rectangle allocation = darea.Allocation; pixmap = new Gdk.Pixmap (window, allocation.Width, allocation.Height, -1); pixmap.DrawRectangle (darea.Style.WhiteGC, true, 0, 0, allocation.Width, allocation.Height); args.RetVal = true; } static void DrawBrush (double x, double y, bool black) { Gdk.Rectangle update_rect = new Gdk.Rectangle (); update_rect.X = (int) x - 5; update_rect.Y = (int) y - 5; update_rect.Width = 10; update_rect.Height = 10; pixmap.DrawRectangle (black ? darea.Style.BlackGC : darea.Style.WhiteGC, true, update_rect.X, update_rect.Y, update_rect.Width, update_rect.Height); darea.QueueDrawArea (update_rect.X, update_rect.Y, update_rect.Width, update_rect.Height); } static void ButtonPressEvent (object obj, ButtonPressEventArgs args) { Gdk.EventButton ev = args.Event; if (ev.Button == 1 && pixmap != null) DrawBrush (ev.X, ev.Y, true); else if (ev.Button == 3 && pixmap != null) DrawBrush (ev.X, ev.Y, false); args.RetVal = true; } static void MotionNotifyEvent (object obj, MotionNotifyEventArgs args) { int x, y; Gdk.ModifierType state; Gdk.EventMotion ev = args.Event; Gdk.Window window = ev.Window; if (ev.IsHint) { Gdk.ModifierType s; window.GetPointer (out x, out y, out s); state = s; } else { x = (int) ev.X; y = (int) ev.Y; state = ev.State; } if ((state & Gdk.ModifierType.Button1Mask) != 0 && pixmap != null) DrawBrush (x, y, true); else if ((state & Gdk.ModifierType.Button3Mask) != 0 && pixmap != null) DrawBrush (x, y, false); args.RetVal = true; } } } gtk-sharp-2.12.40/sample/ScribbleXInput.cs0000664000175000017500000001147312654353766015237 00000000000000// ScribbleXInput.cs - port of Gtk+ scribble demo // // Author: Manuel V. Santos // // (c) 2002 Rachel Hestilow // (c) 2004 Manuel V. Santos namespace GtkSamples { using Gtk; using Gdk; using System; public class ScribbleXInput { private static Gtk.Window win; private static Gtk.VBox vBox; private static Gtk.Button inputButton; private static Gtk.Button quitButton; private static Gtk.DrawingArea darea; private static Gdk.Pixmap pixmap = null; private static Gtk.InputDialog inputDialog = null; public static int Main (string[] args) { Application.Init (); win = new Gtk.Window ("Scribble XInput Demo"); win.DeleteEvent += new DeleteEventHandler (WindowDelete); vBox = new VBox (false, 0); win.Add (vBox); darea = new Gtk.DrawingArea (); darea.SetSizeRequest (200, 200); darea.ExtensionEvents=ExtensionMode.Cursor; vBox.PackStart (darea, true, true, 0); darea.ExposeEvent += new ExposeEventHandler (ExposeEvent); darea.ConfigureEvent += new ConfigureEventHandler (ConfigureEvent); darea.MotionNotifyEvent += new MotionNotifyEventHandler (MotionNotifyEvent); darea.ButtonPressEvent += new ButtonPressEventHandler (ButtonPressEvent); darea.Events = EventMask.ExposureMask | EventMask.LeaveNotifyMask | EventMask.ButtonPressMask | EventMask.PointerMotionMask; inputButton = new Button("Input Dialog"); vBox.PackStart (inputButton, false, false, 0); inputButton.Clicked += new EventHandler (InputButtonClicked); quitButton = new Button("Quit"); vBox.PackStart (quitButton, false, false, 0); quitButton.Clicked += new EventHandler (QuitButtonClicked); win.ShowAll (); Application.Run (); return 0; } static void InputButtonClicked (object obj, EventArgs args) { if (inputDialog == null) { inputDialog = new InputDialog (); inputDialog.SaveButton.Hide (); inputDialog.CloseButton.Clicked += new EventHandler(InputDialogClose); inputDialog.DeleteEvent += new DeleteEventHandler(InputDialogDelete); } inputDialog.Present (); } static void QuitButtonClicked (object obj, EventArgs args) { Application.Quit (); } static void WindowDelete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } static void InputDialogClose (object obj, EventArgs args) { inputDialog.Hide (); } static void InputDialogDelete (object obj, DeleteEventArgs args) { inputDialog.Hide (); args.RetVal = true; } static void ExposeEvent (object obj, ExposeEventArgs args) { Gdk.Rectangle area = args.Event.Area; args.Event.Window.DrawDrawable (darea.Style.ForegroundGC(darea.State), pixmap, area.X, area.Y, area.X, area.Y, area.Width, area.Height); args.RetVal = false; } static void ConfigureEvent (object obj, ConfigureEventArgs args) { Gdk.EventConfigure ev = args.Event; Gdk.Window window = ev.Window; Gdk.Rectangle allocation = darea.Allocation; pixmap = new Gdk.Pixmap (window, allocation.Width, allocation.Height, -1); pixmap.DrawRectangle (darea.Style.WhiteGC, true, 0, 0, allocation.Width, allocation.Height); args.RetVal = true; } static void DrawBrush (Widget widget, InputSource source, double x, double y, double pressure) { Gdk.GC gc; switch (source) { case InputSource.Mouse: gc = widget.Style.BlackGC; break; case InputSource.Pen: gc = widget.Style.BlackGC; break; case InputSource.Eraser: gc = widget.Style.WhiteGC; break; default: gc = widget.Style.BlackGC; break; } Gdk.Rectangle update_rect = new Gdk.Rectangle (); update_rect.X = (int) (x - 10.0d * pressure); update_rect.Y = (int) (y - 10.0d * pressure); update_rect.Width = (int) (20.0d * pressure); update_rect.Height = (int) (20.0d * pressure); pixmap.DrawRectangle (gc, true, update_rect.X, update_rect.Y, update_rect.Width, update_rect.Height); darea.QueueDrawArea (update_rect.X, update_rect.Y, update_rect.Width, update_rect.Height); } static void ButtonPressEvent (object obj, ButtonPressEventArgs args) { Gdk.EventButton ev = args.Event; if (ev.Button == 1 && pixmap != null) { double pressure; ev.Device.GetAxis (ev.Axes, AxisUse.Pressure, out pressure); DrawBrush ((Widget) obj, ev.Device.Source, ev.X, ev.Y, pressure); } args.RetVal = true; } static void MotionNotifyEvent (object obj, MotionNotifyEventArgs args) { Gdk.EventMotion ev = args.Event; Widget widget = (Widget) obj; if ((ev.State & Gdk.ModifierType.Button1Mask) != 0 && pixmap != null) { double pressure; if (!ev.Device.GetAxis (ev.Axes, AxisUse.Pressure, out pressure)) { pressure = 0.5; } DrawBrush (widget, ev.Device.Source, ev.X, ev.Y, pressure); } args.RetVal = true; } } } gtk-sharp-2.12.40/sample/Menu.cs0000775000175000017500000000222412654353766013243 00000000000000// Menus.cs : Menu testing sample app // // Author: Mike Kestner // // 2002 Mike Kestner namespace GtkSharp.Samples { using System; using Gtk; public class MenuApp { public static void Main (string[] args) { Application.Init(); Window win = new Window ("Menu Sample App"); win.DeleteEvent += new DeleteEventHandler (delete_cb); win.DefaultWidth = 200; win.DefaultHeight = 150; VBox box = new VBox (false, 2); MenuBar mb = new MenuBar (); Menu file_menu = new Menu (); MenuItem exit_item = new MenuItem("Exit"); exit_item.Activated += new EventHandler (exit_cb); file_menu.Append (exit_item); MenuItem file_item = new MenuItem("File"); file_item.Submenu = file_menu; mb.Append (file_item); box.PackStart(mb, false, false, 0); Button btn = new Button ("Yep, that's a menu"); box.PackStart(btn, true, true, 0); win.Add (box); win.ShowAll (); Application.Run (); } static void delete_cb (object o, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } static void exit_cb (object o, EventArgs args) { Application.Quit (); } } } gtk-sharp-2.12.40/sample/valtest/0000775000175000017500000000000012767740535013546 500000000000000gtk-sharp-2.12.40/sample/valtest/valtest.exe.config.in0000664000175000017500000000016212654353766017524 00000000000000 gtk-sharp-2.12.40/sample/valtest/valobj-sources.xml0000664000175000017500000000030612654353766017146 00000000000000 . gtk-sharp-2.12.40/sample/valtest/Makefile.in0000664000175000017500000005413112767740507015536 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = sample/valtest ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = valtest.exe.config CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(libdir)" LTLIBRARIES = $(lib_LTLIBRARIES) am__DEPENDENCIES_1 = libvalobj_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am_libvalobj_la_OBJECTS = valobj.lo libvalobj_la_OBJECTS = $(am_libvalobj_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = libvalobj_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(libvalobj_la_LDFLAGS) $(LDFLAGS) -o $@ SCRIPTS = $(noinst_SCRIPTS) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(libvalobj_la_SOURCES) DIST_SOURCES = $(libvalobj_la_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in \ $(srcdir)/valtest.exe.config.in $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ noinst_SCRIPTS = valtest.exe lib_LTLIBRARIES = libvalobj.la assemblies = $(top_builddir)/glib/glib-sharp.dll $(top_builddir)/pango/pango-sharp.dll $(top_builddir)/atk/atk-sharp.dll $(top_builddir)/gdk/gdk-sharp.dll $(top_builddir)/gtk/gtk-sharp.dll references = $(addprefix -r:, $(assemblies)) libvalobj_la_SOURCES = \ valobj.c \ valobj.h libvalobj_la_LDFLAGS = -module -avoid-version -no-undefined libvalobj_la_LIBADD = $(GTK_LIBS) INCLUDES = $(GTK_CFLAGS) CLEANFILES = \ valtest.exe \ valtest.exe.mdb \ Valobj.cs EXTRA_DIST = \ Valtest.cs \ valobj-api.xml \ valobj-sources.xml all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign sample/valtest/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign sample/valtest/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): valtest.exe.config: $(top_builddir)/config.status $(srcdir)/valtest.exe.config.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ list2=; for p in $$list; do \ if test -f $$p; then \ list2="$$list2 $$p"; \ else :; fi; \ done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ } uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ done clean-libLTLIBRARIES: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) @list='$(lib_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libvalobj.la: $(libvalobj_la_OBJECTS) $(libvalobj_la_DEPENDENCIES) $(EXTRA_libvalobj_la_DEPENDENCIES) $(AM_V_CCLD)$(libvalobj_la_LINK) -rpath $(libdir) $(libvalobj_la_OBJECTS) $(libvalobj_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/valobj.Plo@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) $(SCRIPTS) installdirs: for dir in "$(DESTDIR)$(libdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-libLTLIBRARIES install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-libLTLIBRARIES .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ clean-libLTLIBRARIES clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-compile distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-libLTLIBRARIES install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-am uninstall uninstall-am uninstall-libLTLIBRARIES .PRECIOUS: Makefile valtest.exe: Valtest.cs Valobj.cs $(assemblies) $(CSC) -out:valtest.exe $(references) $(srcdir)/Valtest.cs Valobj.cs Valobj.cs: valobj-api.xml $(RUNTIME) $(top_builddir)/generator/gapi_codegen.exe --generate $(srcdir)/valobj-api.xml --include $(top_builddir)/gtk/gtk-api.xml $(top_builddir)/gdk/gdk-api.xml --outdir=. --assembly-name=valobj-sharp api: PATH=$(top_builddir)/parser:$PATH $(RUNTIME) $(top_builddir)/parser/gapi-parser.exe valobj-sources.xml install: # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/sample/valtest/valobj-api.xml0000664000175000017500000001712412767740470016237 00000000000000 gtk-sharp-2.12.40/sample/valtest/valobj.c0000664000175000017500000002401012654353766015105 00000000000000/* valobj.c: An object with properties of each possible type * * Copyright (c) 2005 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include "valobj.h" G_DEFINE_TYPE (GtksharpValobj, gtksharp_valobj, G_TYPE_OBJECT) /* We actually don't do properties of type PARAM, VALUE_ARRAY, or OVERRIDE */ enum { PROP_0, PROP_BOOLEAN, PROP_INT, PROP_UINT, PROP_INT64, PROP_UINT64, PROP_UNICHAR, PROP_ENUM, PROP_FLAGS, PROP_FLOAT, PROP_DOUBLE, PROP_STRING, PROP_BOXED, PROP_POINTER, PROP_OBJECT, LAST_PROP }; static void set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void gtksharp_valobj_init (GtksharpValobj *sock) { } static void gtksharp_valobj_class_init (GtksharpValobjClass *valobj_class) { GObjectClass *object_class = G_OBJECT_CLASS (valobj_class); /* virtual method override */ object_class->set_property = set_property; object_class->get_property = get_property; /* properties */ g_object_class_install_property ( object_class, PROP_BOOLEAN, g_param_spec_boolean ("boolean_prop", "Boolean", "boolean property", FALSE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_object_class_install_property ( object_class, PROP_INT, g_param_spec_int ("int_prop", "Int", "int property", G_MININT, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_object_class_install_property ( object_class, PROP_UINT, g_param_spec_uint ("uint_prop", "Unsigned Int", "uint property", 0, G_MAXUINT, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_object_class_install_property ( object_class, PROP_INT64, g_param_spec_int64 ("int64_prop", "Int64", "int64 property", G_MININT64, G_MAXINT64, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_object_class_install_property ( object_class, PROP_UINT64, g_param_spec_uint64 ("uint64_prop", "Unsigned Int64", "uint64 property", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_object_class_install_property ( object_class, PROP_UNICHAR, g_param_spec_unichar ("unichar_prop", "Unichar", "unichar property", (gunichar)' ', G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_object_class_install_property ( object_class, PROP_ENUM, g_param_spec_enum ("enum_prop", "Enum", "enum property", GTK_TYPE_ARROW_TYPE, GTK_ARROW_UP, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_object_class_install_property ( object_class, PROP_FLAGS, g_param_spec_flags ("flags_prop", "Flags", "flags property", GTK_TYPE_ATTACH_OPTIONS, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_object_class_install_property ( object_class, PROP_FLOAT, g_param_spec_float ("float_prop", "Float", "float property", -G_MAXFLOAT, G_MAXFLOAT, 0.0f, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_object_class_install_property ( object_class, PROP_DOUBLE, g_param_spec_double ("double_prop", "Double", "double property", -G_MAXDOUBLE, G_MAXDOUBLE, 0.0f, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_object_class_install_property ( object_class, PROP_STRING, g_param_spec_string ("string_prop", "String", "string property", "foo", G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); g_object_class_install_property ( object_class, PROP_BOXED, g_param_spec_boxed ("boxed_prop", "Boxed", "boxed property", GDK_TYPE_RECTANGLE, G_PARAM_READWRITE)); g_object_class_install_property ( object_class, PROP_POINTER, g_param_spec_pointer ("pointer_prop", "Pointer", "pointer property", G_PARAM_READWRITE)); g_object_class_install_property ( object_class, PROP_OBJECT, g_param_spec_object ("object_prop", "Object", "object property", GTK_TYPE_WIDGET, G_PARAM_READWRITE)); } static void set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { GtksharpValobj *valobj = GTKSHARP_VALOBJ (object); switch (prop_id) { case PROP_BOOLEAN: valobj->the_boolean = g_value_get_boolean (value); break; case PROP_INT: valobj->the_int = g_value_get_int (value); break; case PROP_UINT: valobj->the_uint = g_value_get_uint (value); break; case PROP_INT64: valobj->the_int64 = g_value_get_int64 (value); break; case PROP_UINT64: valobj->the_uint64 = g_value_get_uint64 (value); break; case PROP_UNICHAR: valobj->the_unichar = (gunichar)g_value_get_uint (value); break; case PROP_ENUM: valobj->the_enum = g_value_get_enum (value); break; case PROP_FLAGS: valobj->the_flags = g_value_get_flags (value); break; case PROP_FLOAT: valobj->the_float = g_value_get_float (value); break; case PROP_DOUBLE: valobj->the_double = g_value_get_double (value); break; case PROP_STRING: if (valobj->the_string) g_free (valobj->the_string); valobj->the_string = g_value_dup_string (value); break; case PROP_BOXED: valobj->the_rect = *(GdkRectangle *)g_value_get_boxed (value); break; case PROP_POINTER: valobj->the_pointer = g_value_get_pointer (value); break; case PROP_OBJECT: if (valobj->the_object) g_object_unref (valobj->the_object); valobj->the_object = (GtkWidget *)g_value_dup_object (value); break; default: break; } } static void get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { GtksharpValobj *valobj = GTKSHARP_VALOBJ (object); switch (prop_id) { case PROP_BOOLEAN: g_value_set_boolean (value, valobj->the_boolean); break; case PROP_INT: g_value_set_int (value, valobj->the_int); break; case PROP_UINT: g_value_set_uint (value, valobj->the_uint); break; case PROP_INT64: g_value_set_int64 (value, valobj->the_int64); break; case PROP_UINT64: g_value_set_uint64 (value, valobj->the_uint64); break; case PROP_UNICHAR: g_value_set_uint (value, (guint)valobj->the_unichar); break; case PROP_ENUM: g_value_set_enum (value, valobj->the_enum); break; case PROP_FLAGS: g_value_set_flags (value, valobj->the_flags); break; case PROP_FLOAT: g_value_set_float (value, valobj->the_float); break; case PROP_DOUBLE: g_value_set_double (value, valobj->the_double); break; case PROP_STRING: g_value_set_string (value, valobj->the_string); break; case PROP_BOXED: g_value_set_boxed (value, &valobj->the_rect); break; case PROP_POINTER: g_value_set_pointer (value, valobj->the_pointer); break; case PROP_OBJECT: g_value_set_object (value, valobj->the_object); break; default: break; } } GtksharpValobj * gtksharp_valobj_new (void) { return g_object_new (GTKSHARP_TYPE_VALOBJ, NULL); } gboolean gtksharp_valobj_get_boolean (GtksharpValobj *valobj) { return valobj->the_boolean; } void gtksharp_valobj_set_boolean (GtksharpValobj *valobj, gboolean val) { valobj->the_boolean = val; } int gtksharp_valobj_get_int (GtksharpValobj *valobj) { return valobj->the_int; } void gtksharp_valobj_set_int (GtksharpValobj *valobj, int val) { valobj->the_int = val; } guint gtksharp_valobj_get_uint (GtksharpValobj *valobj) { return valobj->the_uint; } void gtksharp_valobj_set_uint (GtksharpValobj *valobj, guint val) { valobj->the_uint = val; } gint64 gtksharp_valobj_get_int64 (GtksharpValobj *valobj) { return valobj->the_int64; } void gtksharp_valobj_set_int64 (GtksharpValobj *valobj, gint64 val) { valobj->the_int64 = val; } guint64 gtksharp_valobj_get_uint64 (GtksharpValobj *valobj) { return valobj->the_uint64; } void gtksharp_valobj_set_uint64 (GtksharpValobj *valobj, guint64 val) { valobj->the_uint64 = val; } gunichar gtksharp_valobj_get_unichar (GtksharpValobj *valobj) { return valobj->the_unichar; } void gtksharp_valobj_set_unichar (GtksharpValobj *valobj, gunichar val) { valobj->the_unichar = val; } GtkArrowType gtksharp_valobj_get_enum (GtksharpValobj *valobj) { return valobj->the_enum; } void gtksharp_valobj_set_enum (GtksharpValobj *valobj, GtkArrowType val) { valobj->the_enum = val; } GtkAttachOptions gtksharp_valobj_get_flags (GtksharpValobj *valobj) { return valobj->the_flags; } void gtksharp_valobj_set_flags (GtksharpValobj *valobj, GtkAttachOptions val) { valobj->the_flags = val; } float gtksharp_valobj_get_float (GtksharpValobj *valobj) { return valobj->the_float; } void gtksharp_valobj_set_float (GtksharpValobj *valobj, float val) { valobj->the_float = val; } double gtksharp_valobj_get_double (GtksharpValobj *valobj) { return valobj->the_double; } void gtksharp_valobj_set_double (GtksharpValobj *valobj, double val) { valobj->the_double = val; } char * gtksharp_valobj_get_string (GtksharpValobj *valobj) { return valobj->the_string; } void gtksharp_valobj_set_string (GtksharpValobj *valobj, const char *val) { if (valobj->the_string) g_free (valobj->the_string); valobj->the_string = g_strdup (val); } GdkRectangle * gtksharp_valobj_get_boxed (GtksharpValobj *valobj) { return &valobj->the_rect; } void gtksharp_valobj_set_boxed (GtksharpValobj *valobj, GdkRectangle *val) { valobj->the_rect = *val; } gpointer gtksharp_valobj_get_pointer (GtksharpValobj *valobj) { return valobj->the_pointer; } void gtksharp_valobj_set_pointer (GtksharpValobj *valobj, gpointer val) { valobj->the_pointer = val; } GtkWidget * gtksharp_valobj_get_object (GtksharpValobj *valobj) { return valobj->the_object; } void gtksharp_valobj_set_object (GtksharpValobj *valobj, GtkWidget *val) { if (valobj->the_object) g_object_unref (valobj->the_object); valobj->the_object = g_object_ref (val); } gtk-sharp-2.12.40/sample/valtest/Valtest.cs0000664000175000017500000002472512654353766015452 00000000000000// Valtest.cs: GLib.Value regression test // // Copyright (c) 2005 Novell, Inc. using Gtksharp; using System; public class Valtest { static int errors = 0; const bool BOOL_VAL = true; const int INT_VAL = -73523; const uint UINT_VAL = 99999U; const long INT64_VAL = -5000000000; const ulong UINT64_VAL = 5000000000U; const char UNICHAR_VAL = '\x20AC'; // euro const Gtk.ArrowType ENUM_VAL = Gtk.ArrowType.Left; const Gtk.AttachOptions FLAGS_VAL = Gtk.AttachOptions.Expand | Gtk.AttachOptions.Fill; const float FLOAT_VAL = 1.5f; const double DOUBLE_VAL = Math.PI; const string STRING_VAL = "This is a test"; static Gdk.Rectangle BOXED_VAL; static IntPtr POINTER_VAL; static Gtk.Widget OBJECT_VAL; public static int Main () { Gtk.Application.Init (); BOXED_VAL = new Gdk.Rectangle (1, 2, 3, 4); POINTER_VAL = (IntPtr) System.Runtime.InteropServices.GCHandle.Alloc ("foo"); OBJECT_VAL = new Gtk.DrawingArea (); // Part 1: Make sure values of all types round-trip correctly within Gtk# GLib.Value val; try { val = new GLib.Value (BOOL_VAL); if ((bool)val != BOOL_VAL) CVError ("boolean cast", BOOL_VAL, (bool)val, val.Val); if ((bool)val.Val != BOOL_VAL) CVError ("boolean Val", BOOL_VAL, (bool)val, val.Val); } catch (Exception e) { ExceptionError ("boolean", e); } try { val = new GLib.Value (INT_VAL); if ((int)val != INT_VAL) CVError ("int cast", INT_VAL, (int)val, val.Val); if ((int)val.Val != INT_VAL) CVError ("int Val", INT_VAL, (int)val, val.Val); } catch (Exception e) { ExceptionError ("int", e); } try { val = new GLib.Value (UINT_VAL); if ((uint)val != UINT_VAL) CVError ("uint cast", UINT_VAL, (uint)val, val.Val); if ((uint)val.Val != UINT_VAL) CVError ("uint Val", UINT_VAL, (uint)val, val.Val); } catch (Exception e) { ExceptionError ("uint", e); } try { val = new GLib.Value (INT64_VAL); if ((long)val != INT64_VAL) CVError ("int64 cast", INT64_VAL, (long)val, val.Val); if ((long)val.Val != INT64_VAL) CVError ("int64 Val", INT64_VAL, (long)val, val.Val); } catch (Exception e) { ExceptionError ("int64", e); } try { val = new GLib.Value (UINT64_VAL); if ((ulong)val != UINT64_VAL) CVError ("uint64 cast", UINT64_VAL, (ulong)val, val.Val); if ((ulong)val.Val != UINT64_VAL) CVError ("uint64 Val", UINT64_VAL, (ulong)val, val.Val); } catch (Exception e) { ExceptionError ("uint64", e); } // gunichar doesn't have its own GValue type, it shares with guint try { val = new GLib.Value (ENUM_VAL); if ((Gtk.ArrowType)(Enum)val != ENUM_VAL) CVError ("enum cast", ENUM_VAL, (Gtk.ArrowType)(Enum)val, val.Val); if ((Gtk.ArrowType)(Enum)val.Val != ENUM_VAL) CVError ("enum Val", ENUM_VAL, (Gtk.ArrowType)(Enum)val, val.Val); } catch (Exception e) { ExceptionError ("enum", e); } try { val = new GLib.Value (FLAGS_VAL); if ((Gtk.AttachOptions)(Enum)val != FLAGS_VAL) CVError ("flags cast", FLAGS_VAL, (Gtk.AttachOptions)(Enum)val, val.Val); if ((Gtk.AttachOptions)(Enum)val.Val != FLAGS_VAL) CVError ("flags Val", FLAGS_VAL, (Gtk.AttachOptions)(Enum)val, val.Val); } catch (Exception e) { ExceptionError ("flags", e); } try { val = new GLib.Value (FLOAT_VAL); if ((float)val != FLOAT_VAL) CVError ("float cast", FLOAT_VAL, (float)val, val.Val); if ((float)val.Val != FLOAT_VAL) CVError ("float Val", FLOAT_VAL, (float)val, val.Val); } catch (Exception e) { ExceptionError ("float", e); } try { val = new GLib.Value (DOUBLE_VAL); if ((double)val != DOUBLE_VAL) CVError ("double cast", DOUBLE_VAL, (double)val, val.Val); if ((double)val.Val != DOUBLE_VAL) CVError ("double Val", DOUBLE_VAL, (double)val, val.Val); } catch (Exception e) { ExceptionError ("double", e); } try { val = new GLib.Value (STRING_VAL); if ((string)val != STRING_VAL) CVError ("string cast", STRING_VAL, (string)val, val.Val); if ((string)val.Val != STRING_VAL) CVError ("string Val", STRING_VAL, (string)val, val.Val); } catch (Exception e) { ExceptionError ("string", e); } try { val = new GLib.Value (BOXED_VAL); if ((Gdk.Rectangle)val != BOXED_VAL) CVError ("boxed cast", BOXED_VAL, (Gdk.Rectangle)val, val.Val); // Can't currently use .Val on boxed types } catch (Exception e) { ExceptionError ("boxed", e); } try { val = new GLib.Value (POINTER_VAL); if ((IntPtr)val != POINTER_VAL) CVError ("pointer cast", POINTER_VAL, (IntPtr)val, val.Val); if ((IntPtr)val.Val != POINTER_VAL) CVError ("pointer Val", POINTER_VAL, (IntPtr)val, val.Val); } catch (Exception e) { ExceptionError ("pointer", e); } try { val = new GLib.Value (OBJECT_VAL); if ((Gtk.DrawingArea)val != OBJECT_VAL) CVError ("object cast", OBJECT_VAL, (Gtk.DrawingArea)val, val.Val); if ((Gtk.DrawingArea)val.Val != OBJECT_VAL) CVError ("object Val", OBJECT_VAL, (Gtk.DrawingArea)val, val.Val); } catch (Exception e) { ExceptionError ("object", e); } // Test ManagedValue Structtest st = new Structtest (5, "foo"); try { val = new GLib.Value (st); // No direct GLib.Value -> ManagedValue cast Structtest st2 = (Structtest)val.Val; if (st.Int != st2.Int || st.String != st2.String) CVError ("ManagedValue Val", st, (Gtk.DrawingArea)val, val.Val); } catch (Exception e) { ExceptionError ("ManagedValue", e); } // Part 2: method->unmanaged->property round trip Valobj vo; vo = new Valobj (); vo.Boolean = BOOL_VAL; if (vo.BooleanProp != BOOL_VAL) MPError ("boolean method->prop", BOOL_VAL, vo.Boolean, vo.BooleanProp); vo.Int = INT_VAL; if (vo.IntProp != INT_VAL) MPError ("int method->prop", INT_VAL, vo.Int, vo.IntProp); vo.Uint = UINT_VAL; if (vo.UintProp != UINT_VAL) MPError ("uint method->prop", UINT_VAL, vo.Uint, vo.UintProp); vo.Int64 = INT64_VAL; if (vo.Int64Prop != INT64_VAL) MPError ("int64 method->prop", INT64_VAL, vo.Int64, vo.Int64Prop); vo.Uint64 = UINT64_VAL; if (vo.Uint64Prop != UINT64_VAL) MPError ("uint64 method->prop", UINT64_VAL, vo.Uint64, vo.Uint64Prop); vo.Unichar = UNICHAR_VAL; if (vo.UnicharProp != UNICHAR_VAL) MPError ("unichar method->prop", UNICHAR_VAL, vo.Unichar, vo.UnicharProp); vo.Enum = ENUM_VAL; if (vo.EnumProp != ENUM_VAL) MPError ("enum method->prop", ENUM_VAL, vo.Enum, vo.EnumProp); vo.Flags = FLAGS_VAL; if (vo.FlagsProp != (FLAGS_VAL)) MPError ("flags method->prop", FLAGS_VAL, vo.Flags, vo.FlagsProp); vo.Float = FLOAT_VAL; if (vo.FloatProp != FLOAT_VAL) MPError ("float method->prop", FLOAT_VAL, vo.Float, vo.FloatProp); vo.Double = DOUBLE_VAL; if (vo.DoubleProp != DOUBLE_VAL) MPError ("double method->prop", DOUBLE_VAL, vo.Double, vo.DoubleProp); vo.String = STRING_VAL; if (vo.StringProp != STRING_VAL) MPError ("string method->prop", STRING_VAL, vo.String, vo.StringProp); vo.Boxed = BOXED_VAL; if (vo.BoxedProp != BOXED_VAL) MPError ("boxed method->prop", BOXED_VAL, vo.Boxed, vo.BoxedProp); vo.Pointer = POINTER_VAL; if (vo.PointerProp != POINTER_VAL) MPError ("pointer method->prop", POINTER_VAL, vo.Pointer, vo.PointerProp); vo.Object = OBJECT_VAL; if (vo.ObjectProp != OBJECT_VAL) { MPError ("object method->prop", OBJECT_VAL.GetType().Name + " " + OBJECT_VAL.GetHashCode (), vo.Object == null ? "null" : vo.Object.GetType().Name + " " + vo.Object.GetHashCode (), vo.ObjectProp == null ? "null" : vo.ObjectProp.GetType().Name + " " + vo.ObjectProp.GetHashCode ()); } // Part 3: property->unmanaged->method round trip vo = new Valobj (); vo.BooleanProp = BOOL_VAL; if (vo.Boolean != BOOL_VAL) MPError ("boolean prop->method", BOOL_VAL, vo.Boolean, vo.BooleanProp); vo.IntProp = INT_VAL; if (vo.Int != INT_VAL) MPError ("int prop->method", INT_VAL, vo.Int, vo.IntProp); vo.UintProp = UINT_VAL; if (vo.Uint != UINT_VAL) MPError ("uint prop->method", UINT_VAL, vo.Uint, vo.UintProp); vo.Int64Prop = INT64_VAL; if (vo.Int64 != INT64_VAL) MPError ("int64 prop->method", INT64_VAL, vo.Int64, vo.Int64Prop); vo.Uint64Prop = UINT64_VAL; if (vo.Uint64 != UINT64_VAL) MPError ("uint64 prop->method", UINT64_VAL, vo.Uint64, vo.Uint64Prop); vo.UnicharProp = UNICHAR_VAL; if (vo.Unichar != UNICHAR_VAL) MPError ("unichar prop->method", UNICHAR_VAL, vo.Unichar, vo.UnicharProp); vo.EnumProp = ENUM_VAL; if (vo.Enum != ENUM_VAL) MPError ("enum prop->method", ENUM_VAL, vo.Enum, vo.EnumProp); vo.FlagsProp = FLAGS_VAL; if (vo.Flags != (FLAGS_VAL)) MPError ("flags prop->method", FLAGS_VAL, vo.Flags, vo.FlagsProp); vo.FloatProp = FLOAT_VAL; if (vo.Float != FLOAT_VAL) MPError ("float prop->method", FLOAT_VAL, vo.Float, vo.FloatProp); vo.DoubleProp = DOUBLE_VAL; if (vo.Double != DOUBLE_VAL) MPError ("double prop->method", DOUBLE_VAL, vo.Double, vo.DoubleProp); vo.StringProp = STRING_VAL; if (vo.String != STRING_VAL) MPError ("string prop->method", STRING_VAL, vo.String, vo.StringProp); vo.BoxedProp = BOXED_VAL; if (vo.Boxed != BOXED_VAL) MPError ("boxed prop->method", BOXED_VAL, vo.Boxed, vo.BoxedProp); vo.PointerProp = POINTER_VAL; if (vo.Pointer != POINTER_VAL) MPError ("pointer prop->method", POINTER_VAL, vo.Pointer, vo.PointerProp); vo.ObjectProp = OBJECT_VAL; if (vo.Object != OBJECT_VAL) { MPError ("object prop->method", OBJECT_VAL.GetType().Name + " " + OBJECT_VAL.GetHashCode (), vo.Object == null ? "null" : vo.Object.GetType().Name + " " + vo.Object.GetHashCode (), vo.ObjectProp == null ? "null" : vo.ObjectProp.GetType().Name + " " + vo.ObjectProp.GetHashCode ()); } Console.WriteLine ("{0} errors", errors); return errors; } static void CVError (string test, object expected, object cast, object value) { Console.Error.WriteLine ("Failed test {0}. Expected '{1}', got '{2}' from cast, '{3}' from Value", test, expected, cast, value); errors++; } static void ExceptionError (string test, Exception e) { Console.Error.WriteLine ("Exception in test {0}: {1}", test, e.Message); errors++; } static void MPError (string test, object expected, object method, object prop) { Console.Error.WriteLine ("Failed test {0}. Expected '{1}', got '{2}' from method, '{3}' from prop", test, expected, method, prop); errors++; } } public struct Structtest { public int Int; public string String; public Structtest (int Int, string String) { this.Int = Int; this.String = String; } public override string ToString () { return Int.ToString () + "/" + String.ToString (); } } gtk-sharp-2.12.40/sample/valtest/Makefile.am0000664000175000017500000000204712767740470015523 00000000000000noinst_SCRIPTS = valtest.exe lib_LTLIBRARIES = libvalobj.la assemblies=$(top_builddir)/glib/glib-sharp.dll $(top_builddir)/pango/pango-sharp.dll $(top_builddir)/atk/atk-sharp.dll $(top_builddir)/gdk/gdk-sharp.dll $(top_builddir)/gtk/gtk-sharp.dll references=$(addprefix -r:, $(assemblies)) valtest.exe: Valtest.cs Valobj.cs $(assemblies) $(CSC) -out:valtest.exe $(references) $(srcdir)/Valtest.cs Valobj.cs libvalobj_la_SOURCES = \ valobj.c \ valobj.h libvalobj_la_LDFLAGS = -module -avoid-version -no-undefined libvalobj_la_LIBADD = $(GTK_LIBS) INCLUDES = $(GTK_CFLAGS) Valobj.cs: valobj-api.xml $(RUNTIME) $(top_builddir)/generator/gapi_codegen.exe --generate $(srcdir)/valobj-api.xml --include $(top_builddir)/gtk/gtk-api.xml $(top_builddir)/gdk/gdk-api.xml --outdir=. --assembly-name=valobj-sharp api: PATH=$(top_builddir)/parser:$PATH $(RUNTIME) $(top_builddir)/parser/gapi-parser.exe valobj-sources.xml install: CLEANFILES = \ valtest.exe \ valtest.exe.mdb \ Valobj.cs EXTRA_DIST = \ Valtest.cs \ valobj-api.xml \ valobj-sources.xml gtk-sharp-2.12.40/sample/valtest/valobj.h0000664000175000017500000000761512767740470015123 00000000000000/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Copyright (C) 2000-2003, Ximian, Inc. */ #ifndef GTKSHARP_VALOBJ_H #define GTKSHARP_VALOBJ_H 1 #include #include #define GTKSHARP_TYPE_VALOBJ (gtksharp_valobj_get_type ()) #define GTKSHARP_VALOBJ(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTKSHARP_TYPE_VALOBJ, GtksharpValobj)) #define GTKSHARP_VALOBJ_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTKSHARP_TYPE_VALOBJ, GtksharpValobjClass)) #define GTKSHARP_IS_VALOBJ(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTKSHARP_TYPE_VALOBJ)) #define GTKSHARP_IS_VALOBJ_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), GTKSHARP_TYPE_VALOBJ)) #define GTKSHARP_VALOBJ_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTKSHARP_TYPE_VALOBJ, GtksharpValobjClass)) typedef struct { GObject parent; /*< private >*/ gboolean the_boolean; int the_int; guint the_uint; gint64 the_int64; guint64 the_uint64; gunichar the_unichar; GtkArrowType the_enum; GtkAttachOptions the_flags; float the_float; double the_double; char *the_string; GdkRectangle the_rect; gpointer the_pointer; GtkWidget *the_object; } GtksharpValobj; typedef struct { GObjectClass parent_class; } GtksharpValobjClass; GType gtksharp_valobj_get_type (void); GtksharpValobj *gtksharp_valobj_new (void); gboolean gtksharp_valobj_get_boolean (GtksharpValobj *valobj); void gtksharp_valobj_set_boolean (GtksharpValobj *valobj, gboolean val); int gtksharp_valobj_get_int (GtksharpValobj *valobj); void gtksharp_valobj_set_int (GtksharpValobj *valobj, int val); guint gtksharp_valobj_get_uint (GtksharpValobj *valobj); void gtksharp_valobj_set_uint (GtksharpValobj *valobj, guint val); gint64 gtksharp_valobj_get_int64 (GtksharpValobj *valobj); void gtksharp_valobj_set_int64 (GtksharpValobj *valobj, gint64 val); guint64 gtksharp_valobj_get_uint64 (GtksharpValobj *valobj); void gtksharp_valobj_set_uint64 (GtksharpValobj *valobj, guint64 val); gunichar gtksharp_valobj_get_unichar (GtksharpValobj *valobj); void gtksharp_valobj_set_unichar (GtksharpValobj *valobj, gunichar val); GtkArrowType gtksharp_valobj_get_enum (GtksharpValobj *valobj); void gtksharp_valobj_set_enum (GtksharpValobj *valobj, GtkArrowType val); GtkAttachOptions gtksharp_valobj_get_flags (GtksharpValobj *valobj); void gtksharp_valobj_set_flags (GtksharpValobj *valobj, GtkAttachOptions val); float gtksharp_valobj_get_float (GtksharpValobj *valobj); void gtksharp_valobj_set_float (GtksharpValobj *valobj, float val); double gtksharp_valobj_get_double (GtksharpValobj *valobj); void gtksharp_valobj_set_double (GtksharpValobj *valobj, double val); char *gtksharp_valobj_get_string (GtksharpValobj *valobj); void gtksharp_valobj_set_string (GtksharpValobj *valobj, const char *val); GdkRectangle *gtksharp_valobj_get_boxed (GtksharpValobj *valobj); void gtksharp_valobj_set_boxed (GtksharpValobj *valobj, GdkRectangle *val); gpointer gtksharp_valobj_get_pointer (GtksharpValobj *valobj); void gtksharp_valobj_set_pointer (GtksharpValobj *valobj, gpointer val); GtkWidget *gtksharp_valobj_get_object (GtksharpValobj *valobj); void gtksharp_valobj_set_object (GtksharpValobj *valobj, GtkWidget *val); #endif /* GTKSHARP_VALOBJ_H */ gtk-sharp-2.12.40/sample/PropertyRegistration.cs0000664000175000017500000000171612767740470016555 00000000000000// PropertyRegistration.cs - GObject property registration sample // // Author: Mike Kestner // // Copyright (c) 2008 Novell, Inc. namespace GtkSamples { using System; public class TestObject : GLib.Object { public static int Main (string[] args) { GLib.GType.Init (); TestObject obj = new TestObject (); GLib.Value val = new GLib.Value (42); obj.SetProperty ("my_prop", val); val.Dispose (); if (obj.MyProp != 42) { Console.Error.WriteLine ("Property setter did not run."); return 1; } GLib.Value val2 = obj.GetProperty ("my_prop"); if ((int)val2.Val != 42) { Console.Error.WriteLine ("Property set/get roundtrip failed."); return 1; } Console.WriteLine ("Round trip succeeded."); return 0; } int my_prop; [GLib.Property ("my_prop")] public int MyProp { get { return my_prop; } set { my_prop = value; Console.WriteLine ("Property setter invoked."); } } } } gtk-sharp-2.12.40/sample/CustomCellRenderer.cs0000664000175000017500000000730012767740470016072 00000000000000// CustomCellRenderer.cs : C# implementation of an example custom cellrenderer // from http://scentric.net/tutorial/sec-custom-cell-renderers.html // // Author: Todd Berman // // (c) 2004 Todd Berman using System; using Gtk; using Gdk; using GLib; public class CustomCellRenderer : CellRenderer { private float percent; [GLib.Property ("percent")] public float Percentage { get { return percent; } set { percent = value; } } public override void GetSize (Widget widget, ref Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height) { int calc_width = (int) this.Xpad * 2 + 100; int calc_height = (int) this.Ypad * 2 + 10; width = calc_width; height = calc_height; x_offset = 0; y_offset = 0; if (!cell_area.Equals (Rectangle.Zero)) { x_offset = (int) (this.Xalign * (cell_area.Width - calc_width)); x_offset = Math.Max (x_offset, 0); y_offset = (int) (this.Yalign * (cell_area.Height - calc_height)); y_offset = Math.Max (y_offset, 0); } } protected override void Render (Drawable window, Widget widget, Rectangle background_area, Rectangle cell_area, Rectangle expose_area, CellRendererState flags) { int width = 0, height = 0, x_offset = 0, y_offset = 0; StateType state; GetSize (widget, ref cell_area, out x_offset, out y_offset, out width, out height); if (widget.HasFocus) state = StateType.Active; else state = StateType.Normal; width -= (int) this.Xpad * 2; height -= (int) this.Ypad * 2; //FIXME: Style.PaintBox needs some customization so that if you pass it //a Gdk.Rectangle.Zero it gives a clipping area big enough to draw //everything Gdk.Rectangle clipping_area = new Gdk.Rectangle ((int) (cell_area.X + x_offset + this.Xpad), (int) (cell_area.Y + y_offset + this.Ypad), width - 1, height - 1); Style.PaintBox (widget.Style, (Gdk.Window) window, StateType.Normal, ShadowType.In, clipping_area, widget, "trough", (int) (cell_area.X + x_offset + this.Xpad), (int) (cell_area.Y + y_offset + this.Ypad), width - 1, height - 1); Gdk.Rectangle clipping_area2 = new Gdk.Rectangle ((int) (cell_area.X + x_offset + this.Xpad), (int) (cell_area.Y + y_offset + this.Ypad), (int) (width * Percentage), height - 1); Style.PaintBox (widget.Style, (Gdk.Window) window, state, ShadowType.Out, clipping_area2, widget, "bar", (int) (cell_area.X + x_offset + this.Xpad), (int) (cell_area.Y + y_offset + this.Ypad), (int) (width * Percentage), height - 1); } } public class Driver : Gtk.Window { public static void Main () { Application.Init (); new Driver (); Application.Run (); } ListStore liststore; public Driver () : base ("CustomCellRenderer") { DefaultSize = new Size (150, 100); this.DeleteEvent += new DeleteEventHandler (window_delete); liststore = new ListStore (typeof (float), typeof (string)); liststore.AppendValues (0.5f, "50%"); TreeView view = new TreeView (liststore); view.AppendColumn ("Progress", new CellRendererText (), "text", 1); view.AppendColumn ("Progress", new CustomCellRenderer (), "percent", 0); this.Add (view); this.ShowAll (); GLib.Timeout.Add (50, new GLib.TimeoutHandler (update_percent)); } bool increasing = true; bool update_percent () { TreeIter iter; liststore.GetIterFirst (out iter); float perc = (float) liststore.GetValue (iter, 0); if ((perc > 0.99) || (perc < 0.01 && perc > 0)) { increasing = !increasing; } if (increasing) perc += 0.01f; else perc -= 0.01f; liststore.SetValue (iter, 0, perc); liststore.SetValue (iter, 1, Convert.ToInt32 (perc * 100) + "%"); return true; } void window_delete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } } gtk-sharp-2.12.40/sample/TestDnd.cs0000664000175000017500000005353412767740470013710 00000000000000using Gtk; using Gdk; using GLib; using System; public class TestDnd { private static readonly string [] drag_icon_xpm = new string [] { "36 48 9 1", " c None", ". c #020204", "+ c #8F8F90", "@ c #D3D3D2", "# c #AEAEAC", "$ c #ECECEC", "% c #A2A2A4", "& c #FEFEFC", "* c #BEBEBC", " .....................", " ..&&&&&&&&&&&&&&&&&&&.", " ...&&&&&&&&&&&&&&&&&&&.", " ..&.&&&&&&&&&&&&&&&&&&&.", " ..&&.&&&&&&&&&&&&&&&&&&&.", " ..&&&.&&&&&&&&&&&&&&&&&&&.", " ..&&&&.&&&&&&&&&&&&&&&&&&&.", " ..&&&&&.&&&@&&&&&&&&&&&&&&&.", " ..&&&&&&.*$%$+$&&&&&&&&&&&&&.", " ..&&&&&&&.%$%$+&&&&&&&&&&&&&&.", " ..&&&&&&&&.#&#@$&&&&&&&&&&&&&&.", " ..&&&&&&&&&.#$**#$&&&&&&&&&&&&&.", " ..&&&&&&&&&&.&@%&%$&&&&&&&&&&&&&.", " ..&&&&&&&&&&&.&&&&&&&&&&&&&&&&&&&.", " ..&&&&&&&&&&&&.&&&&&&&&&&&&&&&&&&&.", "................&$@&&&@&&&&&&&&&&&&.", ".&&&&&&&+&&#@%#+@#@*$%$+$&&&&&&&&&&.", ".&&&&&&&+&&#@#@&&@*%$%$+&&&&&&&&&&&.", ".&&&&&&&+&$%&#@&#@@#&#@$&&&&&&&&&&&.", ".&&&&&&@#@@$&*@&@#@#$**#$&&&&&&&&&&.", ".&&&&&&&&&&&&&&&&&&&@%&%$&&&&&&&&&&.", ".&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&.", ".&&&&&&&&$#@@$&&&&&&&&&&&&&&&&&&&&&.", ".&&&&&&&&&+&$+&$&@&$@&&$@&&&&&&&&&&.", ".&&&&&&&&&+&&#@%#+@#@*$%&+$&&&&&&&&.", ".&&&&&&&&&+&&#@#@&&@*%$%$+&&&&&&&&&.", ".&&&&&&&&&+&$%&#@&#@@#&#@$&&&&&&&&&.", ".&&&&&&&&@#@@$&*@&@#@#$#*#$&&&&&&&&.", ".&&&&&&&&&&&&&&&&&&&&&$%&%$&&&&&&&&.", ".&&&&&&&&&&$#@@$&&&&&&&&&&&&&&&&&&&.", ".&&&&&&&&&&&+&$%&$$@&$@&&$@&&&&&&&&.", ".&&&&&&&&&&&+&&#@%#+@#@*$%$+$&&&&&&.", ".&&&&&&&&&&&+&&#@#@&&@*#$%$+&&&&&&&.", ".&&&&&&&&&&&+&$+&*@&#@@#&#@$&&&&&&&.", ".&&&&&&&&&&$%@@&&*@&@#@#$#*#&&&&&&&.", ".&&&&&&&&&&&&&&&&&&&&&&&$%&%$&&&&&&.", ".&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&.", ".&&&&&&&&&&&&&&$#@@$&&&&&&&&&&&&&&&.", ".&&&&&&&&&&&&&&&+&$%&$$@&$@&&$@&&&&.", ".&&&&&&&&&&&&&&&+&&#@%#+@#@*$%$+$&&.", ".&&&&&&&&&&&&&&&+&&#@#@&&@*#$%$+&&&.", ".&&&&&&&&&&&&&&&+&$+&*@&#@@#&#@$&&&.", ".&&&&&&&&&&&&&&$%@@&&*@&@#@#$#*#&&&.", ".&&&&&&&&&&&&&&&&&&&&&&&&&&&$%&%$&&.", ".&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&.", ".&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&.", ".&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&.", "...................................." }; private static readonly string [] trashcan_closed_xpm = new string [] { "64 80 17 1", " c None", ". c #030304", "+ c #5A5A5C", "@ c #323231", "# c #888888", "$ c #1E1E1F", "% c #767677", "& c #494949", "* c #9E9E9C", "= c #111111", "- c #3C3C3D", "; c #6B6B6B", "> c #949494", ", c #282828", "' c #808080", ") c #545454", "! c #AEAEAC", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ==......=$$...=== ", " ..$------)+++++++++++++@$$... ", " ..=@@-------&+++++++++++++++++++-.... ", " =.$$@@@-&&)++++)-,$$$$=@@&+++++++++++++,..$ ", " .$$$$@@&+++++++&$$$@@@@-&,$,-++++++++++;;;&.. ", " $$$$,@--&++++++&$$)++++++++-,$&++++++;%%'%%;;$@ ", " .-@@-@-&++++++++-@++++++++++++,-++++++;''%;;;%*-$ ", " +------++++++++++++++++++++++++++++++;;%%%;;##*!. ", " =+----+++++++++++++++++++++++;;;;;;;;;;;;%'>>). ", " .=)&+++++++++++++++++;;;;;;;;;;;;;;%''>>#>#@. ", " =..=&++++++++++++;;;;;;;;;;;;;%###>>###+%== ", " .&....=-+++++%;;####''''''''''##'%%%)..#. ", " .+-++@....=,+%#####'%%%%%%%%%;@$-@-@*++!. ", " .+-++-+++-&-@$$=$=......$,,,@;&)+!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " =+-++-+++-+++++++++!++++!++++!+++!++!+++= ", " $.++-+++-+++++++++!++++!++++!+++!++!+.$ ", " =.++++++++++++++!++++!++++!+++!++.= ", " $..+++++++++++++++!++++++...$ ", " $$=.............=$$ ", " ", " ", " ", " ", " ", " ", " ", " ", " " }; private static readonly string [] trashcan_open_xpm = new string [] { "64 80 17 1", " c None", ". c #030304", "+ c #5A5A5C", "@ c #323231", "# c #888888", "$ c #1E1E1F", "% c #767677", "& c #494949", "* c #9E9E9C", "= c #111111", "- c #3C3C3D", "; c #6B6B6B", "> c #949494", ", c #282828", "' c #808080", ") c #545454", "! c #AEAEAC", " ", " ", " ", " ", " ", " ", " .=.==.,@ ", " ==.,@-&&&)-= ", " .$@,&++;;;%>*- ", " $,-+)+++%%;;'#+. ", " =---+++++;%%%;%##@. ", " @)++++++++;%%%%'#%$ ", " $&++++++++++;%%;%##@= ", " ,-++++)+++++++;;;'#%) ", " @+++&&--&)++++;;%'#'-. ", " ,&++-@@,,,,-)++;;;'>'+, ", " =-++&@$@&&&&-&+;;;%##%+@ ", " =,)+)-,@@&+++++;;;;%##%&@ ", " @--&&,,@&)++++++;;;;'#)@ ", " ---&)-,@)+++++++;;;%''+, ", " $--&)+&$-+++++++;;;%%'';- ", " .,-&+++-$&++++++;;;%''%&= ", " $,-&)++)-@++++++;;%''%), ", " =,@&)++++&&+++++;%'''+$@&++++++ ", " .$@-++++++++++++;'#';,........=$@&++++ ", " =$@@&)+++++++++++'##-.................=&++ ", " .$$@-&)+++++++++;%#+$.....................=)+ ", " $$,@-)+++++++++;%;@=........................,+ ", " .$$@@-++++++++)-)@=............................ ", " $,@---)++++&)@===............................,. ", " $-@---&)))-$$=..............................=)!. ", " --&-&&,,$=,==...........................=&+++!. ", " =,=$..=$+)+++++&@$=.............=$@&+++++!++!. ", " .)-++-+++++++++++++++++++++++++++!++!++!. ", " .+-++-+++++++++++++++++++++++!+++!++!++!. ", " .+-++-+++-+++++++++!+++!!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " .+-++-+++-+++++++++!++++!++++!+++!++!++!. ", " =+-++-+++-+++++++++!++++!++++!+++!++!+++= ", " $.++-+++-+++++++++!++++!++++!+++!++!+.$ ", " =.++++++++++++++!++++!++++!+++!++.= ", " $..+++++++++++++++!++++++...$ ", " $$==...........==$$ ", " ", " ", " ", " ", " ", " ", " ", " ", " " }; private static Pixbuf trashcan_open_pixbuf; private static Pixbuf trashcan_closed_pixbuf; private static bool have_drag; enum TargetType { String, RootWindow }; private static TargetEntry [] target_table = new TargetEntry [] { new TargetEntry ("STRING", 0, (uint) TargetType.String ), new TargetEntry ("text/plain", 0, (uint) TargetType.String), new TargetEntry ("application/x-rootwindow-drop", 0, (uint) TargetType.RootWindow) }; private static void HandleTargetDragLeave (object sender, DragLeaveArgs args) { Console.WriteLine ("leave"); have_drag = false; // FIXME? Kinda wonky binding. (sender as Gtk.Image).FromPixbuf = trashcan_closed_pixbuf; } private static void HandleTargetDragMotion (object sender, DragMotionArgs args) { if (! have_drag) { have_drag = true; // FIXME? Kinda wonky binding. (sender as Gtk.Image).FromPixbuf = trashcan_open_pixbuf; } Widget source_widget = Gtk.Drag.GetSourceWidget (args.Context); Console.WriteLine ("motion, source {0}", source_widget == null ? "null" : source_widget.ToString ()); Atom [] targets = args.Context.Targets; foreach (Atom a in targets) Console.WriteLine (a.Name); Gdk.Drag.Status (args.Context, args.Context.SuggestedAction, args.Time); args.RetVal = true; } private static void HandleTargetDragDrop (object sender, DragDropArgs args) { Console.WriteLine ("drop"); have_drag = false; (sender as Gtk.Image).FromPixbuf = trashcan_closed_pixbuf; #if BROKEN // Context.Targets is not defined in the bindings if (Context.Targets.Length != 0) { Drag.GetData (sender, context, Context.Targets.Data as Gdk.Atom, args.Time); args.RetVal = true; } #endif args.RetVal = false; } private static void HandleTargetDragDataReceived (object sender, DragDataReceivedArgs args) { if (args.SelectionData.Length >=0 && args.SelectionData.Format == 8) { Console.WriteLine ("Received {0} in trashcan", args.SelectionData); Gtk.Drag.Finish (args.Context, true, false, args.Time); } Gtk.Drag.Finish (args.Context, false, false, args.Time); } private static void HandleLabelDragDataReceived (object sender, DragDataReceivedArgs args) { if (args.SelectionData.Length >=0 && args.SelectionData.Format == 8) { Console.WriteLine ("Received {0} in label", args.SelectionData); Gtk.Drag.Finish (args.Context, true, false, args.Time); } Gtk.Drag.Finish (args.Context, false, false, args.Time); } private static void HandleSourceDragDataGet (object sender, DragDataGetArgs args) { if (args.Info == (uint) TargetType.RootWindow) Console.WriteLine ("I was dropped on the rootwin"); else args.SelectionData.Text = "I'm data!"; } // The following is a rather elaborate example demonstrating/testing // changing of the window heirarchy during a drag - in this case, // via a "spring-loaded" popup window. private static Gtk.Window popup_window = null; private static bool popped_up = false; private static bool in_popup = false; private static uint popdown_timer = 0; private static uint popup_timer = 0; private static bool HandlePopdownCallback () { popdown_timer = 0; popup_window.Hide (); popped_up = false; return false; } private static void HandlePopupMotion (object sender, DragMotionArgs args) { if (! in_popup) { in_popup = true; if (popdown_timer != 0) { Console.WriteLine ("removed popdown"); GLib.Source.Remove (popdown_timer); popdown_timer = 0; } } args.RetVal = true; } private static void HandlePopupLeave (object sender, DragLeaveArgs args) { if (in_popup) { in_popup = false; if (popdown_timer == 0) { Console.WriteLine ("added popdown"); popdown_timer = GLib.Timeout.Add (500, new TimeoutHandler (HandlePopdownCallback)); } } } private static bool HandlePopupCallback () { if (! popped_up) { if (popup_window == null) { Button button; Table table; popup_window = new Gtk.Window (Gtk.WindowType.Popup); popup_window.SetPosition (WindowPosition.Mouse); table = new Table (3, 3, false); for (int i = 0; i < 3; i++) for (int j = 0; j < 3; j++) { string label = String.Format ("{0},{1}", i, j); button = Button.NewWithLabel (label); table.Attach (button, (uint) i, (uint) i + 1, (uint) j, (uint) j + 1, AttachOptions.Expand | AttachOptions.Fill, AttachOptions.Expand | AttachOptions.Fill, 0, 0); Gtk.Drag.DestSet (button, DestDefaults.All, target_table, DragAction.Copy | DragAction.Move); button.DragMotion += new DragMotionHandler (HandlePopupMotion); button.DragLeave += new DragLeaveHandler (HandlePopupLeave); } table.ShowAll (); popup_window.Add (table); } popup_window.Show (); popped_up = true; } popdown_timer = GLib.Timeout.Add (500, new TimeoutHandler (HandlePopdownCallback)); popup_timer = 0; return false; } private static void HandlePopsiteMotion (object sender, DragMotionArgs args) { if (popup_timer == 0) popup_timer = GLib.Timeout.Add (500, new TimeoutHandler (HandlePopupCallback)); args.RetVal = true; } private static void HandlePopsiteLeave (object sender, DragLeaveArgs args) { if (popup_timer != 0) { GLib.Source.Remove (popup_timer); popup_timer = 0; } } private static void HandleSourceDragDataDelete (object sender, DragDataDeleteArgs args) { Console.WriteLine ("Delete the data!"); } public static void Main (string [] args) { Gtk.Window window; Table table; Label label; Gtk.Image pixmap; Button button; Pixbuf drag_icon_pixbuf; Application.Init (); window = new Gtk.Window (Gtk.WindowType.Toplevel); window.DeleteEvent += new DeleteEventHandler (OnDelete); table = new Table (2, 2, false); window.Add (table); // FIXME should get a string[], not a string. drag_icon_pixbuf = new Pixbuf (drag_icon_xpm); trashcan_open_pixbuf = new Pixbuf (trashcan_open_xpm); trashcan_closed_pixbuf = new Pixbuf (trashcan_closed_xpm); label = new Label ("Drop Here\n"); Gtk.Drag.DestSet (label, DestDefaults.All, target_table, DragAction.Copy | DragAction.Move); label.DragDataReceived += new DragDataReceivedHandler (HandleLabelDragDataReceived); table.Attach (label, 0, 1, 0, 1, AttachOptions.Expand | AttachOptions.Fill, AttachOptions.Expand | AttachOptions.Fill, 0, 0); label = new Label ("Popup\n"); Gtk.Drag.DestSet (label, DestDefaults.All, target_table, DragAction.Copy | DragAction.Move); table.Attach (label, 1, 2, 1, 2, AttachOptions.Expand | AttachOptions.Fill, AttachOptions.Expand | AttachOptions.Fill, 0, 0); label.DragMotion += new DragMotionHandler (HandlePopsiteMotion); label.DragLeave += new DragLeaveHandler (HandlePopsiteLeave); pixmap = new Gtk.Image (trashcan_closed_pixbuf); Gtk.Drag.DestSet (pixmap, 0, null, 0); table.Attach (pixmap, 1, 2, 0, 1, AttachOptions.Expand | AttachOptions.Fill, AttachOptions.Expand | AttachOptions.Fill, 0, 0); pixmap.DragLeave += new DragLeaveHandler (HandleTargetDragLeave); pixmap.DragMotion += new DragMotionHandler (HandleTargetDragMotion); pixmap.DragDrop += new DragDropHandler (HandleTargetDragDrop); pixmap.DragDataReceived += new DragDataReceivedHandler (HandleTargetDragDataReceived); button = new Button ("Drag Here\n"); Gtk.Drag.SourceSet (button, Gdk.ModifierType.Button1Mask | Gdk.ModifierType.Button3Mask, target_table, DragAction.Copy | DragAction.Move); // FIXME can I pass a pixbuf here instead? // Gtk.Drag.SourceSetIcon (button, window.Colormap, drag_icon, drag_mask); table.Attach (button, 0, 1, 1, 2, AttachOptions.Expand | AttachOptions.Fill, AttachOptions.Expand | AttachOptions.Fill, 0, 0); button.DragDataGet += new DragDataGetHandler (HandleSourceDragDataGet); button.DragDataDelete += new DragDataDeleteHandler (HandleSourceDragDataDelete); window.ShowAll (); Application.Run (); } private static void OnDelete (object o, DeleteEventArgs e) { Application.Quit (); } } gtk-sharp-2.12.40/sample/Makefile.am0000775000175000017500000001177112767740470014050 00000000000000SUBDIRS = test GtkDemo pixmaps valtest opaquetest if ENABLE_MONO_CAIRO cairo_ref=-r:$(top_builddir)/cairo/Mono.Cairo.dll else cairo_ref=$(MONO_CAIRO_LIBS) endif if ENABLE_GLADE GLADE_TARGETS=glade-viewer.exe glade-test.exe GLADE_ASSEMBLY=$(top_builddir)/glade/glade-sharp.dll else GLADE_TARGETS= GLADE_ASSEMBLY= endif if ENABLE_DOTNET DOTNET_TARGETS=drawing-sample.exe DOTNET_ASSEMBLY=$(top_builddir)/gtkdotnet/gtk-dotnet.dll else DOTNET_TARGETS= DOTNET_ASSEMBLY= endif TARGETS = polarfixed.exe custom-widget.exe custom-cellrenderer.exe gtk-hello-world.exe button.exe calendar.exe subclass.exe menu.exe size.exe scribble.exe scribble-xinput.exe treeviewdemo.exe managedtreeviewdemo.exe nodeviewdemo.exe treemodeldemo.exe testdnd.exe actions.exe spawn.exe assistant.exe registerprop.exe gexceptiontest.exe cairo-sample.exe $(GLADE_TARGETS) $(DOTNET_TARGETS) DEBUGS = $(addsuffix .mdb, $(TARGETS)) assemblies=$(top_builddir)/glib/glib-sharp.dll $(top_builddir)/pango/pango-sharp.dll $(top_builddir)/atk/atk-sharp.dll $(top_builddir)/gdk/gdk-sharp.dll $(top_builddir)/gtk/gtk-sharp.dll $(GLADE_ASSEMBLY) references=$(addprefix -r:, $(assemblies)) noinst_SCRIPTS = $(TARGETS) CLEANFILES = $(TARGETS) $(DEBUGS) gtk-hello-world.exe: $(srcdir)/HelloWorld.cs $(assemblies) $(CSC) -out:gtk-hello-world.exe $(references) $(srcdir)/HelloWorld.cs button.exe: $(srcdir)/ButtonApp.cs $(assemblies) $(CSC) -out:button.exe $(references) $(srcdir)/ButtonApp.cs calendar.exe: $(srcdir)/CalendarApp.cs $(assemblies) $(CSC) -out:calendar.exe $(references) $(srcdir)/CalendarApp.cs subclass.exe: $(srcdir)/Subclass.cs $(assemblies) $(CSC) -out:subclass.exe $(references) $(srcdir)/Subclass.cs menu.exe: $(srcdir)/Menu.cs $(assemblies) $(CSC) -out:menu.exe $(references) $(srcdir)/Menu.cs size.exe: $(srcdir)/Size.cs $(assemblies) $(CSC) -out:size.exe $(references) $(srcdir)/Size.cs scribble.exe: $(srcdir)/Scribble.cs $(assemblies) $(CSC) -out:scribble.exe $(references) $(srcdir)/Scribble.cs scribble-xinput.exe: $(srcdir)/ScribbleXInput.cs $(assemblies) $(CSC) -out:scribble-xinput.exe $(references) $(srcdir)/ScribbleXInput.cs treeviewdemo.exe: $(srcdir)/TreeViewDemo.cs $(assemblies) $(CSC) -out:treeviewdemo.exe $(references) $(srcdir)/TreeViewDemo.cs managedtreeviewdemo.exe: $(srcdir)/ManagedTreeViewDemo.cs $(assemblies) $(CSC) -out:managedtreeviewdemo.exe $(references) $(srcdir)/ManagedTreeViewDemo.cs nodeviewdemo.exe: $(srcdir)/NodeViewDemo.cs $(assemblies) $(CSC) -out:nodeviewdemo.exe $(references) $(srcdir)/NodeViewDemo.cs treemodeldemo.exe: $(srcdir)/TreeModelDemo.cs $(assemblies) $(CSC) -out:treemodeldemo.exe $(references) $(srcdir)/TreeModelDemo.cs glade-viewer.exe: $(srcdir)/GladeViewer.cs $(assemblies) $(CSC) -out:glade-viewer.exe $(references) $(srcdir)/GladeViewer.cs glade-test.exe: $(srcdir)/GladeTest.cs $(srcdir)/test.glade $(assemblies) $(CSC) -resource:$(srcdir)/test.glade,test.glade -out:glade-test.exe $(references) $(srcdir)/GladeTest.cs cairo-sample.exe: $(srcdir)/CairoSample.cs $(assemblies) $(CSC) -out:cairo-sample.exe $(references) $(cairo_ref) $(srcdir)/CairoSample.cs testdnd.exe: $(srcdir)/TestDnd.cs $(assemblies) $(CSC) -debug -unsafe -out:testdnd.exe $(references) $(srcdir)/TestDnd.cs custom-cellrenderer.exe: $(srcdir)/CustomCellRenderer.cs $(assemblies) $(CSC) -debug -out:custom-cellrenderer.exe $(references) $(srcdir)/CustomCellRenderer.cs dotnet_references = $(references) $(addprefix -r:, $(DOTNET_ASSEMBLY)) -r:System.Drawing.dll drawing-sample.exe: $(srcdir)/DrawingSample.cs $(assemblies) $(DOTNET_ASSEMBLIES) $(CSC) -debug -out:drawing-sample.exe $(dotnet_references) $(srcdir)/DrawingSample.cs custom-widget.exe: $(srcdir)/CustomWidget.cs $(assemblies) $(CSC) -debug -out:custom-widget.exe $(references) $(srcdir)/CustomWidget.cs actions.exe: $(srcdir)/Actions.cs $(CSC) -debug -unsafe -out:actions.exe $(references) $(srcdir)/Actions.cs polarfixed.exe: $(srcdir)/PolarFixed.cs $(assemblies) $(CSC) -debug -out:polarfixed.exe $(references) $(srcdir)/PolarFixed.cs spawn.exe: $(srcdir)/SpawnTests.cs $(assemblies) $(CSC) -out:spawn.exe $(references) $(srcdir)/SpawnTests.cs assistant.exe: $(srcdir)/Assistant.cs $(assemblies) $(CSC) -out:assistant.exe $(references) $(srcdir)/Assistant.cs registerprop.exe: $(srcdir)/PropertyRegistration.cs $(assemblies) $(CSC) -out:registerprop.exe $(references) $(srcdir)/PropertyRegistration.cs gexceptiontest.exe: $(srcdir)/GExceptionTest.cs $(assemblies) $(CSC) -out:gexceptiontest.exe $(references) $(srcdir)/GExceptionTest.cs EXTRA_DIST = \ HelloWorld.cs \ Assistant.cs \ ButtonApp.cs \ CalendarApp.cs \ Subclass.cs \ Menu.cs \ Size.cs \ Scribble.cs \ ScribbleXInput.cs \ SpawnTests.cs \ TreeModelDemo.cs \ TreeViewDemo.cs \ ManagedTreeViewDemo.cs \ NodeViewDemo.cs \ GExceptionTest.cs \ GladeViewer.cs \ GladeTest.cs \ test.glade \ CairoSample.cs \ TestDnd.cs \ CustomCellRenderer.cs \ DrawingSample.cs \ CustomWidget.cs \ Actions.cs \ PropertyRegistration.cs \ PolarFixed.cs gtk-sharp-2.12.40/sample/CairoSample.cs0000664000175000017500000000775212767740470014543 00000000000000using System; using Gtk; using Cairo; class Knockout : DrawingArea { static void Main () { Application.Init (); new Knockout (); Application.Run (); } Knockout () { Window win = new Window ("Cairo with Gtk#"); win.SetDefaultSize (400, 400); win.DeleteEvent += new DeleteEventHandler (OnQuit); win.Add (this); win.ShowAll (); } void OvalPath (Context cr, double xc, double yc, double xr, double yr) { Matrix m = cr.Matrix; cr.Translate (xc, yc); cr.Scale (1.0, yr / xr); cr.MoveTo (xr, 0.0); cr.Arc (0, 0, xr, 0, 2 * Math.PI); cr.ClosePath (); cr.Matrix = m; } void FillChecks (Context cr, int x, int y, int width, int height) { int CHECK_SIZE = 32; cr.Save (); Surface check = cr.Target.CreateSimilar (Content.Color, 2 * CHECK_SIZE, 2 * CHECK_SIZE); // draw the check using (Context cr2 = new Context (check)) { cr2.Operator = Operator.Source; cr2.Color = new Color (0.4, 0.4, 0.4); cr2.Rectangle (0, 0, 2 * CHECK_SIZE, 2 * CHECK_SIZE); cr2.Fill (); cr2.Color = new Color (0.7, 0.7, 0.7); cr2.Rectangle (x, y, CHECK_SIZE, CHECK_SIZE); cr2.Fill (); cr2.Rectangle (x + CHECK_SIZE, y + CHECK_SIZE, CHECK_SIZE, CHECK_SIZE); cr2.Fill (); } // Fill the whole surface with the check SurfacePattern check_pattern = new SurfacePattern (check); check_pattern.Extend = Extend.Repeat; cr.Source = check_pattern; cr.Rectangle (0, 0, width, height); cr.Fill (); check_pattern.Destroy (); check.Destroy (); cr.Restore (); } void Draw3Circles (Context cr, int xc, int yc, double radius, double alpha) { double subradius = radius * (2 / 3.0 - 0.1); cr.Color = new Color (1.0, 0.0, 0.0, alpha); OvalPath (cr, xc + radius / 3.0 * Math.Cos (Math.PI * 0.5), yc - radius / 3.0 * Math.Sin (Math.PI * 0.5), subradius, subradius); cr.Fill (); cr.Color = new Color (0.0, 1.0, 0.0, alpha); OvalPath (cr, xc + radius / 3.0 * Math.Cos (Math.PI * (0.5 + 2 / 0.3)), yc - radius / 3.0 * Math.Sin (Math.PI * (0.5 + 2 / 0.3)), subradius, subradius); cr.Fill (); cr.Color = new Color (0.0, 0.0, 1.0, alpha); OvalPath (cr, xc + radius / 3.0 * Math.Cos (Math.PI * (0.5 + 4 / 0.3)), yc - radius / 3.0 * Math.Sin (Math.PI * (0.5 + 4 / 0.3)), subradius, subradius); cr.Fill (); } void Draw (Context cr, int width, int height) { double radius = 0.5 * Math.Min (width, height) - 10; int xc = width / 2; int yc = height / 2; Surface overlay = cr.Target.CreateSimilar (Content.ColorAlpha, width, height); Surface punch = cr.Target.CreateSimilar (Content.Alpha, width, height); Surface circles = cr.Target.CreateSimilar (Content.ColorAlpha, width, height); FillChecks (cr, 0, 0, width, height); cr.Save (); // Draw a black circle on the overlay using (Context cr_overlay = new Context (overlay)) { cr_overlay.Color = new Color (0.0, 0.0, 0.0); OvalPath (cr_overlay, xc, yc, radius, radius); cr_overlay.Fill (); // Draw 3 circles to the punch surface, then cut // that out of the main circle in the overlay using (Context cr_tmp = new Context (punch)) Draw3Circles (cr_tmp, xc, yc, radius, 1.0); cr_overlay.Operator = Operator.DestOut; cr_overlay.SetSourceSurface (punch, 0, 0); cr_overlay.Paint (); // Now draw the 3 circles in a subgroup again // at half intensity, and use OperatorAdd to join up // without seams. using (Context cr_circles = new Context (circles)) { cr_circles.Operator = Operator.Over; Draw3Circles (cr_circles, xc, yc, radius, 0.5); } cr_overlay.Operator = Operator.Add; cr_overlay.SetSourceSurface (circles, 0, 0); cr_overlay.Paint (); } cr.SetSourceSurface (overlay, 0, 0); cr.Paint (); overlay.Destroy (); punch.Destroy (); circles.Destroy (); } protected override bool OnExposeEvent (Gdk.EventExpose e) { using (Context cr = Gdk.CairoHelper.Create (e.Window)) { int w, h; e.Window.GetSize (out w, out h); Draw (cr, w, h); } return true; } void OnQuit (object sender, DeleteEventArgs e) { Application.Quit (); } } gtk-sharp-2.12.40/sample/pixmaps/0000775000175000017500000000000012767740535013545 500000000000000gtk-sharp-2.12.40/sample/pixmaps/gnome-gmenu.png0000664000175000017500000000312312654353766016411 00000000000000PNG  IHDR00WgAMA abKGD pHYs  d_tIME 81ɑwXIDATxMlsg}?+|<yX%!AJUI*$^PUnHVJB+ʦޠEa0;=|ݙYyyĪt53Wss .ߢbN%}Wl6rwuurwp!{ `[`:_ĝW~ُB씼/υ&' &4 ^+ /x%ADVi?B }>~DZRat-!Rz S.m[H᪂XTϟ's v,[eb9*E,H b6wOW2q Ģ\pFATٳo_`Ex~XR6mɓ'z*o|ʖ0t!UXiu]%TOe(4͛7ӃeYe&JqLΝ;J%4X ]W'Vj}Mٯg!s9._oߎu||!#rT ]W ;w>>B@&oyulYQHOBRJbdbb VR)4Mw}z86vZ1yh;v 0twwS,) <~8ZSU, )K =#rݻG?cccܿQjf3(b 8|0۶mŋ aJ%ml(~ި A8r94Mcdd]vH&$IX!B_ROXKmn.b!qT*tZFTm iיƲLOOu#zI|ڵkԩSƯطocfggq0 Vifffuir%!ϓL&1 cYߖLlY~_N&14iL&d2LNNd8p366GA7|M5K")B )пu+[ba޽.c#=cXF.H$rY| D!!FD<> 6g,###ԟ=#ebFDe[Au$\ÈQ\@C͡BYZFG!|>L&bvѲ$ $SI KJapCqMb#7؅iŢzj!"HRAHX{+oB6\Ezϯ_V/ZAR)4Sr9JGaiEuhex[n+K)%e377GjBA4ufsT.o]@y @xz:ߎ:pB @,m ;b6)Z@D[tN7d]yIENDB`gtk-sharp-2.12.40/sample/pixmaps/gnome-mdi.png0000664000175000017500000000171512654353766016054 00000000000000PNG  IHDR00WgAMA abKGD pHYs."."ݒtIME,KWJIDATxZkAv1) *衈ԃ$^h2lfv.*650Qg @_lll:SB6}ZssXi0.lX,r8#88)BJw3fLj͈su83 ` R/N_uFSOӱv J+'TjOy͆Xe^zl]w/9ufh2Èsz\HXWՊS^3:/m@ 78myχ W)rm  bo,[L>d5uR9[r#gO#j RYy~;)*б[ǎѲbyhH= w@ev/g7QKi}4U2!̠= jL3k8hKJ)"x|oOW'W =]ZsE;`mG- d h O ΡS,mVl[HbNz9 4i =-vFw֬ i_,B{-]'PUfH:r5DP<`ϓ?Y@_UVaBt-YJ:X, D= 8'¸Q‘1IBG{`6Ӻ|55_=yߥ\؁+6̬'igFVgQ F;Mutuu.PVE]K8bS@$c u-F%`ԫWX0#wQ̏`e{9;)HLh)A}b6ASC=%euހ|>RimUo=b;מNϦӔS":AJ[J11JIY5R3HitZ &[+) f4"KY i0-&:ۤhls6 8KEo!u#KYLdF0(1jPYNM*)/Eɥd 9 缄\ajj+Y4Sy5,Sg[ldd)PQB!:P3Xu2#^2Zws KhLxYsJJ&4rr *|&B>DcHbBua 7-mbs@")/Qeh*)RQd1E^ДY9 2XK&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = sample/pixmaps ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = \ gnome-ccdialog.png \ gnome-color-browser.png \ gnome-gmenu.png \ gnome-mdi.png \ gtk-sharp-logo.png all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign sample/pixmaps/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign sample/pixmaps/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags-am uninstall uninstall-am .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/sample/pixmaps/gtk-sharp-logo.png0000664000175000017500000001140412654353766017032 00000000000000PNG  IHDRx<sgAMA7tEXtSoftwareAdobe ImageReadyqe<PLTE&&&ttt#(R|||\\\ͫlllbbbTTTddd+2g444ĕ֬욚醆;;;KKKƸ;CCC䁁  (3:y7?@I;D"G𵵵̼ȼ񷷷浶Ͽ///̗Ա׳wvw󃃃pooä诰è___ƬxxxПXXXPPP폏茌qqp凇hhhoooDNfffL'_MIDATxb?@ bZ|齃 <.d !ͅEh NBX0!_̞9!ΈXB[xEa@.2P0f7î:CSIw}M:O-~xkjCZ~tp$  `{67 j3UJudA6DZk>H @SAF@^!@De@!p;_Q?@"j`aHAD@)j@TD@Y[N?*V?@-{dbt??=\===]ӹG8csF>@>z]|3TaH$\0:Z-PHy] ώ uP%? g7cGPZ|rEEN\ }٠wq;5u9Hr]!8uy0Ғ yBK6ӎ!@ A lEU~= 2J`b`?dy @uk#cyA> qŕ' , 4 "{ Q666!m_Rmll={f̦Q% y{-ֲtrxe2\9"-R Y7XEB ,@hqWWp_~ζg@1y.yUX?u$xXa_Mn S )|'f,H*` jZ\VVb`Ʈ&wGƴ L`ב#""ț>|K琑RaVR'd[yTN@7_vfW;{lE;Lf>%lUw2@:nX(\:yAޅ{ I^~SA N\^ -vَP?_Xlp]1 ytdtqecWD6m۔hqQQ7Hf\TdQ?ҕ]Z,>R+j}(z gg3P@-~ ({wPCn18&p?z xW.v1rP :۵sKj`Qmoj-ZA%O}aǪ@`퇌6n/}Rjb1߅E(K޲oEO:- e+P .?@UxR d6cXCCck\V#KY LjY|$Tf֢Y<ܤnMꆆ:,{bJJ3^jf/Ӝq(|*-XAK%u ' fϪ3soDZ|\%^YZ,@/@4׸8ـŰncłm,n:g5Xy0;[7 -)[]?@-N N3{?,n73ۙj}93gZyRPft d wb0ehqhX؂0ieB[schP gE0t7 *S~,,',\Iby.,[T T'jXSP*tv6?PgְY|:X}Q!˼M;uSʂM?~P   sۗ1N/af#1mR<DM3&Cr.4̏c* 5s* =LUXJI7hsotMDZ ԮY\[v0#z!xw#H|S\-;lZll=5bbC `:r;tO@QjT]j߀GU_CNf˜fvH v@{n/$gO=h@,' )RWՖ+o*+$>0S Xwzv'ַ&8 ,;L kS ` 5j< hX$$>}ҏvNܦcx PѮ/2I;vX324iT=Sq3jE>'cs  ̛5/;++kާO"g# ݼ&7M?Dv֜~ujc$[fes.-B,mçJ1rM 5deeϛ=Zcb2{SCP5uy/_65kP񍸽Tgq+u} +Fӧ :G㮽,[4nX-|s$ @?@, )o;" "r`1ƶtlB+h&/N7)cKKJ69x*<M]mqþ=k;,MCf/zV[מGz===o_Ha3LpMmJ߳P8@m?X3.d.t/o?Mj7M_p3@֘ .>*'dIT 2zaA-1aSF~2ua1jG5E//T ˁXpbb?B0n,j-L0v#@-*7OX EC84%*!4C < SE)(¼a#r?T 0, b| G, /AP' a8a>b8{?b1@+XDZ)UCrBx  @f1@ 4`^4`;dDIENDB`gtk-sharp-2.12.40/sample/pixmaps/Makefile.am0000664000175000017500000000017612654353766015526 00000000000000EXTRA_DIST = \ gnome-ccdialog.png \ gnome-color-browser.png \ gnome-gmenu.png \ gnome-mdi.png \ gtk-sharp-logo.png gtk-sharp-2.12.40/sample/pixmaps/gnome-ccdialog.png0000664000175000017500000000220012654353766017036 00000000000000PNG  IHDR00WgAMA a pHYs  ~"IDATx](ty?d&sd\LylRDnz+.Q^JF@rqB"il֤E+J7)q&Ns990/gm>u:=ϙ(QD1[k^o}A i>웮ލ\.l2P7^qccc_5 ^7Οh{{[RC_m9.!$}.A-6ɵ{M@?Y?== ʀf C< yrU677QT/is||qqq T*#҇r ݍbApА$_XYYSAEk2xqFGGiiiYt:ZFFVc299I__k`qqf3999XVHNNfEff&TTT].zJ%O1GWW)))rqqAMM o Iyytb4IKKN8##B<77Gjj*( ߧ J%/))`ddFbcc6Vzzzk q:qrr9z}8D2:HOOG  t:N|8D"AꊆvvvX[[V+1%0Ȱ%''cZQ(OZkbcch4S^^.>B!"* xxx(vVZRwppbATRYYwJ% Ɔ6bqݒ|:;;F)YYYTUU`2HLLZ8e1DBB1ͥ]B&>d32 E<,! ,9JLLLC vFFF5,nɧ%qooĐ\|"k$_Yffa0.hdEٙ'QD`@R˗74?-u\IENDB`gtk-sharp-2.12.40/sample/TreeModelDemo.cs0000664000175000017500000001643112767740470015023 00000000000000// TreeModelSample.cs - TreeModelSample application. // // Author: Mike Kestner // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSamples { using System; using System.Collections; using System.Reflection; using System.Runtime.InteropServices; using Gtk; public class TreeModelDemo : Gtk.Window { public TreeModelDemo () : base ("TreeModel demo") { DefaultSize = new Gdk.Size (640,480); ScrolledWindow sw = new ScrolledWindow (); TreeView view = new TreeView (new TreeModelAdapter (new MyTreeModel ())); view.HeadersVisible = true; view.AppendColumn ("Name", new CellRendererText (), "text", 0); view.AppendColumn ("Type", new CellRendererText (), "text", 1); sw.Add (view); sw.ShowAll (); Add (sw); } protected override bool OnDeleteEvent (Gdk.Event ev) { Application.Quit (); return true; } public static void Main (string[] args) { Application.Init (); Gtk.Window win = new TreeModelDemo (); win.Show (); Application.Run (); } } public class MyTreeModel : GLib.Object, TreeModelImplementor { Assembly[] assemblies; public MyTreeModel () { assemblies = AppDomain.CurrentDomain.GetAssemblies (); } object GetNodeAtPath (TreePath path) { if (path.Indices.Length > 0) { Assembly assm = assemblies [path.Indices [0]]; if (path.Indices.Length > 1) { Type t = assm.GetTypes ()[path.Indices [1]]; if (path.Indices.Length > 2) return t.GetMembers () [path.Indices [2]]; else return t; } else return assm; } else return null; } Hashtable node_hash = new Hashtable (); public TreeModelFlags Flags { get { return TreeModelFlags.ItersPersist; } } public int NColumns { get { return 2; } } public GLib.GType GetColumnType (int col) { GLib.GType result = GLib.GType.String; return result; } TreeIter IterFromNode (object node) { GCHandle gch; if (node_hash [node] != null) gch = (GCHandle) node_hash [node]; else gch = GCHandle.Alloc (node); TreeIter result = TreeIter.Zero; result.UserData = (IntPtr) gch; return result; } object NodeFromIter (TreeIter iter) { GCHandle gch = (GCHandle) iter.UserData; return gch.Target; } TreePath PathFromNode (object node) { if (node == null) return new TreePath (); object work = node; TreePath path = new TreePath (); if (work is MemberInfo) { Type parent = (work as MemberInfo).ReflectedType; path.PrependIndex (Array.IndexOf (parent.GetMembers (), work)); work = parent; } if (work is Type) { Assembly assm = (work as Type).Assembly; path.PrependIndex (Array.IndexOf (assm.GetTypes (), work)); work = assm; } if (work is Assembly) path.PrependIndex (Array.IndexOf (assemblies, node)); return path; } public bool GetIter (out TreeIter iter, TreePath path) { if (path == null) throw new ArgumentNullException ("path"); iter = TreeIter.Zero; object node = GetNodeAtPath (path); if (node == null) return false; iter = IterFromNode (node); return true; } public TreePath GetPath (TreeIter iter) { object node = NodeFromIter (iter); if (node == null) throw new ArgumentException ("iter"); return PathFromNode (node); } public void GetValue (TreeIter iter, int col, ref GLib.Value val) { object node = NodeFromIter (iter); if (node == null) return; if (node is Assembly) val = new GLib.Value (col == 0 ? (node as Assembly).GetName ().Name : "Assembly"); else if (node is Type) val = new GLib.Value (col == 0 ? (node as Type).Name : "Type"); else val = new GLib.Value (col == 0 ? (node as MemberInfo).Name : "Member"); } public bool IterNext (ref TreeIter iter) { object node = NodeFromIter (iter); if (node == null) return false; int idx; if (node is Assembly) { idx = Array.IndexOf (assemblies, node) + 1; if (idx < assemblies.Length) { iter = IterFromNode (assemblies [idx]); return true; } } else if (node is Type) { Type[] siblings = (node as Type).Assembly.GetTypes (); idx = Array.IndexOf (siblings, node) + 1; if (idx < siblings.Length) { iter = IterFromNode (siblings [idx]); return true; } } else { MemberInfo[] siblings = (node as MemberInfo).ReflectedType.GetMembers (); idx = Array.IndexOf (siblings, node) + 1; if (idx < siblings.Length) { iter = IterFromNode (siblings [idx]); return true; } } return false; } int ChildCount (object node) { if (node is Assembly) return (node as Assembly).GetTypes ().Length; else if (node is Type) return (node as Type).GetMembers ().Length; else return 0; } public bool IterChildren (out TreeIter child, TreeIter parent) { child = TreeIter.Zero; if (parent.UserData == IntPtr.Zero) { child = IterFromNode (assemblies [0]); return true; } object node = NodeFromIter (parent); if (node == null || ChildCount (node) <= 0) return false; if (node is Assembly) child = IterFromNode ((node as Assembly).GetTypes () [0]); else if (node is Type) child = IterFromNode ((node as Type).GetMembers () [0]); return true; } public bool IterHasChild (TreeIter iter) { object node = NodeFromIter (iter); if (node == null || ChildCount (node) <= 0) return false; return true; } public int IterNChildren (TreeIter iter) { if (iter.UserData == IntPtr.Zero) return assemblies.Length; object node = NodeFromIter (iter); if (node == null) return 0; return ChildCount (node); } public bool IterNthChild (out TreeIter child, TreeIter parent, int n) { child = TreeIter.Zero; if (parent.UserData == IntPtr.Zero) { if (assemblies.Length <= n) return false; child = IterFromNode (assemblies [n]); return true; } object node = NodeFromIter (parent); if (node == null || ChildCount (node) <= n) return false; if (node is Assembly) child = IterFromNode ((node as Assembly).GetTypes () [n]); else if (node is Type) child = IterFromNode ((node as Type).GetMembers () [n]); return true; } public bool IterParent (out TreeIter parent, TreeIter child) { parent = TreeIter.Zero; object node = NodeFromIter (child); if (node == null || node is Assembly) return false; if (node is Type) parent = IterFromNode ((node as Type).Assembly); else if (node is MemberInfo) parent = IterFromNode ((node as MemberInfo).ReflectedType); return true; } public void RefNode (TreeIter iter) { } public void UnrefNode (TreeIter iter) { } } } gtk-sharp-2.12.40/sample/GExceptionTest.cs0000775000175000017500000000075712654353766015255 00000000000000// HelloWorld.cs - GTK Window class Test implementation // // Author: Mike Kestner // // (c) 2001-2002 Mike Kestner namespace GtkSamples { using Gtk; using Gdk; using System; public class GExceptionTest { public static int Main (string[] args) { Application.Init (); Gtk.Window win = new Gtk.Window ("GException"); win.SetIconFromFile ("this.filename.does.not.exist"); // Notreached, GException should throw on above call. return 0; } } } gtk-sharp-2.12.40/sample/ButtonApp.cs0000775000175000017500000000151712654353766014257 00000000000000// ButtonApp.cs - Gtk.Button class Test implementation // // Author: Mike Kestner // // (c) 2001-2002 Mike Kestner namespace GtkSamples { using Gtk; using System; public class ButtonApp { public static int Main (string[] args) { Application.Init (); Window win = new Window ("Button Tester"); win.DefaultWidth = 200; win.DefaultHeight = 150; win.DeleteEvent += new DeleteEventHandler (Window_Delete); Button btn = new Button ("Click Me"); btn.Clicked += new EventHandler (btn_click); win.Add (btn); win.ShowAll (); Application.Run (); return 0; } static void btn_click (object obj, EventArgs args) { Console.WriteLine ("Button Clicked"); } static void Window_Delete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } } } gtk-sharp-2.12.40/configure.in0000664000175000017500000002137312767740503013035 00000000000000 AC_INIT([gtk-sharp], [2.12.40]) AC_CONFIG_SRCDIR(README) AC_CANONICAL_SYSTEM AC_CONFIG_HEADERS(config.h) AM_INIT_AUTOMAKE AM_MAINTAINER_MODE API_VERSION=2.12.0.0 AC_SUBST(API_VERSION) POLICY_VERSIONS="2.4 2.6 2.8 2.10" AC_SUBST(POLICY_VERSIONS) PACKAGE_VERSION=gtk-sharp-2.0 AC_SUBST(PACKAGE_VERSION) WIN64DEFINES= case "$host" in x86_64-*-mingw*|x86_64-*-cygwin*) WIN64DEFINES="-define:WIN64LONGS" platform_win32=yes AC_DEFINE(PLATFORM_WIN32,1,[Platform is Win32]) if test "x$cross_compiling" = "xno"; then CC="gcc -g" HOST_CC="gcc" fi ;; *-*-mingw*|*-*-cygwin*) platform_win32=yes AC_DEFINE(PLATFORM_WIN32,1,[Platform is Win32]) if test "x$cross_compiling" = "xno"; then CC="gcc -g" HOST_CC="gcc" fi ;; *) platform_win32=no ;; esac AM_CONDITIONAL(PLATFORM_WIN32, test x$platform_win32 = xyes) AC_CHECK_TOOL(CC, gcc, gcc) AC_PROG_CC AC_PROG_INSTALL dnl may require a specific autoconf version dnl AC_PROG_CC_FOR_BUILD dnl CC_FOR_BUILD not automatically detected CC_FOR_BUILD=$CC BUILD_EXEEXT= if test "x$cross_compiling" = "xyes"; then CC_FOR_BUILD=cc BUILD_EXEEXT="" fi AC_SUBST(CC_FOR_BUILD) AC_SUBST(HOST_CC) AC_SUBST(BUILD_EXEEXT) # Set STDC_HEADERS AC_HEADER_STDC AC_LIBTOOL_WIN32_DLL AM_PROG_LIBTOOL # not 64 bit clean in cross-compile AC_CHECK_SIZEOF(void *, 4) CFLAGS="${CFLAGS} -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wshadow -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings" if test "x$enable_maintainer_mode" = "xyes"; then DEBUG_FLAGS='-debug:pdbonly' else DEBUG_FLAGS= AC_ARG_ENABLE(debug, [ --enable-debug Build debugger (.mdb) files for dlls], DEBUG_FLAGS='-debug' ) fi enable_msi="no" if test "x$platform_win32" = "xyes"; then AC_PATH_PROG(WIX, candle, no) if test "x$WIX" != "xno" ; then enable_msi="yes" fi fi CSDEFINES='-define:GTK_SHARP_2_6 -define:GTK_SHARP_2_8 -define:GTK_SHARP_2_10 -define:GTK_SHARP_2_12' GTK_SHARP_VERSION_CFLAGS='-DGTK_SHARP_2_6 -DGTK_SHARP_2_8 -DGTK_SHARP_2_10 -DGTK_SHARP_2_12' AC_SUBST(GTK_SHARP_VERSION_CFLAGS) AC_PATH_PROG(PKG_CONFIG, pkg-config, no) if test "x$PKG_CONFIG" = "xno"; then AC_MSG_ERROR([You need to install pkg-config]) fi dnl for use on the build system BUILD_GTK_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0` BUILD_GTK_LIBS=`$PKG_CONFIG --libs gtk+-2.0` AC_SUBST(BUILD_GTK_CFLAGS) AC_SUBST(BUILD_GTK_LIBS) AC_CHECK_SIZEOF(off_t) OFF_T_FLAGS="-define:OFF_T_$ac_cv_sizeof_off_t" AC_SUBST(OFF_T_FLAGS) MONO_REQUIRED_VERSION=1.0 FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT=4.4 PKG_CHECK_MODULES(MONO_DEPENDENCY, mono >= $MONO_REQUIRED_VERSION, has_mono=true, has_mono=false) if test "x$has_mono" = "xfalse" ; then PKG_CHECK_MODULES(MONO_DEPENDENCY, mono-2 >= $MONO_REQUIRED_VERSION, has_mono=true, has_mono=false) if test "x$has_mono" = "xtrue" ; then PKG_CHECK_MODULES(MONO_DEPENDENCY, mono-2 >= $FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT, NET_4_6_SUPPORT=true, NET_4_6_SUPPORT=false) fi else PKG_CHECK_MODULES(MONO_DEPENDENCY, mono >= $FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT, NET_4_6_SUPPORT=true, NET_4_6_SUPPORT=false) fi if test "x$platform_win32" = "xyes"; then NET_4_6_SUPPORT=true fi AC_PATH_PROG(GACUTIL, gacutil, no) if test "x$GACUTIL" = "xno" ; then AC_MSG_ERROR([No gacutil tool found. You need to install either the mono or .Net SDK.]) fi AC_PATH_PROG([AL], al, no) if test "x$AL" = "xno" ; then AC_MSG_ERROR([No al tool found. You need to install either the mono or .Net SDK.]) fi if test "x$has_mono" = "xtrue"; then GACUTIL_FLAGS='-package $(PACKAGE_VERSION) -gacdir $(DESTDIR)$(prefix)/lib' GENERATED_SOURCES=generated/*.cs AC_PATH_PROG(RUNTIME, mono, no) # If mono is found, it's in the path. Require it to be in the path at runtime as well if test "x$RUNTIME" != "xno" ; then RUNTIME=mono fi AC_PATH_PROG([CSC], mcs, no) if test `uname -s` = "Darwin"; then LIB_PREFIX= LIB_SUFFIX=.dylib else LIB_PREFIX=.so LIB_SUFFIX= fi SDCHECK="`$GACUTIL -l |grep ^System.Drawing, | head -n1 |cut -f1 -d','`" if test "x$SDCHECK" = "xSystem.Drawing"; then enable_dotnet=yes else enable_dotnet=no fi else AC_PATH_PROG(CSC, csc.exe, no) GACUTIL_FLAGS= GENERATED_SOURCES=generated\\\\*.cs enable_dotnet=yes if test x$CSC = "xno"; then AC_MSG_ERROR([You need to install either mono or .Net]) else RUNTIME= LIB_PREFIX= LIB_SUFFIX=.dylib fi fi CS="C#" if test "x$CSC" = "xno" ; then AC_MSG_ERROR([No $CS compiler found]) fi AL="\"$AL\"" AC_SUBST(RUNTIME) AC_SUBST(CSC) AC_SUBST(GACUTIL) AC_SUBST(GACUTIL_FLAGS) AC_SUBST(LIB_PREFIX) AC_SUBST(LIB_SUFFIX) AC_SUBST(GENERATED_SOURCES) PKG_CHECK_MODULES(MONO_CAIRO, mono-cairo >= $MONO_REQUIRED_VERSION, enable_mono_cairo=no, enable_mono_cairo=yes) AC_SUBST(MONO_CAIRO_LIBS) GTK_REQUIRED_VERSION=2.12.0 PKG_CHECK_MODULES(GLIB, gobject-2.0 >= $GTK_REQUIRED_VERSION) AC_SUBST(GLIB_CFLAGS) AC_SUBST(GLIB_LIBS) PKG_CHECK_MODULES(PANGO, pango) AC_SUBST(PANGO_CFLAGS) AC_SUBST(PANGO_LIBS) PKG_CHECK_MODULES(ATK, atk) AC_SUBST(ATK_CFLAGS) AC_SUBST(ATK_LIBS) PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $GTK_REQUIRED_VERSION) AC_SUBST(GTK_CFLAGS) AC_SUBST(GTK_LIBS) GLADE_REQUIRED_VERSION=2.3.6 PKG_CHECK_MODULES(GLADE, libglade-2.0 >= $GLADE_REQUIRED_VERSION, enable_glade=yes, enable_glade=no) AC_SUBST(GLADE_CFLAGS) AC_SUBST(GLADE_LIBS) GDK_BACKEND=`pkg-config --variable=target gtk+-2.0` AC_SUBST(GDK_BACKEND) AC_PATH_PROG(MDASSEMBLER, mdassembler, no) AC_PATH_PROG(MONODOCER, monodocer, no) if test "x$MONODOCER" = "xno" -o "x$MDASSEMBLER" = "xno"; then enable_monodoc=no doc_sources_dir= else enable_monodoc=yes doc_sources_dir="`pkg-config --variable=sourcesdir monodoc`" fi AC_SUBST(MDASSEMBLER) AC_SUBST(MONODOCER) AM_CONDITIONAL(ENABLE_MONO_CAIRO, test "x$enable_mono_cairo" = "xyes") AM_CONDITIONAL(ENABLE_GLADE, test "x$enable_glade" = "xyes") AM_CONDITIONAL(ENABLE_DOTNET, test "x$enable_dotnet" = "xyes") AM_CONDITIONAL(ENABLE_MONODOC, test "x$enable_monodoc" = "xyes") AM_CONDITIONAL(ENABLE_MSI, test "x$enable_msi" = "xyes") AM_CONDITIONAL(ENABLE_MONOGETOPTIONS, test "x$has_mono" = "xtrue") CSFLAGS="$DEBUG_FLAGS $CSDEFINES $WIN64DEFINES -unsafe" if test "x$NET_4_6_SUPPORT" = "xtrue" ; then CSFLAGS="$CSFLAGS -define:HAVE_NET_4_6" fi PKG_CHECK_MODULES(GLIB_2_31, glib-2.0 >= 2.31, HAVE_GLIB_2_31_OR_HIGHER=yes, HAVE_GLIB_2_31_OR_HIGHER=no) if test "x$HAVE_GLIB_2_31_OR_HIGHER" = "xyes" ; then CFLAGS="$CFLAGS -DDISABLE_GTHREAD_CHECK" CSFLAGS="$CSFLAGS -define:DISABLE_GTHREAD_CHECK" fi AC_SUBST(CSFLAGS) AC_SUBST(CFLAGS) AC_OUTPUT([ AssemblyInfo.cs Makefile policy.config msi/gtk-sharp-2.0.wxs msi/Makefile msi/unmanaged/Makefile msi/unmanaged/custom/Makefile msi/unmanaged/custom/etc/Makefile msi/unmanaged/custom/etc/gtk-2.0/Makefile msi/unmanaged/custom/share/Makefile msi/unmanaged/custom/share/icons/Makefile msi/unmanaged/custom/share/icons/hicolor/Makefile sources/Makefile parser/Makefile parser/gapi-2.0.pc parser/gapi2-fixup parser/gapi2-parser generator/Makefile generator/gapi2-codegen glib/Makefile glib/glib-sharp-2.0.pc glib/glib-sharp.dll.config glib/glue/Makefile cairo/Makefile pango/Makefile pango/pango-sharp.dll.config pango/glue/Makefile atk/Makefile atk/atk-sharp.dll.config atk/glue/Makefile gdk/Makefile gdk/gdk-sharp.dll.config gdk/glue/Makefile gtk/Makefile gtk/gtk-sharp-2.0.pc gtk/gtk-sharp.dll.config gtk/glue/Makefile glade/Makefile glade/glade-sharp.dll.config glade/glade-sharp-2.0.pc glade/glue/Makefile gtkdotnet/Makefile gtkdotnet/gtk-dotnet.dll.config gtkdotnet/gtk-dotnet-2.0.pc doc/Makefile sample/GtkDemo/Makefile sample/Makefile sample/pixmaps/Makefile sample/test/Makefile sample/valtest/Makefile sample/valtest/valtest.exe.config sample/opaquetest/Makefile sample/opaquetest/opaquetest.exe.config ]) if test x$platform_win32 = xyes; then # Get rid of 'cyg' prefixes in library names sed -e "s/\/cyg\//\/\//" libtool > libtool.new; mv libtool.new libtool; chmod 755 libtool fi echo "---" echo "Configuration summary" echo "" echo " * Installation prefix = $prefix" echo " * $CS compiler: $CSC $CSFLAGS" echo "" echo " Optional assemblies included in the build:" echo "" echo " * glade-sharp.dll: $enable_glade" echo " * gtk-dotnet.dll: $enable_dotnet " if test "x$enable_mono_cairo" = "xyes"; then echo " * Mono.Cairo.dll: building local assembly" else echo " * Mono.Cairo.dll: using system assembly" fi echo "" echo " NOTE: if any of the above say 'no' you may install the" echo " corresponding development packages for them, rerun" echo " autogen.sh to include them in the build." echo "" echo " * Documentation build enabled: $enable_monodoc " if test "x$enable_monodoc" = "xyes" -a "x$doc_sources_dir" != "x$prefix/lib/monodoc/sources"; then echo " WARNING: The install prefix is different than the monodoc prefix." echo " Monodoc will not be able to load the documentation." fi echo "---" gtk-sharp-2.12.40/COPYING0000664000175000017500000006347612767740470011574 00000000000000 GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. [This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things. To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it. For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights. We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library. To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license. Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs. When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library. We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances. For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system. Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you". A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) "Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) The modified work must itself be a software library. b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. This option is useful when you wish to copy part of the code of the Library into a program that is not a library. 4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. 5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. 6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. 10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. 11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Libraries If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License). To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the library `Frob' (a library for tweaking knobs) written by James Random Hacker. , 1 April 1990 Ty Coon, President of Vice That's all there is to it! gtk-sharp-2.12.40/README0000664000175000017500000000772012767740470011407 00000000000000The Gtk# website can be found at: http://gtk-sharp.sourceforge.net/ Gtk# is a .NET language binding for the GTK+ toolkit and assorted GNOME libraries. Gtk# is free software, licensed under the GNU LGPL. The target is the 2.6 platform. Building & Installing Gtk#: --------------------------- Install the gtk-2 development headers first. On Debian, this can be done using: apt-get install libgtk2.0-dev libpango1.0-dev libglade2-dev The build is the traditional: ./configure make make install You may want to consider using configure's prefix option to install Gtk# using the same prefix as Mono. That way all of your .NET assemblies get placed in the same place, and you don't need to do any extra "configuring" to make it so mono (and mint) can find your assemblies. In other words, doing something like: ./configure --prefix=/the/path/that/was/used/for/mono make make install (Of course, replace "/the/path/that/was/used/for/mono" with whatever path which was used for Mono. This might have been "/usr", "/usr/local", or something similar.) If you are compiling from SVN, you will need libtool and the auto* tools and will need to replace the configure above with bootstrap-2.n for whichever API version you are building. To build a win32 installer, cygwin is required. Use the mingw-gcc compiler and ensure that the autotools are installed, but do not install any of the gtk+ libraries from cygwin. You will need to get the zip bundles for gtk+ and dependencies, along with libglade and libxml2 from: ftp.gnome.org/pub/gnome/binaries for the platform you are building. Extract all these zips, including the devel zips into a single directory and setup your path so that it can access the pkg-config tool provided. You will also want to edit the lib/pkgconfig/*.pc files to specify the prefix you installed to. Once all that is done, configure away. There is a special make target which supports the process of building msi installers. You can make installer-bundle to create a subdirectory named gtk-sharp-binaries- which will contain a wxs script and all the binaries from the build. You will also need to copy into this directory the msm modules for gtk+, libglade, and mono-cairo. These can be built from svn trunk module win32-installers. Once those msm's are in place, execute the build-installer script to produce the msi. Discussion & Support: --------------------- A mailing list for Gtk# discussion is available. You can subscribe to the mailing list by visiting: http://lists.ximian.com/mailman/listinfo/gtk-sharp-list And following the instructions (on that page) to subscribe. Messages are posted on this mailing list by sending them to: gtk-sharp-list@ximian.com (The mailing list requires you to subscribe in order to post messages.) An archive of this mailing list can be found at: http://lists.ximian.com/archives/public/gtk-sharp-list/ Further, a Wiki is available for Gtk#, and can be found at: http://www.nullenvoid.com/gtksharp/wiki/ Also, people can get help with and discuss Gtk# on IRC via the #mono channel on the irc.gnome.org IRC server. People looking for general help with C# should visit the #c# channel on irc.freenode.net IRC server. Developers: ----------- For developers wishing to "get started" with Gtk#, they are encouraged to read the Mono Hand Book: http://www.go-mono.com/tutorial In the Mono Hand Book, Chapter 21 is on Gtk#. (In the Mono Hand Book, the Gtk# .NET bindings are refered to as GNOME.NET.) Hackers: -------- For those who wish to help with the development of Gtk#, they should read the file named: HACKING. Also, anyone wishing to hack Gtk# is encouraged to join the Gtk# mailing list. And to visit the #mono IRC channel (on irc.gnome.org). gtk-sharp-2.12.40/config.h.in0000664000175000017500000000341212767740534012545 00000000000000/* config.h.in. Generated from configure.in by autoheader. */ /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Define to the sub-directory where libtool stores uninstalled libraries. */ #undef LT_OBJDIR /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the home page for this package. */ #undef PACKAGE_URL /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Platform is Win32 */ #undef PLATFORM_WIN32 /* The size of `off_t', as computed by sizeof. */ #undef SIZEOF_OFF_T /* The size of `void *', as computed by sizeof. */ #undef SIZEOF_VOID_P /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Version number of package */ #undef VERSION gtk-sharp-2.12.40/NEWS0000664000175000017500000000001012767740470011207 00000000000000try CNN gtk-sharp-2.12.40/HACKING0000775000175000017500000000173512767740470011521 00000000000000Before beginning work on something, please post your intentions to the mailing list (gtk-sharp-list@ximian.com). Duplication of effort just gets folks cranky in general. Prior to checking anything into CVS, please send a patch to the mailing list for approval. Any patches should be submitted in diff -u format. Also, it is assumed that the submitter has verified that the patch does not break the build, and hopefully that it doesn't break runtime. Getting Started: ---------------- Getting started with "hacking" Gtk# can seem formidable at first. However there is some additional information already written, to help you get up and going. Those wishing to "hack" at Gtk#, are encouraged to also read: o README.generator o sources/README If you still have more questions or need assitance, you can get help on the Gtk# mailing list and the #mono IRC channel. (Information about each of these is contained in the README file.) gtk-sharp-2.12.40/install-sh0000755000175000017500000003546312676613141012527 00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2014-09-12.12; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # 'make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. tab=' ' nl=' ' IFS=" $tab$nl" # Set DOITPROG to "echo" to test this script. doit=${DOITPROG-} doit_exec=${doit:-exec} # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_mkdir= # Desired mode of installed file. mode=0755 chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false is_target_a_directory=possibly usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve the last data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -s) stripcmd=$stripprog;; -t) is_target_a_directory=always dst_arg=$2 # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac shift;; -T) is_target_a_directory=never;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done # We allow the use of options -d and -T together, by making -d # take the precedence; this is for compatibility with GNU install. if test -n "$dir_arg"; then if test -n "$dst_arg"; then echo "$0: target directory not allowed when installing a directory." >&2 exit 1 fi fi if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call 'install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then if test $# -gt 1 || test "$is_target_a_directory" = always; then if test ! -d "$dst_arg"; then echo "$0: $dst_arg: Is not a directory." >&2 exit 1 fi fi fi if test -z "$dir_arg"; then do_exit='(exit $ret); exit $ret' trap "ret=129; $do_exit" 1 trap "ret=130; $do_exit" 2 trap "ret=141; $do_exit" 13 trap "ret=143; $do_exit" 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names problematic for 'test' and other utilities. case $src in -* | [=\(\)!]) src=./$src;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dst_arg # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test "$is_target_a_directory" = never; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else dstdir=`dirname "$dst"` test -d "$dstdir" dstdir_status=$? fi fi obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # Create intermediate dirs using mode 755 as modified by the umask. # This is like FreeBSD 'install' as of 1997-10-28. umask=`umask` case $stripcmd.$umask in # Optimize common cases. *[2367][2367]) mkdir_umask=$umask;; .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; *[0-7]) mkdir_umask=`expr $umask + 22 \ - $umask % 100 % 40 + $umask % 20 \ - $umask % 10 % 4 + $umask % 2 `;; *) mkdir_umask=$umask,go-w;; esac # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false case $umask in *[123567][0-7][0-7]) # POSIX mkdir -p sets u+wx bits regardless of umask, which # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) # $RANDOM is not portable (e.g. dash); use it when possible to # lower collision chance tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0 # As "mkdir -p" follows symlinks and we work in /tmp possibly; so # create the $tmpdir first (and fail if unsuccessful) to make sure # that nobody tries to guess the $tmpdir name. if (umask $mkdir_umask && $mkdirprog $mkdir_mode "$tmpdir" && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. test_tmpdir="$tmpdir/a" ls_ld_tmpdir=`ls -ld "$test_tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null fi trap '' 0;; esac;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # The umask is ridiculous, or mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; [-=\(\)!]*) prefix='./';; *) prefix='';; esac oIFS=$IFS IFS=/ set -f set fnord $dstdir shift set +f IFS=$oIFS prefixes= for d do test X"$d" = X && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask=$mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { test ! -f "$dst" || $doit $rmcmd -f "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: gtk-sharp-2.12.40/AssemblyInfo.cs.in0000664000175000017500000000034512767740470014052 00000000000000using System.Reflection; using System.Runtime.CompilerServices; [assembly:AssemblyVersion("@API_VERSION@")] [assembly:AssemblyDelaySign(false)] [assembly:AssemblyKeyFile("gtk-sharp.snk")] [assembly:GLib.IgnoreClassInitializers] gtk-sharp-2.12.40/doc/0000775000175000017500000000000012767740535011350 500000000000000gtk-sharp-2.12.40/doc/ChangeLog0000664000175000017500000023373212767740470013052 000000000000002010-05-06 Andrés G. Aragoneses * en/Gtk/ListStore.xml: fix example to not raise an exception. Reported by Vinicius (|Zippo|) in #mono. 2008-03-17 Mike Kestner * en/Gtk/HBox.xml: * en/Gtk/VBox.xml: move example tag outside summary. 2006-08-09 Alp Toker * en/GLib/Thread.xml: * en/Gdk/Threads.xml: Explain proper thread awareness init. 2006-03-23 Hector E. Gomez Morales * en/Gtk/Button.xml * en/Gtk/CellRendererText.xml * en/Gtk/CellLayoutDataFunc.xml * en/Gtk/CellRenderer.xml: Docs. 2006-03-22 Hector E. Gomez Morales * en/Gtk/AboutDialogActivateLinkFunc.xml * en/Gtk/Accelerator.xml * en/Gtk/AccelGroup.xml * en/Gtk/Action.xml * en/Gtk/ActionGroup.xml * en/Gtk/Application.xml: Docs. 2006-03-01 Hector E. Gomez Morales * en/Gdk/PixbufRotation.xml * en/Gdk/Pixbuf.xml * en/Gdk/PixbufSaveFunc.xml: Docs. 2005-08-28 Ben Maurer * Makefile.am (gtk-sharp-docs.zip gtk-sharp-docs.tree): Use mdassembler. * en/Gtk/NodeSelection.xml: Docs 2005-08-14 John Luke * en/Gtk/IconView.xml: add iconview example based on GtkDemo code 2005-08-09 Dan Winship * en/index.xml: remove gda/gnomedb docs * en/Gda: * en/Gda.xml: * en/GnomeDb: * en/GnomeDb.xml: gone 2005-07-19 John Luke * en/Gtk/TreeModelFilter.xml: add an example 2005-06-22 Mike Kestner * gen-vm-docs.cs : some monodocer formatting changes and attr lookup enhancements. 2005-06-16 Mike Kestner * en/*/*.xml : run the versionator to add since elements for 2.6. 2005-06-16 Mike Kestner * en/*/*.xml : run the versionator to add since elements for 2.4. 2005-06-10 Dan Winship * en/Gnome/App.xml (AppId): * en/Gnome/AppBar.xml (Interactivity, HasProgress, HasStatus): * en/Gtk/MessageDialog.xml (MessageType): now read-write 2005-06-06 Dan Winship * en/Gdk/PangoRenderer.xml: update return type of GetDefault 2005-06-01 Dan Winship * en/GLib/Value.xml: document the new string[] methods (and all of the previously-undocumented explicit cast operators). * en/Gtk/AboutDialog.xml: document Authors, Artists, Documenters. 2005-05-24 Dan Winship * en/Gdk/PixdataType.xml: * en/Gnome/PaperSelectorFlags.xml: * en/Gnome/PrintDialogFlags.xml: * en/Gnome/PrintDialogRangeFlags.xml: * en/Gnome/PrintUnitBase.xml: Regen, adding FlagsAttribute * en/index.xml * en/Gtk/ArgFlags.xml * en/Gtk/RcTokenType.xml: remove removed types 2005-05-23 Mike Kestner * Makefile.am : add an update-delete target for --delete. * en/*/*.xml : update-delete. 2005-05-23 Mike Kestner * Makefile.am : switch to monodocer * updater : kill * en/*/*.xml : enormo-diff from monodocer first run without --delete. 2005-05-07 John Luke * en/Pango/FontsetForeachFunc.xml: * en/Pango/Matrix.xml: * en/Pango/FcDecoder.xml: * en/Pango/FcDecoderFindFunc.xml: * en/Pango/Renderer.xml: * en/Pango/AttrDataCopyFunc.xml: * en/Pango/EllipsizeMode.xml: * en/Pango/RenderPart.xml: doc some of these 2005-05-04 John Luke * en/Gtk/AboutDialog.xml: doc * en/Gtk/CellRendererCombo.xml: doc * en/Gtk/CellRendererProgress.xml: doc * en/Gtk/IconView.xml: doc 2005-05-04 Dan Winship * en/GLib/GType.xml: update, and remove a bunch of examples of how not to derive types any more... * en/GLib/GTypeAttribute.xml: add 2005-05-04 Dan Winship * updater/updater.cs (GetFieldVisibility, GetMethodVisibility): return "protected" for "protected internal" members (rather than returning null and causing them to be ignored). * en/Gtk/BoxChild.xml: * en/Gtk/ButtonBoxChild.xml: * en/Gtk/FixedChild.xml: * en/Gtk/LayoutChild.xml: * en/Gtk/MenuChild.xml: * en/Gtk/NotebookChild.xml: * en/Gtk/PanedChild.xml: * en/Gtk/TableChild.xml: * en/Gtk/ToolbarChild.xml: document constructors 2005-05-03 Dan Winship * document new callback properties / deprecate some old callback-setting methods * updater/updater.cs (Update): close the writer when we're done. (Compare): don't write "updates" to a file if its FullName is wrong. 2005-04-24 Dan Winship * en/Pango/Attribute.xml, etc: document new Attribute stuff. 2005-04-21 Dan Winship * en/GLib/Marshaller.xml: update * en/Gtk/ModuleDisplayInitFunc.xml: * en/Gtk/ModuleInitFunc.xml: gone 2005-04-22 John Luke * en/*/*.xml: run gen*.exe to fill in some docs on the new gtk, atk, gdk, and pango stuff for 2.6 2005-04-08 Dan Winship * en/Gtk/Container.xml: document new children stuff 2005-04-04 Dan Winship * en/Pango/Scale.xml: update 2005-04-01 Dan Winship * en/Gdk/Pixbuf.xml: * en/Gdk/PixbufAnimation.xml: * en/Gdk/PixbufLoader.xml: * en/Gtk/Image.xml: document new/updated stream/resource constructors 2005-03-15 Dan Winship * en/Gtk/NodeStore.xml (AddNode): * en/Gtk/TreeNode.xml (AddChild): I, for one, welcome our new insert overloads. * en/Gtk/TreeNodeRemovedHandler.xml: add "child" arg 2005-02-23 Dan Winship * en/GnomeDb/EditorClass.xml: gone * en/Gtk/AccelActivateArgs.xml: * en/Gtk/AccelActivateHandler.xml: * en/Gtk/AccelGroup.xml: * en/Gtk/AccelMap.xml: * en/Gtk/ActionGroup.xml: * en/Gtk/MapChangedArgs.xml: * en/Gtk/MapChangedHandler.xml: * en/Gtk/Widget.xml: * en/Gtk/WidgetEventAfterArgs.xml: * en/Gtk/WidgetEventAfterHandler.xml: document newly exposed signals, args, handlers * en/Gda/*xml: rototilled by parser changes 2005-02-18 Mike Kestner * en/Gtk/ClipboardGetFunc.xml : fix param list. 2005-02-15 Dan Winship * updater/updater.cs (Compare): handle BaseType changes (Generate, AddTypeSignature): fix spelling of "delegate" * en/*: regenerate to update BaseType nodes 2005-02-11 Dan Winship * en/Gtk/Widget.xml (StyleGetValist, StyleGetProperty): update 2005-02-07 Ben Maurer * en/Gdk/Point.xml, en/Gdk/Rectangle.xml: Document new members. 2005-01-28 Dan Winship * en/GLib/NotifyArgs.xml: * en/GLib/NotifyHandler.xml: * en/GLib/Object.xml (AddNotification, RemoveNotification): document 2005-01-18 Dan Winship * en/GLib/Marshaller.xml (StringFormat): document * en/Gtk/MessageDialog.xml: update ctors 2005-01-07 Shane Landrum * en/Glade/*: Cleaned up some parameters, added docs. 2005-01-07 Shane Landrum * en/Gnome/*: Cleaned up some sections to include links to the types they use; edited sections. 2005-01-07 Shane Landrum * en/GConf/ChangeSet.xml * en/GConf/NoSuchKeyException.xml * en/GConf/NotifyEventArgs.xml * en/GConf/ClientBase.xml * en/GConf/NotifyFuncNative.xml * en/GConf/Client.xml: Cleaned up and added docs. 2005-01-06 Dan Winship * en/Gtk/StockManager.xml: resurrect and update 2005-01-05 Shane Landrum * en/Gtk/XEmbedMessageType.xml * en/Gtk/TargetPair.xml : Marked "Do not use." * en/Gtk/ToggleAction.xml * en/Gtk/Socket.xml * en/Gtk/Style.xml * en/Gtk/ToggleActionEntry.xml * en/Gtk/VButtonBox.xml: Added docs. 2005-01-05 Shane Landrum * en/Gtk/SignalFunc.xml * en/Gtk/Signal.xml * en/Gtk/RcProperty.xml * en/Gtk/PrintFunc.xml * en/Gtk/PreviewType.xml: Marked "Do not use." * en/Gtk/RadioAction.xml * en/Gtk/Toolbar.xml * en/Gtk/Rc.xml: Added docs. 2005-01-05 Shane Landrum * en/Gtk/*ImageData.xml: Removed, see bugzilla.ximian.com #70894. * en/Gtk/ListStore.xml * en/Gtk/MessageDialog.xml * en/Gtk/Main.xml * en/Gtk/Layout.xml * en/Gtk/NodeStore.xml * en/Gtk/Label.xml * en/Gtk/MatchType.xml * en/Gtk/Object.xml: Added docs. 2005-01-05 Shane Landrum * en/Gtk/Item.xml * en/Gtk/Input.xml * en/Gtk/ToolItem.xml * en/Gtk/UIManager.xml: Added docs. * en/Gtk/IMStatusStyle.xml * en/Gtk/IMPreeditStyle.xml * en/Gtk/IMContextInfo.xml: Marked "do not use" pending resolution of bug 71021. 2005-01-04 Shane Landrum * en/Gtk/ScreenChangedArgs.xml * en/Gtk/PropertyNotifyEventArgs.xml * en/Gtk/PreActivateArgs.xml * en/Gtk/PopupContextMenuArgs.xml * en/Gtk/PostActivateArgs.xml * en/Gtk/PathClickedArgs.xml * en/Gtk/NoExposeEventArgs.xml * en/Gtk/PixbufInsertedArgs.xml: Documented event args. 2005-01-04 Shane Landrum * en/Gtk/Image.xml * en/Gtk/RetrieveSurroundingArgs.xml * en/Gtk/IMMulticontext.xml * en/Gtk/FileInfo.xml * en/Gtk/FileInfoType.xml * en/Gtk/IMStatusStyle.xml * en/Gtk/RetrieveSurroundingHandler.xml * en/Gtk/IMPreeditStyle.xml: Added docs. 2005-01-03 Shane Landrum * en/Gtk/IMContextSimple.xml * en/Gtk/IMContext.xml * en/Gtk/IMContextInfo.xml: Added docs. 2005-01-03 Shane Landrum * en/Gtk/HButtonBox.xml * en/Gtk/Global.xml * en/Gtk/FontButton.xml: Add docs. 2005-01-03 Mike Kestner * en/Gtk/TreeNodeAttribute.xml : document ListOnly and add example. 2005-01-03 Shane Landrum * en/Gtk/DrawingArea.xml * en/Gtk/Expander.xml * en/Gtk/ComboBox.xml * en/Gtk/Style.xml * en/Gtk/EntryCompletion.xml * en/Gtk/EventBox.xml: Added docs; turned some @param to . 2005-01-03 Shane Landrum * en/Gtk/DrawGdkArgs.xml * en/Gtk/ContainerChild.xml * en/Gtk/DestroyNotify.xml * en/Gtk/Draw.xml * en/Gtk/CellViewMenuItem.xml * en/Gtk/CellView.xml * en/Gtk/Callback.xml * en/Gtk/Container.xml: Added docs. 2005-01-02 Shane Landrum * en/Gtk/ComboBox.xml: Doc edits. * en/Gtk/ContainerChild.xml * en/Gtk/Drag.xml * en/Gtk/Draw.xml * en/Gtk/CellViewMenuItem.xml * en/Gtk/DisconnectProxyArgs.xml * en/Gtk/CellView.xml * en/Gtk/Container.xml: added docs. 2005-01-02 Shane Landrum * en/Gtk/ComboBox.xml * en/Gtk/CellViewMenuItem.xml * en/Gtk/CellView.xml * en/Gtk/CellRendererSepText.xml * en/Gtk/ConnectProxyArgs.xml * en/Gtk/Combo.xml * en/Gtk/CellRendererText.xml * en/Gtk/CheckMenuItem.xml: Added docs. 2004-12-31 Shane Landrum * en/Gtk/Button.xml * en/Gtk/Calendar.xml * en/Gtk/ButtonBox.xml * en/Gtk/Bindings.xml * en/Gtk/CellRenderer.xml: Added docs. 2004-12-31 Shane Landrum * en/Gtk/ArgFlags.xml * en/Gtk/Arg.xml: Added "Do not use" marks. * en/Gtk/Action.xml * en/Gtk/AddWidgetArgs.xml * en/Gtk/Alignment.xml * en/Gtk/AccelGroup.xml: Added docs 2004-12-31 Shane Landrum * en/Gtk/FileSystem.xml: Wording tweak. * en/Gtk/ActionGroup.xml * en/Gtk/Action.xml * en/Gtk/ActionEntry.xml * en/Gtk/AccelGroup.xml * en/Gtk/AccelMap.xml: Added docs. 2004-12-31 Shane Landrum * en/Gtk/FileSystem.xml * en/Gtk/FileSystemUnix.xml * en/Gtk/FileSystemVolume.xml * en/Gtk/FileSystemWin32.xml: Filesystem docs. * en/Gtk/FilesAddedHandler.xml * en/Gtk/FilesChangedHandler.xml * en/Gtk/FilesRemovedHandler.xml: Handler docs. * en/Gtk/FileInfoType.xml * en/Gtk/FileSystemError.xml: Docs for some enums. 2004-12-30 Shane Landrum * en/Gtk/FileSystem.xml * en/Gtk/FileInfo.xml * en/Gtk/FileInfoType.xml * en/Gtk/FileSystemUnix.xml * en/Gtk/FileSystemVolume.xml * en/Gtk/FileSystemWin32.xml * en/Gtk/FileFilterInfo.xml: Docs for filesystem-handling classes. 2004-12-30 Shane Landrum * en/Gtk/IconSource.xml * en/Gtk/IconThemeFile.xml * en/Gtk/IconThemeFileParseError.xml * en/Gtk/IconThemeFileSectionFunc.xml * en/Gtk/IconTheme.xml * en/Gtk/IconThemeFileLineFunc.xml: Docs for icon-theme classes. 2004-12-30 Shane Landrum * en/Gtk/Scale.xml * en/Gtk/Paned.xml * en/Gtk/ProgressBar.xml * en/Gtk/Plug.xml * en/Gtk/MovementStep.xml: Docs, some for 2.4 changes. 2004-12-30 Shane Landrum * en/Gtk/FilesAddedArgs.xml * en/Gtk/FilePath.xml * en/Gtk/FilesRemovedArgs.xml * en/Gtk/FileFolder.xml * en/Gtk/FilesChangedArgs.xml: Filesystem-handling docs. * en/Gtk/ObjectRequestedArgs.xml * en/Gtk/MatchSelectedArgs.xml * en/Gtk/ChangedArgs.xml * en/Gtk/ActionActivatedArgs.xml: Event data docs. 2004-12-30 Mike Kestner * en/Gtk/IterFactoryEntry.xml : fix a make assemble breakage. * en/Gtk/TreeView.xml : docs for new InsertColumn overloads. 2004-12-30 Shane Landrum * en/Gtk/ItemFactory.xml * en/Gtk/MenuShell.xml * en/Gtk/MenuEntry.xml * en/Gtk/Menu.xml * en/Gtk/ItemFactoryEntry.xml * en/Gtk/MenuCallback.xml: Docs for menus and menu creation. * en/Gtk/Notebook.xml: Docs for a 2.4 change. 2004-12-30 Shane Landrum * en/Gtk/TreeViewColumn.xml * en/Gtk/TreeStore.xml * en/Gtk/TreeView.xml * en/Gtk/TreeRowReference.xml * en/Gtk/TreeModelFilter.xml: Add docs 2004-12-29 John Luke * gen-intptr-ctor-docs.cs: docs for Type (IntPtr) ctor * gen-gtype-ctor-docs.cs: docs for Type (GType) ctor * gen-finalize-docs.cs: docs Finalize methods * gen-gtype-docs.cs: docs GType properties, based off of gen-vm-docs.cs * en/*.xml: run these 4 tools for all the assemblies 2004-12-29 Shane Landrum * en/Gtk/FileChooserEmbed.xml * en/Gtk/FileChooserDialog.xml * en/Gtk/FileChooserWidget.xml * en/Gtk/FileFilter.xml * en/Gtk/FileFilterFlags.xml * en/Gtk/FileChooser.xml: file chooser and filter docs. 2004-12-28 Jeroen Zwartepoorte * en/Gnome.Vfs/*.xml: more docs. 2004-12-28 Jeroen Zwartepoorte * en/Gnome.Vfs/*.xml: remove docs for files that no longer exist. 2004-12-27 Jeroen Zwartepoorte * en/Gnome.Vfs.xml: * en/Gnome.Vfs/*.xml: major doc commit (more to follow). 2004-12-23 Mike Kestner * en/GLib/ClassInitializerAttribute.xml : doc new attr. * en/Gtk/BindingAttribute.xml : doc new attr. 2004-12-22 Dan Winship Update for changes from automatic field generation. * en/Gdk/Colormap.xml (Size): New read-only property. * en/Gdk/Image.xml (Bpp, Bpl, Depth, ByteOrder, BitsPerPixel, Width, Visual, Type, Height): New read-only properties * en/Gtk/FileSelection.xml (MainVBox): New read-only property * en/Gtk/FontSelectionDialog.xml (ApplyButton, CancelButton, OkButton): New read-only properties. * en/Gtk/RcStyle.xml (Name, Xthickness, Ythickness, FontDesc): New read-only properties. * en/Gtk/Style.xml (Xthickness, Ythickness, FontDesc): New read-only properties. * en/Gtk/Toolbar.xml (NumChildren): New read-only property. * en/Gtk/Widget.xml (Requisition): New read-write property. * en/Gnome/App.xml (Contents, Statusbar): Now read-write rather than write-only (Name, Prefix, AccelGroup): New read-only properties. * en/Gnome/DateEdit.xml (InitialTime): Fixed to use DateTime rather than ulong. * en/Gnome/Druid.xml (FinishButton, NextButton, HelpButton, BackButton, CancelButton): New read-only properties. * en/Gnome/DruidPageEdge.xml (BgColor, Title, TextboxColor, TextColor, LogoBgColor, Watermark, TopWatermark, TitleColor, Logo, Text): Now read-write rather than write-only. (Position): New read-only property. * en/Gnome/DruidPageStandard.xml (ContentsBackground, TitleForeground, LogoBackground, Background): Now read-write rather than write-only. (VBox): New read-only property. * en/Gnome/FontPicker.xml (Font): Fixed to use Gdk.Font rather than IntPtr. 2004-12-22 Dan Winship * en/Gtk/Decorated.xml: * en/Gtk/FileChooserDefault.xml: * en/Gtk/FileChooserEntry.xml: * en/Gtk/FileChooserProp.xml: * en/Gtk/PathBar.xml: * en/Gtk/RBNode.xml: * en/Gtk/RBTree.xml: * en/Gtk/RBTreeTraverseFunc.xml: * en/Gtk/RBTreeView.xml: * en/Gtk/Text.xml: * en/Gtk/TextBTree.xml: * en/Gtk/TextCounter.xml: * en/Gtk/TextLineSegment.xml: * en/Gtk/TextLineSegmentClass.xml: * en/Gtk/TextLogAttrCache.xml: * en/Gtk/TextMarkBody.xml: * en/Gtk/TextSegCheckFunc.xml: * en/Gtk/TextSegCleanupFunc.xml: * en/Gtk/TextSegDeleteFunc.xml: * en/Gtk/TextSegLineChangeFunc.xml: * en/Gtk/TextSegSplitFunc.xml: * en/Gtk/TextTagInfo.xml: * en/Gtk/TextToggleBody.xml: * en/Gtk/TextUtilCharChosenFunc.xml: gone * en/Gtk/ThemeEngine.xml: mostly gone 2004-12-21 Mike Kestner * *.xml : fix some bad enum value docs. 2004-12-21 Dan Winship * en/Gtk/CheckMenuItem.xml (EmitToggled): document * en/Gnome/PixmapEntry.xml (GnomeEntry, GtkEntry): gone (sort of) * updater/updater.cs: remove unused vars 2004-12-21 Jeroen Zwartepoorte * en/Gnome.Vfs.xml: * en/Gnome.Vfs/*.xml: Start documenting Gnome.Vfs. 2004-12-21 Jeroen Zwartepoorte * en/Gnome.Vfs/*.xml : updater run for recent changes. Remove obsolete ModuleCallback*[In|Out].xml files. 2004-12-20 John Luke * en/Gtk/Widget.xml: finish * en/Gtk/Window.xml: finish * en/Gtk/*.xml: random stuff, mostly enums 2004-12-20 John Luke * en/Gtk/CellView.xml: doc most of this * en/Gtk/EntryCompletion.xml: add an example from GtkDemo 2004-12-20 Dan Winship * en/Gtk/TextCharPredicate.xml: update signature... this is usable now * en/Atk/NoOpObject.xml (GetCharacterAtOffset): * en/Atk/Text.xml (GetCharacterAtOffset): * en/Gtk/Entry.xml (InvisibleChar): * en/Pango/Global.xml (UnicharDirection, ScriptForUnichar): * en/Vte/Terminal.xml (IsWordChar): * en/Vte/TerminalAccessible.xml (GetCharacterAtOffset): document newly-wrapped methods 2004-12-20 Dan Winship * en/Gtk/StockManager.xml: gone * en/Gtk/Stock.xml (Lookup): document here 2004-12-20 Mike Kestner * en/Gnome.Vfs/*.xml : updater run for recent changes. 2004-12-17 Shane Landrum * 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. 2004-12-17 Dan Winship * en/Gnome/FontPicker.xml (SetFontName): * en/Gnome/IconEntry.xml (SetFilename): * en/GnomeDb/Combo.xml (SetModel): * en/GnomeDb/List.xml (SetModel): * en/Gtk/Combo.xml (SetValueInList): * en/Gtk/FontButton.xml (SetFontName): * en/Gtk/FontSelection.xml (SetFontName): * en/Gtk/Image.xml (GetStock, GetIconSet, GetPixmap, GetImage): * en/Gtk/Table.xml (SetRowSpacing, GetRowSpacing): Newly-visible methods * en/Gnome/Entry.xml (OnTextInserted): * en/Gnome/FileEntry.xml (OnTextInserted): belatedly update for previous change 2004-12-17 Shane Landrum * 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 2004-12-17 Shane Landrum * en/Gtk/RadioAction.xml * en/Gtk/RadioActionEntry.xml * en/Gtk/RadioButton.xml * en/Gtk/RadioMenuItem.xml * en/Gtk/RadioToolButton.xml: Add docs 2004-12-16 Dan Winship * en/Gtk/InputArgs.xml (NewValue): * en/Gtk/ToggleSizeRequestedArgs.xml (Requisition): now write-only rather than read-only * en/Gtk/SizeRequestedArgs.xml (Requisition): * en/Gtk/TextInsertedArgs.xml (Position): now read-write * en/Gtk/Entry.xml (OnTextInserted): "position" is now "ref" rather than "out" * en/Gtk/RowsReorderedArgs.xml (NewOrder): changed, but still broken 2004-12-16 Dan Winship * 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 2004-12-15 John Luke * *.xml: run gen-vm-docs.exe and gen-handlerargs.exe on everything 2004-12-15 John Luke * 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 2004-12-15 John Luke * en/Pango/FcFont.xml: * en/Pango/FcFontMap.xml: * en/Pango/Script.xml: * en/Pango/ScriptIter.xml: doc'em 2004-12-14 Shane Landrum * 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. 2004-12-14 Shane Landrum * 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. 2004-12-12 Shane Landrum * 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. 2004-12-09 Mike Kestner * en/Gtk/HTML*.xml : size_t marshaling updates. 2004-12-08 John Luke * en/Gtk/IconLookupFlags.xml * en/Gtk/IconInfo.xml * en/Gtk/IconTheme.xml * en/Gtk/IconThemeError.xml: doc these 2004-12-08 Mike Kestner * en/Art/Affine.xml : some s/int/bool changes. * en/Gtk/Expander.xml : a ctor the updater added. 2004-12-06 John Luke * en/Gtk/ComboBoxEntry.xml: doc it * en/Gtk/Entry.xml: doc a few missing things * en/Gtk/*.xml: run gen-handlerargs-docs.exe for gtk-sharp.dll and gen-vm-docs.exe 2004-12-06 Shane Landrum * en/Gtk/AccelCanActivateHandler.xml * en/Gtk/Widget.xml * en/Gtk/AccelCanActivateArgs.xml: Added docs for accelerator-related signals and handlers. 2004-12-05 John Luke * en/Gtk/Expander.xml: doc it 2004-12-03 Dan Winship * en/Gtk/TextBuffer.xml: * en/Gtk/TextView.xml: update for TextIter pass-by-ref changes * en/Gdk/Bitmap.xml: gone * en/Gdk/GC.xml: * en/Gdk/PangoAttrStipple.xml: * en/Gdk/Pixbuf.xml: * en/Gdk/Pixmap.xml: * en/Gdk/Window.xml: * en/Gtk/Drag.xml: * en/Gtk/Image.xml: * en/Gtk/TextAppearance.xml: * en/Gtk/Widget.xml: update for Gdk.Bitmap -> Gdk.Pixmap aliasing 2004-12-02 Shane Landrum * 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. 2004-11-30 John Luke * en/Gtk/FileChooserAction.xml: * en/Gtk/FileChooserError.xml: * en/Gtk/ComboBox.xml: doc some stuff 2004-11-30 Shane Landrum * 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. 2004-11-26 Jeroen Zwartepoorte * doc/en/Gtk/ActionEntry.xml: * doc/en/Gtk/ActionGroup.xml: * doc/en/Gtk/RadioActionEntry.xml: * doc/en/Gtk/ToggleActionEntry.xml: * doc/en/Gtk/UIManager.xml: New ActionEntry related structs & methods. 2004-11-18 Dan Winship * en/Gtk/: update for container child property change 2004-11-16 Dan Winship * en/GLib/Value.xml: document new constructors 2004-11-15 Dan Winship * 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 2004-11-15 Mike Kestner * en/Gtk/ColorSelection.xml : remove newly hidden deprecated methods. * en/*/*.xml : add some stubs for new DestroyNotify methods. 2004-11-09 John Luke * en/Gtk/Action.xml: * en/Gtk/ActionGroup.xml: * en/Gtk/UIManagerItemType.xml: * en/Gtk/UIManager.xml: doc 2004-11-09 Dan Winship * en/GLib/Object.xml: * en/Gtk/Widget.xml: update for CreateNativeObject changes 2004-11-08 Dan Winship * 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 2004-11-05 Mike Kestner * Makefile.am : copy assemblies into updater so they don't have to be installed to run the updater. * updater/updater.cs : fix for recent corlib bugfix. Thanks to Dan Winship for identifying the solution. 2004-10-28 Dan Winship * 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 2004-10-11 Shane Landrum * en/Gdk/AreaUpdatedArgs.xml * en/Gdk/SizePreparedArgs.xml: Delegate class docs. 2004-10-11 Shane Landrum * 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. 2004-09-25 Shane Landrum * 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. 2004-09-23 Mike Kestner * en/Gtk/Widget.xml : docs for new OnSetScrollAdjustments VM. 2004-09-20 Shane Landrum * 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. 2004-09-20 Shane Landrum * 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. 2004-09-20 Shane Landrum * en/Gdk/Window.xml : Added docs from GDK source. 2004-09-13 Shane Landrum * en/Gtk/Accelerator.xml * en/Gtk/Arg.xml * en/Gtk/CallbackInvoker.xml * en/Gtk/CellRendererState.xml * en/Gtk/ColorSelectionButton.xml * en/Gtk/Combo.xml * en/Gtk/Container.xml * en/Gtk/Decorated.xml * en/Gtk/Dialog.xml * en/Gtk/Drag.xml * en/Gtk/FSButton.xml * en/Gtk/FileSelection.xml * en/Gtk/Function.xml * en/Gtk/Gc.xml * en/Gtk/Grab.xml * en/Gtk/HandleBox.xml * en/Gtk/Input.xml * en/Gtk/InputDialog.xml * en/Gtk/Widget.xml * en/Gtk/Window.xml: Miscellaneous class docs. 2004-09-13 Shane Landrum * en/Gtk/ClipboardClearFunc.xml * en/Gtk/ClipboardGetFunc.xml * en/Gtk/ClipboardTextReceivedFunc.xml * en/Gtk/ColorSelectionChangePaletteWithScreenFunc.xml: Callback docs. 2004-09-13 Shane Landrum * en/Gtk/Image.xml * en/Gtk/ImageAnimationData.xml * en/Gtk/ImageImageData.xml * en/Gtk/ImagePixbufData.xml * en/Gtk/ImagePixmapData.xml * en/Gtk/ImageStockData.xml: Image-related class docs. * en/Gtk/ItemFactory.xml * en/Gtk/ItemFactoryCallback.xml * en/Gtk/ItemFactoryCallback1.xml * en/Gtk/ItemFactoryEntry.xml: ItemFactory-related class docs. 2004-09-13 Shane Landrum * en/Gtk/IMContext.xml * en/Gtk/IMContextInfo.xml * en/Gtk/IMContextSimple.xml * en/Gtk/IMMulticontext.xml * en/Gtk/IMPreeditStyle.xml * en/Gtk/IMStatusStyle.xml: Input-method-related classes. 2004-09-13 Shane Landrum * en/Gtk/ChildNotifiedArgs.xml * en/Gtk/ClientEventArgs.xml * en/Gtk/CommitArgs.xml * en/Gtk/DeleteEventArgs.xml * en/Gtk/DestroyEventArgs.xml * en/Gtk/DragDataGetArgs.xml * en/Gtk/DragDataReceivedArgs.xml * en/Gtk/DrawGdkArgs.xml * en/Gtk/ExpandCollapseCursorRowArgs.xml * en/Gtk/GrabNotifyArgs.xml * en/Gtk/InputArgs.xml: Docs for event data classes. 2004-09-13 Shane Landrum * en/Gtk/HTMLBeginFlags.xml * en/Gtk/HTMLCommandType.xml * en/Gtk/HTMLEditorEventType.xml * en/Gtk/HTMLEmbedded.xml * en/Gtk/HTMLEtchStyle.xml * en/Gtk/HTMLStream.xml: Docs for HTML-related classes. 2004-09-09 Mike Kestner * en/Gdk/*.xml: api updates. 2004-09-06 Shane Landrum * en/Gtk/Adjustment.xml * en/Gtk/Callback.xml * en/Gtk/Clipboard.xml * en/Gtk/Quit.xml * en/Gtk/ReadyEvent.xml * en/Gtk/ImageStockData.xml * en/Gtk/MovementStep.xml * en/Gtk/RulerMetric.xml * en/Gtk/Selection.xml * en/Gtk/ThreadNotify.xml: Docs for assorted helper classes. 2004-09-06 Shane Landrum * en/Gtk/ProgressBar.xml * en/Gtk/RadioButton.xml * en/Gtk/RadioMenuItem.xml * en/Gtk/Scrollbar.xml : Docs for assorted widgets. 2004-09-06 Shane Landrum * en/Gtk/HTML.xml * en/Gtk/HTMLCommandType.xml * en/Gtk/HTMLCursorSkipType.xml : Docs related to HTML widgets. * en/Gtk/Button.xml * en/Gtk/Widget.xml * en/Gtk/Style.xml * en/Gtk/Container.xml : Docs for major components. 2004-09-06 Shane Landrum * en/Gtk/CommitArgs.xml * en/Gtk/ConfigureEventArgs.xml * en/Gtk/CursorMoveArgs.xml * en/Gtk/CycleChildFocusArgs.xml * en/Gtk/DeleteRangeArgs.xml * en/Gtk/DirectionChangedArgs.xml * en/Gtk/DrawPrintArgs.xml * en/Gtk/EnterNotifyEventArgs.xml * en/Gtk/FocusChildSetArgs.xml * en/Gtk/FocusTabArgs.xml * en/Gtk/FormatValueArgs.xml * en/Gtk/FrameEventArgs.xml * en/Gtk/HierarchyChangedArgs.xml * en/Gtk/LeaveNotifyEventArgs.xml * en/Gtk/MoveArgs.xml * en/Gtk/MoveCurrentArgs.xml * en/Gtk/MoveCursorArgs.xml * en/Gtk/MoveFocusArgs.xml * en/Gtk/MoveHandleArgs.xml * en/Gtk/OnCommandArgs.xml * en/Gtk/PageHorizontallyArgs.xml * en/Gtk/ParentSetArgs.xml * en/Gtk/ScrollChildArgs.xml * en/Gtk/SubmitArgs.xml * en/Gtk/TextEventArgs.xml : Event data docs. 2004-09-04 Mike Kestner * Makefile.am : use the ENABLE* ACSUBSTs in make update. 2004-09-03 Mike Kestner * en/Gdk/Pixmap.cs : updates to sigs of FromXpm* methods. * en/Gtk/Init.cs : fix Check and remove AbiCheck. * en/Gtk/Invisible.cs : add ctor. * en/Gtk/NodeStore.cs : add GType prop. 2004-09-02 Mike Kestner * updater/* : rework of duncan's updater from monodoc that doesn't cause so many whitespace issues and removes a few other annoyances. 2004-08-29 Shane Landrum * en/Gtk/Dialog.xml * en/Gtk/HBox.xml * en/Gtk/Image.xml * en/Gtk/Init.xml * en/Gtk/Invisible.xml * en/Gtk/Misc.xml * en/Gtk/NotebookTab.xml * en/Gtk/Paned.xml * en/Gtk/Quit.xml * en/Gtk/RedirectArgs.xml * en/Gtk/RulerMetric.xml * en/Gtk/Scale.xml * en/Gtk/ScrolledWindow.xml * en/Gtk/Selection.xml * en/Gtk/SelectionData.xml * en/Gtk/TargetEntry.xml * en/Gtk/TargetList.xml * en/Gtk/TargetPair.xml * en/Gtk/TextLogAttrCache.xml: Miscellaneous docs. * ChangeLog: fixes for 2 prior commit logs. 2004-08-29 Shane Landrum * en/Gtk/Key.xml * en/Gtk/KeySnoopFunc.xml: Docs for global hotkeys. * en/Gtk/Range.xml * en/Gtk/MoveSliderArgs.xml: Docs for number ranges. * en/Gtk/Entry.xml * en/Gtk/Label.xml: Small texty widgets docs. 2004-08-29 Shane Landrum * en/Gtk/Menu.xml * en/Gtk/MenuDetachFunc.xml * en/Gtk/MenuItem.xml * en/Gtk/MenuPositionFunc.xml * en/Gtk/MenuShell.xml: Docs for menu-related classes. 2004-08-29 Shane Landrum * en/Gtk/TextSegCheckFunc.xml * en/Gtk/TextSegCleanupFunc.xml * en/Gtk/TextSegDeleteFunc.xml * en/Gtk/TextSegLineChangeFunc.xml * en/Gtk/TextSegSplitFunc.xml * en/Gtk/TextLineSegment.xml * en/Gtk/TextLineSegmentClass.xml: Marked 'do not use', pending an answer on #64410. 2004-08-29 Shane Landrum * MarkDeletedArgs.xml * MarkSetArgs.xml * OrientationChangedArgs.xml * SelectionClearEventArgs.xml * SetBaseTargetArgs.xml * SetFocusArgs.xml * StateChangedArgs.xml * SwitchPageArgs.xml * TextEventArgs.xml: Event data. 2004-08-29 Shane Landrum * HTML.xml * HTMLBeginFlags.xml * HTMLClassProperties.xml * HTMLCommandType.xml * HTMLEditorAPI.xml * HTMLEditorEventType.xml * HTMLFontStyleShift.xml * HTMLParagraphStyle.xml * HTMLPrintCallback.xml * HTMLStream.xml * HTMLStreamCloseFunc.xml * HTMLStreamStatus.xml * HTMLStreamTypesFunc.xml * HTMLStreamWriteFunc.xml: Documented HTML widget and related classes. 2004-08-28 Shane Landrum * en/Gtk/HSV.xml: Added docs for color selector. * en/Gtk/ProximityInEventArgs.xml * en/Gtk/ProximityOutEventArgs.xml * en/Gtk/Widget.xml: Docs for proximity events and other events. * en/Gtk/SizeAllocatedArgs.xml * en/Gtk/SizeRequestedArgs.xml * en/Gtk/Requisition.xml: Docs for widget size requests. * en/Gdk/Rectangle.xml: Added docs. * en/Gtk/CursorMoveArgs.xml * en/Gtk/RemovedArgs.xml * en/Gtk/SelectPageArgs.xml * en/Gtk/SetBaseArgs.xml * en/Gtk/ResponseArgs.xml * en/Gtk/StyleSetArgs.xml: Event data. * en/Gtk/Settings.xml: Added docs. * en/Gtk/Table.xml: Added docs. * en/Gtk/ThemeEngine.xml: Added docs. * en/Gtk/StockManager.xml: Added docs, flagged some API that needs review. 2004-08-28 Shane Landrum * en/Gtk/Widget.xml: Added docs. * en/Gtk/ExposeEventArgs.xml * en/Gtk/AddedArgs.xml * en/Gtk/ActivateCurrentArgs.xml * en/Gtk/AdjustBoundsArgs.xml * en/Gtk/ChangeCurrentPageArgs.xml * en/Gtk/ChangeValueArgs.xml * en/Gtk/ChildAnchorInsertedArgs.xml * en/Gtk/ChildAttachedArgs.xml * en/Gtk/ChildDetachedArgs.xml * en/Gtk/ConfigureEventArgs.xml * en/Gtk/CycleHandleFocusArgs.xml * en/Gtk/EditedArgs.xml * en/Gtk/EnableDeviceArgs.xml * en/Gtk/DisableDeviceArgs.xml * en/Gtk/FocusedArgs.xml * en/Gtk/LinkClickedArgs.xml * en/Gtk/ExpandCollapseCursorRow.xml * en/Gtk/FocusInEventArgs.xml * en/Gtk/MoveFocusOutArgs.xml * en/Gtk/OnUrlArgs.xml: Event data. 2004-08-28 Shane Landrum * en/Gtk/TranslateFunc.xml: delegate docs. * en/Gtk/Settings*.xml: settings classes docs, first pass. * en/Gtk/Separator.xml: Documented protected constructor. * en/Gtk/StockItem.xml: Documented translation domain. * en/Gtk/Ruler.xml: Documented Ruler class. * en/Gtk/SpinButton.xml: Documented SpinButton class. * en/Gtk/TextMarkBody.xml: Internal class, do not use. * en/Gtk/Submenu.xml: Documented submenus. * en/Gtk/ItemFactory.xml * en/Gtk/WindowKeysForeachFunc.xml * en/Gtk/SurroundingDeletedArgs.xml: Added docs. 2004-08-27 Shane Landrum * en/Gtk/Style.xml: bugfixes, more docs. * en/Gtk/TextBTree.xml: internal class, do not use. * en/Gtk/Accel*.xml: Accelerator-related docs. * en/Gtk/CurrentParagraphAlignmentChangedArgs.xml * en/Gtk/CurrentParagraphStyleChangedArgs.xml: Event data docs. 2004-08-27 Shane Landrum * en/Gtk/WindowKeysForeachFunc.xml * en/Gtk/Accessibility.xml * en/Gtk/CallbackMarshal.xml * en/Gtk/ColorSelectionChangePaletteFunc.xml * en/Gtk/ColorSelectionDialog.xml * en/Gtk/Container.xml * en/Gtk/DestroyNotify.xml * en/Gtk/IconSet.xml * en/Gtk/ScrollAdjustmentsSetArgs.xml * en/Gtk/ScrollType.xml * en/Gtk/MoveFocusArgs.xml : Miscellaneous docs. * en/Gtk/RB*.xml : Internal classes. Do not use. * en/Gtk/Style*.xml : Began documenting style-related classes. 2004-08-27 Shane Landrum * en/Gtk/TagAddedArgs.xml * en/Gtk/TagAppliedArgs.xml * en/Gtk/TagChangedArgs.xml * en/Gtk/TagRemovedArgs.xml : Docs for event data classes. 2004-08-26 Shane Landrum * en/Gtk/TreeModelSort.xml * en/Gtk/TreeView.xml: XML fixes. * en/Gtk/TextWindow.xml: Added docs. * en/Gtk/TextIter.xml: Elaborated existing docs. * en/Gtk/TextCharPredicate: Delegate for TextIter; docs. * en/Gtk/TextTagTableForeach.xml: Added docs. * en/Gtk/InsertTextArgs.xml: Event arguments. * en/Gtk/TextTag.xml: Added docs. * en/Gtk/TextCounter.xml: Internal class. Do not use. * en/Gtk/TextToggleBody.xml: Internal class. Do not use. * en/Gtk/TextTagInfo.xml: Internal class. Do not use. 2004-08-24 Shane Landrum * en/Gtk/TreeView.xml: * en/Gtk/TreeModel.xml: * en/Gtk/TreeModelSort.xml: * en/Gtk/TreeSortable.xml: * en/Gtk/ListStore.xml: Added docs for list/tree classes; made them consistent across similar classes. * en/Gtk/TreeRowReference.xml: Marked internal-only. 2004-08-24 Mike Kestner * en/Gdk/Drawable.xml : add DrawPolygon overload and doc both. * en/Gdk/Pixbuf.xml : add RenderThresholdAlpha overload docs. * en/Gtk/Style.xml : fix signature of PaintPolygon. 2004-08-22 Shane Landrum * en/Gtk/RowActivatedArgs.xml * en/Gtk/RowCollapsedArgs.xml * en/Gtk/RowExpandedArgs.xml * en/Gtk/TestCollapseRowArgs.xml * en/Gtk/TestExpandRowArgs.xml: Event argument delegate docs. * en/Gtk/TreeView.xml: Event docs. * en/Gtk/TreeViewColumnDropFunc.xml * en/Gtk/TreeViewMappingFunc.xml * en/Gtk/TreeViewSearchEqualFunc.xml: delegate docs for TreeView 2004-08-20 Mike Kestner * en/Atk/Relation.xml : update ctor to new sig. 2004-08-19 Shane Landrum * en/Gtk/DeleteFromCursorArgs.xml * en/Gtk/DeleteType.xml: Docs for deletion from text widgets. * en/Gtk/Widget.xml: Added some event docs. * en/Gtk/PopulatePopupArgs.xml: Event data for text widget popups. * en/Gtk/TextView.xml: Docs for some events. * en/Gtk/HTML.xml: Minor wording change, thanks to Ben Maurer. * en/Gtk/Notebook.xml: Documented an event, minor style edits. 2004-08-19 Shane Landrum * en/Gtk/ClipboardReceivedFunc.xml: Added docs for classes related to drag and drop. * en/Gtk/SelectionData.xml: Added docs for DND selection data. * en/Gtk/SelectionGetArgs.xml: Event data for selection get events. * en/Gtk/SelectionReceivedArgs.xml: Event data for selection receive events. 2004-08-19 Shane Landrum Docs for tree-related classes: * en/Gtk/TreeView.xml * en/Gtk/TreeSelection.xml * en/Gtk/TreeSelectionForeachFunc.xml: Added docs for tree operations. * en/Gtk/RowsReorderedArgs.xml: Event data for list/tree datamodels. * en/Gtk/SelectCursorRowArgs.xml: Event data for TreeView event. * en/Gtk/TreeSelection.xml: Cleanup of extraneous TBA. 2004-08-19 Shane Landrum * en/Gtk/RowHasChildToggledArgs.xml * en/Gtk/RowInsertedArgs.xml * en/Gtk/RowChangedArgs.xml * en/Gtk/RowDeletedArgs.xml: Docs for event argument classes related to ListStore. * en/Gtk/ListStore.xml: minor wording fixes. 2004-08-18 Shane Landrum * en/Gtk/ListStore.xml: Added docs. 2004-08-13 Shane Landrum * DragBeginArgs.xml * DragDataDeleteArgs.xml * DragDataGetArgs.xml * DragDataReceivedArgs.xml * DragDropArgs.xml * DragEndArgs.xml * DragLeaveArgs.xml * DragMotionArgs.xml: Filled in event properties. 2004-08-13 Shane Landrum * en/Gtk/Widget.xml: Filled in some event information, removed a lot of extraneous "To be added" in remarks fields 2004-08-13 Shane Landrum * en/Gtk/TextAppearance.xml * en/Gtk/TextAttributes.xml: Classes to control text presentation. 2004-08-13 Shane Landrum * en/Gtk/TreeCellDataFunc.xml * en/Gtk/TreeDataList.xml * en/Gtk/TreeDestroyCountFunc.xml * en/Gtk/TreeIter.xml * en/Gtk/TreeIterCompareFunc.xml * en/Gtk/TreeModel.xml * en/Gtk/TreeModelForeachFunc.xml * en/Gtk/TreeSelectionFunc.xml * en/Gtk/TreeSortable.xml * en/Gtk/TreeView.xml: Various updates to tree object docs. 2004-08-13 Shane Landrum * en/Gtk/*Args.xml: Documented many handler arguments classes. 2004-08-13 Shane Landrum * en/Gtk/HTML.xml * en/Gtk/HTMLCommandType.xml * en/Gtk/HTMLFontStyle.xml * en/Gtk/HTMLParagraphAlignment.xml * en/Gtk/HTMLSaveReceiverFn.xml: documented HTML widget classes. 2004-08-08 Hector E. Gomez Morales * en/Gtk/AccelGroup.xml * en/Gtk/AccelGroupEntry.xml * en/Gtk/AccelKey.xml * en/Gtk/RcProperty.xml * en/Gtk/TreeDragSource.xml: Fixed errors in tags, make assemble now works. 2004-08-05 Shane Landrum * en/Gtk/Rc*: Filled in all "to be added" for RC-file subsystem. * en/Gtk/Accel*: Added docs about accelerator keys. 2004-08-04 Shane Landrum * en/Gtk/*: docs for many tree-related methods, assorted others. 2004-08-01 Shane Landrum * en/Pango/*: Filled in all "To be added"; cleaned up existing docs and made them more consistent. 2004-07-27 John Luke some GLib and Atk docs 2004-07-21 John Luke * en/Gtk/TextView.xml: * en/Gtk/TextIter.xml: documented the rest 2004-07-16 John Luke * en/Pango/*: doc'ed some more pango stuff 2004-07-11 John Luke * en/Vte*: some Vte docs * en/Pango/Context.xml: doc'ed 2004-07-07 Jasper Van Putten * en/Gtk/*.xml : docs for Notebook and RadioButton. 2004-07-06 Peter Johanson * en/Gnome/*.xml : docs for ColorPicker. 2004-07-02 Mike Kestner * en/GLib/*.xml : more glib docs. 2004-07-02 Mike Kestner * en/GLib/*.xml : docs for Boxed, ConnectBeforeAttribute, and DefaultSignalHandlerAttribute. 2004-07-02 Peter Johanson * en/Art/*.xml : docs for some Art API. 2004-06-29 Mike Kestner * en/Gdk/Key.xml : script fill summary tags. There isn't a lot of valuable information to be added here, so we're just using the member name + " key value" for the summary. 2004-06-29 Mike Kestner * en/*/*.xml : remove To be added from enum since they aren't rendered. Monodoc needs to be enhanced to render if they are there, but we should normally put enum member docs in the summary, not remarks. 2004-06-24 Mike Kestner * en/Gtk/Global.xml : finish. there's a lot of crap in there. * en/Gtk/IMContext.xml : docs for FilterKeypress ctors Reset and Commit. 2004-06-24 Mike Kestner * en/Pango/Layout.xml : document IndexToPosition. 2004-06-24 Mike Kestner * en/GLib/Timeout.xml : finish the class and Add docs. 2004-06-24 Mike Kestner * en/*/*.xml : add back the enumtype Value__ fields with "Do not use" docs. Monodoc doesn't show these nodes as fields, but needs them for non-int enums. 2004-06-24 Mike Kestner * en/*/*.xml : kill all the dead files where types have been removed. Mark several gtkhtml types as being in gtkhtml-sharp, not gtk-sharp. Another 601 dead TBAs. 2004-06-24 Mike Kestner * en/*/*.xml : document event args classes and ctors via script-fu. Knocks off another 944 TBAs. 2004-06-24 Jamin Philip Gray * en/Gdk/EventButton.xml : documented members. 2004-06-23 Mike Kestner * en/*/*.xml : document event handler delegates via script-fu. 400 TBAs. 2004-06-21 Mike Kestner * en/*/*.xml : document ctor(GType) members via script-fu. 476 TBAs. 2004-06-21 Mike Kestner * en/*/*.xml : document GType props via script-fu. 620 TBAs killed. 2004-06-19 Larry Ewing * en/Gnome/CanvasItem.xml: update the documentation no that the binding has been fixed. * en/Gdk/Pixdata.xml: fixup the Pixdata docs now that the binding is fixed. 2004-06-19 John Luke * en/Gtk/*.xml: fix examples so they compile, are children of so they are editable and spaced right, and some miscellaneous fixes and updates 2004-06-17 Mike Kestner * en/Gtk/Window.xml : document remaining TBAs. 2004-06-17 Mike Kestner * scan-deprecations.cs : kill value__ fields of enum types too. * en/*/*.xml : remove value__ fields from enum types. 400 more tba's. 2004-06-15 Mike Kestner * en/*/*.xml : generated summary and remarks for all the On* virtual default handler methods. 700 more To be addeds gone. 2004-06-14 Mike Kestner * en/*/*.xml : run updater to 0.98 API. 2004-06-01 Mike Kestner * en/*/*.xml : run updater to fix Rgb method sigs. And LayoutLine. 2004-06-07 Jeroen Zwartepoorte * en/Gtk/Widget.xml: Documented the FocusLineWidth and Flags properties. 2004-06-01 Mike Kestner * en/*/*.xml : run updater to add new protected ctor () 's. 2004-06-01 Mike Kestner * en/Gtk/Widget.xml : move existing docs to new method sig. 2004-05-31 Mike Kestner * en/Gdk/Rectangle.xml : docs for newly changed Isect and Union. * en/Gdk/WindowClass.xml : move existing docs to new member names. * en/Gtk/Widget.xml : run updater for Flags prop addition. 2004-05-28 Mike Kestner * Makefile.am : fix disthook * en/*Sharp.xml : kill * en/* : run updater again for the TreeModel API change. 2004-05-28 Mike Kestner * en/* : put back all the real docs the updater tossed. 2004-05-28 Mike Kestner * en/* : run updater. fix a few *Sharp copy/pastisms. 2004-05-27 Mike Kestner * en/* : run updater 2004-04-27 John Luke * en/Gdk/Threads.xml: document * en/Gtk/TargetFlags.xml: document * en/Gtk/TreeSelection.xml: add example * en/Pango/Layout.xml: add example of drawing text to a Layout 2004-04-12 Mike Kestner * en/GLib/Object.xml : some more docs for the Raw property. 2004-03-17 Alex Combas * en/Gtk/Accel.xml: Full doc. 2004-03-08 Hector E. Gomez Morales * en/Art/Global.xml * en/Art/Render.xml * en/Art/Rgb.xml * en/Art/Rgba.xml * en/Art/Uta.xml * en/Gda/Command.xml * en/Gda/Field.xml * en/Gda/FieldAtributes,xml * en/Gda/Parameter.xml * en/Gdk/*.xml * en/Glade/XML.xml * en/Pango/Analysis.xml * en/Pango/AttrIterator.xml * en/Pango/Context.xml * en/Pango/EngineLang.xml * en/Pango/EngineShape.xml * en/Pango/FontFamily.xml * en/Pango/FontMap.xml * en/Pango/FontMetrics.xml * en/Pango/Global.xml * en/Pango/GlyphItem.xml * en/Pango/GlyphString.xml * en/Pango/Layout.xml * en/Pango/LayoutLine.xml: Updated and/or removed various nodes. 2004-03-05 Hector E. Gomez Morales * en/* : Created TODO files for every namespace (except *Sharp namespaces). 2004-02-29 Hector E. Gomez Morales * Changelog: Corrected bogus year dates. * en/Gtk/TODO: updated TODO list. * en/Atk/EditableText.xml * en/Atk/Free.xml * en/Atk/NoOpObject.xml * en/Atk/Object.xml * en/Atk/StateSet.xml * en/Gnome/CanvasProxy.xml * en/Gnome/CanvasRichText.xml * en/Gnome/Config.xml * en/Gnome/DateEdit.xml * en/Gnome/Entry.xml * en/Gnome/FileEntry.xml * en/Gnome/Font.xml * en/Gnome/FontFamily.xml * en/Gnome/GlyphList.xml * en/Gnome/IconList.xml * en/Gnome/IconTheme.xml * en/Gnome/Pgl.xml * en/Gtk/Combo.xml * en/Gtk/ListStore.xml * en/Gtk/RadioMenuItem.xml * en/Gtk/StockItem.xml * en/Gtk/StockManager.xml * en/Gtk/TextBuffer.xml * en/Gtk/TextIter.xml * en/Gtk/TextView.xml * en/Gtk/TooltipsData.xml * en/Gtk/TreeModelSort.xml * en/Gtk/TreeStore.xml * en/Gtk/TreeView.xml * en/Gtk/Widget.xml * en/Gtk/Window.xml: Restored and/or removed various nodes. * en/Gtk/Accel.xml: Removed deprecated GroupsFromObject Method. * en/Gtk/Application: Removed deprecated CurrentEvent Property. * en/Gtk/Container.xml: FocusChain and Children update. * en/Gtk/DeleteEventArgs.xml: Removed deprecated Event Property. * en/Gtk/DestroyEventArgs.xml: Removed deprecated Event Property. * en/Gtk/MenuItem.xml: ToggleSizeRequest update. * en/Gtk/IMContext.xml: Removed deprecated GetPreeditString Method. * en/Gtk/IMContextSimple.xml: Removed deprecated AddTable Method. * en/Gtk/Init.xml: Removed deprecated AbiCheck Method * en/Gtk/MapEventArgs.xml: Removed deprecated Event Property. * en/Gtk/MenuItem.xml: Removed deprecated ToggleSizeRequest Method. * en/Gtk/NoExposeEventArgs.xml: Removed deprecated Event Property. * en/Gtk/SelectionData.xml: Removed deprecated Set Method. * en/Gtk/TextChildAnchor.xml: Widget update. * en/Gtk/TreeIter.xml: Stamp update. * en/Gtk/TreeModel.xml: EmitRowsReordered update. * en/Gtk/TreeRowReference.xml: Removed deprecated Reordered Method. * en/Gtk/TreeSelection.xml: Removed deprecated GetSelectedRows Method. * en/Gtk/TreeViewColumn.xml: Removed deprecated CellRenders Property. * en/Gtk/UnmapEventArgs.xml: Removed deprecated Event Property. 2004-02-26 Mike Kestner * scan-deprecations.cs : little xpath tool to inspect deprecates. 2004-02-26 Mike Kestner * Vte/Gnome/Gtk : add some new doc files. 2004-02-26 Mike Kestner * All: run updater and kill stubbed deprecates 2004-02-26 Mike Kestner * Atk/Gdk/Gtk : add some new doc files. 2004-02-26 Mike Kestner * Pango/*.xml : run updater and kill stubbed deprecates * Atk/*.xml : run updater and kill stubbed deprecates * Gdk/*.xml : run updater and kill stubbed deprecates * Gtk/*.xml : run updater and kill stubbed deprecates 2004-02-25 Mike Kestner * All: update events to new handler namespaces. 2004-02-25 Mike Kestner * en/GLibSharp.xml : Update Summary. * en/GtkSharp.xml : Update Summary. 2004-02-25 Mike Kestner * en/*.xml : remove toplevel xml files for killed *Sharp namespaces. 2004-02-25 Mike Kestner * */*Handler.xml : move all signal delegates from *Sharp to base namespaces. 2004-02-25 Mike Kestner * GtkSharp/*Delegate.xml : kill. * GtkSharp/*Signal.xml : kill. 2004-02-25 Mike Kestner * GtkSharp/*Native.xml : kill. 2004-02-25 Mike Kestner * */*Wrapper.xml : kill all. These are internal classes. 2004-02-25 Mike Kestner * All: move all signal args from *Sharp to base namespaces. 2004-01-13 Peter Williams * en/Gtk/Application.xml: Update Init, InitCheck functions for new progname argument. Fix a paste-o in the docs for InitCheck. 2004-01-13 John Luke * en/Gtk/TreeSelection.xml: add example 2004-01-12 Hector E. Gomez Morales * en/Gtk/Ctree.xml * en/Gtk/Style.xml * en/Gtk/Tree.xml: First draft. * en/Gtk/TODO: updated. * en/Gtk/Widget.xml: Documented the remaining methods and properties. * en/Gtk/Window.xml: Documented all methods excepts the overloads and all the properties. 2004-01-11 John Luke * en/Gtk/RadioButton.xml: * en/Gtk/Notebook.xml: * en/Gtk/NotebookPage.xml: * en/GConf/ClientBase.xml: update for recent cvs changes 2004-01-08 John Luke * */*/.xml: run updater * en/Gtk/TreView.xml: correct GetRowExpanded docs * en/Gtk/RadioButton.xml: documented 2003-12-22 John Luke * en/GLib/GType.xml: * en/GLib/DefaultSignalHandlerAttribute.xml: added * */*/.xml: run updater 2003-12-08 John Luke * en/Art/Rgba.xml: update * en/Gnome/FileEntry.xml: * en/Gnome/Druid.xml: * en/Gnome/DruidPage.xml: * en/Gnome/DruidPageEdge.xml: * en/Gnome/DruidPageStandard.xml: documented 2003-12-04 John Luke * All: run updater 2003-11-22 John Luke * en/Gnome/Print.xml: add example 2003-11-18 John Luke * en/Gnome/CanvasPixbuf.xml: correct HeightInPixels from Sebastian 2003-11-18 Peter Williams * en/Gtk/NodeStore.xml: Document new GetNode functions. 2003-11-17 John Luke * en/Gtk/Socket.xml: documented 2003-11-16 John Luke * en/Gdk/Atom.xml: documented * en/Gtk/Clipboard.xml: documented * en/Gtk/Stock.xml: documented * en/Gtk/StockItem.xml: documented 2003-11-12 John Luke * en/Gtk/Quit.xml: documented * en/Gtk/TooltipsData.xml: documented * en/Gtk/TODO: update * en/Gtk/ToolbarSpaceStyle.xml: documented 2003-11-05 Mike Kestner * en/Gtk/NodeStore.xml : documented 2003-11-05 Mike Kestner * en/Gtk/TreeNode.xml : documented * en/Gtk/TreeView.xml : documented NodeStore ctor. 2003-11-05 Mike Kestner * en/Gtk/ITreeNode.xml : documented * en/Gtk/TreeNodeAddedHandler.xml : documented * en/Gtk/TreeNodeRemovedHandler.xml : documented 2003-11-05 Mike Kestner * en/Gtk/TreeNodeAttribute.xml : documented * en/Gtk/TreeNodeValueAttribute.xml : documented 2003-11-04 John Luke * en/*/*.xml: run updater 2003-10-27 John Luke * en/*/*.xml: run updater 2003-10-22 Hector E. Gomez Morales * en/Gtk/Drag.xml: fix some typos and errors. * en/Gtk/Window.xml: Almost done, some properties and events missing. * en/Gtk/WidgetFlags.xml: fix some errors. * en/Gtk/TODO: update missing list. 2003-10-14 Martin Willemoes Hansen * en/AtkSharp.xml: Added * en/GLibSharp.xml: Added * en/GdaSharp.xml: Added * en/GdkSharp.xml: Added * en/GladeSharp.xml: Added * en/GnomeDbSharp.xml: Added * en/GnomeSharp.xml: Added * en/GtkSharp.xml: Added * en/PangoSharp.xml: Added * en/GConf/ChangeSet.xml: Documented finalize * en/GConf/NotifyEventHandler.xml: Fixed ecma-style compliance * en/GConf.PropertyEditors.xml: Added * Makefile: checks if any changes are made to en/*.xml 2003-10-13 John Luke * en/*/*.xml: fix finalize signature (override not virtual) 2003-10-12 John Luke * en/Gtk/HTML.xml: call begin before Editable = true, update links, normalize * makefile: add gtkhtml to update dirs * en/Gnome/PaperSelectorFlags.xml * en/Gnome/PrintButtons.xml * en/Gnome/PrintDialogFlags.xml * en/Gnome/PrintDialogRangeFlags.xml * en/GtkSharp/TextEventArgs.xml * en/GtkSharp/TextEventHandler.xml * en/GtkSharp/WidgetEventArgs.xml * en/GtkSharp/WidgetEventHandler.xml: add these * en/*/*.xml: run updater * en/Gtk/MessageDialog.xml: * en/Gtk/Menu.xml: * en/Gtk/AccelLabel.xml: * en/Gtk/Alignment.xml: remove IWrapper duplicates 2003-10-09 John Luke * en/Gnome/About.xml: add note about destroy on close event 2003-10-05 John Luke * en/Gtk/TreeStore.xml: * en/Gtk/TreeModel.xml: first pass through these two monsters 2003-10-04 Hector E. Gomez Morales * en/Gtk/Icon.xml * en/Gtk/ItemFactory.xml: Full docs. * en/Gtk/TODO: Added file with list of missing Gtk docs. 2003-10-03 John Luke * en/Gnome/Popup.xml: documented w/ simple example * en/Gtk.Menu.xml: popup example and parameter fix 2003-09-25 Hector E. Gomez Morales * en/Gtk/Accessible.xml * en/Gtk/CellEditable.xml * en/Gtk/Drag.xml: Full docs. * en/Gtk/Widget.xml: Fixes and some updates. * en/Gtk/WidgetFlags.xml: Full doc. * en/Gtk/Window.xml: Fixes and some updates, still missing to document the properties. 2003-09-23 John Luke * en/Art.xml: * en/Gda.xml: * en/GnomeDb.xml: add descriptions 2003-09-20 Hector E. Gomez Morales * en/Gtk/Window.xml: Nearly all methods documented. * en/Gtk/Widget.xml: SizeRequest method documented. 2003-09-20 John Luke * en/Gnome/AppBar.xml: documented * en/Gnome/App.xml: half documented * en/Gnome/Entry.xml: half documented * en/Gnome/Window.xml: add some info 2003-09-17 John Luke * en/*/*.xml: run the updater Add Art, Gda, and GnomeDb docs 2003-09-13 John Luke * en/Gtk/TreePath.xml: add info for ctor (string path) 2003-09-09 Duncan Mak * en/Glade: Update the docs to include new helper functions in Glade.XML. Also do some XML normalization. x 2003-09-04 John Luke * en/Gtk/TextBuffer.xml: fix some typos 2003-08-29 John Luke * en/GLib/*.xml: update, transfer info from inline comments * en/GtkSharp/SignalArgs.xml: transfer info from inline comments * en/GtkSharp/ObjectManager.xml: transfer info from inline comments * en/GtkSharp/SignalCallback.xml: transfer info from inline comments 2003-08-25 John Luke * en/Gtk/Layout.xml: mostly documented * en/Gtk/Timeout.xml: documented 2003-08-18 John Luke * en/Gnome/Help.xml: documented * en/Gnome/CanvasText.xml: add example from monkeyguide 2003-08-09 John Luke * en/Gtk/Entry.xml: add example 2003-08-06 John Luke * en/Gtk/Notebook.xml: add example, see references * en/Gtk/Statusbar.xml: add example 2003-08-06 Xavier Amado * /en/Gtk/Notebook.xml: documented the CurrentPageWidget property 2003-08-04 Martin Willemoes Hansen * /en/Gnome/InteractFunction.xml: * /en/Gnome/ModuleClassInitHook.xml: * /en/Gnome/ModuleHook.xml: * /en/Gnome/ModuleInitHook.xml: * /en/Gnome/TriggerActionFunction.xml: * /en/Gnome/UISignalConnectFunc.xml: documented 2003-08-03 Martin Willemoes Hansen * /en/Gnome/ClientState.xml: * /en/Gnome/FileDomain.xml: * /en/Gnome/HelpError.xml: * /en/Gnome/PreferencesType.xml: * /en/Gnome/TriggerType.xml: * /en/Gnome/URLError.xml: documented 2003-08-02 Martin Willemoes Hansen * /en/Gnome/UIPixmapType.xml: * /en/Gnome/UIInfoConfigurableTypes.xml: * /en/Gnome/IconListMode.xml: * /en/Gnome/FontPickerMode.xml: * /en/Gnome/DateEditFlags.xml: * /en/Gnome/ClientFlags.xml: * /en/Gnome/DialogType.xml: * /en/Gnome/EdgePosition.xml: * /en/Gnome/InteractStyle.xml: * /en/Gnome/RestartStyle.xml: * /en/Gnome/SaveStyle.xml: * /en/Gnome/UIInfoType.xml: documented 2003-08-01 Martin Willemoes Hansen * /en/Gtk/MessageDialog.xml: Fixed remark. 2003-08-01 John Luke * en/*.xml: use C#-style names, ex Gdk instead of GDK * en/Gtk/TreeView.xml: add some info * en/Gtk/MessageDialog.xml: clean up 2003-07-31 John Luke * en/Gtk/TreeIter.xml: documented except Zero, Copy, and Free * en/Gtk/TreeViewColumn.xml: documented 2003-07-30 Duncan Mak * en/Gnome/CanvasShape.xml: documented. 2003-07-30 Duncan Mak * en/Gdk/EventNoExpose.xml: * en/Gdk/EventButton.xml: Added hyperlinks. 2003-07-30 Duncan Mak * en/Gnome/CanvasWidget.xml: * en/Gnome/CanvasRect.xml: * en/Gnome/CanvasRE.xml: * en/Gnome/CanvasPolygon.xml: * en/Gnome/CanvasPixbuf.xml: * en/Gnome/CanvasLine.xml: * en/Gnome/CanvasItem.xml: * en/Gnome/CanvasGroup.xml: * en/Gnome/CanvasEllipse.xml: * en/Gnome/CanvasClipgroup.xml: * en/Gnome/CanvasBpath.xml: * en/Gnome/Canvas.xml: fully documented. 2003-07-29 Duncan Mak * en/Gtk/Label.xml: Finished documentation for the Gtk.Label class. 2003-07-28 Duncan Mak * en/Glade/XML.xml: Added some documentation. 2003-07-27 John Luke * en/Gtk/CheckButton.xml: add small example, update * en/Gtk/Combo.xml: add example, update * en/Gtk/TreeModelFlags.xml: * en/Gtk/RcFlags.xml: more documentation from Jonathan Kessler . 2003-07-26 Duncan Mak * en/Gtk/Orientation.xml: * en/Gtk/MetricType.xml: * en/Gtk/ObjectFlags.xml: more documentation from Jonathan Kessler . 2003-07-25 Duncan Mak * en/Gtk/DestDefaults.xml: more documentation from Jonathan Kessler . * en/Gtk/TreeViewColumnSizing.xml: added documentation from Jonathan Kessler . 2003-07-24 John Luke * en/Rsvg.xml: add summary page * en/GConf.xml: add summary page 2003-07-22 John Luke * en/Rsvg: add directory * en/Rsvg/*.xml: add initial docs * en/Rsvg/Tool.xml: add example * en/Gtk/Menu.xml: add example 2003-07-22 Duncan Mak * en/Gtk/FSButton.xml: Removed the constructor, per the custom file update and added documentation. 2003-07-20 John Luke * en/Gtk/FileSelection.xml: update and add example 2003-07-19 John Luke * en/Gtk/OptionMenu.xml: documented 2003-07-18 John Luke * en/Gtk/TreeView.xml: add TreeViewDemo example * en/Pango/Weight.xml: remove trailing "n" 2003-07-18 Duncan Mak * 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. 2003-07-17 John Luke * en/Gtk/CellRendererMode.xml: documented * en/Gtk/CellRendererState.xml: documented * en/Gtk/CellRenderer.xml: documented * en/Gtk/ImageMenuItem.xml: documented 2003-07-17 Duncan Mak * 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. 2003-07-17 Duncan Mak * 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. 2003-07-16 John Luke * en/Gtk/CellRendererText.xml: documented, except one event and method * en/Gtk/CellRendererToggle.xml: documented * en/Gtk/CellRendererPixbuf.xml: documented * en/GConf/Client.xml: documented * en/Gnome/About.xml: documented 2003-07-16 Duncan Mak * All enumerations: Fixed the TypeSignature and MemberSignature in all documentation files for Enumerations. 2003-07-15 Duncan Mak * 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. 2003-07-14 Duncan Mak * en/Gtk/TextView.xml: all documented except for events. * en/Gtk/TextTag.xml: added the missing properties. 2003-07-13 Duncan Mak * en/Gtk/TextTag.xml: * en/Gtk/TextTagTable.xml: * en/Gtk/TextMark.xml: * en/Gtk/TextChildAnchor.xml: documented. 2003-07-12 Duncan Mak * en/Gtk/TextBuffer.xml: all documented except for events. 2003-07-07 Duncan Mak * en/Gtk/TearoffMenuItem.xml: documented. 2003-07-08 John Luke * en/Gtk/Fixed.xml: * en/Gtk/Image.xml: * en/Gtk/ToggleButton.xml: * en/Gtk/Frame.xml * en/Gtk/HBox.xml: small fixes 2003-07-04 John Luke * en/Gtk/Dialog.xml: fixes * en/Gtk/Application.xml: add example, fix methods 2003-07-04 Duncan Mak * en/Gtk/AccelGroup.xml: revert parts of my last patch, as some of the links do not resolve due to bug #38538. * en/Gtk/Button.xml (NewFromLabel): (NewFromStock): documented. * en/Gtk/Frame.xml (GetLabelAlign): documented. * en/Gtk/IconFactory.xml: * en/Gtk/IconSet.xml: * en/Gtk/IconSize.xml: * en/Gtk/IconSource.xml: documented. * en/Gtk/Paned.xml: added documentation for the events. * en/Gtk/ResponseType.xml: documented. 2003-07-03 John Luke * en/Gtk/Container.xml: add first draft 2003-07-02 John Luke * en/Gtk/TreeSelection.xml: fix method signatures, small updates 2003-06-30 Duncan Mak * en/Gtk/AccelGroup.xml: Added some more hyperlinks to the existing text. 2003-06-26 John Luke * en/Gtk/TreeView.xml: update example, paramater references * en/Gtk/Toolbar.xml: update and fix methods 2003-06-23 John Luke * en/Gtk/WindowGroup.xml: add some info * en/Gtk/WindowPosition.xml: update * en/Gtk/WindowType.xml: don't use contractions * en/Gtk/ToolbarChildType.xml: add first draft * en/Gtk/SortType.xml: update * en/Gtk/SizeGroupMode.xml: update * en/Gtk/ShadowType.xml: update * en/Gtk/PolicyType.xml: update * en/Gtk/PackType.xml: update * en/Gtk/Justification.xml: update * en/Gtk/CurveType.xml: update * en/Gtk/AttachOptions.xml: update 2003-06-15 John Luke * en/Gtk/Dialog.xml: add more info, add example * en/Gtk/DialogFlags: add first draft 2003-06-13 John Luke * en/Gtk/ProgressBarStyle.xml * en/Gtk/ProgressBarOrientation.xml * en/Gtk/ImageType.xml: add first drafts 2003-06-12 Hector E. Gomez Morales * en/Gtk/Window.xml: first draft. 2003-06-12 John Luke * en/Gtk/Image.xml: add parameter and returns references, Methods * en/Gtk/Window.xml: add parameter and returns references * en/Gtk/TreeView.xml: add RulesHint * en/Gtk/Stock.xml: add returns references * en/Gtk/Plug.xml: add first draft 2003-06-06 John Luke * en/GConf/*.xml: add * en/GConf.PropertyEditors/*.xml: add 2003-06-03 John Luke * README: update instructions to compile and install docs 2003-06-01 Lee Mallabone * en/*Sharp/bool*.xml: Remove more internal signal classes. * en/*Sharp/*Native.xml: Remove non-public signal classes. 2003-05-30 John Luke * en/Gtk/ToggleButton.xml: Fix typo, bulleted list. * en/Gtk/Progress.xml: Fix typo. * en/Gtk/Tooltips.xml: Fix method signature. * en/Gtk/Button.xml: Add some info. * en/Gtk/MessageDialog.xml: Add first draft * en/Gtk/InputDialog: Add first draft 2003-05-29 Lee Mallabone * en/*Sharp/*.xml: Remove the internal void*.xml signal docs. 2003-05-21 Lee Mallabone * en/Gtk/*.xml: Remove some private bits of Gtk assembly. * en/Gtk/Button.xml: Result of running the updater. * en/Gtk/SizeGroup*.xml: First draft of docs for GtkSizeGroup. 2003-05-20 Hector E. Gomez Morales * en/Gtk/Menu.xml:add first draft. 2003-05-19 John Luke * en/Gtk/SeparatorMenuItem.xml: * en/Gtk/Item.xml: Add first drafts. 2003-05-15 Martin Willemoes Hansen * en/Gnome.xml: Added * en/GLib.xml: Added 2003-05-14 John Luke * en/Gtk/Progress.xml: * en/Gtk/ProgressBar.xml: Add first drafts, without examples. * en/Gtk/EventBox.xml: * en/Gtk/Fixed.xml: * en/Gtk/ToggleButton.xml: * en/Gtk/Tooltips.xml: Add myself as maintainer 2003-05-09 John Luke * en/Gtk/ToolTips.xml: Add first draft, example. 2003-05-08 Lee Mallabone * en/Gtk/*.xml: * en/GtkSharp/*.xml: Changes as a result of "updating" the XML files to correspond to the latest actual API. Widget.xml is the only file to not process yet. 2003-05-02 Duncan Mak * en/Gtk/EventBox.xml: * en/Gtk/Fixed.xml: Add more updates from John Luke . 2003-05-01 Duncan Mak * en/Gtk/ToggleButton.xml: Add updates from John Luke . 2003-04-24 Pedro Martínez Juliá * en/Gtk/Combo.xml: Edit document. Ready to validate. There are a few TODO attributes but I think that will not be documented. 2003-04-22 Hector E. Gomez Morales * en/Gtk/AccelGroup.xml * en/Gtk/AccelLabel.xml * en/Gtk/Entry.xml * en/Gtk/HScrollbar.xml * en/Gtk/Label.xml * en/Gtk/MenuItem.xml * en/Gtk/MenuShell.xml * en/Gtk/Misc.xml * en/Gtk/ScrolledWindow.xml * en/Gtk/Toolbar.xml * en/Gtk/VScrollbar.xml * en/Gtk/Widget.xml: Changed the incorrect tag to the correct one and some small fixes. 2003-04-15 Miguel de Icaza * en/Glade/WidgetAttribute.cs: Add docs. 2003-04-14 Lee Mallabone * en/Gtk/Adjustment.xml: Add sane docs to ClampPage, based on the original C docs and comments from Miguel. * en/Gtk/Viewport1.cs, en/Gtk/Viewport.xml: Add a full sample, it's ignored by the browser at the moment. 2003-04-13 Lee Mallabone * en/Gtk/TreeSelection.xml: First draft. 2003-04-11 Hector E. Gomez Morales * en/Gtk/GammeCurve.xml * en/Gtk/MenuBar.xml * en/Gtk/MenuItem.xml * en/Gtk/Widget.xml * en/Gtk/WidgetFlags.xml: Got half of the properties of Widget only left the boolean ones. Minor docs and typos. 2003-04-04 Duncan Mak * en/Gtk/Label.xml: Add first draft of Label docs. 2003-03-28 Lee Mallabone * en/Gtk/Calendar.xml: Second draft. 2003-03-27 Lee Mallabone * en/Gtk/Viewport.xml: First draft, includes custom constructor. 2003-03-25 Duncan Mak * makefile: new overwrite family of targets. Use these for removing deprecated nodes, instead of just leaving them tagged with an attribute. 2003-03-25 Lee Mallabone * en/Gtk/Calendar.xml: First draft docs, still need a little work. 2003-03-24 Lee Mallabone * en/Gtk/HRuler.xml: * en/Gtk/VRuler.xml: * en/Gtk/Ruler.xml: New docs and tweaks. 2003-03-22 Lee Mallabone * en/Gtk/HRuler.xml: Short docs, simple API. 2003-03-21 Lee Mallabone * en/Gtk/Adjustment.xml: First draft; good docs for ClampPage missing. * en/Gtk/CalendarDisplayOptions.xml: * en/Gtk/AnchorType.xml: Simple docs for these enums. 2003-03-16 Hector E. Gomez Morales * en/Gtk/MenuShell.xml * en/Gtk/MenuDirectionType.xml: Documented. 2003-03-15 Lee Mallabone * en/Gtk/Bin.xml: * en/Gtk/Alignment.xml: First drafts. 2003-03-12 Lee Mallabone * en/Gtk/PositionType.xml: * en/Gtk/HandleBox.xml: First draft docs. 2003-03-11 Lee Mallabone * en/Gtk/Range.xml: First draft. 2003-03-09 Hector E. Gomez Morales * en/Gtk/Widget.xml:First draft: all methods documented. * en/Gtk/WidgetFlags.xml:Documented. 2003-03-09 Lee Mallabone * en/Gtk/Scale.xml: * en/Gtk/[VH]Scale.xml: Simple documentation for Scale widgets. 2003-03-08 Miguel de Icaza * en/GLib/IdleHandler.xml: Documented. * en/GLib/List.xml: Documented. * en/GLib/Idle.xml: Documented. 2003-03-08 Lee Mallabone * en/Gtk/Table.xml: First draft of table docs. Have left spacing properties as todo items until I sort the API - it's a bit of a mess. 2003-03-08 Duncan Mak * en/*/*.xml: Removed all the Deprecated nodes now. 2003-03-06 Hector E. Gomez Morales * en/Gtk/AccelFlags.xml * en/Gtk/ScrollType.xml: Update and first draft. 2003-03-06 Duncan Mak * en/*/*.xml: Updated all the docs to match the new API. All the nodes that no longer have a corresponding member in the type are now marked as deprecated. We'll have to wait for Miguel to implement this in the browser to stop displaying them. All gtype constructors have been regenerated, because of the 'uint' to 'GLib.Type' change. However, this patch will preserve (well, it was regenerated) the customized text for those GType constructors. A lot of the 'Finalized' methods are also now marked as deprecated, because the classes implement 'Dispose' instead. This is a possible place for customized scripts to generate template documentation, similar to the GType property and GType constructors. 2003-03-05 Lee Mallabone * en/Gtk/Statusbar.xml: * en/GtkSharp/TextP*.xml: Statusbar docs for widget and relevant event handlers. 2003-03-05 Duncan Mak * en/Gtk/Curve.xml * en/Gtk/DrawingArea.xml: More from Hector. 2003-03-04 Lee Mallabone * en/Gtk/*Paned.xml: First draft at Paned docs. 2003-03-02 Lee Mallabone * en/Gtk/SpinButtonUpdatePolicy.xml: * en/Gtk/SpinType.xml: * en/Gtk/SpinButton.xml: First draft of things SpinButton related. 2003-03-01 Peter Williams * en/Gdk/GC.xml: Minor markup / grammar fixes. 2003-02-28 Lee Mallabone * en/Gtk/Invisible.xml: * en/Gtk/Separator.xml: * en/Gtk/VSeparator.xml: * en/Gtk/GammaCurve: Hector's latest. * en/Gtk/Frame.xml: complete docs exluding dubious API calls. * en/Gtk/MenuItem: document a couple of skeleton methods * en/Gtk: Some corrections for wrong use of 'langword'. 2003-02-27 Martin Willemoes Hansen * en/Gtk/TreeModel.xml: Fixed GetValue method signature 2003-02-25 Lee Mallabone * en/Gtk/AspectFrame.xml: full doc, based on C docs. * en/Gtk/FileSelection.xml: first draft * en/Gtk/ColorSelection.xml: first draft, incorrect API left undocumented and reported as bug #38672. * en/Gtk/ColorSelectionDialog.xml: full doc. * en/Gtk/CheckMenuItem.xml: full doc, based on C docs. * en/Gtk/UpdateType.xml: simple docs for a simple enum. 2003-02-25 Duncan Mak * en/Gtk/WrapMode.xml: From Hector. * en/Gtk/ButtonsType.xml: * en/Gtk/MessageType.xml: Can't sleep, wrote (cut-n-pasted) some documentation for some enums. 2003-02-25 Lee Mallabone * en/Gtk/FontSelection.xml: * en/Gtk/FontSelectionDialog.xml: docs for Font widgets 2003-02-24 Kevin Breit * en/Gtk/ArrowType.xml: Fixed a tag mismatch error that caused it to break compile. 2003-02-24 Duncan Mak * makefile: Make the path generic again, I forgot to revert the last patch after Gonzalo checked in a temporary fix to Uri.cs. 2003-02-24 Kevin Breit * en/Gtk/ArrowType.xml: Removed the "To be added" from the remarks sections. * en/Gtk/Arrow.xml: Fixed up a few things in the documentation. 2003-02-23 Duncan Mak * makefile: the docs target is dangerous, remove it by default. Also, remove the -f flag, so even if we do run it, it won't overwrite files, by default. * en/Gtk/AccelGroup.xml: From Raphael Schmid , with edits. * en/Gtk/DirectionType.xml: * en/Gtk/SelectionMode.xml: More from Hector. * en/*/*.xml: a Big patch. This adds code-generated documentation for internal constructors, the GType property and the Finalized method. 2003-02-22 Duncan Mak * en/Gtk/MovementStep.xml: * en/Gtk/ResizeMode.xml: * en/Gtk/StateType.xml: * en/Gtk/ToolbarStyle.xml: More from Hector, the Mexican documentation phenomenon! * en/Gtk/HSeparator.xml: Hector Gomez. * en/Gtk/DeleteType.xml: Kevin Breit, with edits. 2003-02-21 Kevin Breit * en/Gtk/Arrow.xml: Fixed a small error where a . was missing at the end of a sentence. 2003-02-21 Duncan Mak * en/Gtk/Arrow.xml: Kevin Breit, . * en/Gtk/Misc.xml: Raphael J. Schmid, . * en/Gtk/CornerType.xml: Kevin Breit, . * en/Gtk/AccelLabel.xml: Hector E. Gomez Morales . * en/Gtk/AccelFlags.xml: Hector E. Gomez Morales . 2003-02-19 Jeffrey Stedfast * en/Gdk/GC.xml: Documented. 2003-02-17 Duncan Mak * AtkSharp/*.xml: * Gdk/*.xml: * GdkSharp/*.xml: * GladeSharp/*.xml: * Gnome/*.xml: * GnomeSharp/*.xml: * Pango/*.xml: Some ref/out changes. 2003-02-17 Duncan Mak * makefile: Some makefile changes. * en/Gtk/Entry.xml: Patch from Lee Mallabone to add some documentation text for the Gtk.Entry class. 2003-02-14 Duncan Mak * en/*: Updated the docs and added a new Maintainer attribute, also fixed the generator to produce 'ref/out' modifiers for parameters. 2003-02-14 Duncan Mak * makefile: Added a makefile. * all.xml: Indexer file for the doc browser. gtk-sharp-2.12.40/doc/Makefile.in0000664000175000017500000004276312767740506013347 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = doc ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(monodocdir)" DATA = $(monodoc_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in ChangeLog README DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ ASSEMBLIES = \ glib-sharp.dll \ pango-sharp.dll \ atk-sharp.dll \ gdk-sharp.dll \ gtk-sharp.dll \ glade-sharp.dll \ gnome-vfs-sharp.dll \ art-sharp.dll \ gnome-sharp.dll \ gconf-sharp.dll \ gconf-sharp-peditors.dll \ gtkhtml-sharp.dll \ rsvg2-sharp.dll \ vte-sharp.dll \ gtk-dotnet.dll UPDATE_ASSEMBLIES = $(addprefix -assembly:lib/, $(ASSEMBLIES)) UPDATER = $(MONODOCER) -path:en -pretty $(UPDATE_ASSEMBLIES) @ENABLE_MONODOC_FALSE@SOURCESDIR = $(datadir) @ENABLE_MONODOC_TRUE@SOURCESDIR = $(prefix)/lib/monodoc/sources @ENABLE_MONODOC_FALSE@TARGETS = @ENABLE_MONODOC_TRUE@TARGETS = gtk-sharp-docs.zip gtk-sharp-docs.tree gtk-sharp-docs.source monodocdir = $(SOURCESDIR) monodoc_DATA = $(TARGETS) CLEANFILES = gtk-sharp-docs.zip gtk-sharp-docs.tree lib EXTRA_DIST = \ gtk-sharp-docs.source NAMESPACES = GLib Pango Atk Gdk Gtk Gtk.DotNet Glade Art Gnome.Vfs Gnome GConf GConf.PropertyEditors Rsvg Vte all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign doc/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-monodocDATA: $(monodoc_DATA) @$(NORMAL_INSTALL) @list='$(monodoc_DATA)'; test -n "$(monodocdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(monodocdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(monodocdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(monodocdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(monodocdir)" || exit $$?; \ done uninstall-monodocDATA: @$(NORMAL_UNINSTALL) @list='$(monodoc_DATA)'; test -n "$(monodocdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(monodocdir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" distdir="$(distdir)" \ dist-hook check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(monodocdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-monodocDATA install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-monodocDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am dist-hook distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-monodocDATA install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am tags-am uninstall uninstall-am uninstall-monodocDATA .PRECIOUS: Makefile assemble: gtk-sharp-docs.zip gtk-sharp-docs.tree gtk-sharp-docs.tree: gtk-sharp-docs.zip gtk-sharp-docs.zip: $(srcdir)/en/*/*.xml $(srcdir)/en/*.xml $(MDASSEMBLER) --ecma $(srcdir)/en -o gtk-sharp-docs get-assemblies: echo "assumes gnome-sharp and gtk-sharp checkouts in same parent" mkdir -p lib cp $(top_builddir)/*/*.dll lib cp $(top_builddir)/*/*.dll.config lib cp $(top_builddir)/../gnome-sharp/*/*.dll lib cp $(top_builddir)/../gnome-sharp/*/*.dll.config lib cp $(top_builddir)/../gnome-sharp/gconf/*/*.dll lib cp $(top_builddir)/../gnome-sharp/gconf/*/*.dll.config lib cp $(top_builddir)/../gnome-desktop-sharp/gtkhtml/gtkhtml-sharp.dll.config lib cp $(top_builddir)/../gnome-desktop-sharp/gtkhtml/gtkhtml-sharp.dll lib cp $(top_builddir)/../gnome-desktop-sharp/rsvg/rsvg2-sharp.dll.config lib cp $(top_builddir)/../gnome-desktop-sharp/rsvg/rsvg2-sharp.dll lib cp $(top_builddir)/../gnome-desktop-sharp/vte/vte-sharp.dll.config lib cp $(top_builddir)/../gnome-desktop-sharp/vte/vte-sharp.dll lib update: get-assemblies $(UPDATER) update-delete: get-assemblies $(UPDATER) --delete dist-hook: mkdir -p $(distdir)/en cp $(srcdir)/en/*.xml $(distdir)/en/ for i in $(NAMESPACES); do \ mkdir -p $(distdir)/en/$$i; \ cp $(srcdir)/en/$$i/*.xml $(distdir)/en/$$i; \ done push: scp gtk-sharp-docs* root@www.go-mono.com:/usr/lib/monodoc/sources/ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/doc/README0000664000175000017500000000123112654353766012146 00000000000000Compiling and installing the Gtk# Documentation Compile and install monodoc cd monodoc/ ./autogen.sh --prefix=/usr/local make make install Compile the documentation for gtk-sharp cd gtk-sharp/doc make assemble cp gtk-sharp-docs.* `pkg-config monodoc --variable=sourcesdir` If things are fine, you should have in the Monodoc sources directory the following files: gtk-sharp-docs.source gtk-sharp-docs.tree gtk-sharp-docs.zip netdocs.source netdocs.tree netdocs.zip Start monodoc, by typing `monodoc' If it doesn't run, please change the paths in the makefile and point ASSEMBLER and BROWSER to where you put your assembler.exe and browser.exe. gtk-sharp-2.12.40/doc/en/0000775000175000017500000000000012767740535011752 500000000000000gtk-sharp-2.12.40/doc/en/ns-Gdk.xml0000664000175000017500000000035212767740535013537 00000000000000 An intermediate layer which isolates Gtk from the details of the windowing system. gtk-sharp-2.12.40/doc/en/ns-Gtk.DotNet.xml0000664000175000017500000000077712767740535014766 00000000000000 Extension to the Gtk Widget set for .Net interoperability. The functionality provided in this namespace is aimed at utilizing the power of the non-ECMA portions of .Net like System.Drawing and System.Data for the development of Gtk applications. This namespace is provided by the gtk-dotnet assembly. gtk-sharp-2.12.40/doc/en/Gtk/0000775000175000017500000000000012767740535012477 500000000000000gtk-sharp-2.12.40/doc/en/Gtk/ObjectRequestedHandler.xml0000664000175000017500000000277412767740535017541 00000000000000 gtkhtml-sharp 3.16.0.0 System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ObjectRequestedHandler instance to the event. The methods referenced by the ObjectRequestedHandler instance are invoked whenever the event is raised, until the ObjectRequestedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/GotPageSizeHandler.xml0000664000175000017500000000261412767740535016623 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the GotPageSizeHandler instance to the event. The methods referenced by the GotPageSizeHandler instance are invoked whenever the event is raised, until the GotPageSizeHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/HSeparator.xml0000664000175000017500000001023712767740535015214 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Separator The HSeparator widget is a horizontal separator, used to group the widgets within a window. The HSeparator widget is a horizontal separator, used to group the widgets within a window. It is not used as a separator within menus. To create a separator in a menu create an empty widget and add it to the menu with . Constructor 2.12.0.0 Constructor Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gtk/ColorSelectionChangePaletteFunc.xml0000664000175000017500000000237512767740535021335 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Delegate to specify function signature for methods that change the color palette in a . gtk-sharp-2.12.40/doc/en/Gtk/MoveHandler.xml0000664000175000017500000000275712767740535015360 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the MoveHandler instance to the event. The methods referenced by the MoveHandler instance are invoked whenever the event is raised, until the MoveHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/DestroyEventArgs.xml0000664000175000017500000000447712767740535016425 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.Event The event that triggered this window destruction. a gtk-sharp-2.12.40/doc/en/Gtk/AspectFrame.xml0000664000175000017500000002416712767740535015345 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Frame A frame that constrains its child to a particular aspect ratio. The AspectFrame is useful when you want pack a widget so that it can resize but always retains the same aspect ratio. For instance, one might be drawing a small preview of a larger image. AspectFrame derives from , so it can draw a label and a frame around the child. The frame will be "shrink-wrapped" to the size of the child. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 A title for the frame, can be . Horizontal alignment of the child within the allocation of the AspectFrame. Vertical alignment of the child within the allocation of the AspectFrame. The desired aspect ratio. If , ratio is ignored, and the aspect ratio is taken from the requistion of the child. The main way to construct a new AspectFrame. Alignment values range from 0.0 (left/top aligned) to 1.0 (right/bottom aligned). Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("obey-child") System.Boolean Allow the frame to use its child widget's aspect ratio. The current size ratio of the child widget Property 2.12.0.0 GLib.Property("ratio") System.Single The aspect ratio of the child widget's size. The aspect ratio between 0.0 and 1.0 representing the child's size constraints. Setting this ratio is ignored if is set to . Method 2.12.0.0 System.Void Horizontal alignment of the child within the allocation of the AspectFrame. Vertical alignment of the child within the allocation of the AspectFrame. The desired aspect ratio. If , ratio is ignored, and the aspect ratio is taken from the requistion of the child. Set the size and alignment properties of this AspectFrame. Alignment values range from 0.0 (left/top aligned) to 1.0 (right/bottom aligned). Property 2.12.0.0 GLib.Property("xalign") System.Single Horiontal alignment of the child widget in the AspectFrame. A value between 0.0 and 1.0. Property 2.12.0.0 GLib.Property("yalign") System.Single Vertical alignment of the child widget in the AspectFrame. A value between 0.0 and 1.0. gtk-sharp-2.12.40/doc/en/Gtk/TextChildAnchor.xml0000664000175000017500000001310712767740535016166 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object A spot in the buffer where child widgets can be "anchored" (inserted inline, as if they were characters). The anchor can have multiple widgets anchored, to allow for multiple views. Constructor 2.12.0.0 Creates a new TextChildAnchor To create a new , you can also use the factory method from the class. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 System.Boolean Determines whether the child anchor has been deleted from the buffer. if the child anchor has been deleted from its buffer Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 Gtk.Widget[] Gets a list of all widgets anchored at this child anchor. An array of widgets anchored. gtk-sharp-2.12.40/doc/en/Gtk/ChildDetachedArgs.xml0000664000175000017500000000445412767740535016432 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.Widget The child widget that was detached. A gtk-sharp-2.12.40/doc/en/Gtk/CurrentParagraphStyleChangedHandler.xml0000664000175000017500000000341712767740535022207 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CurrentParagraphStyleChangedHandler instance to the event. The methods referenced by the CurrentParagraphStyleChangedHandler instance are invoked whenever the event is raised, until the CurrentParagraphStyleChangedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/PrefixInsertedHandler.xml0000664000175000017500000000424112767740535017373 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PrefixInsertedHandler instance to the event. The methods referenced by the PrefixInsertedHandler instance are invoked whenever the event is raised, until the PrefixInsertedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/TreeSelection.xml0000664000175000017500000007373412767740535015724 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object The selection object for . TreeSelection provides a single class for managing selection information on the List/Tree widget. A TreeSelection object is automatically created when a new widget is created and is inherently tied to it. A TreeSelection cannot exist independently of a . Selection information is retrieved from the with the property. TreeSelection can check the selection status of the tree, as well as select and deselect individual rows. Selection is done completely on the view. As a result, multiple views of the same model can have completely different selections. Additionally, you cannot change the selection of a row that is not currently displayed by the view without expanding its parents first. One of the important things to remember when monitoring the selection of a view is that the event is mostly a hint. For example, it may only fire once when a range of rows is selected. It may also fire when nothing has happened, such as when is called on a row that is already selected. using System; using Gtk; class Selection { static void Main () { Application.Init (); Window win = new Window ("TreeSelection sample"); win.DeleteEvent += OnWinDelete; TreeView tv = new TreeView (); tv.AppendColumn ("Items", new CellRendererText (), "text", 0); ListStore store = new ListStore (typeof (string)); store.AppendValues ("item 1"); store.AppendValues ("item 2"); tv.Model = store; tv.Selection.Changed += OnSelectionChanged; win.Add (tv); win.ShowAll (); Application.Run (); } static void OnSelectionChanged (object o, EventArgs args) { TreeIter iter; TreeModel model; if (((TreeSelection)o).GetSelected (out model, out iter)) { string val = (string) model.GetValue (iter, 0); Console.WriteLine ("{0} was selected", val); } } static void OnWinDelete (object o, DeleteEventArgs args) { Application.Quit (); } } Constructor 2.12.0.0 Protected constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Event 2.12.0.0 GLib.Signal("changed") System.EventHandler Raised when the selection (may have) changed. This event is mostly a hint. It may only be raised once when a range of rows are selected, and it may occasionally be raised when nothing has happened. Method 2.12.0.0 System.Int32 Get the number of selected rows. The number of selected rows Method 2.12.0.0 System.Boolean The position that was selected. Gets information about the currently selected node. if a row is selected. This convenience method doesnt require an out . It is useful in the case that you already have a copy of the TreeModel. Method 2.12.0.0 System.Boolean A convenient accessor to the that this TreeSelection's is associated with. The position that was selected. Get information about the currently selected node. if a row was selected. This method will not work if the TreeSelection has been set to . In that case you should use . Method 2.12.0.0 Gtk.TreePath[] Returns an array of s representing the selected rows. Selected rows in an array of s Method 2.12.0.0 Gtk.TreePath[] The model the is bound to. Returns an array of s representing the selected rows. Selected rows in an array of s Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 System.Boolean The tree location to check Determine if the iter is selected. if the tree node specified by is selected, otherwise. See also . Property 2.12.0.0 Gtk.SelectionMode Manages the way rows can be selected. The current mode dictating selection behaviour. Rows may be deselected by changing this property. For example, if rows are selected and the mode is changed to or . Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideChanged", Type=typeof(Gtk.TreeSelection)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Boolean The path to a node whose selected status should be checked. Determines whether a has been selected in this . if is selected, otherwise. Method 2.12.0.0 System.Void Selects every node in this . The must be set to for this method to work. Method 2.12.0.0 System.Void The delegate that should be called for each selected row. Invokes the delegate passed in by for each selected row in the . This method is useful when the of this TreeSelection is set to . It is currently the only way to access selection information for multiple rows. See the class overview for an example on how to effectively use this method for selection tracking. Property 2.12.0.0 Gtk.TreeSelectionFunc A hook into selection and unselection a If set, is called before any node is selected or unselected, giving some control over which nodes are selected. The select function should return if the state of the node may be toggled, and if the state of the node should be left unchanged. Method 2.12.0.0 System.Void Indicates which row to select. Selects the specified . See also and . Method 2.12.0.0 System.Void A row to be selected. Selects the specified row that represents. Method 2.12.0.0 System.Void The first node to select on the tree. The last node to select on the tree. Selects all the nodes that appear between and . Method 2.12.0.0 System.Obsolete("Replaced by SelectFunction property.") System.Void A delegate to invoke before a node is (un)selected. ignored ignored Add a hook into selection and unselection. This method is obsolete. New code should use the property. Property 2.12.0.0 Gtk.TreeView Get the that this is associated with. The that this is tied to. A object can only be retrieved from a . That is done with its property. Method 2.12.0.0 System.Void Sets all nodes in the as unselected. Method 2.12.0.0 System.Void The tree position that should be deselected. Deselects the specified position in the tree. See also, and . using System; using Gtk; class TreeSelectionSample { Label selected; static void Main () { Application.Init (); new TreeSelectionSample (); Application.Run (); } TreeSelectionSample () { Window win = new Window ("TreeView selection sample"); win.SetDefaultSize (400, 300); win.DeleteEvent += new DeleteEventHandler (OnWinDelete); HBox hbox = new HBox (false, 0); TreeView tv = new TreeView (); tv.Selection.Changed += new EventHandler (OnSelectionChanged); tv.AppendColumn ("items", new CellRendererText (), "text", 0); TreeStore store = new TreeStore (typeof (string)); for (int i = 0; i < 10; i++) { store.AppendValues ("item " + i.ToString ()); } tv.Model = store; hbox.PackStart (tv); selected = new Label (); hbox.PackStart (selected); win.Add (hbox); win.ShowAll (); } void OnSelectionChanged (object o, EventArgs args) { TreeSelection ts = (TreeSelection) o; TreeIter iter; TreeModel model; ts.GetSelected (out model, out iter); selected.Text = (string) model.GetValue (iter, 0); } void OnWinDelete (object o, DeleteEventArgs args) { Application.Quit (); } } Method 2.12.0.0 System.Void A node in the tree. Deselects the tree node that refers to. See also . Method 2.12.0.0 System.Void to begin range. to end range. Unselects everything between one path and another. Property 2.12.0.0 System.IntPtr Get the data associated with the that has been setup for this . The raw data that was set when was called. gtk-sharp-2.12.40/doc/en/Gtk/TextCharPredicate.xml0000664000175000017500000000230412767740535016503 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Boolean To be added. A delegate to be run over each character of a text buffer. To be added. Used by and . Generally, it's a search function of some sort. gtk-sharp-2.12.40/doc/en/Gtk/Object.xml0000664000175000017500000006576412767740535014371 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.InitiallyUnowned Base class for the Gtk object hierarchy. Base object for the Gtk object hierarchy. The difference between Gtk.Object and GLib. is a historical one, and it matters little in Gtk#. Constructor 2.12.0.0 Internal. Internal constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Obsolete System.Void a a a a Deprecated. Do not use in new code. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void Request all holders to the object to release the reference. This method is used to notify objects that might hold a reference to this object to release the reference. This invokes the method and triggers the event. The object is only destroyed if all the references to the object are released, this is just a mechanism to request that references be released. Event 2.12.0.0 GLib.Signal("destroy") System.EventHandler Raised to signal that all references to this object should be removed. This event is triggered if someone has invoked the 's method. It is used to inform that all references to the object must be discarded at this point. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Obsolete System.IntPtr a Deprecated. Do not use. a Method 2.12.0.0 System.Obsolete System.IntPtr a Deprecated. Do not use. a Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.Boolean Determines if the object reference is floating. a An object is floating until it is added to a container which claims ownership of the floating reference. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDestroyed", Type=typeof(Gtk.Object)) System.Void Invoked to request that references to the object be released. This method is invoked when someone has called the 's method. Any references to the object held should be released at this point. Property 2.12.0.0 System.IntPtr Diagnostic method to print the raw object and its reference count as debug information. a , the internal C data underlying this object. Method 2.12.0.0 System.Obsolete Gtk.Object Deprecated. Do not use. a Method 2.12.0.0 System.Obsolete System.Void a Deprecated. Do not use. Method 2.12.0.0 System.Obsolete System.Void a Deprecated. Do not use. Method 2.12.0.0 System.Obsolete System.Void a Deprecated. Do not use. Method 2.12.0.0 System.Obsolete System.Void a Deprecated. Do not use. Method 2.12.0.0 System.Obsolete System.Void a a Deprecated. Do not use. Method 2.12.0.0 System.Obsolete System.Void a a Deprecated. Do not use. Method 2.12.0.0 System.Obsolete System.Void a a a Deprecated. Do not use. Method 2.12.0.0 System.Obsolete System.Void a a a Deprecated. Do not use. Method 2.12.0.0 System.Obsolete System.Void Removes the floating reference from a , if it exists; otherwise does nothing. See the overview documentation at the top of the page. Method 2.12.0.0 System.Obsolete System.Void Deprecated. Do not use. Property 2.12.0.0 GLib.Property("user-data") System.Obsolete System.IntPtr Helper property to associate information with an object. This is not very useful with the Gtk# binding as it is with the C binding. Method 2.12.0.0 System.Obsolete System.Void a Deprecated. Do not use. Method 2.12.0.0 System.Obsolete System.Void a Deprecated. Do not use. gtk-sharp-2.12.40/doc/en/Gtk/BuilderError.xml0000664000175000017500000001066212767740535015546 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.BuilderErrorGType)) To be added. To be added. Field 2.12.0.0 Gtk.BuilderError To be added. Field 2.12.0.0 Gtk.BuilderError To be added. Field 2.12.0.0 Gtk.BuilderError To be added. Field 2.12.0.0 Gtk.BuilderError To be added. Field 2.12.0.0 Gtk.BuilderError To be added. Field 2.12.0.0 Gtk.BuilderError To be added. Field 2.12.0.0 Gtk.BuilderError To be added. gtk-sharp-2.12.40/doc/en/Gtk/ActionEntry.xml0000664000175000017500000002206412767740535015404 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType A struct containing all the info necessary for creating an The ActionEntry struct is C# "syntactic sugar", designed to make it easier for developers to add s to their code. Instead of creating a new object for each action, a developer can create an array of ActionEntry's and add them to an all at once using the method. Constructor 2.12.0.0 a , a unique name a , a stock icon Public constructor. Constructor 2.12.0.0 a , a unique name a , a stock icon a , a handler to run when the action is activated Public constructor. Constructor 2.12.0.0 a , a unique name a , a stock icon a , label text a , an accelerator sequence a , tooltip text a , a handler to run when the action is activated Public constructor. Field 2.12.0.0 System.String The accelerator for the action, in the format understood by , or "" for no accelerator, or to use the stock accelerator. Field 2.12.0.0 System.EventHandler EventHandler to be called when the action is triggered. Field 2.12.0.0 System.String The label used for menu items and buttons that activate this action. Field 2.12.0.0 System.String A unique name for the action. Field 2.12.0.0 System.String The stock icon displayed in widgets representing this action. Field 2.12.0.0 System.String A tooltip for this action. gtk-sharp-2.12.40/doc/en/Gtk/Global.xml0000664000175000017500000004513112767740535014345 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Global API elements for This class contains all the methods which are not directly attributable to a specific type. Constructor 2.12.0.0 Do not use. There are no instance members for this class. This constructor will be marked Obsolete and possibly removed in future versions. Method 2.12.0.0 System.Boolean a To be added a To be added Method 2.12.0.0 System.Boolean the to activate bindings on. a representing the key value to activate. a representing any Ctrl, Meta, or Shift modifiers to the key value. Activates a registered key binding. a indicating whether a binding was activated. Method 2.12.0.0 System.String a a a Check if a version is compatible with the currently loaded Gtk library. if the version is supported, or an error string describing the mismatch. This is typically only used by modules which want to check if they are compatible with the currently loaded version of Gtk+. Property 2.12.0.0 Gdk.Event Obtains a copy of the event currently being processed by Gtk#. a For example, if you get a event from , the current event will be the that triggered the signal. If there is no current event, the function returns . Property 2.12.0.0 System.UInt32 Returns a representing the unix time of the current event. Returns the unix time for the current event. None. Property 2.12.0.0 Pango.Language The current default language for this application. a This value can change during the life of a program, and is based on the current locale. It contains information such as the text direction of the current language. Method 2.12.0.0 System.Void Disables automatic user locale usage. Only use this if you want to set a specific locale for your program other than the default user locale, or if you want to set different values for different locale categories. Most applications will not need to use this. Property 2.12.0.0 System.Boolean Checks if any events are pending. a This can be used to update the GUI and invoke timeouts etc. while doing some time intensive computation. /* computation going on */ ... while (Gtk.Global.EventsPending) { Gtk.Application.RunIteration (); } ... /* computation continued */ Method 2.12.0.0 System.Boolean a to store the state in if one exists. Gets the state field of the current event. if there is a current and it has a state field, otherwise . Method 2.12.0.0 Gtk.Widget a Gets the widget associated with an event. the that originally received , or . Method 2.12.0.0 System.Obsolete System.Void a a a , a state a , a clip rectangle a , the widget a , a style detail a , Y origin a , Y origin a , the string to draw Deprecated. Do not use. Draws a text string on with the given parameters. Method 2.12.0.0 System.Boolean a a To be added a To be added Method 2.12.0.0 System.Void to propagate event to. to propagate. Propagate an event from one widget to another. This function should be rarely used, look into event handler overriding instead. Method 2.12.0.0 System.Void the red component of the color as a the green component of the color as a the blue component of the color as a the resulting hue of the color as a the resulting saturation of the color as a the resulting value of the color as a Converts a Red/Green/Blue color value to a Hue/Saturation/Value color value. Method 2.12.0.0 System.String Sets the current locale according to the application environment. a corresponding to the locale set. This is equivalent to the C standard library call - setlocale (LC_ALL, ""), but also takes care of setup of the windowing environment used by . automatically does this, so it is not normally necessary for applications to call this method. gtk-sharp-2.12.40/doc/en/Gtk/Tooltips.xml0000664000175000017500000003016312767740535014761 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Object System.Obsolete Add Tooltips to your widgets. Tooltips are the messages that appear next to a widget when the mouse pointer is held over it for a short amount of time. They are especially helpful for adding more verbose descriptions of things such as in a toolbar. An individual tooltip belongs to a group of tooltips. A group is created by calling the constructor . Every tooltip in the group can then be turned off with and on with . To assign a tip to a particular , is used. Note: Tooltips can only be set on widgets which have their own X window. To add a tooltip to a that does not have its own , place the widget inside a and add a tooltip to that instead. The default appearance of all tooltips in a program is determined by the current Gtk theme that the user has selected. using Gtk; class ToolTipsExample { static void Main() { Application.Init(); Window win = new Window("Tooltips"); Button load_button, save_button; HBox hbox; Tooltips button_bar_tips; button_bar_tips = new Tooltips (); // Create the buttons and pack them into a Gtk.HBox hbox = new HBox (true, 2); win.Add(hbox); load_button = new Button ("Load a file"); hbox.Add(load_button); save_button = new Button ("Save a file"); hbox.Add(save_button); // Add the tips button_bar_tips.SetTip (load_button, "Load a new document into this window", "longer explanation"); button_bar_tips.SetTip (save_button, "Saves the current document to a file", "longer explanation"); win.ShowAll(); Application.Run(); } } Constructor 2.12.0.0 Creates an empty group of tooltips. Creates an empty group of tooltips. This function initializes a structure. Without at least one such structure, you can not add individual tips to your application. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 System.UInt32 Number of milliseconds of mouse-hover before tooltips pop up. a Method 2.12.0.0 System.Void Causes all tooltips in the tooltips group to become inactive. Causes all tooltips in the tooltips group to become inactive. Any widgets that have tips associated with that group will no longer display their tips until they are enabled again with . Method 2.12.0.0 System.Void Allows the user to see your tooltips as they navigate your application. Allows the user to see your tooltips as they navigate your application. Method 2.12.0.0 System.Void Ensures that the window used for displaying the given tooltip is created. Ensures that the window used for displaying the given tooltip is created. (Applications should never have to call this function, since Gtk# takes care of this.) Method 2.12.0.0 System.Boolean a a a Determines the tooltips and the widget they belong to from the window in which they are displayed. a This function is mostly intended for use by accessibility technologies; applications should have little use for it. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 System.Void an object of type an object of type an object of type Adds a tooltip containing the specified message to the specified . Adds a tooltip containing the specified message to the specified . gtk-sharp-2.12.40/doc/en/Gtk/FontSelection.xml0000664000175000017500000002143512767740535015722 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.VBox A FontSelection is a widget that allows the user to select a font. The FontSelection widget lists the available fonts, styles and sizes, allowing the user to select a font. It is used in the widget to provide a box for selecting fonts. Filters can be used to limit the fonts shown. There are 2 filters in the FontSelection - a base filter and a user filter. The base filter can not be changed by the user, so this can be used when the user must choose from the restricted set of fonts (e.g. for a terminal-type application you may want to force the user to select a fixed-width font). The user filter can be changed or reset by the user, by using the 'Reset Filter' button or changing the options on the 'Filter' page of the widget. Constructor 2.12.0.0 The main way to construct a new FontSelection Creates a new FontSelection widget that allows the user to select from the available fonts. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.Property("font") System.Obsolete Gdk.Font Get the that is currently selected. A Gdk font object representing the selected font, or null if no font is selected. Property 2.12.0.0 GLib.Property("font-name") System.String Manage the name of the font that is selected in this widget. The name of the currently selected font. If this property is used to alter the widget's font name to a font that could not be found, the widget will retain its original font selection. See also , which returns a value indicating whether or not the new font name was found. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("preview-text") System.String The text used to display a preview of the selected font. The text currently displaying the selected font. This property determines the exact string that is displayed in the 'preview area' of the FontSelection. Method 2.12.0.0 System.Boolean the name of the font to be selected Set the current font selection if the font was found and selected This can be used instead of setting property if you need to know whether or not was valid. gtk-sharp-2.12.40/doc/en/Gtk/FormatValueHandler.xml0000664000175000017500000000310512767740535016663 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the FormatValueHandler instance to the event. The methods referenced by the FormatValueHandler instance are invoked whenever the event is raised, until the FormatValueHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/UnselectAllHandler.xml0000664000175000017500000000314212767740535016652 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the UnselectAllHandler instance to the event. The methods referenced by the UnselectAllHandler instance are invoked whenever the event is raised, until the UnselectAllHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/SizeAllocatedArgs.xml0000664000175000017500000000453412767740535016507 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.Rectangle The actual rectangle that was allocated for the widget. A gtk-sharp-2.12.40/doc/en/Gtk/MoveFocusOutHandler.xml0000664000175000017500000000360712767740535017043 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the MoveFocusOutHandler instance to the event. The methods referenced by the MoveFocusOutHandler instance are invoked whenever the event is raised, until the MoveFocusOutHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/TreeNodeAddedHandler.xml0000664000175000017500000000215012767740535017064 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void To be added. To be added. TreeNodeAddedHandler delegate Event handler for notification of the addition of a to node . gtk-sharp-2.12.40/doc/en/Gtk/CommitArgs.xml0000664000175000017500000000434112767740535015210 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.String The string generated by a text entry. A gtk-sharp-2.12.40/doc/en/Gtk/HTMLEmbedded.xml0000664000175000017500000003073712767740535015331 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Bin Embeds an HTML object. Constructor 3.16.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 3.16.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 3.16.0.0 a a a a a a To be added Event 3.16.0.0 GLib.Signal("changed") System.EventHandler Raised when the HTML is changed. Property 3.16.0.0 System.Int32 To be added a Event 3.16.0.0 GLib.Signal("draw_gdk") Gtk.DrawGdkHandler To be added Event 3.16.0.0 GLib.Signal("draw_print") Gtk.DrawPrintHandler To be added Method 3.16.0.0 System.String a To be added a Property 3.16.0.0 GLib.GType GType Property. a Returns the native value for . Method 3.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideChanged", Type=typeof(Gtk.HTMLEmbedded)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 3.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDrawGdk", Type=typeof(Gtk.HTMLEmbedded)) System.Void a a a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 3.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDrawPrint", Type=typeof(Gtk.HTMLEmbedded)) System.Void To be added. To be added. To be added. Method 3.16.0.0 System.Void a a To be added gtk-sharp-2.12.40/doc/en/Gtk/SetFocusArgs.xml0000664000175000017500000000440112767740535015510 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.Widget The widget where the focus is being set. A gtk-sharp-2.12.40/doc/en/Gtk/RadioActionEntry.xml0000664000175000017500000002370112767740535016362 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType A struct containing all the info necessary for creating an The ActionEntry struct is C# "syntactic sugar", designed to make it easier for developers to add s to their code. Instead of creating a new object for each action, a developer can create an array of RadioActionEntry's and add them to an all at once using the method. Constructor 2.12.0.0 a a Basic constructor. Constructor 2.12.0.0 a , a unique name for the action a , the stock icon to use. a , the label to display on menu items and buttons a ,the accelerator string (see notes below) a , a tooltip for this action Public constructor with accelerator. The accelerator given should be in the format understood , or "" for no accelerator, or to use the stock accelerator Constructor 2.12.0.0 a , a unique name for the action a , the stock icon to use. a , the label to display on menu items and buttons a ,the accelerator string (see notes below) a , a tooltip for this action a , the value that should return if this action is activated. Public constructor with accelerator and value. The accelerator given should be in the format understood , or "" for no accelerator, or to use the stock accelerator Field 2.12.0.0 System.String The accelerator for the action, in the format understood by , or "" for no accelerator, or to use the stock accelerator. Field 2.12.0.0 System.String The label used for menu items and buttons that activate this action. Field 2.12.0.0 System.String A unique name for the action. Field 2.12.0.0 System.String The stock icon displayed in widgets representing this action. Field 2.12.0.0 System.String A tooltip for this action. Field 2.12.0.0 System.Int32 Integer representing the value of the . gtk-sharp-2.12.40/doc/en/Gtk/DragDataReceivedHandler.xml0000664000175000017500000000320212767740535017552 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DragDataReceivedHandler instance to the event. The methods referenced by the DragDataReceivedHandler instance are invoked whenever the event is raised, until the DragDataReceivedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/Combo.xml0000664000175000017500000004267412767740535014215 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.HBox System.Obsolete A text entry field with a dropdown list The widget consists of a single-line text entry field and a drop-down list. The drop-down list is displayed when the user clicks on a small arrow button to the right of the entry field. The drop-down list is a widget and can be accessed using the list member of the . List elements can contain arbitrary widgets, but if an element is not a plain label, then you must use the function. This sets the string which will be placed in the text entry field when the item is selected. By default, the user can step through the items in the list using the arrow (cursor) keys, though this behaviour can be turned off with = . Creating a widget with simple text items: using System; using Gtk; class ComboSample { Combo combo; static void Main () { new ComboSample (); } ComboSample () { Application.Init (); Window win = new Window ("ComboSample"); win.DeleteEvent += new DeleteEventHandler (OnWinDelete); string[] list = new string[] {"one", "two", "three"}; combo = new Combo (); combo.PopdownStrings = list; combo.DisableActivate (); combo.Entry.Activated += new EventHandler (OnEntryActivated); win.Add (combo); win.ShowAll (); Application.Run (); } void OnEntryActivated (object o, EventArgs args) { Console.WriteLine (combo.Entry.Text); } void OnWinDelete (object obj, DeleteEventArgs args) { Application.Quit (); } } Constructor 2.12.0.0 Creates a new . This is the default contructor for Constructor 2.12.0.0 System.Obsolete a Protected constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.Property("allow-empty") System.Boolean Specifies if an empty field is acceptable. if an empty value is considered valid. Property 2.12.0.0 Gtk.Button The asociated with the . an object of type Property 2.12.0.0 GLib.Property("case-sensitive") System.Boolean Specifies whether the text entered into the field and the text in the list items is case sensitive. if the text in the list items is case sensitive. This may be useful, for example, when you have set true ValueInList to limit the values entered, but you are not worried about differences in case. Method 2.12.0.0 System.Void Disables showing the popup list on the activate event. Stops the widget from showing the popup list when the emits the event, i.e. when the Return key is pressed. This may be useful if, for example, you want the Return key to close a dialog instead. Property 2.12.0.0 GLib.Property("enable-arrow-keys") System.Boolean Specifies if the arrow (cursor) keys can be used to step through the items in the list. if the arrow keys can be used to step through the items in the list. This is by default. Property 2.12.0.0 GLib.Property("enable-arrows-always") System.Boolean See a Property 2.12.0.0 Gtk.Entry The asociated with the . an object of type Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 Gtk.Widget To be added. To be added. To be added. Property 2.12.0.0 System.String[] Property to set all of the items in the popup list. An array of strings. Method 2.12.0.0 System.Void an object of type an object of type Sets the string to place in the field when a particular list item is selected. This is not needed if the list item is a simple . Method 2.12.0.0 System.Void a a Whether entered values must already be present in the list. Property 2.12.0.0 System.Boolean Specifies if the arrow (cursor) keys can be used to step through the items in the list. See also EnableArrowKeys. if the arrow keys can be used to step through the items in the list. This is on by default. Property 2.12.0.0 System.Boolean Does nothing. ---- REMOVE ---- See EnableArrowKeys. a Property 2.12.0.0 GLib.Property("value-in-list") System.Boolean Specifies whether the value entered in the text entry field must match one of the values in the list. if the value entered must match one of the values in the list. If this is set then the user will not be able to perform any other action until a valid value has been entered. gtk-sharp-2.12.40/doc/en/Gtk/AssistantPageFunc.xml0000664000175000017500000000154612767740535016531 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Int32 To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/SortType.xml0000664000175000017500000000406212767740535014734 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.SortTypeGType)) Determines the direction of a sort. Field 2.12.0.0 Gtk.SortType Sorting is in ascending order. Field 2.12.0.0 Gtk.SortType Sorting is in descending order. gtk-sharp-2.12.40/doc/en/Gtk/MarkDeletedHandler.xml0000664000175000017500000000311212767740535016615 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the MarkDeletedHandler instance to the event. The methods referenced by the MarkDeletedHandler instance are invoked whenever the event is raised, until the MarkDeletedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/HSV.xml0000664000175000017500000003352712767740535013613 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Widget A color selector based on hue, saturation, and value. TODO: add an example. Constructor 2.12.0.0 Default constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Event 2.12.0.0 GLib.Signal("changed") System.EventHandler Raised when the color of this widget changes. Method 2.12.0.0 System.Void a a a Gets the current color indicated by this widget. Method 2.12.0.0 System.Void a to fill with the hue ring size. a to fill with the width of the hue ring. Gets the current size of this widget. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.Boolean An HSV color selector is "adjusting" if multiple rapid changes are being made to its value, for example, when the user is adjusting the value with the mouse. This property tells whether the HSV color selector is being adjusted or not. a Returns true if clients can ignore changes to the color value, since they may be transitory, or false if they should consider the color value status to be final. Event 2.12.0.0 GLib.Signal("move") Gtk.MoveHandler Raised when this widget is moved. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideChanged", Type=typeof(Gtk.HSV)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideMove", Type=typeof(Gtk.HSV)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Void A , the hue A , the saturation A , the value Sets the color displayed in the widget. Method 2.12.0.0 System.Void A A Set the basic size of the hue ring. Method 2.12.0.0 System.Void a , the hue a , the saturation a , the value a , red component a , blue component a , green component Converts a HSV value to a RGB (red-green-blue) triplet. gtk-sharp-2.12.40/doc/en/Gtk/Arg.xml0000664000175000017500000001022012767740535013645 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType System.Obsolete Do not use. This class's C version is only used internally by gtkobject.c. Field 2.12.0.0 System.String Do not use. Field 2.12.0.0 System.String Do not use. Method 2.12.0.0 Gtk.Arg a Do not use. a Field 2.12.0.0 GLib.GType Do not use. Field 2.12.0.0 Gtk.Arg Do not use. gtk-sharp-2.12.40/doc/en/Gtk/ButtonReleaseEventArgs.xml0000664000175000017500000000454412767740535017543 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.EventButton The button that was released. a gtk-sharp-2.12.40/doc/en/Gtk/SettingsValue.xml0000664000175000017500000000660512767740535015745 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType Data for . Method 2.12.0.0 Gtk.SettingsValue A , pointer to the underlying C object. Constructor. A Not for general developer use. Field 2.12.0.0 System.String The source of this data (usually an rcfile). Field 2.12.0.0 GLib.Value The data value. Field 2.12.0.0 Gtk.SettingsValue An empty value. gtk-sharp-2.12.40/doc/en/Gtk/ToolButton.xml0000664000175000017500000003050212767740535015252 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.ToolItem A button for a toolbar. Constructor 2.12.0.0 System.Obsolete a Protected constructor. Constructor 2.12.0.0 a , pointer to underlying C object. Constructor for internal use only. Constructor 2.12.0.0 a , the name of the stock item Public constructor that uses a stock item. Constructor 2.12.0.0 a , a widget that will be used as icon widget, or a , a label for this button, or Public constructor Event 2.12.0.0 GLib.Signal("clicked") System.EventHandler This signal is emitted when the tool button is clicked with the mouse or activated with the keyboard. Property 2.12.0.0 GLib.GType The of this object. a Property 2.12.0.0 GLib.Property("icon-name") System.String Accesses the icon as a name in an Icon theme. a name in an Icon theme. Property 2.12.0.0 GLib.Property("icon-widget") Gtk.Widget The icon for this button, in widget form. a Property 2.12.0.0 GLib.Property("label") System.String The label for this button. a Property 2.12.0.0 GLib.Property("label-widget") Gtk.Widget The label for this button in widget form. a Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideClicked", Type=typeof(Gtk.ToolButton)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 2.12.0.0 GLib.Property("stock-id") System.String If this is a stock item, the ID for the stock item. a Property 2.12.0.0 GLib.Property("use-underline") System.Boolean Whether the button label has the form "_Open". a If set, an underline in the label property indicates that the next character should be used for the mnemonic accelerator key in the overflow menu. For example, if the label property is "_Open" and this property is set, the label on the tool button will be "Open" and the item on the overflow menu will have an underlined 'O'. Labels shown on tool buttons never have mnemonics on them; this property only affects the menu item on the overflow menu. gtk-sharp-2.12.40/doc/en/Gtk/TreeModel.xml0000664000175000017500000013713512767740535015033 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.IWrapper The tree interface used by The interface defines a generic tree interface for use by the widget. It is an abstract interface, and is designed to be usable with any appropriate data structure. The programmer just has to implement this interface on their own data type for it to be viewable by a widget. The model is represented as a hierarchical tree of strongly-typed, columned data. In other words, the model can be seen as a tree where every node has different values depending on which column is being queried. The types are homogeneous per column across all nodes. It is important to note that this interface only provides a way of examining a model and observing changes. The implementation of each individual model decides how and if changes are made. In order to make life simpler for programmers who do not need to write their own specialized model, two generic models are provided - the and the . To use these, the developer simply pushes data into these models as necessary. These models provide the data structure as well as all appropriate tree interfaces. As a result, implementing drag and drop, sorting, and storing data is trivial. For the vast majority of trees and lists, these two models are sufficient. Models are accessed on a node/column level of granularity. One can query for the value of a model at a certain node and a certain column on that node. There are two structures used to reference a particular node in a model. They are the and the . Most of the interface consists of operations on a . A path is essentially a potential node. It is a location on a model that may or may not actually correspond to a node on a specific model. The struct can be converted into either an array of unsigned integers or a string. The string form is a list of numbers separated by a colon. Each number refers to the offset at that level. Thus, the path "0" refers to the root node and the path "2:4" refers to the fifth child of the third node. By contrast, a is a reference to a specific node on a specific model. It is a generic struct with an integer and three generic pointers. These are filled in by the model in a model-specific way. One can convert a path to an iterator by calling . These iterators are the primary way of accessing a model and are similar to the iterators used by . The model interface defines a set of operations using them for navigating the model. It is expected that models fill in the iterator with private data. For example, the model, which is internally a simple linked list, stores a list node in one of the pointers. The stores an array and an offset in two of the pointers. Additionally, there is an integer field. This field is generally filled with a unique stamp per model. This stamp is for catching errors resulting from using invalid iterators with a model. The lifecycle of an iterator can be a little confusing at first. Iterators are expected to always be valid for as long as the model is unchanged (and does not emit a signal). Additionally, some models guarantee that an iterator is valid for as long as the node it refers to is valid (most notably the and ). Although generally uninteresting, as one always has to allow for the case where iterators do not persist beyond a signal, some very important performance enhancements were made in the sort model. As a result, the flag was added to indicate this behavior. Method 2.12.0.0 System.Void an object of type an object of type Emits the signal. Method 2.12.0.0 System.Void an object of type Emits the event. This should be called by models after a row has been removed. The location pointed to by should be the location that the row previously was at. It may not be a valid location anymore. Method 2.12.0.0 System.Void an object of type an object of type Emits the event. This should be called by models after the child state of a node changes. Method 2.12.0.0 System.Void an object of type , path of the inserted row. an object of type , points to the inserted row. Emits the event. Method System.Int32 Sends out a event. a that points to the row whose children have been reordered. a that points to the row whose children have been reordered. a , pointer to an array of integers with the new indices of the children. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 Gtk.TreeModelFlags Returns a set of flags supported by this interface. an object of type The flags are a bitwise combination of . The flags supported should not change during the lifecycle of the . Method 2.12.0.0 System.Void an object of type Calls on each node in model in a depth-first fashion. If func returns , then the tree ceases to be walked, and this method returns. Method 2.12.0.0 GLib.GType a , the column number. Returns the type of the column at the given index. a Method 2.12.0.0 System.Boolean an object of type an object of type Sets to a valid iterator pointing to . an object of type Method 2.12.0.0 System.Boolean an object of type Gets the first iterator in the tree (the one at the path "0") and returns . an object of type Returns if the tree is empty. Method 2.12.0.0 System.Boolean an object of type an object of type Gets the at . an object of type Otherwise, is left invalid and is returned. Method 2.12.0.0 Gtk.TreePath an object of type Gets the of . an object of type Method 2.12.0.0 System.String a Generates a string representation of the path of . a This string is a ':' separated list of numbers. For example, "4:10:0:3" would be an acceptable return value for this string. Method 2.12.0.0 System.Void an object of type a , pointer to the va_list data structure of arguments (FIXME: clarify what va_lists look like) Gets the values of child properties for the row pointed to by . Method 2.12.0.0 System.Object a a Gets the value stored in column of the row pointed to by . a Method 2.12.0.0 System.Void a a a Gets the value stored in column of the row pointed to by and stores it in Method 2.12.0.0 System.Boolean an object of type Sets the TreeIter object pointed to by to point to the first child of this tree. an object of type , true if the iter has been set to the first child. Method 2.12.0.0 System.Boolean an object of type an object of type Sets to point to the first child of . an object of type If has no children, is returned and is set to be invalid. will remain a valid node after this function has been called. Method 2.12.0.0 System.Boolean an object of type Returns if has children, otherwise. an object of type Method 2.12.0.0 System.Int32 Returns the number of children that the has. an object of type As a special case, if iter is , then the number of toplevel nodes is returned. Method 2.12.0.0 System.Int32 an object of type Returns the number of children that has. an object of type As a special case, if is , then the number of toplevel nodes is returned. Method 2.12.0.0 System.Boolean an object of type Sets to point to the node following it at the current level. an object of type If there is no next iter, is returned and iter is set to be invalid. Method 2.12.0.0 System.Boolean an object of type an object of type Sets to be the child of the root node, using the given index. an object of type In this case, the nth root node is set. Method 2.12.0.0 System.Boolean an object of type an object of type an object of type Sets to be the child of , using the given index. an object of type The first index is 0. If is too big, or has no children, is set to an invalid iterator and is returned. will remain a valid node after this function has been called. Method 2.12.0.0 System.Boolean an object of type an object of type Sets to be the parent of . an object of type If is at the toplevel, and does not have a parent, then is set to an invalid iterator and is returned. will remain a valid node after this function has been called. Property 2.12.0.0 System.Int32 Returns the number of columns supported by the . an object of type Method 2.12.0.0 System.Void an object of type Lets the tree ref the node. This is an optional method for models to implement. To be more specific, models may ignore this call as it exists primarily for performance reasons. This function is primarily meant as a way for views to let caching models know when nodes are being displayed (and hence, whether or not to cache that node.) For example, a file-system based model would not want to keep the entire file-hierarchy in memory, just the sections that are currently being displayed by every current view. A model should be expected to be able to get an iter independent of its referenced state. Event 2.12.0.0 Gtk.RowChangedHandler Emitted when a row has changed. Event 2.12.0.0 Gtk.RowDeletedHandler Emitted when a row is deleted. Event 2.12.0.0 Gtk.RowHasChildToggledHandler Emitted when a child of a row is toggled. Event 2.12.0.0 Gtk.RowInsertedHandler Emitted when a row has been inserted into the model. Event 2.12.0.0 Gtk.RowsReorderedHandler Emitted when a row is re-ordered Method 2.12.0.0 System.Void a a a Sets the value of column in the row pointed to by to if the value is a boolean. Method 2.12.0.0 System.Void a a a Sets the value of column in the row pointed to by to if the value is a . Method 2.12.0.0 System.Void a a a Sets the value of column in the row pointed to by to if the value is an . Method 2.12.0.0 System.Void a a a Sets the value of column in the row pointed to by to if the value is an . Method 2.12.0.0 System.Void a a a Sets the value of column in the row pointed to by to if the value is an . Method 2.12.0.0 System.Void a a a Sets the value of column in the row pointed to by to if the value is an . Method 2.12.0.0 System.Void a a a Sets the value of column in the row pointed to by to if the value is an . To be added. Method 2.12.0.0 System.Void an object of type Lets the tree unref the node. This is an optional method for models to implement. To be more specific, models may ignore this call as it exists primarily for performance reasons. For more information on what this means, see . Please note that nodes that are deleted are not unreferenced. gtk-sharp-2.12.40/doc/en/Gtk/RecentManagerError.xml0000664000175000017500000001064312767740535016672 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.RecentManagerErrorGType)) To be added. To be added. Field 2.12.0.0 Gtk.RecentManagerError To be added. Field 2.12.0.0 Gtk.RecentManagerError To be added. Field 2.12.0.0 Gtk.RecentManagerError To be added. Field 2.12.0.0 Gtk.RecentManagerError To be added. Field 2.12.0.0 Gtk.RecentManagerError To be added. Field 2.12.0.0 Gtk.RecentManagerError To be added. Field 2.12.0.0 Gtk.RecentManagerError To be added. gtk-sharp-2.12.40/doc/en/Gtk/GrabBrokenEventArgs.xml0000664000175000017500000000340712767740535017000 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs GrabBroken event args. Constructor 2.12.0.0 Public constructor. Property 2.12.0.0 Gdk.EventGrabBroken The corresponding native event. a . gtk-sharp-2.12.40/doc/en/Gtk/CreateMenuProxyHandler.xml0000664000175000017500000000424612767740535017537 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CreateMenuProxyHandler instance to the event. The methods referenced by the CreateMenuProxyHandler instance are invoked whenever the event is raised, until the CreateMenuProxyHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/ExpanderStyle.xml0000664000175000017500000000764712767740535015746 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.ExpanderStyleGType)) Specifies the expanded/collapsed state of an expander. Field 2.12.0.0 Gtk.ExpanderStyle The sub-elements are not visible. Field 2.12.0.0 Gtk.ExpanderStyle Sub-elements are visible. Field 2.12.0.0 Gtk.ExpanderStyle Transitive state between collapsed and expanded. Field 2.12.0.0 Gtk.ExpanderStyle Transitive state between collapsed and expanded. gtk-sharp-2.12.40/doc/en/Gtk/ConfirmOverwriteHandler.xml0000664000175000017500000000220512767740535017742 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void the sender of the event. arguments for the event. Handler for ConfirmOverwrite events. Implementors must set a result to the property of . gtk-sharp-2.12.40/doc/en/Gtk/EndPrintArgs.xml0000664000175000017500000000406012767740535015501 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.PrintContext The Print Context of the current operation. A . gtk-sharp-2.12.40/doc/en/Gtk/ChildAnchorInsertedArgs.xml0000664000175000017500000000575512767740535017646 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.TextChildAnchor The anchor that was inserted. A Property 2.12.0.0 Gtk.TextIter The position where the anchor was inserted. A gtk-sharp-2.12.40/doc/en/Gtk/ButtonReleaseEventHandler.xml0000664000175000017500000000323212767740535020215 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ButtonReleaseEventHandler instance to the event. The methods referenced by the ButtonReleaseEventHandler instance are invoked whenever the event is raised, until the ButtonReleaseEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/CursorMoveArgs.xml0000664000175000017500000000604712767740535016071 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 3.16.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 3.16.0.0 Gtk.DirectionType The direction to move the cursor. A Property 3.16.0.0 Gtk.HTMLCursorSkipType The kind of skip being done in this cursor move. A Approximately: whether to skip by characters, words, pages, or the whole document. gtk-sharp-2.12.40/doc/en/Gtk/AccelClearedHandler.xml0000664000175000017500000000263312767740535016732 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the AccelClearedHandler instance to the event. The methods referenced by the AccelClearedHandler instance are invoked whenever the event is raised, until the AccelClearedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/Win32EmbedWidget.xml0000664000175000017500000000624412767740535016152 00000000000000 gtk-sharp 2.12.0.0 Gtk.Window To be added. To be added. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 System.Obsolete To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/MarkSetArgs.xml0000664000175000017500000000556612767740535015340 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.TextIter The position within the text where the marker was set. A Property 2.12.0.0 Gtk.TextMark The mark that was deleted. A gtk-sharp-2.12.40/doc/en/Gtk/PageSetupDoneFunc.xml0000664000175000017500000000176012767740535016464 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void The completed page setup. Page Setup Done callback delegate. Pass an instance of this delegate to to receive notification of asynchronous page setup completion. gtk-sharp-2.12.40/doc/en/Gtk/PageSet.xml0000664000175000017500000000422212767740535014471 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.PageSetGType)) To be added. To be added. Field 2.12.0.0 Gtk.PageSet To be added. Field 2.12.0.0 Gtk.PageSet To be added. Field 2.12.0.0 Gtk.PageSet To be added. gtk-sharp-2.12.40/doc/en/Gtk/CellEditableAdapter.xml0000664000175000017500000002354312767740535016762 00000000000000 gtk-sharp 2.12.0.0 GLib.GInterfaceAdapter GLib.IWrapper Gtk.CellEditable CellEditable interface adapter. Adapts a implementation to expose the complete interface API. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("editing_done") System.EventHandler To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 Gtk.CellEditable To be added. To be added. To be added. To be added. Method 2.12.0.0 Gtk.CellEditable To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. Property 2.12.0.0 Gtk.CellEditableImplementor To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("remove_widget") System.EventHandler To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/ExpandCollapseCursorRowArgs.xml0000664000175000017500000000716412767740535020556 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Boolean Whether to expand (true) or collapse(false) the row. A Property 2.12.0.0 System.Boolean Whether or not this cursor row is a logical row. A TODO: explain. Property 2.12.0.0 System.Boolean Whether or not to open all children of this cursor row. A gtk-sharp-2.12.40/doc/en/Gtk/ToggleSizeAllocatedHandler.xml0000664000175000017500000000325012767740535020324 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ToggleSizeAllocatedHandler instance to the event. The methods referenced by the ToggleSizeAllocatedHandler instance are invoked whenever the event is raised, until the ToggleSizeAllocatedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/PolicyType.xml0000664000175000017500000000535012767740535015245 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.PolicyTypeGType)) Determines when a will be visible. Field 2.12.0.0 Gtk.PolicyType The is always visible. Field 2.12.0.0 Gtk.PolicyType The will appear and disappear as necessary. Field 2.12.0.0 Gtk.PolicyType The will never appear. gtk-sharp-2.12.40/doc/en/Gtk/NodeSelection.xml0000664000175000017500000003272712767740535015707 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Accessing and manipulates the selected rows of a . Event 2.12.0.0 System.EventHandler The currently selected row(s) changed. Property 2.12.0.0 Gtk.SelectionMode Selection mode currently is use. a Method 2.12.0.0 System.Boolean a Tests if a specified node is currently selected. a Property 2.12.0.0 Gtk.NodeView The view associated with this selection object. a Method 2.12.0.0 System.Boolean a Tests if a specified path is currently selected. a Method 2.12.0.0 System.Void Selects all the nodes in the view. Property 2.12.0.0 Gtk.ITreeNode The selected node The currently selected node This property does not make sense in the Multiple selection mode. Therefore it will throw an exception when used under this mode. The Multiple selection mode is in use. Property 2.12.0.0 Gtk.ITreeNode[] The currently selected nodes. a Method 2.12.0.0 System.Void a Selects a specified node in the view. Method 2.12.0.0 System.Void a Selects a node by path. Method 2.12.0.0 System.Void a a Selects all the nodes in a specified range. Method 2.12.0.0 System.Void Unselects all the nodes in the view. Method 2.12.0.0 System.Void a Unselects a specified node. Method 2.12.0.0 System.Void a Unselects a specified node by path. Method 2.12.0.0 System.Void a a Unselects all the nodes in a specified range. Method 2.12.0.0 System.Void a a Unselects all the nodes in a specified range. gtk-sharp-2.12.40/doc/en/Gtk/PixbufInsertedArgs.xml0000664000175000017500000000575112767740535016721 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.Pixbuf The pixbuf object which was inserted. an object of type Property 2.12.0.0 Gtk.TextIter The position at which the pixbuf was inserted. an object of type gtk-sharp-2.12.40/doc/en/Gtk/FileChooser.xml0000664000175000017500000011730112767740535015346 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.IWrapper Interface for a file-chooser. See for an actual implementation. Property 2.12.0.0 Gtk.FileChooserAction Sets the type of operation that that the chooser is performing; the user interface is adapted to suit the selected action. a For example, an option to create a new folder might be shown if the action is but not if the action is . Method 2.12.0.0 System.Void a Adds to the list of filters that the user can select between. When a filter is selected, only files that are passed by that filter are displayed. Method 2.12.0.0 System.Boolean a Adds a folder to be displayed with the shortcut folders in a file chooser. a Note that shortcut folders do not get saved, as they are provided by the application. For example, you can use this to add a "/usr/share/mydrawprogram/Clipart" folder to the volume list. Method 2.12.0.0 System.Boolean a Adds a folder URI to be displayed with the shortcut folders in a file chooser. a , true if the folder could be added successfully, false otherwise. Note that shortcut folders do not get saved, as they are provided by the application. For example, you can use this to add a "file:///usr/share/mydrawprogram/Clipart" folder to the volume list. Event 2.12.0.0 Gtk.ConfirmOverwriteHandler Indicates an overwrite confirmation is needed. Property 2.12.0.0 System.String The current folder for the file chooser, when the chooser has selected a local filename. a Event 2.12.0.0 System.EventHandler This signal is emitted when the current folder in a file chooser changes. This event can happen due to the user performing some action that changes folders, such as selecting a bookmark or visiting a folder on the file list. It can also happen as a result of calling a function to explicitly change the current folder in a file chooser. Normally you do not need to connect to this signal, unless you need to keep track of which folder a file chooser is showing. Property 2.12.0.0 System.String The file chooser's current folder, if set from a URI. a Property 2.12.0.0 System.String Property to represent the current name in the file selector, as if entered by the user. a Note that the name passed in here is a UTF-8 string rather than a filename. This function is meant for such uses as a suggested name in a "Save As..." dialog. Property 2.12.0.0 System.Boolean Controls if Overwrite Confirmation is performed. to perform overwrite confirmations. When this property is set, the implementation will raise any time the chooser is in Save mode and an existing file is selected. Property 2.12.0.0 Gtk.Widget An application-supplied widget to provide extra options to the user. a Event 2.12.0.0 System.EventHandler This signal is emitted when the user "activates" a file in the file chooser. This event can happen by double-clicking on a file in the file list, or by pressing Enter. Normally you do not need to connect to this signal. It is used internally by the file chooser code to know when to activate the default button in the dialog. Property 2.12.0.0 System.String The current filename selected by the file chooser. a Property 2.12.0.0 System.String[] To be added. To be added. To be added. Property 2.12.0.0 Gtk.FileFilter The currently-applied file filter. a Property 2.12.0.0 Gtk.FileFilter[] To be added. To be added. To be added. Property 2.12.0.0 System.Boolean Sets whether only local files can be selected in the file selector. a If true (the default), then the selected file are files are guaranteed to be accessible through the operating systems native file file system and therefore the application only needs to worry about the filename functions in , like , rather than the URI functions like . Property 2.12.0.0 System.String Internal function; gets the filename that should be previewed in a custom preview. a Not for general programmer use. Property 2.12.0.0 System.String The URI that should be previewed in a custom preview widget. a Property 2.12.0.0 Gtk.Widget An application-supplied widget to use to display a custom preview of the currently selected file. a To implement a preview, after setting the preview widget, you connect to the signal, and check or on each change. If you can display a preview of the new file, update your widget and set the preview active using Otherwise, set the preview inactive. When there is no application-supplied preview widget, or the application-supplied preview widget is not active, the file chooser may display an internally generated preview of the current file or it may display no preview at all. Property 2.12.0.0 System.Boolean Sets whether the preview widget set by should be shown for the current filename. a When this property is set to false, the file chooser may display an internally generated preview of the current file or it may display no preview at all. Method 2.12.0.0 System.Void a Removes from the list of filters that the user can select between. Method 2.12.0.0 System.Boolean a Removes a folder from a file chooser's list of shortcut folders. a See also . Method 2.12.0.0 System.Boolean a Removes a folder URI from a file chooser's list of shortcut folders. a See also . Method 2.12.0.0 System.Void Selects all the files in the current folder of a file chooser. Method 2.12.0.0 System.Boolean a Selects a filename. a If the file name isn't in the current folder of the file chooser, then the current folder of the file chooser will be changed to the folder containing . Event 2.12.0.0 System.EventHandler This event is raised every time the selected file changes. Property 2.12.0.0 System.Boolean Sets whether multiple files can be selected in the file selector. a This is only relevant if the action is set to be or . It cannot be set with either of the folder actions. Method 2.12.0.0 System.Boolean a Selects the file at . If the URI doesn't refer to a file in the current folder of the file chooser, then the current folder of the file chooser will be changed to the folder that's part of . a , true if both the folder could be changed and the URI was selected successfully, false otherwise. Method 2.12.0.0 System.Boolean a Sets the current folder for the file chooser from a local filename. a The user will be shown the full contents of the current folder, plus user interface elements for navigating to other folders. Method 2.12.0.0 System.Boolean a , the URI to use Sets the current folder for the chooser from an URI. a , true if the folder could be changed successfully, false otherwise The user will be shown the full contents of the current folder, plus user interface elements for navigating to other folders. Method 2.12.0.0 System.Boolean a Sets as the current filename for the file chooser; If the file name isn't in the current folder of the file chooser, then the current folder of the file chooser will be changed to the folder containing . a , true if both the folder could be changed and the file was selected successfully, false otherwise. This is equivalent to a sequence of followed by . Note that the file must exist, or nothing will be done except for the directory change. To pre-enter a filename for the user, as in a save-as dialog, use . Method 2.12.0.0 System.Boolean a Sets the file referred to by as the current file for the the file chooser. a , true if both the folder could be changed and the URI was selected successfully, false otherwise. If the file name isn't in the current folder of the file chooser, then the current folder of the file chooser will be changed to the folder containing . This is equivalent to a sequence of followed by . Note that the file must exist, or nothing will be done except for the directory change. To pre-enter a filename for the user, as in a save-as dialog, use . Property 2.12.0.0 System.String[] To be added. An array of System.Strings. To be added. Property 2.12.0.0 System.String[] To be added. An array of System.Strings. To be added. Property 2.12.0.0 System.Boolean To be added a To be added Method 2.12.0.0 System.Void Unselects all the files in the current folder of a file chooser. Method 2.12.0.0 System.Void a Unselects a currently selected filename. If the filename is not in the current directory, does not exist, or is otherwise not currently selected, does nothing. Method 2.12.0.0 System.Void a Unselects the file referred to by . If the file is not in the current directory, does not exist, or is otherwise not currently selected, does nothing. Event 2.12.0.0 System.EventHandler This signal is emitted when the preview in a file chooser should be regenerated. For example, this can happen when the currently selected file changes. You should use this signal if you want your file chooser to have a preview widget. Once you have installed a preview widget with , you should update it when this signal is emitted. You can use the properties or to get the name of the file to preview. Your widget may not be able to preview all kinds of files; your callback must set to inform the file chooser about whether the preview was generated successfully or not. TODO: insert example from gtkfilechooser-preview in gtk+ docs. Property 2.12.0.0 System.String The URI for the currently selected file in the file selector. a If multiple files are selected, one of the filenames will be returned at random. If the file chooser is in folder mode, this function returns the selected folder. Property 2.12.0.0 System.String[] To be added. To be added. To be added. Property 2.12.0.0 System.Boolean Sets whether the file chooser should display a stock label with the name of the file that is being previewed; the default is true. a Applications that want to draw the whole preview area themselves should set this to false and display the name themselves in their preview widget. gtk-sharp-2.12.40/doc/en/Gtk/UnselectAllArgs.xml0000664000175000017500000000327612767740535016201 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.40/doc/en/Gtk/BuilderConnectFunc.xml0000664000175000017500000000266012767740535016661 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/PopupMenuArgs.xml0000664000175000017500000000325212767740535015710 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.40/doc/en/Gtk/IconTheme.xml0000664000175000017500000007060312767740535015022 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Looks up icons by name provides a facility for looking up icons by name and size. The main reason for using a name rather than simply providing a filename is to allow different icons to be used depending on what icon theme is selected by the user. The operation of icon themes on Linux and Unix follows the Icon Theme Specification. There is a default icon theme, named hicolor where applications should install their icons, but more additional application themes can be installed as operating system vendors and users choose. Named icons are similar to the Themeable Stock Images(3) facility, and the distinction between the two may be a bit confusing. A few things to keep in mind: Stock images usually are used in conjunction with Stock Items(3)., such as or . Named icons are easier to set up and therefore are more useful for new icons that an application wants to add, such as application icons or window icons. Stock images can only be loaded at the symbolic sizes defined by the enumeration, or by custom sizes defined by , while named icons are more flexible and any pixel size can be specified.Because stock images are closely tied to stock items, and thus to actions in the user interface, stock images may come in multiple variants for different widget states or writing directions. A good rule of thumb is that if there is a stock image for what you want to use, use it, otherwise use a named icon. It turns out that internally stock images are generally defined in terms of one or more named icons. (An example of the more than one case is icons that depend on writing direction; uses the two themed icons "gtk-stock-go-forward-ltr" and "gtk-stock-go-forward-rtl".) Constructor 2.12.0.0 Default constructor Icon theme objects are used to lookup up an icon by name in a particular icon theme. Usually, you will want to use or rather than creating a new icon theme object for scratch. Constructor 2.12.0.0 System.Obsolete a Internal constructor. Constructor 2.12.0.0 a Internal constructor. Method 2.12.0.0 System.Void a , the name of the icon to register a , the size at which to register the icon (different images can be registered for the same icon name at different sizes.) a that contains the image to use for . Registers a built-in icon for icon theme lookups. The idea of built-in icons is to allow an application or library that uses themed icons to function requiring files to be present in the file system. For instance, the default images for all of Gtk's stock icons are registered as built-icons. In general, if you use you should also install the icon in the icon theme, so that the icon is generally available. Method 2.12.0.0 System.Void a , directory name to append to the icon path Appends a directory to the search path. See . Event 2.12.0.0 GLib.Signal("changed") System.EventHandler Emitted when the current icon theme is switched or Gtk detects that a change has occurred in the contents of the current icon theme. Method 2.12.0.0 Gtk.IconInfo To be added. To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 System.String Sets the name of the icon theme that the object uses overriding system configuration. a , name of icon theme to use instead of configured theme This cannot be used on the icon theme objects returned from . Property 2.12.0.0 Gtk.IconTheme Gets the icon theme for the default screen. a . A unique associated with the given screen. This icon theme is associated with the screen and can be used as long as the screen is open. See . Method 2.12.0.0 System.Int32 Returns an integer identifier for an error string. a Property 2.12.0.0 System.String The name of an icon that is representative of the current theme (for instance, to use when presenting a list of themes to the user.) a , the name of an example icon or . Method 2.12.0.0 Gtk.IconTheme a Gets the icon theme object associated with a . A unique associated with the given screen. This icon theme is associated with the screen and can be used as long as the screen is open. If this function has not previously been called for the given screen, a new icon theme object will be created and associated with the screen. Icon theme objects are fairly expensive to create, so using this function is usually a better choice than calling than and setting the screen yourself; by using this function a single icon theme object will be shared between users. Method 2.12.0.0 System.Int32[] a Gets a list of the sizes for an Icon by name. a An entry of -1 indicates a scalable version of the icon. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 System.Boolean a , the name of an icon Checks whether an icon theme includes an icon for a particular name. a , if the IconTheme includes an icon for . Method 2.12.0.0 System.String[] To be added. To be added. To be added. Method 2.12.0.0 System.String[] a , a string identifying a particular type of icon, or to list all icons. Lists the icons in the current icon theme. a holding the names of all the icons in the theme. Only a subset of the icons can be listed by providing a context string. The set of values for the context string is system dependent, but will typically include such values as 'apps' and 'mimetypes'. Method 2.12.0.0 Gdk.Pixbuf a , the name of the icon to lookup a , the desired icon size. The resulting icon may not be exactly this size; see . a , flags modifying the behavior of the icon lookup Looks up an icon in an icon theme, scales it to the given size and renders it into a pixbuf. a the rendered icon or if the icon is not found. This is a convenience function; if more details about the icon are needed, use followed by . Method 2.12.0.0 Gtk.IconInfo a , the name of the icon to lookup a , desired icon size a , flags modifying the behavior of the icon lookup Looks up a named icon and returns a structure containing information such as the filename of the icon. a containing information about the icon, or if the icon was not found. The icon can then be rendered into a pixbuf using . ( combines these two steps if all you need is the pixbuf.) Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideChanged", Type=typeof(Gtk.IconTheme)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Void a , directory name to prepend to the icon path Prepends a directory to the search path. See . Method 2.12.0.0 System.Boolean Checks to see if the icon theme has changed; if it has, any currently cached information is discarded and will be reloaded next time the IconTheme is accessed. a , if the icon theme has changed and needed to be reloaded. Property 2.12.0.0 Gdk.Screen Sets the screen for an icon theme a The screen is used to track the user's currently configured icon theme, which might be different for different screens. Property 2.12.0.0 System.String[] The current search path a , array of directories that are searched for icon themes When looking for an icon theme, Gtk will search for a subdirectory of one or more of the directories in this path with the same name as the icon theme. (Themes from multiple of the path elements are combined to allow themes to be extended by adding icons in the user's home directory.) In addition if an icon found is not found either in the current icon theme or the default icon theme, and an image file with the right name is found directly in one of the elements of path, then that image will be used for the icon name. (This is a legacy feature, and new icons should be put into the default icon theme, which is called DEFAULT_THEME_NAME, rather than directly on the icon path.) Method 2.12.0.0 System.Obsolete("Replaced by SearchPath property.") System.Void a , array of directories that are searched for icon themes Deprecated method to set the current search path. Replaced by the property. gtk-sharp-2.12.40/doc/en/Gtk/HScrollbar.xml0000664000175000017500000001073712767740535015204 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Scrollbar A horizontal scrollbar The widget is a widget arranged horizontally creating a scrollbar. See for details on scrollbars. pointers may be added to handle the adjustment of the scrollbar or it may be left in which case one will be created for you. See for details. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 The to use, or to create a new adjustment. Creates a new horizontal scrollbar. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gtk/RowActivatedHandler.xml0000664000175000017500000000312412767740535017033 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the RowActivatedHandler instance to the event. The methods referenced by the RowActivatedHandler instance are invoked whenever the event is raised, until the RowActivatedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/MnemonicActivatedHandler.xml0000664000175000017500000000321612767740535020033 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the MnemonicActivatedHandler instance to the event. The methods referenced by the MnemonicActivatedHandler instance are invoked whenever the event is raised, until the MnemonicActivatedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/TooltipSetHandler.xml0000664000175000017500000000415212767740535016547 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the TooltipSetHandler instance to the event. The methods referenced by the TooltipSetHandler instance are invoked whenever the event is raised, until the TooltipSetHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/MoveCursorArgs.xml0000664000175000017500000000665012767740535016071 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The following events invoke delegates which pass event data via this class: Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Int32 How many steps the cursor moved. A Property 2.12.0.0 Gtk.MovementStep The kind of movement being counted in this event. A gtk-sharp-2.12.40/doc/en/Gtk/KeyReleaseEventArgs.xml0000664000175000017500000000450412767740535017014 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.EventKey The key-release event that happened. a gtk-sharp-2.12.40/doc/en/Gtk/Justification.xml0000664000175000017500000000660312767740535015761 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.JustificationGType)) Used for justifying the text inside a widget. Field 2.12.0.0 Gtk.Justification The text is placed in the center of the . Field 2.12.0.0 Gtk.Justification The text is placed is distributed across the . Field 2.12.0.0 Gtk.Justification The text is placed at the left edge of the . Field 2.12.0.0 Gtk.Justification The text is placed at the right edge of the . gtk-sharp-2.12.40/doc/en/Gtk/HBox.xml0000664000175000017500000001501412767740535014002 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Box An HBox is a specific type of for packing widgets horizontally. Other ways of laying out widgets include using a vertical box, (see ), a table, (see ), button boxes, etc. Useful methods for manipulating boxes can be found in the superclass for HBox, . using System; using Gtk; class HBoxTester { static void Main () { Application.Init (); Window myWindow = new Window ("HBox Widget"); HBox myBox = new HBox (false, 4); //Add some buttons to the horizontal box AddButton (myBox); AddButton (myBox); //Add the box to a Window container myWindow.Add (myBox); myWindow.ShowAll (); Application.Run (); } static void AddButton (HBox box) { box.PackStart (new Button ("Button"), true, false, 0); } } Imports System Imports Gtk Class HBoxTester Shared Sub Main () Application.Init () Dim myWindow As New Window ("HBox Widget") Dim myBox As New HBox (False, 0) ' Add the box to a Window container myWindow.Add (myBox) myWindow.SetDefaultSize (250, 40) ' Add some buttons to the box HBoxTester.AddButton (myBox) HBoxTester.AddButton (myBox) HBoxTester.AddButton (myBox) myWindow.ShowAll () Application.Run () End Sub Shared Sub AddButton (ByVal box As HBox) box.PackStart (New Button ("Button"), True, False, 0) End Sub End Class Constructor 2.12.0.0 Default constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 If , all widgets in the box are forced to be equally sized. The number of pixels to place between each widget in the box. The main way to create a new HBox. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gtk/ResponseArgs.xml0000664000175000017500000000451112767740535015555 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.ResponseType The response type the user gave for this dialog. a gtk-sharp-2.12.40/doc/en/Gtk/Quit.xml0000664000175000017500000001626012767740535014070 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Object to encapsulate code for running at the end of program execution. Constructor 2.12.0.0 Default Constructor Method 2.12.0.0 System.UInt32 a a Registers a function to be called when an instance of the mainloop is left. a Method 2.12.0.0 System.Void a a Trigger destruction of in case the mainloop at level is quit. Method 2.12.0.0 System.Obsolete("Replaced by Add method") System.UInt32 a a a a a Registers a function to be called when an instance of the mainloop is left. a In comparison to this function adds the possibility to pass a marshaller and a function to be called when the quit handler is freed. The former can be used to run interpreted code instead of a compiled function while the latter can be used to free the information stored in data. Method 2.12.0.0 System.Void a Removes a quit handler by its identifier. Method 2.12.0.0 System.Void a Removes a quit handler identified by its field. gtk-sharp-2.12.40/doc/en/Gtk/TargetList.xml0000664000175000017500000004315412767740535015232 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque A list of potential targets for a paste or drag-and-drop operation. Constructor 2.12.0.0 Basic constructor Constructor 2.12.0.0 an array of Constructor Constructor 2.12.0.0 a Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Void the target type, as a target flags (for a drag-and-drop target, this is a value) application-defined ID for this target type Add a target type to the target list Method 2.12.0.0 System.Void the target type, as a string target flags (for a drag-and-drop target, this is a value) application-defined ID for this target type Add a target type to the target list Method 2.12.0.0 System.Void application-defined ID for these target types if , only add the target types for which Gtk knows how to convert a to the format. Adds the target types for images to the target list Appends the image targets supported by to the target list. All targets are added with the same . Method 2.12.0.0 System.Void an ID to be passed back to the application. if , then deserializable targets will be added, otherwise serializable targets. the text buffer containing the registered targets. Appends the rich text targets registered with a text buffer. See and for details of registration. Method 2.12.0.0 System.Void an array of Add entries to the target list Method 2.12.0.0 System.Void application-defined ID for these target types Adds the target types for text to the target list Appends the text targets supported by to the target list. All targets are added with the same . Method 2.12.0.0 System.Void application-defined ID for these target types Adds the target types for URIs to the target list Appends the URI targets supported by to the target list. All targets are added with the same . Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Boolean the target type to find, as a on output, will contain the target's application-defined ID Find a given target type if the target was found Method 2.12.0.0 System.Boolean the target type to find, as a string on output, will contain the target's application-defined ID Find a given target type if the target was found Property 2.12.0.0 GLib.GType Native GType. For internal use by language bindings. Method 2.12.0.0 Gtk.TargetEntry[] A . Converts a to an array of . An equivalent array of . Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void the target to remove, as a Remove an entry from the target list Method 2.12.0.0 System.Void the target to remove, as a string Remove an entry from the target list Method 2.12.0.0 System.Void To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/ExposeEventHandler.xml0000664000175000017500000000310612767740535016704 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ExposeEventHandler instance to the event. The methods referenced by the ExposeEventHandler instance are invoked whenever the event is raised, until the ExposeEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/AccelCanActivateArgs.xml0000664000175000017500000000507712767740535017101 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Object to encapsulate arguments to a . Constructor 2.12.0.0 Public constructor. Property 2.12.0.0 System.UInt32 An identifier for a particular signal. a gtk-sharp-2.12.40/doc/en/Gtk/Paned+PanedChild.xml0000664000175000017500000000650212767740535016162 00000000000000 gtk-sharp 2.12.0.0 Gtk.Container+ContainerChild A child of a , used to interact with its container child properties. Constructor 2.12.0.0 To be added. To be added. To be added. To be added. Property 2.12.0.0 Gtk.ChildProperty("resize") System.Boolean Whether or not the child resizes with the parent if the child should be resized as the parent is resized Property 2.12.0.0 Gtk.ChildProperty("shrink") System.Boolean Whether or not the child can be shrunk to less than its if the pane can be adjusted to make the child smaller than its gtk-sharp-2.12.40/doc/en/Gtk/TextBufferSerializeFunc.xml0000664000175000017500000000260512767740535017706 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Byte[] To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/UpdateType.xml0000664000175000017500000000636312767740535015235 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.UpdateTypeGType)) Provides a method of indicating how 'updates' should occur. The purpose of this type is most easily explained in the context of its use. , a base class for slider widgets such as , uses an UpdateType to determine how often to update a text value when the user is dragging a slider bar around. Field 2.12.0.0 Gtk.UpdateType Indicates that updates should occur as soon as possible. Field 2.12.0.0 Gtk.UpdateType Indicates that updates should happen as often as possible, but a delay between an action and its update, is allowed. Field 2.12.0.0 Gtk.UpdateType Indicates that updates are not urgent. This typically indicates that a whole group of updates can be done at once when a user action has finished. gtk-sharp-2.12.40/doc/en/Gtk/TreeNodeRemovedHandler.xml0000664000175000017500000000263512767740535017474 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void To be added. To be added. To be added. TreeNodeRemovedHandler delegate Event handler for notification of the removal of a child node. The node is already removed when the event is raised, so points to the former position of in the child list of . gtk-sharp-2.12.40/doc/en/Gtk/SelectionMode.xml0000664000175000017500000001175512767740535015704 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.SelectionModeGType)) An enumeration used by TreeSelection. This enumeration is used by to decide how selection behaves. Field 2.12.0.0 Gtk.SelectionMode Only one item can be selected at any given moment. Any item currently having focus will be marked as selected. Only one item can be selected at any given moment. Any item currently having focus will be marked as selected. Field 2.12.0.0 Gtk.SelectionMode This is the same as "Multiple", but deprecated. Use Multiple instead. Note that extended selection should only be used where all items share the exact same callback routine. Field 2.12.0.0 Gtk.SelectionMode Several items may be selected or unselected with a click or using the spacebar. The selection can be done using the Ctrl and Shift modifier keys in the usual way. Note that multiple selection should only be used where all items share the exact same callback routine. Field 2.12.0.0 Gtk.SelectionMode Nothing can be selected. Nothing can be selected. Field 2.12.0.0 Gtk.SelectionMode Only one item can be selected at any given moment. Other items can have focus, but will not be marked as selected. Only one item can be selected at any given moment. Other items can have focus, but will not be marked as selected. gtk-sharp-2.12.40/doc/en/Gtk/KeyReleaseEventHandler.xml0000664000175000017500000000316612767740535017500 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the KeyReleaseEventHandler instance to the event. The methods referenced by the KeyReleaseEventHandler instance are invoked whenever the event is raised, until the KeyReleaseEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/DoneHandler.xml0000664000175000017500000000247012767740535015327 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DoneHandler instance to the event. The methods referenced by the DoneHandler instance are invoked whenever the event is raised, until the DoneHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/SensitivityType.xml0000664000175000017500000000434712767740535016345 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.SensitivityTypeGType)) To be added. To be added. Field 2.12.0.0 Gtk.SensitivityType To be added. Field 2.12.0.0 Gtk.SensitivityType To be added. Field 2.12.0.0 Gtk.SensitivityType To be added. gtk-sharp-2.12.40/doc/en/Gtk/CreateCustomWidgetHandler.xml0000664000175000017500000000274012767740535020204 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CreateCustomWidgetHandler instance to the event. The methods referenced by the CreateCustomWidgetHandler instance are invoked whenever the event is raised, until the CreateCustomWidgetHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/Container.xml0000664000175000017500000012463412767740535015075 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Widget System.Collections.IEnumerable Base class for widgets which contain other widgets A Gtk# user interface is constructed by nesting widgets inside widgets. widgets are the inner nodes in the resulting tree of widgets: they contain other widgets. So, for example, you might have a containing a containing a . If you wanted an image instead of a textual label inside the frame, you might replace the widget with a widget. There are two major kinds of widgets in Gtk#. Both are subclasses of the abstract base class. The first type of widget has a single child widget and derives from . These containers are decorators, which add some kind of functionality to the child. For example, a makes its child into a clickable button; a draws a frame around its child and a places its child widget inside a top-level . The second type of can have more than one child; its purpose is to manage layout. This means that these containers assign sizes and positions to their children. For example, a arranges its children in a horizontal row, and a arranges the widgets it contains in a two-dimensional grid. To fulfill its task, a layout must negotiate the size requirements with its parent and its children. This negotiation is carried out in two phases, size requisition and size allocation. Constructor 2.12.0.0 Protected constructor for chaining by descendant classes. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Void an object of type Adds a to the . Typically used for simple containers such as , , or ; for more complicated layout containers such as or , this function will pick default packing parameters that may not be correct. So consider functions such as and as an alternative to in those cases. A may be added to only one at a time; you can not place the same widget inside two different containers. Event 2.12.0.0 GLib.Signal("add") Gtk.AddedHandler Raised when a child widget is added to the container via . Note that this event is raised only when (or its C equivalent) is called. It is not a generic widget-added notification. For example, calling will not result in this event firing. Property 2.12.0.0 System.Collections.IEnumerable Allows you to enumerate all of the container's children. an Enumerates all of the container's children, including those widgets that are internal implementation details of the container. Property 2.12.0.0 GLib.Property("border-width") System.UInt32 This container's border width. A Method 2.12.0.0 System.Void Attempts to resize this container. Property 2.12.0.0 GLib.Property("child") Gtk.Widget A child widget for this container. an object of type Method 2.12.0.0 GLib.Value a child of this the child property name Gets a child property of a . To be added. You will not normally need to use this method; Gtk# automatically generates child property accessors for all subclasses. Method 2.12.0.0 System.Void an object of type an object of type an object of type Gets the values of one or more child properties for child and container. Gets the values of one or more child properties for child and container. Property 2.12.0.0 Gtk.Widget[] Obtains an array of the container's (non-internal) children. An array of non-internal children. Returns the container's non-internal children; that is, generally, the children that were explicitly added to the container by the application, as opposed to those widgets that are internal implementation details of the container. If you simply want to do a loop on the container's children, you do not need to use the Children property. Just do: foreach (Widget w in myContainer) { // Do something with w } Method 2.12.0.0 System.Void a child of this the child property name the value to set to Sets a child property of a . You will not normally need to use this method; Gtk# automatically generates child property accessors for all subclasses. Method 2.12.0.0 System.Void an object of type an object of type an object of type Sets one or more child properties for child and . Sets one or more child properties for child and . Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideChildType", Type=typeof(Gtk.Container)) GLib.GType Returns the type of children supported by this container. a If you override this in a derived container class, you must not call base.ChildType() from the overridden method. Property 2.12.0.0 Gtk.Widget[] Sets or obtains a focus chain of the container, overriding the one computed automatically by Gtk#. An array of . In principle each in the chain should be a descendant of the , but this is not enforced by this method, since it is allowed to set the focus chain before you pack the widgets, or have a widget in the chain that is not always packed. The necessary checks are done when the focus chain is actually traversed. If no focus chain has been explicitly set, gtk# computes the focus chain based on the positions of the children. in that case, gtk# stores in focusable_widgets and returns . Property 2.12.0.0 Gtk.Widget Moves the focus to a particular child widget or finds the last-focused widget. an object of type Event 2.12.0.0 GLib.Signal("set-focus-child") Gtk.FocusChildSetHandler Raised when the focus moves to a child widget of this container. Property 2.12.0.0 Gtk.Adjustment The horizontal focus adjustment. an object of type Property 2.12.0.0 Gtk.Adjustment The vertical focus adjustment. an object of type Method 2.12.0.0 System.Void a Invokes a callback function on each child of this container, including children that are considered "internal" (implementation details of the container). "Internal" children generally weren't added by the user of the container but were added by the container implementation itself. Most applications should use instead of this method. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideForall", Type=typeof(Gtk.Container)) System.Void a , whether to include "internal" children when running the callback. a Run a given callback for every object inside this container. Overload this in subclasses of Gtk.Container to implement the and methods. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideForallOld", Type=typeof(Gtk.Container)) System.Obsolete("Override the ForAll(bool,Gtk.Callback) method instead") System.Void a , whether to include "internal" children when running the callback. a Run a given callback for every object inside this container. Deprecated: overload instead. Method 2.12.0.0 System.Void a Invokes a callback function on each non-internal child of this container. See for more details on internal children. Most applications should use this method instead of . Method 2.12.0.0 System.Collections.IEnumerator Returns an for the container's children a implements , so you can iterate through its children like this: foreach (Widget w in myContainer) { // Do something with w } Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 Gtk.Container+ContainerChild a child of this container Access for child properties a The base type is not very useful; you will normally need to cast it to a subclass of the appropriate type. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideAdded", Type=typeof(Gtk.Container)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideFocusChildSet", Type=typeof(Gtk.Container)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRemoved", Type=typeof(Gtk.Container)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideResizeChecked", Type=typeof(Gtk.Container)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Void an object of type an object of type Send synthetic expose events to all children that do not have their own . When a receives an expose event, it must send synthetic expose events to all children that do not have their own s. This function provides a convenient way of doing this. A , when it receives an expose event, calls once for each child, passing in the event the received. takes care of deciding whether an expose event needs to be sent to the child, intersecting the event's area with the child area, and sending the event. In most cases, a can either simply inherit the expose implementation from , or do some drawing and then chain to the expose implementation from . Property 2.12.0.0 System.Boolean The redraw-reallocation flag. Containers requesting reallocation redraws get automatically redrawn if any of their children changed allocation. an object of type Method 2.12.0.0 System.Void an object of type Removes a from the . must be inside . Event 2.12.0.0 GLib.Signal("remove") Gtk.RemovedHandler Raised when a child widget is removed from this container Note that this event is raised only when (or its C equivalent) is called. If a subclass defines additional methods for removing widgets, then calling those methods will not result in this event being raised. Event 2.12.0.0 GLib.Signal("check_resize") System.EventHandler Raised when this container's resizability is queried. Method 2.12.0.0 System.Void Tries to resize the child widgets of this container. Property 2.12.0.0 GLib.Property("resize-mode") Gtk.ResizeMode How this container behaves when resized. an object of type Method 2.12.0.0 System.Void Removes a focus chain. Removes a focus chain explicitly set with . gtk-sharp-2.12.40/doc/en/Gtk/DrawGdkHandler.xml0000664000175000017500000000311412767740535015761 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DrawGdkHandler instance to the event. The methods referenced by the DrawGdkHandler instance are invoked whenever the event is raised, until the DrawGdkHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/FileChooserDialog.xml0000664000175000017500000016113512767740535016472 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Dialog Gtk.FileChooser is a dialog box suitable for use with "File/Open" or "File/Save as" commands. This widget works by putting a inside a . It exposes the interface, so you can use all of the functions on the file chooser dialog as well as those for . Similar to but in a dialog. Typical usage. In the simplest of cases, you can use the following code to select a file for opening: public class MainWindow: Gtk.Window { protected virtual void OnBtnLoadFileClicked(object sender, System.EventArgs e) { Gtk.FileChooserDialog fc= new Gtk.FileChooserDialog("Choose the file to open", this, FileChooserAction.Open, "Cancel",ResponseType.Cancel, "Open",ResponseType.Accept); if (fc.Run() == (int)ResponseType.Accept) { System.IO.FileStream file=System.IO.File.OpenRead(fc.Filename); file.Close(); } //Don't forget to call Destroy() or the FileChooserDialog window won't get closed. fc.Destroy(); } Constructor 2.12.0.0 To be added To be added Constructor 2.12.0.0 System.Obsolete a Protected constructor. Constructor 2.12.0.0 a , pointer to underlying C object. Constructor for internal use. Constructor 2.12.0.0 System.ParamArray a title a parent for the dialog, or . See . an action, for example save or open. a list of button text/response pairs for buttons to be added to the dialog, if desired. The pair format is , (see an example in overview section of ) Creates a file chooser dialog. By default, a comes with no buttons, so you'd better provide at least the most basics one (Save/Cancel or Open/Cancel) or your user won't be able to do anything apart from closing the dialog ( closing the dialog returns .None ) Constructor 2.12.0.0 System.ParamArray a , the backend name a title a parent for the dialog, or . an action, for example save or open. a list of button text/response pairs for buttons to be added to the dialog, if desired. Creates a file chooser dialog with a specific file chooser backend This is especially useful if you use to allow non-local files and you use a more expressive vfs, such as gnome-vfs, to load files. Property 2.12.0.0 GLib.Property("action") Gtk.FileChooserAction Sets the type of operation that that the chooser is performing; the user interface is adapted to suit the selected action. a For example, an option to create a new folder might be shown if the action is but not if the action is . Method 2.12.0.0 System.Void a Adds to the list of filters that the user can select between. When a filter is selected, only files that are passed by that filter are displayed. Method 2.12.0.0 System.Boolean a Adds a folder to be displayed with the shortcut folders in a file chooser. a Note that shortcut folders do not get saved, as they are provided by the application. For example, you can use this to add a "/usr/share/mydrawprogram/Clipart" folder to the volume list. Method 2.12.0.0 System.Boolean a Adds a folder URI to be displayed with the shortcut folders in a file chooser. a , true if the folder could be added successfully, false otherwise. Note that shortcut folders do not get saved, as they are provided by the application. For example, you can use this to add a "file:///usr/share/mydrawprogram/Clipart" folder to the volume list. Event 2.12.0.0 GLib.Signal("confirm-overwrite") Gtk.ConfirmOverwriteHandler Indicates a file overwrite has been requested. This event is raised when the user has selected a file name that already exists and the file chooser is in mode. Most applications just need to turn on the property and they will automatically get a stock confirmation dialog. Applications which need to customize this behavior should do that, and also connect to this event. A connected to this event must set to the value indicating the action to take. If the handler determines that the user wants to select a different filename, it should return . If it determines that the user is satisfied with his choice of file name, it should return . On the other hand, if it determines that the stock confirmation dialog should be used, it should return . Property 2.12.0.0 System.String The current folder for the file chooser, when the chooser has selected a local filename. a Event 2.12.0.0 GLib.Signal("current-folder-changed") System.EventHandler This signal is emitted when the current folder in a file chooser changes. This event can happen due to the user performing some action that changes folders, such as selecting a bookmark or visiting a folder on the file list. It can also happen as a result of calling a function to explicitly change the current folder in a file chooser. Normally you do not need to connect to this signal, unless you need to keep track of which folder a file chooser is showing. Property 2.12.0.0 System.String The file chooser's current folder, if set from a URI. a Property 2.12.0.0 System.String Property to represent the current name in the file selector, as if entered by the user. a Note that the name passed in here is a UTF-8 string rather than a filename. This function is meant for such uses as a suggested name in a "Save As..." dialog. Property 2.12.0.0 GLib.Property("do-overwrite-confirmation") System.Boolean Enables Overwrite Confirmation in the dialog. if confirmation should be performed. Property 2.12.0.0 GLib.Property("extra-widget") Gtk.Widget An application-supplied widget to provide extra options to the user. a Event 2.12.0.0 GLib.Signal("file-activated") System.EventHandler This signal is emitted when the user "activates" a file in the file chooser. This event can happen by double-clicking on a file in the file list, or by pressing Enter. Normally you do not need to connect to this signal. It is used internally by the file chooser code to know when to activate the default button in the dialog. Property 2.12.0.0 System.String The current filename selected by the file chooser. a Property 2.12.0.0 System.String[] The filenames selected by this widget. a Property 2.12.0.0 GLib.Property("filter") Gtk.FileFilter The currently-applied file filter. a Property 2.12.0.0 Gtk.FileFilter[] The filters currently in use by this dialog for patterns of files to display. a Property 2.12.0.0 GLib.GType The of this object. a Property 2.12.0.0 GLib.Property("local-only") System.Boolean Sets whether only local files can be selected in the file selector. a If true (the default), then the selected file are files are guaranteed to be accessible through the operating systems native file file system and therefore the application only needs to worry about the filename functions in , like , rather than the URI functions like . Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideConfirmOverwrite", Type=typeof(Gtk.FileChooserDialog)) Gtk.FileChooserConfirmation Default handler for the event. To be added. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCurrentFolderChanged", Type=typeof(Gtk.FileChooserDialog)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideFileActivated", Type=typeof(Gtk.FileChooserDialog)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionChanged", Type=typeof(Gtk.FileChooserDialog)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideUpdatePreview", Type=typeof(Gtk.FileChooserDialog)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 2.12.0.0 System.String Internal function; gets the filename that should be previewed in a custom preview. a Not for general programmer use. Property 2.12.0.0 System.String The URI that should be previewed in a custom preview widget. a Property 2.12.0.0 GLib.Property("preview-widget") Gtk.Widget An application-supplied widget to use to display a custom preview of the currently selected file. a To implement a preview, after setting the preview widget, you connect to the signal, and check or on each change. If you can display a preview of the new file, update your widget and set the preview active using Otherwise, set the preview inactive. When there is no application-supplied preview widget, or the application-supplied preview widget is not active, the file chooser may display an internally generated preview of the current file or it may display no preview at all. Property 2.12.0.0 GLib.Property("preview-widget-active") System.Boolean Sets whether the preview widget set by should be shown for the current filename. a When this property is set to false, the file chooser may display an internally generated preview of the current file or it may display no preview at all. Method 2.12.0.0 System.Void a Removes from the list of filters that the user can select between. Method 2.12.0.0 System.Boolean a Removes a folder from a file chooser's list of shortcut folders. a See also . Method 2.12.0.0 System.Boolean a Removes a folder URI from a file chooser's list of shortcut folders. a See also . Method 2.12.0.0 System.Void Selects all the files in the current folder of a file chooser. Method 2.12.0.0 System.Boolean a Selects a filename. a If the file name isn't in the current folder of the file chooser, then the current folder of the file chooser will be changed to the folder containing . Event 2.12.0.0 GLib.Signal("selection-changed") System.EventHandler This event is raised every time the selected file changes. Property 2.12.0.0 GLib.Property("select-multiple") System.Boolean Sets whether multiple files can be selected in the file selector. a This is only relevant if the action is set to be or . It cannot be set with either of the folder actions. Method 2.12.0.0 System.Boolean a Selects the file at . If the URI doesn't refer to a file in the current folder of the file chooser, then the current folder of the file chooser will be changed to the folder that's part of . a , true if both the folder could be changed and the URI was selected successfully, false otherwise. Method 2.12.0.0 System.Boolean a Sets the current folder for the file chooser from a local filename. a The user will be shown the full contents of the current folder, plus user interface elements for navigating to other folders. Method 2.12.0.0 System.Boolean a , the URI to use Sets the current folder for the chooser from an URI. a , true if the folder could be changed successfully, false otherwise The user will be shown the full contents of the current folder, plus user interface elements for navigating to other folders. Method 2.12.0.0 System.Boolean a Sets as the current filename for the file chooser; If the file name isn't in the current folder of the file chooser, then the current folder of the file chooser will be changed to the folder containing . a , true if both the folder could be changed and the file was selected successfully, false otherwise. This is equivalent to a sequence of followed by . Note that the file must exist, or nothing will be done except for the directory change. To pre-enter a filename for the user, as in a save-as dialog, use . Method 2.12.0.0 System.Boolean a Sets the file referred to by as the current file for the the file chooser. a , true if both the folder could be changed and the URI was selected successfully, false otherwise. If the file name isn't in the current folder of the file chooser, then the current folder of the file chooser will be changed to the folder containing . This is equivalent to a sequence of followed by . Note that the file must exist, or nothing will be done except for the directory change. To pre-enter a filename for the user, as in a save-as dialog, use . Property 2.12.0.0 System.String[] The shortcut folders currently in use for this dialog. a Property 2.12.0.0 System.String[] The shortcut URIs currently allowed for this dialog. a Property 2.12.0.0 GLib.Property("show-hidden") System.Boolean Indicates if Hidden files and directories should be visible. a Method 2.12.0.0 System.Void Unselects all the files in the current folder of a file chooser. Method 2.12.0.0 System.Void a Unselects a currently selected filename. If the filename is not in the current directory, does not exist, or is otherwise not currently selected, does nothing. Method 2.12.0.0 System.Void a Unselects the file referred to by . If the file is not in the current directory, does not exist, or is otherwise not currently selected, does nothing. Event 2.12.0.0 GLib.Signal("update-preview") System.EventHandler This signal is emitted when the preview in a file chooser should be regenerated. For example, this can happen when the currently selected file changes. You should use this signal if you want your file chooser to have a preview widget. Once you have installed a preview widget with , you should update it when this signal is emitted. You can use the properties or to get the name of the file to preview. Your widget may not be able to preview all kinds of files; your callback must set to inform the file chooser about whether the preview was generated successfully or not. TODO: insert example from gtkfilechooser-preview in gtk+ docs. Property 2.12.0.0 System.String The URI for the currently selected file in the file selector. a If multiple files are selected, one of the filenames will be returned at random. If the file chooser is in folder mode, this function returns the selected folder. Property 2.12.0.0 System.String[] The URIs selected by this dialog. a Property 2.12.0.0 GLib.Property("use-preview-label") System.Boolean Sets whether the file chooser should display a stock label with the name of the file that is being previewed; the default is true. a Applications that want to draw the whole preview area themselves should set this to false and display the name themselves in their preview widget. gtk-sharp-2.12.40/doc/en/Gtk/WindowKeysForeachFunc.xml0000664000175000017500000000267712767740535017364 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added. To be added. Delegate class. TODO: There are no references to this class elsewhere in the doc; is it obsolete? gtk-sharp-2.12.40/doc/en/Gtk/PaperSize.xml0000664000175000017500000004145012767740535015047 00000000000000 gtk-sharp 2.12.0.0 GLib.Opaque To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Gtk.PaperSize To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Double To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Double To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Double To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Double To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Double To be added. To be added. To be added. To be added. Method 2.12.0.0 Gtk.PaperSize[] To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Double To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 System.Boolean To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/CommitHandler.xml0000664000175000017500000000301512767740535015666 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CommitHandler instance to the event. The methods referenced by the CommitHandler instance are invoked whenever the event is raised, until the CommitHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/LocationMode.xml0000664000175000017500000000326212767740535015521 00000000000000 gtk-sharp 2.12.0.0 System.Enum Location Mode enumeration. This type is a semi-private type, only used in FileChooser implementations. Field 2.12.0.0 Gtk.LocationMode Filename Entry. Field 2.12.0.0 Gtk.LocationMode Path Bar. gtk-sharp-2.12.40/doc/en/Gtk/RowCollapsedArgs.xml0000664000175000017500000000560612767740535016363 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.TreeIter The row that was collapsed. A Property 2.12.0.0 Gtk.TreePath The path of the row that was expanded. A gtk-sharp-2.12.40/doc/en/Gtk/TextEventArgs.xml0000664000175000017500000000705312767740535015711 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.Event The Gdk event related to the TextEvent. a Property 2.12.0.0 GLib.Object The object that triggered this event. a Property 2.12.0.0 Gtk.TextIter The location in the text where the event happened. a gtk-sharp-2.12.40/doc/en/Gtk/ComboBox.xml0000664000175000017500000012740512767740535014662 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Bin Gtk.CellEditable Gtk.CellLayout A widget used to choose from a list of items. using System; using Gtk; class ComboBoxSample { static void Main () { new ComboBoxSample (); } ComboBoxSample () { Application.Init (); Window win = new Window ("ComboBoxSample"); win.DeleteEvent += new DeleteEventHandler (OnWinDelete); ComboBox combo = ComboBox.NewText (); for (int i = 0; i < 5; i ++) combo.AppendText ("item " + i); combo.Changed += new EventHandler (OnComboBoxChanged); win.Add (combo); win.ShowAll (); Application.Run (); } void OnComboBoxChanged (object o, EventArgs args) { ComboBox combo = o as ComboBox; if (o == null) return; TreeIter iter; if (combo.GetActiveIter (out iter)) Console.WriteLine ((string) combo.Model.GetValue (iter, 0)); } void OnWinDelete (object obj, DeleteEventArgs args) { Application.Quit (); } } Constructor 2.12.0.0 Default constructor Gtk.ComboBox cb = new ComboBox(); cb.Clear(); CellRendererText cell = new CellRendererText(); cb.PackStart(cell, false); cb.AddAttribute(cell, "text", 0); ListStore store = new ListStore(typeof (string)); cb.Model = store; store.AppendValues ("Hello"); store.AppendValues ("Gtk"); store.AppendValues ("ComboBox"); Constructor 2.12.0.0 System.Obsolete a Internal constructor Constructor 2.12.0.0 a Creates a new that uses Constructor 2.12.0.0 a Internal constructor Constructor 2.12.0.0 A list of string values for the combo entries. Creates a Combo box from a list of values. Property 2.12.0.0 GLib.Property("active") System.Int32 The index of the currently active item. a -1 if there is no active item. Property 2.12.0.0 System.String The currently active string in . a if no active item is selected. You can only use this function with combo boxes constructed with . Method 2.12.0.0 System.Void a a , parameter on to be set from the value a , column of the model to get a value from. Adds an attribute mapping to the list in this combo box. The is the column of the model to get a value from, and the is the parameter on to be set from the value. So for example if column 2 of the model contains strings, you could have the "text" attribute of a get its values from column 2. Property 2.12.0.0 GLib.Property("add-tearoffs") System.Boolean To be added a To be added Method 2.12.0.0 System.Void a Appends to the list of strings stored in . You can only use this function with combo boxes constructed with . Property 2.12.0.0 Gtk.CellRenderer[] To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("changed") System.EventHandler Emitted when the selected item is changed. Method 2.12.0.0 System.Void Unsets all the mappings on all renderers for this combo box. Method 2.12.0.0 System.Void a Clears all existing attributes previously set with . Property 2.12.0.0 GLib.Property("column-span-column") System.Int32 The column with column span information. a The column span column contains integers which indicate how many columns an item should span. Event 2.12.0.0 GLib.Signal("editing_done") System.EventHandler To be added To be added Method 2.12.0.0 System.Void To be added To be added Property 2.12.0.0 GLib.Property("focus-on-click") System.Boolean Sets or gets whether the combo box will grab focus when it is clicked with the mouse. a Making mouse clicks not grab focus is useful in places like toolbars where you don't want the keyboard focus removed from the main area of the application. Method 2.12.0.0 System.Boolean a Gets the iter that points to the current active item, if it exists. a , if it exists. Property 2.12.0.0 GLib.GType GType Property a Returns the native GLib.GType value for Combo. Property 2.12.0.0 GLib.Property("has-frame") System.Boolean To be added a To be added Method 2.12.0.0 System.Void An index to insert . a to insert Inserts at in the list of strings stored in . You can only use this function with combo boxes constructed with . Property 2.12.0.0 GLib.Property("model") Gtk.TreeModel The which is acting as data source for the . a Will unset a previously set model (if applicable). If model is , then it will unset the model. setting the model does not clear the cell renderers, you have to call yourself if you need to set up different cell renderers for the new model. Method 2.12.0.0 Gtk.ComboBox Convenience function which constructs a new text combo box, which is a just displaying strings. a If you use this function to create a text combo box, you should only manipulate its data source with the following convenience functions: , , and . Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideChanged", Type=typeof(Gtk.ComboBox)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideEditingDone", Type=typeof(Gtk.ComboBox)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideWidgetRemoved", Type=typeof(Gtk.ComboBox)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Void a a Adds the to the end of the combo box. If is , then the is allocated no more space than it needs. Any unused space is divided evenly between cells for which is . Method 2.12.0.0 System.Void a a Packs the into the beginning of the combo box. If is , then the is allocated no more space than it needs. Any unused space is divided evenly between cells for which is . Method 2.12.0.0 System.Void Hides the menu or dropdown list of this . This function is mostly intended for use by accessibility technologies; applications should have little use for it. Method 2.12.0.0 System.Void Pops up the menu or dropdown list of . This function is mostly intended for use by accessibility technologies; applications should have little use for it. Property 2.12.0.0 Atk.Object To be added a To be added Property 2.12.0.0 GLib.Property("popup-shown") System.Boolean Indicates if the popup is currently visible. if the popup is visible. Method 2.12.0.0 System.Void a Prepends to the list of strings stored in the . You can only use this function with combo boxes constructed with . Method 2.12.0.0 System.Void a Removes text at in the list of strings stored in . You can only use this function with combo boxes constructed with . Method 2.12.0.0 System.Void To be added To be added Method 2.12.0.0 System.Void a a Re-inserts at . Note that has already to be packed into the combo box for this to function properly. i Property 2.12.0.0 Gtk.TreeViewRowSeparatorFunc Callback function to indicate whether or not a given row of the combo box should be rendered as a separator. a Property 2.12.0.0 GLib.Property("row-span-column") System.Int32 The column with row span information a The row span column contains integers which indicate how many rows an item should span. Method 2.12.0.0 System.Void a Sets the current active item to be the one referenced by iter. Method 2.12.0.0 System.Void System.ParamArray a a Sets the attribute to column bindings for a renderer. The array should consist of pairs of attribute name and column indexes. Method 2.12.0.0 System.Void a a Sets a data function to use for the combo box. The data function is used instead of the standard attributes mapping for setting the column value, and should set the value of the cell renderer as appropriate. may be to remove an older one. Method 2.12.0.0 System.Void a To be added To be added Property 2.12.0.0 GLib.Property("tearoff-title") System.String A title to display when the popup is torn off. defaults to . Event 2.12.0.0 GLib.Signal("remove_widget") System.EventHandler To be added To be added Property 2.12.0.0 GLib.Property("wrap-width") System.Int32 Wrap width for laying out the items in a grid. a Allowed values: >= 0 Default value: 0 gtk-sharp-2.12.40/doc/en/Gtk/Assistant.xml0000664000175000017500000006270012767740535015117 00000000000000 gtk-sharp 2.12.0.0 Gtk.Window To be added. To be added. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 System.Obsolete To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("apply") System.EventHandler To be added. To be added. Event 2.12.0.0 GLib.Signal("cancel") System.EventHandler To be added. To be added. Event 2.12.0.0 GLib.Signal("close") System.EventHandler To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Property 2.12.0.0 Gtk.AssistantPageFunc To be added. To be added. To be added. Method 2.12.0.0 Gtk.Widget To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 Gdk.Pixbuf To be added. To be added. To be added. To be added. Method 2.12.0.0 Gdk.Pixbuf To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Method 2.12.0.0 Gtk.AssistantPageType To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 Gtk.Container+ContainerChild To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideApply", Type=typeof(Gtk.Assistant)) System.Void To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCancel", Type=typeof(Gtk.Assistant)) System.Void To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideClose", Type=typeof(Gtk.Assistant)) System.Void To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePrepare", Type=typeof(Gtk.Assistant)) System.Void To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("prepare") Gtk.PrepareHandler To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/SeparatorMenuItem.xml0000664000175000017500000001045412767740535016551 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.MenuItem A separator used in menus. A separator used in menus. The is a used to group items within a . It displays a horizontal line with a shadow to make it appear sunken into the interface. Constructor 2.12.0.0 Creates a new . Creates a new . Gtk.SeparatorMenuItem smi = new Gtk.SeparatorMenuItem (); Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gtk/RowExpandedHandler.xml0000664000175000017500000000311012767740535016652 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the RowExpandedHandler instance to the event. The methods referenced by the RowExpandedHandler instance are invoked whenever the event is raised, until the RowExpandedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/ClipboardTargetsReceivedFunc.xml0000664000175000017500000000370312767740535020660 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added. Delegate class for ; called with a list of possible targets for clipboard data. See that method's documentation for more details. gtk-sharp-2.12.40/doc/en/Gtk/ScrollType.xml0000664000175000017500000003110112767740535015235 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.ScrollTypeGType)) An enumeration used by ScrolledWindow and Range. This enumeration is used by and to decide how scrolling behaves. Field 2.12.0.0 Gtk.ScrollType Sets the scrollbar's slider to the end of the scrollbar. Sets the scrollbar's slider to the end of the scrollbar. Field 2.12.0.0 Gtk.ScrollType Sets the scrollbar's slider to the position described in the accompanying float parameter. The range of values are 0 to 1, with the halfway point being 0.5. Field 2.12.0.0 Gtk.ScrollType The default setting. Indicates that the scrollbar's slider is not moved. The default setting. Indicates that the scrollbar's slider is not moved. Field 2.12.0.0 Gtk.ScrollType Sets the scrollbar's slider back one page increment from its current position. The value of the step increment is taken from the underlying in the scrollbar. Field 2.12.0.0 Gtk.ScrollType Move the slider a page down. Field 2.12.0.0 Gtk.ScrollType Sets the scrollbar's slider forward one page increment from its current position. The value of the step increment is taken from the underlying in the scrollbar. Field 2.12.0.0 Gtk.ScrollType Sets the scrollbar's slider back one page increment to the left from its current position. Sets the scrollbar's slider back one page increment to the left from its current position. Field 2.12.0.0 Gtk.ScrollType Sets the scrollbar's slider forward one page increment to the right from its current position. Sets the scrollbar's slider forward one page increment to the right from its current position. Field 2.12.0.0 Gtk.ScrollType Move the slider a page up. Field 2.12.0.0 Gtk.ScrollType Sets the scrollbar's slider to the beginning of the scrollbar. Sets the scrollbar's slider to the beginning of the scrollbar. Field 2.12.0.0 Gtk.ScrollType Sets the scrollbar's slider back one step increment from its current position. The value of the step increment is taken from the underlying in the scrollbar. Field 2.12.0.0 Gtk.ScrollType Move the scroller a step down. Field 2.12.0.0 Gtk.ScrollType Sets the scrollbar's slider forward one step increment from its current position. The value of the step increment is taken from the underlying in the scrollbar. Field 2.12.0.0 Gtk.ScrollType Sets the scrollbar's slider back one step increment to the left from its current position. Sets the scrollbar's slider back one step increment to the left from its current position. Field 2.12.0.0 Gtk.ScrollType Sets the scrollbar's slider forward one step increment to the right from its current position. Sets the scrollbar's slider forward one step increment to the right from its current position. Field 2.12.0.0 Gtk.ScrollType Move the scroller a step up. gtk-sharp-2.12.40/doc/en/Gtk/PrintSettingsFunc.xml0000664000175000017500000000163212767740535016574 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/CellLayoutImplementor.xml0000664000175000017500000001677212767740535017447 00000000000000 gtk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Gtk.CellLayoutAdapter)) CellLayout implementor interface. The implementable portion of the interface. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 Gtk.CellRenderer[] To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/DragResult.xml0000664000175000017500000000741512767740535015224 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.DragResultGType)) To be added. To be added. Field 2.12.0.0 Gtk.DragResult To be added. Field 2.12.0.0 Gtk.DragResult To be added. Field 2.12.0.0 Gtk.DragResult To be added. Field 2.12.0.0 Gtk.DragResult To be added. Field 2.12.0.0 Gtk.DragResult To be added. Field 2.12.0.0 Gtk.DragResult To be added. gtk-sharp-2.12.40/doc/en/Gtk/CellRendererAccel.xml0000664000175000017500000003561412767740535016450 00000000000000 gtk-sharp 2.12.0.0 Gtk.CellRendererText To be added. To be added. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 System.Obsolete To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("accel-cleared") Gtk.AccelClearedHandler To be added. To be added. Event 2.12.0.0 GLib.Signal("accel-edited") Gtk.AccelEditedHandler To be added. To be added. Property 2.12.0.0 GLib.Property("accel-key") System.UInt32 To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("accel-mode") Gtk.CellRendererAccelMode To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("accel-mods") Gdk.ModifierType To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("keycode") System.UInt32 To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideAccelCleared", Type=typeof(Gtk.CellRendererAccel)) System.Void To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideAccelEdited", Type=typeof(Gtk.CellRendererAccel)) System.Void To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Gtk.CellEditable To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/EndPrintHandler.xml0000664000175000017500000000255012767740535016164 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the EndPrintHandler instance to the event. The methods referenced by the EndPrintHandler instance are invoked whenever the event is raised, until the EndPrintHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/HierarchyChangedHandler.xml0000664000175000017500000000320212767740535017624 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the HierarchyChangedHandler instance to the event. The methods referenced by the HierarchyChangedHandler instance are invoked whenever the event is raised, until the HierarchyChangedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/CurrentParagraphIndentationChangedHandler.xml0000664000175000017500000000352712767740535023365 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CurrentParagraphIndentationChangedHandler instance to the event. The methods referenced by the CurrentParagraphIndentationChangedHandler instance are invoked whenever the event is raised, until the CurrentParagraphIndentationChangedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/Curve.xml0000664000175000017500000003732312767740535014235 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.DrawingArea The widget allows the user to edit a curve covering a range of values. The widget allows the user to edit a curve covering a range of values. It is typically used to fine-tune color balances in graphics applications like the Gimp. The widget has 3 modes of operation - spline, linear and free. In spline mode the user places points on the curve which are automatically connected together into a smooth curve. In linear mode the user places points on the curve which are connected by straight lines. In free mode the user can draw the points of the curve freely, and they are not connected at all. NOTE: this widget is considered too specialized/little-used for GTK+, and will in the future be moved to some other package. If your application needs this widget, feel free to use it, as the widget does work and is useful in some applications; it's just not of general interest. However, we are not accepting new features for the widget, and it will eventually move out of the GTK+ distribution. (FIXME: will it remain in GTK#?) Constructor 2.12.0.0 Constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.Property("curve-type") Gtk.CurveType Sets the type of the curve. A . The curve will remain unchanged except when changing from a free curve to a linear or spline curve, in which case the curve will be changed as little as possible. Event 2.12.0.0 GLib.Signal("curve_type_changed") System.EventHandler Emitted when the curve type has been changed. The curve type can be changed explicitly with a call to . It is also changed as a side-effect of calling or . Property 2.12.0.0 System.Single Recomputes the entire curve using the given gamma value. A gamma value. A gamma value of 1 results in a straight line. Values greater than 1 result in a curve above the straight line. Values less than 1 result in a curve below the straight. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("max-x") System.Single The maximum x value of the gamma curve. A max x value. Property 2.12.0.0 GLib.Property("max-y") System.Single The maximum y value of the gamma curve. A max y value. Property 2.12.0.0 GLib.Property("min-x") System.Single The minimum x value of the gamma curve. A min x value. Property 2.12.0.0 GLib.Property("min-y") System.Single The minimum y value of the gamma curve. A min y value. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCurveTypeChanged", Type=typeof(Gtk.Curve)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Void Resets the curve to a straight line from the minimum x and y values to the maximum x and y values (i.e. from the bottom-left to the top-right corners). Resets the curve to a straight line from the minimum x and y values to the maximum x and y values (i.e. from the bottom-left to the top-right corners). The curve type is not changed. Method 2.12.0.0 System.Void The minimum x value. The maximum x value. The minimum y value. The maximum y value. Sets the minimum and maximum x and y values of the curve. Sets the minimum and maximum x and y values of the curve. The curve is also reset with a call to . Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/ChildNotifiedHandler.xml0000664000175000017500000000313612767740535017147 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ChildNotifiedHandler instance to the event. The methods referenced by the ChildNotifiedHandler instance are invoked whenever the event is raised, until the ChildNotifiedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/HTMLEditorAPI.xml0000664000175000017500000000450512767740535015412 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType Hooks for an HTML editor. Currently unsupported in Gtk#. See . Method 3.16.0.0 Gtk.HTMLEditorAPI A , pointer to the underlying C object. Default constructor. A Field 3.16.0.0 Gtk.HTMLEditorAPI An empty object. gtk-sharp-2.12.40/doc/en/Gtk/ProgressBarStyle.xml0000664000175000017500000000500012767740535016406 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.ProgressBarStyleGType)) An enumeration representing the styles for drawing the . An enumeration representing the styles for drawing the . Field 2.12.0.0 Gtk.ProgressBarStyle The grows in a smooth, continuous manner. The grows in a smooth, continuous manner. Field 2.12.0.0 Gtk.ProgressBarStyle The grows in discrete, visible blocks. The grows in discrete, visible blocks. gtk-sharp-2.12.40/doc/en/Gtk/PrintQuality.xml0000664000175000017500000000537012767740535015613 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.PrintQualityGType)) Print quality enumeration. Field 2.12.0.0 Gtk.PrintQuality Draft quality printing. Field 2.12.0.0 Gtk.PrintQuality High quality printing. Field 2.12.0.0 Gtk.PrintQuality Low quality printing. Field 2.12.0.0 Gtk.PrintQuality Normal quality printing. gtk-sharp-2.12.40/doc/en/Gtk/PopupMenuHandler.xml0000664000175000017500000000305612767740535016373 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PopupMenuHandler instance to the event. The methods referenced by the PopupMenuHandler instance are invoked whenever the event is raised, until the PopupMenuHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/Accessible.xml0000664000175000017500000001133412767740535015200 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Atk.Object This class requests instances for the UI components that provide useful information to the user. Constructor 2.12.0.0 Protected constructor. Chain to this constructor if you have not registered a native value for your subclass. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Void This method specifies the callback function to be called when the corresponding to a is destroyed. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gtk/AccelKey.xml0000664000175000017500000001315612767740535014627 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType A class for holding information about a key that gets used as an accelerator. Constructor 2.12.0.0 a enumerated in a enumerated in , the modifiers (shift, ctrl, etc) that apply for this AccelKey a enumerated in for whether this AccelKey should be displayed in the menu Public constructor. Property 2.12.0.0 Gtk.AccelFlags The flags for this AccelKey that determine whether will display it. a Field 2.12.0.0 Gdk.ModifierType A mask of the modifier keys that are relevant for this AccelKey. Field 2.12.0.0 Gdk.Key The main keyboard key to use for this AccelKey. Useful values are enumerated in . Method 2.12.0.0 Gtk.AccelKey an Make a new AccelKey object with the object key specified by . An object of type Field 2.12.0.0 Gtk.AccelKey Make a new AccelKey object that has no global object key. gtk-sharp-2.12.40/doc/en/Gtk/TreeViewColumnSizing.xml0000664000175000017500000000577412767740535017252 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.TreeViewColumnSizingGType)) The sizing method the column uses to determine its width. Please note that Autosize is inefficient for large views and can make columns appear choppy. Field 2.12.0.0 Gtk.TreeViewColumnSizing Columns resize to be the optimal size every time the model changes. Field 2.12.0.0 Gtk.TreeViewColumnSizing Columns are a fixed numbers of pixels wide. Field 2.12.0.0 Gtk.TreeViewColumnSizing Columns only get bigger in reaction to changes in the model. gtk-sharp-2.12.40/doc/en/Gtk/StateType.xml0000664000175000017500000001165712767740535015075 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.StateTypeGType)) An enumeration used to indicate the visual state of a . This enumeration is used to indicate the current state of a widget; the state determines how the widget is draw. This enumeration is also used to identify different colors in a for drawing, so states can be used for subparts of a widget as well as entire widgets. Field 2.12.0.0 Gtk.StateType State of a currently active widget, such as a depressed button. State of a currently active widget, such as a depressed button. Field 2.12.0.0 Gtk.StateType State indicating that the widget is unresponsive to user actions. State indicating that the widget is unresponsive to user actions. Field 2.12.0.0 Gtk.StateType State during normal operation. State during normal operation. Field 2.12.0.0 Gtk.StateType State indicating that the mouse pointer is over the widget and the widget will respond to mouse clicks. State indicating that the mouse pointer is over the widget and the widget will respond to mouse clicks. Field 2.12.0.0 Gtk.StateType State of a selected item, such the selected row in a list. State of a selected item, such the selected row in a list. gtk-sharp-2.12.40/doc/en/Gtk/StartInteractiveSearchArgs.xml0000664000175000017500000000344112767740535020401 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.40/doc/en/Gtk/StyleSetArgs.xml0000664000175000017500000000443112767740535015534 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.Style The style that was in use before this style. A gtk-sharp-2.12.40/doc/en/Gtk/ScreenChangedArgs.xml0000664000175000017500000000454312767740535016455 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.Screen The screen where the widget was formerly located. a gtk-sharp-2.12.40/doc/en/Gtk/CellRendererPixbuf.xml0000664000175000017500000003663612767740535016703 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.CellRenderer Renders a Constructor 2.12.0.0 Creates a new This is the default constructor for . Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.Property("follow-state") System.Boolean Determines state-based colorization of the Pixbuf. a indicating if the should be used for colorization of the Pixbuf. Defaults to . Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("icon-name") System.String Name of the themed icon to display. a containing a name in an Icon theme. Property 2.12.0.0 GLib.Property("pixbuf") Gdk.Pixbuf The to render. an object of type Property 2.12.0.0 GLib.Property("pixbuf-expander-closed") Gdk.Pixbuf for closed expander. an object of type Property 2.12.0.0 GLib.Property("pixbuf-expander-open") Gdk.Pixbuf for open expander. an object of type Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Gtk.CellEditable To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("stock-detail") System.String Render detail to pass to the theme engine. a Property 2.12.0.0 GLib.Property("stock-id") System.String The stock ID of the stock icon to render. a Property 2.12.0.0 GLib.Property("stock-size") System.UInt32 The size of the rendered icon. a gtk-sharp-2.12.40/doc/en/Gtk/DoneArgs.xml0000664000175000017500000000421112767740535014641 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.PrintOperationResult Result of the Operation. a . If the result is 'Error', you can check for more information. gtk-sharp-2.12.40/doc/en/Gtk/StatusIcon.xml0000664000175000017500000007514612767740535015252 00000000000000 gtk-sharp 2.12.0.0 GLib.Object Status Icon. A platform independent system tray icon. Constructor 2.12.0.0 Public constructor. Constructor 2.12.0.0 An Icon pixbuf. Public constructor. Creates an instance using the specified icon pixbuf. Constructor 2.12.0.0 System.Obsolete A native type value. Obsolete constructor. Do not use. Constructor 2.12.0.0 A native instance pointer. Public constructor. For use by language bindings to wrap native instances. Constructor 2.12.0.0 Icon file name. Public constructor. Creates an instance using the specified icon file. Event 2.12.0.0 GLib.Signal("activate") System.EventHandler Activate event. Raised when the user activates the status icon. This behavior is only provided on platforms that support it. Property 2.12.0.0 GLib.Property("blinking") System.Boolean Indicates if the Icon is Blinking. If , the icon is blinking. Property 2.12.0.0 GLib.Property("embedded") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("file") System.String Display an icon from a file. A string containing the filename path. Property 2.12.0.0 System.Obsolete("use the File property instead") System.String Display an icon from a file. A string containing the filename path. Property 2.12.0.0 System.Obsolete("use the IconName property instead") System.String Display an icon from the current icon theme. An icon name from the current theme. If the IconTheme is changed, the icon is updated to the icon of the same name in the new theme. Property 2.12.0.0 System.Obsolete("use the Pixbuf property instead") Gdk.Pixbuf Display a Pixbuf Icon. A containing the desired icon. Property 2.12.0.0 System.Obsolete("use the Stock property instead") System.String Display a stock Icon. A value, or other string registered as a stock id. Method 2.12.0.0 System.Obsolete("Replaced by (out Screen, out Rectangle, out Orientation) overload") System.Boolean Do not use. Do not use. Do not use. Obsolete. Do not Use. if the operation succeeded. This method was incorrectly bound and is provided for backward compatibility. Use the overload with out Screen and out Rectangle parameters instead. Method 2.12.0.0 System.Boolean Returns the screen containing the status icon. Returns the bounds of the status icon. Returns the orientation of the status icon. Get the Location and Orientation of the Icon. if the operation was successful. This information can be used to place popups like notification bubbles. Property 2.12.0.0 GLib.GType Native type value. a . Property 2.12.0.0 GLib.Property("icon-name") System.String Display an icon from the current icon theme. An icon name from the current theme. If the IconTheme is changed, the icon is updated to the icon of the same name in the new theme. Property 2.12.0.0 System.Boolean Indicates if the icon is embedded in a notification area. if embedded. Method 2.12.0.0 Gtk.StatusIcon To be added. Creates a status icon with a named icon from the current theme. A . Method 2.12.0.0 Gtk.StatusIcon To be added. Creates a status icon with a stock icon. A . Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideActivate", Type=typeof(Gtk.StatusIcon)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePopupMenu", Type=typeof(Gtk.StatusIcon)) System.Void Button pressed. Time button was pressed. Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSizeChanged", Type=typeof(Gtk.StatusIcon)) System.Boolean The new size. Default handler for the event. To be added. Override this method in a subclass to provide a default handler for the event. Property 2.12.0.0 GLib.Property("orientation") Gtk.Orientation To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("pixbuf") Gdk.Pixbuf Display a Pixbuf Icon. A containing the desired icon. Event 2.12.0.0 GLib.Signal("popup_menu") Gtk.PopupMenuHandler PopupMenu event. Raised when the user brings up the context menu. Method 2.12.0.0 System.Void A menu to position. Returns the x coordinate. Returns the y coordinate. Returns if the menu must be pushed in to be completely visible. Native handle of the StatusIcon for which the menu is being placed. Menu Positioning Callback function. Used with to position context menus. Method 2.12.0.0 System.Void The menu to present. The button provided by . The time provided by . Positions and displays a menu. This method provides an optimized alternative to calling directly, saving a some native/managed marshaling roundtrips. Property 2.12.0.0 GLib.Property("screen") Gdk.Screen To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("size") System.Int32 Pixel size available for Icon. An integer pixel size. Event 2.12.0.0 GLib.Signal("size_changed") Gtk.SizeChangedHandler SizeChanged event. Raised when the icon size changes. Property 2.12.0.0 GLib.Property("stock") System.String Display a stock Icon. A value, or other string registered as a stock id. Property 2.12.0.0 GLib.Property("storage-type") Gtk.ImageType Image storage type. A . Property 2.12.0.0 System.String Sets the Tooltip. A tooltip string. Property 2.12.0.0 GLib.Property("visible") System.Boolean Indicates if the Icon is visible. To be added. Doesn't guarantee the icon can be seen by the user. See . gtk-sharp-2.12.40/doc/en/Gtk/CellEditable.xml0000664000175000017500000001142212767740535015452 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.IWrapper An interface for editing a single cell. Event 2.12.0.0 System.EventHandler Event that indicates to the cell renderer to update its value from the cell. Method 2.12.0.0 System.Void Emits the event. This event is a sign for the cell renderer to update its value from the cell. Method 2.12.0.0 System.Void Emits the event. This event is meant to indicate that the cell is finished editing, and the may now be destroyed. Method 2.12.0.0 System.Void A , or . Begins editing on a cell editable. is the that began the editing process. It may be , in the instance that editing was initiated through programatic means. Event 2.12.0.0 System.EventHandler Event that indicates that the cell is finished editing, and the may now be destroyed. gtk-sharp-2.12.40/doc/en/Gtk/ActivateCursorItemHandler.xml0000664000175000017500000000431212767740535020214 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ActivateCursorItemHandler instance to the event. The methods referenced by the ActivateCursorItemHandler instance are invoked whenever the event is raised, until the ActivateCursorItemHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/ObjectInsertedHandler.xml0000664000175000017500000000167612767740535017355 00000000000000 gtkhtml-sharp 3.16.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/ItemFactory.xml0000664000175000017500000010300112767740535015362 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Object System.Obsolete A factory for menus. To use this class, make an array of objects which describe a menu, then invoke to generate the menu. Constructor 2.12.0.0 Protected constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 The kind of menu to create; can be , , or the factory path of the new item factory, a string of the form "<name>" a to which the accelerators for the menu items will be added, or null to create a new one Basic constructor. Method 2.12.0.0 System.Void Widget to install an accelerator on. The full path for the . The accelerator group to install the accelerator in. Key value of the accelerator. Modifier combination of the acelerator. Installs an accelerator for in , that causes the activate event to be emitted it the accelerator is activated. This method can be used to make widgets participate in the accel saving/restoring functionality provided by and , even if they haven't been created by an item factory. The recommended API for this purpose are the and ; don't use in new code, since it is likely to be removed in the future. Method 2.12.0.0 System.Void The kind of menu to create; can be , , or the factory path of the new item factory, a string of the form "<name>" a to which the accelerators for the menu items will be added, or null to create a new one Initializes a Method 2.12.0.0 System.Void The to create an item for. Data passed to the callback method of . 1 if the callback method of is of type , 2 if it is of type . Creates an item for . Method 2.12.0.0 System.Void The length of . An array of s whose members must be of type . Data passed to the callback methods of all entries. Creates the menu items from the . Method 2.12.0.0 System.Void a , the number of menu items a , a list of information about menu items a , pointer to data that should be passed to the callback functions of all entries a Creates menu items from entries. FIXME: See bugzilla 70887. Method 2.12.0.0 System.Void a , the number of entries an array of objects Creates menu items from a set of entries. Method 2.12.0.0 System.Void The length of . An array of s. Deletes the menu items which were created from the entries by the given item factory. Method 2.12.0.0 System.Void A . Deletes the menu item which was created from by the given item factory. Method 2.12.0.0 System.Void A path. Deletes the menu item which was created for by the given item factory. Method 2.12.0.0 Gtk.ItemFactory a Finds an item factory which has been constructed using the "<name>" prefix of as the path argument building a new item factory. a , or Method 2.12.0.0 Gtk.ItemFactory A . Obtains the item factory from which a was created. The item factory from which was created, or . Method 2.12.0.0 Gtk.Widget The path to the menu item. Obtains the menu item which corresponds to . The menu item for the given path, or if doesn't lead to a menu item. If the corresponding to is a menu item which opens a submenum, then the item is returned. If you are interested in the submenum, use instead. Method 2.12.0.0 Gtk.Widget A (TODO: where is this enumerated?) Obtains the menu item which correponds to . A Method 2.12.0.0 Gtk.Widget The path to the . Obtains the which corresponds to . The for the given path, or if doesn't lead to a . If the corresponding to is a menu item which opens a submenu, then the submenu is returned. If you are interested in the menu item, use instead. Method 2.12.0.0 Gtk.Widget A (TODO: where is this enumerated?) Obtains the which corresponds to . A Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 System.String A . If has been created by an item factory, returns the full path to it. The full path to if it has been created by an item factory, otherwise. This value is owned by GTK+ and must not be modified or freed. The full path of a is the concatenation of the factory path specified in with the path specified in the from which the was created. Method 2.12.0.0 System.Void The x position. The y position. The mouse button which was pressed to initiate the popup. The time at which the activation event ocurred. Pops up the menu constructed from the item factory at (, ). The should be the mouse button pressed to initiate the menu popup. If the menu popup was initiated by something other than a mouse button press, such as a mouse button release or a keypress, should be 0. The should be the time stamp of the event that initiated the popup. If such a event is not available, use instead. The operation of the and the is the same as the and for . Method 2.12.0.0 System.IntPtr Obtains the which was passed to . associated. This data is available until the menu is popped down again. Method 2.12.0.0 System.IntPtr A . Obtains the which was passed to . associated with the item factory from which was created, or if wasn't created by an item factory. This data is available until the menu is popped down again. Method 2.12.0.0 System.Void Data available for callbacks while the menu is posted. A to be called on when the menu is unposted. The x position. The y position. The mouse button which was pressed to initiate the popup. The time at which the activation event ocurred. Pops up the menu constructed form the item factory at (, ). Callbacks can access the while the menu is posted via and . The should be the mouse button pressed to initiate the menu popup. If the menu popup was initiated by something other than a mouse button press, such as a mouse button release or a keypress, should be 0. The should be the time stamp of the event that initiated the popup. If such a event is not available, use instead. The operation of the and the is the same as the and for . Method 2.12.0.0 System.Obsolete("Replaced by TranslateFunc property.") System.Void The delegate to be used to traslate path elements. ignored ignored Sets a method to be used for translating the path elements before they are displayed. This method is obsolete. New code should use the property instead. Property 2.12.0.0 Gtk.TranslateFunc The method to be used for translating the path elements before they are displayed. a gtk-sharp-2.12.40/doc/en/Gtk/PopulatePopupHandler.xml0000664000175000017500000000401412767740535017253 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the PopulatePopupHandler instance to the event. The methods referenced by the PopulatePopupHandler instance are invoked whenever the event is raised, until the PopulatePopupHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/Image.xml0000664000175000017500000013133312767740535014167 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Misc used to display an image. can be used as a container for a or a to get custom interfaces. cannot launch events, it is necessary to include it inside an for that purpose. Constructor 2.12.0.0 Default parameterless constructor. Constructor 2.12.0.0 to be displayed by the Image. This constructor is used to create an instance of containing the passed to it. Constructor 2.12.0.0 to be displayed by the Image. This constructor is used to create an instance of containing the passed to it. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 a Loads an image from a . This is equivalent to calling or and then creating an from the resulting pixbuf. Constructor 2.12.0.0 representing the path to the image file. This constructor is used to create an instance of containing the image stored in the filename whose path is given by the 'filename' parameter. Constructor 2.12.0.0 to be displayed by the Image. mask to be used. This constructor is used to create an instance of containing the passed to it, masked by the given . Constructor 2.12.0.0 displayed by the Image. mask used by the Image. This constructor is used to create an instance of containing the passed to it, masked by the given . Constructor 2.12.0.0 to be displayed by the Image. to be used by the Image. This constructor is used to create an instance of containing the and using the passed to it. Constructor 2.12.0.0 The that contains the image. If the value is , the image will be looked up on the calling assembly. The name given as the resource in the assembly Loads an image embedded in an assembly This is equivalent to calling or and then creating an from the resulting pixbuf. Constructor 2.12.0.0 identifier for the . used by the Image. This constructor is used to create an instance of containing the represented by the passed to it and with the size represented by the passed. Property 2.12.0.0 Gdk.PixbufAnimation Get the animation for this image. an object of type Method 2.12.0.0 System.Void Resets the image to be empty. Property 2.12.0.0 GLib.Property("file") System.String The file this image was loaded from. an object of type Property 2.12.0.0 System.Obsolete("Use the Animation property instead") Gdk.PixbufAnimation Causes the Image object to display the given animation (or display nothing, if you set the animation to ). an object of type Property 2.12.0.0 System.Obsolete("Use the File property instead") System.String

Creates a new displaying the file If the file isn't found or can't be loaded, the resulting Image will display a "broken image" icon. This function never returns , it always returns a valid Image widget. If the file contains an animation, the image will contain an animation.

If you need to detect failures to load the file, use to load the file yourself, then create the Image from the pixbuf. (Or for animations, use ).

The storage type () of the returned image is not defined, it will be whatever is appropriate for displaying the file.

an object of type
Property 2.12.0.0 System.Obsolete("Use the Pixbuf property instead") Gdk.Pixbuf Creates a displaying . an object of type Creates a displaying . Method 2.12.0.0 System.Obsolete System.Void a a Gets the and mask being displayed by the . The storage type of the image must be . or . (see ). Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void the the icon size, a Get the icon set and size, if this image is using an icon set If the is displaying an image from an icon set, this method can be used to retrieve the icon set and the size. Method 2.12.0.0 System.Void the image data the mask Get the image data and mask for an image Method 2.12.0.0 System.Void the the mask Get the pixmap and mask for an image Method 2.12.0.0 System.Void the stock item name the stock item size, a Get the stock item name and size, if this is a stock image If the is displaying a stock image, this method can be used to retrieve the stock item name and the size. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("icon-name") System.String To be added a To be added Property 2.12.0.0 GLib.Property("icon-set") Gtk.IconSet Gets or sets the associated to the Image. that the Image contains. Property 2.12.0.0 GLib.Property("icon-size") System.Int32 The size (dimension on a side) for a square icon. an object of type Property 2.12.0.0 GLib.Property("image") Gdk.Image Gets or sets the associated with the Image. that the Image contains. Method 2.12.0.0 Gtk.Image the name of the resource Loads an image from a resource file. a This load an image from a resource in the calling assembly. This is equivalent to using the constructor with a assembly. Property 2.12.0.0 GLib.Property("mask") Gdk.Pixmap Mask bitmap to use with or an object of type Method 2.12.0.0 Gtk.Image a a To be added a To be added Property 2.12.0.0 GLib.Property("pixbuf") Gdk.Pixbuf Gets or sets the associated to the Image. that the Image contains. Property 2.12.0.0 GLib.Property("pixbuf-animation") Gdk.PixbufAnimation Gets or sets the associated to the Image. that the Image contains. Property 2.12.0.0 GLib.Property("pixel-size") System.Int32 To be added a To be added Property 2.12.0.0 GLib.Property("pixmap") Gdk.Pixmap Gets or sets the associated to the Image. that the Image contains. Method 2.12.0.0 System.Obsolete System.Void a a Same functionality as . Method 2.12.0.0 System.Void a a To be added To be added Method 2.12.0.0 System.Void an object of type an object of type Creates a displaying an . Creates a displaying an . Sample stock sizes are , . Instead of using this function, usually it is better to create a , put your in the , add the to the list of default factories with , and then use . This will allow themes to override the icon you ship with your application. Method 2.12.0.0 System.Void an object of type an object of type Creates a widget displaying an image with a mask. Creates a widget displaying an image with a mask. A is a client-side image buffer in the pixel format of the current display. Method 2.12.0.0 System.Void an object of type an object of type Creates a widget displaying an image with a mask. Creates a widget displaying an image with a mask. A is a client-side image buffer in the pixel format of the current display. Method 2.12.0.0 System.Void an object of type an object of type Creates a displaying a stock icon. Creates a displaying a stock icon. Sample stock icon names are , . Sample stock sizes are , . If the stock icon name is not known, a "broken image" icon will be displayed instead. You can register your own stock icon names, see and . Property 2.12.0.0 GLib.Property("stock") System.String A stock item name, if this is a stock image. an object of type Property 2.12.0.0 GLib.Property("storage-type") Gtk.ImageType The type of representation being used by the to store image data. If the Image has no image data, the return value will be . an object of type
gtk-sharp-2.12.40/doc/en/Gtk/MapChangedArgs.xml0000664000175000017500000001016512767740535015750 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.UInt32 The key value for the new accelerator a Property 2.12.0.0 Gdk.ModifierType The modifier mask for the new accelerator a Property 2.12.0.0 System.String The path of the accelerator that changed a gtk-sharp-2.12.40/doc/en/Gtk/MnemonicHash.xml0000664000175000017500000000403112767740535015510 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque To be added To be added Constructor 2.12.0.0 a To be added To be added gtk-sharp-2.12.40/doc/en/Gtk/CreateWindowArgs.xml0000664000175000017500000000545612767740535016363 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs To be added. To be added. Constructor 2.12.0.0 To be added. To be added. Property 2.12.0.0 Gtk.Widget To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/PrintOperationPreviewAdapter.xml0000664000175000017500000002433612767740535020771 00000000000000 gtk-sharp 2.12.0.0 GLib.GInterfaceAdapter GLib.IWrapper Gtk.PrintOperationPreview PrintOperationPreview interface adapter. Adapts a implementation to expose the complete interface API. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 Gtk.PrintOperationPreview To be added. To be added. To be added. To be added. Method 2.12.0.0 Gtk.PrintOperationPreview To be added. To be added. To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("got-page-size") Gtk.GotPageSizeHandler To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. Property 2.12.0.0 Gtk.PrintOperationPreviewImplementor To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("ready") Gtk.ReadyHandler To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/PreviewHandler.xml0000664000175000017500000000253412767740535016064 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PreviewHandler instance to the event. The methods referenced by the PreviewHandler instance are invoked whenever the event is raised, until the PreviewHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/PrintBackend.xml0000664000175000017500000000240312767740535015504 00000000000000 gtk-sharp 2.12.0.0 GLib.Opaque To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/ToggleCursorRowArgs.xml0000664000175000017500000000334212767740535017067 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.40/doc/en/Gtk/EditableAdapter.xml0000664000175000017500000004111112767740535016151 00000000000000 gtk-sharp 2.12.0.0 GLib.GInterfaceAdapter GLib.IWrapper Gtk.Editable Editable interface adapter. Adapts a implementation to expose the complete interface API. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("changed") System.EventHandler To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Gtk.Editable To be added. To be added. To be added. To be added. Method 2.12.0.0 Gtk.Editable To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. Property 2.12.0.0 Gtk.EditableImplementor To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Boolean To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("delete_text") Gtk.TextDeletedHandler To be added. To be added. Event 2.12.0.0 GLib.Signal("insert_text") Gtk.TextInsertedHandler To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/ScrolledWindow.xml0000664000175000017500000006070612767740535016111 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Bin Adds scrollbars to its child widget. GtkScrolledWindow is a subclass: it's a container the accepts a single child widget. GtkScrolledWindow adds scrollbars to the child widget and optionally draws a beveled frame around the child widget. The scrolled window can work in two ways. Some widgets have native scrolling support; these widgets have "slots" for objects. Widgets with native scroll support include , , and . The position of the scrollbars is controlled by the scroll adjustments. See for the properties in an adjustment - for , used by , the property represents the position of the scrollbar, which must be between the and - . The property represents the size of the visible scrollable area. The and properties are used when the user asks to step down (using the small stepper arrows) or page down (using for example the PageDown key). Constructor 2.12.0.0 Basic constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 Horizontal adjustment. Vertical adjustment. Creates a new scrolled window. Creates a new scrolled window. The two arguments are the scrolled window's adjustments; these will be shared with the scrollbars and the child widget to keep the bars in sync with the child. Usually you want to pass for the adjustments, which will cause the scrolled window to create them for you. Method 2.12.0.0 System.Void A Used to add children without native scrolling capabilities. Used to add children without native scrolling capabilities. This is simply a convenience function; it is equivalent to adding the unscrollable child to a viewport, then adding the viewport to the scrolled window. If a child has native scrolling, use instead of this function. The viewport scrolls the child by moving its , and takes the size of the child to be the size of its toplevel . This will be very wrong for most widgets that support native scrolling; for example, if you add a widget such as with a viewport, the whole widget will scroll, including the column headings. Thus, widgets with native scrolling support should not be used with the proxy. A widget supports scrolling natively if the set_scroll_adjustments_signal field in GtkWidgetClass is non-zero, i.e. has been filled in with a valid signal identifier. Method 2.12.0.0 System.Void Location to store the policy for the horizontal scrollbar. Location to store the policy for the horizontal scrollbar. Retrieves the current policy values for the horizontal and vertical scrollbars. Retrieves the current policy values for the horizontal and vertical scrollbars. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("hadjustment") Gtk.Adjustment Sets the for the horizontal scrollbar. The horizontal GtkAdjustment. Property 2.12.0.0 Gtk.Widget Horizontal Scrollbar. the horizontal if it exists, or . Property 2.12.0.0 GLib.Property("hscrollbar-policy") Gtk.PolicyType When the horizontal scrollbar is displayed. A Event 2.12.0.0 GLib.Signal("move_focus_out") Gtk.MoveFocusOutHandler Raised when the focus moves out of the scrolled window. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideMoveFocusOut", Type=typeof(Gtk.ScrolledWindow)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideScrollChild", Type=typeof(Gtk.ScrolledWindow)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 2.12.0.0 Gtk.CornerType Determines the location of the child widget with respect to the scrollbars. Determines the location of the child widget with respect to the scrollbars. The default is , meaning the child is in the top left, with the scrollbars underneath and to the right. Other values in are , , and . Event 2.12.0.0 GLib.Signal("scroll_child") Gtk.ScrollChildHandler Raised when the child widget is scrolled. Method 2.12.0.0 System.Void Policy for horizontal bar. Policy for vertical bar. Sets the scrollbar policy for the horizontal and vertical scrollbars. Sets the scrollbar policy for the horizontal and vertical scrollbars. The policy determines when the scrollbar should appear; it is a value from the enumeration. If , the scrollbar is always present; if , the scrollbar is never present; if , the scrollbar is present only if needed (that is, if the slider part of the bar would be smaller than the trough - the display is larger than the page size). Property 2.12.0.0 GLib.Property("shadow-type") Gtk.ShadowType Gets the shadow type of the scrolled window. The current shadow type. Method 2.12.0.0 System.Void Disables explicit window placement. Property 2.12.0.0 GLib.Property("vadjustment") Gtk.Adjustment Sets or Gets the for the vertical scrollbar. The vertical GtkAdjustment. Property 2.12.0.0 Gtk.Widget Vertical Scrollbar. the vertical if it exists, or . Property 2.12.0.0 GLib.Property("vscrollbar-policy") Gtk.PolicyType When the vertical scrollbar is displayed. A Property 2.12.0.0 GLib.Property("window-placement") Gtk.CornerType Where the contents are located with respect to the scrollbars. A Property 2.12.0.0 GLib.Property("window-placement-set") System.Boolean Indicates if an explicit placement is set. if , explicit placement is enabled. gtk-sharp-2.12.40/doc/en/Gtk/ConnectProxyArgs.xml0000664000175000017500000000673212767740535016421 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.Action The action being connected to a proxy. a Property 2.12.0.0 Gtk.Widget The proxy to which an action is being connected. a gtk-sharp-2.12.40/doc/en/Gtk/RecentChooserDialog.xml0000664000175000017500000005476012767740535017040 00000000000000 gtk-sharp 2.12.0.0 Gtk.Dialog Gtk.RecentChooser To be added. To be added. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 System.Obsolete To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Property 2.12.0.0 Gtk.RecentInfo To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("filter") Gtk.RecentFilter To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("item-activated") System.EventHandler To be added. To be added. Property 2.12.0.0 GLib.List To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("limit") System.Int32 To be added. To be added. To be added. Method 2.12.0.0 GLib.SList To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("local-only") System.Boolean To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideItemActivated", Type=typeof(Gtk.RecentChooserDialog)) System.Void To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionChanged", Type=typeof(Gtk.RecentChooserDialog)) System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Event 2.12.0.0 GLib.Signal("selection-changed") System.EventHandler To be added. To be added. Property 2.12.0.0 GLib.Property("select-multiple") System.Boolean To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("show-icons") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("show-not-found") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 System.Obsolete System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("show-private") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("show-tips") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 Gtk.RecentSortFunc To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("sort-type") Gtk.RecentSortType To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/Print.xml0000664000175000017500000001120212767740535014231 00000000000000 gtk-sharp 2.12.0.0 System.Object Global Printing methods. Constructor 2.12.0.0 Do Not Use. Class has only static methods. Method 2.12.0.0 System.Int32 Obtains the print operation error quark. The error quark used for print operation errors. Method 2.12.0.0 Gtk.PageSetup Transient parent window for the dialog, or . An existing Page Setup, or . Print settings. Runs the Page Setup Dialog. The user specified Page Setup. For a non-blocking dialog, use . Method 2.12.0.0 System.Void Transient parent window for the dialog, or . An existing Page Setup, or . Print settings. Done notification callback. Runs the Page Setup Dialog Asynchronously. To block program execution until the dialog is dismissed, use . gtk-sharp-2.12.40/doc/en/Gtk/FontSelectionDialog.xml0000664000175000017500000002332012767740535017035 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Dialog A FontSelectionDialog is a widget that opens a window requesting the user to select a font The FontSelectionDialog widget displays a window listing the available fonts, styles and sizes, allowing the user to select a font. It effectively places a widget in a . Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 A title that will appear in the window's title bar. Create a new FontSelectionDialog Property 2.12.0.0 Gtk.Button The dialog's "Apply" button. a Property 2.12.0.0 Gtk.Button The dialog's "Cancel" button. a Property 2.12.0.0 System.Obsolete Gdk.Font The font that was selected using the dialog. a Property 2.12.0.0 System.String The name of the font that is selected in this widget The name of the currently selected font. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 Gtk.Button The dialog's "OK" button. a Property 2.12.0.0 System.String The text used to display a preview of the selected font. The text currently displaying the selected font. This property determines the exact string that is displayed in the 'preview area' of the FontSelectionDialog. Method 2.12.0.0 System.Boolean The name of a system font to select. Sets the name of the font that is selected in this widget. if was a valid font, otherwise. If this property is used to alter the widget's font name to a font that could not be found, the widget will retain its original font selection. gtk-sharp-2.12.40/doc/en/Gtk/TextPushedHandler.xml0000664000175000017500000000246512767740535016543 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. An event that is raised when messages are pushed onto the message stack of a . This event passes data to its handlers with the class. gtk-sharp-2.12.40/doc/en/Gtk/Function.xml0000664000175000017500000000165412767740535014734 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Boolean A delegate for representing a function with a boolean return value. To be added. gtk-sharp-2.12.40/doc/en/Gtk/VBox.xml0000664000175000017500000001612312767740535014022 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Box A VBox is a specific type of for packing widgets vertically. Other ways of laying out widgets include using a horizontal box, (see ), a table, (see ), button boxes, etc. Useful methods for manipulating boxes can be found in the superclass for HBox, . Here is a simple example of the class' usage: using System; using Gtk; class VBoxTester { static void Main () { Application.Init (); Window myWindow = new Window ("VBox Widget"); VBox myBox = new VBox (false, 4); //Add the box to a Window container myWindow.Add (myBox); myWindow.ShowAll (); Application.Run (); } static void AddButton (VBox box) { box.PackStart (new Button ("Button"), true, false, 0); } } using System; using Gtk; class VBoxTester { static void Main () { Application.Init (); Window myWindow = new Window ("VBox Widget"); myWindow.SetDefaultSize (250, 100); VBox myBox = new VBox (false, 4); //Add the box to a Window container myWindow.Add (myBox); // Add some buttons to the container VBoxTester.AddButton (myBox); VBoxTester.AddButton (myBox); VBoxTester.AddButton (myBox); myWindow.ShowAll (); Application.Run (); } static void AddButton (VBox box) { box.PackStart (new Button ("Button"), true, false, 0); } } Imports System Imports Gtk Class VBoxTester Shared Sub Main () Application.Init () Dim myWindow As New Window ("VBox Widget") Dim myBox As New VBox (False, 0) ' Add the box to a Window container myWindow.Add (myBox) myWindow.SetDefaultSize (250, 100) ' Add some buttons to the box VBoxTester.AddButton (myBox) VBoxTester.AddButton (myBox) VBoxTester.AddButton (myBox) myWindow.ShowAll () Application.Run () End Sub Shared Sub AddButton (ByVal box As VBox) box.PackStart (New Button ("Button"), True, False, 0) End Sub End Class Constructor 2.12.0.0 VBox Constructor. Instantiates a object using default values for the spacing and homogeneous attributes. Constructor 2.12.0.0 System.Obsolete a Protected constructor. Chain to this constructor from subclasses when you manually register a for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 If , all widgets in the box are forced to be equally sized. The number of pixels to place between each widget in the box. The main way to create a new VBox Property 2.12.0.0 GLib.GType GType property. a Returns the native GObject type for . gtk-sharp-2.12.40/doc/en/Gtk/Printer.xml0000664000175000017500000004273712767740535014601 00000000000000 gtk-sharp 2.12.0.0 GLib.Object To be added. To be added. Constructor 2.12.0.0 System.Obsolete To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("accepts-pdf") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("accepts-ps") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("backend") Gtk.PrintBackend To be added. To be added. To be added. Property 2.12.0.0 Gtk.PrintCapabilities To be added. To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("details-acquired") Gtk.DetailsAcquiredHandler To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("icon-name") System.String To be added. To be added. To be added. Property 2.12.0.0 System.Boolean To be added. To be added. To be added. Property 2.12.0.0 System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("is-virtual") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("job-count") System.Int32 To be added. To be added. To be added. Method 2.12.0.0 Gtk.PageSetup[] To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("location") System.String To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("name") System.String To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDetailsAcquired", Type=typeof(Gtk.Printer)) System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Property 2.12.0.0 GLib.Property("state-message") System.String To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/DragLeaveHandler.xml0000664000175000017500000000305612767740535016275 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DragLeaveHandler instance to the event. The methods referenced by the DragLeaveHandler instance are invoked whenever the event is raised, until the DragLeaveHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/ActionActivatedArgs.xml0000664000175000017500000000601212767740535017017 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Int32 The index of the action that was triggered. a See and for more context about the index property. gtk-sharp-2.12.40/doc/en/Gtk/SelectCursorRowHandler.xml0000664000175000017500000000317012767740535017545 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SelectCursorRowHandler instance to the event. The methods referenced by the SelectCursorRowHandler instance are invoked whenever the event is raised, until the SelectCursorRowHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/StyleChangedArgs.xml0000664000175000017500000000451012767740535016330 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.ToolbarStyle The style that the toolbar was changed to use. A gtk-sharp-2.12.40/doc/en/Gtk/PrintJobCompleteFunc.xml0000664000175000017500000000232112767740535017173 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void A print job. Unused. Pointer to a native GError, or if no errors occur. Print job completion callback delegate. Invoked by when sending has completed. gtk-sharp-2.12.40/doc/en/Gtk/Table.xml0000664000175000017500000005415212767740535014177 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Container Pack widgets in grid/table patterns. The Table widget allows a programmer to arrange widgets in rows and columns, making it easy to align many widgets adjacent to each other, horizontally and vertically. Tables are created with a specific size - the number of rows and columns. This can be changed dynamically with the method. Widgets are packed into the table with methods. The layout of a table can be altered by setting the spacing between rows and columns. This is done with the and properties, respectively. The spacing of individual cells can be adjusted with and . The following shows how to create a table with three widgets: public Widget MakeTableTester() { // Create a table with 2 rows and 1 column Table tableLayout = new Table(2, 1, false); Label longLabel = new Label("This is a label that spans at least two Entry widgets"); // Attach the label over the entire first row tableLayout.Attach(longLabel, 0, 2, 0, 1); // Attach an entry to each cell in the second row tableLayout.Attach(new Entry(), 0, 1, 1, 2); tableLayout.Attach(new Entry(), 1, 2, 1, 2); tableLayout.ShowAll(); return tableLayout; } Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 The number of rows in this table. The number of columns in this table. If homogeneous is TRUE, the table boxes (cells) are resized to the size of the largest widget in the table. If homogeneous is FALSE, the size of a table boxes is dictated by the tallest widget in its same row, and the widest widget in its column (i.e. all cells are the same). Creates a new Table widget. The size of the table can be altered after its creation using the method. Method 2.12.0.0 System.Void The widget to be attached to the table The column number to attach the left side of to. The column number to attach the right side of to. The row number to attach the top of to. The row number to attach the bottom of to. Packs a widget into the table with default packing options. To pack widgets into the table with more control over size and padding, use the alternative method. Method 2.12.0.0 System.Void The to add. The column number to attach the left side of to. The column number to attach the right side of to. The row number to attach the top of to. The row number to attach the bottom of to. The horizontal packing options for this . The vertical packing options for this . The number of pixels of padding to add to the left and right of . The number of pixels of padding to add to the top and bottom of . Packs a widget into the table. You can pack widgets into the Table using default packing and padding with the convenience method. Child widgets can span as many table cells as they wish, allowing the programmer to create complex grids of Widgets. Property 2.12.0.0 GLib.Property("column-spacing") System.UInt32 The number of pixels between columns if it isn't the default value. A . Property 2.12.0.0 System.UInt32 The default number of pixels between columns. A . Property 2.12.0.0 System.UInt32 Retrieve the spacing that gets placed between newly added rows by default. Spacing between rows that will be added, in pixels. Method 2.12.0.0 System.UInt32 A zero-indexed column number to retrieve spacing information from. The spacing currently set for a given column. The number of pixels of spacing assigned to the specified . Method 2.12.0.0 System.UInt32 A zero-indexed row number to retrieve spacing information from. The spacing currently set for a given row. The number of pixels of spacing assigned to the specified . Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("homogeneous") System.Boolean Manage whether all cells must be of equal size. if all cells are currently equally sized, otherwise. Property 2.12.0.0 Gtk.Container+ContainerChild To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("n-columns") System.UInt32 Manage the number of columns in this Table. The number of columns this table currently has. Property 2.12.0.0 GLib.Property("n-rows") System.UInt32 Manage the number of rows in this Table. The number of rows this table currently has. Method 2.12.0.0 System.Void The new number of rows this table should allow. The new number of columns this table should allow. Resizes the table so that the specified number of and are available for widget packing. Property 2.12.0.0 GLib.Property("row-spacing") System.UInt32 The space between table rows. . Method 2.12.0.0 System.Void A zero-indexed column number to adjust the spacing of. The number of pixels on each side of the . Sets the spacing around a specified column. To adjust the spacing between all columns, use the property. Method 2.12.0.0 System.Void A zero-indexed row number to adjust the spacing of. The number of pixels on each side of the . Sets the spacing around a specified row. To adjust the spacing between all rows, use the property. gtk-sharp-2.12.40/doc/en/Gtk/IconInfo.xml0000664000175000017500000003411512767740535014651 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque Contains information found when looking up an icon in an icon theme. Constructor 2.12.0.0 a Internal constructor Property 2.12.0.0 System.Int32 Gets the base size for the icon. a , the base size, or 0, if no base size is known for the icon. The base size is a size for the icon that was specified by the icon theme creator. This may be different than the actual size of image; an example of this is small emblem icons that can be attached to a larger icon. These icons will be given the same base size as the larger icons to which they are attached. Property 2.12.0.0 Gdk.Pixbuf Gets the built-in image for this icon, if any. a , the built-in image pixbuf, or . To allow Gtk to use built in icon images, you must pass the to . Method 2.12.0.0 Gtk.IconInfo Make a copy of a . a Property 2.12.0.0 System.String Gets the display name for an icon. a , the display name for the icon or , if the icon does not have a specified display name. A display name is a string to be used in place of the icon name in a user visible context like a list of icons. Property 2.12.0.0 System.String Gets the filename for the icon. a , the filename for the icon, or If the flag was passed to , there may be no filename if a builtin icon is returned; in this case, you should use . Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Obsolete("Gtk.IconInfo is now freed automatically") System.Void Free a and associated information Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Boolean a a Fetches the set of attach points for an icon. a , if there are any attach points for the icon. An attach point is a location in the icon that can be used as anchor points for attaching emblems or overlays to the icon. Method 2.12.0.0 System.Boolean a in which to store embedded rectangle coordinates; coordinates are only stored when this function returns . Gets the coordinates of a rectangle within the icon that can be used for display of information such as a preview of the contents of a text file. a , if the icon has an embedded rectangle See for further information about the coordinate system. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 Gdk.Pixbuf Renders an icon previously looked up in an icon theme using a , the rendered icon The size will be based on the size passed to . Note that the resulting pixbuf may not be exactly this size; an icon theme may have icons that differ slightly from their nominal sizes, and in addition Gtk will avoid scaling icons that it considers sufficiently close to the requested size or for which the source image would have to be scaled up too far. (This maintains sharpness.) Property 2.12.0.0 System.Boolean Sets whether the coordinates returned by and should be returned in their original form as specified in the icon theme, instead of scaled appropriately for the pixbuf returned by . a Raw coordinates are somewhat strange; they are specified to be with respect to the unscaled pixmap for PNG and XPM icons, but for SVG icons, they are in a 1000x1000 coordinate space that is scaled to the final size of the icon. You can determine if the icon is an SVG icon by using , and seeing if it is non- and ends in '.svg'. This function is provided primarily to allow compatibility wrappers for older API's, and is not expected to be useful for applications. gtk-sharp-2.12.40/doc/en/Gtk/ExposeEventArgs.xml0000664000175000017500000000446712767740535016236 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.EventExpose The event that caused the widget to be exposed. A gtk-sharp-2.12.40/doc/en/Gtk/Init.xml0000664000175000017500000000666112767740535014055 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object An object that gets invoked at the beginning of an application but before the application main loop starts. It's used largely for application setup--- for example, reading RC files. Constructor 2.12.0.0 Default constructor Method 2.12.0.0 System.Void a Registers a function to be called when the mainloop is started. Method 2.12.0.0 System.Boolean The command line arguments passed in. Changed if any arguments were handled. Initializes Gtk# for operation, probes window system. True if the toolkit initialized correctly, false otherwise. Aside from the arguments, this function behaves in the same way as . By returning whether or not the toolkit initialized correctly, it allows the application to fall back to a non-GUI interface, should the developer be so inclined to write one. gtk-sharp-2.12.40/doc/en/Gtk/TreeDragDestAdapter.xml0000664000175000017500000002102712767740535016761 00000000000000 gtk-sharp 2.12.0.0 GLib.GInterfaceAdapter GLib.IWrapper Gtk.TreeDragDest TreeDragDest interface adapter. Adapts a implementation to expose the complete interface API. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Gtk.TreeDragDest To be added. To be added. To be added. To be added. Method 2.12.0.0 Gtk.TreeDragDest To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. Property 2.12.0.0 Gtk.TreeDragDestImplementor To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/MovementStep.xml0000664000175000017500000001624712767740535015601 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.MovementStepGType)) An enumeration used by to decide how the cursor will move. Field 2.12.0.0 Gtk.MovementStep The cursor will move to the end of the buffer. Field 2.12.0.0 Gtk.MovementStep The cursor will move up/down lines (wrapped lines). Field 2.12.0.0 Gtk.MovementStep The cursor will move up/down lines (wrapped lines). Field 2.12.0.0 Gtk.MovementStep The cursor will move horizontally by pages. Field 2.12.0.0 Gtk.MovementStep The cursor will move by forward/back graphemes. Field 2.12.0.0 Gtk.MovementStep The cursor will move by pages. Field 2.12.0.0 Gtk.MovementStep The cursor will move to either end of a paragraph. Field 2.12.0.0 Gtk.MovementStep The cursor will move up/down paragraphs (newline-ended lines). Field 2.12.0.0 Gtk.MovementStep The cursor will move by left/right graphemes. Field 2.12.0.0 Gtk.MovementStep The cursor will move by forward/back words. gtk-sharp-2.12.40/doc/en/Gtk/InsertionColorChangedArgs.xml0000664000175000017500000000462412767740535020207 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 3.16.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 3.16.0.0 Gdk.Color The color under the insertion point after the change. The new color, a gtk-sharp-2.12.40/doc/en/Gtk/Layout.xml0000664000175000017500000004320212767740535014417 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Container Infinite scrollable area containing child widgets and/or custom drawing is similar to in that it is a "blank slate" and does not do anything but paint a blank background by default. It is different in that it supports scrolling natively (you can add it to a ), and it can contain child widgets, since it is a . However, if you are just going to draw, a is a better choice, since it has lower overhead. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 an object of type an object of type Creates a new object. Property 2.12.0.0 Gdk.Window The window object for this layout widget. a Method 2.12.0.0 System.Obsolete System.Void Deprecated. Do not use. Method 2.12.0.0 System.Void an object of type an object of type Gets the size of the scrollbar area for the . Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("hadjustment") Gtk.Adjustment The for the horizontal position. an object of type Property 2.12.0.0 GLib.Property("height") System.UInt32 The height of the layout. an object of type Property 2.12.0.0 Gtk.Container+ContainerChild To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void an object of type an object of type an object of type Moves a current child of to a new position. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideScrollAdjustmentsSet", Type=typeof(Gtk.Layout)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Void an object of type an object of type an object of type Adds to the , at position (, ). becomes the new parent container of . Event 2.12.0.0 GLib.Signal("set_scroll_adjustments") Gtk.ScrollAdjustmentsSetHandler Raised whenever the scroll adjustment units are set for this widget. Method 2.12.0.0 System.Void an object of type an object of type Sets the size of the scrollable area for the . Method 2.12.0.0 System.Obsolete System.Void Deprecated. Do not use. Property 2.12.0.0 GLib.Property("vadjustment") Gtk.Adjustment The for the vertical position. an object of type Property 2.12.0.0 GLib.Property("width") System.UInt32 The width of the layout. an object of type gtk-sharp-2.12.40/doc/en/Gtk/IconSource.xml0000664000175000017500000004565412767740535015230 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque A GtkIconSource contains a (or image filename) that serves as the base image for one or more of the icons in a , along with a specification for which icons in the icon set will be based on that pixbuf or image file. An icon set contains a set of icons that represent the same logical concept in different states, different global text directions, and different sizes. A contains a (or image filename) that serves as the base image for one or more of the icons in a , along with a specification for which icons in the icon set will be based on that pixbuf or image file. An icon set contains a set of icons that represent the same logical concept in different states, different global text directions, and different sizes. So for example a web browser's "Back to Previous Page" icon might point in a different direction in Hebrew and in English; it might look different when insensitive; and it might change size depending on toolbar mode (small/large icons). So a single icon set would contain all those variants of the icon. contains a list of from which it can derive specific icon variants in the set. In the simplest case, contains one source pixbuf from which it derives all variants. The constructor handles this case; if you only have one source pixbuf, just use that function. If you want to use a different base pixbuf for different icon variants, you create multiple icon sources, mark which variants they'll be used to create, and add them to the icon set with . By default, the icon source has all parameters wildcarded. That is, the icon source will be used as the base icon for any desired text direction, widget state, or icon size. Constructor 2.12.0.0 Creates a new . Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 Gtk.IconSource Creates a copy of the current ; mostly useful for language bindings. a new GtkIconSource that is a copy of the current one Property 2.12.0.0 Gtk.TextDirection The text direction this icon source applies to. Obtains the text direction this icon source applies to. The return value is only useful/meaningful if the text direction is not wildcarded. Setting the text direction on an icon source makes no difference if the text direction is wildcarded. Therefore, you should usually set the property to un-wildcard it in addition to calling this function. Property 2.12.0.0 System.Boolean If the text direction is wildcarded, this source can be used as the base image for an icon in any . Whether the text direction is wildcarded or not If the text direction is wildcarded, this source can be used as the base image for an icon in any . If the text direction is not wildcarded, then the text direction the icon source applies to should be set with , and the icon source will only be used with that text direction. prefers non-wildcarded sources (exact matches) over wildcarded sources, and will use an exact match when possible. Property 2.12.0.0 System.String Retrieves the source filename, or if none is set. Retrieves the source filename, or if none is set. The filename is not a copy, and should not be modified or expected to persist beyond the lifetime of the icon source. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Obsolete("Gtk.IconSource is now freed automatically") System.Void Frees a dynamically-allocated icon source, along with its filename, size, and pixbuf fields. Method 2.12.0.0 System.Void To be added. To be added. To be added. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.String The name of an icon to look up in the current icon theme to use as a base image when creating icon variants for #GtkIconSet a Property 2.12.0.0 Gdk.Pixbuf The base image used when creating icon variants of a the source pixbuf, or if none is set. If an icon source has both a filename and a pixbuf set, the pixbuf will take priority. Property 2.12.0.0 Gtk.IconSize The icon size this icon source is intended to be used with. Obtains the icon size this source applies to. The return value is only useful/meaningful if the icon size is not wildcarded. Setting the icon size on an icon source makes no difference if the size is wildcarded. Therefore, you should usually set the property to un-wildcard it in addition to calling this function. Property 2.12.0.0 System.Boolean If the icon size is wildcarded, this source can be used as the base image for an icon of any size. If the size is not wildcarded, then the size the source applies to should be set with and the icon source will only be used with that specific size. Whether the size is wildcarded or not If the icon size is wildcarded, this source can be used as the base image for an icon of any size. If the size is not wildcarded, then the size the source applies to should be set with and the icon source will only be used with that specific size. prefers non-wildcarded sources (exact matches) over wildcarded sources, and will use an exact match when possible. will normally scale wildcarded source images to produce an appropriate icon at a given size, but will not change the size of source images that match exactly. Property 2.12.0.0 Gtk.StateType The widget state this icon source applies to. Obtains the widget state this icon source applies to. The return value is only useful/meaningful if the widget state is not wildcarded. Setting the widget state on an icon source makes no difference if the state is wildcarded. Therefore, you should usually set the propertyto un-wildcard it in addition to calling this function. Property 2.12.0.0 System.Boolean If the widget state is wildcarded, this source can be used as the base image for an icon in any . Whether or not the widget is wildcarded. If the widget state is wildcarded, this source can be used as the base image for an icon in any . If the widget state is not wildcarded, then the state the source applies to should be set with and the icon source will only be used with that specific state. prefers non-wildcarded sources (exact matches) over wildcarded sources, and will use an exact match when possible. will normally transform wildcarded source images to produce an appropriate icon for a given state, for example lightening an image on prelight, but will not modify source images that match exactly. gtk-sharp-2.12.40/doc/en/Gtk/ActivateCurrentArgs.xml0000664000175000017500000000451212767740535017063 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Boolean Whether to hide the current menu item or not. a gtk-sharp-2.12.40/doc/en/Gtk/UnmapEventArgs.xml0000664000175000017500000000453212767740535016044 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.Event The uses this method to access the details of an event. a gtk-sharp-2.12.40/doc/en/Gtk/LinkClickedArgs.xml0000664000175000017500000000440412767740535016134 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 3.16.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 3.16.0.0 System.String The URL the user clicked on. A gtk-sharp-2.12.40/doc/en/Gtk/LinkClickedHandler.xml0000664000175000017500000000310312767740535016610 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the LinkClickedHandler instance to the event. The methods referenced by the LinkClickedHandler instance are invoked whenever the event is raised, until the LinkClickedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/ButtonBox+ButtonBoxChild.xml0000664000175000017500000000614712767740535017761 00000000000000 gtk-sharp 2.12.0.0 Gtk.Box+BoxChild A child of a , used to interact with its container child properties. Constructor 2.12.0.0 To be added. To be added. To be added. To be added. Property 2.12.0.0 Gtk.ChildProperty("secondary") System.Boolean Whether or not the child should appear in a secondary group of children or . A secondary group appears after the other children if the style is , or , and before the the other children if the style is . For horizontal button boxes, the definition of before/after depends on direction of the widget (see ). If the style is or , then the secondary children are aligned at the other end of the button box from the main children. For the other styles, they appear immediately next to the main children. gtk-sharp-2.12.40/doc/en/Gtk/FocusTabArgs.xml0000664000175000017500000000441412767740535015467 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.NotebookTab The type of tab to focus on. A gtk-sharp-2.12.40/doc/en/Gtk/IconThemeError.xml0000664000175000017500000000527612767740535016040 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.IconThemeErrorGType)) Error codes for operations. Field 2.12.0.0 Gtk.IconThemeError An unspecified error occurred. Field 2.12.0.0 Gtk.IconThemeError The icon specified does not exist in the theme gtk-sharp-2.12.40/doc/en/Gtk/FileFilterFlags.xml0000664000175000017500000000766012767740535016154 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.FileFilterFlagsGType)) System.Flags This object represents a bitfield of flags that list the needed fields when calling . Field 2.12.0.0 Gtk.FileFilterFlags The filename to display. Field 2.12.0.0 Gtk.FileFilterFlags The filename. Field 2.12.0.0 Gtk.FileFilterFlags The MIME type of the file. Field 2.12.0.0 Gtk.FileFilterFlags A URI. gtk-sharp-2.12.40/doc/en/Gtk/DeleteEventHandler.xml0000664000175000017500000000310612767740535016643 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DeleteEventHandler instance to the event. The methods referenced by the DeleteEventHandler instance are invoked whenever the event is raised, until the DeleteEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/HTMLPrintCalcHeight.xml0000664000175000017500000000214112767740535016634 00000000000000 gtkhtml-sharp 3.16.0.0 System.Delegate System.Int32 To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/RowInsertedHandler.xml0000664000175000017500000000377512767740535016720 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the RowInsertedHandler instance to the event. The methods referenced by the RowInsertedHandler instance are invoked whenever the event is raised, until the RowInsertedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/RemovedArgs.xml0000664000175000017500000000440612767740535015363 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.Widget The widget that was removed from this container. A gtk-sharp-2.12.40/doc/en/Gtk/SubmenuDirection.xml0000664000175000017500000000513412767740535016423 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.SubmenuDirectionGType)) Enumeration for direction of submenus. Field 2.12.0.0 Gtk.SubmenuDirection Left direction. Field 2.12.0.0 Gtk.SubmenuDirection Right direction. gtk-sharp-2.12.40/doc/en/Gtk/TreeViewGridLines.xml0000664000175000017500000000553012767740535016477 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.TreeViewGridLinesGType)) TreeView Grid Lines enumeration. Field 2.12.0.0 Gtk.TreeViewGridLines Vertical and Horizontal grid lines. Field 2.12.0.0 Gtk.TreeViewGridLines Horizontal grid lines. Field 2.12.0.0 Gtk.TreeViewGridLines No grid lines. Field 2.12.0.0 Gtk.TreeViewGridLines Vertical grid lines. gtk-sharp-2.12.40/doc/en/Gtk/DragLeaveArgs.xml0000664000175000017500000000553612767740535015621 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.DragContext The context of this drag. a Property 2.12.0.0 System.UInt32 The time of the event. A gtk-sharp-2.12.40/doc/en/Gtk/VScale.xml0000664000175000017500000001347712767740535014332 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Scale A vertical slider widget for selecting a value from a range. The VScale widget allows the user to select a value with a vertical slider. This widget and its model is manipulated using methods and properties in its super classes, and . Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 The model to use for this VScale Creates a new vertical slider based on the data in . To create a vertical slider without explicit use of a , use the alternative constructor. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 The minimum value that is accepted by this VScale. The maximum value that is accepted by this VScale. The value to adjust the VScale by when 'sliding'. Creates a new vertical slider without the need for an object. Creates a new vertical slider that lets the user input a number between (and including) and . Each adjustment of the slider changes the value by , which must be non-zero. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gtk/ListStore.xml0000664000175000017500000030617412767740535015104 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Gtk.TreeDragDest Gtk.TreeDragSource Gtk.TreeModel Gtk.TreeSortable System.Collections.IEnumerable The ListStore is a columned list data structure to be used with widget. Iteration: In new versions of Gtk# (2.0 and up) this class implements the interface, so code can be written like this: void DumpColumnValues (ListStore store, int col) { foreach (object[] row in store) Console.WriteLine ("Value of column {0} is {1}", col, row [col]); } Constructor 2.12.0.0 Protected constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 System.ParamArray a Default constructor. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 System.ParamArray a Creates a new store. The columns' type specified by the argument. ListStore ls = new ListStore (typeof (string), typeof (int), typeof (double)); ... The above example creates a new three columns list store. The types of the columns are , , and . Method 2.12.0.0 Gtk.TreeIter Appends a new row to the ListStore. a that points to the new row. The row will be empty before this function is called. To set the value of the new row, use . Method 2.12.0.0 Gtk.TreeIter a with as many elements as the ListStore has columns. Appends a new row to the ListStore and puts the contents of in it. a pointing to the new row Method 2.12.0.0 Gtk.TreeIter System.ParamArray a list , one item for each column of a row. Appends a new row to the ListStore and puts the objects in in it. a pointing to the new row Method 2.12.0.0 System.Void Emits a event. Method 2.12.0.0 System.Void Removes all data from the store. Property 2.12.0.0 GLib.GType[] The types in each column of a ListStore. a This property is meant primarily for classes that inherit from , and should only be used when constructing a new . It will not function after a row has been added or after a method on the interface has been called. Property 2.12.0.0 Gtk.TreeIterCompareFunc The function that will be used by default to sort columns. a Method 2.12.0.0 System.Boolean A , the path of the data to delete. When this ListStore is the data source for a drag operation and the drag operation is a move, this method runs to delete the data after the data has been received by the target widget. A , true if the operation succeeds. Method 2.12.0.0 System.Boolean a A Method used when this ListStore is part of a source widget for a drag-and-drop operation; gets the data that was dragged from the associated widget. A , true if the operation succeeded. Method 2.12.0.0 System.Boolean A , the destination path of the drag A , the data that was dragged Drags data received into this object. A boolean, true if the data was successfully received. Method 2.12.0.0 System.Void a a Fires a event. Call this after changing a row so that the view widget for this ListStore will update. Method 2.12.0.0 System.Void a to pass to the event. Fires a event. Method 2.12.0.0 System.Void a to pass to the event a to pass to the event Emits a event. This is meant to be called whenever the child state of a node changes. This is mandated by the , but it shouldn't get used much for ListStores because they don't generally have child nodes. Method 2.12.0.0 System.Void a to pass to the event. a see cref="T:Gtk.TreeIter" /> to pass to the event. Fires a event. Method System.Int32 Fires a event. a , pointer to the row whose children have been reordered a , pointer to the row whose children have been reordered a This is part of the implementation of . It should be called by other class methods that reorder rows so that the proper events are raised. (FIXME: since lists don't have parents/children, how does this get used in practice? There should be an example here.) Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 Gtk.TreeModelFlags The flags for this ListStore. A Flags are about the shape of this object's data; see the class documentation for more details. Method 2.12.0.0 System.Void A to run over every row. Runs a method on every row of a ListStore. Method 2.12.0.0 GLib.GType a , the column to check Gets the type of data stored in column number . a Method 2.12.0.0 System.Collections.IEnumerator Returns a for the current instance. The enumerated items are object arrays containing the column values for each row. A enumerating items of type []. If the elements of the current instance are modified while an enumeration is in progress, a call to or throws . Method 2.12.0.0 System.Boolean a to set to point to the row. a Gets an iterator object for the given . A , true if the row exists Method 2.12.0.0 System.Boolean A to reset Initializes with the first iterator in the ListStore (the top item). A , true if the operation is successful, false if the ListStore is empty. Method 2.12.0.0 System.Boolean a to be set by this method A path string Marshals a path string into a object that points to a row in this tree. A , true if this string is a valid path for this ListStore. Method 2.12.0.0 Gtk.TreePath a Turns a specified by into a . a Method 2.12.0.0 System.Boolean a , gets filled with the column number that's currently used for sorting a , the current type of sort (ascending or descending) Report on which column is currently being used to sort this ListStore. a , false if the default sort column for this ListStore is being used, true if some other sort column is being used. Method 2.12.0.0 System.String a Marshals the given into a path string. a Method 2.12.0.0 System.Void an object of type a , pointer to the va_list data structure of arguments (FIXME: clarify what va_lists look like) Gets the values of child properties for the row pointed to by . Method 2.12.0.0 System.Object a , the row to look in a , the column number to look in Gets the data from row of column . a Method 2.12.0.0 System.Void a a a Gets the value of row of column and puts it in . Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.Boolean Find out whether this ListStore has a default sort function. a , true if there is a default sort function. To set a default sort function, use the property. Method 2.12.0.0 Gtk.TreeIter a Inserts a new row at position . a pointing to the new row. If is larger than the number of rows on the list, then the new row will be appended to the list. The row will be empty before this function is called. To set the value of the new row, use . Method 2.12.0.0 Gtk.TreeIter a , the row to insert before Inserts a new row after . If is null, then the row will be appended to the end of the list. a that points to the new row The row will be empty before this function is called. To set the value of the new row, use . Method 2.12.0.0 Gtk.TreeIter a , the row to insert before Inserts a new row before . If is null, then the row will be appended to the end of the list. a that points to the new row The row will be empty before this function is called. To set the value of the new row, use . Method 2.12.0.0 Gtk.TreeIter System.ParamArray Insert position. An array of column values to set. Inserts a row into the store at a given position with column values. An iter pointing to the inserted row. The values provided should be in column order. Method 2.12.0.0 System.Obsolete System.Int32 a a a a To be added a To be added Method 2.12.0.0 System.Boolean an object of type Sets to point to the first child of . an object of type , , if has been set to the first child. If has no children, is returned and is set to be invalid. will remain a valid node after this function has been called. If is returns the first node, equivalent to gtk_tree_model_get_iter_first (tree_model, iter); Method 2.12.0.0 System.Boolean , an object that will be set to point to the first child. a , the parent row. A , true if has children. In general, this will return false, as ListStore isn't tree-shaped. However, if is , will return the list itself, since they're all children of the root. Method 2.12.0.0 System.Boolean a Tests whether a given row has a child node. A , always false for ListStores. This is mandated by Method 2.12.0.0 System.Boolean a Test whether is valid for this ListStore. a , true if is valid. WARNING: this method is slow and is only intended for debugging/testing purposes. Method 2.12.0.0 System.Int32 Returns the number of children that the toplevel node has. Is used to retrieve the number of rows in the . an object of type , the number of children of . As a special case, if is , then the number of toplevel nodes is returned. Method 2.12.0.0 System.Int32 a Returns the number of children that has. If is null, as in the case of all ListStore objects, this will return the number of top-level items. a FIXME: Why does ListStore.custom call gtk_tree_model_iter_n_children? Method 2.12.0.0 System.Boolean a Advances to the next row. a for whether the operation succeeded. Method 2.12.0.0 System.Boolean a a Sets to be the child of this ListStore, using the given index. The first index is 0. If is too big, or this ListStore has no rows, is set to an invalid iterator and false is returned. For ListStore objects, the th root node is set, since they don't have a tree-like structure. a , true if has an th child. This is a custom binding for Gtk# which assumes that the current object is the parent. An alternate invocation form that parallels the C API is available. Method 2.12.0.0 System.Boolean a To be added. a Sets to be the child of , using the given index. The first index is 0. If is too big, or has no children, is set to an invalid iterator and false is returned. will remain a valid node after this function has been called. As a special case, if is , then the th root node is set. a , true if has an th child. This invocation form is closer to the underlying C API, but it's probably less useful for most C# purposes. Method 2.12.0.0 System.Boolean a to set to point to the row. a , the child row whose parent we want to get Gets the parent row of . A , true if the parent exists. Since ListStore objects aren't tree-shaped, this will always return false. Method 2.12.0.0 System.Void a a Move the row pointed to by to the position after . If is , will be moved to point to the start of the list. This only works in unsorted stores. Method 2.12.0.0 System.Void a a Move the row pointed to by to the position before . If is , will be moved to point to the end of the list. This only works in unsorted stores. Property 2.12.0.0 System.Int32 The number of columns in this ListStore. A Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowChanged", Type=typeof(Gtk.ListStore)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowDeleted", Type=typeof(Gtk.ListStore)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowHasChildToggled", Type=typeof(Gtk.ListStore)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowInserted", Type=typeof(Gtk.ListStore)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowsReordered", Type=typeof(Gtk.ListStore)) System.Obsolete("Replaced by int[] new_order overload.") System.Void a a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowsReordered", Type=typeof(Gtk.ListStore)) System.Void Path to the reordered parent node. Iter corresponding to the reordered parent node. An array of the old indices. Default handler for the RowsReordered event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSortColumnChanged", Type=typeof(Gtk.ListStore)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 Gtk.TreeIter Adds a new row to the beginning of the list. a pointing to the new row. The row will be empty before this function is called. To set the value of the new row, use . Method 2.12.0.0 System.Void a Lets the ListStore reference the row pointed to by . This function is primarily meant as a way for views to let caching model know when nodes are being displayed (and hence, whether or not to cache that node.) For example, a file-system based model would not want to keep the entire file-hierarchy in memory, just the sections that are currently being displayed by every current view. A model should be expected to be able to get an iter independent of its reffed state. Method 2.12.0.0 System.Boolean a Removes a row from the store. a After being removed, is set to be the next valid row, or invalidated if it pointed to the last row in the store. Method 2.12.0.0 System.Obsolete("Replaced by Reorder (int[]) overload") System.Int32 Reorders the ListStore. a . (FIXME: Does this binding work?) Method 2.12.0.0 System.Void To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("row_changed") Gtk.RowChangedHandler Raised when a row has changed. Event 2.12.0.0 GLib.Signal("row_deleted") Gtk.RowDeletedHandler Raised when a row is deleted. Method 2.12.0.0 System.Boolean a Returns whether or not a given row can be dragged. A boolean, true if the row is draggable. Method 2.12.0.0 System.Boolean A A Returns true if the row at can have dropped on it. A boolean. Event 2.12.0.0 GLib.Signal("row_has_child_toggled") Gtk.RowHasChildToggledHandler Raised when the display of a given row's children is toggled. Event 2.12.0.0 GLib.Signal("row_inserted") Gtk.RowInsertedHandler Raised when a row of data is inserted. Event 2.12.0.0 GLib.Signal("rows_reordered") Gtk.RowsReorderedHandler Raised when the order of rows has changed. Method 2.12.0.0 System.Obsolete("Replaced by ColumnTypes property.") System.Void a Deprecated method to set what types go in each column of a ListStore. See Method 2.12.0.0 System.Obsolete("Replaced by DefaultSortFunc property.") System.Void A ignored ignored Set the function that will be used by default to sort columns. This method is obsolete. The property is preferred for new code. Method 2.12.0.0 System.Void A , the column number to sort by. A Sets the column number to sort by. Method 2.12.0.0 System.Void A for the column number. A Sets a sort function to be used for the column . Method 2.12.0.0 System.Obsolete("Replaced by SetSortFunc (int, TreeIterCompareFunc) overload.") System.Void A for the column number. A ignored ignored Sets a sort function to be used for the column . This overload is obsolete. The two parameter overload is preferred for new code. Method 2.12.0.0 System.Void an object of type a , pointer to the va_list data structure of arguments (FIXME: clarify what va_lists look like) Sets the values of child properties for the row pointed to by . Method 2.12.0.0 System.Void a a , the column number a Sets the value of the specified column in the row pointed by . The type of specified column must be a . Method 2.12.0.0 System.Void a a a Sets the value of the specified column in the row pointed by iter. The type of specified column must be a . Method 2.12.0.0 System.Void a a a Sets the value of the specified column in the row pointed by iter. The type of specified column must be a . Method 2.12.0.0 System.Void a a a Sets the value of the specified column in the row pointed by iter. The type of specified column must be an . Method 2.12.0.0 System.Void a a a Sets the value of the specified column in the row pointed by iter. The type of specified column must be an . Method 2.12.0.0 System.Void a a a Sets the value of the specified column in the row pointed by iter. The type of specified column must be an Method 2.12.0.0 System.Void a a a Sets the value of the specified column in the row pointed by iter. The type of specified column must be a . Method 2.12.0.0 System.Void a a a Sets the value of the specified column in the row pointed by iter. The type of specified column must be an . Method 2.12.0.0 System.Void System.ParamArray Update position. An array of column values to set. Sets the column values for a given row. The values provided must be in column order. Event 2.12.0.0 GLib.Signal("sort_column_changed") System.EventHandler Raised when the sorting column has changed. Method 2.12.0.0 System.Void a a Swaps rows a and b in the store. This is only works in unsorted stores. Method 2.12.0.0 System.Void a Lets the ListStore unref the row at . This is an optional method for models to implement. To be more specific, models may ignore this call as it exists primarily for performance reasons. For more information on what this means, see . Please note that nodes that are deleted are not unreffed. gtk-sharp-2.12.40/doc/en/Gtk/TreeIter.xml0000664000175000017500000002070312767740535014666 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType The is the primary structure for accessing a tree row. Models are expected to put a unique integer in the field, and put model-specific data in the three fields. Method 2.12.0.0 System.Obsolete("This is a no-op") Gtk.TreeIter Copy the TreeIter by value. the copy of the Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 Gtk.TreeIter an object of type , a pointer to the underlying C object. Creates a new object. an object of type This is usually called indirectly by other methods. Not for use by application developers. Method 2.12.0.0 Gtk.TreeIter To be added. To be added. To be added. To be added. Method 2.12.0.0 GLib.Value To be added. To be added. To be added. To be added. Field 2.12.0.0 System.Int32 A unique stamp to catch invalid iterators. Property 2.12.0.0 System.IntPtr UserData property. Pointer value representing iter contents. Useful to implementors to set and retrieve content values for the iterator. Not generally useful for users. Field 2.12.0.0 Gtk.TreeIter Makes a new TreeIter with empty/default values. gtk-sharp-2.12.40/doc/en/Gtk/InsertAtCursorArgs.xml0000664000175000017500000000511212767740535016704 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The following events invoke delegates which pass event data via this class: Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.String The text that was inserted. A gtk-sharp-2.12.40/doc/en/Gtk/RetrieveSurroundingArgs.xml0000664000175000017500000000340712767740535020007 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.40/doc/en/Gtk/PageHorizontallyHandler.xml0000664000175000017500000000320412767740535017731 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PageHorizontallyHandler instance to the event. The methods referenced by the PageHorizontallyHandler instance are invoked whenever the event is raised, until the PageHorizontallyHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/ValueChangedHandler.xml0000664000175000017500000000165212767740535016771 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/PrintOperationPreview.xml0000664000175000017500000000763512767740535017473 00000000000000 gtk-sharp 2.12.0.0 GLib.IWrapper To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Event 2.12.0.0 Gtk.GotPageSizeHandler To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Event 2.12.0.0 Gtk.ReadyHandler To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/Builder.xml0000664000175000017500000001505012767740535014530 00000000000000 gtk-sharp 2.12.0.0 GLib.Object To be added. To be added. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Method 2.12.0.0 System.UInt32 To be added. To be added. To be added. To be added. Method 2.12.0.0 System.UInt32 To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Method 2.12.0.0 GLib.Object To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 GLib.Object[] To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("translation-domain") System.String To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/HTMLParagraphAlignment.xml0000664000175000017500000000526212767740535017377 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum Enumeration for representing the possible alignment of paragraphs. Field 3.16.0.0 Gtk.HTMLParagraphAlignment Aligned so that every line is centered. Field 3.16.0.0 Gtk.HTMLParagraphAlignment Aligned with a straight left margin. Field 3.16.0.0 Gtk.HTMLParagraphAlignment Aligned with a straight right margin. gtk-sharp-2.12.40/doc/en/Gtk/CellRendererCombo.xml0000664000175000017500000003132512767740535016473 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.CellRendererText Renders a combobox in a cell renders text in a cell like from which it is derived. But while offers a simple entry to edit the text, offers a or widget to edit the text. The values to display in the combo box are taken from the tree model specified in the model property. The combo cell renderer takes care of adding a text cell renderer to the combo box and sets it to display the column specified by its text-column property. Further cell renderers can be added in a handler for the editing-started signal. Constructor 2.12.0.0 Default constructor Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 a Internal constructor This is not typically used by C# code. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("has-entry") System.Boolean Whether to use an entry. a If , the cell renderer will include an entry and allow to enter values other than the ones in the popup list. Property 2.12.0.0 GLib.Property("model") Gtk.TreeModel Holds a tree model containing the possible values for the combo box. a Use the property to specify the column holding the values. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Gtk.CellEditable To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("text-column") System.Int32 Specifies the model column which holds the possible values for the combo box. a this refers to the model specified in the model property, not the model backing the tree view to which this cell renderer is attached. automatically adds a text cell renderer for this column to its combo box. gtk-sharp-2.12.40/doc/en/Gtk/IconFactory.xml0000664000175000017500000003052612767740535015367 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object An icon factory manages a collection of Constructor 2.12.0.0 Creates a new . Creates a new . An icon factory manages a collection of s; a manages a set of variants of a particular icon (i.e. a GtkIconSet contains variants for different sizes and widget states). Icons in an icon factory are named by a stock ID, which is a simple string identifying the icon. Each has a list of GtkIconFactorys derived from the current theme; those icon factories are consulted first when searching for an icon. If the theme doesn't set a particular icon, GTK+ looks for the icon in a list of default icon factories, maintained by and . Applications with icons should add a default icon factory with their icons, which will allow themes to override the icons for the application. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Void The icon's name The icon set Adds the given to the icon factory, under the name . Adds the given to the icon factory, under the name . should be namespaced for your application, e.g. "myapp-name-of-icon". Normally applications create a , then add it to the list of default factories with . They pass the to widgets such as to display the icon. Themes can provide an icon with the same name (such as "myapp-name-of-icon") to override your application's default icons. If an icon already existed in factory for , it is unreferenced and replaced with the new . Method 2.12.0.0 System.Void Adds an icon factory to the list of icon factories searched by . Adds an icon factory to the list of icon factories searched by . This means that, for example, will be able to find icons in factory. There will normally be an icon factory added for each library or application that comes with icons. The default icon factories can be overridden by themes. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 Gtk.IconSet an icon name Looks up a Stock ID in the icon factory. a , or . Looks up in the icon factory, returning an icon set if found, otherwise . For display to the user, you should use on the for the widget that will display the icon, instead of using this function directly, so that themes are taken into account. Method 2.12.0.0 Gtk.IconSet an icon name Looks for an icon in the list of default icon factories. a , or . Looks for an icon in the list of default icon factories. For display to the user, you should use on the for the widget that will display the icon, instead of using this function directly, so that themes are taken into account. Method 2.12.0.0 System.Void an icon size an integer to store the icon's width an integer to store the icon's height Obtains the pixel size of a semantic icon size Method 2.12.0.0 System.Void Removes an icon factory from the list of default icon factories. Removes an icon factory from the list of default icon factories. Not normally used; you might use it for a library that can be unloaded or shut down. gtk-sharp-2.12.40/doc/en/Gtk/ScreenChangedHandler.xml0000664000175000017500000000317012767740535017131 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ScreenChangedHandler instance to the event. The methods referenced by the ScreenChangedHandler instance are invoked whenever the event is raised, until the ScreenChangedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/BeginPrintArgs.xml0000664000175000017500000000411412767740535016017 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.PrintContext The Print context for the current operation. a instance. gtk-sharp-2.12.40/doc/en/Gtk/HTMLCommandType.xml0000664000175000017500000030372512767740535016060 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum Enumeration of commands that knows how to respond to. Field 3.16.0.0 Gtk.HTMLCommandType Center-aligns text. Field 3.16.0.0 Gtk.HTMLCommandType Left-aligns text. Field 3.16.0.0 Gtk.HTMLCommandType Right-aligns text. Field 3.16.0.0 Gtk.HTMLCommandType Stops the widget from redrawing. Field 3.16.0.0 Gtk.HTMLCommandType To be added. Field 3.16.0.0 Gtk.HTMLCommandType Make text non-bold. Field 3.16.0.0 Gtk.HTMLCommandType Make text bold. Field 3.16.0.0 Gtk.HTMLCommandType Toggle the bold style for a character or region. Field 3.16.0.0 Gtk.HTMLCommandType Adds a new linebreak and re-flows text appropriately. Field 3.16.0.0 Gtk.HTMLCommandType Capitalize the current word. Field 3.16.0.0 Gtk.HTMLCommandType Decrease the COLSPAN attribute of a cell. Field 3.16.0.0 Gtk.HTMLCommandType Increase the COLSPAN value of a table cell. Field 3.16.0.0 Gtk.HTMLCommandType Decrease the ROWSPAN attribute of a cell. Field 3.16.0.0 Gtk.HTMLCommandType Increase the ROWSPAN value of a table cell. Field 3.16.0.0 Gtk.HTMLCommandType Copy the current selection. Field 3.16.0.0 Gtk.HTMLCommandType Copy the current selection and make further selection impossible. Field 3.16.0.0 Gtk.HTMLCommandType Move the cursor backward. Field 3.16.0.0 Gtk.HTMLCommandType Move the cursor to the beginning of the document. Field 3.16.0.0 Gtk.HTMLCommandType Move the cursor to the end of the document. Field 3.16.0.0 Gtk.HTMLCommandType Move the cursor forward. Field 3.16.0.0 Gtk.HTMLCommandType Restores a cursor position that was saved to the cursor position stack. Field 3.16.0.0 Gtk.HTMLCommandType Save the cursor's current position to the cursor position stack. Field 3.16.0.0 Gtk.HTMLCommandType Cut the current selection. Field 3.16.0.0 Gtk.HTMLCommandType Cut the current line to the clipboard. Field 3.16.0.0 Gtk.HTMLCommandType Delete text. Field 3.16.0.0 Gtk.HTMLCommandType Delete the character before the cursor. Field 3.16.0.0 Gtk.HTMLCommandType Delete the character before the cursor or remove an indent level. Field 3.16.0.0 Gtk.HTMLCommandType Delete an entire table. Field 3.16.0.0 Gtk.HTMLCommandType Clear the contents of a table cell. Field 3.16.0.0 Gtk.HTMLCommandType Delete a column from a table. Field 3.16.0.0 Gtk.HTMLCommandType Delete a row from a table. Field 3.16.0.0 Gtk.HTMLCommandType Disable selections. Field 3.16.0.0 Gtk.HTMLCommandType Turns this word into all-lower-case. Field 3.16.0.0 Gtk.HTMLCommandType To be added. Field 3.16.0.0 Gtk.HTMLCommandType To be added. Field 3.16.0.0 Gtk.HTMLCommandType Move focus backward one widget. Field 3.16.0.0 Gtk.HTMLCommandType Move focus forward one widget. Field 3.16.0.0 Gtk.HTMLCommandType Grab the keyboard focus. Field 3.16.0.0 Gtk.HTMLCommandType De-indents text. Field 3.16.0.0 Gtk.HTMLCommandType Indents text one level. Field 3.16.0.0 Gtk.HTMLCommandType Indents text one level or moves it to the next cell in a table. Field 3.16.0.0 Gtk.HTMLCommandType Indents an entire paragraph. Field 3.16.0.0 Gtk.HTMLCommandType Clears indent values on text. Field 3.16.0.0 Gtk.HTMLCommandType Insert parameters for an image. Field 3.16.0.0 Gtk.HTMLCommandType Insert a new paragraph at the cursor location. Field 3.16.0.0 Gtk.HTMLCommandType Insert a rule line. Field 3.16.0.0 Gtk.HTMLCommandType Insert parameters for a rule line. Field 3.16.0.0 Gtk.HTMLCommandType Insert a tab character. Field 3.16.0.0 Gtk.HTMLCommandType Insert a table with empty text, one row, and one column. Field 3.16.0.0 Gtk.HTMLCommandType Add a new tab or increase the current indent level. Field 3.16.0.0 Gtk.HTMLCommandType Insert a new tab or go to the next table in a cell. Field 3.16.0.0 Gtk.HTMLCommandType Whether this data has been saved since the last change. Field 3.16.0.0 Gtk.HTMLCommandType To be added. Field 3.16.0.0 Gtk.HTMLCommandType Make text non-italic. Field 3.16.0.0 Gtk.HTMLCommandType Make text italic. Field 3.16.0.0 Gtk.HTMLCommandType Toggle the italic attribute for a character or block of text. Field 3.16.0.0 Gtk.HTMLCommandType Deletes a word. Field 3.16.0.0 Gtk.HTMLCommandType Deletes the word before the cursor. Field 3.16.0.0 Gtk.HTMLCommandType Create a new link. Field 3.16.0.0 Gtk.HTMLCommandType Extend the selection to the beginning of the document. Field 3.16.0.0 Gtk.HTMLCommandType Extends the current selection to the beginning of the line. Field 3.16.0.0 Gtk.HTMLCommandType Extends the current selection down. Field 3.16.0.0 Gtk.HTMLCommandType Extend the selection to the end of the document. Field 3.16.0.0 Gtk.HTMLCommandType Extends the current selection to the end of the line. Field 3.16.0.0 Gtk.HTMLCommandType Extends the current selection to the left. Field 3.16.0.0 Gtk.HTMLCommandType Extend the selection to include the next word. Field 3.16.0.0 Gtk.HTMLCommandType Extends the current selection by one page downwards. Field 3.16.0.0 Gtk.HTMLCommandType Extends the current selection by one page upwards. Field 3.16.0.0 Gtk.HTMLCommandType Extend the selection to include the previous word. Field 3.16.0.0 Gtk.HTMLCommandType Extends the current selection to the right. Field 3.16.0.0 Gtk.HTMLCommandType Extends the current selection up. Field 3.16.0.0 Gtk.HTMLCommandType Sets this paragraph to be an HTML <address> element. Field 3.16.0.0 Gtk.HTMLCommandType Sets this paragraph to be an HTML H1 element. Field 3.16.0.0 Gtk.HTMLCommandType Sets this paragraph to be an HTML H2 element. Field 3.16.0.0 Gtk.HTMLCommandType Sets this paragraph to be an HTML H3 element. Field 3.16.0.0 Gtk.HTMLCommandType Sets this paragraph to be an HTML H4 element. Field 3.16.0.0 Gtk.HTMLCommandType Sets this paragraph to be an HTML H5 element. Field 3.16.0.0 Gtk.HTMLCommandType Sets this paragraph to be an HTML H6 element. Field 3.16.0.0 Gtk.HTMLCommandType Sets this paragraph to be part of a sequentially-alphabetically-numbered list ("a. Item one; b. Item two; c. Item three.") Field 3.16.0.0 Gtk.HTMLCommandType Sets this paragraph to be part of a sequentially-numbered list. Field 3.16.0.0 Gtk.HTMLCommandType Sets this paragraph to be an HTML <LI> item. Field 3.16.0.0 Gtk.HTMLCommandType Sets this paragraph to be part of a sequentially-Roman-numeral-numbered list. Field 3.16.0.0 Gtk.HTMLCommandType Sets the style of this paragraph to normal. Field 3.16.0.0 Gtk.HTMLCommandType Sets this paragraph to be preformatted (i.e. fixed-width with carriage returns being significant). Field 3.16.0.0 Gtk.HTMLCommandType Paste the current clipboard contents. Field 3.16.0.0 Gtk.HTMLCommandType Popup the context menu. Field 3.16.0.0 Gtk.HTMLCommandType Goes to the previous cell in a table. Field 3.16.0.0 Gtk.HTMLCommandType Pop up the properties dialog. Field 3.16.0.0 Gtk.HTMLCommandType Redo the last un-done command. Field 3.16.0.0 Gtk.HTMLCommandType Remove an existing link. Field 3.16.0.0 Gtk.HTMLCommandType Whether this data has been saved since the last change. Field 3.16.0.0 Gtk.HTMLCommandType Turn data-saving off. Field 3.16.0.0 Gtk.HTMLCommandType Turn data-saving on. Field 3.16.0.0 Gtk.HTMLCommandType To be added. Field 3.16.0.0 Gtk.HTMLCommandType Go to the beginning of the document. Field 3.16.0.0 Gtk.HTMLCommandType Go to the end of the document. Field 3.16.0.0 Gtk.HTMLCommandType To be added. Field 3.16.0.0 Gtk.HTMLCommandType Search the widget for a given term. Field 3.16.0.0 Gtk.HTMLCommandType Incremental search backward. Field 3.16.0.0 Gtk.HTMLCommandType Incremental search forward. Field 3.16.0.0 Gtk.HTMLCommandType Search the text using a regular expression. Field 3.16.0.0 Gtk.HTMLCommandType Select all of this document. Field 3.16.0.0 Gtk.HTMLCommandType Go into selection mode. Field 3.16.0.0 Gtk.HTMLCommandType Select the current line. Field 3.16.0.0 Gtk.HTMLCommandType Select the current paragraph. Field 3.16.0.0 Gtk.HTMLCommandType Select a paragraph or more. Field 3.16.0.0 Gtk.HTMLCommandType Select the current word. Field 3.16.0.0 Gtk.HTMLCommandType Makes text one size smaller. Field 3.16.0.0 Gtk.HTMLCommandType Makes text one size larger. Field 3.16.0.0 Gtk.HTMLCommandType Sets text to the second-smallest size. Field 3.16.0.0 Gtk.HTMLCommandType Sets text to the smallest size. Field 3.16.0.0 Gtk.HTMLCommandType Sets text to normal size. Field 3.16.0.0 Gtk.HTMLCommandType Sets text to a medium-large size. Field 3.16.0.0 Gtk.HTMLCommandType Sets text to a large size. Field 3.16.0.0 Gtk.HTMLCommandType Sets text to a very large size. Field 3.16.0.0 Gtk.HTMLCommandType Sets text to the largest possible size. Field 3.16.0.0 Gtk.HTMLCommandType Adds a new space and re-flows text appropriately. Field 3.16.0.0 Gtk.HTMLCommandType Add this word to the user's personal spellchecker dictionary. Field 3.16.0.0 Gtk.HTMLCommandType Add this word to the spellchecker dictionary for this session, so that it doesn't show up as misspelled. Field 3.16.0.0 Gtk.HTMLCommandType Suggest a spelling for the current (misspelled) word. Field 3.16.0.0 Gtk.HTMLCommandType Remove strikeouts from text. Field 3.16.0.0 Gtk.HTMLCommandType Strike out text. Field 3.16.0.0 Gtk.HTMLCommandType Toggle the strikeout attribute on a character or block of text. Field 3.16.0.0 Gtk.HTMLCommandType Make the borders of this table narrower. Field 3.16.0.0 Gtk.HTMLCommandType Make the borders of this table wider. Field 3.16.0.0 Gtk.HTMLCommandType Make the borders of this table zero. Field 3.16.0.0 Gtk.HTMLCommandType Narrow/decrease the COLSPAN attribute for a table cell. Field 3.16.0.0 Gtk.HTMLCommandType Decrease the ROWSPAN attribute for a table cell. Field 3.16.0.0 Gtk.HTMLCommandType Widen/increase the COLSPAN attribute for a table cell. Field 3.16.0.0 Gtk.HTMLCommandType Increase the ROWSPAN attribute for a table cell. Field 3.16.0.0 Gtk.HTMLCommandType Join this table cell with one below it. Field 3.16.0.0 Gtk.HTMLCommandType Join this table cell with one to its left. Field 3.16.0.0 Gtk.HTMLCommandType Join this table cell with one to its right. Field 3.16.0.0 Gtk.HTMLCommandType Join this table cell with one above it. Field 3.16.0.0 Gtk.HTMLCommandType Delete a table column. Field 3.16.0.0 Gtk.HTMLCommandType Delete a row from the current table. Field 3.16.0.0 Gtk.HTMLCommandType Insert a table column after the current one. Field 3.16.0.0 Gtk.HTMLCommandType Insert a table column before the current one. Field 3.16.0.0 Gtk.HTMLCommandType Insert a table row after the current one. Field 3.16.0.0 Gtk.HTMLCommandType Insert a table row before the current one. Field 3.16.0.0 Gtk.HTMLCommandType Decrease the padding between table cells. Field 3.16.0.0 Gtk.HTMLCommandType Increase the padding between table cells. Field 3.16.0.0 Gtk.HTMLCommandType Set the padding between table cells to zero. Field 3.16.0.0 Gtk.HTMLCommandType Decrease the spacing between table cells. Field 3.16.0.0 Gtk.HTMLCommandType Increase the spacing between table cells. Field 3.16.0.0 Gtk.HTMLCommandType Make the spacing between table cells zero. Field 3.16.0.0 Gtk.HTMLCommandType Apply a certain color to a text selection. Field 3.16.0.0 Gtk.HTMLCommandType Set the default color of text. Field 3.16.0.0 Gtk.HTMLCommandType Allows the widget to redraw. Field 3.16.0.0 Gtk.HTMLCommandType To be added. Field 3.16.0.0 Gtk.HTMLCommandType Make text non-underlined. Field 3.16.0.0 Gtk.HTMLCommandType Make text underlined. Field 3.16.0.0 Gtk.HTMLCommandType Toggle the underline attribute on a character or block of text. Field 3.16.0.0 Gtk.HTMLCommandType Undo the last command Field 3.16.0.0 Gtk.HTMLCommandType Turns this word into all-upper-case. Field 3.16.0.0 Gtk.HTMLCommandType Magnify the text. Field 3.16.0.0 Gtk.HTMLCommandType Make the text display size smaller. Field 3.16.0.0 Gtk.HTMLCommandType Reset the zoom level to normal size text. gtk-sharp-2.12.40/doc/en/Gtk/SubmitHandler.xml0000664000175000017500000000300712767740535015702 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SubmitHandler instance to the event. The methods referenced by the SubmitHandler instance are invoked whenever the event is raised, until the SubmitHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/TreeViewSearchPositionFunc.xml0000664000175000017500000000230012767740535020355 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void The TreeView being searched. The Search Dialog to position. TreeView search position callback delegate. Attach this delegate using to provide a location for the search dialog displayed by a . gtk-sharp-2.12.40/doc/en/Gtk/LinkButton.xml0000664000175000017500000001311012767740535015226 00000000000000 gtk-sharp 2.12.0.0 Gtk.Button To be added. To be added. Constructor 2.12.0.0 System.Obsolete To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Method 2.12.0.0 Gtk.LinkButtonUriFunc To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("uri") System.String To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/TreeDragSource.xml0000664000175000017500000001067212767740535016025 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.IWrapper An interface to represent the rows of a tree when one of them is dragged to another location. Method 2.12.0.0 System.Boolean a to delete Asks the TreeDragSource to delete the row at path, because it was moved somewhere else via drag-and-drop. Returns FALSE if the deletion fails because path no longer exists, or for some model-specific reason. Should robustly handle a path no longer found in the model. A boolean for whether the deletion succeeded. Method 2.12.0.0 System.Boolean a a object to fill with data Asks the to fill in with a representation of the row at . Should robustly handle a path no longer found in the model. A boolean; true if data of the required type was provided. FIXME: the original doc says, "selection_data->target gives the required type of the data.", but there doesn't seem to be a parallel in Gtk#. Check this. Method 2.12.0.0 System.Boolean a Check whether the row at is draggable. If the source doesn't implement this method, the row is assumed to be draggable. A boolean, true if this row can be dragged. gtk-sharp-2.12.40/doc/en/Gtk/BeginPrintHandler.xml0000664000175000017500000000260012767740535016476 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the BeginPrintHandler instance to the event. The methods referenced by the BeginPrintHandler instance are invoked whenever the event is raised, until the BeginPrintHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/InputArgs.xml0000664000175000017500000000432112767740535015055 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Double The new value a gtk-sharp-2.12.40/doc/en/Gtk/NotebookTab.xml0000664000175000017500000000412612767740535015353 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.NotebookTabGType)) An enumeration of tabs that can be found in every . Field 2.12.0.0 Gtk.NotebookTab The first tab. Field 2.12.0.0 Gtk.NotebookTab The last tab. gtk-sharp-2.12.40/doc/en/Gtk/SelectAllArgs.xml0000664000175000017500000000325412767740535015632 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.40/doc/en/Gtk/PreActivateArgs.xml0000664000175000017500000000550512767740535016172 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.Action The action that's about to be activated. a gtk-sharp-2.12.40/doc/en/Gtk/TagRemovedHandler.xml0000664000175000017500000000355512767740535016504 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the TagRemovedHandler instance to the event. The methods referenced by the TagRemovedHandler instance are invoked whenever the event is raised, until the TagRemovedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/Key.xml0000664000175000017500000000634012767740535013674 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object An object for keys that are independent of keyboard focus--- global hotkeys, which execute functions. Constructor 2.12.0.0 Default constructor. Method 2.12.0.0 System.UInt32 a Install a snooper function. a , the snooper handler id. Code that uses this method should hold onto the return value, as it's necessary to disable the key. Method 2.12.0.0 System.Void a Remove a snooper with id gtk-sharp-2.12.40/doc/en/Gtk/IMContext.xml0000664000175000017500000006654312767740535015031 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object A base class for input method contexts. Constructor 2.12.0.0 Protected Constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 Gdk.Window Set the client window for the input context; this is the in which the input appears. a The client window is used in order to correctly position status windows. It may also be used for purposes internal to the input method. Event 2.12.0.0 GLib.Signal("commit") Gtk.CommitHandler Commit text event. The event is emitted when the input method has processed all the keystrokes for an individual text element, including pre-edit keystrokes. The resulting text is located in Property 2.12.0.0 Gdk.Rectangle Notify the input method that a change in cursor position has been made. a The location is relative to the client window. Method 2.12.0.0 System.Boolean a a Asks the widget that the input context is attached to to delete characters around the cursor position by emitting the signal. a , if the signal was handled. Note that and are in characters not in bytes, which differs from the usage other places in . In order to use this function, you should first call to get the current context, and call this function immediately afterwards to make sure that you know what you are deleting. You should also account for the fact that even if the signal was handled, the input context might not have deleted all the characters that were requested to be deleted. This function is used by an input method that wants to make subsitutions in the existing text in response to new input. It is not useful for applications. Method 2.12.0.0 System.Boolean a representing a key press. Allow an input method to handle a . if the keypress was handled. If the method returns , no further processing should be done for . Method 2.12.0.0 System.Void Notify the input method that the widget to which this input context corresponds has gained focus. The input method may, for example, change the displayed feedback to reflect this change. Method 2.12.0.0 System.Void Notify the input method that the widget to which this input context corresponds has lost focus. The input method may, for example, change the displayed feedback or reset the contexts state to reflect this change. Method 2.12.0.0 System.Void a , a location to store , the retrieved string. a , location to store the retrieved attribute list. To be added. Retrieve the current preedit string for the input context and a list of attributes to apply to the string. This string should be displayed inserted at the insertion point. Method 2.12.0.0 System.Boolean a a Gets the context around the insertion point. a Input methods typically want context in order to constrain input text based on existing text; this is important for languages such as Thai where only some sequences of characters are allowed. This function is implemented by emitting the event on the input method; in response to this signal, a widget should provide as much context as is available, up to an entire paragraph, by calling . Note that there is no obligation for a widget to respond to the signal, so input methods must be prepared to function without context. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCommit", Type=typeof(Gtk.IMContext)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePreeditChanged", Type=typeof(Gtk.IMContext)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePreeditEnd", Type=typeof(Gtk.IMContext)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePreeditStart", Type=typeof(Gtk.IMContext)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRetrieveSurrounding", Type=typeof(Gtk.IMContext)) System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSurroundingDeleted", Type=typeof(Gtk.IMContext)) System.Boolean a a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Event 2.12.0.0 GLib.Signal("preedit_changed") System.EventHandler Event raised when the preedit string is changed. Event 2.12.0.0 GLib.Signal("preedit_end") System.EventHandler Event raised when pre-editing is completed. Event 2.12.0.0 GLib.Signal("preedit_start") System.EventHandler Event raised when pre-editing is started. Method 2.12.0.0 System.Void Resets the state of the input method. Call this method if, for example, a change in cursor position has occurred. The reset clears any existing pre-edit state. Event 2.12.0.0 GLib.Signal("retrieve_surrounding") Gtk.RetrieveSurroundingHandler Event raised when the input method requires the context surrounding the cursor. Method 2.12.0.0 System.Void a a Sets surrounding context around the insertion point and preedit string. This function is expected to be called in response to the event, and it will likely have no effect if called at other times. Event 2.12.0.0 GLib.Signal("delete_surrounding") Gtk.SurroundingDeletedHandler Event raised when the input method needs to delete the context text. Property 2.12.0.0 System.Boolean Whether the IM context should use the preedit string to display feedback. a If is (default is ), then the IM context may use some other method to display feedback, such as displaying it in a child of the root window. gtk-sharp-2.12.40/doc/en/Gtk/ScrollHandler.xml0000664000175000017500000000300712767740535015675 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ScrollHandler instance to the event. The methods referenced by the ScrollHandler instance are invoked whenever the event is raised, until the ScrollHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/ToolbarStyle.xml0000664000175000017500000000766012767740535015575 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.ToolbarStyleGType)) An enumeration used by Toolbar This enumeration is used by to customize it's appearance. Note that setting the toolbar overrides the user's preferences for the default toolbar style. Field 2.12.0.0 Gtk.ToolbarStyle Buttons display text and icons in the toolbar. Buttons display text and icons in the toolbar. Field 2.12.0.0 Gtk.ToolbarStyle Buttons display icons and text alongside each other, rather than vertically stacked. Buttons display icons and text alongside each other, rather than vertically stacked. Field 2.12.0.0 Gtk.ToolbarStyle Buttons display only icons in the toolbar. Buttons display only icons in the toolbar. Field 2.12.0.0 Gtk.ToolbarStyle Buttons display only text labels in the toolbar. Buttons display only text labels in the toolbar. gtk-sharp-2.12.40/doc/en/Gtk/KeyPressEventArgs.xml0000664000175000017500000000445512767740535016535 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.EventKey The keypress event that happened. a gtk-sharp-2.12.40/doc/en/Gtk/IconViewDropPosition.xml0000664000175000017500000000773112767740535017246 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.IconViewDropPositionGType)) IconView Drop locations. Field 2.12.0.0 Gtk.IconViewDropPosition Drops above the item. Field 2.12.0.0 Gtk.IconViewDropPosition Drops below the item. Field 2.12.0.0 Gtk.IconViewDropPosition Drops into the item. Field 2.12.0.0 Gtk.IconViewDropPosition Drop to the left of the item. Field 2.12.0.0 Gtk.IconViewDropPosition Drops to the right of the item. Field 2.12.0.0 Gtk.IconViewDropPosition No drops allowed. gtk-sharp-2.12.40/doc/en/Gtk/AccelGroupActivate.xml0000664000175000017500000000274212767740535016653 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Boolean To be added. To be added. To be added. To be added. A delegate to activate all the accelerators in a given . To be added. gtk-sharp-2.12.40/doc/en/Gtk/MoveCurrentArgs.xml0000664000175000017500000000454612767740535016240 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.MenuDirectionType The direction the menu cursor moved for this event. A gtk-sharp-2.12.40/doc/en/Gtk/MarkDeletedArgs.xml0000664000175000017500000000442712767740535016146 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.TextMark The mark that was deleted. A gtk-sharp-2.12.40/doc/en/Gtk/MoveSelectedArgs.xml0000664000175000017500000000332412767740535016337 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs To be added. To be added. Constructor 2.12.0.0 To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/NoExposeEventHandler.xml0000664000175000017500000000313612767740535017204 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the NoExposeEventHandler instance to the event. The methods referenced by the NoExposeEventHandler instance are invoked whenever the event is raised, until the NoExposeEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/CallbackMarshal.xml0000664000175000017500000000256712767740535016157 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added. To be added. Delegate for specifying a function signature for marshalling callbacks. FIXME: provide an example here gtk-sharp-2.12.40/doc/en/Gtk/CheckButton.xml0000664000175000017500000001522712767740535015361 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.ToggleButton A places a discrete next to a widget. A places a discrete next to a widget, usually a . See for more information about toggle/check buttons. using System; using Gtk; class CheckButtonSample { CheckButton cb; static void Main () { new CheckButtonSample (); } CheckButtonSample () { Application.Init (); Window win = new Window ("CheckButtonSample"); win.DeleteEvent += new DeleteEventHandler (OnWinDelete); VBox vbox = new VBox (true, 1); win.Add (vbox); cb = new CheckButton ("Checked"); cb.Toggled += new EventHandler (OnCheckToggled); vbox.Add (cb); win.ShowAll (); Application.Run (); } void OnCheckToggled (object obj, EventArgs args) { if (cb.Label == "Checked") { cb.Label = "Unchecked"; } else { cb.Label = "Checked"; } } void OnWinDelete (object obj, DeleteEventArgs args) { Application.Quit (); } } Constructor 2.12.0.0 Constructor Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 A string for the . Constructor Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 Gtk.CheckButton The label displayed to the right of the . Creates a new object with a label to the right of it. The newly created . Creates a new object with a to the right of it gtk-sharp-2.12.40/doc/en/Gtk/RecentFilterInfo.xml0000664000175000017500000001317712767740535016354 00000000000000 gtk-sharp 2.12.0.0 System.ValueType To be added. To be added. Field 2.12.0.0 System.Int32 To be added. To be added. Field 2.12.0.0 System.String To be added. To be added. Field 2.12.0.0 Gtk.RecentFilterFlags To be added. To be added. Field 2.12.0.0 System.String To be added. To be added. Field 2.12.0.0 System.String To be added. To be added. Field 2.12.0.0 System.String To be added. To be added. Method 2.12.0.0 Gtk.RecentFilterInfo To be added. To be added. To be added. To be added. Field 2.12.0.0 System.String To be added. To be added. Field 2.12.0.0 Gtk.RecentFilterInfo To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/TextView.xml0000664000175000017500000024457212767740535014736 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Container Widget that displays a using System; using Gtk; class TextViewSample { static void Main () { new TextViewSample (); } TextViewSample () { Application.Init (); Window win = new Window ("TextViewSample"); win.DeleteEvent += new DeleteEventHandler (OnWinDelete); win.SetDefaultSize (600,400); Gtk.TextView view; Gtk.TextBuffer buffer; view = new Gtk.TextView (); buffer = view.Buffer; buffer.Text = "Hello, this is some text"; win.Add (view); win.ShowAll (); Application.Run (); } void OnWinDelete (object obj, DeleteEventArgs args) { Application.Quit (); } } Now you might put the view in a container and display it on the screen; when the user edits the text, events on the buffer will be emitted, such as , , and so on. Constructor 2.12.0.0 Creates a new TextView If you don't set the before using the text view, an empty default buffer will be created for you. If you want to specify your own buffer, use . Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 the buffer to be displayed Creates a new TextView displaying a specified buffer. Creates a new widget displaying the buffer. One buffer can be shared among many widgets. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.Property("accepts-tab") System.Boolean Whether Tab will result in a tab character being entered. a Defaults to true. Method 2.12.0.0 System.Void any a in the current Adds a child widget in the text buffer, at the given anchor Method 2.12.0.0 System.Void a a a a Adds a child at fixed coordinates in one of the text widget's windows. The window must have non-zero size (see ). Note that the child coordinates are given relative to the in question, and that these coordinates have no sane relationship to scrolling. When placing a child in GTK_TEXT_WINDOW_WIDGET, scrolling is irrelevant, the child floats above all scrollable areas. But when placing a child in one of the scrollable windows (border windows or text window), you will need to compute the child's correct position in buffer coordinates any time scrolling occurs or buffer changes occur, and then call to update the child's position. Unfortunately there is no good way to detect that scrolling has occurred, using the current API; a possible hack would be to update all child positions when the scroll adjustments change or the text buffer changes. See bug 64518 on bugzilla.gnome.org for status of fixing this issue. Event 2.12.0.0 GLib.Signal("backspace") System.EventHandler To be added To be added Method 2.12.0.0 System.Boolean the given Moves the given iter backward by one display (wrapped) line if was moved and is not on the end iterator Moves the given iter backward by one display (wrapped) line. A display line is different from a paragraph. Paragraphs are separated by newlines or other paragraph separator characters. Display lines are created by line-wrapping a paragraph. If wrapping is turned off, display lines and paragraphs will be the same. Display lines are divided differently for each view, since they depend on the view's width; paragraphs are the same in all views, since they depend on the contents of the . Method 2.12.0.0 System.Boolean the given Moves the given backward to the next display line start if was moved and is not on the end iterator A display line is different from a paragraph. Paragraphs are separated by newlines or other paragraph separator characters. Display lines are created by line-wrapping a paragraph. If wrapping is turned off, display lines and paragraphs will be the same. Display lines are divided differently for each view, since they depend on the view's width; paragraphs are the same in all views, since they depend on the contents of the . Property 2.12.0.0 GLib.Property("buffer") Gtk.TextBuffer The displayed by the text view the current buffer that is displayed Method 2.12.0.0 System.Void a , except for x coordinate of the buffer y coordinate of the buffer return location for the window's x coordinate return location for the window's y coordinate Converts specified buffer coordinates to coordinates for window Note that you can't convert coordinates for a nonexisting window (see . Event 2.12.0.0 GLib.Signal("copy_clipboard") System.EventHandler Raised when text is copied to the clipboard. Property 2.12.0.0 GLib.Property("cursor-visible") System.Boolean Whether the insertion point is displayed whether the insertion point is visible Defaults to true. Event 2.12.0.0 GLib.Signal("cut_clipboard") System.EventHandler Raised whenever a selection is cut to the clipboard. Property 2.12.0.0 Gtk.TextAttributes The default text attributes a s Obtains a copy of the default text attributes. These are the attributes used for text unless a tag overrides them. You'd typically pass the default attributes in to in order to get the attributes in effect at a given text position. The return valuea is a copy owned by the caller of this function, and should be freed. Event 2.12.0.0 GLib.Signal("delete_from_cursor") Gtk.DeleteFromCursorHandler Raised when text is deleted from the cursor (usually by hitting Backspace or Delete). Property 2.12.0.0 GLib.Property("editable") System.Boolean Whether the text can be modified by the user Whether or not the text can be edited by the user. Defaults to true. Method 2.12.0.0 System.Boolean the given Moves the given forward by one display (wrapped) line if was moved and is not on the end iterator A display line is different from a paragraph. Paragraphs are separated by newlines or other paragraph separator characters. Display lines are created by line-wrapping a paragraph. If wrapping is turned off, display lines and paragraphs will be the same. Display lines are divided differently for each view, since they depend on the view's width; paragraphs are the same in all views, since they depend on the contents of the . Method 2.12.0.0 System.Boolean a Moves forward to the next display line end if was moved and is not on the end iterator Moves the given iter forward to the next display line end. A display line is different from a paragraph. Paragraphs are separated by newlines or other paragraph separator characters. Display lines are created by line-wrapping a paragraph. If wrapping is turned off, display lines and paragraphs will be the same. Display lines are divided differently for each view, since they depend on the view's width; paragraphs are the same in all views, since they depend on the contents of the . Method 2.12.0.0 System.Int32 a window to return size from Gets the width of the specified border window. the width of the window Method 2.12.0.0 Gtk.TextIter x position, in buffer coordinates y position, in buffer coordinates Retrieves the iterator at buffer coordinates and . a Buffer coordinates are coordinates for the entire buffer, not just the currently-displayed portion. If you have coordinates from an event, you have to convert those to buffer coordinates with . Method 2.12.0.0 System.Int32 a a a To be added a To be added Method 2.12.0.0 Gdk.Rectangle a Gets a rectangle which roughly contains the character at iter. a , which is the bounds of the character at The rectangle position is in buffer coordinates; use to convert these coordinates to coordinates for one of the windows in the text view. Method 2.12.0.0 System.Void a a y coordinate return location for top coordinate of the line This method should be fixed Gets the at the start of the line containing the coordinate . is in buffer coordinates, convert from window coordinates with . If non-, will be filled with the coordinate of the top edge of the line. Method 2.12.0.0 System.Void the given return location for the y coordinate return location for the height Gets the y coordinate of the top of the line containing , and the height of the line Gets the y coordinate of the top of the line containing iter, and the height of the line. The coordinate is a buffer coordinate; convert to window coordinates with . Method 2.12.0.0 Gdk.Window window to get Retrieves the corresponding to an area of the text view a , or Retrieves the corresponding to an area of the text view; possible windows include the overall widget window, child windows on the left, right, top, bottom, and the window that displays the text buffer. Windows are and nonexistent if their width or height is 0, and are nonexistent before the widget has been realized. Method 2.12.0.0 Gtk.TextWindowType a window type Used for finding out which window an event corresponds to the window type Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("indent") System.Int32 The default indentation for paragraphs The number of pixels of indentation. Tags in the may override the default. Event 2.12.0.0 GLib.Signal("insert_at_cursor") Gtk.InsertAtCursorHandler Raised whenever text is inserted at the cursor. Property 2.12.0.0 GLib.Property("justification") Gtk.Justification The default justification The default justification of paragraphs Tags in the may override the defaults. Property 2.12.0.0 GLib.Property("left-margin") System.Int32 The default left margin The left margin. Method 2.12.0.0 System.Void child widget already added to the text view new X position in window coordinates new Y position in window coordinates Updates the position of a child Event 2.12.0.0 GLib.Signal("move_cursor") Gtk.MoveCursorHandler Raised whenever the cursor is moved. Event 2.12.0.0 GLib.Signal("move_focus") System.Obsolete("Replaced by keybinding signal on Gtk.Widget") Gtk.MoveFocusHandler Raised when the keyboard focus changes. Method 2.12.0.0 System.Boolean a Moves within the buffer so that it's located within the currently-visible text area if the mark moved (wasn't already onscreen) Method 2.12.0.0 System.Boolean the given the number of characters to move (negative moves left, positive moves right) Move the iterator a given number of characters visually, treating it as the strong cursor position if iter moved and is not on the end iterator Move the iterator a given number of characters visually, treating it as the strong cursor position. If count is positive, then the new strong cursor position will be count positions to the right of the old cursor position. If count is negative then the new strong cursor position will be count positions to the left of the old cursor position. In the presence of bidirection text, the correspondence between logical and visual order will depend on the direction of the current run, and there may be jumps when the cursor is moved off of the end of a run. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideBackspace", Type=typeof(Gtk.TextView)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCopyClipboard", Type=typeof(Gtk.TextView)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCutClipboard", Type=typeof(Gtk.TextView)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDeleteFromCursor", Type=typeof(Gtk.TextView)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideInsertAtCursor", Type=typeof(Gtk.TextView)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideMoveCursor", Type=typeof(Gtk.TextView)) System.Void a a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideMoveFocus", Type=typeof(Gtk.TextView)) System.Obsolete("Replaced by keybinding signal on Gtk.Widget") System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePageHorizontally", Type=typeof(Gtk.TextView)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePasteClipboard", Type=typeof(Gtk.TextView)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePopulatePopup", Type=typeof(Gtk.TextView)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideScrollAdjustmentsSet", Type=typeof(Gtk.TextView)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSetAnchor", Type=typeof(Gtk.TextView)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideToggleOverwrite", Type=typeof(Gtk.TextView)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 2.12.0.0 GLib.Property("overwrite") System.Boolean Whether entered text overwrites existing contents. a Defaults to false. Event 2.12.0.0 GLib.Signal("page_horizontally") Gtk.PageHorizontallyHandler Raised when the user scrolls horizontally in this widget. Event 2.12.0.0 GLib.Signal("paste_clipboard") System.EventHandler Raised whenever text is pasted from the clipboard. Property 2.12.0.0 GLib.Property("pixels-above-lines") System.Int32 The default number of blank pixels above paragraphs the number of pixels above paragraphs Tags in the may override the defaults. Property 2.12.0.0 GLib.Property("pixels-below-lines") System.Int32 The default number of pixels of blank space to put below paragraphs the blank space below paragraphs in pixels Tags in the may override this default. Property 2.12.0.0 GLib.Property("pixels-inside-wrap") System.Int32 The default number of pixels of blank space to leave between display/wrapped lines within a paragraph default number of pixels of blank space between wrapped lines Tags in the may override this default. Method 2.12.0.0 System.Boolean Moves the cursor to the currently visible region of the buffer if it isn't there already. if the cursor had to be moved Event 2.12.0.0 GLib.Signal("populate_popup") Gtk.PopulatePopupHandler Raised when the popup dialog on this object needs to be filled with data. Property 2.12.0.0 GLib.Property("right-margin") System.Int32 The default right margin the right margin Event 2.12.0.0 GLib.Signal("set_scroll_adjustments") Gtk.ScrollAdjustmentsSetHandler Raised whenever the adjustment values for the scrollbars are set. Method 2.12.0.0 System.Void a mark in the current Scrolls the text view the minimum distance such that is contained within the visible area of the widget Method 2.12.0.0 System.Boolean the given margin of screen size, the valid range is 0.0 to 0.5 whether to use alignment arguments (if , just get the mark onscreen) horizontal alignment of mark within visible area vertical alignment of mark within visible area Scrolls the text view so that is on the screen in the position indicated by and if scrolling occurred Scrolls the text view so that is on the screen in the position indicated by and . An alignment of 0.0 indicates left or top, 1.0 indicates right or bottom, 0.5 means center. If is , the text scrolls the minimal distance to get the mark onscreen, possibly not scrolling at all. The effective screen for purposes of this function is reduced by a margin of size within_margin. NOTE: This function uses the currently-computed height of the lines in the text buffer. Note that line heights are computed in an idle handler; so this function may not have the desired effect if it's called before the height computations. To avoid oddness, consider using which saves a point to be scrolled to after line validation. Method 2.12.0.0 System.Void a given margin of screen size, the valid range is 0.0 to 0.5 whether to use alignment arguments (if , just get the mark onscreen) horizontal alignment of mark within visible area vertical alignment of mark within visible area Scrolls the view so that is on the screen in the position indicated by and An alignment of 0.0 indicates left or top, 1.0 indicates right or bottom, 0.5 means center. If is , the text scrolls the minimal distance to get the mark onscreen, possibly not scrolling at all. The effective screen for purposes of this function is reduced by a margin of size . Event 2.12.0.0 GLib.Signal("set_anchor") System.EventHandler Raised whenever an anchor (e.g. ) is set within the TextView. Method 2.12.0.0 System.Void the window to affect the width or height of the window Sets the width of or , or the height of or . Automatically destroys the corresponding window if the size is set to 0, and creates the window if the size is set to non-zero. This function can only be used for the "border windows," it doesn't work with , , or . Method 2.12.0.0 System.Boolean the given Determines whether iter is at the start of a display line if begins a wrapped line Determines whether iter is at the start of a display line. See for an explanation of display lines vs. paragraphs. Property 2.12.0.0 GLib.Property("tabs") Pango.TabArray Custom tabs for this text custom tabes for this text Event 2.12.0.0 GLib.Signal("toggle_overwrite") System.EventHandler Raised whenever the insert/overwrite flag is toggled. Property 2.12.0.0 Gdk.Rectangle Returns the currently-visible region of the buffer, in buffer coordinates. a You can convert to window coordinates with . Method 2.12.0.0 System.Void a except x coordinate of the window y coordinate of the window return location for the buffer's x coordinate return location for the buffer's y coordinate Converts coordinates on the window to buffer coordinates Note that you can't convert coordinates for a nonexisting window (see . Property 2.12.0.0 GLib.Property("wrap-mode") Gtk.WrapMode Whether to wrap lines never, at word boundaries, or at character boundaries. the of the text view gtk-sharp-2.12.40/doc/en/Gtk/Misc.xml0000664000175000017500000002731212767740535014041 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Widget A base class for widgets with alignments and padding. The GtkMisc widget is an abstract widget which is not useful itself, but is used to derive subclasses which have alignment and padding attributes. The horizontal and vertical padding attributes allows extra space to be added around the widget. The horizontal and vertical alignment attributes enable the widget to be positioned within its allocated area. Note that if the widget is added to a container in such a way that it expands automatically to fill its allocated area, the alignment settings will not alter the widgets position. Constructor 2.12.0.0 Protected constructor. Protected constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Void Location to store X alignment of misc, or . Location to store Y alignment of misc, or . Gets the X and Y alignment of the widget within its allocation. See . Method 2.12.0.0 System.Void Location to store padding in the X direction, or . Location to store padding in the Y direction, or . Gets the padding in the X and Y directions of the widget. See ). Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 System.Void The horizontal alignment, from 0 (left) to 1 (right). The vertical alignment, from 0 (top) to 1 (bottom). Sets the alignment of the widget. To be added. Method 2.12.0.0 System.Void The amount of space to add on the left and right of the widget, in pixels. The amount of space to add on the top and bottom of the widget, in pixels. Sets the amount of space to add around the widget. To be added. Property 2.12.0.0 GLib.Property("xalign") System.Single The horizontal alignment The horizontal alignment Property 2.12.0.0 GLib.Property("xpad") System.Int32 The amount of space to add on the top and bottom of the widget, in pixels. The amount of space to add on the top and bottom of the widget, in pixels. Property 2.12.0.0 GLib.Property("yalign") System.Single The vertical alignment The vertical alignment Property 2.12.0.0 GLib.Property("ypad") System.Int32 The amount of space to add on the left and right of the widget, in pixels. The amount of space to add on the left and right of the widget, in pixels. gtk-sharp-2.12.40/doc/en/Gtk/FileChooserButton.xml0000664000175000017500000014071612767740535016550 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.HBox Gtk.FileChooser A button to launch a file selection dialog The FileChooserButton is a widget that lets the user select a file. It implements the interface. Visually, it is a file name with a button to bring up a . The user can then use that dialog to change the file associated with that button. This widget does not support setting the "select-multiple" property to TRUE. The GtkFileChooserButton will ellipsize the label, and thus will thus request little horizontal space. To give the button more space, you should call , set , or pack the button in such a way that other interface elements give space to the widget. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 a . dialog must be a (or subclass) which implements the interface and must not have = . Creates a FileChooserButton which uses a specific widget as it's file-picking window. To be added Constructor 2.12.0.0 a Internal constructor This is not typically used by C# code. Constructor 2.12.0.0 a a Creates a FileChooserButton. To be added Constructor 2.12.0.0 a a a Creates a FileChooserButton with a specific backend. To be added Property 2.12.0.0 GLib.Property("action") Gtk.FileChooserAction To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("confirm-overwrite") Gtk.ConfirmOverwriteHandler Indicates a file overwrite has been requested. This event is raised when the user has selected a file name that already exists and the file chooser is in mode. Most applications just need to turn on the property and they will automatically get a stock confirmation dialog. Applications which need to customize this behavior should do that, and also connect to this event. A connected to this event must set to the value indicating the action to take. If the handler determines that the user wants to select a different filename, it should return . If it determines that the user is satisfied with his choice of file name, it should return . On the other hand, if it determines that the stock confirmation dialog should be used, it should return . Property 2.12.0.0 System.String To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("current-folder-changed") System.EventHandler To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("do-overwrite-confirmation") System.Boolean Enables Overwrite Confirmation in the dialog. if confirmation should be performed. Property 2.12.0.0 GLib.Property("extra-widget") Gtk.Widget To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("file-activated") System.EventHandler To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 System.String[] To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("file-set") System.EventHandler To be added. To be added. Property 2.12.0.0 GLib.Property("filter") Gtk.FileFilter To be added. To be added. To be added. Property 2.12.0.0 Gtk.FileFilter[] To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("focus-on-click") System.Boolean Controls if focus is grabbed on button clicks. defaults to . It can be useful to not take focus when embedded in toolbars for example, so that focus stays with the previous control. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("local-only") System.Boolean To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideConfirmOverwrite", Type=typeof(Gtk.FileChooserButton)) Gtk.FileChooserConfirmation Default handler for the event. To be added. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCurrentFolderChanged", Type=typeof(Gtk.FileChooserButton)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideFileActivated", Type=typeof(Gtk.FileChooserButton)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideFileSet", Type=typeof(Gtk.FileChooserButton)) System.Void To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionChanged", Type=typeof(Gtk.FileChooserButton)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideUpdatePreview", Type=typeof(Gtk.FileChooserButton)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("preview-widget") Gtk.Widget To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("preview-widget-active") System.Boolean To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("selection-changed") System.EventHandler To be added. To be added. Property 2.12.0.0 GLib.Property("select-multiple") System.Boolean To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Property 2.12.0.0 System.String[] To be added. To be added. To be added. Property 2.12.0.0 System.String[] To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("show-hidden") System.Boolean Indicates if Hidden files and directories should be visible. To be added. Property 2.12.0.0 GLib.Property("title") System.String To be added a To be added Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("update-preview") System.EventHandler To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 System.String[] To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("use-preview-label") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("width-chars") System.Int32 The width of the entry and label inside the button, in characters. a To be added gtk-sharp-2.12.40/doc/en/Gtk/DragDataGetArgs.xml0000664000175000017500000001014412767740535016065 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.DragContext The context of this drag. a Property 2.12.0.0 System.UInt32 For internal use. A Property 2.12.0.0 Gtk.SelectionData The data that's selected and dragged. a Property 2.12.0.0 System.UInt32 The time this data was gotten from the source widget. A gtk-sharp-2.12.40/doc/en/Gtk/SubmenuPlacement.xml0000664000175000017500000000522012767740535016407 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.SubmenuPlacementGType)) Enumeration for placement of submenus. Field 2.12.0.0 Gtk.SubmenuPlacement Place submenu left-to-right. Field 2.12.0.0 Gtk.SubmenuPlacement Place submenu top-to-bottom. gtk-sharp-2.12.40/doc/en/Gtk/SelectionClearEventArgs.xml0000664000175000017500000000462312767740535017661 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.EventSelection The event that triggered the clearing of the selection. A gtk-sharp-2.12.40/doc/en/Gtk/DragDataDeleteHandler.xml0000664000175000017500000000315212767740535017232 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DragDataDeleteHandler instance to the event. The methods referenced by the DragDataDeleteHandler instance are invoked whenever the event is raised, until the DragDataDeleteHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/ButtonPressEventArgs.xml0000664000175000017500000000452112767740535017252 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.EventButton The button that was pressed. a gtk-sharp-2.12.40/doc/en/Gtk/ActivateCursorItemArgs.xml0000664000175000017500000000437212767740535017541 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.40/doc/en/Gtk/SelectionRequestEventHandler.xml0000664000175000017500000000327612767740535020747 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SelectionRequestEventHandler instance to the event. The methods referenced by the SelectionRequestEventHandler instance are invoked whenever the event is raised, until the SelectionRequestEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/HelpShownArgs.xml0000664000175000017500000000445412767740535015674 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.WidgetHelpType The type of help to be shown. a gtk-sharp-2.12.40/doc/en/Gtk/RowDeletedArgs.xml0000664000175000017500000000531312767740535016016 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The following events invoke delegates which pass event data via this class: Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.TreePath The path of the row that was inserted. a gtk-sharp-2.12.40/doc/en/Gtk/Container+CallbackInvoker.xml0000664000175000017500000000273512767740535020120 00000000000000 gtk-sharp 2.12.0.0 System.ValueType An class to invoke callback methods; mostly internal. Used by . Method 2.12.0.0 System.Void To be added. Invoke the contained delegate. This should not typically be used by application code. gtk-sharp-2.12.40/doc/en/Gtk/EnableDeviceArgs.xml0000664000175000017500000000443212767740535016267 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.Device The device to enable. A gtk-sharp-2.12.40/doc/en/Gtk/DirectionChangedArgs.xml0000664000175000017500000000462012767740535017152 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.TextDirection The direction of the text before the event. A gtk-sharp-2.12.40/doc/en/Gtk/TreeSortableAdapter.xml0000664000175000017500000003541112767740535017041 00000000000000 gtk-sharp 2.12.0.0 GLib.GInterfaceAdapter GLib.IWrapper Gtk.TreeSortable TreeSortable interface adapter. Adapts a implementation to expose the complete interface API. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Property 2.12.0.0 Gtk.TreeIterCompareFunc To be added. To be added. To be added. Method 2.12.0.0 Gtk.TreeSortable To be added. To be added. To be added. To be added. Method 2.12.0.0 Gtk.TreeSortable To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. Property 2.12.0.0 System.Boolean To be added. To be added. To be added. Property 2.12.0.0 Gtk.TreeSortableImplementor To be added. To be added. To be added. Method 2.12.0.0 System.Obsolete("Replaced by DefaultSortFunc property.") System.Void To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Obsolete("Replaced by SetSortFunc (int, TreeIterCompareFunc) overload.") System.Void To be added. To be added. To be added. To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("sort_column_changed") System.EventHandler To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/TreeViewColumn.xml0000664000175000017500000013165012767740535016057 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Object Gtk.CellLayout A visible column in a widget. Constructor 2.12.0.0 Creates a new object. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 a a a Creates a new Constructor 2.12.0.0 System.ParamArray a a a Creates a new Method 2.12.0.0 System.Void an object of type an object of type an object of type Adds an mapping to the list in . The is the column of the model to get a value from, and the is the parameter on to be set from the value. So for example if column 2 of the model contains strings, you could have the "text" attribute of a get its values from column 2. Property 2.12.0.0 GLib.Property("alignment") System.Single X Alignment of the column header text or widget. an object of type Method 2.12.0.0 System.Boolean a a a Obtains the horizontal position and size of a cell in a column. a If the cell is not found in the column, and are not changed and is returned. Method 2.12.0.0 System.Void a a a a a Obtains the width and height needed to render the column. This is used primarily by the . Method 2.12.0.0 System.Boolean Whether to display the column. an object of type Property 2.12.0.0 Gtk.CellRenderer[] Returns a list of all the s in the column, in no particular order. An array of s. Property 2.12.0.0 Gtk.CellRenderer[] Cells property. An array of cell renderers packed in the column. Method 2.12.0.0 System.Void an object of type an object of type an object of type an object of type Sets the cell renderer based on the and . That is, for every attribute mapping in , it will get a value from the set column on the , and use that value to set the attribute on the cell renderer. This is used primarily by the . Method 2.12.0.0 System.Void Unsets all the mappings on all renderers on the . Method 2.12.0.0 System.Void an object of type Clears all existing attributes. Method 2.12.0.0 System.Void Emit the clicked event on the column. Property 2.12.0.0 GLib.Property("clickable") System.Boolean Whether the header can be clicked. an object of type Event 2.12.0.0 GLib.Signal("clicked") System.EventHandler Emitted when the column is clicked. Property 2.12.0.0 GLib.Property("expand") System.Boolean Whether this column gets share of extra width allocated to the widget. a Property 2.12.0.0 GLib.Property("fixed-width") System.Int32 Current fixed width of the column. an object of type Method 2.12.0.0 System.Void a Sets the current keyboard focus to be at , if the column contains 2 or more editable and activatable cells. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("max-width") System.Int32 Maximum allowed width of the column. an object of type Property 2.12.0.0 GLib.Property("min-width") System.Int32 Minimum allowed width of the column. an object of type Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideClicked", Type=typeof(Gtk.TreeViewColumn)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Void an object of type an object of type Adds the to end of the column. If expand is , then the cell is allocated no more space than it needs. Any unused space is divided evenly between cells for which expand is . Method 2.12.0.0 System.Void an object of type an object of type Packs the cell into the beginning of the column. If expand is , then the cell is allocated no more space than it needs. Any unused space is divided evenly between cells for which expand is . Method 2.12.0.0 System.Void Flags the column and its cell renderers for size renegotiation. Method 2.12.0.0 System.Void a a Re-inserts at . The given cell must already be packed into the layout for this method to work properly. Property 2.12.0.0 GLib.Property("reorderable") System.Boolean Whether the column can be reordered by the end user dragging the header. an object of type Property 2.12.0.0 GLib.Property("resizable") System.Boolean Whether column is user-resizable. an object of type Method 2.12.0.0 System.Void System.ParamArray a a Sets the attribute to model column bindings for a renderer. The array should consist of pairs of attribute name and column index. Method 2.12.0.0 System.Void a a Sets the to use for a renderer. This function is used instead of the standard attributes mapping for setting the column value, and should set the value of the as appropriate. may be to remove an older one. Method 2.12.0.0 System.Void a a Set the data func used to set cell renderer attributes. Method 2.12.0.0 System.Void a a Sets the to use for a renderer. This function is used instead of the standard attributes mapping for setting the column value, and should set the value of the as appropriate. may be to remove an older one. Method 2.12.0.0 System.Obsolete("Replaced by SetCellDataFunc (CellRenderer, TreeCellDataFunc) overload") System.Void an object of type an object of type an object of type an object of type Sets the to use for the column. This function is used instead of the standard attributes mapping for setting the column value, and should set the value of the as appropriate. may be to remove an older one. Property 2.12.0.0 GLib.Property("sizing") Gtk.TreeViewColumnSizing Resize mode of the column. an object of type Property 2.12.0.0 System.Int32 The column that the model sorts on when this column is selected for sorting. an object of type Property 2.12.0.0 GLib.Property("sort-indicator") System.Boolean Whether to show a sort indicator. an object of type Property 2.12.0.0 GLib.Property("sort-order") Gtk.SortType Sort direction the sort indicator should indicate. an object of type Property 2.12.0.0 GLib.Property("spacing") System.Int32 The number of pixels to place between s packed into the column. an object of type Property 2.12.0.0 GLib.Property("title") System.String Title to appear in column header. an object of type Property 2.12.0.0 Gtk.Widget Tree View property. The tree view owning the column. Property 2.12.0.0 GLib.Property("visible") System.Boolean The visibility of the . an object of type Property 2.12.0.0 GLib.Property("widget") Gtk.Widget Widget to put in column header button instead of column title. an object of type Property 2.12.0.0 GLib.Property("width") System.Int32 Current width of the column. an object of type gtk-sharp-2.12.40/doc/en/Gtk/ProximityInEventHandler.xml0000664000175000017500000000320212767740535017731 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ProximityInEventHandler instance to the event. The methods referenced by the ProximityInEventHandler instance are invoked whenever the event is raised, until the ProximityInEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/HelpShownHandler.xml0000664000175000017500000000305612767740535016352 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the HelpShownHandler instance to the event. The methods referenced by the HelpShownHandler instance are invoked whenever the event is raised, until the HelpShownHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/ChangedArgs.xml0000664000175000017500000000547312767740535015320 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.RadioAction The action which has just been activated. a gtk-sharp-2.12.40/doc/en/Gtk/TreeNode.xml0000664000175000017500000003122312767740535014647 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Gtk.ITreeNode TreeNode abstract class Convenience class for deriving ITreeNode implementing objects for implementations. This class can be subclassed to quickly implement a node type without having to implement the tree building and navigational aspects of the interface. The following example shows a simple subclass: [TreeNode(ColumnCount=1)] public class MyTreeNode : TreeNode { string level; public MyTreeNode (string level) { this.level = level; } [TreeNodeValue(Column=0)] public string Level { get { return level; } set { level = value; OnChanged (); } } } The base class provides all the details and MyTreeNode uses to notify of tree related node changes. Constructor 2.12.0.0 TreeNode constructor Default constructor.. Method 2.12.0.0 System.Void a Appends a child to the node Adds the specified to this . The is added to the end of the children list, the property of is set to this node, and the event is raised. Method 2.12.0.0 System.Void a Position among the node's children to insert Inserts a child at the given position Adds the specified to this . The is added to the children list before the child currently at position , the property of is set to this node, and the event is raised. Event 2.12.0.0 System.EventHandler Changed event Raised when the contents of the change. Use for a convenient way to raise the event. Event 2.12.0.0 Gtk.TreeNodeAddedHandler ChildAdded event Raised when a child is added to the node. Property 2.12.0.0 System.Int32 ChildCount a Read-only. The number of children of this node. Event 2.12.0.0 Gtk.TreeNodeRemovedHandler ChildRemoved event Raised when a child is removed from the node. Property 2.12.0.0 System.Int32 ID property a Read-only. Provides a unique identifier for all instances. Method 2.12.0.0 System.Int32 a IndexOf method a Returns the child index of or -1 if is not a child of this . Property 2.12.0.0 Gtk.ITreeNode a Child indexer a Returns the child at position in the list of children for this . Method 2.12.0.0 System.Void OnChanged method Raises the Changed event. Call this method if any column values of the node change. Property 2.12.0.0 Gtk.ITreeNode Parent property a Read-only. The parent for this node. Method 2.12.0.0 System.Void a RemoveChild method Removes the specified from this . The property of is set to and the event is raised. gtk-sharp-2.12.40/doc/en/Gtk/OwnerChangeHandler.xml0000664000175000017500000000416712767740535016647 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the OwnerChangeHandler instance to the event. The methods referenced by the OwnerChangeHandler instance are invoked whenever the event is raised, until the OwnerChangeHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/MoveCursorHandler.xml0000664000175000017500000000414312767740535016545 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the MoveCursorHandler instance to the event. The methods referenced by the MoveCursorHandler instance are invoked whenever the event is raised, until the MoveCursorHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/Orientation.xml0000664000175000017500000000423212767740535015435 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.OrientationGType)) An enumeration storing the current orientation. Field 2.12.0.0 Gtk.Orientation The horizontal orientation. Field 2.12.0.0 Gtk.Orientation The vertical orientation. gtk-sharp-2.12.40/doc/en/Gtk/ArrowType.xml0000664000175000017500000000735112767740535015103 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.ArrowTypeGType)) Used to indicate the direction in which a should point. Field 2.12.0.0 Gtk.ArrowType Represents an downward pointing arrow. Field 2.12.0.0 Gtk.ArrowType Represents a left pointing arrow. Field 2.12.0.0 Gtk.ArrowType Represents no arrow. Field 2.12.0.0 Gtk.ArrowType Represents a right pointing arrow. Field 2.12.0.0 Gtk.ArrowType Represents an upward pointing arrow. gtk-sharp-2.12.40/doc/en/Gtk/ToggleSizeRequestedHandler.xml0000664000175000017500000000325012767740535020375 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ToggleSizeRequestedHandler instance to the event. The methods referenced by the ToggleSizeRequestedHandler instance are invoked whenever the event is raised, until the ToggleSizeRequestedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/MapEventArgs.xml0000664000175000017500000000442512767740535015502 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.Event The Gdk event that triggered the map event. a gtk-sharp-2.12.40/doc/en/Gtk/SelectionGetArgs.xml0000664000175000017500000000705612767740535016353 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.UInt32 An enumerator to identify the specific target for this selection. A Property 2.12.0.0 Gtk.SelectionData The data from the selection. a Property 2.12.0.0 System.UInt32 The time this selection was gotten from the source widget. A gtk-sharp-2.12.40/doc/en/Gtk/FrameEventHandler.xml0000664000175000017500000000307212767740535016475 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the FrameEventHandler instance to the event. The methods referenced by the FrameEventHandler instance are invoked whenever the event is raised, until the FrameEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/Callback.xml0000664000175000017500000000211412767740535014633 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. A delegate that can be run over a series of widgets. Invoked by and . gtk-sharp-2.12.40/doc/en/Gtk/RecentChooserError.xml0000664000175000017500000000344412767740535016723 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.RecentChooserErrorGType)) To be added. To be added. Field 2.12.0.0 Gtk.RecentChooserError To be added. Field 2.12.0.0 Gtk.RecentChooserError To be added. gtk-sharp-2.12.40/doc/en/Gtk/SetBaseArgs.xml0000664000175000017500000000436312767740535015312 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 3.16.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 3.16.0.0 System.String The base URL for this HTML widget. A . gtk-sharp-2.12.40/doc/en/Gtk/CustomWidgetApplyHandler.xml0000664000175000017500000000272412767740535020070 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CustomWidgetApplyHandler instance to the event. The methods referenced by the CustomWidgetApplyHandler instance are invoked whenever the event is raised, until the CustomWidgetApplyHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/Box.xml0000664000175000017500000004206412767740535013677 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Container A Box is a Gtk container that holds an arbitrary number of widgets. This means its sole purpose is to provide layout, size and spacing for other widgets. A Box is a rectangular area organized into either a single row or a single column of child widgets, depending upon whether the box is horizontally or vertically oriented, respectively. A Box is abstract - specific layout containers are provided in its sub classes, including a horizontal box, (), a vertical box (), and button boxes, (). Widgets that are 'packed' into a box are considered to be the children of the box, and the box controls their layout. Properties such as control the layout of all the children in the box, whereas specific packing settings can be applied to each child individually, such as . Constructor 2.12.0.0 Protected constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("homogeneous") System.Boolean Set the size of all child widgets to be the same if child widgets size themselves equally, false otherwise. Property 2.12.0.0 Gtk.Container+ContainerChild To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void The child widget to add to the box. Add a widget to the 'end' of a box with default packing settings. The 'end' of a box is the right hand side in a and the bottom in a . Method 2.12.0.0 System.Void A widget to pack into the box. If , the child widget will expand to use as much space as it is given. If , the child widget will request as much space as is available. The size (in pixels) of a border to place around the specified child widget. Add a widget to the 'end' of a box with the specified packing properties. To add a widget to the end of a box with default packing, use Method 2.12.0.0 System.Void The child widget to add to the box. Add a widget to the 'start' of a box with default packing settings. The 'start' of a box is the left hand side in a and the top in a . Method 2.12.0.0 System.Void A widget to pack into the box. If , the child widget will expand to use as much space as it is given. If , the child widget will request as much space as is available. The size (in pixels) of a border to place around the specified child widget. Add a widget to the 'start' of a box with the specified packing properties. To add a widget to the start of a box with default packing, use Method 2.12.0.0 System.Void the of the child to query. a , the returned value of the expand field in the BoxChild object. a , the returned value of the fill field in the BoxChild object. a , the retuned value of the padding field in the BoxChild object. a , the returned value of the pack field in the BoxChild object. Returns information about how is packed into . Method 2.12.0.0 System.Void A widget that has already been packed into this box. The new position for this widget, indexed from zero. If negative, the will be placed at the end of the box. Alters the position of a child widget that has already been packed into a Box. Method 2.12.0.0 System.Void The child widget whose layout should be adjusted If , the child widget will expand to use as much space as it is given. If , the child widget will request as much space as is available. The size (in pixels) of a border to place around the specified child widget. Whether this child widget should be packed from the beginning of the box, (eg. the left, or the top), or from the end, (eg. the right or the bottom) Change the packing properties of a child that is currently in this box. It is more common to set any specific packing requirements on child widgets when they are initially added to the box. This can be done using and . Property 2.12.0.0 GLib.Property("spacing") System.Int32 Adjust the spacing between child widgets. The current pixel spacing between child widgets gtk-sharp-2.12.40/doc/en/Gtk/ITreeNode.xml0000664000175000017500000001611212767740535014760 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Tree Node navigation and update notification interface Implement this interface for types which expose tree node information. Types which implement this interface can be used to instantiate a for a Event 2.12.0.0 System.EventHandler Changed event Emited when the tree-related contents of the node have changed. Event 2.12.0.0 Gtk.TreeNodeAddedHandler ChildAdded event Emited when a child is added to the . Property 2.12.0.0 System.Int32 ChildCount property a Read-only. Indicates the number of children of this Event 2.12.0.0 Gtk.TreeNodeRemovedHandler ChildRemoved event Emited when a child is removed from the . Property 2.12.0.0 System.Int32 ID property a Read-only. Represents a unique identifier for the object as a positive integer. This value is used by the as a hash value and must uniquely identify the object. Method 2.12.0.0 System.Int32 a IndexOf method a Returns the position of the specified child object in the list of children. If the child is not found, the returned value should be less than 0, typically -1. Property 2.12.0.0 Gtk.ITreeNode a Child indexer a Returns the child at position in the list of children of this Property 2.12.0.0 Gtk.ITreeNode Parent property a Read-only, The parent for this or if the node is a root . gtk-sharp-2.12.40/doc/en/Gtk/UrlRequestedArgs.xml0000664000175000017500000000560312767740535016406 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 3.16.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 3.16.0.0 Gtk.HTMLStream An object for the HTML from the URL as it opens. a Property 3.16.0.0 System.String The URL that was requested. A string containing the URL. gtk-sharp-2.12.40/doc/en/Gtk/AccelClearedArgs.xml0000664000175000017500000000406212767740535016247 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.String Path to the edited cell. The string representation of the path. gtk-sharp-2.12.40/doc/en/Gtk/Draw.xml0000664000175000017500000013327312767740535014047 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object A class for drawing various shapes; mostly obsolete. Constructor 2.12.0.0 Public constructor. Method 2.12.0.0 System.Obsolete System.Void a a a a a a a a a a Obsolete. Do not use. Method 2.12.0.0 System.Obsolete System.Void a a a a a a a a Obsolete. Do not use. Method 2.12.0.0 System.Obsolete System.Void a a a a a a a a a a a Obsolete. Do not use. Method 2.12.0.0 System.Obsolete System.Void a a a a a a a a Obsolete. Do not use. Method 2.12.0.0 System.Obsolete System.Void a a a a a a a a Obsolete. Do not use. Method 2.12.0.0 System.Obsolete System.Void a a a a a a Obsolete. Do not use. Method 2.12.0.0 System.Obsolete System.Void a a a a a a a a a Obsolete. Do not use. Method 2.12.0.0 System.Obsolete System.Void a a a a a a a a Obsolete. Do not use. Method 2.12.0.0 System.Obsolete System.Void a a a a a a Obsolete. Do not use. Method 2.12.0.0 System.Obsolete System.Void a a a a a a a a a Obsolete. Do not use. Method 2.12.0.0 System.Obsolete System.Void a a a a a a Obsolete. Do not use. Method 2.12.0.0 System.Void a a a , rectangle to which the output is clipped, or if the output should not be clipped a location where to draw the cursor (.Width is ignored) a , whether the cursor should be the primary cursor color. a , whether the cursor is left-to-right or right-to-left. Should never be . a , to draw a directional arrow on the cursor. Should be unless the cursor is split. Draws a text caret on at . * This is not a style function but merely a convenience function for drawing the standard cursor shape. Method 2.12.0.0 System.Obsolete System.Void a a a a a a a Obsolete. Do not use. Method 2.12.0.0 System.Obsolete System.Void a a a a a a a a Obsolete. Do not use. Method 2.12.0.0 System.Obsolete System.Void a a a a a a a Obsolete. Do not use. Method 2.12.0.0 System.Obsolete System.Void a a a a a a a a Obsolete. Do not use. Method 2.12.0.0 System.Obsolete System.Void a a a a a a a a Obsolete. Do not use. Method 2.12.0.0 System.Obsolete System.Void a a a a a a a a a a a Obsolete. Do not use. Method 2.12.0.0 System.Obsolete System.Void a a a a a a a a a Obsolete. Do not use. Method 2.12.0.0 System.Obsolete System.Void a a a a a a Obsolete. Do not use. Method 2.12.0.0 System.Obsolete System.Void a a a a a a a a Obsolete. Do not use. Method 2.12.0.0 System.Obsolete System.Void a a a a a a Obsolete. Do not use. gtk-sharp-2.12.40/doc/en/Gtk/PrintUnixDialog.xml0000664000175000017500000002312312767740535016222 00000000000000 gtk-sharp 2.12.0.0 Gtk.Dialog Unix print dialog. This class implements a Print dialog for platforms which don't provide a native printing dialog. Constructor 2.12.0.0 System.Obsolete Native type value. Obsolete Protected Constructor. Do not use. Replaced by which registers native types automatically. Subclasses should chain to the IntPtr constructor passing and call CreateNativeObject instead of using this constructor. This constructor is provided for backward compatibility if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Native object pointer. Internal constructor This is not typically used by C# code. Exposed primarily for use by language bindings to wrap native object instances. Constructor 2.12.0.0 Window title. Transient parent window. Public constructor. Method 2.12.0.0 System.Void The child widget. The tab label text. Adds a custom tab to the dialog. Property 2.12.0.0 GLib.Property("current-page") System.Int32 CurrentPage tab index. An integer index of the selected tab. Property 2.12.0.0 GLib.GType GType Property. Native value. Returns the native value for . Property 2.12.0.0 Gtk.PrintCapabilities Manual capabilities supported. A set of supported by the application. Allows configuration of the supported printing capabilities for an application. Property 2.12.0.0 GLib.Property("page-setup") Gtk.PageSetup PageSetup property. The specified . Property 2.12.0.0 GLib.Property("print-settings") Gtk.PrintSettings PrintSettings property. Same as . Property 2.12.0.0 GLib.Property("selected-printer") Gtk.Printer Selected printer property. The selected . Property 2.12.0.0 Gtk.PrintSettings Settings property. The specified . gtk-sharp-2.12.40/doc/en/Gtk/MoveHandleArgs.xml0000664000175000017500000000444612767740535016010 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.ScrollType The direction and units to scroll by. A gtk-sharp-2.12.40/doc/en/Gtk/Arrow.xml0000664000175000017500000001701712767740535014241 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Misc Produces an Arrow pointing in one of four cardinal directions. Arrow should be used to draw simple arrows that need to point in one of the four cardinal directions ( , , , or ). The style of the arrow can be one of the following: , , , and . Note that these directions and style types may be ammended in versions of Gtk to come. Arrow will fill any space alloted to it, but since it is inherited from , it can be padded and/or aligned, fill exactly the space the programmer desires. The direction or style of an arrow can be changed after creation by using . Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 A valid ArrowType. A valid ShadowType. Constructor Property 2.12.0.0 GLib.Property("arrow-type") Gtk.ArrowType Used to change the direction of an Arrow. A new Arrow. Changes the direction of an Arrow. The cardinal directions are: , , and . Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("shadow-type") Gtk.ShadowType Used to change the appearance of an outline typically provided by a Frame. Returns a new ShadowType. Changes the appearance of an outline typically provided by a . The shadow types are: , , , and . gtk-sharp-2.12.40/doc/en/Gtk/EnterNotifyEventArgs.xml0000664000175000017500000000457312767740535017237 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.EventCrossing The underlying Gdk event that triggered this EnterNotifyEvent. A gtk-sharp-2.12.40/doc/en/Gtk/ScrollChildArgs.xml0000664000175000017500000000567212767740535016172 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Boolean Whether the scrolling is horizontal or not (i.e., vertical). A Property 2.12.0.0 Gtk.ScrollType The desired behavior for the scrolling action. A gtk-sharp-2.12.40/doc/en/Gtk/AdjustBoundsHandler.xml0000664000175000017500000000312112767740535017041 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the AdjustBoundsHandler instance to the event. The methods referenced by the AdjustBoundsHandler instance are invoked whenever the event is raised, until the AdjustBoundsHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/ToggledHandler.xml0000664000175000017500000000304212767740535016023 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ToggledHandler instance to the event. The methods referenced by the ToggledHandler instance are invoked whenever the event is raised, until the ToggledHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/Bindings.xml0000664000175000017500000000572112767740535014703 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Key bindings for individual widgets. Constructor 2.12.0.0 Public constructor. Method 2.12.0.0 System.Boolean a a Looks up key bindings for to find one matching , and if one was found, activates it. a gtk-sharp-2.12.40/doc/en/Gtk/Item.xml0000664000175000017500000003103212767740535014036 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Bin Abstract base class for , and . The widget is an abstract base class for , and . Constructor 2.12.0.0 Constructor Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Void Emits the event on the given item. Emits the event on the given item. Event 2.12.0.0 GLib.Signal("deselect") System.EventHandler Emitted when the is deselected. Emitted when the is deselected. Method 2.12.0.0 System.Obsolete System.Void a , a factory path to prepend to . May be if starts with a factory path. a , a path Deletes all widgets constructed from the specified path. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDeselected", Type=typeof(Gtk.Item)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelected", Type=typeof(Gtk.Item)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideToggled", Type=typeof(Gtk.Item)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Void Emits the event on the given item. Emits the event on the given item. Event 2.12.0.0 GLib.Signal("select") System.EventHandler Emitted when the is selected. Emitted when the is selected. Method 2.12.0.0 System.Void Emits the event on the given item. Emits the event on the given item. Event 2.12.0.0 GLib.Signal("toggle") System.EventHandler Emitted when the is toggled. Emitted when the is toggled. gtk-sharp-2.12.40/doc/en/Gtk/GammaCurve.xml0000664000175000017500000001133712767740535015175 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.VBox The widget is a variant of specifically for editing gamma curves, which are used in graphics applications such as the Gimp. The widget shows a curve which the user can edit with the mouse just like a widget. On the right of the curve it also displays 5 buttons, 3 of which change between the 3 curve modes (spline, linear and free), and the other 2 set the curve to a particular gamma value, or reset it to a straight line. NOTE: this widget is considered too specialized/little-used for GTK#, and will in the future be moved to some other package. If your application needs this widget, feel free to use it, as the widget does work and is useful in some applications; it's just not of general interest. However, we are not accepting new features for the widget, and it will eventually move out of the GTK# distribution. Constructor 2.12.0.0 Constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gtk/MotionNotifyEventArgs.xml0000664000175000017500000000457512767740535017431 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.EventMotion The underlying Gdk event that triggered this MotionNotifyEvent. A gtk-sharp-2.12.40/doc/en/Gtk/Widget.xml0000664000175000017500000114370512767740535014377 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Object Atk.Implementor GLib.TypeInitializer(typeof(Gtk.Widget), "ClassInit") GtkWidget introduces style properties - these are basically object properties that are stored in the style object associated to the . Style properties are set in resource files. This mechanism is used for configuring such things as the location of the scrollbar arrows through the theme, giving theme authors more control over the look of applications without the need to write a theme engine in C. Use to obtain the value of a style property. Constructor 2.12.0.0 Protected constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Event 2.12.0.0 GLib.Signal("can_activate_accel") Gtk.AccelCanActivateHandler This signal is present to allow applications and derived widgets to override the default Gtk.Widget handling for determining whether an accelerator can be activated. See for more details. Event 2.12.0.0 GLib.Signal("accel_closures_changed") System.EventHandler Raised when the closures for this widget's accelerator change. Property 2.12.0.0 Atk.Object Obtains the default reading direction for . A . Obtains the default reading direction for . Property 2.12.0.0 Gtk.Action The action the widget proxies. a , or if no proxy relationship exists. See for more details. Method 2.12.0.0 System.Boolean For that can be "activated" (buttons, menu items, etc.) this method activates them. Returns if the was activatable. Activation is what happens when you press Enter on a widget during key navigation; clicking a button, selecting a menu item, etc. If the isn't activatable, the method returns . Method 2.12.0.0 System.Void Widget signal to emit on accelerator activation. Accel group for this , added to its toplevel. GDK keyval of the accelerator. Installs an accelerator for this in that causes to be emitted if the accelerator is activated. The needs to be added to the widget's toplevel via , and the signal must be of type G_RUN_ACTION. Accelerators added through this method are not user changeable during runtime. Accelerators added through this method are not user changeable during runtime. If you want to support accelerators that can be changed by the user, use instead. Method 2.12.0.0 System.Void Widget signal to emit on accelerator activation. Accel group for this , added to its toplevel. GDK keyval of the accelerator. Modifier key combination of the accelerator. Flag accelerators. Installs an accelerator for this in that causes to be emitted if the accelerator is activated. The needs to be added to the widget's toplevel via , and the signal must be of type G_RUN_ACTION. Accelerators added through this method are not user changeable during runtime. Accelerators added through this method are not user changeable during runtime. If you want to support accelerators that can be changed by the user, use instead. Method 2.12.0.0 System.Void Adds the events in the bitfield to the event mask for . See for details. Method 2.12.0.0 System.Void a Adds a widget to the list of mnemonic labels for this widget. (See ). Note the list of mnemonic labels for the widget is cleared when the widget is destroyed, so the caller must make sure to update its internal state at this point as well, by using a connection to the Destroy signal or a weak notifier. Property 2.12.0.0 Gdk.Rectangle Gets or Sets the widget's allocation. a representing the size of the widget's allocation. When the top-level widget has determined how much space its child would like to have, the second phase of the size negotiation, size allocation, begins. Depending on its configuration (see ), the top-level widget may be able to expand in order to satisfy the size request or it may have to ignore the size request and keep its fixed size. It then tells its child widget how much space it gets by calling . The child widget divides the space among its children and tells each child how much space it got, and so on. Under normal circumstances, a will always give its child the amount of space the child requested. A child's size allocation is represented by a . This struct contains not only a width and height, but also a position (i.e. X and Y coordinates), so that containers can tell their children not only how much space they have gotten, but also where they are positioned inside the space available to the container. Widgets are required to honor the size allocation they receive; a size request is only a request, and widgets must be able to cope with any size. None. Property 2.12.0.0 GLib.Property("app-paintable") System.Boolean Whether the application will paint directly on the . if the application will paint directly on the . Event 2.12.0.0 GLib.Signal("button_press_event") Gtk.ButtonPressEventHandler Raised when a button is pressed. Event 2.12.0.0 GLib.Signal("button_release_event") Gtk.ButtonReleaseEventHandler Raised when a (mouse) button is released on this widget. Method 2.12.0.0 System.Boolean a , a signal ID (XXX: API: should this really work this way?) Determines whether an accelerator that activates the signal identified by can currently be activated. a , true if the accelerator can be activated. This is done by emitting the signal on the widget; if the signal isn't overridden by a handler or in a derived widget, then the default check is that the widget must be sensitive, and the widget and all its ancestors mapped. Property 2.12.0.0 GLib.Property("can-default") System.Boolean Evaluates to if the is allowed to receive the default focus. that indicates if the widget can grab the default focus, using . When this property is set to true, the widget itself will reserve space to draw the default if possible. If either the widget's property or the 's property evaluates to false, the property will return false. Otherwise, the property will return its own value. Typically, you'd like to set the default widget using , but you must set the property to true before you call it, in order to force the focus to be grabbed into the widget. When certain conditions are met and the user press Enter, the default widget will be focused. Conditions: the property is set to true, the has been called and the containing the widget have the focus. This state is common when your window is shown for the first time, and no call has been made (or when by no other means, the focus has been set to any particular widget). [FIXME] This is a seealso instead see [FIXME] This is a seealso instead see Property 2.12.0.0 GLib.Property("can-focus") System.Boolean Determines whether the is able to receive the focus. Evaluates to if the is able to handle focus grabs. If the widget property evaluates to , the property will also return . widget must be a focusable widget, such as an ; something like won't work. More precisely, it must have the property set. The property is just the helper that will tell you whether the widget is focusable. Evaluate it before you make a call to , if you are unsure about the "focusability" of the widget. [FIXME] This two links are seealso instead see: and Method 2.12.0.0 System.Boolean Direction of focus movement. Move focus to particular . if focus ended up inside . This method is used by custom implementations; if you're writing an app, you'd use to move the focus to a particular , and to change the focus tab order. So you may want to investigate those methods instead. is called by containers as the user moves around the window using keyboard shortcuts. indicates what kind of motion is taking place (up, down, left, right, tab forward, tab backward). invokes the event on ; override the default handler for this event in order to implement appropriate focus behavior. The "focus" default handler for a should return if moving in direction left the focus on a focusable location inside that , and if moving in direction moved the focus outside the . If returning , normally call to place the focus accordingly; if returning , they don't modify the current focus location. Event 2.12.0.0 GLib.Signal("child_notify") Gtk.ChildNotifiedHandler Emitted when a child has been notified. Method 2.12.0.0 System.Void The name of a child property installed on the class of widget's parent. Emits a event for the child property on . Emits a event for the child property on . Property 2.12.0.0 Gtk.Requisition Obtains the widget's requisition. a Obtains requisition, unless someone has forced a particular geometry, in which case it returns that geometry instead of the widget's requisition. This method differs from in that it retrieves the last size request value, while the method recomputes the size request and fills in the requisition, and then returns the recomputed value. Property 2.12.0.0 System.Boolean Sets or obtains whether should be mapped along with its when its parent is mapped and has been shown with . Returns if the is mapped with the parent. The child visibility can be set for before it is added to a container with , to avoid mapping children unnecessary before immediately unmapping them. However it will be reset to its default state of when the is removed from a container. Note that changing the child visibility of a does not queue a resize on the . Most of the time, the size of a is computed from all visible children, whether or not they are mapped. If this is not the case, the container can queue a resize itself. This property is only useful for container implementations and never should be called by an application. Method 2.12.0.0 System.Void Location to store the length of the class path. or . Location to store the class path as an allocated string, or . Location to store the reverse class path as an allocated string, or . Same as , but always uses the name of a 's type, never uses a custom name set with . Method 2.12.0.0 System.Void a to set Convenince method to clear a flag None Event 2.12.0.0 GLib.Signal("client_event") Gtk.ClientEventHandler Raised when a message is received from another application. Property 2.12.0.0 Gdk.Colormap Sets or obtains the colormap that will be used to render . A . Widget must not have been previously realized. Property 2.12.0.0 GLib.Property("composite-child") System.Boolean Whether the is part of a composite widget. if the is part of a composite widget. Event 2.12.0.0 GLib.Signal("composited_changed") System.EventHandler Raised with the composited status changes. Property 2.12.0.0 System.String Sets or obtains a composite name. The composite name of , or if is not a composite child. The string should not be freed when it is no longer needed. The must be a composite child of its parent; see . Event 2.12.0.0 GLib.Signal("configure_event") Gtk.ConfigureEventHandler Raised when the configuration of the window has changed (it has been moved or resized). Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 Pango.Context Creates a new with the appropriate colormap, font description, and base direction for drawing text for . The new . See also . Method 2.12.0.0 Pango.Layout text to set on the layout (can be ). Creates a new with the appropriate colormap, font description, and base direction for drawing text for . The new . If you keep a created in this way around, in order notify the layout of changes to the base direction or font of this , you must call in response to the and events for the . Property 2.12.0.0 Gdk.Colormap Sets or obtains the default colormap to use when creating . A . is a better method to use if you only want to affect a few widgets, rather than all widgets. Property 2.12.0.0 Gtk.TextDirection Sets or obtains the default reading direction for . A . Where the direction has not been explicitly set by . Property 2.12.0.0 Gtk.Style Obtains the default style used by all initially. Returns the default style. This object is owned by GTK+ and should not be modified or freed. Returns the default style used by all initially. Property 2.12.0.0 Gdk.Visual Obtains the visual of the default colormap. Returns a visual of the default colormap. Not really useful; used to be useful before existed. Event 2.12.0.0 GLib.Signal("delete_event") Gtk.DeleteEventHandler Raised when the user has clicked on the "close" button in the window's frame (the button that is automatically set by the window manager). If the handler returns False, the widget will be destroyed (and the window closed), but if the handler returns True, nothing will be done. This is a good way to prevent the user from closing your application's window if there should be some cleanups first (like saving the document). using System; using Gtk; class TestClose { public static void Main () { // Init Gtk# Application.Init (); // Create window Window win = new Window ("Test Close"); win.SetDefaultSize (300, 300); // Add button Button button = new Button ("Close Now"); button.Clicked += delegate { Application.Quit (); }; win.Add (button); // Delete event win.DeleteEvent += delegate (object o, DeleteEventArgs e) { // Cancel closing then the "Close" // button of the window is pressed e.RetVal = true; }; // Show window and run win.ShowAll (); Application.Run (); } } Method 2.12.0.0 System.Void To be added. To be added. Event 2.12.0.0 GLib.Signal("destroy_event") Gtk.DestroyEventHandler Raised when this widget is destroyed. Property 2.12.0.0 Gtk.TextDirection Sets or obtains the reading direction on a particular . The reading direction for the . This direction controls the primary direction for containing text, and also the direction in which the children of a container are packed. The ability to set the direction is present in order so that correct localization into languages with right-to-left reading directions can be done. Generally, applications will let the default reading direction present, except for containers where the containers are arranged in an order that is explicitely visual rather than logical (such as buttons for text justification). If the direction is set none, then the value set by will be used. Event 2.12.0.0 GLib.Signal("direction_changed") Gtk.DirectionChangedHandler Raised when the text direction for this widget is changed. Property 2.12.0.0 Gdk.Display Obtains the for the toplevel window associated with this . The for the toplevel for this . This method can only be called after the has been added to a widget hierarchy with a at the top. In general, you should only create display specific resources when a has been realized, and you should free those resources when the is unrealized. Property 2.12.0.0 System.Boolean Use this property to turn off the double buffering. Returns because double buffering is on by Default, but returns if you turn it off. Widgets are double buffered by default, you can use this property to turn off the buffering. "Double buffered" simply means that and are called automatically around events sent to the . diverts all drawing to a 's window to an offscreen buffer, and draws the buffer to the screen. The result is that users see the window update in one smooth step, and don't see individual graphics primitives being rendered. In very simple terms, double buffered don't flicker, so you would only use this property to turn off double buffering if you had special needs and really knew what you were doing. Event 2.12.0.0 GLib.Signal("drag_begin") Gtk.DragBeginHandler Raised on a source widget when the user begins a drag. To be added. Event 2.12.0.0 GLib.Signal("drag_data_delete") Gtk.DragDataDeleteHandler Raised on a source widget when dragged data is deleted. Event 2.12.0.0 GLib.Signal("drag_data_get") Gtk.DragDataGetHandler Raised when the drag-and-drop process gets data from a source widget. Event 2.12.0.0 GLib.Signal("drag_data_received") Gtk.DragDataReceivedHandler Raised on a destination widget when it receives dragged data. Event 2.12.0.0 GLib.Signal("drag_drop") Gtk.DragDropHandler Raised on a source widget when dragged data is dropped. Event 2.12.0.0 GLib.Signal("drag_end") Gtk.DragEndHandler Raised on a source widget when a drag operation is completed. Event 2.12.0.0 GLib.Signal("drag_failed") Gtk.DragFailedHandler To be added. To be added. Event 2.12.0.0 GLib.Signal("drag_leave") Gtk.DragLeaveHandler Raised when a drag action leaves this widget. Event 2.12.0.0 GLib.Signal("drag_motion") Gtk.DragMotionHandler Raised on a source widget when the user is moving a dragged selection. Method 2.12.0.0 System.Obsolete System.Void a Deprecated. In GTK+ 1.2, this function would immediately render the region of a widget, by invoking the virtual draw method of a widget. In GTK+ 2.0, this method simply invalidates the specified region of the widget, then updates the invalid region of the widget immediately. Usually you don't want to update the region immediately for performance reasons, so in general is a better choice if you want to draw a region of a widget. Method 2.12.0.0 System.Void Ensures that has a style (->style). Not a very useful method; most of the time, if you want the style, the is realized, and realized are guaranteed to have a style already. Event 2.12.0.0 GLib.Signal("enter_notify_event") Gtk.EnterNotifyEventHandler The pointer has just entered the widget. If the flag is set, Widget will gain the focus, and the widget might be drawn differently. If the handler returns False, the event might be passed to the parent of widget (if no other handler of widget has returned True). Method 2.12.0.0 System.Void To be added. To be added. Property 2.12.0.0 GLib.Property("events") Gdk.EventMask Obtains or sets the event mask for the (a bitfield containing flags from ). a The event mask determines which events a will receive. Keep in mind that different widgets have different default event masks, and by changing the event mask you may disrupt a 's fuctionalit, so be careful. This property must be called while a is unrealized. Consider for widgets that are already realized, or if you want to preserve the existing event mask. This property can't be used with widgets; to get events on those events, place them inside a and receive events on the event box. These are the events that the will receive. Event 2.12.0.0 GLib.Signal("expose_event") Gtk.ExposeEventHandler Raised when the widget needs to be (fully or partially) redrawn. See , . Property 2.12.0.0 GLib.Property("extension-events") Gdk.ExtensionMode The mask that decides what kind of extension events the gets. A Gdk.ExtensionMode. Property 2.12.0.0 System.Obsolete System.Int32 Obtains or sets the flags for this . a This property should only be used when writing custom widgets in C#. The property is a preferred more strongly typed member. This member is obsolete in Gtk# 2.0. See for possible values. Event 2.12.0.0 GLib.Signal("focus") Gtk.FocusedHandler Raised whenever this widget is focused. The widget gets this signal as the user uses keyboard shortcuts or tabs through the widgets in a window. Event 2.12.0.0 GLib.Signal("grab_focus") System.EventHandler Raised when this widget grabs the keyboard focus. Event 2.12.0.0 GLib.Signal("focus_in_event") Gtk.FocusInEventHandler Raised when the widget has just gained the focus. Property 2.12.0.0 System.Int32 The width of the focus line in a . a Subclasses of use this style property to correctly layout their children. Event 2.12.0.0 GLib.Signal("focus_out_event") Gtk.FocusOutEventHandler Raised when the focus leaves this widget. Method 2.12.0.0 System.Void Stops emission of events on . The events are queued until is called on . Property 2.12.0.0 Gdk.Window Obtains or sets the underlying Gdk.Window used to display the contents of the . a Method 2.12.0.0 Gtk.Widget Ancestor type. Obtains the first ancestor of . The ancesor , or see if not found. For example sending gets the first that's an ancstor of . No reference will be added to the retured ; it should not be unreferenced. See note about checking for a toplevel in the docs for . Note that unlike , considers to be an ancestor of itself. Method 2.12.0.0 Gtk.Clipboard A which identifies the clipboard to use. gives the default clipboard, another common value is , which gives the primary X selection. Returns the clipboard object for the given selection to be used with . The appropiate clipboard object. If no clipboard already exists, a new one will be created. Once a clipboard object has been created, it is persistent for all time. must have a associated with it, so must be attached to a toplevel window. Method 2.12.0.0 System.Void Return location for the X coordinate, or . Return location for the Y coordinate, or . Obtains the location of the mouse pointer in coordinates. Widget coordinates are a bit odd; for historical reasons, they are defined as ->window coordinates for widgets that are not , and are relative to ->allocation.x, ->allocation.y for widgets that are . Method 2.12.0.0 System.Void Return location for width, or . Return location for height, or . Gets the size request that was explicitly set for the using . A value of -1 stored in or indicates that that dimension has not been set explicitly and the natural requisition of the will be used intead. See . To get the size a will actually use, call instead of this method. Event 2.12.0.0 GLib.Signal("grab_broken_event") Gtk.GrabBrokenEventHandler Raised when an existing grab is broken by another. Method 2.12.0.0 System.Void Causes to become the default . The default is activated when the user presses Enter in a window. Default must be activatable, that is, should affect them. The must have the flag set; typically you have to set this flag yourself by calling . Method 2.12.0.0 System.Void Causes a to have the keyboard focus for the it's inside. The must be a focusable , such as a ; something like won't work (More precisely, it must have the flag set). Event 2.12.0.0 GLib.Signal("grab_notify") Gtk.GrabNotifyHandler Emitted when a widget grabs focus. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("has-default") System.Boolean when the currently is receiving the default action. Evaluates to if the currently is receiving the default action. When the is focused will receive the default action, and HasDefault will be even if there is a different widget set as default. Property 2.12.0.0 GLib.Property("has-focus") System.Boolean Whether the has the input focus. if the has the input focus. Property 2.12.0.0 System.Boolean Convenience property to check Flags for WidgetFlags.HasGrab True if the HasGrab flag is set. None. Property 2.12.0.0 System.Boolean Checks whether there is a is associated with this . see langword="true" /> if there is a associated with the . All toplevel have an associated screen, and all added into a hierarchy with a toplevel window at the top. Property 2.12.0.0 GLib.Property("has-tooltip") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("height-request") System.Int32 Override for the height request for the . The height of the . Or -1 if natural request should be used. Event 2.12.0.0 GLib.Signal("show_help") Gtk.HelpShownHandler Raised when the help text is shown. Event 2.12.0.0 GLib.Signal("hide") System.EventHandler Raised whenever this widget is hidden. To be added. Method 2.12.0.0 System.Void Reverses the effects of , causing the to be hidden (invisible to the user). Reverses the effects of , causing the to be hidden (invisible to the user). Method 2.12.0.0 System.Void Recursively hides a and any child . Recursively hides a and any child . Method 2.12.0.0 System.Boolean Utility method; intended to be connected to the event on a . Returns . The method calls on its argument, then returns . If connected to , the result is that clicking the close button for a window (on the window frame, top right corner usually) will hide but not destroy the window. By default, GTK+ destroys windows when is received. Event 2.12.0.0 GLib.Signal("hierarchy_changed") Gtk.HierarchyChangedHandler Raised when the hierarchy (parent or child relationships) of this widget or its parent or children changes. Method 2.12.0.0 System.Void mask to combine. x offset of . y offset of . Sets an input shape mask for the widget. Allows widgets to react to non-rectangular regions for mouse events. Method 2.12.0.0 System.Boolean A rectangle. A rectangle to store intersection of and . Computes the intersection of a 's area and . if there was an intersection. Computes the intersection of a 's area and , storing the intersection in , and returns if there was an intersection. may be if you're only interested in whether there was an intersection. Method 2.12.0.0 System.Boolean Another . Determines whether is somewhere inside , possibly with intermediate containers. Returns if ancestor contains as a child, grandchild, great grandchild, etc. Determines whether is somewhere inside , possibly with intermediate containers. Property 2.12.0.0 System.Boolean Convenience property to check Flags for WidgetFlags.AppPaintable True if the AppPaintable flag is set None Property 2.12.0.0 System.Boolean Convenience property to check Flags for WidgetFlags.CompositeChild True if the CompositeChild flag is set None Property 2.12.0.0 System.Boolean Indicates if a widget can rely on its alpha channel being drawn correctly. if , alpha compositing is available. Depends on window manager feature availability on X. Property 2.12.0.0 System.Boolean Convenience property to check Flags for WidetFlags.DoubleBuffered True if the DoubleBuffered flag is set. None Property 2.12.0.0 System.Boolean Convenience property to check if the widget is Visible and Realized. True if the widget is able to be drawn on None Property 2.12.0.0 GLib.Property("is-focus") System.Boolean Determines if the is the focus widget within its toplevel. if the is the focus widget. This does not mean that the flag is necessarily set; will only be set if the toplevel additionally has the global input focus. Property 2.12.0.0 System.Boolean Check to see if the widget is Mapped true if the widget is Mapped, false otherwise. None. Property 2.12.0.0 System.Boolean Convenience property to check Flags for WidgetFlags.NoWindow True if the NoWindow flag is set. None. Property 2.12.0.0 System.Boolean Checks to see if the widget is Realized returns true if the widget is Realized None. Property 2.12.0.0 System.Boolean Convenience property to check Flags for WidgetFlags.Toplevel True if the Toplevel flag is set. None Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("key_press_event") Gtk.KeyPressEventHandler Raised when a key is pressed within this widget. Event 2.12.0.0 GLib.Signal("key_release_event") Gtk.KeyReleaseEventHandler Raised when a key is released within this widget. Event 2.12.0.0 GLib.Signal("leave_notify_event") Gtk.LeaveNotifyEventHandler Raised when the mouse leaves this widget. Method 2.12.0.0 Gtk.Widget[] Returns a list of the widgets, normally Labels, for which this widget is a the target of a mnemonic a Method 2.12.0.0 System.Void Causes a to be mapped if it isn't already. This method is only for use in widget implementations. Event 2.12.0.0 GLib.Signal("map_event") Gtk.MapEventHandler Raised just after the widget is mapped. Event 2.12.0.0 GLib.Signal("map") System.EventHandler Raised when this widget is mapped. Method 2.12.0.0 System.Boolean A boolean; set to true if the list of targets should cycle once the end of the list is reached. Activates the targets associated with the mnemonic. if the activation is done. Event 2.12.0.0 GLib.Signal("mnemonic_activate") Gtk.MnemonicActivatedHandler Raised when someone presses a mnemonic key. Property 2.12.0.0 Gtk.RcStyle Obtains the current modifier style for the .(As set by ) The modifier style for the . This rc style is owned by the . If no style has previously set, a new will be created with all values unset, and set as the modifier style for the . If you make changes to this rc style, you must call , passing in the returned rc style, to make sure that your changes take effect. Caution: passing the style back to will normally end up destroying it, because copies the passed-in style and sets the copy as the new modifier style, thus dropping any reference to the old modifier style. Add a reference to the modifier style if you want to keep it alive. Method 2.12.0.0 System.Void The state to be reset. Resets the base color to the default color. To set a specific color, use the overload of this method. Method 2.12.0.0 System.Void The state for which to set the base color. The color to assign (does not need to be allocated), or to undo the effect of previous calls to of . Sets the base color for a in a particular state. All other style values are left untouched. The base color is the background color used along with the text color (see ) for such as and . See also . Method 2.12.0.0 System.Void The state to be reset. Resets the background color to the default color. To set a specific color, use the overload of this method. Method 2.12.0.0 System.Void The state for which to set the background color. The color to assign (does not need to be allocated), or to undo the effect of previous calls of . Sets the background color for a in a particular state. All other style values are left untouched. See also . Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void The state to be reset. Resets the foreground color to the default color. To set a specific color, use the overload of this method. Method 2.12.0.0 System.Void The state for which to set the background color. The color to assign (does not need to be allocated), or to undo the effect of previous calls to of . Sets the foreground for a in a particular . All other style values are left untouched. See also . Method 2.12.0.0 System.Void The font description to use, or to undo the effect of previous calls to . Sets the font to use for a . All other style values are left untouched. See also . To change the font of a simple Widget: using Pango; ... [Widget] Label label1; ... ... label1.ModifyFont(FontDescription.FromString("Courier 16")); ... Method 2.12.0.0 System.Void The holding the style modifications. Modifies style values on the . Modifications made using this technique take precedence over style values set via an RC file, however, they will be overriden if a is explicitely set on the using . The structure is designed so each field can either be set or unset, so it is possible, using this method, to modify some style values and leave the others unchanged. Note that modifications made with this method are not cumulative with previous calls to or with such methods as . If you wish to retain previous values, you must first call , make your modifications to the returned , then call with that . On the other hand, if you first call , subsequent calls to such methods will have a cumulative effect with the initial modifications. Method 2.12.0.0 System.Void The state to be reset. Resets the text color to the default color. To set a specific color, use the overload of this method. Method 2.12.0.0 System.Void The state for which to set the text color. The color to assign (does not need to be allocated), or to undo the effect of previous calls to of . Sets the text for a in a particular state. All other style values are left untouched. The text color is the foreground color used along with the base color (see ) for such as and . See also . Event 2.12.0.0 GLib.Signal("motion_notify_event") Gtk.MotionNotifyEventHandler Raised when the pointer moves within this widget. Property 2.12.0.0 GLib.Property("name") System.String The name of the . The name of the . Event 2.12.0.0 GLib.Signal("no_expose_event") Gtk.NoExposeEventHandler Emits NoExposeEvent Property 2.12.0.0 GLib.Property("no-show-all") System.Boolean This property determines whether the widget will be affected by and . a , true if the widget should be affected Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideAccelCanActivate", Type=typeof(Gtk.Widget)) System.Boolean a , a signal ID Method raised when the event happens; override this for additional functionality. a , true if the accelerator can be activated. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideAccelClosuresChanged", Type=typeof(Gtk.Widget)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="ConnectActivate", Type=typeof(Gtk.Widget)) System.Void Method raised when the widget is activated, primarily by . Override this method in a subclass to be notified when the widget is activated, commonly when the user presses Enter or Space during key navigation. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideButtonPressEvent", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideButtonReleaseEvent", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideChildNotified", Type=typeof(Gtk.Widget)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideClientEvent", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCompositedChanged", Type=typeof(Gtk.Widget)) System.Void Default handler for event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideConfigureEvent", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDeleteEvent", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDestroyEvent", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDirectionChanged", Type=typeof(Gtk.Widget)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDragBegin", Type=typeof(Gtk.Widget)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDragDataDelete", Type=typeof(Gtk.Widget)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDragDataGet", Type=typeof(Gtk.Widget)) System.Void a a a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDragDataReceived", Type=typeof(Gtk.Widget)) System.Void a a a a a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDragDrop", Type=typeof(Gtk.Widget)) System.Boolean a a a a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDragEnd", Type=typeof(Gtk.Widget)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDragFailed", Type=typeof(Gtk.Widget)) System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDragLeave", Type=typeof(Gtk.Widget)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDragMotion", Type=typeof(Gtk.Widget)) System.Boolean a a a a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideEnterNotifyEvent", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideExposeEvent", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideFocused", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideFocusGrabbed", Type=typeof(Gtk.Widget)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideFocusInEvent", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideFocusOutEvent", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideGrabBrokenEvent", Type=typeof(Gtk.Widget)) System.Boolean To be added. Default handler for the event. To be added. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideGrabNotify", Type=typeof(Gtk.Widget)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideHelpShown", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideHidden", Type=typeof(Gtk.Widget)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideHierarchyChanged", Type=typeof(Gtk.Widget)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideKeyPressEvent", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideKeyReleaseEvent", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideLeaveNotifyEvent", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideMapEvent", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideMapped", Type=typeof(Gtk.Widget)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideMnemonicActivated", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideMotionNotifyEvent", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideNoExposeEvent", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideParentSet", Type=typeof(Gtk.Widget)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePopupMenu", Type=typeof(Gtk.Widget)) System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePropertyNotifyEvent", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideProximityInEvent", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideProximityOutEvent", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideQueryTooltip", Type=typeof(Gtk.Widget)) System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRealized", Type=typeof(Gtk.Widget)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideScreenChanged", Type=typeof(Gtk.Widget)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideScrollEvent", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionClearEvent", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionGet", Type=typeof(Gtk.Widget)) System.Void a a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionNotifyEvent", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionReceived", Type=typeof(Gtk.Widget)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionRequestEvent", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="ConnectSetScrollAdjustments", Type=typeof(Gtk.Widget)) System.Void a horizontal plane a vertical plane Virtual method to support scrollable widgets. Override this method in a subclass to support scrolling of the widget within a viewport smaller than the widget's size. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideShown", Type=typeof(Gtk.Widget)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSizeAllocated", Type=typeof(Gtk.Widget)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSizeRequested", Type=typeof(Gtk.Widget)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideStateChanged", Type=typeof(Gtk.Widget)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideStyleSet", Type=typeof(Gtk.Widget)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideUnmapEvent", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideUnmapped", Type=typeof(Gtk.Widget)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideUnrealized", Type=typeof(Gtk.Widget)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideVisibilityNotifyEvent", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideWidgetEvent", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideWidgetEventAfter", Type=typeof(Gtk.Widget)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideWindowStateEvent", Type=typeof(Gtk.Widget)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Property 2.12.0.0 Pango.Context Obtains a with the appropriate colormap, font description and base direction for . Unlike the context returned by , this context is owned by the (it can be used until the screen for the changes or the is removed from its toplevel), and will be updated to match any changes to the 's attributes. If you create and keep a using this context, you must deal with changes to the context by calling on the layout in response to the and events for the . Property 2.12.0.0 GLib.Property("parent") Gtk.Widget The parent widget of this . The parent widget. Must be a Container , Event 2.12.0.0 GLib.Signal("parent_set") Gtk.ParentSetHandler Raised whenever this widget's parent widget is set. Property 2.12.0.0 Gdk.Window Sets or obtains 's parent window. The parent window of . Sets or obtains 's parent window. Method 2.12.0.0 System.Void Location to store length of the path, or . Location to store allocated path string, or . Location to store allocated reverse path string, or . Obtains the full path to . The path is simply the name of a and all its parents in the container hierarchy, separated by periods. The name of a comes from . Paths are used to apply styles to a in gtkrc configuration files. Widget names are the type of the by default (e.g. "") or can be set to an application-specific value with . By setting the name of a , you allow users or theme authors to apply styles to that specific in their gtkrc file. fills in the path in reverse order, i.e. starting with 's name instead of starting with the name of 's outermost ancestor. Method 2.12.0.0 System.Void Removes a colormap pushed with . Removes a colormap pushed with . Method 2.12.0.0 System.Void Cancels the effect of a previous call to . Cancels the effect of a previous call to . Event 2.12.0.0 GLib.Signal("popup_menu") Gtk.PopupMenuHandler Raised when this widget's popup menu is activated. Method 2.12.0.0 System.Boolean A . Rarely-used method. This method is used to emit the events on a . Return from the event emission ( if the event was handled) If you want to synthesize an event though, don't use this method; instead, use Gtk.Main.DoEvent so the event will behave as if it were in the event queue. Event 2.12.0.0 GLib.Signal("property_notify_event") Gtk.PropertyNotifyEventHandler Emitted when a property is changed. Event 2.12.0.0 GLib.Signal("proximity_in_event") Gtk.ProximityInEventHandler Raised when the user is using a stylus or touch screen and their pointer comes near the widget. See for context. Event 2.12.0.0 GLib.Signal("proximity_out_event") Gtk.ProximityOutEventHandler Raised when the user is using a stylus or touch screen and their pointer leaves the area near the widget. See for context. Method 2.12.0.0 System.Void Colormap that is pushed by . Pushes onto a global stack of colormaps. Pushes onto a global stack of colormaps; the topmost colormap on the stack will be used to create all . Remove with . There's little reason to use this method. Method 2.12.0.0 System.Void Makes all newly-created as composite children until the corresponding call. A composite child is a child that's an implementation detail of the container it's inside and should not be visible to people using the container. Composite children aren't treated differently by GTK# (but see vs. ), but e.g. GUI builders might want to treat them in a different way. Event 2.12.0.0 GLib.Signal("query-tooltip") Gtk.QueryTooltipHandler To be added. To be added. Method 2.12.0.0 System.Obsolete System.Void Deprecated: Use instead. Method 2.12.0.0 System.Obsolete System.Void a a a a Deprecated equivalent of Method 2.12.0.0 System.Void Equivalent to calling for the entire area of a . Equivalent to calling for the entire area of a . Method 2.12.0.0 System.Void y coordinate of upper-left corner of rectangle to redraw. x coordinate of upper-left corner of rectangle to redraw. Width of region to draw. Height of region to draw. Invalidates the rectangular area of a . Invalidates the rectangular area of defined by , , and by calling on the 's window and all its child windows. Once the main loop becomes idle (after the current batch of events has been processed, roughly), the window will receive events for the union of all regions that have been invalidated. Normally you would only use this method in widget implementations. You might also use it, or directly, to schedule a redraw of a or some portion thereof. Frequently you can just call or instead of this method. Those methods will invalidate only a single window, instead of the and all its children. The advantage of adding to the invalidated region compared to simply drawing immediately is efficiency; using an invalid region ensures that you only have to redraw one time. If an immediate redraw is desired, a call to will force an immediate refresh of the drawable. This can be useful in situations where mouse activity requires immediate visible feedback on the widget. Method 2.12.0.0 System.Void Flags a to have its size renegotiated; should be called when a for some reason has a new . This method is only for use in widget implementations. One example, when you change the text in a , it queues a resize to ensure there's enough space for the new text. Method 2.12.0.0 System.Void This function works like , except that the widget is not invalidated. Method 2.12.0.0 System.Void Creates the GDK (windowing system) resources associated with a . For example, ->window will be created when a is realized. Normally realization happens implicitly; if you show a and all its parent containers, then it will be realized and mapped automatically. Realizing a requires all the widget's parent widgets to be realized; calling realizes the widget's parents in addition to itself. If a is not yet inside a toplevel window when you realize it, bad things will happen. This method is primarily used in widget implementations, and isn't very useful otherwise. Many times when you think you might need it, a better approach is to connect to a event that will be called after the is realized automatically, such as . Or simply to the realize event. Event 2.12.0.0 GLib.Signal("realize") System.EventHandler Emitted when a widget is realized. The default handler creates the Gdk window associated with the widget, and its ancestors. Property 2.12.0.0 GLib.Property("receives-default") System.Boolean Whether to make the receive the default action when it is focused. if the will receive the default action when is focused. Property 2.12.0.0 System.Boolean Sets whether a size allocation changes, the entire is queued for drawing. Returns because it is on by Default, but returns if you turn it off. By default, this setting is and the entire is redrawn on every size change. If your leaves the upper left are unchanged when made bigger, turning this setting on will improve performance. Note that for setting this flag to turns off all allocation on resizing: the will not even redraw if its position changes; this is to allow containers that don't draw anything to avoid excess invalidations. If you set this flag on a that does draw on ->window, you are responsible for invalidating both the old and new allocation of the when the is moved and responsible for invalidating regions newly when the increases size. Method 2.12.0.0 Atk.Object Gets a reference to an object's implementation. An . Gets a reference to an object's implementation. Method 2.12.0.0 Gdk.Region A , in the same coordinate system as ->allocation. That is, relative to ->window for ; relative to the parent window of ->window for widgets with their own window. Computes the intersection of a 's area and , returning the intersection. A newly allocated region holding the intersection of and . The coordinates of the return value are relative to ->window for , and relative to the parent window of ->window for widgets with their own window. The result may be empty, use to check. Method 2.12.0.0 System.Boolean Accel group for this . GDK keyval of the accelerator. Modifier key combination of the accelerator. Removes an accelerator from , previously installed with . Returns whether an accelerator was installed and could be removed. Removes an accelerator from , previously installed with . Method 2.12.0.0 System.Void a Removes a widget from the list of mnemonic labels for this widget. The widget must have previously been added to the list with . Method 2.12.0.0 Gdk.Pixbuf A stock ID. A stock size. Render detail to pass to theme engine. A convenience method that uses the theme engine and RC file settings for to look up and render it to a . A new , or if the wasn't known. The should be a stock icon ID such as or . should be a size such as . should be a string that identifies the or code doing the rendering, so that theme engines can special-case rendering for that or code. The pixels in the returned are shared with the rest of the application and should not be modified. The should be freed after use with . Method 2.12.0.0 System.Void A to move the into. Moves a from one to another, handling reference count issues to avoid destroying the . Moves a from one to another, handling reference count issues to avoid destroying the . Property 2.12.0.0 Gtk.Requisition Gets or Sets the widget's requisition a representing the widget's requisition Method 2.12.0.0 System.Void Reset the styles of and all descendents, so when they are looked up again, they get the correct values for the currently loaded RC file settings. This method is not useful for applications. Method 2.12.0.0 System.Void Recursively resets the shape on and its descendants. Recursively resets the shape on this and its descendants. Property 2.12.0.0 Gdk.Window The root window this Widget is attached to. a Property 2.12.0.0 Gdk.Screen Obtains the from the toplevel window associated with this . The for the toplevel for this . This method can only be called after the has been added to a widget hierarchy with a at the top. In general, you should only create screen specific resources when a has been realized, and you should free those resources when the is unrealized. Event 2.12.0.0 GLib.Signal("screen_changed") Gtk.ScreenChangedHandler Emitted when the screen has changed. Event 2.12.0.0 GLib.Signal("scroll_event") Gtk.ScrollEventHandler Raised when the widget is scrolled. Event 2.12.0.0 GLib.Signal("selection_clear_event") Gtk.SelectionClearEventHandler Raised when the current selection is cleared. Event 2.12.0.0 GLib.Signal("selection_get") Gtk.SelectionGetHandler Raised when this widget gets a selection from the clipboard. Event 2.12.0.0 GLib.Signal("selection_notify_event") Gtk.SelectionNotifyEventHandler Emitted when a selection is made. Event 2.12.0.0 GLib.Signal("selection_received") Gtk.SelectionReceivedHandler Raised when this widget is the destination of a received selection. Event 2.12.0.0 GLib.Signal("selection_request_event") Gtk.SelectionRequestEventHandler Raised whenever the widget receives a request for a selection. TODO: explain more about the X selection model Method 2.12.0.0 System.Int32 A . Very rarely-used method. This method is used to emit an events on a . Return from the event emission ( if the event was handled). This method is not normally used directly. The only time it is used is when propagating an to a child , and that is normally done using . If you want to force an area of a window to be redrawn, use or . To cause the redraw to be done immediately, follow that call with a call to . Property 2.12.0.0 GLib.Property("sensitive") System.Boolean Sets the sensitivity of the . A widget is sensitive if the user can interact with it, otherwise, it is grayed. if the responds to input. Insensitive widgets are "grayed out" and the user can't interact with them. Insensitive widgets are known as "inactive", "disabled", or "ghosted" in some other toolkits. The sensitivity of a widget determines whether it will receive certain events (e.g. button or key presses). If the ancestor (parent) widget sesitivity is set to false, it does not matter what the sensitivity property have, the widget will not be sensitive. Use widget.Parent.Sensitive to check whether the ancestor widget is sensitive or not. When the sensitive property is set to false, the widget property will return false. Method 2.12.0.0 System.Void Path used to look up the the accelerator. A . Given an accelerator group, , and an accelerator path, , sets up an accelerator in so whenever the key binding that is defined for is pressed, will be activated. This removes any accelerators (for any accelerator group) installed by previous calls to . Associating accelerators with paths allows them to be modified by the user and the modifications to be saved for future use. This is a low level method that would most likely be used by a menu creation system like . If you use , setting up accelerator paths will be done automatically. Method 2.12.0.0 System.Void a to set Convenience method to set a flag. None. Method 2.12.0.0 System.Boolean An adjustment for horizontal scrolling, or . An adjustment for vertical scrolling, or . For that support scrolling, sets the scroll adjustments. Returns if the supports scrolling. For that don't support scrolling, does nothing and returns . that don't support scrolling can be scrolled by placing them in a , which does support scrolling. Method 2.12.0.0 System.Void Width should request, or -1 to unset. Weight should request, or -1 to unset. Sets the minimum size of a ; that is, the 's size request will be by . You can use this method to force a to be either larger or smaller than it normally would be. In most cases, is a better choice for toplevel windows than this method; setting the default size will still allow users to shrink the window. Setting the size request will force them to leave the window at least as large as the size request. When dealing with window sizes, can be a useful method as well. Note the inherent danger of setting any fixed size - themes, translations into other languages, different fonts, and user action can all change the appropriate size for a given . So, it's basically impossible to hardcode a size that will always be correct. The size request of a is the smallest size a can accept while still methoding well and drawing itself correctly. However in some strange cases a may be allocated less than its requested size, and in many cases a may be allocated more space than it requested. Property 2.12.0.0 Gtk.Settings Obtains the settings object holding the settings (global property settings, RC file information, etc) used for this . The relevant object. Note that this property can only be called when the is attached to a toplevel, since the settings object is specific to a particular . Method 2.12.0.0 System.Obsolete System.Void a a Deprecated way to set the position of a widget. The funny "u" in the name comes from the "user position" hint specified by the X Window System, and exists for legacy reasons. This function does not work if a widget is inside a container; it is only really useful on . Method 2.12.0.0 System.Obsolete System.Void a a Sets the minimum size of a widget is deprecated and should not be used in newly-written code. Method 2.12.0.0 System.Void Shape to be added, or to remove an existing shape. X position of shape mask with respect to the window. Y position of shape mask with respect to the window. Sets a shape for this 's GDK window. This allows for transparent windows etc., see for more information. Sets a shape for this 's GDK window. This allows for transparent windows etc., see for more information. Method 2.12.0.0 System.Void Flags a to be displayed. Any that isn't shown will not appear on the screen. If you want to show all the in a container, it's easier to call on the container, instead of individually showing the . Remember that you have to show the containers containing a , in addition to the itself, before it will appear onscreen. And that when a toplevel container is shown, it is immediately realized and mapped; other shown are realized and mapped when their toplevel container is realized and mapped. Method 2.12.0.0 System.Void Recursively shows a , and any child (if the widget is a container). Recursively shows a , and any child (if the widget is a container). Event 2.12.0.0 GLib.Signal("show") System.EventHandler Raised when the widget is shown. Method 2.12.0.0 System.Void Shows a . If the is an unmapped toplevel , a that has not yet been shown, enter the main loop and wait for the window to actually be mapped. Be careful, because the main loop is running, anything can happen during this method. Method 2.12.0.0 System.Void A position and size to be allocated to . This method is only used by subclasses, to assign a size and position to their child . This fuction is only used by subclasses, to assign a size and position to their child . Event 2.12.0.0 GLib.Signal("size_allocate") Gtk.SizeAllocatedHandler Raised when size is allocated for this widget. Method 2.12.0.0 Gtk.Requisition Obtains the preferred size of a . a The container uses this information to arrange its child widgets and decide what size allocations to give them with . You can also call this method from an application, with some caveats. Most notably, getting a size request requieres the to be associated with a screen, because font information may be needed. Multihead-aware applications should keep this in mind. Also remember that the size request is not necessarily the size a will actually be allocated. Event 2.12.0.0 GLib.Signal("size_request") Gtk.SizeRequestedHandler Raised when this widget needs to notify another object of its preferred size. Property 2.12.0.0 Gtk.StateType Sets or obtains the state of a (insensitive, prelighted, etc.). New state for . Usually you should set the state using wrapper fuctions such as . This property is for use in widget implementations. This property should not be used to check the state of a Gtk.Checkbutton or Gtk.ToggleButton, use . Event 2.12.0.0 GLib.Signal("state_changed") Gtk.StateChangedHandler Raised when the state of the widget changes. See for the possible states of a widget. Property 2.12.0.0 GLib.Property("style") Gtk.Style The style of the . A style. Which contains information about how it will look (colors etc). Method 2.12.0.0 System.Object The name of a style property. Obtains the value of a style property of . The property value. This can be one of the following types: , , , , , , , , , or . Event 2.12.0.0 GLib.Signal("style_set") Gtk.StyleSetHandler Raised when a is set for this widget.t Method 2.12.0.0 System.Void Reverts the effect of a previous call to . Reverts the effect of a previous call to . This causes all queued events on to be emitted. Property 2.12.0.0 GLib.Property("tooltip-markup") System.String To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("tooltip-text") System.String To be added. To be added. To be added. Property 2.12.0.0 Gtk.Window To be added. To be added. To be added. Property 2.12.0.0 Gtk.Widget Obtains the topmost in the container hierarchy is a part of. The topmost ancestor of , or itself if there's no ancestor. Note the difference in behavior against , would return if wasn't inside a toplevel window, and if the window was inside a GtkWindow-derived which was in turn inside the toplevel . While the second case may seem unlikely, it actually happens when a is embedded inside a within the same application. To reliably find the toplevel , use and check if the flag is set on the result. Method 2.12.0.0 System.Boolean A . X position relative to source . Y position relative to source . Location to store X position relative to . Location to store Y position relative to . Translate coordinates relative to 's allocation to coordinates relative to 's allocations. Returns if either was not realized, or there was no common ancestor. In this case, nothing is stored in and . Otherwise . In order to perform this operation, both widgets must be realized, and must share a common toplevel. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void Causes a to be unmapped if it's currently mapped. This method is only for use in widget implementations. Event 2.12.0.0 GLib.Signal("unmap_event") Gtk.UnmapEventHandler Raised whenever this widget (or its parent, if is true for the parent) is told to hide itself. Event 2.12.0.0 GLib.Signal("unmap") System.EventHandler Raised when the widget is unmapped on the screen. Method 2.12.0.0 System.Void Should be called by implementations of the remove method on , to dissociate a child from the container. This method is only for use in widget implementations. Method 2.12.0.0 System.Void Causes a to be unrealized (frees all GDK resources associated with the widget). This method is only useful in widget implementations. Event 2.12.0.0 GLib.Signal("unrealize") System.EventHandler Raised when a widget is unrealized. Event 2.12.0.0 GLib.Signal("visibility_notify_event") Gtk.VisibilityNotifyEventHandler Raised whenever the visibility state of the widget changes--- partially visible or fully visible, for example. It may be preferable to handle a instead. Property 2.12.0.0 GLib.Property("visible") System.Boolean Whether the is visible. if the widget is meant to be visible. Property 2.12.0.0 Gdk.Visual Obtains the visual that will be used to render . The visual for . Obtains the visual that will be used to render . Event 2.12.0.0 GLib.Signal("event") Gtk.WidgetEventHandler Emits the WidgetEvent. Event 2.12.0.0 GLib.Signal("event_after") Gtk.WidgetEventAfterHandler Emits the WidgetEventAfter. Property 2.12.0.0 Gtk.WidgetFlags Contains Widget specific flags values. a Property 2.12.0.0 GLib.Property("width-request") System.Int32 Override for the width request for the . The width of the . Or -1 if natural request should be used. Event 2.12.0.0 GLib.Signal("window_state_event") Gtk.WindowStateEventHandler Emitted when the Window state changes. gtk-sharp-2.12.40/doc/en/Gtk/CurveType.xml0000664000175000017500000000507412767740535015075 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.CurveTypeGType)) The method to use when making the curve. Field 2.12.0.0 Gtk.CurveType free form curve Field 2.12.0.0 Gtk.CurveType linear interpolation Field 2.12.0.0 Gtk.CurveType spline interpolation gtk-sharp-2.12.40/doc/en/Gtk/Label.xml0000664000175000017500000012155012767740535014164 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Misc A widget that displays a small to medium amount of text This widget displays a small to medium amount of text, it is the widget used by other widgets, such as and for displaying text. Labels may contain mnemonics; mnemonics are underlined characters in the label, used for keyboard navigation. To provide the mnemonic, put an underscore before the mnemonic character, such as "_File". Constructor 2.12.0.0 Creates a new without text. Constructor 2.12.0.0 System.Obsolete a Internal constructor This is not typically used by C# code. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 The text of the label. Pass for no text. Creates a new label with the given text inside it. You can pass to get an empty label widget. Creates a new label with the given text inside it. You can pass to get an empty label widget. If contains an underscore, the property is automatically set to . Property 2.12.0.0 GLib.Property("angle") System.Double To be added a To be added Property 2.12.0.0 GLib.Property("attributes") Pango.AttrList The attribute list set on the label. the attribute list set on the label This function does not reflect attributes that come from the labels markup (see ). If you want to get the effective attributes for the label, use on the label's property. Event 2.12.0.0 GLib.Signal("copy_clipboard") System.EventHandler Emitted when text is copied to the clipboard. Property 2.12.0.0 GLib.Property("cursor-position") System.Int32 The current position of the insertion cursor in characters. The current position of the insertion cursor in characters Property 2.12.0.0 GLib.Property("ellipsize") Pango.EllipsizeMode To be added a To be added Method 2.12.0.0 System.Obsolete System.Void a Deprecated; do not use in new code. Gets the current string of text within the Label object and writes it to . It does not make a copy of this string so you must not write to it. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("justify") Gtk.Justification The alignment of the lines in the text of the label relative to each other The justification of the label Sets the alignment of the lines in the text of the label relative to each other. is the default value when the widget is first created with . If you instead want to set the alignment of the label as a whole, set instead. This has no effect on labels containing only a single line. Property 2.12.0.0 GLib.Property("label") System.String The text from a label widget including any embedded underlines indicating mnemonics and Pango markup. The text of the label widget. You can include markup tags to change your text appearance. See for more information. Property 2.12.0.0 Pango.Layout Gets the used to display the label. the for this label Gets the used to display the label. The layout is useful to e.g. convert text positions to pixel positions, in combination with . The returned layout is owned by the label so need not be freed by the caller. Property 2.12.0.0 System.Boolean Toggles line wrapping within the GtkLabel widget. if the lines of the label are automatically wrapped. Property 2.12.0.0 GLib.Property("wrap-mode") Pango.WrapMode Indicates the wrap mode for the label. a . Property 2.12.0.0 System.String Parses str which is marked up with the Pango text markup language a GtkLabel Parses which is marked up with the Pango text markup language, setting the text of the label and attribute list based on the parse results. Property 2.12.0.0 System.String Parses which is marked up with the Pango text markup language, setting the text of the label and attribute list based on the parse results. a new label widget Parses which is marked up with the Pango text markup language, setting the text of the label and attribute list based on the parse results. If characters in the string are preceded by an underscore, they are underlined indicating that they represent a keyboard accelerator called a mnemonic. The mnemonic key can be used to activate another widget, chosen automatically, or explicitly using . Property 2.12.0.0 GLib.Property("max-width-chars") System.Int32 To be added a To be added Property 2.12.0.0 GLib.Property("mnemonic-keyval") System.UInt32 The mnemonic accelerator key for this label. The mnemonic accelerator key for this label. Property 2.12.0.0 GLib.Property("mnemonic-widget") Gtk.Widget The widget to be activated when the label's mnemonic key is pressed. The widget to be activated when the label's mnemonic key is pressed. Event 2.12.0.0 GLib.Signal("move_cursor") Gtk.MoveCursorHandler Emitted when the cursor is moved. Method 2.12.0.0 Gtk.Label a Basic constructor. a Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCopyClipboard", Type=typeof(Gtk.Label)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideMoveCursor", Type=typeof(Gtk.Label)) System.Void a a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePopulatePopup", Type=typeof(Gtk.Label)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Obsolete System.UInt32 a Deprecated. a Checks the string passed as the parameter for underscores, and then underlines the characters following the underscores. It will take the first underlined character in a label and return it as a lower-case accelerator key, e.g. _Save will return the accelerator key value for "s". Property 2.12.0.0 GLib.Property("pattern") System.String A string with _ characters in positions correspond to characters in the text to underline. To be added. Event 2.12.0.0 GLib.Signal("populate_popup") Gtk.PopulatePopupHandler Emitted when a right-click pop-up menu is displayed Property 2.12.0.0 GLib.Property("selectable") System.Boolean Toggle whether or not the label allow the user to select text from the label, for copy-and-paste. if the label is selectable, and if not. Property 2.12.0.0 GLib.Property("selection-bound") System.Int32 The position of the opposite end of the selection from the cursor in characters. The position of the opposite end of the selection from the cursor in characters. Method 2.12.0.0 System.Void start offset (in characters not bytes) end offset (in characters not bytes) Selects a range of characters in the label, if the label is selectable. Selects a range of characters in the label, if the label is selectable. See . If the label is not selectable, this function has no effect. If or are -1, then the end of the label will be substituted. Property 2.12.0.0 GLib.Property("single-line-mode") System.Boolean To be added a To be added Property 2.12.0.0 System.String The text within the widget. a When setting the text within the widget, it overwrites any text that was there before. Property 2.12.0.0 System.String Sets the text of the label To be added. Sets the text of the label. If characters in are preceded by an underscore, they are underlined indicating that they represent a keyboard accelerator called a mnemonic. The mnemonic key can be used to activate another widget, chosen automatically, or explicitly using . Property 2.12.0.0 GLib.Property("use-markup") System.Boolean Whether the label's text is interpreted as marked up with the Pango text markup language ( more information at http://developer.gnome.org/doc/API/2.0/pango/PangoMarkupFormat.html ). if the label's text should be parsed for markup Here are a few examples of the markup you can use: TagDescription<b>Bold<big>Makes font relatively larger<i>Italic<s>Strikethrough<sub>Subscript<sup>Superscript<small>Makes font relatively smaller<tt>Monospace font<u>Underline Gtk.Label label = new Gtk.Label(); label.LabelProp = "The brown <u>fox</u> etc. and the <big>lazy</big> dog"; label.UseMarkup = true; Property 2.12.0.0 GLib.Property("use-underline") System.Boolean Whether an underline in the text indicates the next character should be used for the mnemonic accelerator key. Whether an underline in the text indicates the next character should be used for the mnemonic accelerator key. Property 2.12.0.0 GLib.Property("width-chars") System.Int32 To be added a To be added Property 2.12.0.0 GLib.Property("wrap") System.Boolean Whether lines should be wrapped if the text becomes too wide. whether lines should be wrapped gtk-sharp-2.12.40/doc/en/Gtk/WrapMode.xml0000664000175000017500000000754212767740535014667 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.WrapModeGType)) An enumeration used by TextTag. This enumeration is used by to describe the type of line wrapping. Field 2.12.0.0 Gtk.WrapMode Wrap text, breaking lines anywhere the cursor can appear. Note this is between characters, usually, if you want to be technical, between graphemes, see . Field 2.12.0.0 Gtk.WrapMode Do not wrap lines, just make the text area wider. Do not wrap lines, just make the text area wider. Field 2.12.0.0 Gtk.WrapMode Wrap text, breaking lines in between words. Wrap text, breaking lines in between words. Field 2.12.0.0 Gtk.WrapMode wrap text, breaking lines in between words, or if that is not enough, also between graphemes. gtk-sharp-2.12.40/doc/en/Gtk/TextAppearance.xml0000664000175000017500000002054512767740535016053 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType This is used by for color and position details about text. Property 2.12.0.0 System.Obsolete("Replaced by BgStipple property.") Gdk.Pixmap A stipple (dotted) pattern for the background color. a Field 2.12.0.0 Gdk.Color The background color of this text. Property 2.12.0.0 Gdk.Pixmap To be added. To be added. To be added. Property 2.12.0.0 System.Obsolete("Replaced by FgStipple property.") Gdk.Pixmap A stipple (dotted) pattern for the foreground color. a Field 2.12.0.0 Gdk.Color The foreground color of this text. Property 2.12.0.0 Gdk.Pixmap To be added. To be added. To be added. Method 2.12.0.0 Gtk.TextAppearance an , pointer to the underlying C object Internal constructor; not for developer use. a new Field 2.12.0.0 System.Int32 Offset of text in pixels above the baseline (if positive) or below the baseline (if negative). Property 2.12.0.0 System.Boolean Whether or not the text should be struck-through. a Property 2.12.0.0 Pango.Underline Style of underlining for this text. To be added. Field 2.12.0.0 Gtk.TextAppearance A default/empty TextAppearance. gtk-sharp-2.12.40/doc/en/Gtk/HScale.xml0000664000175000017500000001351312767740535014303 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Scale A horizontal slider widget for selecting a value from a range. The HScale widget allows the user to select a value with a horizontal slider. This widget and its model is manipulated using methods and properties in its super classes, and . Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 The model to use for this HScale Creates a new horizontal slider based on the data in . To create a horizontal slider without explicit use of a , use the alternative constructor. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 The minimum value that is accepted by this HScale. The maximum value that is accepted by this HScale. The value to adjust the HScale by when 'sliding'. Creates a new horizontal slider without the need for an object. Creates a new horizontal slider that lets the user input a number between (and including) and . Each adjustment of the slider changes the value by , which must be non-zero. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gtk/EditingStartedHandler.xml0000664000175000017500000000423612767740535017356 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the EditingStartedHandler instance to the event. The methods referenced by the EditingStartedHandler instance are invoked whenever the event is raised, until the EditingStartedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/AccelActivateArgs.xml0000664000175000017500000001237712767740535016460 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs This class extends with information about an activated accelerator. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Constructs and initializes a new instance of with the default values. When manually evoking an delegate, this constructor is used create the second argument. Property 2.12.0.0 GLib.Object Gets the object on which the accelerator was activated. A containing the object on which the accelerator was activated. Property 2.12.0.0 System.UInt32 Gets the key value that was used to activate the accelerator. A containing the key value that was used to activate the accelerator. This value represents a specific non-modifier key on the keyboard. A key combination may include a standard key and modifier keys, for example Ctrl-S. Check for the modifiers that were applied. Property 2.12.0.0 Gdk.ModifierType Gets the mouse and keyboard modifier combination that was used to activate the accelerator. A bitwise combined containing the mouse and keyboard modifier combination that was used to activate the accelerator. Modifiers can include Ctrl, Shift, Alt, Meta keys (Windows, Apple), and mouse buttons. These are items that by themselves my perform no task, but when combined, often with , represent an accelerator. For example, Ctrl-S, Ctrl-Alt-Del, Ctrl-Left Mouse Button, or Apple-Control-Reset. gtk-sharp-2.12.40/doc/en/Gtk/EditableImplementor.xml0000664000175000017500000001403212767740535017066 00000000000000 gtk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Gtk.EditableAdapter)) Editable implementor interface. The implementable portion of the interface. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/RecentChooserDefault.xml0000664000175000017500000005365212767740535017224 00000000000000 gtk-sharp 2.12.0.0 Gtk.VBox Gtk.RecentChooser To be added. To be added. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 System.Obsolete To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Property 2.12.0.0 Gtk.RecentInfo To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("filter") Gtk.RecentFilter To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("item-activated") System.EventHandler To be added. To be added. Property 2.12.0.0 GLib.List To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("limit") System.Int32 To be added. To be added. To be added. Method 2.12.0.0 GLib.SList To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("local-only") System.Boolean To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideItemActivated", Type=typeof(Gtk.RecentChooserDefault)) System.Void To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionChanged", Type=typeof(Gtk.RecentChooserDefault)) System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Event 2.12.0.0 GLib.Signal("selection-changed") System.EventHandler To be added. To be added. Property 2.12.0.0 GLib.Property("select-multiple") System.Boolean To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("show-icons") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("show-not-found") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 System.Obsolete System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("show-private") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("show-tips") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 Gtk.RecentSortFunc To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("sort-type") Gtk.RecentSortType To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/GrabBrokenEventHandler.xml0000664000175000017500000000171112767740535017455 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void sender of the event. args related to the event. GrabBrokenEvent handler. gtk-sharp-2.12.40/doc/en/Gtk/PageRange.xml0000664000175000017500000000565612767740535015006 00000000000000 gtk-sharp 2.12.0.0 System.ValueType Page range structure. Field 2.12.0.0 System.Int32 End page. Method 2.12.0.0 Gtk.PageRange A native struct pointer. Creates a managed range from a native range. A managed structure. Normally only used by language bindings. Field 2.12.0.0 System.Int32 Start page. Field 2.12.0.0 Gtk.PageRange An Empty range. gtk-sharp-2.12.40/doc/en/Gtk/Target.xml0000664000175000017500000000573712767740535014403 00000000000000 gtk-sharp 2.12.0.0 System.Object To be added. To be added. Constructor 2.12.0.0 To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 Gtk.TargetEntry To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/TreeSelectionForeachFunc.xml0000664000175000017500000000264512767740535020021 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added. A delegate class for functions that can be run on every element of a . See for how to invoke a delegate of this type. gtk-sharp-2.12.40/doc/en/Gtk/SurroundingDeletedArgs.xml0000664000175000017500000000566012767740535017573 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Int32 The number of characters that were deleted. A . Property 2.12.0.0 System.Int32 The offset the characters were deleted near. A gtk-sharp-2.12.40/doc/en/Gtk/WidgetEventAfterArgs.xml0000664000175000017500000000562312767740535017173 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.Event The uses this method to access the details of an event. a gtk-sharp-2.12.40/doc/en/Gtk/PrintJob.xml0000664000175000017500000003202212767740535014667 00000000000000 gtk-sharp 2.12.0.0 GLib.Object Print job class. Represents a job sent to a printer. Direct use of this class is only necessary when using the non-portable API. The property accesses the cairo surface onto which the pages should be drawn. When finished drawing, call to send the job to the printer. Constructor 2.12.0.0 System.Obsolete Native type value. Obsolete Protected Constructor. Do not use. Replaced by which registers native types automatically. Subclasses should chain to the IntPtr constructor passing and call CreateNativeObject instead of using this constructor. This constructor is provided for backward compatibility if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Native object pointer. Internal constructor This is not typically used by C# code. Exposed primarily for use by language bindings to wrap native object instances. Constructor 2.12.0.0 Job title. Printer target. Print settings. Page setup. Public constructor. Instantiates a print job. Property 2.12.0.0 GLib.GType GType Property. The native value. Returns the native value for . Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideStatusChanged", Type=typeof(Gtk.PrintJob)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 2.12.0.0 GLib.Property("page-setup") Gtk.PageSetup PageSetup property. A . Property 2.12.0.0 GLib.Property("printer") Gtk.Printer Printer property. A . The printer associated with the job. Method 2.12.0.0 System.Void Completion callback delegate. Sends a job to a printer. When sending is complete, is invoked. Method 2.12.0.0 System.Boolean Print source file. SetSourceFile method. If , an error occurred. Causes the print job to send an existing source document to the printer. Typically the file is in Postscript format, but on some platforms PDF may also be supported. Property 2.12.0.0 GLib.Property("settings") Gtk.PrintSettings Settings property. The for the job. Property 2.12.0.0 Gtk.PrintStatus Status property. a . Indicates the current print status of the job. Event 2.12.0.0 GLib.Signal("status-changed") System.EventHandler StatusChanged event. Reports changes in print status. Only raised if is . Use to obtain the current status. Property 2.12.0.0 GLib.Property("title") System.String Title property. The job title string, or if untitled. Property 2.12.0.0 GLib.Property("track-print-status") System.Boolean TrackPrintStatus property. If , the job raises events to report status. Indicates if the job will raise events to report print progress. gtk-sharp-2.12.40/doc/en/Gtk/PrintFunc.xml0000664000175000017500000000211312767740535015046 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Delegate for printing. gtk-sharp-2.12.40/doc/en/Gtk/TitleChangedArgs.xml0000664000175000017500000000442112767740535016312 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 3.16.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 3.16.0.0 System.String Holds the new title for the window. the new title. gtk-sharp-2.12.40/doc/en/Gtk/PrintCapabilities.xml0000664000175000017500000001324112767740535016550 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.PrintCapabilitiesGType)) System.Flags PrintCapabilites enumeration. Field 2.12.0.0 Gtk.PrintCapabilities Collation is supported. Field 2.12.0.0 Gtk.PrintCapabilities Multiple copy printing is supported. Field 2.12.0.0 Gtk.PrintCapabilities Sends documents in PDF format. Field 2.12.0.0 Gtk.PrintCapabilities Sends documents in Postscript format. Field 2.12.0.0 Gtk.PrintCapabilities To be added. Field 2.12.0.0 Gtk.PrintCapabilities Supports partial document printing. Field 2.12.0.0 Gtk.PrintCapabilities Preview is supported. Field 2.12.0.0 Gtk.PrintCapabilities Reverse is supported. Field 2.12.0.0 Gtk.PrintCapabilities Scaled printing is supported. gtk-sharp-2.12.40/doc/en/Gtk/RowDeletedHandler.xml0000664000175000017500000000375712767740535016511 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the RowDeletedHandler instance to the event. The methods referenced by the RowDeletedHandler instance are invoked whenever the event is raised, until the RowDeletedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/HPaned.xml0000664000175000017500000001006312767740535014300 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Paned A container for two children, separated horizontally by a splitter bar. s are added to this container using the and methods. See the documentation of for more information. Constructor 2.12.0.0 Creates a new container, split horizontally. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gtk/Gc.xml0000664000175000017500000000670612767740535013503 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object A shell around ; represents a graphics context. TODO: add examples. Constructor 2.12.0.0 Basic constructor. Method 2.12.0.0 Gdk.GC a a a a Returns a with the specified values. a Method 2.12.0.0 System.Void a Releases the that is passed in. gtk-sharp-2.12.40/doc/en/Gtk/Notebook+NotebookChild.xml0000664000175000017500000002000612767740535017437 00000000000000 gtk-sharp 2.12.0.0 Gtk.Container+ContainerChild A child of a , used to interact with its container child properties. Constructor 2.12.0.0 To be added. To be added. To be added. To be added. Property 2.12.0.0 Gtk.ChildProperty("detachable") System.Boolean Indicates if tab is detachable by the user. defaults to . Property 2.12.0.0 Gtk.ChildProperty("menu-label") System.String The page's menu label the label of the page in the notebook's pop-up menu Property 2.12.0.0 Gtk.ChildProperty("position") System.Int32 The page's position within the notebook. the position Property 2.12.0.0 Gtk.ChildProperty("reorderable") System.Boolean Indicates if tab is reorderable by user action. defaults to . Property 2.12.0.0 Gtk.ChildProperty("tab-expand") System.Boolean The "expand" property of a tab's label if the page's label is set to "expand" See for more details. Property 2.12.0.0 Gtk.ChildProperty("tab-fill") System.Boolean The "fill" property of a tab's label if the page's label is set to "fill" See for more details. Property 2.12.0.0 Gtk.ChildProperty("tab-label") System.String The page's tab label the label Property 2.12.0.0 Gtk.ChildProperty("tab-pack") Gtk.PackType The pack type of a page's tab label the label's See for more details. gtk-sharp-2.12.40/doc/en/Gtk/LinkButtonUriFunc.xml0000664000175000017500000000165012767740535016530 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/CellRendererProgress.xml0000664000175000017500000003366112767740535017245 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.CellRenderer Renders numbers as progress bars Constructor 2.12.0.0 Default constructor Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 a Internal constructor This is not typically used by C# code. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("orientation") Gtk.ProgressBarOrientation To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("pulse") System.Int32 To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Gtk.CellEditable To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("text") System.String Determines the label which will be drawn over the progress bar. a Setting this property to causes the default label to be displayed. Setting this property to an empty string causes no label to be displayed. Property 2.12.0.0 GLib.Property("text-xalign") System.Single To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("text-yalign") System.Single To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("value") System.Int32 Determines the percentage to which the progress bar will be "filled in". a Allowed values are between 0 and 100. gtk-sharp-2.12.40/doc/en/Gtk/SettingsPropertyValue.xml0000664000175000017500000000327112767740535017506 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque A value for a property. Constructor 2.12.0.0 a , a pointer to the underlying C object. Constructor. This is not for general developer use; it's mostly internal. gtk-sharp-2.12.40/doc/en/Gtk/OutputHandler.xml0000664000175000017500000000301612767740535015737 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the OutputHandler instance to the event. The methods referenced by the OutputHandler instance are invoked whenever the event is raised, until the OutputHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/TreeViewSearchEqualFunc.xml0000664000175000017500000000302412767740535017624 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Boolean To be added. To be added. To be added. To be added. A delegate to specify a compare function for interactive searching. To be added. See for more context about how this delegate is used. gtk-sharp-2.12.40/doc/en/Gtk/MenuBar.xml0000664000175000017500000001505312767740535014476 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.MenuShell The MenuBar is a subclass of MenuShell which contains one to many MenuItem. The result is a standard menu bar which can hold many menu items. allows for a shadow type to be set for aesthetic purposes. using System; using Gtk; public class MenuApp { public static void Main (string[] args) { new MenuApp(); } public MenuApp(){ Application.Init(); Window win = new Window ("Menu Sample App"); MenuBar mb = new MenuBar (); Menu file_menu = new Menu (); MenuItem exit_item = new MenuItem("Exit"); exit_item.Activated += new EventHandler (on_exit_item_activate); file_menu.Append (exit_item); MenuItem file_item = new MenuItem("File"); file_item.Submenu = file_menu; mb.Append (file_item); win.Add (mb); win.ShowAll (); Application.Run (); } public void on_exit_item_activate(object o, EventArgs args) { Application.Quit (); } Constructor 2.12.0.0 A constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.Property("child-pack-direction") Gtk.PackDirection Child packing direction. a . Indicates how child menu items are layed out on the menu bar's submenus. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("pack-direction") Gtk.PackDirection Packing direction. a . Indicates how menu items are layed out on the menu bar. gtk-sharp-2.12.40/doc/en/Gtk/TreePath.xml0000664000175000017500000004425212767740535014664 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque Represents a particular node of a . A TreePath can be converted into either an array of unsigned integers or a string. The string form is a list of numbers separated by a colon. Each number refers to the offset at that level. Thus, the path "0" refers to the root node and the path "2:4" refers to the fifth child of the third node. Constructor 2.12.0.0 Constructor; builds an empty TreePath. Constructor 2.12.0.0 a Creates a path for a set of indices. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 an object of type Creates a new object. The is expressed in the form "3:2:5". The toplevel or root path would thus be "0". Method 2.12.0.0 System.Void a , the index to append Appends a new index to a path. As a result, the depth of the path is increased. Method 2.12.0.0 System.Int32 an object of type , the path to compare Compares two paths. If this path appears before b in a tree, then -1 is returned. If the parameter path appears before this path, then 1 is returned. If the two nodes are equal, then 0 is returned. an object of type Method 2.12.0.0 Gtk.TreePath Copies a TreePath into a new TreePath object. an object of type , the new copy Property 2.12.0.0 System.Int32 Returns the current depth of the TreePath. an object of type Method 2.12.0.0 System.Void Changes this TreePath object to refer to its own first child. FIXME: make sure this is right. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Obsolete("Gtk.TreePath is now freed automatically") System.Void Disposes of the TreePath object and any resources it was using. Method 2.12.0.0 System.Void To be added. To be added. To be added. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.Int32[] Returns the current indices of the TreePath. This is an array of integers, each representing a node in a tree. This value should not be freed. a Method 2.12.0.0 System.Boolean an object of type , the potential descendant Tests whether this TreePath is an ancestor of a given TreePath an object of type , returns true if this TreePath is an ancestor of the given TreePath. Method 2.12.0.0 System.Boolean an object of type , the potential ancestor to test Tests whether this TreePath is a descendant of a particular TreePath. an object of type , true if this TreePath is the other TreePath's descendant. Method 2.12.0.0 Gtk.TreePath Creates a new GtkTreePath. an object of type The string representation of this path is "0". Method 2.12.0.0 System.Void Moves the TreePath to point to the next node at the current depth. Method 2.12.0.0 System.Void a , the index to prepend Prepends a new index to a path. As a result, the depth of the path is increased. Method 2.12.0.0 System.Boolean Moves the TreePath to point to the previous node at the current depth, if it exists. an object of type , true if the path has a previous node and the move was made successfully. Method 2.12.0.0 System.String To be added. To be added. To be added. Method 2.12.0.0 System.Boolean Moves the TreePath to point to its parent node, if it has a parent. an object of type , true if the path has a previous node and the move was made successfully. gtk-sharp-2.12.40/doc/en/Gtk/PropertyNotifyEventHandler.xml0000664000175000017500000000324612767740535020463 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PropertyNotifyEventHandler instance to the event. The methods referenced by the PropertyNotifyEventHandler instance are invoked whenever the event is raised, until the PropertyNotifyEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/RowCollapsedHandler.xml0000664000175000017500000000312412767740535017035 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the RowCollapsedHandler instance to the event. The methods referenced by the RowCollapsedHandler instance are invoked whenever the event is raised, until the RowCollapsedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/TreeCellDataFunc.xml0000664000175000017500000000311512767740535016246 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added. To be added. A delegate for methods that handle tree cell data. Methods with this shape are used to specify how to fill in tree data; see for example for one place where this class is used as a parameter. gtk-sharp-2.12.40/doc/en/Gtk/AccelChangedArgs.xml0000664000175000017500000000714512767740535016246 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.IntPtr A pointer to the underlying C data of the accelerator that was changed. A Property 2.12.0.0 System.UInt32 Gets the key value for the accelerator event. An integer. Property 2.12.0.0 Gdk.ModifierType Gets the state of the Shift, Control, Alt, and other modifier keys and mouse buttons. An object of type gtk-sharp-2.12.40/doc/en/Gtk/DragBeginArgs.xml0000664000175000017500000000442512767740535015605 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.DragContext The context of this drag. a gtk-sharp-2.12.40/doc/en/Gtk/FocusedArgs.xml0000664000175000017500000000446312767740535015355 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.DirectionType How the focus on this widget behaves. gtk-sharp-2.12.40/doc/en/Gtk/IMContextSimple.xml0000664000175000017500000001245712767740535016176 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.IMContext An input method context supporting table-based input methods. Constructor 2.12.0.0 Public constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.UInt16 a a Adds an additional table to search to the input context. a Each row of the table consists of key symbols followed by two interpreted as the high and low words of a Unicode value. Tables are searched starting from the last added. The table must be sorted in dictionary order on the numeric value of the key symbol fields. (Values beyond the length of the sequence should be zero.) Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gtk/TreeDestroyCountFunc.xml0000664000175000017500000000255512767740535017246 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added. Delegate class for use by . Almost never used; see that method's docs to find out why you might want to use it. gtk-sharp-2.12.40/doc/en/Gtk/Input.xml0000664000175000017500000001113512767740535014241 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Input-handling code for the main loop of programs. Constructor 2.12.0.0 Basic constructor. Method 2.12.0.0 System.Obsolete System.UInt32 an , a file descriptor. an , the condition. an , the function to call. a , the marshaller to use instead of the function (if non-null). a , callback data passed to the function. a , the callback function to call with "data" when the input handler is removed, or null. Registers a function to be called when a condition becomes true on a file descriptor. a , a unique id for the event source; to be used with . Method 2.12.0.0 System.Obsolete System.Void a identifying the function to remove, provided by . Removes the function with the given id. gtk-sharp-2.12.40/doc/en/Gtk/InsertionFontStyleChangedHandler.xml0000664000175000017500000000335312767740535021537 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the InsertionFontStyleChangedHandler instance to the event. The methods referenced by the InsertionFontStyleChangedHandler instance are invoked whenever the event is raised, until the InsertionFontStyleChangedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/SelectPageArgs.xml0000664000175000017500000000444512767740535016001 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Boolean Whether or not to move the focus to the selected page. A gtk-sharp-2.12.40/doc/en/Gtk/CornerType.xml0000664000175000017500000000705412767740535015241 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.CornerTypeGType)) Specifies which corner a child widget should be placed in when packed into a . This is effectively the opposite of where the scroll bars are placed. This is effectively the opposite of where the scroll bars are placed. Field 2.12.0.0 Gtk.CornerType Place the scrollbars on the top and right of the widget. Field 2.12.0.0 Gtk.CornerType Place the scrollbars on the top and left of the widget. Field 2.12.0.0 Gtk.CornerType Place the scrollbars on the right and bottom of the widget (default behaviour). Field 2.12.0.0 Gtk.CornerType Place the scrollbars on the left and bottom of the widget. gtk-sharp-2.12.40/doc/en/Gtk/UIManager.xml0000664000175000017500000010470512767740535014760 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Constructs menus and toolbars from an XML description A constructs a user interface (menus and toolbars) from one or more UI definitions, which reference actions from one or more action groups. TODO: all the xml stuff UI Merging The most remarkable feature of GtkUIManager is that it can overlay a set of menuitems and toolitems over another one, and demerge them later. Merging is done based on the names of the XML elements. Each element is identified by a path which consists of the names of its anchestors, separated by slashes. For example, the menuitem named "Left" in the example above has the path /ui/menubar/JustifyMenu/Left and the toolitem with the same name has path /ui/toolbar1/JustifyToolItems/Left. Accelerators Every action has an accelerator path. Accelerators are installed together with menuitem proxies, but they can also be explicitly added with <accelerator> elements in the UI definition. This makes it possible to have accelerators for actions even if they have no visible proxies. Smart Separators The separators created by GtkUIManager are "smart", i.e. they do not show up in the UI unless they end up between two visible menu or tool items. Separators which are located at the very beginning or end of the menu or toolbar containing them, or multiple separators next to each other, are hidden. This is a useful feature, since the merging of UI elements from multiple sources can make it hard or impossible to determine in advance whether a separator will end up in such an unfortunate position. Empty Menus Submenus pose similar problems to separators inconnection with merging. It is impossible to know in advance whether they will end up empty after merging. GtkUIManager offers two ways to treat empty submenus: make them disappear by hiding the menu item they're attached toadd an insensitive "Empty" item The behaviour is chosen based on the "is_important" property of the action to which the submenu is associated. Constructor 2.12.0.0 Default constructor Constructor 2.12.0.0 System.Obsolete a Internal constructor Constructor 2.12.0.0 a Internal constructor Property 2.12.0.0 Gtk.AccelGroup The associated with this UIManager a Property 2.12.0.0 Gtk.ActionGroup[] The list of action groups associated with this UIManager. a Event 2.12.0.0 GLib.Signal("actions_changed") System.EventHandler The "actions-changed" signal is emitted whenever the set of actions changes. Property 2.12.0.0 GLib.Property("add-tearoffs") System.Boolean Sets the "add_tearoffs" property, which controls whether menus generated by this will have tearoff menu items. a , whether tearoff menu items are added Note that this only affects regular menus. Generated popup menus never have tearoff menu items. Method 2.12.0.0 System.Void a , the merge id for the merged UI a a , the name for the added UI element a , the name of the action to be proxied, or to add a separator a . the type of UI element to add. a . If , the UI element is added before its siblings, otherwise it is added after its siblings. Adds a UI element to the current contents. If type is , Gtk inserts a menuitem, toolitem or separator if such an element can be inserted at the place determined by path. Otherwise type must indicate an element that can be inserted at the place determined by path. Method 2.12.0.0 System.UInt32 a , the name of the file to parse Parses a file containing a UI definition and merges it with the current contents. a . The merge id for the merged UI. The merge id can be used to unmerge the UI with . If an error occurred, the return value is 0. Method 2.12.0.0 System.UInt32 a Adds a UI element to the current contents from an embedded resource. a Method 2.12.0.0 System.UInt32 a to parse Parses a string containing a UI definition and merges it with the current contents. a . The merge id for the merged UI. The merge id can be used to unmerge the UI with . If an error occurred, the return value is 0. An enclosing <ui> element is added if it is missing. Event 2.12.0.0 GLib.Signal("add_widget") Gtk.AddWidgetHandler The AddWidget signal is emitted for each generated menubar and toolbar. It is not emitted for generated popup menus, which can be obtained by . Event 2.12.0.0 GLib.Signal("connect_proxy") Gtk.ConnectProxyHandler The ConnectProxy signal is emitted after connecting a proxy to an action in the group. This is intended for simple customizations for which a custom action class would be too clumsy, e.g. showing tooltips for menuitems in the statusbar. Event 2.12.0.0 GLib.Signal("disconnect_proxy") Gtk.DisconnectProxyHandler The DisconnectProxy signal is emitted after disconnecting a proxy from an action in the group. Method 2.12.0.0 System.Void Makes sure that all pending updates to the UI have been completed. This may occasionally be necessary, since updates the UI in an idle function. Method 2.12.0.0 Gtk.Action a Looks up an action by following a path. a whose proxy widget is found by following the path, or if no widget was found. See for more information about paths. Method 2.12.0.0 Gtk.Widget[] a Obtains a list of all toplevel widgets of the requested types. a Allowed types are , and . Method 2.12.0.0 Gtk.Widget a Looks up a widget by following a path. a found by following the path, or if no widget was found. The path consists of the names specified in the XML description of the UI. separated by '/'. Elements which do not have a name or action attribute in the XML (e.g. <popup>) can be addressed by their XML element name (e.g. "popup"). The root element ("/ui") can be omitted in the path. The widget found by following a path that ends in a <menu> element is the menuitem to which the menu is attached, not the menu itself. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 System.Void a to be inserted a , the position at which the group will be inserted. Inserts an action group into the list of action groups associated with this UIManager Actions in earlier groups hide actions with the same name in later groups. Method 2.12.0.0 System.UInt32 Returns an unused merge id, suitable for use with . a Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideActionsChanged", Type=typeof(Gtk.UIManager)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideAddWidget", Type=typeof(Gtk.UIManager)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideConnectProxy", Type=typeof(Gtk.UIManager)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDisconnectProxy", Type=typeof(Gtk.UIManager)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePostActivate", Type=typeof(Gtk.UIManager)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePreActivate", Type=typeof(Gtk.UIManager)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Event 2.12.0.0 GLib.Signal("post_activate") Gtk.PostActivateHandler The PostActivate signal is emitted just after the action is activated. This is intended for applications to get notification just after any action is activated. Event 2.12.0.0 GLib.Signal("pre_activate") Gtk.PreActivateHandler The PreActivate signal is emitted just before the action is activated. This is intended for applications to get notification just before any action is activated. Method 2.12.0.0 System.Void a emoves an action group from the list of action groups Method 2.12.0.0 System.Void a from when the ui was added. Unmerges the content identified by . Property 2.12.0.0 GLib.Property("ui") System.String The UI represented in XML. a gtk-sharp-2.12.40/doc/en/Gtk/RadioAction.xml0000664000175000017500000002271712767740535015346 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.ToggleAction An action controlled by a radio button. Constructor 2.12.0.0 System.Obsolete a Protected constructor. Constructor 2.12.0.0 a , pointer to internal C data. Constructor for internal use. Constructor 2.12.0.0 a , a unique name for the action a , the label to display on menu items and buttons a , a tooltip for this action a , the stock icon to use. a , the value that should return if this action is activated. Public constructor for general use. Event 2.12.0.0 GLib.Signal("changed") Gtk.ChangedHandler This event is raised whenever this radio button is toggled. Property 2.12.0.0 GLib.Property("current-value") System.Int32 This action's current value. a Should be equivalent to if this action is selected. Property 2.12.0.0 GLib.Property("group") GLib.SList The group this radio action belongs to. a Property 2.12.0.0 GLib.GType The of this object. a Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideChanged", Type=typeof(Gtk.RadioAction)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 2.12.0.0 GLib.Property("value") System.Int32 The value returned if this action is activated. a gtk-sharp-2.12.40/doc/en/Gtk/NotebookPage.xml0000664000175000017500000000344012767740535015517 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque This class has been deprecated. This class has been deprecated. The PageNum function that used to exist here is now Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. gtk-sharp-2.12.40/doc/en/Gtk/TargetFlags.xml0000664000175000017500000000674412767740535015357 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.TargetFlagsGType)) System.Flags The enumeration is used to specify constraints on an entry in a . Field 2.12.0.0 Gtk.TargetFlags If this is set, the target will only be selected for drags within a single application. Field 2.12.0.0 Gtk.TargetFlags To be added. Field 2.12.0.0 Gtk.TargetFlags To be added. Field 2.12.0.0 Gtk.TargetFlags If this is set, the target will only be selected for drags within a single widget. gtk-sharp-2.12.40/doc/en/Gtk/AccelCanActivateHandler.xml0000664000175000017500000000343512767740535017556 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Delegate for determining whether an accelerator can activate a particular widget; see gtk-sharp-2.12.40/doc/en/Gtk/RowExpandedArgs.xml0000664000175000017500000000557412767740535016211 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.TreeIter The row that was expanded. A Property 2.12.0.0 Gtk.TreePath The path of the row that was expanded. A gtk-sharp-2.12.40/doc/en/Gtk/HandleBox.xml0000664000175000017500000003372212767740535015014 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Bin A container with a handle and a detachable child widget. The HandleBox widget allows a portion of a window to be "torn off". It is a widget that displays its child with a handle that the user can drag to create a separate floating window containing the child widget and the 'handle'. A thin ghost is drawn in the original location of the HandleBox. By dragging the separate window back to its original location, it can be reattached. When reattaching, the ghost and float window, must be aligned along one of the edges, the . This can either be specified by the application programmer explicitly, otherwise a reasonable default will be used, based on the . To make detaching and reattaching the HandleBox as minimally confusing as possible to the user, it is important to set the snap edge so that it does not move when the HandleBox is deattached. For instance, if the HandleBox is packed at the bottom of a , then when the HandleBox is detached, the bottom edge of the HandleBox's allocation will remain fixed as the height of the HandleBox shrinks, so the snap edge should be set to . The child of this widget is set using the method in . Constructor 2.12.0.0 The main way to create a HandleBox. Creates a new HandleBox, with the set to the . Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Event 2.12.0.0 GLib.Signal("child_attached") Gtk.ChildAttachedHandler This event is raised when the contents of the HandleBox are reattached to the main window. Event 2.12.0.0 GLib.Signal("child_detached") Gtk.ChildDetachedHandler This event is raised when the contents of the handlebox are detached from the main window. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("handle-position") Gtk.PositionType Manage where the handle of this container is placed. The current position of the handle. Note: In western cultures, anything other than a handle for horizontal HandleBoxes, or a handle for vertical HandleBoxes, may seem strange to users. The reverse is likely to be true for cultures with languages that are written from right to left. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideChildAttached", Type=typeof(Gtk.HandleBox)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideChildDetached", Type=typeof(Gtk.HandleBox)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 2.12.0.0 GLib.Property("shadow") Gtk.ShadowType Manage the appearance of the surrounding the child widget. The current style of shadow in use. Property 2.12.0.0 Gtk.ShadowType Manage the appearance of the surrounding the child widget. The current style of shadow in use. Property 2.12.0.0 GLib.Property("snap-edge") Gtk.PositionType Manage which edge a detached HandleBox must reattach to. The current edge that snapping works with. To ensure good usability, this edge should be set to a side of the HandleBox whose position or size will not be altered when the child is detached. Property 2.12.0.0 GLib.Property("snap-edge-set") System.Boolean Whether to use the value from the snap_edge property or a value derived from handle_position. a gtk-sharp-2.12.40/doc/en/Gtk/HierarchyChangedArgs.xml0000664000175000017500000000463312767740535017154 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.Widget The top-level widget which was previously the parent of the widget that raised the event. A gtk-sharp-2.12.40/doc/en/Gtk/PageSetup.xml0000664000175000017500000004133312767740535015042 00000000000000 gtk-sharp 2.12.0.0 GLib.Object To be added. To be added. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 System.Obsolete To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Method 2.12.0.0 Gtk.PageSetup To be added. To be added. To be added. Method 2.12.0.0 System.Double To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Double To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Double To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Double To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Double To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Double To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Double To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Double To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 Gtk.PageOrientation To be added. To be added. To be added. Property 2.12.0.0 Gtk.PaperSize To be added. To be added. To be added. Property 2.12.0.0 Gtk.PaperSize To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/DragFailedHandler.xml0000664000175000017500000000163612767740535016427 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/UnmapEventHandler.xml0000664000175000017500000000321212767740535016517 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. Called whenever a widget is unmapped--- that is, whenever its window is hidden. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the UnmapEventHandler instance to the event. The methods referenced by the UnmapEventHandler instance are invoked whenever the event is raised, until the UnmapEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/AssistantPageType.xml0000664000175000017500000000650212767740535016554 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.AssistantPageTypeGType)) To be added. To be added. Field 2.12.0.0 Gtk.AssistantPageType To be added. Field 2.12.0.0 Gtk.AssistantPageType To be added. Field 2.12.0.0 Gtk.AssistantPageType To be added. Field 2.12.0.0 Gtk.AssistantPageType To be added. Field 2.12.0.0 Gtk.AssistantPageType To be added. gtk-sharp-2.12.40/doc/en/Gtk/SelectionData.xml0000664000175000017500000004631012767740535015664 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque A type to represent data that's selected as part of a drag-and-drop or clipboard operation. Constructor 2.12.0.0 a , pointer to the underlying C data. Constructor. Method 2.12.0.0 Gtk.SelectionData Copy the object by value. a Property 2.12.0.0 System.Byte[] The data as a sequence of bytes. a Method 2.12.0.0 System.Void To be added. To be added. Property 2.12.0.0 System.Int32 The unit length of the data in bits. a On most systems, this is 8 for a string and 32 for an integer. Method 2.12.0.0 System.Obsolete("Gtk.SelectionData is now freed automatically") System.Void Releases memory that was used by this object. Method 2.12.0.0 System.Void To be added. To be added. To be added. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.Int32 The length of the selected data. a Property 2.12.0.0 Gdk.Pixbuf To be added a To be added Property 2.12.0.0 Gdk.Atom The selected data. a Method 2.12.0.0 System.Void type of selection data (expressed via a ) format (number of bits in a unit) - set this to 8 and encode your data as UTF-8 a array containing the data to send to this selection object - use .GetBytes(string) to encode string data as UTF-8 before passing it here Stores new data into this object. Should only be called from a selection handler callback. Method 2.12.0.0 System.Void type of selection data (expressed via a ) format (number of bits in a unit) - set this to 8 and encode your data as UTF-8 a array containing the data to send to this selection object - use .GetBytes(string) to encode string data as UTF-8 before passing it here length of the data in bytes Stores new data into this object. Should only be called from a selection handler callback. The version auto-calculates the length for you. Method 2.12.0.0 System.Boolean a To be added a To be added Method 2.12.0.0 System.Boolean a To be added a To be added Property 2.12.0.0 Gdk.Atom The type of target being used. a XXX: Add a list of useful strings for target types. Property 2.12.0.0 Gdk.Atom[] Gets the selection data as an array of targets. a Method 2.12.0.0 System.Boolean a To be added a To be added Method 2.12.0.0 System.Boolean To be added. Indicates if any targets provide rich text. . Method 2.12.0.0 System.Boolean Assuming that this selection data object holds a list of targets, determines if any of the targets in can be used to provide text. a Method 2.12.0.0 System.Boolean Indicates if any targets provide a URI list. a . Property 2.12.0.0 System.String The text stored in the selection. A . Property 2.12.0.0 Gdk.Atom The type of selection data a XXX: elaborate on the possible values here. Property 2.12.0.0 System.String To be added a To be added gtk-sharp-2.12.40/doc/en/Gtk/DetailsAcquiredArgs.xml0000664000175000017500000000413012767740535017017 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Boolean Success indicator. if the details were successfully acquired. gtk-sharp-2.12.40/doc/en/Gtk/PageRemovedHandler.xml0000664000175000017500000000170612767740535016641 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void sender. event arguments. Event handler for events. gtk-sharp-2.12.40/doc/en/Gtk/RulerMetric.xml0000664000175000017500000001264212767740535015403 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType Information about measurement units on objects. Field 2.12.0.0 System.String The abbreviations for this metric's units: "Pi" for pixels, "In" for inches, "Cn" for centimeters. "Cn" isn't a typo; that's how it's defined in Gtk+. See bugzilla.gnome.org bug 151944. Field 2.12.0.0 System.String The name of the units this ruler measures: one of Pixels, Inches, or Centimeters. Method 2.12.0.0 Gtk.RulerMetric A , pointer to the underlying C object. Default constructor. A For internal use only. Field 2.12.0.0 System.Double The conversion factor between pixels and the given unit for the ruler. Field 2.12.0.0 System.Double[] An array of possible scales for the ruler, dependent on the units chosen. Field 2.12.0.0 System.Int32[] How many sub-units to break up each ruler unit into. Field 2.12.0.0 Gtk.RulerMetric An empty/default RulerMetric. gtk-sharp-2.12.40/doc/en/Gtk/DrawingArea.xml0000664000175000017500000001725012767740535015332 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Widget The widget is used for creating custom user interface elements. The widget is used for creating custom user interface elements. It's essentially a blank widget; you can draw on ->window. After creating a drawing area, the application may want to connect to: 1) Mouse and button press signals to respond to input from the user. (Use to enable events you wish to receive). 2) The signal to take any necessary actions when the widget is instantiated on a particular display. (Create GDK resources in response to this signal.) 3) The signal to take any necessary actions when the widget changes size. 4) The signal to handle redrawing the contents of the widget. Expose events are normally delivered when a drawing area first comes onscreen, or when it's covered by another window and then uncovered (exposed). You can also force an expose event by adding to the "damage region" of the drawing area's window; and are equally good ways to do this. You'll then get an expose event for the invalid region. See also for drawing a . using System; using Gtk; using Pango; class LayoutSample : DrawingArea { Pango.Layout layout; static void Main () { Application.Init (); new LayoutSample (); Application.Run (); } LayoutSample () { Window win = new Window ("Layout sample"); win.SetDefaultSize (400, 300); win.DeleteEvent += OnWinDelete; this.Realized += OnRealized; this.ExposeEvent += OnExposed; win.Add (this); win.ShowAll (); } void OnExposed (object o, ExposeEventArgs args) { this.GdkWindow.DrawLayout (this.Style.TextGC (StateType.Normal), 100, 150, layout); } void OnRealized (object o, EventArgs args) { layout = new Pango.Layout (this.PangoContext); layout.Wrap = Pango.WrapMode.Word; layout.FontDescription = FontDescription.FromString ("Tahoma 16"); layout.SetMarkup ("Hello Pango.Layout"); } void OnWinDelete (object o, DeleteEventArgs args) { Application.Quit (); } } Constructor 2.12.0.0 Default Constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 System.Obsolete System.Void a a Sets the size of the drawing area. gtk-sharp-2.12.40/doc/en/Gtk/RowsReorderedArgs.xml0000664000175000017500000001165012767740535016547 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The following events invoke delegates which pass event data via this class: Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.TreeIter Gets a pointer to the whose rows have been reordered. A Property 2.12.0.0 System.Int32[] New Child Order list. an array of old position indices. The value of the nth array element contains the old index of the current nth child. Property 2.12.0.0 System.Obsolete("Replaced by NewChildOrder property") System.Int32 The new order of the rows. A FIXME: shouldn't this be an array? Property 2.12.0.0 Gtk.TreePath A path for the whose rows have been reordered. A gtk-sharp-2.12.40/doc/en/Gtk/Menu+MenuChild.xml0000664000175000017500000001145712767740535015721 00000000000000 gtk-sharp 2.12.0.0 Gtk.Container+ContainerChild A child of a , used to interact with its container child properties. Constructor 2.12.0.0 To be added. To be added. To be added. To be added. Property 2.12.0.0 Gtk.ChildProperty("bottom-attach") System.Int32 The row that the bottom of the menu item is attached to. the row See for more details Property 2.12.0.0 Gtk.ChildProperty("left-attach") System.Int32 The column that the left side of the menu item is attached to. the column See for more details Property 2.12.0.0 Gtk.ChildProperty("right-attach") System.Int32 The column that the right side of the menu item is attached to. the column See for more details Property 2.12.0.0 Gtk.ChildProperty("top-attach") System.Int32 The row that the top of the menu item is attached to. the row See for more details gtk-sharp-2.12.40/doc/en/Gtk/AccelEditedHandler.xml0000664000175000017500000000261712767740535016573 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the AccelEditedHandler instance to the event. The methods referenced by the AccelEditedHandler instance are invoked whenever the event is raised, until the AccelEditedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/VButtonBox.xml0000664000175000017500000001365512767740535015225 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.ButtonBox A button box should be used to provide a consistent layout of buttons throughout your application. This box provides a way of laying out buttons vertically. The layout of buttons in this type of box is determined by the box's . Methods for manipulating button boxes are provided in the super classes, and . Constructor 2.12.0.0 The normal way to construct a vertical button box Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.Obsolete Gtk.ButtonBoxStyle The default layout style for vertical button boxes. a Property 2.12.0.0 System.Obsolete System.Int32 The default spacing (in pixels) for vertical button boxes. a gtk-sharp-2.12.40/doc/en/Gtk/ButtonBox.xml0000664000175000017500000003407112767740535015072 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Box ButtonBox is a container for laying out widgets. A button box should be used to provide a consistent layout of buttons throughout your application. Specific button boxes are for horizontal groups of buttons, and for vertical button groups. Constructor 2.12.0.0 Default parameterless constructor. This is the default constructor for the class. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Obsolete System.Void a , the horizontal value a , the vertical value Gets the internal padding of the child widgets. Method 2.12.0.0 System.Boolean a Returns whether should appear in a secondary group of children. a Method 2.12.0.0 System.Obsolete System.Void a a Sets the minimum width and height of this button box's child widgets. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 Gtk.Container+ContainerChild To be added. To be added. To be added. To be added. Property 2.12.0.0 Gtk.ButtonBoxStyle Alter the way the buttons in this box are arranged. The style that the child widgets are currently arranged in. See for more information about the styles of button boxes. Property 2.12.0.0 GLib.Property("layout-style") Gtk.ButtonBoxStyle See Method 2.12.0.0 System.Obsolete System.Void a , the horizontal value a , the vertical value Sets the internal padding of the child widgets. Method 2.12.0.0 System.Void a a : if , the appears in a secondary group of the button box. Sets whether should appear in a secondary group of children. A typical use of a secondary child is the help button in a dialog. This group appears after the other children if the style is , or , and before the the other children if the style is %GTK_BUTTONBOX_END. For horizontal button boxes, the definition of before/after depends on direction of the widget (see ). If the style is or , then the secondary children are aligned at the other end of the button box from the main children. For the other styles, they appear immediately next to the main children. Method 2.12.0.0 System.Obsolete System.Void a a Sets the minimum width and height of this button box's child widgets. gtk-sharp-2.12.40/doc/en/Gtk/ToggleSizeRequestedArgs.xml0000664000175000017500000000453312767740535017721 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Int32 The requested toggle size a gtk-sharp-2.12.40/doc/en/Gtk/EnterNotifyEventHandler.xml0000664000175000017500000000320212767740535017704 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the EnterNotifyEventHandler instance to the event. The methods referenced by the EnterNotifyEventHandler instance are invoked whenever the event is raised, until the EnterNotifyEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/AnchorType.xml0000664000175000017500000002612212767740535015220 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.AnchorTypeGType)) A type to indicate an anchor position. Anchors are used to ensure that items, (such as a , or ), are anchored to their container from a certain direction. Field 2.12.0.0 Gtk.AnchorType Indicates that an item should be centrally anchored. Field 2.12.0.0 Gtk.AnchorType An alias for the value. Field 2.12.0.0 Gtk.AnchorType Indicates that an item should be anchored to the right. Field 2.12.0.0 Gtk.AnchorType An alias for the value. Field 2.12.0.0 Gtk.AnchorType An alias for the value. Field 2.12.0.0 Gtk.AnchorType Indicates that an item should be anchored to the north. Field 2.12.0.0 Gtk.AnchorType Indicates that an item should be anchored to the north east. Field 2.12.0.0 Gtk.AnchorType Indicates that an item should be anchored to the north west. Field 2.12.0.0 Gtk.AnchorType An alias for the value. Field 2.12.0.0 Gtk.AnchorType An alias for the value. Field 2.12.0.0 Gtk.AnchorType An alias for the value. Field 2.12.0.0 Gtk.AnchorType Indicates that an item should be anchored to the south. Field 2.12.0.0 Gtk.AnchorType Indicates that an item should be anchored to the south east. Field 2.12.0.0 Gtk.AnchorType Indicates that an item should be anchored to the south west. Field 2.12.0.0 Gtk.AnchorType An alias for the value. Field 2.12.0.0 Gtk.AnchorType An alias for the value. Field 2.12.0.0 Gtk.AnchorType Indicates that an item should be anchored to the left. gtk-sharp-2.12.40/doc/en/Gtk/ThemeEngine.xml0000664000175000017500000000317612767740535015340 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque An object wrapper for a Gtk theme engine. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. gtk-sharp-2.12.40/doc/en/Gtk/InsertTextHandler.xml0000664000175000017500000000307612767740535016556 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the InsertTextHandler instance to the event. The methods referenced by the InsertTextHandler instance are invoked whenever the event is raised, until the InsertTextHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/DragDropArgs.xml0000664000175000017500000000776112767740535015473 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.DragContext The context of this drag. a Property 2.12.0.0 System.UInt32 The time the data was dropped. A Property 2.12.0.0 System.Int32 The X coordinate where the data was dropped. A Property 2.12.0.0 System.Int32 The Y coordinate where the data was dropped. A gtk-sharp-2.12.40/doc/en/Gtk/Menu.xml0000664000175000017500000007146412767740535014061 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.MenuShell A is a that implements a drop down menu. A is a that implements a drop down menu consisting of a list of objects which can be navigated and activated by the user to perform application functions. It is commonly dropped down by activating a in a or in another , it can also be popped up by activating a . Other composite widgets such as the can pop up a as well. using System; using Gtk; public class MenuApp { public static void Main (string[] args) { Application.Init(); Window win = new Window ("Menu Sample App"); win.DeleteEvent += new DeleteEventHandler (delete_cb); win.SetDefaultSize (200, 150); VBox box = new VBox (false, 2); MenuBar mb = new MenuBar (); Menu file_menu = new Menu (); MenuItem exit_item = new MenuItem("Exit"); exit_item.Activated += new EventHandler (exit_cb); file_menu.Append (exit_item); MenuItem file_item = new MenuItem("File"); file_item.Submenu = file_menu; mb.Append (file_item); box.PackStart(mb, false, false, 0); Button btn = new Button ("Yep, that's a menu"); box.PackStart(btn, true, true, 0); win.Add (box); win.ShowAll (); Application.Run (); } static void delete_cb (object o, DeleteEventArgs args) { Application.Quit (); } static void exit_cb (object o, EventArgs args) { Application.Quit (); } } Constructor 2.12.0.0 A constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 Gtk.AccelGroup Sets or obtains the which holds global accelerators for the menu. The associated with the menu. This accelerator group needs to also be added to all windows that this menu is being used in with , in order for those windows to support all the accelerators contained in this group. Property 2.12.0.0 System.String Sets an accelerator path for this menu from which accelerator paths for its immediate children, its menu items, can be constructed. void The main purpose of this function is to spare the programmer the inconvenience of having to call on each menu item that should support runtime user changable accelerators. Instead, by just calling on their parent, each menu item of this menu, that contains a label describing its purpose, automatically gets an accel path assigned. Property 2.12.0.0 Gtk.Widget Returns the selected menu item from the menu. The that was last selected in the menu. If a selection has not yet been made, the first menu item is selected. This is used by the . Method 2.12.0.0 System.Void a , should be a a a a a Adds a new to a (table) menu. The number of 'cells' that an item will occupy is specified by , , and . These each represent the leftmost, rightmost, uppermost and lower column and row numbers of the table. (Columns and rows are indexed from zero). Note that this function is not related to . Method 2.12.0.0 System.Void The that the menu will be attached to. The user supplied callback function that will be called when the menu calls . Attaches the menu to the widget and provides a detacher. Attaches the menu to the widget and provides a callback function that will be invoked when the menu calls during its destruction. Property 2.12.0.0 Gtk.Widget Returns the that the menu is attached to. The that the menu is attached to. Method 2.12.0.0 System.Void Detaches the menu from the widget to which it had been attached. This function will call the detacher, provided when the function was called. Method 2.12.0.0 GLib.List a To be added a To be added Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 Gtk.Container+ContainerChild To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Int32 The number of the monitor on which the menu should be popped up. a Method 2.12.0.0 System.Void Removes the menu from the screen. Method 2.12.0.0 System.Void Displays a menu and makes it available for selection. This is a convenience overload that calls with some default arguments. Method 2.12.0.0 System.Void The menu shell containing the triggering menu item, or . The menu item whose activation triggered the popup, or . A user supplied function used to position the menu, or . The mouse button which was pressed to initiate the event. The time at which the activation event occurred. Displays a menu and makes it available for selection. Applications can use this function to display context-sensitive menus, and will typically supply for the , , and parameters. The default menu positioning function will position the menu at the current mouse cursor position. The parameter should be the mouse button pressed to initiate the menu popup. If the menu popup was initiated by something other than a mouse button press, such as a mouse button release or a keypress, button should be zero(0). The parameter should be the time stamp of the event that initiated the popup. If such an event is not available, use instead. using System; using Gtk; class PopupSample { Window win; Menu menu; static void Main (string[] args) { new PopupSample (args); } PopupSample (string[] args) { Application.Init (); win = new Window ("Menu.Popup sample"); win.SetDefaultSize (400, 300); win.DeleteEvent += new DeleteEventHandler (OnWinDelete); menu = new Menu (); MenuItem hello = new MenuItem ("Hello"); hello.Activated += new EventHandler (OnHelloActivated); hello.Show (); menu.Append (hello); Label label = new Label ("Right Click me"); EventBox eventbox = new EventBox (); eventbox.ButtonPressEvent += new ButtonPressEventHandler (OnEventBoxPressed); eventbox.Add (label); win.Add (eventbox); win.ShowAll (); Application.Run (); } private void OnEventBoxPressed (object o, ButtonPressEventArgs args) { if (args.Event.button == 3) menu.Popup (null, null, null, 3, Gtk.Global.CurrentEventTime); } private void OnHelloActivated (object o, EventArgs args) { Console.WriteLine ("Hello Activated"); } private void OnWinDelete (object o, DeleteEventArgs args) { Application.Quit (); } } Method 2.12.0.0 System.Obsolete("Replaced by overload without IntPtr argument") System.Void The menu shell containing the triggering menu item, or . The menu item whose activation triggered the popup, or . A user supplied function used to position the menu, or . Ignored. The mouse button which was pressed to initiate the event. The time at which the activation event occurred. Obsolete. Replaced by . Method 2.12.0.0 System.Void The to move. The new position to place . Positions are numbered from 0 to n-1. Moves a to a new position within the . Method 2.12.0.0 System.Void Repositions the menu according to its position function. Property 2.12.0.0 Gdk.Screen The physical screen this menu is placed on. a Method 2.12.0.0 System.Void a Selects the specified menu item within the menu. This is used by the and should not be used by anyone else. Property 2.12.0.0 GLib.Property("tearoff-state") System.Boolean Sets or obtains the tearoff state of the menu. Returns if the menu is currently torn off. A menu is normally displayed as drop down menu which persists as long as the menu is active. It can also be displayed as a tearoff menu which persists until it is closed or reattached. Property 2.12.0.0 GLib.Property("tearoff-title") System.String The title of this menu when it is torn off an object of type Property 2.12.0.0 System.String Sets or obtains the title for the menu. The title of the menu, or if the menu has no title set on it. This string is owned by the widget and should not be modified or freed. The title is displayed when the menu is shown as a tearoff menu. gtk-sharp-2.12.40/doc/en/Gtk/AcceptPositionArgs.xml0000664000175000017500000000332612767740535016706 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.40/doc/en/Gtk/FocusOutEventHandler.xml0000664000175000017500000000313612767740535017213 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the FocusOutEventHandler instance to the event. The methods referenced by the FocusOutEventHandler instance are invoked whenever the event is raised, until the FocusOutEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/Grab.xml0000664000175000017500000000755012767740535014023 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Grab methods allow you to limit the keyboard and mouse interaction to a particular widget or window. Constructor 2.12.0.0 Don't use. Method 2.12.0.0 System.Void The that grabs keyboard and pointer events. Makes the specified widget the currently grabbed widget. This means that interaction with other widgets in the same application is blocked and mouse as well as keyboard events are delivered to this widget. Property 2.12.0.0 Gtk.Widget Queries the current grab of the default window group. A which currently has the grab or if no grab is active. Method 2.12.0.0 System.Void The which gives up the grab. Removes the grab from the given widget. You have to pair calls to and . gtk-sharp-2.12.40/doc/en/Gtk/DisableDeviceArgs.xml0000664000175000017500000000444312767740535016446 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.Device The device to enable. A gtk-sharp-2.12.40/doc/en/Gtk/InputHandler.xml0000664000175000017500000000300212767740535015531 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the InputHandler instance to the event. The methods referenced by the InputHandler instance are invoked whenever the event is raised, until the InputHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/RequestPageSetupArgs.xml0000664000175000017500000000653212767740535017232 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.PrintContext The Print context of the current operation. A . Property 2.12.0.0 System.Int32 The Page number to be setup. An integer page number. Property 2.12.0.0 Gtk.PageSetup The page setup. A . Changes to the setup are only in effect for the duration of the page. gtk-sharp-2.12.40/doc/en/Gtk/PrintError.xml0000664000175000017500000000543712767740535015260 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.PrintErrorGType)) Print error enumeration. Field 2.12.0.0 Gtk.PrintError General error. Field 2.12.0.0 Gtk.PrintError Internal error occurred. Field 2.12.0.0 Gtk.PrintError Invalid File. Field 2.12.0.0 Gtk.PrintError Out of memory. gtk-sharp-2.12.40/doc/en/Gtk/GrabNotifyHandler.xml0000664000175000017500000000307212767740535016505 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the GrabNotifyHandler instance to the event. The methods referenced by the GrabNotifyHandler instance are invoked whenever the event is raised, until the GrabNotifyHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/PrinterFunc.xml0000664000175000017500000000166612767740535015411 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Boolean A printer. Printer enumeration callback delegate. If , the enumeration is stopped. Invoked by . gtk-sharp-2.12.40/doc/en/Gtk/RecentFilter.xml0000664000175000017500000002441512767740535015535 00000000000000 gtk-sharp 2.12.0.0 Gtk.Object To be added. To be added. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 System.Obsolete To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 Gtk.RecentFilterFlags To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/TreeModelAdapter.xml0000664000175000017500000012162712767740535016333 00000000000000 gtk-sharp 2.12.0.0 GLib.GInterfaceAdapter GLib.IWrapper Gtk.TreeModel TreeModel interface adapter. Adapts a implementation to expose the complete interface API. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 Gtk.TreeModelFlags To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 GLib.GType To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Gtk.TreeModel To be added. To be added. To be added. To be added. Method 2.12.0.0 Gtk.TreeModel To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Gtk.TreePath To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Object To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. Property 2.12.0.0 Gtk.TreeModelImplementor To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("row_changed") Gtk.RowChangedHandler To be added. To be added. Event 2.12.0.0 GLib.Signal("row_deleted") Gtk.RowDeletedHandler To be added. To be added. Event 2.12.0.0 GLib.Signal("row_has_child_toggled") Gtk.RowHasChildToggledHandler To be added. To be added. Event 2.12.0.0 GLib.Signal("row_inserted") Gtk.RowInsertedHandler To be added. To be added. Event 2.12.0.0 GLib.Signal("rows_reordered") Gtk.RowsReorderedHandler To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/OutputArgs.xml0000664000175000017500000000322312767740535015256 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.40/doc/en/Gtk/TreeViewMappingFunc.xml0000664000175000017500000000251312767740535017024 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. A delegate to specify the signature of a function to be called on a set of rows that are expanded. See for when and how a function of this shape gets called. gtk-sharp-2.12.40/doc/en/Gtk/RcStyle.xml0000664000175000017500000001705712767740535014540 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object An object for handling a and representing it in the context of an RC file. This class is used most obviously in , where it's a parameter. Constructor 2.12.0.0 Public constructor The object returned has no fields set and a refcount of 1. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 Gtk.RcStyle Copies this RcStyle object to another new RcStyle object. an object, a duplicate of this obkect. Property 2.12.0.0 Pango.FontDescription The value parsed from the RC style's "font_name" property. a Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.String The name of the RC style. a Property 2.12.0.0 System.Int32 The "xthickness" value of the RC style. a This value is used for various horizontal padding values in Gtk. Property 2.12.0.0 System.Int32 The "ythickness" value of the RC style. a This value is used for various vertical padding values in Gtk. gtk-sharp-2.12.40/doc/en/Gtk/HTMLFontStyle.xml0000664000175000017500000002423112767740535015557 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum System.Flags Enumeration of possible font styles within a widget. Field 3.16.0.0 Gtk.HTMLFontStyle An italic style. Field 3.16.0.0 Gtk.HTMLFontStyle The default style. Field 3.16.0.0 Gtk.HTMLFontStyle A fixed-width style. Field 3.16.0.0 Gtk.HTMLFontStyle An italic style. Field 3.16.0.0 Gtk.HTMLFontStyle The smallest text size. Field 3.16.0.0 Gtk.HTMLFontStyle A small text size. Field 3.16.0.0 Gtk.HTMLFontStyle A medium-small text size. Field 3.16.0.0 Gtk.HTMLFontStyle A medium text size. Field 3.16.0.0 Gtk.HTMLFontStyle A medium-large text size. Field 3.16.0.0 Gtk.HTMLFontStyle A large text size. Field 3.16.0.0 Gtk.HTMLFontStyle The largest text size. Field 3.16.0.0 Gtk.HTMLFontStyle A mask for changing font sizes. FIXME: explain this. Field 3.16.0.0 Gtk.HTMLFontStyle A strikeout style. Field 3.16.0.0 Gtk.HTMLFontStyle A subscript style. Field 3.16.0.0 Gtk.HTMLFontStyle A superscript style. Field 3.16.0.0 Gtk.HTMLFontStyle An underlined style. gtk-sharp-2.12.40/doc/en/Gtk/SignalFunc.xml0000664000175000017500000000155612767740535015201 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Deprecated. Do not use. gtk-sharp-2.12.40/doc/en/Gtk/Action.xml0000664000175000017500000010442512767740535014364 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object An action which can be triggered by a menu or toolbar item. Actions represent operations that the user can be perform, along with some information how it should be presented in the interface. Each action provides methods to create icons, menu items and toolbar items representing itself. As well as the callback that is called when the action gets activated, the following also gets associated with the action: a name (not translated, for path lookup)a label (translated, for display)an acceleratorwhether label indicates a stock ida tooltip (optional, translated)a toolbar label (optional, shorter than label) The action will also have some state information: visible (shown/hidden)sensitive (enabled/disabled) Apart from regular actions, there are toggle actions, which can be toggled between two states and radio actions, of which only one in a group can be in the "active" state. Other actions can be implemented as subclasses. Each action can have one or more proxy menu item, toolbar button or other proxy widgets. Proxies mirror the state of the action (text label, tooltip, icon, visible, sensitive, etc), and should change when the action's state changes. When the proxy is activated, it should activate its action. Constructor 2.12.0.0 System.Obsolete a Internal constructor Constructor 2.12.0.0 a Internal constructor Constructor 2.12.0.0 A unique name for the action the label displayed in menu items and on buttons Creates a new action from the and . Convenience constructor for passing in for the last two parameters. Constructor 2.12.0.0 A unique name for the action the label displayed in menu items and on buttons a tooltip for the action, or for no tooltip the stock icon to display in widgets representing the action, or Creates a new action from the , , , and . Property 2.12.0.0 Gtk.AccelGroup The in which the accelerator for this action will be installed. a or Property 2.12.0.0 System.String The accel path for this action. a All proxy widgets associated with the action will have this accel path, so that their accelerators are consistent. Property 2.12.0.0 GLib.Property("action-group") Gtk.ActionGroup The GtkActionGroup this GtkAction is associated with. a Can be set to for internal use. Method 2.12.0.0 System.Void Emits on the specified action, if it is not insensitive. This gets called by the proxy widgets when they get activated. It can also be used to manually activate an action. Event 2.12.0.0 GLib.Signal("activate") System.EventHandler Event raised when this action is activated. Method 2.12.0.0 System.Void a Disables calls to the function by signals on the given proxy widget. This is used to break notification loops for things like check or radio actions. This function is intended for use by action implementations. Method 2.12.0.0 System.Void Installs the accelerator for action if action has an AccelPath and AccelGroup. See and Since multiple proxies may independently trigger the installation of the accelerator, the action counts the number of times this function has been called and does not remove the accelerator until has been called as many times. Method 2.12.0.0 System.Void a Connects a widget to an action object as a proxy. Synchronises various properties of the action with the widget (such as label text, icon, tooltip, etc), and attaches a callback so that the action gets activated when the proxy widget does. If the widget is already connected to an action, it is disconnected first. Method 2.12.0.0 Gtk.Widget a , the size of the icon that should be created. This function is intended for use by action implementations to create icons displayed in the proxy widgets. a that displays the icon for this action. Method 2.12.0.0 Gtk.Widget To be added. To be added. To be added. Method 2.12.0.0 Gtk.Widget Creates a menu item widget that proxies for the given action. a that is a menu item connected to the action. Method 2.12.0.0 Gtk.Widget Creates a toolbar item widget that proxies for the given action. a that is a toolbar item connected to the action. Method 2.12.0.0 System.Void Undoes the effect of one call to . Method 2.12.0.0 System.Void a Disconnects a proxy widget from an action. Does not destroy the widget, however. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("hide-if-empty") System.Boolean When , empty menu proxies for this action are hidden. a Default value: Property 2.12.0.0 GLib.Property("icon-name") System.String The name of the icon from the icon theme. the icon name. Property 2.12.0.0 GLib.Property("is-important") System.Boolean Whether the action is considered important. a When , toolitem proxies for this action show text in mode. Default value: Property 2.12.0.0 System.Boolean Whether the action is effectively sensitive. a if the action and its associated action group are both sensitive. Property 2.12.0.0 System.Boolean Whether the action is effectively visible. a if the action and its associated action group are both visible. Property 2.12.0.0 GLib.Property("label") System.String The label used for menu items and buttons that activate this action. a Default value is Property 2.12.0.0 GLib.Property("name") System.String A unique name for the action. a Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideActivated", Type=typeof(Gtk.Action)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 2.12.0.0 Gtk.Widget[] Returns the proxy widgets for an action. a of proxy widgets. Property 2.12.0.0 GLib.Property("sensitive") System.Boolean Whether the action itself is sensitive. a This does not necessarily mean effective sensitivity. See for that. Property 2.12.0.0 GLib.Property("short-label") System.String A shorter label that may be used on toolbar buttons. a Default value is Property 2.12.0.0 GLib.Property("stock-id") System.String The stock icon displayed in widgets representing this action. a Default value is Property 2.12.0.0 GLib.Property("tooltip") System.String A tooltip for this action. a Default value is Method 2.12.0.0 System.Void a Re-enables calls to the function by signals on the given proxy widget. This undoes the blocking done by . This function is intended for use by action implementations. Property 2.12.0.0 GLib.Property("visible") System.Boolean Whether the action itself is visible. a This does not necessarily mean effective visibility. See for that. Property 2.12.0.0 GLib.Property("visible-horizontal") System.Boolean Whether the toolbar item is visible when the toolbar is in a horizontal orientation. a Default value is Property 2.12.0.0 GLib.Property("visible-overflown") System.Boolean When , toolitem proxies for this action are represented in the toolbar overflow menu. a Default value is . Property 2.12.0.0 GLib.Property("visible-vertical") System.Boolean When , toolitem proxies for this action are represented in the toolbar overflow menu. a Default value is gtk-sharp-2.12.40/doc/en/Gtk/CellLayoutAdapter.xml0000664000175000017500000003415212767740535016524 00000000000000 gtk-sharp 2.12.0.0 GLib.GInterfaceAdapter GLib.IWrapper Gtk.CellLayout CellLayout interface adapter. Adapts a implementation to expose the complete interface API. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 Gtk.CellRenderer[] To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 Gtk.CellLayout To be added. To be added. To be added. To be added. Method 2.12.0.0 Gtk.CellLayout To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. Property 2.12.0.0 Gtk.CellLayoutImplementor To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void System.ParamArray To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/TextTag.xml0000664000175000017500000017616212767740535014536 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object A tag that can be applied to text in a Tags should be in the for a given before using them with that buffer. is the best way to create tags. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 the name of the tag, or if it's an anonymous tag Creates a new Property 2.12.0.0 GLib.Property("accumulative-margin") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("background") System.String Background color Property 2.12.0.0 GLib.Property("background-full-height") System.Boolean Whether the background color fills the entire line height or only the height of the tagged characters. Whether the background color fills the entire line height or only the height of the tagged characters. Property 2.12.0.0 GLib.Property("background_full_height_set") System.Boolean Indicates if the BackgroundFullHeight property holds a value. if the property is set. Property 2.12.0.0 GLib.Property("background-gdk") Gdk.Color Background color as a (possibly unallocated) . The background color Property 2.12.0.0 GLib.Property("background_set") System.Boolean Indicates if the Background property holds a value. if the property is set. Property 2.12.0.0 GLib.Property("background-stipple") Gdk.Pixmap Bitmap to use as a mask when drawing the text background. The background bitmap Property 2.12.0.0 GLib.Property("background_stipple_set") System.Boolean Indicates if the BackgroundStipple property holds a value. if the property is set. Property 2.12.0.0 GLib.Property("direction") Gtk.TextDirection Text direction, e.g. right-to-left or left-to-right. The text direction Property 2.12.0.0 GLib.Property("editable") System.Boolean Whether the text can be modified by the user whether the text can be modified by the user Property 2.12.0.0 GLib.Property("editable_set") System.Boolean Indicates if the Editable property holds a value. if the property is set. Property 2.12.0.0 GLib.Property("family") System.String Name of the font family The name of the font family Name of the font family, e.g. Sans, Helvetica, Times, Monospace. Property 2.12.0.0 GLib.Property("family_set") System.Boolean Indicates if the Family property holds a value. if the property is set. Property 2.12.0.0 GLib.Property("font") System.String Font description the font description as a string Font description as a string, e.g. "Sans Italic 12". Property 2.12.0.0 GLib.Property("font-desc") Pango.FontDescription The FontDescription for the tag. a Property 2.12.0.0 GLib.Property("foreground") System.String Foreground color the foreground color Property 2.12.0.0 GLib.Property("foreground-gdk") Gdk.Color Foreground color as a (possibly unallocated) . The foreground color Property 2.12.0.0 GLib.Property("foreground_set") System.Boolean Indicates if the Foreground property holds a value. if the property is set. Property 2.12.0.0 GLib.Property("foreground-stipple") Gdk.Pixmap Bitmap to use as a mask when drawing the text foreground. a bitmap Property 2.12.0.0 GLib.Property("foreground_stipple_set") System.Boolean Indicates if the ForegroundStipple property holds a value. if the property is set. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("indent") System.Int32 Amount to indent the paragraph, in pixels The indent of the paragraph Property 2.12.0.0 GLib.Property("indent_set") System.Boolean Indicates if the Indent property holds a value. if the property is set. Property 2.12.0.0 GLib.Property("invisible") System.Boolean Whether this text is hidden. Whether or not this text is hidden Property 2.12.0.0 GLib.Property("invisible_set") System.Boolean Indicates if the Invisible property holds a value. if the property is set. Property 2.12.0.0 GLib.Property("justification") Gtk.Justification Text justification the justification of the current text Left, right, or center justification. Property 2.12.0.0 GLib.Property("justification_set") System.Boolean Indicates if the Justification property holds a value. if the property is set. Property 2.12.0.0 GLib.Property("language") System.String The language of the text The ISO code of the language of this text Property 2.12.0.0 GLib.Property("language_set") System.Boolean Indicates if the Language property holds a value. if the property is set. Property 2.12.0.0 GLib.Property("left-margin") System.Int32 Width of the left margin in pixels. The width of the margin Property 2.12.0.0 GLib.Property("left_margin_set") System.Boolean Indicates if the LeftMargin property holds a value. if the property is set. Property 2.12.0.0 GLib.Property("name") System.String The name of this tag The name of this name, or if it's an anonymous tag Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextEvent", Type=typeof(Gtk.TextTag)) System.Boolean a a a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Property 2.12.0.0 GLib.Property("paragraph-background") System.String Paragraph background color. Background color as a . Property 2.12.0.0 GLib.Property("paragraph-background-gdk") Gdk.Color Paragraph background color as a . a . The color returned may be unallocated. Property 2.12.0.0 GLib.Property("pixels-above-lines") System.Int32 Pixels of blank space above paragraphs. The blank space above the paragraphs in pixels Property 2.12.0.0 GLib.Property("pixels_above_lines_set") System.Boolean Indicates if the PixelsAboveLines property holds a value. if the property is set. Property 2.12.0.0 GLib.Property("pixels-below-lines") System.Int32 Pixels of blank space below paragraphs. Pixels of blank space below paragraphs. Property 2.12.0.0 GLib.Property("pixels_below_lines_set") System.Boolean Indicates if the PixelsBelowLines property holds a value. if the property is set. Property 2.12.0.0 GLib.Property("pixels-inside-wrap") System.Int32 Pixels of blank space between wrapped lines in a paragraph An integer Property 2.12.0.0 GLib.Property("pixels_inside_wrap_set") System.Boolean Indicates if the PixelsInsideWrap property holds a value. if the property is set. Property 2.12.0.0 System.Int32 The tag's priority The priority of the current tag Sets the priority of a . Valid priorities are start at 0 and go to one less than . Each tag in a table has a unique priority; setting the priority of one tag shifts the priorities of all the other tags in the table to maintain a unique priority for each tag. Higher priority tags win if two tags both set the same text attribute. When adding a tag to a tag table, it will be assigned the highest priority in the table by default; so normally the precedence of a set of tags is the order in which they were added to the table, or created with ), which adds the tag to the buffer's table automatically. Method 2.12.0.0 System.Boolean a , the object that received the event. a , the event to fire a , the location where the event was received Fires a signal on this Gtk.TextTag. A , true if the event was handled. TODO: show an example. Property 2.12.0.0 GLib.Property("right-margin") System.Int32 Width of the right margin Width of the right margin Property 2.12.0.0 GLib.Property("right_margin_set") System.Boolean Indicates if the RightMargin property holds a value. if the property is set. Property 2.12.0.0 GLib.Property("rise") System.Int32 Offset of text above the baseline Offset of the text above the baseline Offset of text above the baseline (below the baseline if rise is negative) in pixels. Property 2.12.0.0 GLib.Property("rise_set") System.Boolean Indicates if the Rise property holds a value. if the property is set. Property 2.12.0.0 GLib.Property("scale") System.Double Font size as a scale factor relative to the default font size The font size as a scale factor This properly adapts to theme changes etc. so is recommended. Pango predefines some scales such as . Property 2.12.0.0 GLib.Property("scale_set") System.Boolean Indicates if the Scale property holds a value. if the property is set. Property 2.12.0.0 GLib.Property("size") System.Int32 Font size The font size in Pango units Property 2.12.0.0 GLib.Property("size-points") System.Double Font size in points. The font size Property 2.12.0.0 GLib.Property("size_set") System.Boolean Indicates if the Size property holds a value. if the property is set. Property 2.12.0.0 GLib.Property("stretch") Pango.Stretch Font stretch font stretch Property 2.12.0.0 GLib.Property("stretch_set") System.Boolean Indicates if the Stretch property holds a value. if the property is set. Property 2.12.0.0 GLib.Property("strikethrough") System.Boolean Whether to strike through the text Whether to strike through the text Property 2.12.0.0 GLib.Property("strikethrough_set") System.Boolean Indicates if the Strikethrough property holds a value. if the property is set. Property 2.12.0.0 GLib.Property("style") Pango.Style Font style the font style of this text Property 2.12.0.0 GLib.Property("style_set") System.Boolean Indicates if the Style property holds a value. if the property is set. Property 2.12.0.0 GLib.Property("tabs") Pango.TabArray Custom tabs for this text. the custom tabs for this text Property 2.12.0.0 GLib.Property("tabs_set") System.Boolean Indicates if the Tabs property holds a value. if the property is set. Event 2.12.0.0 GLib.Signal("event") Gtk.TextEventHandler Raised whenever this text tag explicitly fires an event; general-purpose event. Property 2.12.0.0 GLib.Property("underline") Pango.Underline Style of underline for this text. The underline style for this text Property 2.12.0.0 GLib.Property("underline_set") System.Boolean Indicates if the Underline property holds a value. if the property is set. Property 2.12.0.0 GLib.Property("variant") Pango.Variant Font variant The font variant of this text Property 2.12.0.0 GLib.Property("variant_set") System.Boolean Indicates if the Variant property holds a value. if the property is set. Property 2.12.0.0 Pango.Weight Font weight as an integer. a see predefined values in ; for example, . Allowed values: >= 0 Default value: 400 Property 2.12.0.0 GLib.Property("weight_set") System.Boolean Indicates if the Weight property holds a value. if the property is set. Property 2.12.0.0 GLib.Property("wrap-mode") Gtk.WrapMode Whether to wrap lines never, at word boundaries, or at character boundaries. a Property 2.12.0.0 GLib.Property("wrap_mode_set") System.Boolean Indicates if the WrapMode property holds a value. if the property is set. gtk-sharp-2.12.40/doc/en/Gtk/ChangeValueArgs.xml0000664000175000017500000000450712767740535016146 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.ScrollType The type of incrementation or decrementation to perform. A gtk-sharp-2.12.40/doc/en/Gtk/VRuler.xml0000664000175000017500000001063112767740535014361 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Ruler A vertical ruler. This ruler is used to show the vertical location of the mouse in the window and to display the vertical size of the window in the specified units. The available units of measurement are , and . The default is . A vertical ruler is typically used along the left or right edge of another widget such as a . Note:- This widget is considered too specialized for GTK+, and will likely be moved to some other package in the future. Constructor 2.12.0.0 Creates a new vertical Ruler. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gtk/MetricType.xml0000664000175000017500000000557312767740535015240 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.MetricTypeGType)) An enumeration used to determine which unit of measurement is currently being used. This enumeration is used by , , and . Field 2.12.0.0 Gtk.MetricType The centimeter unit of measurement. Field 2.12.0.0 Gtk.MetricType The inch unit of measurement. Field 2.12.0.0 Gtk.MetricType The pixel unit of measurement. gtk-sharp-2.12.40/doc/en/Gtk/FileFilterInfo.xml0000664000175000017500000001354312767740535016010 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType Used to pass information about files to . Field 2.12.0.0 Gtk.FileFilterFlags Flags indicating which of the fields are filled. Field 2.12.0.0 System.String The string that will be used to display the file in the file chooser Field 2.12.0.0 System.String The filename of the file being tested Field 2.12.0.0 System.String The mime type of the file Method 2.12.0.0 Gtk.FileFilterInfo a Public constructor. a XXX: the API here needs adjusting, as this shouldn't require an IntPtr parameter. Field 2.12.0.0 System.String The URI for the file being tested Field 2.12.0.0 Gtk.FileFilterInfo An empty FileFilterInfo gtk-sharp-2.12.40/doc/en/Gtk/OnUrlArgs.xml0000664000175000017500000000430412767740535015016 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 3.16.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 3.16.0.0 System.String The URL to act on. A gtk-sharp-2.12.40/doc/en/Gtk/DeleteFromCursorArgs.xml0000664000175000017500000000641312767740535017206 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The following events invoke delegates which pass event data via this class: Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Int32 How many units of the specified to delete. a Property 2.12.0.0 Gtk.DeleteType The kind/length of text to delete. gtk-sharp-2.12.40/doc/en/Gtk/PopulatePopupArgs.xml0000664000175000017500000000534112767740535016576 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data for populating a popup. The following events invoke delegates which pass event data via this class: Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.Menu Data for populating the popup menu. a gtk-sharp-2.12.40/doc/en/Gtk/ScrollAdjustmentsSetArgs.xml0000664000175000017500000000715612767740535020123 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The following events invoke delegates which pass event data via this class: Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.Adjustment The horizontal adjustment for the scrolling event. a Property 2.12.0.0 Gtk.Adjustment The vertical adjustment for the scrolling event. a gtk-sharp-2.12.40/doc/en/Gtk/LeaveNotifyEventHandler.xml0000664000175000017500000000320212767740535017663 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the LeaveNotifyEventHandler instance to the event. The methods referenced by the LeaveNotifyEventHandler instance are invoked whenever the event is raised, until the LeaveNotifyEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/CursorMoveHandler.xml0000664000175000017500000000306712767740535016551 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CursorMoveHandler instance to the event. The methods referenced by the CursorMoveHandler instance are invoked whenever the event is raised, until the CursorMoveHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/SelectionGetHandler.xml0000664000175000017500000000312212767740535017022 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SelectionGetHandler instance to the event. The methods referenced by the SelectionGetHandler instance are invoked whenever the event is raised, until the SelectionGetHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/GrabNotifyArgs.xml0000664000175000017500000000446412767740535016032 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Boolean Returns whether or not the Grab object was actually grabbed. A object. gtk-sharp-2.12.40/doc/en/Gtk/StateChangedHandler.xml0000664000175000017500000000312212767740535016767 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the StateChangedHandler instance to the event. The methods referenced by the StateChangedHandler instance are invoked whenever the event is raised, until the StateChangedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/DragDropHandler.xml0000664000175000017500000000304212767740535016140 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DragDropHandler instance to the event. The methods referenced by the DragDropHandler instance are invoked whenever the event is raised, until the DragDropHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/RecentSortFunc.xml0000664000175000017500000000230612767740535016046 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Int32 a to sort. a to sort. Recent chooser sorting delegate. A positive integer if comes before , 0 if they are equal, or a negative value otherwise. Attach a delegate of this type to for custom sorting. gtk-sharp-2.12.40/doc/en/Gtk/FocusChildSetHandler.xml0000664000175000017500000000314112767740535017135 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the FocusChildSetHandler instance to the event. The methods referenced by the FocusChildSetHandler instance are invoked whenever the event is raised, until the FocusChildSetHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/Editable.xml0000664000175000017500000003235212767740535014657 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.IWrapper Interface for text-editing widgets. Event 2.12.0.0 System.EventHandler Raised when the user has changed the contents of the widget. Method 2.12.0.0 System.Void Causes the characters in the current selection to be copied to the clipboard. Method 2.12.0.0 System.Void Causes the characters in the current selection to be copied to the clipboard and then deleted from the widget. Method 2.12.0.0 System.Void Causes the characters in the current selection to be deleted. Method 2.12.0.0 System.Void An integer; the start position An integer; the end position Deletes a sequence of characters. The characters that are deleted are those characters at positions from up to, but not including . If is negative, then the the characters deleted will be those characters from to the end of the text. Method 2.12.0.0 System.String An integer; the start position An integer; the end position Retrieves a sequence of characters. The characters that are retrieved are those characters at positions from up to, but not including . If is negative, then the the characters retrieved will be those characters from to the end of the text. The characters between and (but not including) . Method 2.12.0.0 System.Boolean An IntPtr to store the start position in. An IntPtr to store the end position in. Gets the current selection bounds, if there is a selection Boolean, TRUE if there is a selection. Method 2.12.0.0 System.Void A string to insert. A pointer to the position within the Editable object for inserting the string. Inserts at . Property 2.12.0.0 System.Boolean Whether or not the user can edit the text in the editable widget or not. A boolean; TRUE if the user can edit the text. Method 2.12.0.0 System.Void Causes the contents of the clipboard to be pasted into the given widget at the current cursor position. Property 2.12.0.0 System.Int32 The current cursor position. An integer position for the cursor. Method 2.12.0.0 System.Void An integer, the start of the selected region. An integer, the end of the selected region. Selects a region of text. The characters that are selected are those characters at positions from up to, but not including . If is negative, then the the characters selected will be those characters from to the end of the text. Event 2.12.0.0 Gtk.TextDeletedHandler Raised whenever the user deletes text. The default handler for this signal will normally be responsible for inserting the text, so by connecting to this signal and then stopping the signal with gtk_signal_emit_stop(), it is possible to modify the inserted text, or prevent it from being inserted entirely. The and parameters are interpreted as for (FIXME: need equivalent for gtk_signal_emit_stop().) Event 2.12.0.0 Gtk.TextInsertedHandler Raised whenever the user inserts text. The default handler for this signal will normally be responsible for inserting the text, so by connecting to this signal and then stopping the signal with gtk_signal_emit_stop(), it is possible to modify the inserted text, or prevent it from being inserted entirely. (FIXME: Need Gtk# equivalent for gtk_signal_emit_stop().) gtk-sharp-2.12.40/doc/en/Gtk/RadioToolButton.xml0000664000175000017500000002025112767740535016231 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.ToggleToolButton A radio-button control for a toolbar. Constructor 2.12.0.0 System.Obsolete a Protected constructor. Constructor 2.12.0.0 a , an existing radio button group, or if you are creating a new group Constructor with support for button groups. Constructor 2.12.0.0 a , a button in the same group as the one to be created.. Create a new button in the same group as another. Constructor 2.12.0.0 a , pointer to underlying C object Constructor for internal use only. Constructor 2.12.0.0 a , an existing radio button group, or if you are creating a new group a , the ID for a stock item to use for an icon and label. Constructor for stock buttons with groups. Constructor 2.12.0.0 a , a button in the same group as the one to be created. a , the ID of the stock item to use for an icon and label. Create a new button in the same group as another from a stock item. Property 2.12.0.0 GLib.Property("group") GLib.SList The radio button group this button belongs to. a Property 2.12.0.0 GLib.GType The of this object. a gtk-sharp-2.12.40/doc/en/Gtk/MenuItem.xml0000664000175000017500000004674112767740535014700 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Item A widget used for items in menus. The and derived widgets are the only valid children for menus. Their function is to correctly handle highlighting, alignment, events and submenus. MenuBar mb = new MenuBar (); Menu file_menu = new Menu (); MenuItem exit_item = new MenuItem("Exit"); file_menu.Append (exit_item); MenuItem file_item = new MenuItem("File"); file_item.Submenu = file_menu; mb.Append (file_item); Constructor 2.12.0.0 A constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 The label text on the menu item, with an underscore in front of the mnemonic character. Creates a new MenuItem containing a label. Property 2.12.0.0 System.String Sets the accelerator path. The accelerator path of the menu item. Sets the accelerator path, through which runtime changes of the menu item's accelerator caused by the user can be identified and saved to persistant storage. Method 2.12.0.0 System.Void Emits the event on the given item. Event 2.12.0.0 GLib.Signal("activate") System.EventHandler Emitted when the item is activated. Event 2.12.0.0 GLib.Signal("activate_item") System.EventHandler Emitted when the item is activated, but also if the menu item has a submenu. For normal applications, the relevant event is . Method 2.12.0.0 System.Void Fires the event. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideActivated", Type=typeof(Gtk.MenuItem)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideActivateItem", Type=typeof(Gtk.MenuItem)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideToggleSizeAllocated", Type=typeof(Gtk.MenuItem)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideToggleSizeRequested", Type=typeof(Gtk.MenuItem)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Obsolete System.Void Removes the submenu of the , if it has one. Property 2.12.0.0 System.Boolean Sets or obtains whether the menu item appears justified at the right side of a menu bar. Returns if the menu item will appear at the far right if added to a menu bar. Method 2.12.0.0 System.Void Fires the event. Property 2.12.0.0 GLib.Property("submenu") Gtk.Widget Sets or obtains the widget submenu. A submenu for this menu item, or if none. // A container: Menu mnuFile = new Menu(); // An item MenuItem itmFile = new MenuItem ("_File"); // Add the item into the container: itmFile.Submenu = mnuFile; // // Add the newly-created File menu into the menubar: menuBar.Add (itmFile); Method 2.12.0.0 System.Void The allocation to use as signal data. Emits the event on the given item. Event 2.12.0.0 GLib.Signal("toggle_size_allocate") Gtk.ToggleSizeAllocatedHandler Emitted when size is allocated. Method 2.12.0.0 System.Int32 Emits the event on the given item. The requisition to use as signal data. Event 2.12.0.0 GLib.Signal("toggle_size_request") Gtk.ToggleSizeRequestedHandler Emitted when size is requested. gtk-sharp-2.12.40/doc/en/Gtk/StockManager.xml0000664000175000017500000001702212767740535015521 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object this class manages the s Constructor 2.12.0.0 Do not use. Do not use Method 2.12.0.0 System.Void a Adds a stock item. Method 2.12.0.0 System.Void an array of Registers each of the stock items in . If an item already exists with the same stock ID as one of the , the old item gets replaced. The stock items are copied, so GTK+ does not hold any pointer into and can be freed. Method 2.12.0.0 System.Obsolete("Use the StockItem or StockItem[] overload instead.") System.Void a a Adds a stock item. This signature is obsolete, but preserved for backward compatibility. Use the single parameter overload for new code. Method 2.12.0.0 System.Obsolete("Use StockManager.Add instead") System.Void a a Obsolete, do not use. Method 2.12.0.0 System.Boolean a a Finds a stock item by stock_id. a See also Method 2.12.0.0 System.Boolean a a Finds a stock item by stock_id. a gtk-sharp-2.12.40/doc/en/Gtk/AccelMap.xml0000664000175000017500000005474512767740535014625 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Global accelerator map for an entire application. This class is a singleton; only one can exist at a time. Constructor 2.12.0.0 Protected constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 a Internal constructor This is not typically used by C# code. Method 2.12.0.0 System.Void a a a Registers a new accelerator with the global accelerator map. This function should only be called once per with the canonical and for this path. To change the accelerator during runtime programatically, use . The accelerator path must consist of "<WINDOWTYPE>/Category1/Category2/.../Action", where <WINDOWTYPE> should be a unique application-specific identifier, that corresponds to the kind of window the accelerator is being used in, e.g. "Gimp-Image", "Abiword-Document" or "Gnumeric-Settings". The Category1/.../Action portion is most appropriately chosen by the action the accelerator triggers, i.e. for accelerators on menu items, choose the item's menu path, e.g. "File/Save As", "Image/View/Zoom" or "Edit/Select All". So a full valid accelerator path may look like: "<Gimp-Toolbox>/File/Dialogs/Tool Options...". Method 2.12.0.0 System.Void a Adds a filter to the global list of accel path filters. Accel map entries whose accel path matches one of the filters are skipped by . This function is intended for Gtk# modules that create their own menus but don't want them to be saved into the applications accelerator map dump. Method 2.12.0.0 System.Boolean a a a a Changes the and currently associated with . a Due to conflicts with other accelerators, a change may not always be possible. The parameter indicates whether other accelerators may be deleted to resolve such conflicts. A change will only occur if all conflicts could be resolved (which might not be the case if conflicting accelerators are locked). Successful changes are indicated by a return value. Method 2.12.0.0 System.Void a , data to pass to a , function to execute on each accel map entrey Loops over the entries in the accelerator map whose accel path doesn't match any of the filters added with and executes on each. See also . XXX: See http://bugzilla.ximian.com/show_bug.cgi?id=70912. Method 2.12.0.0 System.Void a a Loops over all entries in the accelerator map and executes * on each. See also . Method 2.12.0.0 Gtk.AccelMap Gets the singleton global. object. This object is useful only for notification of changes to the accelerator map via the internal "changed" signal; it isn't a parameter to the other accelerator map functions. a Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 System.Void a Parses a file previously saved with for accelerator specifications, and propagates them accordingly. Method 2.12.0.0 System.Void a , a valid readable file descriptor. File descriptor variant of . Method 2.12.0.0 System.Void a Locks the given accelerator path. If the accelerator map doesn't yet contain an entry for , a new one is created. Locking an accelerator path prevents its accelerator from being changed during runtime. A locked accelerator path can be unlocked by . Refer to for information about runtime accelerator changes. If called more than once, remains locked until has been called an equivalent number of times. Note that locking of individual accelerator paths is independent from locking the containing them. For runtime accelerator changes to be possible both the accelerator path and its have to be unlocked. Method 2.12.0.0 System.Boolean a , a valid accelerator path a , the accelerator key to be filled in (optional) Looks up the accelerator entry for and fills in . a , if is known, otherwise. Event 2.12.0.0 GLib.Signal("changed") Gtk.MapChangedHandler Raised when there is a change to the global accelerator map. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideMapChanged", Type=typeof(Gtk.AccelMap)) System.Void a a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Void a , a file to contain accelerator specifications Saves current accelerator specifications (accelerator path, key and modifiers) to . The file is written in a format suitable to be read back in by . Method 2.12.0.0 System.Void a , a valid writeable file descriptor File descriptor variant of . Method 2.12.0.0 System.Void a , a valid accelerator path Undoes the last call to on this . Refer to for information about accelerator path locking. gtk-sharp-2.12.40/doc/en/Gtk/CreateCustomWidgetArgs.xml0000664000175000017500000000331612767740535017523 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. If you set the to a in an event handler, the specified widget will be added to a custom tab in the print dialog. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.40/doc/en/Gtk/DragDataGetHandler.xml0000664000175000017500000000310612767740535016546 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DragDataGetHandler instance to the event. The methods referenced by the DragDataGetHandler instance are invoked whenever the event is raised, until the DragDataGetHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/PrintSettings.xml0000664000175000017500000010261712767740535015765 00000000000000 gtk-sharp 2.12.0.0 GLib.Object To be added. To be added. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 System.Obsolete To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Property 2.12.0.0 System.Boolean To be added. To be added. To be added. Method 2.12.0.0 Gtk.PrintSettings To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 Gtk.PrintDuplex To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Double To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Double To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Double To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Gtk.PageRange To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Double To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Double To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Property 2.12.0.0 Gtk.PageOrientation To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 Gtk.PageSet To be added. To be added. To be added. Property 2.12.0.0 Gtk.PaperSize To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 Gtk.PrintPages To be added. To be added. To be added. Property 2.12.0.0 Gtk.PrintQuality To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Property 2.12.0.0 System.Boolean To be added. To be added. To be added. Property 2.12.0.0 System.Double To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Property 2.12.0.0 System.Boolean To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/IframeCreatedHandler.xml0000664000175000017500000000313312767740535017132 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the IframeCreatedHandler instance to the event. The methods referenced by the IframeCreatedHandler instance are invoked whenever the event is raised, until the IframeCreatedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/Expander.xml0000664000175000017500000003640412767740535014716 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Bin A container which can hide its child A allows the user to hide or show its child by clicking on an expander triangle similar to the triangles used in a . Normally you use an expander as you would use any other descendant of ; you create the child widget and use to add it to the expander. When the expander is toggled, it will take care of showing and hiding the child automatically. using System; using Gtk; class DemoExpander : Gtk.Window { static void Main () { Application.Init (); new DemoExpander (); Application.Run (); } DemoExpander () : base ("Demo Expander") { this.BorderWidth = 10; this.DeleteEvent += new DeleteEventHandler (OnWindowDelete); VBox vbox = new VBox (); vbox.PackStart (new Label ("Expander demo. Click on the triangle for details."), false, true, 3); Expander expander = new Expander ("Details"); expander.Add (new Label ("Details can be shown or hidden.")); vbox.PackStart (expander, false, true, 3); this.Add (vbox); this.ShowAll (); } void OnWindowDelete (object sender, DeleteEventArgs a) { Application.Quit (); } } Special Usage There there are situations in which you may prefer to show and hide the expanded widget yourself, such as when you want to actually create the widget at expansion time. In this case, create a but do not add a child to it. The expander widget has which can be used to monitor its expansion state. using System; using Gtk; class DemoExpander : Gtk.Window { static void Main () { Application.Init (); new DemoExpander (); Application.Run (); } DemoExpander () : base ("Demo Expander") { this.BorderWidth = 10; this.DeleteEvent += new DeleteEventHandler (OnWindowDelete); VBox vbox = new VBox (); vbox.PackStart (new Label ("Expander demo. Click on the triangle for details."), false, true, 3); Expander expander = new Expander ("Details"); expander.Activated += new EventHandler (OnExpanded); vbox.PackStart (expander, false, true, 3); this.Add (vbox); this.ShowAll (); } void OnExpanded (object sender, EventArgs a) { Expander expander = sender as Expander; if (expander.Child == null) { expander.Add (new Label ("Details can be shown or hidden.")); expander.ShowAll (); } } void OnWindowDelete (object sender, DeleteEventArgs a) { Application.Quit (); } } Constructor 2.12.0.0 System.Obsolete a Internal constructor Constructor 2.12.0.0 a Internal constructor Constructor 2.12.0.0 a Creates a new expander with as its label. Event 2.12.0.0 GLib.Signal("activate") System.EventHandler Emitted when the expander is toggled. Property 2.12.0.0 GLib.Property("expanded") System.Boolean The state of the expander. a Returns if the child widget is revealed. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("label") System.String The text of the label of the expander. a If the label text has not been set the return value will be . Setting the label will also clear any previously set labels. Property 2.12.0.0 GLib.Property("label-widget") Gtk.Widget The label widget for the expander. the label , or if there is none. This is the widget that will appear embedded alongside the expander arrow. Method 2.12.0.0 Gtk.Expander a Public constructor. a Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideActivated", Type=typeof(Gtk.Expander)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 2.12.0.0 GLib.Property("spacing") System.Int32 Space to put between the label and the child. a Allowed values: >= 0 Default value: 0 Property 2.12.0.0 GLib.Property("use-markup") System.Boolean Whether the text of the label contains markup in Pango's text markup language. a , if the label's text should be parsed for markup Property 2.12.0.0 GLib.Property("use-underline") System.Boolean Whether an embedded underline in the expander label indicates a mnemonic. a , if underlines in the text indicate mnemonics gtk-sharp-2.12.40/doc/en/Gtk/NoExposeEventArgs.xml0000664000175000017500000000460512767740535016525 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.Event The which triggered the . a gtk-sharp-2.12.40/doc/en/Gtk/TrayIcon.xml0000664000175000017500000001014512767740535014672 00000000000000 gtk-sharp 2.12.0.0 Gtk.Plug Private X11-only TrayIcon type. Use instead for a platform independent status icon. Constructor 2.12.0.0 Protected constructor. Do not use this type. See instead. Constructor 2.12.0.0 System.Obsolete Native type value. Obsolete.. Do not use. Constructor 2.12.0.0 Native instance pointer. Pseudo-Internal constructor. For use by language bindings. Property 2.12.0.0 GLib.GType Native GType value. a . For use by language bindings. Property 2.12.0.0 GLib.Property("orientation") Gtk.Orientation Orientation of icon. a . gtk-sharp-2.12.40/doc/en/Gtk/PreviewArgs.xml0000664000175000017500000000650112767740535015401 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.PrintContext The Print Context for the preview operation. A . Property 2.12.0.0 Gtk.Window The Parent widget for the Preview display. A , or . Property 2.12.0.0 Gtk.PrintOperationPreview The Print Preview operation. A . gtk-sharp-2.12.40/doc/en/Gtk/VisibilityNotifyEventArgs.xml0000664000175000017500000000473312767740535020307 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.EventVisibility The uses this method to access the details of an event. a gtk-sharp-2.12.40/doc/en/Gtk/TreeNodeValueAttribute.xml0000664000175000017500000000575112767740535017537 00000000000000 gtk-sharp 2.12.0.0 >Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Attribute System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Field | System.AttributeTargets.All, AllowMultiple=true) An attribute to identify a property as a tree node column value. This attribute is applied to a property of a tree node class to indicate that the property holds a column value of the node. In the following example, the Frombulator property is tagged as Column 2 of the node which implements it: [TreeNodeValue(Column=2)] public string Frombulator { get { return frombulator; } } Constructor 2.12.0.0 TreeNodeValueAttribute constructor Instantiates a Property 2.12.0.0 System.Int32 Column named value a The column number of the value which is exposed by the property this marks. gtk-sharp-2.12.40/doc/en/Gtk/TreeDragSourceImplementor.xml0000664000175000017500000000703512767740535020240 00000000000000 gtk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Gtk.TreeDragSourceAdapter)) TreeDragSource implementor interface. The implementable portion of the interface. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/Ruler.xml0000664000175000017500000003052712767740535014241 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Widget A base class for ruler widgets. The Ruler widget is a base class for horizontal and vertical rulers. Rulers are used to show the mouse pointer's location in a window. Within the ruler a small triangle indicates the location of the mouse relative to the horizontal or vertical ruler. Concrete classes are and for horizontal and vertical rulers, respectively. With this class, you can adjust the unit type and the range of values that a ruler displays. Note:- This widget is considered too specialized for GTK+, and will likely be moved to some other package in the future. Constructor 2.12.0.0 Protected constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Void Draws the mouse position mark on the ruler. Method 2.12.0.0 System.Void Draws tickmarks on the ruler. Method 2.12.0.0 System.Void A for the lower value to display on the Ruler. A for the upper value to display on the Ruler. A for the current position of the mouse aligned with this Ruler. A , the maximum size of the ruler. Gets the range information. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("lower") System.Double The lower limit of the ruler. A Property 2.12.0.0 GLib.Property("max-size") System.Double The maximum size of the ruler. A Property 2.12.0.0 GLib.Property("metric") Gtk.MetricType Manage the measurement unit that is displayed. The current units in use. If this property is not explicitly set, the default for a ruler is . Property 2.12.0.0 GLib.Property("position") System.Double The position of the mouse mark on the ruler. A Method 2.12.0.0 System.Void The lower value to display on the Ruler. The upper value to display on the Ruler. The current position of the mouse aligned with this Ruler. A , the maximum size of the ruler. Sets the range information. Property 2.12.0.0 GLib.Property("upper") System.Double The upper value to display on the ruler. A gtk-sharp-2.12.40/doc/en/Gtk/TextDirection.xml0000664000175000017500000000550712767740535015735 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.TextDirectionGType)) An enumeration used to indicate the reading direction of a . See to change the text direction of a widget. Field 2.12.0.0 Gtk.TextDirection Left to right. Field 2.12.0.0 Gtk.TextDirection No specific text direction; will be used. Field 2.12.0.0 Gtk.TextDirection Right to left. gtk-sharp-2.12.40/doc/en/Gtk/TextAttributes.xml0000664000175000017500000005517312767740535016147 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque An object to represent the possible attributes of text in a Constructor 2.12.0.0 Public constructor. Constructor 2.12.0.0 An , a pointer to the C object. Constructor for internal use only. Property 2.12.0.0 Gtk.TextAppearance The appearance of this text: colors, underlining, etc. To be added. See for more details. Property 2.12.0.0 System.Boolean Whether background is fit to full line height a Method 2.12.0.0 Gtk.TextAttributes Makes a new copy of this object. A new FIXME: elaborate the difference between this and Copy, and see if the differences in the underlying C library carry over to the C# library Method 2.12.0.0 System.Void A new Copy the values in this object to and free the values in this object.. Property 2.12.0.0 Gtk.TextDirection Whether this text runs right-to-left or left-to-right. To be added. Property 2.12.0.0 System.Boolean Whether or not the text is editable. a Method 2.12.0.0 System.Void To be added. To be added. Property 2.12.0.0 System.Obsolete("Replaced by Font property.") Pango.FontDescription The font for this text. a Property 2.12.0.0 Pango.FontDescription The font for this text. To be added. Property 2.12.0.0 System.Double The scale of this text. To be added. For more information about font scaling, see Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.Int32 The size of the indent. To be added. Property 2.12.0.0 System.Boolean Whether or not the text should be hidden. a Property 2.12.0.0 Gtk.Justification The justification of this text. To be added. Property 2.12.0.0 System.Obsolete("Replaced by Language property.") Pango.Language The language of this text. a Property 2.12.0.0 Pango.Language The language of this text. To be added. Property 2.12.0.0 System.Int32 The size of the left margin. To be added. Method 2.12.0.0 System.Obsolete("Replaced by TextAttributes() constructor") Gtk.TextAttributes Obsolete, replaced by normal constructor A new Method 2.12.0.0 System.Obsolete("Replaced by TextAttributes(IntPtr) constructor") Gtk.TextAttributes An , a pointer to the C object. Obsolete constructor for internal use only. a new Property 2.12.0.0 System.Int32 The number of blank pixels above a line of text. To be added. Property 2.12.0.0 System.Int32 The number of blank pixels below a line of text. To be added. Property 2.12.0.0 System.Int32 The number of pixels between wrapped lines. To be added. Property 2.12.0.0 System.Boolean Whether or not the attribute is fully-realized. a Method 2.12.0.0 System.Void To be added. To be added. To be added. Property 2.12.0.0 System.Int32 The size of the right margin. To be added. Property 2.12.0.0 System.Obsolete("Replaced by Tabs property.") Pango.TabArray The tab stops for this text. a Property 2.12.0.0 Pango.TabArray The tab stops for this text. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Property 2.12.0.0 Gtk.WrapMode The line-wrapping style for this text. To be added. Field 2.12.0.0 System.Obsolete("Gtk.TextAttributes is a reference type now, use null") Gtk.TextAttributes Obsolete: use . gtk-sharp-2.12.40/doc/en/Gtk/SizeRequestedArgs.xml0000664000175000017500000000516512767740535016561 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.Requisition The width and height this widget would like to have. A Requisition req = args.Requisition; req.Width = 100; req.Height = 200; // NB: You must assign the value back to args.Requisition args.Requisition = req; gtk-sharp-2.12.40/doc/en/Gtk/PageSetupUnixDialog.xml0000664000175000017500000001127012767740535017023 00000000000000 gtk-sharp 2.12.0.0 Gtk.Dialog To be added. To be added. Constructor 2.12.0.0 System.Obsolete To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 Gtk.PageSetup To be added. To be added. To be added. Property 2.12.0.0 Gtk.PrintSettings To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/SelectionNotifyEventHandler.xml0000664000175000017500000000326212767740535020562 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SelectionNotifyEventHandler instance to the event. The methods referenced by the SelectionNotifyEventHandler instance are invoked whenever the event is raised, until the SelectionNotifyEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/Adjustment.xml0000664000175000017500000005226412767740535015270 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Object Encapsulates an adjustable bounded value. The Adjustment object represents a value with an associated and bound, together with a , , and a . The Adjustment object does not update the value itself. Instead it is left up to the owner of the Adjustment to control the value. The owner of the Adjustment typically calls the and methods after changing the value or its bounds, respectively. This results in the emission of the or events respectively. An Adjustment is used within several widgets, including , , and (which is a base class for , , , and ). Constructor 2.12.0.0 Default constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 The initial value. The minimum value. The maximum value. The increment to use to make minor changes to the value. The increment to use to make major changes to the value. The page size. In a this is the size of the area that is currently visible. Creates an Adjustment with the specified value and bounds. Method 2.12.0.0 System.Void Fires the event. This method should be called manually after changing properties to notify all listening objects that one or more of the Adjustment's bounds have changed. Event 2.12.0.0 GLib.Signal("changed") System.EventHandler This event is raised when is called. If the Adjustment's properties change, (such as , etc.), it is up to whichever class changes the values to call to ensure this event is raised. Method 2.12.0.0 System.Void Fires the event. This method should be called manually after changing properties to notify all listening objects that the Adjustment's has changed. Method 2.12.0.0 System.Void The lower value of the new range. The upper value of the new range. Used to inform the Adjustment's view that a new visible range should be displayed. This method should be used to set the currently visible range to (, ).?If necessary, the current is changed to ensure that it is visible within the new scope. If the specified range is larger than the , then only the start of it will make up the new "current page". The event will be raised if the changes as a result of this method. must be called manually if the event should be raised. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("lower") System.Double Retrieve the lower bound of this Adjustment. a The minimum possible value that is currently allowed. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideChanged", Type=typeof(Gtk.Adjustment)) System.Void Virtual method to override the event default handler. Override this method to change the default event handling for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideValueChanged", Type=typeof(Gtk.Adjustment)) System.Void Virtual method for event default handling. Override this method to change the default event handling for the event. Property 2.12.0.0 GLib.Property("page-increment") System.Double Manage the increment used to make major changes to the value. The current PageIncrement. The usefulness of this value is entirely dependent upon the context in whic hthe Adjustment is used. Property 2.12.0.0 GLib.Property("page-size") System.Double Manage the size of a 'page'. The current size of pages in this Adjustment. In a this is the size of the area which is currently visible. Method 2.12.0.0 System.Void The minimum value. The maximum value. The increment to use to make minor changes to the value. The increment to use to make major changes to the value. The page size. In a this is the size of the area that is currently visible. Sets all the properties of the Adjustment at the same time. When updating the values and properties of an Adjustment, remember to call the and/or methods to ensure the correct events are raised. Property 2.12.0.0 GLib.Property("step-increment") System.Double The increment to use to make minor changes to the value. a In a this increment is used when the mouse is clicked on the arrows at the top and bottom of the , to scroll by a small amount. Property 2.12.0.0 GLib.Property("upper") System.Double Retrieve the upper bound of this Adjustment. a The maximum possible value that is currently allowed. Property 2.12.0.0 GLib.Property("value") System.Double Manage the current . The current value of this adjustment. If you set this property, you should manually call so that all listening objects are notified of the change. Event 2.12.0.0 GLib.Signal("value_changed") System.EventHandler This event is raised when is called. This event can be handled to be notified of changes to the Adjustment's value. However, this relies on all objects that change the calling . gtk-sharp-2.12.40/doc/en/Gtk/ResponseHandler.xml0000664000175000017500000000304212767740535016234 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ResponseHandler instance to the event. The methods referenced by the ResponseHandler instance are invoked whenever the event is raised, until the ResponseHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/DragFailedArgs.xml0000664000175000017500000000453012767740535015742 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs To be added. To be added. Constructor 2.12.0.0 To be added. To be added. Property 2.12.0.0 Gdk.DragContext To be added. To be added. To be added. Property 2.12.0.0 Gtk.DragResult To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/AcceptPositionHandler.xml0000664000175000017500000000315112767740535017363 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the AcceptPositionHandler instance to the event. The methods referenced by the AcceptPositionHandler instance are invoked whenever the event is raised, until the AcceptPositionHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/SelectCursorParentArgs.xml0000664000175000017500000000337512767740535017555 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.40/doc/en/Gtk/ChildAttachedHandler.xml0000664000175000017500000000314112767740535017117 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ChildAttachedHandler instance to the event. The methods referenced by the ChildAttachedHandler instance are invoked whenever the event is raised, until the ChildAttachedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/PositionType.xml0000664000175000017500000000702612767740535015614 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.PositionTypeGType)) Indicates a position for placement or layout. A PositionType is used to place widgets, usually relative to other widgets or other parts of the same widget. For example, the position of a handle in a , or the position of tabs in a . Field 2.12.0.0 Gtk.PositionType The relevant item should be placed at the bottom. Field 2.12.0.0 Gtk.PositionType The relevant item should be placed on the left. Field 2.12.0.0 Gtk.PositionType The relevant item should be placed on the right. Field 2.12.0.0 Gtk.PositionType The relevant item should be placed at the top. gtk-sharp-2.12.40/doc/en/Gtk/ButtonPressEventHandler.xml0000664000175000017500000000250212767740535017730 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Represents a method that will handle a button press event The events is provided an value that contains the event data (). gtk-sharp-2.12.40/doc/en/Gtk/Accelerator.xml0000664000175000017500000001741212767740535015372 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object An accelerator. TODO: explain the relationship between this class and . Constructor 2.12.0.0 Basic constructor. Property 2.12.0.0 Gdk.ModifierType A mask to specify the default modifier key(s). a Method 2.12.0.0 System.String A representing the accelerator keyval. A representing the accelerator modifier mask. Converts an accelerator keyval and modifier mask into a string which can be used to represent the accelerator to the user. A newly-allocated string representing the accelerator. Method 2.12.0.0 System.String a a Converts an accelerator keyval and modifier mask into a string parseable by . For example, if you pass in and , this function returns "<Control>q". a In Gtk+, the return value must be freed by the caller, but not in Gtk#. Method 2.12.0.0 System.Void a a , thekey to map to. a to fill with data. Parses a string representing an accelerator. The format looks like "<Control>a" or "<Shift><Alt>F1" or "<Release>z" (the last one is for key release). The parser is fairly liberal and allows lower or upper case, and also abbreviations such as "<Ctl>" and "<Ctrl>". If the parse fails, and will be set to 0 (zero). Method 2.12.0.0 System.Boolean a , see for useful values a Determines whether a given keyval and modifier mask constitute a valid keyboard accelerator. For example, keyval plus is valid; this is a "Ctrl+a" accelerator. However, you can't use the keyval as an accelerator. a gtk-sharp-2.12.40/doc/en/Gtk/IframeCreatedArgs.xml0000664000175000017500000000444712767740535016462 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 3.16.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 3.16.0.0 Gtk.HTML The IFRAME element that was created. a gtk-sharp-2.12.40/doc/en/Gtk/TreeViewColumnDropFunc.xml0000664000175000017500000000322612767740535017515 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Boolean To be added. To be added. To be added. To be added. A delegate type to specify a function signature for saying where a dragged column may be dropped. To be added. See for more details on how this delegate should be used. gtk-sharp-2.12.40/doc/en/Gtk/TextPendingScroll.xml0000664000175000017500000000322012767740535016546 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque Do not use. Do not use Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. gtk-sharp-2.12.40/doc/en/Gtk/SizeChangedArgs.xml0000664000175000017500000000400512767740535016141 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Int32 The new icon size. an integer representing the icon size. gtk-sharp-2.12.40/doc/en/Gtk/Fixed+FixedChild.xml0000664000175000017500000000576712767740535016216 00000000000000 gtk-sharp 2.12.0.0 Gtk.Container+ContainerChild A child of a , used to interact with its container child properties. Constructor 2.12.0.0 To be added. To be added. To be added. To be added. Property 2.12.0.0 Gtk.ChildProperty("x") System.Int32 The child's X coordinate The child's X coordinate Property 2.12.0.0 Gtk.ChildProperty("y") System.Int32 The child's Y coordinate The child's Y coordinate gtk-sharp-2.12.40/doc/en/Gtk/InputDialog.xml0000664000175000017500000002520712767740535015366 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Dialog Configure devices for the XInput extension. NOTE: this is considered too specialized/little-used for Gtk#, and will in the future be moved to some other package. If your application needs this , feel free to use it, as the does work and is useful in some applications; it's just not of general interest. However, we are not accepting new features for the , and it will eventually move out of the Gtk# distribution. displays a which allows the user to configure XInput extension devices. For each device, they can control the mode of the device (disabled, screen-relative, or window-relative), the mapping of axes to coordinates, and the mapping of the devices macro keys to key press events. contains two s to which the application can connect; one for closing the , and one for saving the changes. No actions are bound to these by default. The changes that the user makes take effect immediately. Constructor 2.12.0.0 Creates an instance of Creates an instance of Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 Gtk.Button The "close window" button in this dialog. a Event 2.12.0.0 GLib.Signal("disable_device") Gtk.DisableDeviceHandler Emitted when the user changes the mode of a device from a GDK_MODE_SCREEN or GDK_MODE_WINDOW to GDK_MODE_ENABLED. This signal is emitted when the user changes the mode of a device from a GDK_MODE_SCREEN or GDK_MODE_WINDOW to GDK_MODE_ENABLED. Event 2.12.0.0 GLib.Signal("enable_device") Gtk.EnableDeviceHandler Emitted when the user changes the mode of a device from GDK_MODE_DISABLED to a GDK_MODE_SCREEN or GDK_MODE_WINDOW. This signal is emitted when the user changes the mode of a device from GDK_MODE_DISABLED to a GDK_MODE_SCREEN or GDK_MODE_WINDOW. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDisableDevice", Type=typeof(Gtk.InputDialog)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideEnableDevice", Type=typeof(Gtk.InputDialog)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 2.12.0.0 Gtk.Button The save button in this dialog. a gtk-sharp-2.12.40/doc/en/Gtk/PageAddedHandler.xml0000664000175000017500000000167012767740535016241 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void sender. event arguments. Event handler for events. gtk-sharp-2.12.40/doc/en/Gtk/Rc.xml0000664000175000017500000005047312767740535013516 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Object for rc-file handling--- for example, ~/.gtkrc--- and application style and default setting. Rc files can be used to set the colors of just about any widget, and they can also be used to tile pixmaps onto the background of some widgets. Constructor 2.12.0.0 Public constructor; generates a new RC parser. Method 2.12.0.0 System.Obsolete System.Void a a Deprecated. Do not use. Method 2.12.0.0 System.Void a , the filename to add to the parse list Adds a file to the list of files to be parsed at the end of . If is not absolute, it is searched in the current directory. Method 2.12.0.0 System.Obsolete System.Void a , the style to use for widgets matching a , the pattern to match Adds a that will be looked up by a match against the widget's class pathname. This is equivalent to a "widget_class PATTERN style STYLE" statement in a RC file. Method 2.12.0.0 System.Obsolete System.Void a , the style to use for widgets matching a , the pattern to match Adds a that will be looked up by a match against the widget's pathname. This is equivalent to a "widget PATTERN style STYLE" statement in a RC file. Property 2.12.0.0 System.String[] The current list of RC files that will be parsed at the end of . a , a list of filenames. Unlike the underlying GTK+ function, this function's return string does not use memory owned by the application. Method 2.12.0.0 System.String a Searches for a theme engine in the GTK+ search path. This function is not useful for applications and should not be used. a Method 2.12.0.0 Gtk.Style a Finds all matching RC styles for a given widget, composites them together, and then creates a representing the composite appearance. a (GTK+ actually keeps a cache of previously created styles, so a new style may not be created.) Method 2.12.0.0 Gtk.Style a a , the widget path to use when looking up the style, or if no matching against the widget path should be done a , the class path to use when looking up the style, or if no matching against the class path should be done. a , a type that will be used along with parent types of this type when matching against class styles, or G_TYPE_NONE Creates up a from styles defined in a RC file by providing the raw components used in matching. This function may be useful when creating pseudo-widgets that should be themed like widgets but don't actually have corresponding GTK# widgets. An example of this would be items inside a GNOME canvas widget. a ,a style created by matching with the supplied paths, or if nothing matching was specified and the default style should be used. The returned value is owned by GTK+ as part of an internal cache, so you must call g_object_ref() on the returned value if you want to keep a reference to it. (FIXME: what's the GTK# equivalent of g_object_ref()?) Property 2.12.0.0 System.String The path to the IM module file specified by the RC file. This may be overridden by the GTK_IM_MODULE_FILE environment variable. a (FIXME: does this apply for Gtk# too?) In standard Gtk+ applications, the GTK_IM_MODULE_FILE environment variable overrides the im_module_file specified in the RC files, which in turn overrides the default value sysconfdir/gtk-2.0/gtk.immodules (sysconfdir is the sysconfdir specified when GTK+ was configured, usually /usr/local/etc.) Property 2.12.0.0 System.String Obtains the path in which to look for IM modules. a (FIXME: "See the documentation of the GTK_PATH environment variable for more details about looking up modules.") This function is useful solely for utilities supplied with GTK+ and should not be used by applications under normal circumstances. Property 2.12.0.0 System.String Returns the name a directory in which GTK# looks for theme engines. a Unlike the underlying GTK+ function, the return value of this method is a string, not a directory handle that must be freed later. (FIXME: the GTK+ docs point at the "GTK_PATH" section of "Running GTK applications", which is very detailed and may or may not need included here.) Method 2.12.0.0 System.Void a , the file to parse. Parses an rc file into the internal data structure. Method 2.12.0.0 System.Void a to parse. Parses resource information directly from a string. Method 2.12.0.0 System.Boolean If the modification time on any previously read file for the default has changed, discard all style information and then reread all previously read RC files. a , TRUE if files were re-read. Method 2.12.0.0 System.Boolean a a , force reload whether or not anything changed if TRUE If the modification time on any previously read file for the given has changed, discard all style information and then reread all previously read RC files. a , TRUE if the files were re-read. Method 2.12.0.0 System.Void a Recomputes the styles for all widgets that use a particular object. There is one GtkSettings object per ; see This method is useful when some global parameter has changed that affects the appearance of all widgets, because when a widget gets a new style, it will both redraw and recompute any cached information about its appearance. As an example, it is used when the default font size set by the operating system changes. Note that this function doesn't affect widgets that have a style set explicitly on them with . Property 2.12.0.0 System.String Returns the standard directory in which themes should be installed. (GTK+ does not actually use this directory itself.) a Unlike the underlying GTK+ function, the return value of this method is a string, not a directory handle that must be freed later. gtk-sharp-2.12.40/doc/en/Gtk/ToolbarChildType.xml0000664000175000017500000001015112767740535016347 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.ToolbarChildTypeGType)) Set the type of new elements that are added to a . is used to set the type of new elements that are added to a . Field 2.12.0.0 Gtk.ToolbarChildType Add buttons to the toolbar. Field 2.12.0.0 Gtk.ToolbarChildType Add radio buttons to the toolbar. Field 2.12.0.0 Gtk.ToolbarChildType Add blank space to the toolbar. Field 2.12.0.0 Gtk.ToolbarChildType Add toggle buttons to the toolbar. Field 2.12.0.0 Gtk.ToolbarChildType Add widgets to the toolbar. gtk-sharp-2.12.40/doc/en/Gtk/FocusedHandler.xml0000664000175000017500000000302612767740535016030 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the FocusedHandler instance to the event. The methods referenced by the FocusedHandler instance are invoked whenever the event is raised, until the FocusedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/MoveCurrentHandler.xml0000664000175000017500000000311112767740535016704 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the MoveCurrentHandler instance to the event. The methods referenced by the MoveCurrentHandler instance are invoked whenever the event is raised, until the MoveCurrentHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/ChangedHandler.xml0000664000175000017500000000411112767740535015765 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ChangedHandler instance to the event. The methods referenced by the ChangedHandler instance are invoked whenever the event is raised, until the ChangedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/SurroundingDeletedHandler.xml0000664000175000017500000000323512767740535020250 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SurroundingDeletedHandler instance to the event. The methods referenced by the SurroundingDeletedHandler instance are invoked whenever the event is raised, until the SurroundingDeletedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/TagChangedHandler.xml0000664000175000017500000000310012767740535016416 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the TagChangedHandler instance to the event. The methods referenced by the TagChangedHandler instance are invoked whenever the event is raised, until the TagChangedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/DeleteRangeArgs.xml0000664000175000017500000000565512767740535016150 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data for deleting a range of text. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.TextIter The end of the text range to delete. A Property 2.12.0.0 Gtk.TextIter The beginning of the text range to delete. A gtk-sharp-2.12.40/doc/en/Gtk/TreeModelFilterVisibleFunc.xml0000664000175000017500000000366612767740535020334 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Boolean To be added. To be added. Delegate class for methods run when part of a tree is made visible. To be added. Used primarily as a parameter for . Delegates should return TRUE if the given row should be visible and FALSE otherwise. gtk-sharp-2.12.40/doc/en/Gtk/CycleHandleFocusArgs.xml0000664000175000017500000000451212767740535017133 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Boolean Whether or not to reverse the cycle direction. a gtk-sharp-2.12.40/doc/en/Gtk/EditedHandler.xml0000664000175000017500000000302412767740535015634 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the EditedHandler instance to the event. The methods referenced by the EditedHandler instance are invoked whenever the event is raised, until the EditedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/ProgressBar.xml0000664000175000017500000004641612767740535015405 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Widget A widget which indicates progress visually. The is typically used to display the progress of a long running operation. It provides a visual clue that processing is underway. The can be used in two different modes: percentage mode and activity mode. When an application can determine how much work needs to take place (e.g. read a fixed number of bytes from a file) and can monitor its progress, it can use the in percentage mode and the user sees a growing bar indicating the percentage of the work that has been completed. In this mode, the application is required to set periodically to update the progress bar. When an application has no accurate way of knowing the amount of work to do, it can use the in activity mode, which shows activity by a block moving back and forth within the progress area. In this mode, the application is required to call perodically to update the progress bar. There is quite a bit of flexibility provided to control the appearance of the . Functions are provided to control the orientation of the bar, optional text can be displayed along with the bar, and the step size used in activity mode can be set. The following example show how percentage mode works using System; using Gtk; namespace TestGtkAlone { public class TestProgress { static Gtk.ProgressBar PBar; static void Main() { Gtk.Application.Init(); Gtk.Window WinPBar = new Window("Test Progress bar - Percentage mode"); Gtk.HBox HContainer = new Gtk.HBox(false, 2); PBar = new ProgressBar(); Gtk.Button ButtonStart = new Gtk.Button("Start Progress"); HContainer.Add(PBar); HContainer.Add(ButtonStart); ButtonStart.Clicked += new EventHandler(ButtonStart_Clicked); WinPBar.Add(HContainer); WinPBar.ShowAll(); Gtk.Application.Run(); } public static void ButtonStart_Clicked(object sender, EventArgs args) { PBar.Adjustment.Lower = 0; PBar.Adjustment.Upper = 1000; while (PBar.Adjustment.Value < PBar.Adjustment.Upper) { PBar.Adjustment.Value+=1; } } } } Constructor 2.12.0.0 Creates a new . Creates a new . Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 a Public constructor. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.Property("activity-blocks") System.Obsolete System.UInt32 The number of blocks used when the is in activity mode. an object of type The number of blocks used when the is in activity mode. Larger numbers make the visible block smaller. Property 2.12.0.0 GLib.Property("activity-step") System.Obsolete System.UInt32 The step value used when the is in activity mode. an object of type The step value used when the is in activity mode. The step is the amount by which the progress is incremented each iteration. Property 2.12.0.0 GLib.Property("adjustment") Gtk.Adjustment Details about the increments used in updating the ProgressBar. an object of type Property 2.12.0.0 GLib.Property("bar-style") System.Obsolete Gtk.ProgressBarStyle The style for drawing the . an object of type The style for drawing the . Continuous - The grows in a smooth, continuous manner. Discrete - The grows in discrete, visible blocks. Property 2.12.0.0 GLib.Property("discrete-blocks") System.Obsolete System.UInt32 The number of blocks that the is divided into. an object of type The number of blocks that the is divided into when the style is discrete. Property 2.12.0.0 GLib.Property("ellipsize") Pango.EllipsizeMode To be added a To be added Property 2.12.0.0 GLib.Property("fraction") System.Double The current fraction of the task that has been completed. an object of type The current fraction of the task that has been completed. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("orientation") Gtk.ProgressBarOrientation The current orientation. an object of type The current orientation. Method 2.12.0.0 System.Void Indicates an unknown amount of progress has been made Indicates that some progress has been made, but you don't know how much. This causes the to enter "activity mode," where a block bounces back and forth. Each call to causes the block to move by a little bit (the amount of movement per pulse is determined by ). Property 2.12.0.0 GLib.Property("pulse-step") System.Double The fraction of total length to move the bouncing block for each call to . an object of type The fraction of total length to move the bouncing block for each call to . Property 2.12.0.0 GLib.Property("text") System.String The text displayed superimposed on the . an object of type The text displayed superimposed on the , if any, otherwise . The return value is a reference to the text, not a copy of it, so will become invalid if you change the text in the . Method 2.12.0.0 System.Obsolete System.Void a , the percentage completed this bar should display. Update the progress bar with a new percentage-done. It's marked as obsolete - it's better to use gtk-sharp-2.12.40/doc/en/Gtk/PaginateArgs.xml0000664000175000017500000000406012767740535015506 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.PrintContext The Print Context of the current operation. A . gtk-sharp-2.12.40/doc/en/Gtk/WidgetFlags.xml0000664000175000017500000004112612767740535015345 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.WidgetFlagsGType)) System.Flags Tells about certain properties of the . Field 2.12.0.0 Gtk.WidgetFlags Set and unset by . Must be set on widgets whose window the application directly draws on, in order to keep GTK# from overwriting the drawn stuff. Field 2.12.0.0 Gtk.WidgetFlags The is allowed to receive the default action via . The is allowed to receive the default action via . Field 2.12.0.0 Gtk.WidgetFlags Determines whether a is able to handle focus grabs. Determines whether a is able to handle focus grabs. Field 2.12.0.0 Gtk.WidgetFlags Indicates that the is a composite child of its parent. See , . Field 2.12.0.0 Gtk.WidgetFlags Set and unset by . Indicates that exposes done on the should be double-buffered. Indicates that exposes done on the should be double-buffered. Field 2.12.0.0 Gtk.WidgetFlags The currently is receiving the default action. The currently is receiving the default action. Field 2.12.0.0 Gtk.WidgetFlags Set by for widgets that also have set. The flag will be unset once another widget grabs the focus. Field 2.12.0.0 Gtk.WidgetFlags Set by gtk_grab_add(), unset by gtk_grab_remove(). It means that the widget is in the grab_widgets stack, and will be the preferred one for receiving events other than ones of cosmetic value. Field 2.12.0.0 Gtk.WidgetFlags Set by , unset by . Only realized widgets can be mapped. It means that has been called on the widgets window(s). Field 2.12.0.0 Gtk.WidgetFlags Unused since before GTK 1.2, will be removed in a future version. Field 2.12.0.0 Gtk.WidgetFlags Whether calls to ShowAll and HideAll will effect the widget. Field 2.12.0.0 Gtk.WidgetFlags Indicative for a that does not provide its own . Visible action (e.g. drawing) is performed on the parent's . Field 2.12.0.0 Gtk.WidgetFlags Set and unset by operations on the parents of the . This is the second premise for the widgets sensitivity. Once it has and set, its state is effectively sensitive. Field 2.12.0.0 Gtk.WidgetFlags Indicates that the widgets style has been looked up through the rc mechanism. It does not imply that the actually had a style defined through the rc mechanism. Field 2.12.0.0 Gtk.WidgetFlags Set by , unset by . A realized has an associated . Field 2.12.0.0 Gtk.WidgetFlags The when focused will receive the default action and have set even if there is a different widget set as default. The when focused will receive the default action and have set even if there is a different widget set as default. Field 2.12.0.0 Gtk.WidgetFlags Set and unset by . The sensitivity of a determines whether it will receive certain events (e.g. button or key presses). One premise for the widgets sensitivity is to have this flag set. Field 2.12.0.0 Gtk.WidgetFlags Widgets without a real parent, as there are s and s have this flag set throughout their lifetime. Toplevel widgets always contain their own . Field 2.12.0.0 Gtk.WidgetFlags Set by , unset by . Implies that a will be mapped as soon as its parent is mapped. Implies that a will be mapped as soon as its parent is mapped. gtk-sharp-2.12.40/doc/en/Gtk/ScrollAdjustmentsSetHandler.xml0000664000175000017500000000437512767740535020604 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the ScrollAdjustmentsSetHandler instance to the event. The methods referenced by the ScrollAdjustmentsSetHandler instance are invoked whenever the event is raised, until the ScrollAdjustmentsSetHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/EnableDeviceHandler.xml0000664000175000017500000000312712767740535016750 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the EnableDeviceHandler instance to the event. The methods referenced by the EnableDeviceHandler instance are invoked whenever the event is raised, until the EnableDeviceHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/NodeStore.xml0000664000175000017500000002264612767740535015055 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object System.Collections.IEnumerable A store for that provides data from an arbitrary class. It is simpler to use than the . This class provides a simple mechanism of implementing the Model required by the . [TreeNode (ColumnCount=2)] class DemoNode { string name; string email; public DemoNode (string name, string email) { this.name = name; this.email = email; } [TreeNodeValue (Column=0)] public string Name { get { return name; } } [TreeNodeValue (Column=1)] public string EMail { get { return email; } } } class Demo { NodeStore store; void PopulateStore () { NodeStore store = new NodeStore (typeof (DemoNode)); DemoNode my_node = new DemoNode ("Miguel de Icaza", "miguel@ximian.com"); store.AddNode (my_node); } Iteration: In new versions of Gtk# (2.0 and up) this class implements the interface, so code can be written like this: void DumpColumnValues (NodeStore store, int col) { foreach (object[] row in store) Console.WriteLine ("Value of column {0} is {1}", col, row [col]); } Constructor 2.12.0.0 a NodeStore constructor Creates a for nodes of the specified . The type provided in must implement . Method 2.12.0.0 System.Void a Appends the node to the root level of the tree Adds to the end of the list of root level nodes. Method 2.12.0.0 System.Void a the position to insert it at Inserts the node into the root level of the tree Adds to the list of root level nodes before the node currently at . Method 2.12.0.0 System.Void Removes all nodes from the store. Method 2.12.0.0 System.Collections.IEnumerator Gets an enumerator for the root nodes. a Children of root nodes are not enumerated. You must traverse them independently. Method 2.12.0.0 Gtk.ITreeNode The path to look up. Returns a node given a . To be added. Looks up the node corresponding to and returns it, or null if the node cannot be found. Property 2.12.0.0 GLib.GType Native type value. a Method 2.12.0.0 System.Void a Removes a node from the store. Removes from the list of root level nodes. gtk-sharp-2.12.40/doc/en/Gtk/VScrollbar.xml0000664000175000017500000001075412767740535015221 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Scrollbar A vertical scrollbar The widget is a widget arranged horizontally creating a scrollbar. See for details on scrollbars. pointers may be added to handle the adjustment of the scrollbar or it may be left in which case one will be created for you. See for details. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 The to use, or to create a new adjustment. Creates a new vertical scrollbar. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gtk/HTMLCursorSkipType.xml0000664000175000017500000000744112767740535016602 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum Units for allowing the HTML widget's cursor to skip. Field 3.16.0.0 Gtk.HTMLCursorSkipType Skip units should encompass the whole document. Use for skipping to the beginning or end of the document. Field 3.16.0.0 Gtk.HTMLCursorSkipType To be added. Field 3.16.0.0 Gtk.HTMLCursorSkipType Skip units should be counted in characters. Field 3.16.0.0 Gtk.HTMLCursorSkipType Skip units should be counted in pages. Field 3.16.0.0 Gtk.HTMLCursorSkipType Skip units should be counted in words. gtk-sharp-2.12.40/doc/en/Gtk/TreeSortable.xml0000664000175000017500000002552012767740535015540 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.IWrapper An interface for specifying a tree model that is sortable. See for a working example of a sortable TreeView. Method 2.12.0.0 System.Void Fires a event. Designed to be called by routines that change the sort of the tree. Property 2.12.0.0 Gtk.TreeIterCompareFunc Function to sort columns by default if not otherwise specified by . a This method is meant to be used together with Method 2.12.0.0 System.Boolean a , an integer to put the results in a , an object to put the type of sort into Returns the index of the column currently being used to sort the model data. a Property 2.12.0.0 System.Boolean Return whether this TreeModel has a default sort function or not. a , true if a default sort function exists. See to set a default sort function. Method 2.12.0.0 System.Obsolete("Replaced by SetDefaultSortFunc (TreeIterCompareFunc) overload.") System.Void A , the function to use for sorting ignored ignored Sets a function to sort columns by default if not otherwise specified by . This method is obsolete. It is replaced by the property. Method 2.12.0.0 System.Void A , the sort column index. A , the kind of sort to use Sets which column is to be used to sort the data in the tree. Method 2.12.0.0 System.Void A , the index of the column to be sorted A , the function to use for sorting Sets a function that should be used to be sort a particular column. This method is meant to be used together with Method 2.12.0.0 System.Obsolete("Replaced by SetSortFunc (int, TreeIterCompareFunc) overload.") System.Void A , the index of the column to be sorted A , the function to use for sorting ignored ignored Sets a function that should be used to be sort a particular column. This overloaded method is obsolete. It is replaced by the SetSortFunc (int, TreeIterCompareFunc) overload." />. Event 2.12.0.0 System.EventHandler Raised when the sort column is changed. gtk-sharp-2.12.40/doc/en/Gtk/ItemFactoryCallback1.xml0000664000175000017500000000246512767740535017074 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added. Delegate function to be invoked by . gtk-sharp-2.12.40/doc/en/Gtk/OrientationChangedArgs.xml0000664000175000017500000000460212767740535017525 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.Orientation The new orientation of the toolbar. A . gtk-sharp-2.12.40/doc/en/Gtk/KeySnoopFunc.xml0000664000175000017500000000230612767740535015525 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Int32 To be added. To be added. A function to be invoked by a global hot-key (a , regardless of keyboard focus. To be added. gtk-sharp-2.12.40/doc/en/Gtk/SizeGroupMode.xml0000664000175000017500000000703112767740535015676 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.SizeGroupModeGType)) Determine the direction that is affected by a . The mode of the determines the directions in which the affects the requested sizes of its component widgets. Field 2.12.0.0 Gtk.SizeGroupMode Affects widget size requisitions both horizontally and vertically. Field 2.12.0.0 Gtk.SizeGroupMode Affects widget size requisitions horizontally. Field 2.12.0.0 Gtk.SizeGroupMode Has no effect on widget size requisitions. Field 2.12.0.0 Gtk.SizeGroupMode Affects widget size requisitions vertically. gtk-sharp-2.12.40/doc/en/Gtk/PrintPages.xml0000664000175000017500000000432612767740535015222 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.PrintPagesGType)) PrintPages enumeration. Field 2.12.0.0 Gtk.PrintPages Print all pages. Field 2.12.0.0 Gtk.PrintPages Print the current page. Field 2.12.0.0 Gtk.PrintPages Print a range of pages. gtk-sharp-2.12.40/doc/en/Gtk/ImageIconNameData.xml0000664000175000017500000001077112767740535016375 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Field 2.12.0.0 System.String To be added To be added Method 2.12.0.0 Gtk.ImageIconNameData a To be added a To be added Property 2.12.0.0 Gdk.Pixbuf To be added. To be added. To be added. Field 2.12.0.0 System.UInt32 To be added To be added Field 2.12.0.0 Gtk.ImageIconNameData To be added To be added gtk-sharp-2.12.40/doc/en/Gtk/RecentChooserImplementor.xml0000664000175000017500000002166512767740535020132 00000000000000 gtk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Gtk.RecentChooserAdapter)) RecentChooser implementor interface. The implementable portion of the interface. Method 2.12.0.0 System.Void To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 GLib.List To be added. To be added. To be added. Method 2.12.0.0 GLib.SList To be added. To be added. To be added. Property 2.12.0.0 Gtk.RecentManager To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Property 2.12.0.0 Gtk.RecentSortFunc To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/ProximityInEventArgs.xml0000664000175000017500000000456012767740535017260 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.EventProximity The proximity event that triggered this signal. A gtk-sharp-2.12.40/doc/en/Gtk/HTMLStreamWriteFunc.xml0000664000175000017500000000244512767740535016715 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added. A delegate for use with . Meant to be used for writing the stream. gtk-sharp-2.12.40/doc/en/Gtk/Assistant+AssistantChild.xml0000664000175000017500000001234212767740535020025 00000000000000 gtk-sharp 2.12.0.0 Gtk.Container+ContainerChild To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. To be added. Property 2.12.0.0 Gtk.ChildProperty("complete") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 Gtk.ChildProperty("header-image") Gdk.Pixbuf To be added. To be added. To be added. Property 2.12.0.0 Gtk.ChildProperty("page-type") Gtk.AssistantPageType To be added. To be added. To be added. Property 2.12.0.0 Gtk.ChildProperty("sidebar-image") Gdk.Pixbuf To be added. To be added. To be added. Property 2.12.0.0 Gtk.ChildProperty("title") System.String To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/MatchSelectedArgs.xml0000664000175000017500000000702112767740535016463 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.TreeIter An iterator to point at the selected match within the model. a Property 2.12.0.0 Gtk.TreeModel The tree model that contains the selected match. a gtk-sharp-2.12.40/doc/en/Gtk/RemovedHandler.xml0000664000175000017500000000303112767740535016035 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the RemovedHandler instance to the event. The methods referenced by the RemovedHandler instance are invoked whenever the event is raised, until the RemovedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/AccelChangedHandler.xml0000664000175000017500000000312612767740535016722 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the AccelChangedHandler instance to the event. The methods referenced by the AccelChangedHandler instance are invoked whenever the event is raised, until the AccelChangedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/FileChooserWidget.xml0000664000175000017500000015026312767740535016516 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.VBox Gtk.FileChooser Widget to allow the selection of files from a directory. is a widget suitable for selecting files. It is the main building block of a . Most applications will only need to use the latter; you can use GtkFileChooserWidget as part of a larger window if you have special needs. Note that does not have any methods of its own. Instead, you should use the functions that work on a . Constructor 2.12.0.0 System.Obsolete a Protected constructor. Constructor 2.12.0.0 a , the action this chooser will perform Public constructor. Constructor 2.12.0.0 a , pointer to underlying C object Constructor for internal use. Constructor 2.12.0.0 a , the action this widget should perform a , the filesystem back-end to use. Public constructor. Property 2.12.0.0 GLib.Property("action") Gtk.FileChooserAction Sets the type of operation that that the chooser is performing; the user interface is adapted to suit the selected action. a For example, an option to create a new folder might be shown if the action is but not if the action is . Method 2.12.0.0 System.Void a Adds to the list of filters that the user can select between. When a filter is selected, only files that are passed by that filter are displayed. Method 2.12.0.0 System.Boolean a Adds a folder to be displayed with the shortcut folders in a file chooser. a Note that shortcut folders do not get saved, as they are provided by the application. For example, you can use this to add a "/usr/share/mydrawprogram/Clipart" folder to the volume list. Method 2.12.0.0 System.Boolean a Adds a folder URI to be displayed with the shortcut folders in a file chooser. a , true if the folder could be added successfully, false otherwise. Note that shortcut folders do not get saved, as they are provided by the application. For example, you can use this to add a "file:///usr/share/mydrawprogram/Clipart" folder to the volume list. Event 2.12.0.0 GLib.Signal("confirm-overwrite") Gtk.ConfirmOverwriteHandler Indicates a file overwrite has been requested. This event is raised when the user has selected a file name that already exists and the file chooser is in mode. Most applications just need to turn on the property and they will automatically get a stock confirmation dialog. Applications which need to customize this behavior should do that, and also connect to this event. A connected to this event must set to the value indicating the action to take. If the handler determines that the user wants to select a different filename, it should return . If it determines that the user is satisfied with his choice of file name, it should return . On the other hand, if it determines that the stock confirmation dialog should be used, it should return . Property 2.12.0.0 System.String The current folder for the file chooser, when the chooser has selected a local filename. a Event 2.12.0.0 GLib.Signal("current-folder-changed") System.EventHandler Event raised when the chooser changes the folder it's looking at. Property 2.12.0.0 System.String The file chooser's current folder, if set from a URI. a Property 2.12.0.0 System.String Property to represent the current name in the file selector, as if entered by the user. a Note that the name passed in here is a UTF-8 string rather than a filename. This function is meant for such uses as a suggested name in a "Save As..." dialog. Property 2.12.0.0 GLib.Property("do-overwrite-confirmation") System.Boolean Enables Overwrite Confirmation in the widget. is if confirmation should be performed. Property 2.12.0.0 GLib.Property("extra-widget") Gtk.Widget An application-supplied widget to provide extra options to the user. a Event 2.12.0.0 GLib.Signal("file-activated") System.EventHandler This signal is emitted when the user "activates" a file in the file chooser. This event can happen by double-clicking on a file in the file list, or by pressing Enter. Normally you do not need to connect to this signal. It is used internally by the file chooser code to know when to activate the default button in the dialog. Property 2.12.0.0 System.String The current filename selected by the file chooser. a Property 2.12.0.0 System.String[] The filenames selected by this widget. a Property 2.12.0.0 GLib.Property("filter") Gtk.FileFilter The currently-applied file filter. a Property 2.12.0.0 Gtk.FileFilter[] The filters currently in use by this widget for patterns of files to display. a Property 2.12.0.0 GLib.GType The for this object. a Property 2.12.0.0 GLib.Property("local-only") System.Boolean Sets whether only local files can be selected in the file selector. a If true (the default), then the selected file are files are guaranteed to be accessible through the operating systems native file file system and therefore the application only needs to worry about the filename functions in , like , rather than the URI functions like . Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideConfirmOverwrite", Type=typeof(Gtk.FileChooserWidget)) Gtk.FileChooserConfirmation Default handler for the event. To be added. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCurrentFolderChanged", Type=typeof(Gtk.FileChooserWidget)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideFileActivated", Type=typeof(Gtk.FileChooserWidget)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionChanged", Type=typeof(Gtk.FileChooserWidget)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideUpdatePreview", Type=typeof(Gtk.FileChooserWidget)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 2.12.0.0 System.String Internal function; gets the filename that should be previewed in a custom preview. a Not for general programmer use. Property 2.12.0.0 System.String The URI that should be previewed in a custom preview widget. a Property 2.12.0.0 GLib.Property("preview-widget") Gtk.Widget An application-supplied widget to use to display a custom preview of the currently selected file. a To implement a preview, after setting the preview widget, you connect to the signal, and check or on each change. If you can display a preview of the new file, update your widget and set the preview active using Otherwise, set the preview inactive. When there is no application-supplied preview widget, or the application-supplied preview widget is not active, the file chooser may display an internally generated preview of the current file or it may display no preview at all. Property 2.12.0.0 GLib.Property("preview-widget-active") System.Boolean Sets whether the preview widget set by should be shown for the current filename. a When this property is set to false, the file chooser may display an internally generated preview of the current file or it may display no preview at all. Method 2.12.0.0 System.Void a Removes from the list of filters that the user can select between. Method 2.12.0.0 System.Boolean a Removes a folder from a file chooser's list of shortcut folders. a See also . Method 2.12.0.0 System.Boolean a Removes a folder URI from a file chooser's list of shortcut folders. a See also . Method 2.12.0.0 System.Void Selects all the files in the current folder of a file chooser. Method 2.12.0.0 System.Boolean a Selects a filename. a If the file name isn't in the current folder of the file chooser, then the current folder of the file chooser will be changed to the folder containing . Event 2.12.0.0 GLib.Signal("selection-changed") System.EventHandler This event is raised every time the selected file changes. Property 2.12.0.0 GLib.Property("select-multiple") System.Boolean Sets whether multiple files can be selected in the file selector. a This is only relevant if the action is set to be or . It cannot be set with either of the folder actions. Method 2.12.0.0 System.Boolean a Selects the file at . If the URI doesn't refer to a file in the current folder of the file chooser, then the current folder of the file chooser will be changed to the folder that's part of . a , true if both the folder could be changed and the URI was selected successfully, false otherwise. Method 2.12.0.0 System.Boolean a Sets the current folder for the file chooser from a local filename. a The user will be shown the full contents of the current folder, plus user interface elements for navigating to other folders. Method 2.12.0.0 System.Boolean a , the URI to use Sets the current folder for the chooser from an URI. a , true if the folder could be changed successfully, false otherwise The user will be shown the full contents of the current folder, plus user interface elements for navigating to other folders. Method 2.12.0.0 System.Boolean a Sets as the current filename for the file chooser; If the file name isn't in the current folder of the file chooser, then the current folder of the file chooser will be changed to the folder containing . a , true if both the folder could be changed and the file was selected successfully, false otherwise. This is equivalent to a sequence of followed by . Note that the file must exist, or nothing will be done except for the directory change. To pre-enter a filename for the user, as in a save-as dialog, use . Method 2.12.0.0 System.Boolean a Sets the file referred to by as the current file for the the file chooser. a , true if both the folder could be changed and the URI was selected successfully, false otherwise. Property 2.12.0.0 System.String[] The shortcut folders currently in use for this widget. a Property 2.12.0.0 System.String[] The shortcut URIs currently allowed for this widget. a Property 2.12.0.0 GLib.Property("show-hidden") System.Boolean To be added a To be added Method 2.12.0.0 System.Void Unselects all the files in the current folder of a file chooser. Method 2.12.0.0 System.Void a Unselects a currently selected filename. If the filename is not in the current directory, does not exist, or is otherwise not currently selected, does nothing. Method 2.12.0.0 System.Void a Unselects the file referred to by . If the file is not in the current directory, does not exist, or is otherwise not currently selected, does nothing. Event 2.12.0.0 GLib.Signal("update-preview") System.EventHandler This signal is emitted when the preview in a file chooser should be regenerated. For example, this can happen when the currently selected file changes. You should use this signal if you want your file chooser to have a preview widget. Once you have installed a preview widget with , you should update it when this signal is emitted. You can use the properties or to get the name of the file to preview. Your widget may not be able to preview all kinds of files; your callback must set to inform the file chooser about whether the preview was generated successfully or not. TODO: insert example from gtkfilechooser-preview in gtk+ docs. Property 2.12.0.0 System.String The URI for the currently selected file in the file selector. a If multiple files are selected, one of the filenames will be returned at random. If the file chooser is in folder mode, this function returns the selected folder. Property 2.12.0.0 System.String[] The URIs selected by this widget. a Property 2.12.0.0 GLib.Property("use-preview-label") System.Boolean Sets whether the file chooser should display a stock label with the name of the file that is being previewed; the default is true. a Applications that want to draw the whole preview area themselves should set this to false and display the name themselves in their preview widget. gtk-sharp-2.12.40/doc/en/Gtk/SizeRequestedHandler.xml0000664000175000017500000000313612767740535017236 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SizeRequestedHandler instance to the event. The methods referenced by the SizeRequestedHandler instance are invoked whenever the event is raised, until the SizeRequestedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/Clipboard.xml0000664000175000017500000011037712767740535015051 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object An object that stores clipboard data. The object represents a clipboard of data shared between different processes or between different widgets in the same process. Each clipboard is identified by a name encoded as a . (Conversion to and from strings can be done with and .) The default clipboard corresponds to the "CLIPBOARD" atom; another commonly used clipboard is the "PRIMARY" clipboard, which, in X, traditionally contains the currently selected text. To support having a number of different formats on the clipboard at the same time, the clipboard mechanism allows providing callbacks instead of the actual data. When you set the contents of the clipboard, you can either supply the data directly (eg, via the property), or you can supply a callback to be called at a later time when the data is needed (via or .) Providing a callback also avoids having to make copies of the data when it is not needed. and are quite similar; the choice between the two depends mostly on which is more convenient in a particular situation. The former is most useful when you want to have a blob of data with callbacks to convert it into the various data types that you advertise. When the clear_func you provided is called, you simply free the data blob. The latter is more useful when the contents of clipboard reflect the internal state of a (As an example, for the PRIMARY clipboard, when an entry widget provides the contents for the clipboar the contents are simply the text within the selected region.) If the contents change, the entry widget can call to update the timestamp for clipboard ownership, without having to worry about clear_func being called. Requesting the data from the clipboard is essentially asynchronous. If the contents of the clipboard are provided within the same process, then a direct function call will be made to retrieve the data, but if they are provided by another process, then the data needs to be retrieved from the other process, which may take some time. To avoid blocking the user interface, the call to request the selection, takes a callback that will be called when the contents are received (or when the request fails.) If you do not want to deal with providing a separate callback, you can also use . What this does is run the GLib main loop recursively waiting for the contents. This can simplify the code flow, but you still have to be aware that other callbacks in your program can be called while this recursive mainloop is running. Along with the functions to get the clipboard contents as an arbitrary data chunk, there are also functions to retrieve it as text, and . These functions take care of determining which formats are advertised by the clipboard provider, asking for the clipboard in the best available format and converting the results into the UTF-8 encoding. (The standard form for representing strings in Gtk#.) Constructor 2.12.0.0 Proctected constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Void Clears the contents of the clipboard. Generally this should only be called between the time you call or , and when the clear_func you supplied is called. Otherwise, the clipboard may be owned by someone else. Property 2.12.0.0 Gdk.Display The associated with the clipboard. a Method 2.12.0.0 Gtk.Clipboard an object of type Returns the clipboard object for the given selection. an object of type See for complete details. Method 2.12.0.0 Gtk.Clipboard a a Returns the clipboard object for the given selection. a Cut/copy/paste menu items and keyboard shortcuts should use the default clipboard, returned by passing GDK_SELECTION_CLIPBOARD for selection. (GDK_NONE is supported as a synonym for GDK_SELECTION_CLIPBOARD for backwards compatibility reasons.) The currently-selected object or text should be provided on the clipboard identified by GDK_SELECTION_PRIMARY. Cut/copy/paste menu items conceptually copy the contents of the GDK_SELECTION_PRIMARY clipboard to the default clipboard, i.e. they copy the selection to what the user sees as the clipboard. (Passing GDK_NONE is the same as using gdk_atom_intern ("CLIPBOARD", ). See http://www.freedesktop.org/standards/clipboards.txt for a detailed discussion of the "CLIPBOARD" vs. "PRIMARY" selections under the X window system. On Win32 the GDK_SELECTION_PRIMARY clipboard is essentially ignored.) It is possible to have arbitrary named clipboards; if you do invent new clipboards, you should prefix the selection name with an underscore (because the ICCCM requires that nonstandard atoms are underscore-prefixed), and namespace it as well. For example, if your application called "Foo" has a special-purpose clipboard, you might call it "_FOO_SPECIAL_CLIPBOARD". Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 Gdk.Pixbuf To be added a To be added Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideOwnerChange", Type=typeof(Gtk.Clipboard)) System.Void An event describing the owner change. Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 2.12.0.0 GLib.Object The owner of the clipboard, if any; otherwise . an object of type If the clipboard contents callbacks were set with , and the or has not been subsequently called, it will return the owner set by . Event 2.12.0.0 GLib.Signal("owner_change") Gtk.OwnerChangeHandler To be added To be added Method 2.12.0.0 System.Void a representing the form into which the clipboard-owning program should convert the selection. a , a function to call when the clipboard results are received. Requests the contents of clipboard as the given target. When the results of the result are later received the supplied callback will be called. Method 2.12.0.0 System.Void a To be added To be added Method 2.12.0.0 System.Void a . callback to invoke when data is prepared. Requests the contents as Rich Text asynchronously. Method 2.12.0.0 System.Void a Requests the contents of the clipboard as list of supported targets. When the list is later received, will be called. The "targets" parameter to will contain the resulting targets if the request succeeded, or if it failed. Added in GTK 2.4. Method 2.12.0.0 System.Void a Fetch the clipboard's text and fire the function on it. Method 2.12.0.0 System.Void a a To be added To be added Method 2.12.0.0 System.Obsolete("Replaced by Text property.") System.Void an object of type Deprecated method to set the contents of the clipboard. Replaced by the property. Method 2.12.0.0 System.Boolean a a a Virtually sets the contents of the specified clipboard by providing a list of supported formats for the clipboard data and a function to call to get the actual data when it is requested. a Method 2.12.0.0 System.Boolean a a a a Virtually sets the contents of the specified clipboard by providing a list of supported formats for the clipboard data and a function to call to get the actual data when it is requested. a The difference between this function and is that a is passed in. Method 2.12.0.0 System.Void To be added To be added Property 2.12.0.0 System.String Sets the contents of the clipboard to the given UTF-8 string. a Gtk# will make a copy of the text and take responsibility for responding for requests for the text, and for converting the text into the requested format. Method 2.12.0.0 Gtk.SelectionData an object of type Requests the contents of the clipboard using the given target. an object of type This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait. Method 2.12.0.0 Gdk.Pixbuf To be added a To be added Method 2.12.0.0 System.Byte[] To be added. To be added. Requests contents as Rich Text. a byte array holding the contents. Uses the main loop, so events and timeouts may be dispatched during the wait. Method 2.12.0.0 System.Boolean a a Returns a list of targets that are present on the clipboard, or if there aren't any targets available. a ,TRUE if any targets are present on the clipboard, otherwise FALSE. This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait. Method 2.12.0.0 System.String Requests the contents of the clipboard as text and converts the result to UTF-8 if necessary. an object of type This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait. Method 2.12.0.0 System.Boolean To be added a To be added Method 2.12.0.0 System.Boolean a . Tests if Rich Text is available for pasting. if , rich text is available. This method is slightly faster that since it doesn't retrieve the actual text. Uses the main loop, so events and timeouts may be dispatched during the wait. Method 2.12.0.0 System.Boolean a To be added a To be added Method 2.12.0.0 System.Boolean Test to see if there is text available to be pasted. an object of type This is done by requesting the TARGETS atom and checking if it contains any of the names: STRING, TEXT, COMPOUND_TEXT, UTF8_STRING. This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait. This function is a little faster than calling since it does not need to retrieve the actual text. gtk-sharp-2.12.40/doc/en/Gtk/TreeSortableImplementor.xml0000664000175000017500000001206312767740535017752 00000000000000 gtk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Gtk.TreeSortableAdapter)) TreeSortable implementor interface. The implementable portion of the interface. Property 2.12.0.0 Gtk.TreeIterCompareFunc To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Boolean To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/SpinButtonUpdatePolicy.xml0000664000175000017500000000465212767740535017600 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.SpinButtonUpdatePolicyGType)) Dictates how a is refreshed when its value is updated. Field 2.12.0.0 Gtk.SpinButtonUpdatePolicy When refreshing a , the value is always displayed. Field 2.12.0.0 Gtk.SpinButtonUpdatePolicy When refreshing a , the value is only displayed if it is valid. A value is valid if it lies within the bounds of the spin button's . gtk-sharp-2.12.40/doc/en/Gtk/ProximityOutEventHandler.xml0000664000175000017500000000321612767740535020137 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ProximityOutEventHandler instance to the event. The methods referenced by the ProximityOutEventHandler instance are invoked whenever the event is raised, until the ProximityOutEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/PrintStatus.xml0000664000175000017500000001276512767740535015454 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.PrintStatusGType)) PrintStatus enumeration. Field 2.12.0.0 Gtk.PrintStatus Printing has finished. Field 2.12.0.0 Gtk.PrintStatus Printing was aborted. Field 2.12.0.0 Gtk.PrintStatus Pages are being rendered. Field 2.12.0.0 Gtk.PrintStatus Printing has not started. Field 2.12.0.0 Gtk.PrintStatus Job sent to printer, but has not printed. Field 2.12.0.0 Gtk.PrintStatus Problem occurred during printing. Field 2.12.0.0 Gtk.PrintStatus BeginPrint event has raised. During pagination. Field 2.12.0.0 Gtk.PrintStatus Printer is processing job. Field 2.12.0.0 Gtk.PrintStatus Job is being sent to the printer. gtk-sharp-2.12.40/doc/en/Gtk/ResponseType.xml0000664000175000017500000002074512767740535015611 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.ResponseTypeGType)) This enumeration contains the response signals that are emitted by a . When a button in a is pressed, a response signal is emitted with a response ID. While positive responses are entirely user-defined, the enumeration (all the members have values less than zero) could be also be used instead for convience. Field 2.12.0.0 Gtk.ResponseType Convenience response type to be used in the constructors of the class. Field 2.12.0.0 Gtk.ResponseType Convenience response type to be used in the constructors of the class. Field 2.12.0.0 Gtk.ResponseType Convenience response type to be used in the constructors of the class. Field 2.12.0.0 Gtk.ResponseType Convenience response type to be used in the constructors of the class. Field 2.12.0.0 Gtk.ResponseType This is returned when the dialog is deleted. Field 2.12.0.0 Gtk.ResponseType Convenience response type to be used in the constructors of the class. Field 2.12.0.0 Gtk.ResponseType Convenience response type to be used in the constructors of the class. Field 2.12.0.0 Gtk.ResponseType This is returned if a response widget has no response ID, or has been programmatically hidden or destroyed. Field 2.12.0.0 Gtk.ResponseType Convenience response type to be used in the constructors of the class. Field 2.12.0.0 Gtk.ResponseType Convenience response type to be used in the constructors of the class. Field 2.12.0.0 Gtk.ResponseType Convenience response type to be used in the constructors of the class. gtk-sharp-2.12.40/doc/en/Gtk/TextWindowType.xml0000664000175000017500000001222712767740535016123 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.TextWindowTypeGType)) An enumeration used to identify areas of the . Field 2.12.0.0 Gtk.TextWindowType The window at the bottom of the text window. Field 2.12.0.0 Gtk.TextWindowType The window on the left hand side of the text window. Field 2.12.0.0 Gtk.TextWindowType A private text window that can't be gotten from the text view. Field 2.12.0.0 Gtk.TextWindowType The window on the right hand side of the text window. Field 2.12.0.0 Gtk.TextWindowType The window that displays the text buffer. Field 2.12.0.0 Gtk.TextWindowType The window at the top of the text window. Field 2.12.0.0 Gtk.TextWindowType The overall widget window. gtk-sharp-2.12.40/doc/en/Gtk/HTMLClassProperties.xml0000664000175000017500000000331712767740535016754 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque A properties class for . Internal. Do not use. Constructor 3.16.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. gtk-sharp-2.12.40/doc/en/Gtk/MenuShell.xml0000664000175000017500000006133212767740535015042 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Container A GtkMenuShell is the abstract base class used to derive the GtkMenu and GtkMenuBar subclasses. A is a container of objects arranged in a list which can be navigated, selected, and activated by the user to perform application functions. A can have a submenu associated with it, allowing for nested hierarchical menus. Constructor 2.12.0.0 Protected constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Event 2.12.0.0 GLib.Signal("activate_current") Gtk.ActivateCurrentHandler An action signal that activates the current menu item within the menu shell. Method 2.12.0.0 System.Void The to activate. If , force the deactivation of the menu shell after the menu item is activated. Activates the menu item within the menu shell. Activates the menu item within the menu shell. Method 2.12.0.0 System.Void The to add. Adds a new to the end of the menu shell's item list. Adds a new to the end of the menu shell's item list. Method 2.12.0.0 System.Void Emits the Canceled event. Event 2.12.0.0 GLib.Signal("cancel") System.EventHandler An action signal which cancels the selection within the menu shell.Causes the signal to be emitted. Method 2.12.0.0 System.Void Deactivates the menu shell. Typically this results in the menu shell being erased from the screen. Event 2.12.0.0 GLib.Signal("deactivate") System.EventHandler This signal is emitted when a menu shell is deactivated. Method 2.12.0.0 System.Void Deselects the currently selected item from the menu shell, if any. Deselects the currently selected item from the menu shell, if any. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 System.Void The to add. The position in the item list where is added. Positions are numbered from 0 to n-1. Adds a new to the menu shell's item list at the position indicated by . Adds a new to the menu shell's item list at the position indicated by position. Event 2.12.0.0 GLib.Signal("move_current") Gtk.MoveCurrentHandler An action signal which moves the current menu item in the direction specified by . Event 2.12.0.0 GLib.Signal("move_selected") Gtk.MoveSelectedHandler To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideActivateCurrent", Type=typeof(Gtk.MenuShell)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCanceled", Type=typeof(Gtk.MenuShell)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDeactivated", Type=typeof(Gtk.MenuShell)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideMoveCurrent", Type=typeof(Gtk.MenuShell)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideMoveSelected", Type=typeof(Gtk.MenuShell)) System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionDone", Type=typeof(Gtk.MenuShell)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Void The to add. Adds a new to the beginning of the menu shell's item list. Activates the menu item within the menu shell. Adds a new to the beginning of the menu shell's item list. Method 2.12.0.0 System.Void a Select the first visible or selectable child of the menu shell; don't select tearoff items unless the only item is a tearoff item. If is true, search for the first selectable menu item, otherwise select nothing if the first item isn't sensitive. This should be false if the menu is being popped up initially. Event 2.12.0.0 GLib.Signal("selection-done") System.EventHandler This signal is emitted when a selection has been completed within a menu shell. Method 2.12.0.0 System.Void The to select. Selects the menu item from the menu shell. Selects the menu item from the menu shell. Property 2.12.0.0 GLib.Property("take-focus") System.Boolean Indicates if the keyboard focus should be grabbed when active. if the keyboard focus is taken when active. By default, this is true. Setting to false can have unexpected side effects and in general should only be done with menus that don't contain mnemonics. gtk-sharp-2.12.40/doc/en/Gtk/TextSearchFlags.xml0000664000175000017500000000425212767740535016173 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.TextSearchFlagsGType)) System.Flags Flags for searching text. Field 2.12.0.0 Gtk.TextSearchFlags search only the text Field 2.12.0.0 Gtk.TextSearchFlags search only in visible sections gtk-sharp-2.12.40/doc/en/Gtk/ButtonsType.xml0000664000175000017500000001104312767740535015440 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.ButtonsTypeGType)) An enumeration used by the Gtk.MessageDialog class. Gtk.ButtonsType defines prebuilt sets of buttons for a . If none of these choices are appropriate, simply use then call . Field 2.12.0.0 Gtk.ButtonsType Show a Cancel button. Field 2.12.0.0 Gtk.ButtonsType Show a Close button. Field 2.12.0.0 Gtk.ButtonsType Show no buttons at all Field 2.12.0.0 Gtk.ButtonsType Show an OK button. Field 2.12.0.0 Gtk.ButtonsType Show a set of OK or Cancel buttons. Field 2.12.0.0 Gtk.ButtonsType Show a set of Yes or No buttons. gtk-sharp-2.12.40/doc/en/Gtk/PostActivateHandler.xml0000664000175000017500000000420312767740535017044 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PostActivateHandler instance to the event. The methods referenced by the PostActivateHandler instance are invoked whenever the event is raised, until the PostActivateHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/HTMLFontStyleShift.xml0000664000175000017500000001170212767740535016554 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum Enumeration for how HTML font styles can be changed. Field 3.16.0.0 Gtk.HTMLFontStyleShift Bold font style. Field 3.16.0.0 Gtk.HTMLFontStyleShift Fixed-width font style. Field 3.16.0.0 Gtk.HTMLFontStyleShift Italic font style. Field 3.16.0.0 Gtk.HTMLFontStyleShift Strikeout font style. Field 3.16.0.0 Gtk.HTMLFontStyleShift Subscript font style. Field 3.16.0.0 Gtk.HTMLFontStyleShift Superscript font style. Field 3.16.0.0 Gtk.HTMLFontStyleShift Underlined font style. gtk-sharp-2.12.40/doc/en/Gtk/HTML.xml0000664000175000017500000041454612767740535013723 00000000000000 gtkhtml-sharp 2.12.0.0 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Layout Lightweight HTML rendering widget. is a lightweight HTML rendering widget, as well as as simple graphical HTML editor. Developers can also use it as a widget container (). It is an easy way for viewing HTML documents in your application and for layout UI of your application throught HTML. does not have support for CSS or JavaScript. The following sample is a very minimal web browser. using System; using System.Net; using System.IO; using Gtk; namespace HtmlTest { class HtmlTest { HTML html; Entry entry; string currentUrl; static void Main (string[] args) { new HtmlTest(); } HtmlTest() { Application.Init (); Window win = new Window ("HtmlTest"); win.SetDefaultSize (800, 600); win.DeleteEvent += new DeleteEventHandler (OnWindowDelete); VBox vbox = new VBox (false, 1); win.Add (vbox); HBox hbox = new HBox (false, 1); Label label = new Label ("Address:"); entry = new Entry (""); entry.Activated += new EventHandler (OnEntryActivated); Button button = new Button ("Go!"); button.Clicked += new EventHandler (OnButtonClicked); hbox.PackStart (label, false, false, 1); hbox.PackStart (entry, true, true, 1); hbox.PackStart (button, false, false, 1); vbox.PackStart (hbox, false, false, 1); ScrolledWindow sw = new ScrolledWindow (); sw.VscrollbarPolicy = PolicyType.Always; sw.HscrollbarPolicy = PolicyType.Always; vbox.PackStart(sw, true, true, 1); html = new HTML (); html.LinkClicked += new LinkClickedHandler (OnLinkClicked); sw.Add (html); win.ShowAll(); Application.Run (); } void OnWindowDelete (object obj, DeleteEventArgs args) { Application.Quit(); } void OnButtonClicked (object obj, EventArgs args) { currentUrl = entry.Text.Trim(); LoadHtml (currentUrl); } void OnEntryActivated (object obj, EventArgs args) { OnButtonClicked (obj, args); } void OnLinkClicked (object obj, LinkClickedArgs args) { string newUrl; // decide absolute or relative if (args.Url.StartsWith("http://")) newUrl = args.Url; else newUrl = currentUrl + args.Url; try { LoadHtml (newUrl); } catch { } currentUrl = newUrl; } void LoadHtml (string URL) { HttpWebRequest web_request = (HttpWebRequest) WebRequest.Create (URL); HttpWebResponse web_response = (HttpWebResponse) web_request.GetResponse (); Stream stream = web_response.GetResponseStream (); byte [] buffer = new byte [8192]; HTMLStream html_stream = html.Begin (); int count; while ((count = stream.Read (buffer, 0, 8192)) != 0){ html_stream.Write (buffer, count); } html.End (html_stream, HTMLStreamStatus.Ok); } } } Constructor 3.16.0.0 Creates an empty widget. It creates an empty widget. The returned widget is empty, and defaults to not be editable. Constructor 3.16.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 3.16.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 3.16.0.0 an object of type (FIXME: check this) A constructor. Property 3.16.0.0 System.Boolean Whether to allow framesets in this widget. an object of type Method 3.16.0.0 System.Void an object of type , true if selection is allowed. Set whether selection is allowed in this widget. Property 3.16.0.0 System.Boolean To be added a Method 3.16.0.0 System.Void an object of type Adds HTML to the end of the HTML currently being rendered by the widget. Property 3.16.0.0 System.String The base URL of this document. an object of type Method 3.16.0.0 Gtk.HTMLStream Starts incremental content updating. A handle to push content. Use the Begin method to push new HTML content into the widget. The content type is expected to be in the format defined by , which by default is "html/text; charset=utf-8". using System; using Gtk; class X { static void Main () { Application.Init (); Window w = new Window ("Sample"); HTML html = new HTML (); w.Add (html); w.ShowAll (); HTMLStream s = html.Begin (); string line; while ((line = Console.ReadLine ()) != null) s.Write (line); html.End (s, HTMLStreamStatus.Ok); Application.Run (); } } Compile and run: mcs sample.cs -pkg:gtkhtml-sharp echo "<html> <body>Hello <b>World</b></body> </html>" | mono sample.exe Method 3.16.0.0 Gtk.HTMLStream The content type for the data to be streamed. Starts incremental content updating. With a specific content type. A handle to push content. Use the Begin method to push new HTML content into the widget. The content type has to be specified (like this for example: "html/text; charset=utf-8"). using System; using Gtk; class X { static void Main () { Application.Init (); Window w = new Window ("Sample"); HTML html = new HTML (); w.Add (html); w.ShowAll (); HTMLStream s = html.Begin ("text/html; charset=utf-8"); string line; while ((line = Console.ReadLine ()) != null) s.Write (line); html.End (s, HTMLStreamStatus.Ok); Application.Run (); } } Compile and run: mcs sample.cs -pkg:gtkhtml-sharp echo "<html> <body>Hello <b>World</b></body> </html>" | mono sample.exe Method 3.16.0.0 Gtk.HTMLStream an object of type an object of type an object of type Begins processing HTML. an object of type Property 3.16.0.0 System.Boolean To be added an object of type Property 3.16.0.0 System.String To be added. To be added. To be added. Property 3.16.0.0 System.Boolean To be added. To be added. To be added. Method 3.16.0.0 System.Boolean an object of type , one of the values named in . Execute a command on the widget. an object of type for whether the command succeeded. Method 3.16.0.0 System.Void To be added. To be added. Method System.Void Constructs an instance of a Gtk.HTML widget A derivative object. This is a low-level routine, and should only be used to initialize an instance of a derivative class. Method 3.16.0.0 System.Void Copies the selection to the clipboard. Copies the selection into the clipboard. Event 3.16.0.0 GLib.Signal("current_paragraph_alignment_changed") Gtk.CurrentParagraphAlignmentChangedHandler Raised when the alignment of the current paragraph is changed. Event 3.16.0.0 GLib.Signal("current_paragraph_indentation_changed") Gtk.CurrentParagraphIndentationChangedHandler Raised when the indent level of the current paragraph is changed. Event 3.16.0.0 GLib.Signal("current_paragraph_style_changed") Gtk.CurrentParagraphStyleChangedHandler Raised when the text style of this paragraph is changed. Event 3.16.0.0 GLib.Signal("cursor_changed") System.EventHandler To be added. To be added. Property 3.16.0.0 System.String To be added. To be added. To be added. Event 3.16.0.0 GLib.Signal("cursor_move") Gtk.CursorMoveHandler Occurs when the cursor moves. This event is raised when the widget is in editing mode and the cursor has moved. Property 3.16.0.0 System.String To be added. To be added. To be added. Method 3.16.0.0 System.Void Cuts the selection into the clipboard. If the widget is editable, this cuts the selection into the clipboard; Otherwise it just copies the selection into the clipboard. Property 3.16.0.0 System.String The default content type. an object of type Property 3.16.0.0 GLib.Property("document_base") System.String The base URL of the document. A containing the URL. Method 3.16.0.0 System.Void To be added. To be added. Method 3.16.0.0 System.Void Drops all the undo information. Drops all the Undo and Redo information from the widget. Property 3.16.0.0 GLib.Property("editable") System.Boolean Whether the contents can be edited. if the contents are editable, otherwise. Whether this instance can be used as an HTML editor. Note: must be called before this can be set = . Method 3.16.0.0 System.Boolean Makes the edit cursor visible. a , true if the operation was a success. Method 3.16.0.0 System.Void an object of type , true for enabled, false for disabled Enables or disables debugging features. Method 3.16.0.0 System.Void The to close. The representing the state of the stream when closed. Ends incremental updating Closes the represented by and notifies the HTML widget that it should not expect any more content from that stream. using System; using Gtk; class X { static void Main () { Application.Init (); Window w = new Window ("Sample"); HTML html = new HTML (); w.Add (html); w.ShowAll (); HTMLStream s = html.Begin (); string line; while ((line = Console.ReadLine ()) != null) s.Write (line); html.End (s, HTMLStreamStatus.Ok); Application.Run (); } } Compile and run: mcs sample.cs -pkg:gtkhtml-sharp echo "<html> <body>Hello <b>World</b></body> </html>" | mono sample.exe Method 3.16.0.0 System.Boolean a , a content type. an object of type Sends HTML out from the widget. a , true if the export happened successfully, false if otherwise. Method 3.16.0.0 System.Void To be added. To be added. Method 3.16.0.0 System.String To be added. To be added. To be added. To be added. To be added. Method 3.16.0.0 System.IntPtr The id assigned to an object in the HTML stream Locates an object whose id is provided An IntPtr to the internal HTMLObject Method 3.16.0.0 System.String To be added. To be added. To be added. To be added. To be added. Method 3.16.0.0 System.String To be added. To be added. To be added. To be added. Method 3.16.0.0 System.String To be added. To be added. To be added. To be added. Method 3.16.0.0 System.String To be added. To be added. To be added. To be added. To be added. Method 3.16.0.0 System.String The new component of the url. Computes url from widget base url. The new base-relative url. Property 3.16.0.0 GLib.GType GType Property. a Returns the native value for . Property 3.16.0.0 System.Boolean Whether the widget has an Undo option or not. a Event 3.16.0.0 GLib.Signal("iframe_created") Gtk.IframeCreatedHandler Raised after an IFRAME is created. Method 3.16.0.0 System.Void a , an image URL. Preloads the image at the URL Method 3.16.0.0 System.Void an object of type Refs an image. Property 3.16.0.0 System.Boolean To be added. To be added. To be added. Method 3.16.0.0 System.Void Sets up internal references to all images. FIXME: verify this. Method 3.16.0.0 System.Void Unrefs images. Method 3.16.0.0 System.Void an object of type Unrefs an image. (TODO: explain refcounting for images.) Property 3.16.0.0 System.IntPtr Sets the indentation level for the widget. a Method 3.16.0.0 System.Void Removes an indent level. Property 3.16.0.0 System.Boolean Whether or not to check spelling inline by indicating misspelled words. a Method 3.16.0.0 System.Void an object of type To be added. Method 3.16.0.0 System.Void an object of type Inserts HTML into the existing HTML of the widget. Event 3.16.0.0 GLib.Signal("insertion_color_changed") Gtk.InsertionColorChangedHandler Raised when the text color to insert is changed. Event 3.16.0.0 GLib.Signal("insertion_font_style_changed") Gtk.InsertionFontStyleChangedHandler Raised when the font style under the cursor is changed. Method 3.16.0.0 System.Void To be added. To be added. To be added. Method 3.16.0.0 System.Boolean The anchor to locate. Jumps to an anchor by name, making it visible. if the anchor is found. Scroll the document display to show the HTML anchor requested. Event 3.16.0.0 GLib.Signal("link_clicked") Gtk.LinkClickedHandler Occurs when the user clicks on a hyperlink This event is raised when the user clicks on a hyperlink in the HTML widget. using System; using System.IO; using Gtk; class X { static void Main () { Application.Init (); Window w = new Window ("Sample"); HTML html = new HTML ("<html><body>Click <a href=\"http://www.go-mono.com\">me</a>"); html.LinkClicked += new LinkClickedHandler (OnLinkClicked); w.Add (html); w.ShowAll (); Application.Run (); } static void OnLinkClicked (object o, LinkClickedArgs args) { Console.WriteLine ("The link clicked url is: " + args.Url); } } mcs sample.cs -pkg:gtkhtml-sharp mono sample.exe Click on the "me" link to see the message on the console. Event 3.16.0.0 GLib.Signal("load_done") System.EventHandler Raised after a webpage is finished loading. Method 3.16.0.0 System.Void Set up an empty widget. Method 3.16.0.0 System.Void The string to load. Load a string into the HTML viewing widget. Property 3.16.0.0 System.Boolean Whether magic links (auto-recognizing URLs and making them clickable) is activated. a Property 3.16.0.0 System.Boolean Whether magic smileys (automatically recognizing smileys and turning them into small graphics) is activated. a Property 3.16.0.0 System.Double The current widget magnification level. an object of type Event 3.16.0.0 GLib.Signal("object_delete") Gtk.ObjectDeleteHandler To be added. To be added. Event 3.16.0.0 GLib.Signal("object_inserted") Gtk.ObjectInsertedHandler To be added. To be added. Event 3.16.0.0 GLib.Signal("object_requested") Gtk.ObjectRequestedHandler To be added Event 3.16.0.0 GLib.Signal("command") Gtk.OnCommandHandler Raised when a command is issued to the widget. Method 3.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCurrentParagraphAlignmentChanged", Type=typeof(Gtk.HTML)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 3.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCurrentParagraphIndentationChanged", Type=typeof(Gtk.HTML)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 3.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCurrentParagraphStyleChanged", Type=typeof(Gtk.HTML)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 3.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCursorChanged", Type=typeof(Gtk.HTML)) System.Void To be added. To be added. Method 3.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCursorMove", Type=typeof(Gtk.HTML)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 3.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideIframeCreated", Type=typeof(Gtk.HTML)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 3.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideInsertionColorChanged", Type=typeof(Gtk.HTML)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 3.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideInsertionFontStyleChanged", Type=typeof(Gtk.HTML)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 3.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideLinkClicked", Type=typeof(Gtk.HTML)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 3.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideLoadDone", Type=typeof(Gtk.HTML)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 3.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideObjectDelete", Type=typeof(Gtk.HTML)) System.Void To be added. To be added. To be added. To be added. Method 3.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideObjectInserted", Type=typeof(Gtk.HTML)) System.Void To be added. To be added. To be added. To be added. Method 3.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideObjectRequested", Type=typeof(Gtk.HTML)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 3.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideOnCommand", Type=typeof(Gtk.HTML)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 3.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideOnUrl", Type=typeof(Gtk.HTML)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 3.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRedirect", Type=typeof(Gtk.HTML)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 3.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideScroll", Type=typeof(Gtk.HTML)) System.Void a a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 3.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSetBase", Type=typeof(Gtk.HTML)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 3.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSetBaseTarget", Type=typeof(Gtk.HTML)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 3.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSizeChanged", Type=typeof(Gtk.HTML)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 3.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSubmit", Type=typeof(Gtk.HTML)) System.Void a a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 3.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTitleChanged", Type=typeof(Gtk.HTML)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Event 3.16.0.0 GLib.Signal("on_url") Gtk.OnUrlHandler Occurs when the user hovers over a hyper-link. This event is raised when the mouse pointer hovers over a hyper link or leaves a link. In the former case the value of is the link target, and in the later the empty string. using System; using System.IO; using Gtk; class X { static void Main () { Application.Init (); Window w = new Window ("Sample"); HTML html = new HTML ("<html><body>Click <a href=\"http://www.go-mono.com\">me</a>"); html.OnUrl += new OnUrlHandler (OnUrl); w.Add (html); w.ShowAll (); Application.Run (); } static void OnUrl (object o, OnUrlArgs args) { Console.WriteLine ("The mouse is over: " + args.Url); } } mcs sample.cs -pkg:gtkhtml-sharp mono sample.exe Hover in and out of the link to see the effects on the console. Method 3.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideUrlRequested", Type=typeof(Gtk.HTML)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 3.16.0.0 Gtk.HTMLParagraphAlignment The alignment of text (right, left, center) an object of type Property 3.16.0.0 System.UInt32 The indentation level of a paragraph. an object of type Property 3.16.0.0 Gtk.HTMLParagraphStyle The style of a paragraph. an object of type Method 3.16.0.0 System.Void Whether to paste as a citation. Paste clipboard contents into editor If the widget is in editing mode (see ), the contents of the clipboard are pasted into the HTML editor. If the value of is true, then the contents are pasted as a citation. Method System.Void Prints this document using . a Method System.Int32 Gets the number of pages this HTML would print to given a context with the given header and footer heights. a a a a Method 3.16.0.0 Gtk.PrintOperationResult To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 3.16.0.0 System.Void To be added. To be added. To be added. Method 3.16.0.0 System.Int32 To be added. To be added. To be added. To be added. To be added. To be added. Method 3.16.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added a Method System.Void Adds a header and footer to the HTML and prints it using . a a a a , a header generation routine a , a footer generation routine Event 3.16.0.0 GLib.Signal("redirect") Gtk.RedirectHandler Raised when an HTTP redirect is received. Method 3.16.0.0 System.Void Redoes the last Undone operation If the widget is editable, this redoes the last undone operation. Method 3.16.0.0 System.Int32 an object of type an object of type an object of type an object of type To be added an object of type Method 3.16.0.0 System.Boolean a Invokes a delegate function to save the HTML. an object of type , whether the operation succeeded. Event 3.16.0.0 GLib.Signal("scroll") Gtk.ScrollHandler Raised when the widget is scrolled. Method 3.16.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 3.16.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Method 3.16.0.0 System.Boolean To be added. To be added. To be added. Method 3.16.0.0 System.Void To be added. To be added. To be added. Method 3.16.0.0 System.Void Selects all the contents. Selects all of the contents of the HTML widget. Method 3.16.0.0 System.Void Selects the line the cursor is currently on. Method 3.16.0.0 System.Void Selects a paragraph. Method 3.16.0.0 System.Void To be added Method 3.16.0.0 System.Void Selects the word under the cursor. This routine selects the word under the cursor. Event 3.16.0.0 GLib.Signal("set_base") Gtk.SetBaseHandler Raised when the base URL of the document is changed. Event 3.16.0.0 GLib.Signal("set_base_target") Gtk.SetBaseTargetHandler Raised when the base URL target is changed. Method 3.16.0.0 System.Void an object of type an object of type Unsupported in Gtk#. Installs hooks for the editor. This API is currently not supported. Method 3.16.0.0 System.Void an object of type an object of type Sets the font style for the widget. Event 3.16.0.0 GLib.Signal("size_changed") System.EventHandler Raised when the size of text is changed. Method 3.16.0.0 System.Void To be added. To be added. Event 3.16.0.0 GLib.Signal("submit") Gtk.SubmitHandler Raised when a form submit button is clicked. Property 3.16.0.0 GLib.Property("target_base") System.String To be added an object of type Property 3.16.0.0 GLib.Property("title") System.String The title of this HTML document. an object of type Event 3.16.0.0 GLib.Signal("title_changed") Gtk.TitleChangedHandler Occurs when the title changes in HTML This event is raised when the HTML parser encounters the <title> tag on the HTML stream. To get the title, use the property. Method 3.16.0.0 System.Void a Changes the font style by adjusting flags from bold to regular or vice-versa. For a full list of possible flags, see . Property 3.16.0.0 Gtk.HTML To be added. To be added. To be added. Method 3.16.0.0 System.Void Undoes the last operation. If the widget is Editable, this undoes the last operation. Method 3.16.0.0 System.Void This method is designed to be called after the style, indentation, or other font attributes of an editable HTML widget have changed. When this is called, it will trigger the emission of signals for paragraphs whose indentation or style has changed. Event 3.16.0.0 GLib.Signal("url_requested") Gtk.UrlRequestedHandler Occurs when a url is Requested This event is raised when an URL is requested (typically an image). The following example shows how a simple HTML source that requests an image (hello.png). If the file is found, then it will be streamed into the HTML widget. The model allows for data to be delivered as it comes, and when the data has all arrived, the End method can be invoked on the html stream provided by the . using System; using System.IO; using Gtk; class X { static void Main () { Application.Init (); Window w = new Window ("Sample"); HTML html = new HTML (); html.UrlRequested += new UrlRequestedHandler (LoadFromDisk); w.Add (html); w.ShowAll (); HTMLStream s = html.Begin (); s.Write ("<html><body>My image: <img src=\"hello.png\"></body></html>"); html.End (s, HTMLStreamStatus.Ok); Application.Run (); } static void LoadFromDisk (object sender, UrlRequestedArgs args) { try { FileStream s = File.OpenRead (args.Url); byte [] buffer = new byte [8192]; int n; while ((n = s.Read (buffer, 0, 8192)) != 0) { args.Handle.Write (buffer, n); } args.Handle.Close (HTMLStreamStatus.Ok); } catch { // Ignore errors. } } } Make sure there is a "hello.png" file in your directory to see it, otherwise the sample will show the "broken image link" image. mcs sample.cs -pkg:gtkhtml-sharp mono sample.exe Method 3.16.0.0 System.Void a a a Writes bytes of content from to . Use the overload with ulong size for 64 bit deployments. Method 3.16.0.0 System.Void a a a Writes bytes of content from to . Method 3.16.0.0 System.Void Zooms in. Zooms in the view. Method 3.16.0.0 System.Void Zooms out. Zooms out the view. Method 3.16.0.0 System.Void Resets the magnification of the text to 100% (normal). gtk-sharp-2.12.40/doc/en/Gtk/UIManagerItemType.xml0000664000175000017500000001700412767740535016434 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum System.Flags Used by to determine what UI element to create. Field 2.12.0.0 Gtk.UIManagerItemType Install an accelerator. Field 2.12.0.0 Gtk.UIManagerItemType Pick the type of the UI element according to context. Field 2.12.0.0 Gtk.UIManagerItemType Create a menu. Field 2.12.0.0 Gtk.UIManagerItemType Create a menubar. Field 2.12.0.0 Gtk.UIManagerItemType Create a menuitem. Field 2.12.0.0 Gtk.UIManagerItemType Insert a placeholder. Field 2.12.0.0 Gtk.UIManagerItemType Create a popup menu. Field 2.12.0.0 Gtk.UIManagerItemType Create a separator. Field 2.12.0.0 Gtk.UIManagerItemType Create a toolbar. Field 2.12.0.0 Gtk.UIManagerItemType Create a toolitem. gtk-sharp-2.12.40/doc/en/Gtk/SelectAllHandler.xml0000664000175000017500000000311212767740535016304 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SelectAllHandler instance to the event. The methods referenced by the SelectAllHandler instance are invoked whenever the event is raised, until the SelectAllHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/CurrentParagraphAlignmentChangedArgs.xml0000664000175000017500000000505512767740535022344 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 3.16.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 3.16.0.0 Gtk.HTMLParagraphAlignment The new alignment of the paragraph. a gtk-sharp-2.12.40/doc/en/Gtk/FileSelection+FSButton.xml0000664000175000017500000000405012767740535017365 00000000000000 gtk-sharp 2.12.0.0 Gtk.Button Helper class for s embedded inside a This class is used as a wrapper around buttons embedded inside a . This class exposes an additional property, , which can be used to get back to the parent dialog. Property 2.12.0.0 Gtk.FileSelection Returns the parent The parent This class is only used by s embedded inside a . From the , you can use this property to get back to the parent dialog box. gtk-sharp-2.12.40/doc/en/Gtk/HRuler.xml0000664000175000017500000001064412767740535014347 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Ruler A horizontal ruler. A horizontal ruler is typically used to show the horizontal location of the mouse in the window and to display the horizontal size of the window in the specified units. The available units of measurement are , and . The default is . A horizontal ruler is typically used above or below another widget such as a . Note:- This widget is considered too specialized for GTK+, and will likely be moved to some other package in the future. Constructor 2.12.0.0 Creates a new horizontal ruler. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gtk/DeleteEventArgs.xml0000664000175000017500000000506712767740535016172 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. 's RetVal is a boolean. To keep a from closing, set 's .RetVal to true. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.Event The event that triggered this window's deletion. a gtk-sharp-2.12.40/doc/en/Gtk/RecentChooserProp.xml0000664000175000017500000001563312767740535016555 00000000000000 gtk-sharp 2.12.0.0 System.Enum To be added. To be added. Field 2.12.0.0 Gtk.RecentChooserProp To be added. Field 2.12.0.0 Gtk.RecentChooserProp To be added. Field 2.12.0.0 Gtk.RecentChooserProp To be added. Field 2.12.0.0 Gtk.RecentChooserProp To be added. Field 2.12.0.0 Gtk.RecentChooserProp To be added. Field 2.12.0.0 Gtk.RecentChooserProp To be added. Field 2.12.0.0 Gtk.RecentChooserProp To be added. Field 2.12.0.0 Gtk.RecentChooserProp To be added. Field 2.12.0.0 Gtk.RecentChooserProp To be added. Field 2.12.0.0 Gtk.RecentChooserProp To be added. Field 2.12.0.0 Gtk.RecentChooserProp To be added. Field 2.12.0.0 Gtk.RecentChooserProp To be added. gtk-sharp-2.12.40/doc/en/Gtk/MoveSliderHandler.xml0000664000175000017500000000307112767740535016511 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the MoveSliderHandler instance to the event. The methods referenced by the MoveSliderHandler instance are invoked whenever the event is raised, until the MoveSliderHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/FileChooserError.xml0000664000175000017500000000655212767740535016365 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.FileChooserErrorGType)) These identify the various errors that can occur while calling functions. Field 2.12.0.0 Gtk.FileChooserError Indicates a file already exists. Field 2.12.0.0 Gtk.FileChooserError Indicates a malformed filename. Field 2.12.0.0 Gtk.FileChooserError Indicates that a file does not exist. gtk-sharp-2.12.40/doc/en/Gtk/CellView.xml0000664000175000017500000005522112767740535014660 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Widget Gtk.CellLayout A widget displaying a single row of a A displays a single row of a , using cell renderers just like . does not support some of the more complex features of , like cell editing and drag and drop. Constructor 2.12.0.0 Creates a new widget. Constructor 2.12.0.0 a Creates a new widget, adds a to it, and makes its show . Constructor 2.12.0.0 System.Obsolete a Internal constructor Constructor 2.12.0.0 a Internal constructor Constructor 2.12.0.0 a Creates a new widget, adds a to it, and makes it show . Method 2.12.0.0 System.Void a a , parameter on to be set from the value a , column of the model to get a value from. Adds an attribute mapping to the list for this cell layout. The is the column of the model to get a value from, and the is the parameter on to be set from the value. So for example if column 2 of the model contains strings, you could have the "text" attribute of a get its values from column 2. Property 2.12.0.0 GLib.Property("background") System.String Background color as a string. a Property 2.12.0.0 Gdk.Color The background color a Property 2.12.0.0 GLib.Property("background-gdk") Gdk.Color The background color as a a Property 2.12.0.0 GLib.List To be added a To be added Property 2.12.0.0 Gtk.CellRenderer[] To be added. To be added. To be added. Method 2.12.0.0 System.Void Unsets all the mappings on all renderers for this cell view. Method 2.12.0.0 System.Void a To be added. Property 2.12.0.0 Gtk.TreePath The row of the model that is currently displayed a , or to unset. If the path is unset, then the contents of the cellview "stick" at their last value; this is not normally a desired result, but may be a needed intermediate state if say, the model for the becomes temporarily empty. Method 2.12.0.0 System.Boolean a a , return location for the size Sets to the size needed by the CellView to display the model row pointed to by . a Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("model") Gtk.TreeModel Sets the model for the CellView. a If the CellView already has a model set, it will remove it before setting the new model. If is , then it will unset the old model. Method 2.12.0.0 Gtk.CellView a Creates a new widget, adds a to it, and makes it show . a Method 2.12.0.0 System.Void a a Adds the into the end of the cell layout. If is , then the is allocated no more space than it needs. Any unused space is divided evenly between cells for which is . Method 2.12.0.0 System.Void a a Packs the into the beginning of the cell layout. If is , then the is allocated no more space than it needs. Any unused space is divided evenly between cells for which is . Method 2.12.0.0 System.Void a a Re-inserts at . Note that has already to be packed into its view for this to function properly. Method 2.12.0.0 System.Void System.ParamArray a a Sets the attribute to model column bindings for a renderer. The array should consist of pairs of attribute name and column index. Method 2.12.0.0 System.Void a a Sets a data function to use for the cell layout. The data function is used instead of the standard attributes mapping for setting the column value, and should set the value of the cell renderer as appropriate. may be to remove an older one. gtk-sharp-2.12.40/doc/en/Gtk/ConfigureEventArgs.xml0000664000175000017500000000463212767740535016706 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.EventConfigure The GDK configure event related to this event; information about the window size and position that changed. A gtk-sharp-2.12.40/doc/en/Gtk/FocusOutEventArgs.xml0000664000175000017500000000446112767740535016534 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.EventFocus The change in keyboard focus. a gtk-sharp-2.12.40/doc/en/Gtk/DialogFlags.xml0000664000175000017500000000626012767740535015321 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.DialogFlagsGType)) System.Flags Flags used in creation. Field 2.12.0.0 Gtk.DialogFlags Destroying the parent will also destroy the . Destroying the parent will also destroy the . Field 2.12.0.0 Gtk.DialogFlags Sets the property = for the . Sets the property = for the . Field 2.12.0.0 Gtk.DialogFlags No separator bar above the buttons. No separator bar above the buttons. gtk-sharp-2.12.40/doc/en/Gtk/DrawPageHandler.xml0000664000175000017500000000255012767740535016133 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DrawPageHandler instance to the event. The methods referenced by the DrawPageHandler instance are invoked whenever the event is raised, until the DrawPageHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/MoveFocusHandler.xml0000664000175000017500000000402512767740535016346 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Obsolete("Events using this type were replaced by Gtk.Widget keybinding signal") System.Void Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the MoveFocusHandler instance to the event. The methods referenced by the MoveFocusHandler instance are invoked whenever the event is raised, until the MoveFocusHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/ProgressBarOrientation.xml0000664000175000017500000001007412767740535017610 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.ProgressBarOrientationGType)) An enumeration representing possible orientations and growth directions for the visible . An enumeration representing possible orientations and growth directions for the visible . Field 2.12.0.0 Gtk.ProgressBarOrientation A vertical growing from bottom to top. A vertical growing from bottom to top. Field 2.12.0.0 Gtk.ProgressBarOrientation A horizontal growing from left to right. A horizontal growing from left to right. Field 2.12.0.0 Gtk.ProgressBarOrientation A horizontal growing from right to left. A horizontal growing from right to left. Field 2.12.0.0 Gtk.ProgressBarOrientation A vertical growing from top to bottom. A vertical growing from top to bottom. gtk-sharp-2.12.40/doc/en/Gtk/SelectionRequestEventArgs.xml0000664000175000017500000000464712767740535020271 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.EventSelection The event which triggered this callback. A gtk-sharp-2.12.40/doc/en/Gtk/MenuToolButton.xml0000664000175000017500000002437112767740535016106 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.ToolButton To be added To be added Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 a Internal constructor This is not typically used by C# code. Constructor 2.12.0.0 a To be added To be added Constructor 2.12.0.0 a a To be added To be added Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("menu") Gtk.Widget To be added a To be added Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideShowMenu", Type=typeof(Gtk.MenuToolButton)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Obsolete System.Void a a a To be added To be added Event 2.12.0.0 GLib.Signal("show-menu") System.EventHandler To be added To be added gtk-sharp-2.12.40/doc/en/Gtk/ReorderTabHandler.xml0000664000175000017500000000257212767740535016476 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ReorderTabHandler instance to the event. The methods referenced by the ReorderTabHandler instance are invoked whenever the event is raised, until the ReorderTabHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/Stock.xml0000664000175000017500000020062412767740535014230 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Prebuilt common menu/toolbar items and corresponding icons Stock items represent commonly-used menu or toolbar items such as "Open" or "Exit". Each stock item is identified by a stock ID; stock IDs are just strings, but properties such as Gtk.Stock.Open are provided to avoid typing mistakes in the strings. Applications can register their own stock items in addition to those built-in to Gtk#. Each stock ID can be associated with a , which contains the user-visible label, keyboard accelerator, and translation domain of the menu or toolbar item; and/or with an icon stored in a . See for more information on stock icons. The connection between a and stock icons is purely conventional (by virtue of using the same stock ID); it is possible to register a stock item but no icon, and vice versa. Constructor 2.12.0.0 Default constructor. Property 2.12.0.0 System.String About stock item a Property 2.12.0.0 System.String The "Add" item. an object of type Property 2.12.0.0 System.String The "Apply" item. an object of type Property 2.12.0.0 System.String The "Bold" item. an object of type Property 2.12.0.0 System.String The "Cancel" item. an object of type Property 2.12.0.0 System.String The "CD-Rom" item. an object of type Property 2.12.0.0 System.String The "Clear" item. an object of type Property 2.12.0.0 System.String The "Close" item. an object of type Property 2.12.0.0 System.String The "Color Picker" item. a Property 2.12.0.0 System.String Connect stock item. a Property 2.12.0.0 System.String The "Convert" item. an object of type Property 2.12.0.0 System.String The "Copy" item. an object of type Property 2.12.0.0 System.String The "Cut" item. an object of type Property 2.12.0.0 System.String The "Delete" item. an object of type Property 2.12.0.0 System.String DialogAuthentication stock item. the stock string. Property 2.12.0.0 System.String The "Error" item. an object of type Property 2.12.0.0 System.String The "Info" item. an object of type Property 2.12.0.0 System.String The "Question" item. an object of type Property 2.12.0.0 System.String The "Warning" item. an object of type Property 2.12.0.0 System.String Directory stock item. a Property 2.12.0.0 System.String Discard stock item. the stock string. Property 2.12.0.0 System.String Disconnect stock item. a Property 2.12.0.0 System.String The "Drag-And-Drop" icon. an object of type Property 2.12.0.0 System.String The "Drag-And-Drop multiple" icon. an object of type Property 2.12.0.0 System.String Edit stock item. a Property 2.12.0.0 System.String The "Execute" item. an object of type Property 2.12.0.0 System.String File stock item. a Property 2.12.0.0 System.String The "Find" item. an object of type Property 2.12.0.0 System.String The "Find and Replace" item. an object of type Property 2.12.0.0 System.String The "Floppy" item. an object of type Property 2.12.0.0 System.String Fullscreen stock item. the stock string. Property 2.12.0.0 System.String The "Back" item. an object of type Property 2.12.0.0 System.String The "Down" item. an object of type Property 2.12.0.0 System.String The "Forward" item. an object of type Property 2.12.0.0 System.String The "Bottom" item. an object of type Property 2.12.0.0 System.String The "First" item. an object of type Property 2.12.0.0 System.String The "Last" item. an object of type Property 2.12.0.0 System.String The "Top" item. an object of type Property 2.12.0.0 System.String The "Up" item. an object of type Property 2.12.0.0 System.String The "Harddisk" item. a Property 2.12.0.0 System.String The "Help" item. an object of type Property 2.12.0.0 System.String The "Home" item. an object of type Property 2.12.0.0 System.String The "Indent" item. a Property 2.12.0.0 System.String The "Index" item. an object of type Property 2.12.0.0 System.String Info stock item. the stock string. Property 2.12.0.0 System.String The "Italic" item. an object of type Property 2.12.0.0 System.String The "Jump to" item. an object of type Property 2.12.0.0 System.String The "Center" item. an object of type Property 2.12.0.0 System.String The "Fill" item. an object of type Property 2.12.0.0 System.String The "Left" item. an object of type Property 2.12.0.0 System.String The "Right" item. an object of type Property 2.12.0.0 System.String LeaveFullscreen stock item. the stock string. Method 2.12.0.0 System.String[] Returns an array which lists all the names of the stock items. a with the names of the stock items. Method 2.12.0.0 Gtk.StockItem the StockId of the to return. Looks up a the with ID if it exists, or otherwise. Property 2.12.0.0 System.String Media forward stock item. a Property 2.12.0.0 System.String Media next stock item. a Property 2.12.0.0 System.String Media pause stock item. a Property 2.12.0.0 System.String Media play stock item. a Property 2.12.0.0 System.String Media previous stock item. a Property 2.12.0.0 System.String Media record stock item. a Property 2.12.0.0 System.String Media rewind stock item. a Property 2.12.0.0 System.String Media stop stock item. a Property 2.12.0.0 System.String The "Missing Image" item. an object of type Property 2.12.0.0 System.String The "Network" item. a Property 2.12.0.0 System.String The "New" item. an object of type Property 2.12.0.0 System.String The "No" item. an object of type Property 2.12.0.0 System.String The "OK" item. an object of type Property 2.12.0.0 System.String The "Open" item. an object of type Property 2.12.0.0 System.String Landscape orientation stock item. the stock string. Property 2.12.0.0 System.String Portrait orientation stock item. the stock string. Property 2.12.0.0 System.String Reverse landscape orientation stock item. the stock string. Property 2.12.0.0 System.String Reverse portrait orientation stock item. the stock string. Property 2.12.0.0 System.String The "Paste" item. an object of type Property 2.12.0.0 System.String The "Preferences" item. an object of type Property 2.12.0.0 System.String The "Print" item. an object of type Property 2.12.0.0 System.String The "Print Preview" item. an object of type Property 2.12.0.0 System.String The "Properties" item. an object of type Property 2.12.0.0 System.String The "Quit" item. an object of type Property 2.12.0.0 System.String The "Redo" item. an object of type Property 2.12.0.0 System.String The "Refresh" item. an object of type Property 2.12.0.0 System.String The "Remove" item. an object of type Property 2.12.0.0 System.String The "Revert" item. an object of type Property 2.12.0.0 System.String The "Save" item. Tan object of type Property 2.12.0.0 System.String The "Save As" item. an object of type Property 2.12.0.0 System.String SelectAll stock item. the stock string. Property 2.12.0.0 System.String The "Color" item. an object of type Property 2.12.0.0 System.String The "Font" item. an object of type Property 2.12.0.0 System.String The "Ascending" item. an object of type Property 2.12.0.0 System.String The "Descending" item. an object of type Property 2.12.0.0 System.String The "Spell Check" item. an object of type Property 2.12.0.0 System.String The "Stop" item. an object of type Property 2.12.0.0 System.String The "Strikethrough" item. an object of type Property 2.12.0.0 System.String The "Undelete" item. an object of type Property 2.12.0.0 System.String The "Underline" item. an object of type Property 2.12.0.0 System.String The "Undo" item. an object of type Property 2.12.0.0 System.String The "Unindent" item. a Property 2.12.0.0 System.String The "Yes" item. an object of type Property 2.12.0.0 System.String The "Zoom 100%" item. an object of type Property 2.12.0.0 System.String The "Zoom to Fit" item. an object of type Property 2.12.0.0 System.String The "Zoom In" item. an object of type Property 2.12.0.0 System.String The "Zoom Out" item. an object of type gtk-sharp-2.12.40/doc/en/Gtk/ClientEventArgs.xml0000664000175000017500000000450112767740535016176 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.EventClient Get the event that was received from another application. A gtk-sharp-2.12.40/doc/en/Gtk/Tree.xml0000664000175000017500000001055112767740535014042 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object A tree . is deprecated and unsupported. It is known to be buggy. To use it, you must define the symbol prior to includng the Gtk# header files. Use instead. The widget is a container that shows users a list of items, in a tree format complete withbranches and leafnodes. Branches can be expanded to show their child items, or collapsed to hide them. Constructor 2.12.0.0 Deprecated. Method 2.12.0.0 System.Boolean a a a Gets row information from a Drag Selection. a Method 2.12.0.0 System.Boolean a a a Deprecated. a gtk-sharp-2.12.40/doc/en/Gtk/TitleChangedHandler.xml0000664000175000017500000000311712767740535016774 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the TitleChangedHandler instance to the event. The methods referenced by the TitleChangedHandler instance are invoked whenever the event is raised, until the TitleChangedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/DestDefaults.xml0000664000175000017500000001053612767740535015535 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.DestDefaultsGType)) System.Flags An enumeration to specify the various courses of action that will be taken on behalf of the user for a destination site of a drag and drop operation. Field 2.12.0.0 Gtk.DestDefaults If set, specifies that all default actions should be taken. Field 2.12.0.0 Gtk.DestDefaults If set for a widget when a drop occurs, Gtk+ will check if the drag matches this widget's list of possible targets and actions. If so, Gtk+ will call on behalf of the widget. Whether or not the drop is successful, Gtk+ will call . If the drag was successful, then true will be passed for the del parameter to . Field 2.12.0.0 Gtk.DestDefaults If set for a widget, Gtk+ will draw a highlight on this widget as long as a drag is over this widget and the widget drag format and action are acceptable. Field 2.12.0.0 Gtk.DestDefaults If set for a widget, during a drag, Gtk+ will check if the drag matches this widget's list of possible targets and actions. gtk-sharp-2.12.40/doc/en/Gtk/ClipboardTextReceivedFunc.xml0000664000175000017500000000251512767740535020173 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. A containing the clipboard's text. Delegate for a function to be called when an application receives text from the clipboard. If the clipboard is empty, text will be null. gtk-sharp-2.12.40/doc/en/Gtk/PrintOperationAction.xml0000664000175000017500000000564112767740535017262 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.PrintOperationActionGType)) Print operation action enumeration. Field 2.12.0.0 Gtk.PrintOperationAction Export to a file. Field 2.12.0.0 Gtk.PrintOperationAction Show the print preview. Field 2.12.0.0 Gtk.PrintOperationAction Print with current settings without showing dialog. Field 2.12.0.0 Gtk.PrintOperationAction Show the print dialog. gtk-sharp-2.12.40/doc/en/Gtk/DisconnectProxyHandler.xml0000664000175000017500000000424712767740535017601 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DisconnectProxyHandler instance to the event. The methods referenced by the DisconnectProxyHandler instance are invoked whenever the event is raised, until the DisconnectProxyHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/Style.xml0000664000175000017500000031624712767740535014256 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Methods for drawing widget parts. Constructor 2.12.0.0 Public constructor Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Void A A (TODO: explain) A A A , X coordinate of the upper left corner A , Y coordinate of the upper left corner A , width of the area A , height of the area Sets the default background. TODO: explain this, as the underlying GTK+ isn't very well-commented either Method 2.12.0.0 Gtk.Style , the window to attach the style to Attaches a style to a window; this process allocates the colors and creates the GCs (graphics components) for the style - it specializes it to a particular visual and colormap. The process may involve the creation of a new style if the style has already been attached to a window with a different style and colormap. Either , or a newly-created . If the style is newly created, the style parameter will be dereferenced, and the new style will have a reference count belonging to the caller. Method 2.12.0.0 Gdk.Color A , the state being considered Sets the background of to the background color or pixmap specified by style for the state. A color to be used for the background. Method 2.12.0.0 Gdk.GC a Gets the graphics context for the background of . a , the graphics context Property 2.12.0.0 Gdk.GC[] Gets the graphics context objects for the background. A Property 2.12.0.0 Gdk.Color[] The background colors. A Method 2.12.0.0 Gdk.Color a Returns the base color for the given state. a Property 2.12.0.0 Gdk.Color[] The base color set. a Method 2.12.0.0 Gdk.GC a , the state of the widget to get the GC for Returns the base graphics context for the widget. a Method 2.12.0.0 Gdk.Pixmap a Get the background pixmap for a given state. a Property 2.12.0.0 Gdk.Pixmap[] Gets an array of background pixmaps. a Property 2.12.0.0 Gdk.Color Black. A Property 2.12.0.0 Gdk.GC Gets a white graphics context. A Method 2.12.0.0 Gtk.Style Copy this style object to a new style object. A , a duplicate of this style. Method 2.12.0.0 Gdk.Color a Gets the dark color for a given state. a Property 2.12.0.0 Gdk.Color[] Dark colors indexed by state. a Method 2.12.0.0 Gdk.GC a , the state of the widget to get the GC for Returns a graphics context for dark-colored drawing a Method 2.12.0.0 System.Void Detaches this style from the window it's attached to. Property 2.12.0.0 System.Obsolete Gdk.Font Deprecated. a The to use for a given style. This is deprecated and should not be used in new code. New code should use instead. Property 2.12.0.0 Pango.FontDescription The value for the style. a Property 2.12.0.0 Pango.FontDescription The font description used for a widget. a Method 2.12.0.0 Gdk.Color A , the state being considered Gets the foreground color for a particular state A Method 2.12.0.0 Gdk.GC a Gets the graphics context for the foreground of . a , the graphics context Property 2.12.0.0 Gdk.GC[] Gets the graphics context objects for the foreground. A Property 2.12.0.0 Gdk.Color[] The foreground colors A Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 Gdk.Color a Gets the light color for a given state. a Property 2.12.0.0 Gdk.Color[] Light colors indexed by state. a Method 2.12.0.0 Gdk.GC a , the state of the widget to get the GC for Returns a graphics context for light-colored drawing a Method 2.12.0.0 System.Boolean name of color to lookup. location to put color. Looks up a color by name.. if , is filled in. Method 2.12.0.0 Gtk.IconSet A Gets the icon set for the given . A Method 2.12.0.0 Gdk.Color a Gets the mid color for a given state. a Property 2.12.0.0 Gdk.Color[] Mid colors indexed by state. a Method 2.12.0.0 Gdk.GC a , the state of the widget to get the GC for Returns a graphics context for medium-colored drawing a Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRealize", Type=typeof(Gtk.Style)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideUnrealize", Type=typeof(Gtk.Style)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Void a a a a a a a a a a a a a Draw an arrow at (, ) using the given parameters. Method 2.12.0.0 System.Void a a a a a a a a a a a Draws a box on the screen with the given parameters. Method 2.12.0.0 System.Void a a a a a a a a a a a a a a Draws a gap around a box using the given parameters. Method 2.12.0.0 System.Void a a a a a a a a a a a Draws a check button indicator in the given rectangle on with the given parameters. Method 2.12.0.0 System.Void a a a a a a a a a a a Draws a diamond in the given rectangle on using the given parameters. Method 2.12.0.0 System.Void a a a a a a a a a Paints an expander using the style specified. Method 2.12.0.0 System.Void a a a a a a a a a a a a Draws an extension for the given widget in the given style. Method 2.12.0.0 System.Void a a a a a a a a a a a Draws a flat box on with the given parameters. Method 2.12.0.0 System.Void a a a a a a a a a a Draws a focus indicator around the given rectangle on using the given style. Method 2.12.0.0 System.Void a a a a a a a a a a a a Draw a handle graphic for the given widget using the given parameters. Method 2.12.0.0 System.Void a a a a a a a a a Draws a horizontal line from (, ) to (, ) in using the given style and state. Method 2.12.0.0 System.Void a a a a a a a a a a Draws a layout on the screen using the given parameters. Use this routine to paint a on the screen. This method is convenient mechanism to draw the text on the screen because it contains a clipping rectangle. Method 2.12.0.0 System.Void a a a a a a a a a a a Draws a radio button indicator in the given rectangle on with the given parameters. Method 2.12.0.0 System.Void a a a a a a a a a Paint a polygon. Method 2.12.0.0 System.Void a a a a a a a a a a a Draws a resize grip in the given rectangle on using the given parameters. Method 2.12.0.0 System.Void a a a a a a a a a a a Draws a shadow around the given rectangle in using the given style and state and shadow type. Method 2.12.0.0 System.Void a a a a a a a a a a a a a a Draws a shadow gap around the given widget using the given parameters. Method 2.12.0.0 System.Void a a a a a a a a a a a a Draws a slider widget with the given parameters. Method 2.12.0.0 System.Void a a a a a a a a a a a Draws an option menu tab (i.e. the up and down pointing arrows) in the given rectangle on using the given parameters. Method 2.12.0.0 System.Void a a a a a a a a a Draws a vertical line from (, ) to (, ) in using the given style and state. Event 2.12.0.0 GLib.Signal("realize") System.EventHandler Event triggered when the style has been initialized for a particular colormap and depth. Connecting to this signal is probably seldom useful since most of the time applications and widgets only deal with styles that have been already realized. Method 2.12.0.0 System.Obsolete Gtk.Style Deprecated. Do not use. a Method 2.12.0.0 Gdk.Pixbuf A A A A A A Renders the icon specified by at the given according to the given parameters and returns the result in a pixbuf. A TODO: needs an example. Method 2.12.0.0 System.Void A A Set the background of to the color or pixmap specified by this style for . Method 2.12.0.0 System.Void a , the state of the widget to set the style for a Sets the graphics context for the background. Method 2.12.0.0 System.Void a , the state of the widget to set the GC for a Sets the graphics context for the background. Method 2.12.0.0 System.Void a a Sets the background pixmap for a given state. Method 2.12.0.0 System.Void a , the state of the widget to set the GC for a Set the graphics context for dark-colored drawing Method 2.12.0.0 System.Void a , the state of the widget to set the style for a Sets the graphics context for the foreground. Method 2.12.0.0 System.Void a , the state of the widget to set the GC for a Set the graphics context for light-colored drawing Method 2.12.0.0 System.Void a , the state of the widget to set the GC for a Set the graphics context for medium-colored drawing Method 2.12.0.0 System.Void a , the state of the widget to set the GC for a Set the graphics context for anti-aliased text. Method 2.12.0.0 System.Void a , the state of the widget to set the GC for a Sets the graphics context for text. Method 2.12.0.0 Gdk.Color a Returns the color for text in the given state. a Method 2.12.0.0 Gdk.GC a , the state of the widget to get the GC for Returns the graphics context for anti-aliased text. a Property 2.12.0.0 Gdk.Color[] The colors to use for text. a Method 2.12.0.0 Gdk.GC a , the state of the widget to get the GC for Returns the graphics context for the widget's text. a Event 2.12.0.0 GLib.Signal("unrealize") System.EventHandler Event raised when the aspects of the style specific to a particular colormap and depth are being cleaned up. A connection to this signal can be useful if a widget wants to cache objects like a as object data on . This signal provides a convenient place to free such cached objects. Method 2.12.0.0 System.Obsolete System.Void Deprecated. Do not use. Property 2.12.0.0 Gdk.Color White. A Property 2.12.0.0 Gdk.GC Gets a black graphics context. A Property 2.12.0.0 System.Int32 The "xthickness" value of the style. a This value is used for various horizontal padding values in Gtk. Property 2.12.0.0 System.Int32 The X thickness, which is used for horizontal padding. An integer. (FIXME: xthickness and ythickness could be better documented.) Property 2.12.0.0 System.Int32 The "ythickness" value of the style. a This value is used for various vertical padding values in Gtk. Property 2.12.0.0 System.Int32 The Y thickness, which is used for vertical padding. A gtk-sharp-2.12.40/doc/en/Gtk/RecentChooserWidget.xml0000664000175000017500000005626212767740535017063 00000000000000 gtk-sharp 2.12.0.0 Gtk.VBox Gtk.RecentChooser To be added. To be added. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 System.Obsolete To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Property 2.12.0.0 Gtk.RecentInfo To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("filter") Gtk.RecentFilter To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("item-activated") System.EventHandler To be added. To be added. Property 2.12.0.0 GLib.List To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("limit") System.Int32 To be added. To be added. To be added. Method 2.12.0.0 GLib.SList To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("local-only") System.Boolean To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideItemActivated", Type=typeof(Gtk.RecentChooserWidget)) System.Void To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionChanged", Type=typeof(Gtk.RecentChooserWidget)) System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Event 2.12.0.0 GLib.Signal("selection-changed") System.EventHandler To be added. To be added. Property 2.12.0.0 GLib.Property("select-multiple") System.Boolean To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("show-icons") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("show-not-found") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 System.Obsolete System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("show-private") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("show-tips") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 Gtk.RecentSortFunc To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("sort-type") Gtk.RecentSortType To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/AboutDialogActivateLinkFunc.xml0000664000175000017500000000427312767740535020454 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void The in which the link was activated. To be added. The type of the method which is called when a URL or email link in an . The following example uses the built in to open links: void OpenLink (Gtk.AboutDialog dialog, string link) { Gnome.Url.Show(link); } Gtk.AboutDialog.SetUrlHook (new Gtk.AboutDialogActivateLinkFunc (OpenLink)); gtk-sharp-2.12.40/doc/en/Gtk/ParentSetArgs.xml0000664000175000017500000000447612767740535015676 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.Widget Returns the widget that was the parent of this widget previously. A gtk-sharp-2.12.40/doc/en/Gtk/TextIter.xml0000664000175000017500000026701612767740535014725 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType Text buffer iterator Method 2.12.0.0 System.Boolean Moves the iterator back one character true if the operation succeeded Returns if movement was possible; if iter was the first in the buffer (character offset 0), this returns for convenience when writing loops. Method 2.12.0.0 System.Boolean number of characters to move backwards. Moves the iterator back a number of characters. true if the operation succeeded Moves count characters backward, if possible (if count would move past the start or end of the buffer, moves to the start or end of the buffer). The return value indicates whether the iterator moved onto a dereferenceable position; if the iterator didn't move, or moved onto the end iterator, then is returned. If count is 0, the function does nothing and returns . Method 2.12.0.0 System.Boolean Like , but moves backward. if we moved Method 2.12.0.0 System.Boolean number of positions to move Moves back cursor positions. if we moved and the new position is dereferenceable Method 2.12.0.0 System.Boolean A to call on each character. search limit, or for none Same as , but goes backward from iter. whether a match was found Method 2.12.0.0 System.Obsolete("Replaced by overload without IntPtr argument") System.Boolean A to call on each character. Ignored search limit, or for none Obsolete. Replaced by . whether a match was found Method 2.12.0.0 System.Boolean Moves the iterator backward one line true if the operation succeeded. Returns if iter could be moved; i.e. if iter was at character offset 0, this function returns . Therefore if iter was already on line 0, but not at the start of the line, iter is snapped to the start of the line and the function returns . (Note that this implies that in a loop calling this function, the line number may not change on every iteration, if your first iteration is on line 0.) Method 2.12.0.0 System.Boolean number of lines to move backwards. Moves the iterator back a number of lines. true if the operation succeeded. Moves count lines backward, if possible (if count would move past the start or end of the buffer, moves to the start or end of the buffer). The return value indicates whether the iterator moved onto a dereferenceable position; if the iterator didn't move, or moved onto the end iterator, then is returned. If count is 0, the function does nothing and returns . If count is negative, moves forward by 0 - count lines. Method 2.12.0.0 System.Boolean search string bitmask of flags affecting the search return location for start of match, or return location for end of match, or location of last possible match_start, or for start of buffer Same as , but moves backward. whether a match was found Method 2.12.0.0 System.Boolean Moves backward to the previous sentence start; if iter is already at the start of a sentence, moves backward to the next one. if iter moved and is not the end iterator Sentence boundaries are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango text boundary algorithms). Method 2.12.0.0 System.Boolean number of sentences to move Calls up to times, or until it returns . if iter moved and is not the end iterator If is negative, moves forward instead of backward. Method 2.12.0.0 System.Boolean a or Moves backward to the next toggle (on or off) of the tag, or to the next toggle of any tag if tag is . whether we found a tag toggle before iter If no matching tag toggles are found, returns , otherwise . Does not return toggles located at iter, only toggles before iter. Sets iter to the location of the toggle, or the start of the buffer if no toggle is found. Method 2.12.0.0 System.Boolean Moves the iterator back to the previous visible cursor position. a , true if the iter moved and the new position is dereferenceable See for details. Method 2.12.0.0 System.Boolean a Moves backward up to visible cursor positions. a , true if the cursor was moved and is in a dereferenceable position. See for details. Method 2.12.0.0 System.Boolean Moves to the beginning of the previous visible line. if the iter could be moved. Moves to the start of the previous visible line. If iter was at character offset 0, this function returns . If iter was already on line 0, but not at the start of the line, iter is snapped to the start of the line and the function returns . (Note that this implies that in a loop calling this function, the line number may not change on every iteration, if your first iteration is on line 0.). Method 2.12.0.0 System.Boolean The number of lines to move. Moves backward by a specified number of visible lines. if the result of the move is a referenceable position. If would move past the start or end of the buffer, the iter is moved to the start or end of the buffer. The return value indicates whether the iterator moved onto a dereferenceable position. If the iterator didn't move, or moved onto the end iterator, then is returned. If count is 0, the function does nothing and returns . If count is negative, the iter is moved forward by 0 - count lines. Method 2.12.0.0 System.Boolean Moves backward to the previous visible word start. (If the iterator is currently on a word start, moves backward to the next one after that.) a Word breaks are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango word break algorithms). Method 2.12.0.0 System.Boolean a Calls up to times. a , true if the iterator moved and is not at the end of the text. Method 2.12.0.0 System.Boolean Moves backward to the previous word start. if iter moved and is not the end iterator (If iter is currently on a word start, moves backward to the next one after that.) Word breaks are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango word break algorithms). Method 2.12.0.0 System.Boolean number of times to move Calls up to times. if iter moved and is not the end iterator Method 2.12.0.0 System.Boolean a or Returns if tag is toggled on at exactly this point. whether iter is the start of a range tagged with tag If tag is , returns if any tag is toggled on at this point. Note that the returns if iter is the start of the tagged range; tells you whether an iterator is within a tagged range. Property 2.12.0.0 Gtk.TextBuffer Obtains the buffer the iter is in containing buffer Property 2.12.0.0 System.Int32 Returns the number of bytes in the line containing iter, including the paragraph delimiters. number of bytes in the line Method 2.12.0.0 System.Boolean if text is editable by default Considering the default editability of the buffer, and tags that affect editability, determines whether text inserted at iter would be editable. whether text inserted at iter would be editable If text inserted at iter would be editable then the user should be allowed to insert text at iter. uses this function to decide whether insertions are allowed at a given position. Property 2.12.0.0 System.String Character the TextIter points to. a 1 character length string container the character pointed to by the TextIter Even though this property returns a string, it will never hold more than a single character. Property 2.12.0.0 System.Int32 Number of characters in the TextIter's line. Returns the number of characters in the TextIter's current line, including the paragraph delimiters. None. Property 2.12.0.0 Gtk.TextChildAnchor If the location at iter contains a child anchor, the anchor is returned. Otherwise, is returned. the anchor at iter Method 2.12.0.0 System.Int32 another A qsort()-style function that returns negative if lhs is less than rhs, positive if lhs is greater than rhs, and 0 if they are equal. -1 if lhs is less than rhs, 1 if lhs is greater, 0 if they are equal Ordering is in character offset order, i.e. the first character in the buffer is less than the second character in the buffer. Method 2.12.0.0 System.Obsolete("This is a no-op") Gtk.TextIter Creates a dynamically-allocated copy of an iterator. a Method 2.12.0.0 System.Boolean if text is editable by default Returns whether the character at iter is within an editable region of text. whether iter is inside an editable range Non-editable text is "locked" and cannot be changed by the user via . This function is simply a convenience wrapper around . If no tags applied to this text effect editability, will be returned. You do not want to use this function to decide whether text can be inserted at iter, because for insertion you do not want to know whether the char at iter is inside an editable range, you want to know whether a new character inserted at iter would be inside an editable range. Use to handle this case. Method 2.12.0.0 System.Boolean Returns true if the iterator is at the end of a line. true if the iterator is at the end of a line. Returns if iter points to the start of the paragraph delimiter characters for a line (delimiters will be either a newline, a carriage return, a carriage return followed by a newline, or a Unicode paragraph separator character). Note that an iterator pointing to the \n of a \r\n pair will not be counted as the end of a line, the line ends before the \r. The end iterator is considered to be at the end of a line, even though there are no paragraph delimiter chars there. Method 2.12.0.0 System.Boolean Determines whether iter ends a sentence. if iter is at the end of a sentence. Sentence boundaries are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango text boundary algorithms). Method 2.12.0.0 System.Boolean a or Returns if tag is toggled off at exactly this point. whether iter is the end of a range tagged with tag If tag is , returns if any tag is toggled off at this point. Note that the returns if iter is the end of the tagged range; tells you whether an iterator is within a tagged range. Method 2.12.0.0 System.Boolean Determines whether iter ends a natural-language word. if iter is at the end of a word Word breaks are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango word break algorithms). Method 2.12.0.0 System.Boolean another Tests whether two iterators are equal, using the fastest possible mechanism. if the iterators point to the same place in the buffer This function is very fast; you can expect it to perform better than e.g. getting the character offset for each iterator and comparing the offsets yourself. Also, it's a bit faster than . Method 2.12.0.0 System.Boolean Moves this iterator forward by one character offset. A boolean: if the iterator moved and is dereferenceable. Note that images embedded in the buffer occupy 1 character slot, so this may actually move onto an image instead of a character, if you have images in your buffer. If this object is the end iterator or one character before it, the object will now point at the end iterator, and return for convenience when writing loops. Method 2.12.0.0 System.Boolean number of characters to move, may be negative Moves count characters if possible (if count would move past the start or end of the buffer, moves to the start or end of the buffer). whether iter moved and is dereferenceable The return value indicates whether the new position of iter is different from its original position, and dereferenceable (the last iterator in the buffer is not dereferenceable). If count is 0, the function does nothing and returns . Method 2.12.0.0 System.Boolean Moves iter forward by a single cursor position. if we moved and the new position is dereferenceable Cursor positions are (unsurprisingly) positions where the cursor can appear. Perhaps surprisingly, there may not be a cursor position between all characters. The most common example for European languages would be a carriage return/newline sequence. For some Unicode characters, the equivalent of say the letter "a" with an accent mark will be represented as two characters, first the letter then a "combining mark" that causes the accent to be rendered; so the cursor cannot go between those two characters. Method 2.12.0.0 System.Boolean number of positions to move Moves up cursor positions. if we moved and the new position is dereferenceable See for details. Method 2.12.0.0 System.Boolean A to call on each character. search limit, or for none Advances the iterator, calling on each character. whether a match was found If pred returns , returns and stops scanning. If pred never returns , iter is set to limit if limit is non-, otherwise to the end iterator. Method 2.12.0.0 System.Obsolete("Replaced by overload without IntPtr argument") System.Boolean A to call on each character. Ignored search limit, or for none Obsolete. Replaced by . whether a match was found Method 2.12.0.0 System.Boolean Moves iter to the start of the next line. A boolean; whether the iterator is dereferenceable Returns if there was a next line to move to, and if iter was simply moved to the end of the buffer and is now not dereferenceable, or if iter was already at the end of the buffer. Method 2.12.0.0 System.Boolean number of lines to move forward Moves count lines forward, if possible (if count would move past the start or end of the buffer, moves to the start or end of the buffer). whether iter moved and is dereferenceable The return value indicates whether the iterator moved onto a dereferenceable position; if the iterator didn't move, or moved onto the end iterator, then is returned. If count is 0, the function does nothing and returns . If count is negative, moves backward by 0 - count lines. Method 2.12.0.0 System.Boolean a search string flags affecting how the search is done return location for start of match, or return location for end of match, or bound for the search, or for the end of the buffer Searches forward for . whether a match was found Any match is returned by setting to the first character of the match and to the first character after the match. The search will not continue past limit. Note that a search is a linear or O(n) operation, so you may wish to use limit to avoid locking up your UI on large buffers. If the GTK_TEXT_SEARCH_VISIBLE_ONLY flag is present, the match may have invisible text interspersed in str. i.e. str will be a possibly-noncontiguous subsequence of the matched range. similarly, if you specify GTK_TEXT_SEARCH_TEXT_ONLY, the match may have pixbufs or child widgets mixed inside the matched range. If these flags are not given, the match must be exact; the special 0xFFFC character in str will match embedded pixbufs or child widgets. Method 2.12.0.0 System.Boolean Moves forward to the next sentence end. if iter moved and is not the end iterator If iter is at the end of a sentence, moves to the next end of sentence. Sentence boundaries are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango text boundary algorithms). Method 2.12.0.0 System.Boolean number of sentences to move Calls times (or until it returns ). if iter moved and is not the end iterator If is negative, moves backward instead of forward. Method 2.12.0.0 System.Void Moves iter forward to the "end iterator," which points one past the last valid character in the buffer. Method 2.12.0.0 System.Boolean Moves the iterator to point to the paragraph delimiter characters, which will be either a newline, a carriage return, a carriage return/newline in sequence, or the Unicode paragraph separator character. if we moved and the new location is not the end iterator If the iterator is already at the paragraph delimiter characters, moves to the paragraph delimiter characters for the next line. If iter is on the last line in the buffer, which does not end in paragraph delimiters, moves to the end iterator (end of the last line), and returns . Method 2.12.0.0 System.Boolean a or Moves forward to the next toggle (on or off) of the tag, or to the next toggle of any tag if tag is . whether we found a tag toggle after iter If no matching tag toggles are found, returns , otherwise . Does not return toggles located at iter, only toggles after iter. Sets iter to the location of the toggle, or to the end of the buffer if no toggle is found. Method 2.12.0.0 System.Boolean Moves the iterator forward to the next visible cursor position. a See for details. Method 2.12.0.0 System.Boolean a Moves up to visible cursor positions. a , true if the iter was moved and is in a dereferenceable position. See for details. Method 2.12.0.0 System.Boolean Moves to the start of the next visible line. if the iter could be moved and is dereferenceable after the move. . Returns if there was a next line to move to, and if the iter was moved to the end of the buffer and is now not dereferenceable, or if the iter was already at the end of the buffer. Method 2.12.0.0 System.Boolean The number of lines to move. Moves forward by a specified number of visible lines. if the iter could be moved and is dereferenceable after the move. If would move past the start or end of the buffer, the iter is moved to the start or end of the buffer. The return value indicates whether the iterator moved onto a dereferenceable position. If the iterator didn't move, or moved onto the end iterator, then is returned. If count is 0, the function does nothing and returns . If count is negative, the iter is moved backward by 0 - count lines. Method 2.12.0.0 System.Boolean Moves forward to the next visible word end. (If the iterator is currently on a word end, moves forward to the next one after that.) a , true if the iterator moved and is not at the end. Word breaks are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango word break algorithms). Method 2.12.0.0 System.Boolean a Moves forward to the next visible word end. (If the iterator is currently on a word end, moves forward to the next one after that.) a , true if the iterator moved and is not at the end. Word breaks are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango word break algorithms). Method 2.12.0.0 System.Boolean Moves forward to the next word end. if iter moved and is not the end iterator (If iter is currently on a word end, moves forward to the next one after that.) Word breaks are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango word break algorithms). Method 2.12.0.0 System.Boolean number of times to move Calls up to times. if iter moved and is not the end iterator Method 2.12.0.0 System.Boolean a s Computes the effect of any tags applied to this spot in the text. if values was modified The values parameter should be initialized to the default settings you wish to use if no tags are in effect. You would typically obtain the defaults from . will modify values, applying the effects of any tags present at iter. If any tags affected values, the function returns . Method 2.12.0.0 System.String iterator at end of a range Returns the text in the given range. slice of text from the buffer A "slice" is an array of characters encoded in UTF-8 format, including the Unicode "unknown" character 0xFFFC for iterable non-character elements in the buffer, such as images. Because images are encoded in the slice, byte and character offsets in the returned array will correspond to byte offsets in the text buffer. Note that 0xFFFC can occur in normal text as well, so it is not a reliable indicator that a pixbuf or widget is in the buffer. Method 2.12.0.0 System.String iterator at end of a range Returns text in the given range. the string from the buffer If the range contains non-text elements such as images, the character and byte offsets in the returned string will not correspond to character and byte offsets in the buffer. If you want offsets to correspond, see . Method 2.12.0.0 Gtk.TextTag[] a Returns an array of that are toggled on or off at this point. tags toggled at this point (If toggled_on is , the list contains tags that are toggled on.) If a tag is toggled on at iter, then some non-empty range of characters following iter has that tag applied to it. If a tag is toggled off, then some non-empty range following iter does not have the tag applied to it. Method 2.12.0.0 System.String iterator at end of range Like , but invisible text is not included. slice of text from the buffer Invisible text is usually invisible because a with the "invisible" attribute turned on has been applied to it. Method 2.12.0.0 System.String iterator at end of range Like , but invisible text is not included. string containing visible text in the range Invisible text is usually invisible because a with the "invisible" attribute turned on has been applied to it. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 System.Boolean a Returns if iter is within a range tagged with tag. whether iter is tagged with tag Method 2.12.0.0 System.Boolean start of range end of range Checks whether iter falls in the range (start, end). if iter is in the range and must be in ascending order. Method 2.12.0.0 System.Boolean Determines whether iter is inside a sentence (as opposed to in between two sentences, e.g. after a period and before the first letter of the next sentence). if iter is inside a sentence. Sentence boundaries are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango text boundary algorithms). Method 2.12.0.0 System.Boolean Determines whether iter is inside a natural-language word (as opposed to say inside some whitespace). if iter is inside a word Word breaks are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango word break algorithms). Property 2.12.0.0 System.Boolean returns true if the iter is at the caret a returns true if this iterator equals the iterator returned by Property 2.12.0.0 System.Boolean Returns true if the iterator is at the end of the parent true if the iterator is equal to Buffer.EndIter The most efficient way to check whether an iterator is the end iterator. Property 2.12.0.0 System.Boolean Returns if iter is the first iterator in the buffer, that is if iter has a character offset of 0. whether iter is the first in the buffer Property 2.12.0.0 Pango.Language A convenience wrapper around , which returns the language in effect at iter. language in effect at iter If no tags affecting language apply to iter, the return value is identical to that of . Property 2.12.0.0 System.Int32 Line number the iterator is currently on. The line number the iterator is currently on. Lines in a are numbered beginning with 0 for the first line in the buffer. Property 2.12.0.0 System.Int32 Returns the byte index of the iterator, counting from the start of a newline-terminated line. distance from start of line, in bytes Remember that encodes text in UTF-8, and that characters can require a variable number of bytes to represent. Property 2.12.0.0 System.Int32 Returns the character offset of the iterator, counting from the start of a newline-terminated line. offset from start of line The first character on the line has offset 0. Property 2.12.0.0 Gtk.TextMark[] Returns an array of at this location. a Because marks are not iterable (they do not take up any "space" in the buffer, they are just marks in between iterable locations), multiple marks can exist in the same place. The returned list is not in any meaningful order. Method 2.12.0.0 Gtk.TextIter a Internal method a new This is an internal method and should not be used by user code. Property 2.12.0.0 System.Int32 Manipulates the offset from the start of the buffer. Returns the offset of the iter from the start of the buffer. None. Method 2.12.0.0 Gtk.TextIter To be added. Converts from a native GValue. a TextIter. Internal. Provided for bindings. Method 2.12.0.0 GLib.Value To be added. Converts to a native GValue. a native GValue. Internal. Provided for bindings. Method 2.12.0.0 System.Void another Swaps the value of first and second if second comes before first in the buffer. That is, ensures that first and second are in sequence. Most text buffer functions that take a range call this automatically on your behalf, so there's no real reason to call it yourself in those cases. There are some exceptions, such as , that expect a pre-sorted range. Property 2.12.0.0 Gdk.Pixbuf return the pixbuf at this iter, if it is one. the pixbuf at iter If the element at iter is a , the Pixbuf is returned. Otherwise, is returned. Method 2.12.0.0 System.Boolean Returns if iter begins a paragraph. whether iter begins a line Method 2.12.0.0 System.Boolean Determines whether iter begins a sentence. if iter is at the start of a sentence. Sentence boundaries are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango text boundary algorithms). Method 2.12.0.0 System.Boolean Determines whether iter begins a natural-language word. if iter is at the start of a word Word breaks are determined by Pango and should be correct for nearly any language (if not, the correct fix would be to the Pango word break algorithms). Property 2.12.0.0 Gtk.TextTag[] Returns an array of tags that apply to iter, in ascending order of priority (highest-priority tags are last). a Method 2.12.0.0 System.Boolean a or whether tag is either toggled on or off at iter whether tag is toggled on or off at iter Property 2.12.0.0 System.Int32 Returns the number of bytes from the start of the line to the given iter, not counting bytes that are invisible due to tags with the "invisible" flag toggled on. byte index of iter with respect to the start of the line Property 2.12.0.0 System.Int32 Returns the offset in characters from the start of the line to the given iter, not counting characters that are invisible due to tags with the "invisible" flag toggled on. offset in visible characters from the start of the line Field 2.12.0.0 Gtk.TextIter Returns an empty gtk-sharp-2.12.40/doc/en/Gtk/FileFilter.xml0000664000175000017500000002774212767740535015202 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Object This class sets up a filter to include or exclude particular kinds of files; useful in file selection dialogs. Simple example showing FileFilter within the FileChooserDialog example: public class MainWindow: Gtk.Window { protected virtual void OnBtnLoadFileClicked(object sender, System.EventArgs e) { Gtk.FileChooserDialog fc= new Gtk.FileChooserDialog("Choose the file to open", this, FileChooserAction.Open, Gtk.Stock.Cancel,ResponseType.Cancel, Gtk.Stock.Open,ResponseType.Accept); //filter begins here... FileFilter filter = new FileFilter(); filter.Name = "PNG and JPEG images"; filter.AddMimeType("image/png"); filter.AddPattern("*.png"); filter.AddMimeType("image/jpeg"); filter.AddPattern("*.jpg"); fc.AddFilter(filter); //second filter filter = new FileFilter(); filter.Name = "PNG Images (*.png)"; filter.AddMimeType("image/png"); filter.AddPattern("*.png"); fc.AddFilter(filter); //end filter code if (fc.Run() == (int)ResponseType.Accept) { System.Console.WriteLine } //Don't forget to call Destroy() or the FileChooserDialog window won't get closed. fc.Destroy(); } Constructor 2.12.0.0 Creates a new file filter with no rules attached to it. A newly-created filter doesn't accept any files, so is not particularly useful until you add rules with , , or . Constructor 2.12.0.0 System.Obsolete a Protected constructor. Constructor 2.12.0.0 a Constructor for internal use only. Method 2.12.0.0 System.Void a a Adds a rule to a filter that allows files based on a custom callback function. The bitfield which is passed in provides information about what sorts of information that the filter function needs; this allows GTK+ to avoid retrieving expensive information when it isn't needed by the filter. Method 2.12.0.0 System.Void a Adds a rule allowing a given MIME type to a filter. Method 2.12.0.0 System.Void a Adds a rule allowing a shell style glob to a filter. Method 2.12.0.0 System.Void To be added To be added Method 2.12.0.0 System.Boolean a Tests whether a file should be displayed according to this filter. a , TRUE if the file should be displayed. The structure should include the fields returned from . This function will not typically be used by applications; it is intended principally for use in the implementation of . Property 2.12.0.0 GLib.GType The of this object. a Property 2.12.0.0 System.String The human-readable name of the filter. a This is the string that will be displayed in the file selector user interface if there is a selectable list of filters. Property 2.12.0.0 Gtk.FileFilterFlags Gets the fields that need to be filled in for the structure passed to . a , flags that list the needed fields when calling . This function will not typically be used by applications; it is intended principally for use in the implementation of . gtk-sharp-2.12.40/doc/en/Gtk/RadioButton.xml0000664000175000017500000002347312767740535015404 00000000000000 gtk-sharp 2.12.0.0 Gtk.CheckButton A choice from multiple buttons in a group. A single radio button performs the same basic function as a , as its position in the object hierarchy reflects. It is only when multiple radio buttons are grouped together that they become a different user interface component in their own right. Every radio button is a member of some group of radio buttons. When one is selected, all other radio buttons in the same group are deselected. A is one way of giving the user a choice from many options. Radio button widgets are created with , if this is the first radio button in a group. In subsequent calls, the group you wish to add this button to should be passed as an argument. Constructor 2.12.0.0 System.Obsolete a Internal constructor Constructor 2.12.0.0 a Creates a new instance. Constructor 2.12.0.0 a , pointer to the underlying C object. Internal constructor Not for general developer use. Constructor 2.12.0.0 a Creates a new instance. Creates a new in its own group. Constructor 2.12.0.0 To be added. a Creates a new instance. Creates a RadioButton with the specified label and adds the newly created RadioButton to the same group as the RadioButton specified as the group parameter. // Example of creating two radio buttons in the same greoup RadioButton radioButton1; RadioButton radioButton2; // create first radio button allowing it to create it's own RadioButton Group radioButton1 = new RadioButton("Single Radio Button in it's own group"); // create second radio button. supply first radio button so that this one can be added // to the first radio button's group radioButton2 = new RadioButton(radioButton1, "Second radio button in the same group as radioButton1"); Property 2.12.0.0 GLib.SList sets and obtains a linked list with all the radio buttons in the same group. a with all the radio buttons in the same group as this radio button. Event 2.12.0.0 GLib.Signal("group-changed") System.EventHandler Emitted when the group of radio buttons that a radio button belongs to changes. This is emitted when a radio button switches from being alone to being part of a group of 2 or more buttons, or vice-versa, and when a buttton is moved from one group of 2 or more buttons to a different one, but not when the composition of the group that a button belongs to changes. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideGroupChanged", Type=typeof(Gtk.RadioButton)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. gtk-sharp-2.12.40/doc/en/Gtk/PrintWin32Devnames.xml0000664000175000017500000001131112767740535016540 00000000000000 gtk-sharp 2.12.0.0 System.ValueType System.Obsolete Internal structure. Do not use. Field 2.12.0.0 System.String Do not use. Do not use. Field 2.12.0.0 System.String Do not use. Do not use. Field 2.12.0.0 System.Int32 Do not use. Do not use. Method 2.12.0.0 System.Void Do not use. Do not use. Method 2.12.0.0 Gtk.PrintWin32Devnames Do not use. Do not use. Do not use. Do not use. Field 2.12.0.0 System.String Do not use. Do not use. Field 2.12.0.0 Gtk.PrintWin32Devnames Do not use. Do not use. gtk-sharp-2.12.40/doc/en/Gtk/AddWidgetArgs.xml0000664000175000017500000000550412767740535015616 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.Widget The widget (menubar or toolbar) that was added to the UI. a gtk-sharp-2.12.40/doc/en/Gtk/ReadyHandler.xml0000664000175000017500000000250412767740535015504 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ReadyHandler instance to the event. The methods referenced by the ReadyHandler instance are invoked whenever the event is raised, until the ReadyHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/VolumeButton.xml0000664000175000017500000000454012767740535015607 00000000000000 gtk-sharp 2.12.0.0 Gtk.ScaleButton To be added. To be added. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/AboutDialog.xml0000664000175000017500000007076512767740535015352 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Dialog This class extends , providing a dialog to show information about a program. The offers a simple way to display information about a program like its logo, name, copyright, website and license. It is also possible to give credits to the authors, documenters, translators and artists who have worked on the program. An about dialog is typically opened when the user selects the About option from the Help menu. All parts of the dialog are optional. About dialogs often contain links and email addresses. supports this by offering global hooks, which are called when the user clicks on a link or email address, see and . Email addresses in the authors, documenters and artists properties are recognized by looking for <user@host>, URLs are recognized by looking for http://url, with url extending to the next space, tab or line break. The following example creates and shows a from both assembly attributes and stored values. using Gtk; using System.Reflection; [assembly:AssemblyTitleAttribute ("About Dialog Example")] [assembly:AssemblyVersionAttribute ("1.0.0.0")] [assembly:AssemblyDescriptionAttribute ( "An example of the Gtk# AboutDialog using assembly attributes.")] [assembly:AssemblyCopyrightAttribute("Copyright 2007 Brian Nickel")] static public class AboutDialogExample { public static void Main () { Application.Init (); AboutDialog dialog = new AboutDialog (); Assembly asm = Assembly.GetExecutingAssembly (); dialog.Name = (asm.GetCustomAttributes ( typeof (AssemblyTitleAttribute), false) [0] as AssemblyTitleAttribute).Title; dialog.Version = asm.GetName ().Version.ToString (); dialog.Comments = (asm.GetCustomAttributes ( typeof (AssemblyDescriptionAttribute), false) [0] as AssemblyDescriptionAttribute).Description; dialog.Copyright = (asm.GetCustomAttributes ( typeof (AssemblyCopyrightAttribute), false) [0] as AssemblyCopyrightAttribute).Copyright; dialog.License = license; dialog.Authors = authors; dialog.Run (); } private static string [] authors = new string [] { "Brian Nickel <name@domain.ext>", "Rupert T. Monkey <name@domain.ext>" }; private static string license = @"Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ""Software""), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED ""AS IS"", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."; } Constructor 2.12.0.0 Constructs and initializes a new instance of for the executing assembly. With no properties set, the window will display only the name of the executing assembly. Constructor 2.12.0.0 System.Obsolete A object containing the native GLib type for the new instance. Constructs and initializes a new instance of for a specified native GLib type. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 A pointing to the raw object to be managed by the new instance. Constructs and initializes a new instance of using an existing unmanaged object as its base. This is not typically used by managed code. It is primarily used for enclosing an existing object, created by unmanaged code, in a managed wrapper. Property 2.12.0.0 GLib.Property("artists") System.String[] Gets and sets the list of people who contributed artwork to the program. A containing the list of people who contributed artwork to the program. Each string may contain email addresses and URLs, which will be displayed as links. See the remarks on for more details. Property 2.12.0.0 GLib.Property("authors") System.String[] Gets and sets the list of people who authored the program. A containing the list of people who authored the program. Each string may contain email addresses and URLs, which will be displayed as links. See the remarks on for more details. Property 2.12.0.0 GLib.Property("comments") System.String Gets and sets a comment about the program to appear immediately below the program name in the dialog. A object containing a comment, description, or subtitle for the program. If unset, no comment text is displayed. This string is displayed in a label in the main dialog, thus it should be a short explanation of the main purpose of the program, not a detailed list of features. Property 2.12.0.0 GLib.Property("copyright") System.String Gets and sets copyright information for the program. A object containing copyright information for the program. The copyright text appears below the text and above the link on the dialog. If unset, not copyright text will appear. Property 2.12.0.0 GLib.Property("documenters") System.String[] Gets and sets the list of people who contributed documentation to the program. A containing the list of people who contributed documentation to the program. Each string may contain email addresses and URLs, which will be displayed as links. See the remarks on for more details. Property 2.12.0.0 GLib.GType Gets the GLib type of the current instance. A value representing the native GLib type of . The value is used internally by the GLib type management system. Property 2.12.0.0 GLib.Property("license") System.String Gets and sets the license text of the program. A object containing the license text to display with the current instance. This string is displayed in a text view in a secondary dialog, therefore it is fine to use a long multi-paragraph text. Note that by default the text is not wrapped in the text view, thus it must contain the intended linebreaks. Property 2.12.0.0 GLib.Property("logo") Gdk.Pixbuf Gets and sets a logo to display above the program name in the dialog. A object containing a logo to display above the program name in the dialog. The prefered way to set the logo is through . If this is not set, it defaults to . Property 2.12.0.0 GLib.Property("logo-icon-name") System.String Gets and sets the name of the logo icon to display above the program name in the dialog. A object containing the name of the logo icon to display above the program name in the dialog. If set, this property overrides the property. The name should be equal to the name of the program, without any sort of extension, eg. "monodoc". The dialog will use that name to load an icon by trying the following: The current icon theme, eg. "/usr/share/icons/Tango/48x48/apps/monodoc.png". The pixmap directory, eg. "/usr/share/pixmaps/monodoc.png" The broken image icon. Property 2.12.0.0 GLib.Property("program-name") System.Obsolete("Use ProgramName instead") System.String Gets and sets the name of the program. A object containing the name of the program. The default value is the name of the executing assembly. This may be in the format "MyApplication.exe", "/path/to/MyApplication.exe", or "C:\Path\To\MyApplication.exe" depending on how the assembly was executed and on what platform. Property 2.12.0.0 GLib.Property("program-name") System.String Program Name property. The name of the program. Method 2.12.0.0 Gtk.AboutDialogActivateLinkFunc A delegate to be called when an email link is activated. Installs a global function to be called whenever the user activates an email link in an about dialog. The delegate that was previously used as the email hook. If no hook is set, email addresses will appear in the dialogs as standard non-clickable text. The following example uses the built in to open emails: Gtk.AboutDialog.SetEmailHook(delegate(Gtk.AboutDialog dialog, string email) { Gnome.Url.Show("mailto:" + email); }); Method 2.12.0.0 Gtk.AboutDialogActivateLinkFunc A to be called when a URL link is activated. Installs a global function to be called whenever the user activates a URL link in an about dialog. The delegate that was the previous used as the URL hook. If no hook is set, the will in the dialogs appear as standard non-clickable text. The following example uses the built in to open links: Gtk.AboutDialog.SetUrlHook(delegate(Gtk.AboutDialog dialog, string link) { Gnome.Url.Show(link); }); Property 2.12.0.0 GLib.Property("translator-credits") System.String Gets and sets credits for the translation of the program. A object containing credits for the translation of the program. This string should be marked as translatable. Each string may contain email addresses and URLs, which will be displayed as links. See the remarks on for more details. Property 2.12.0.0 GLib.Property("version") System.String Get and set the version of the program. A object containing the version of the program. The most appropriate value to put here would be the assembly version, but any string is valid, eg "2.0.0.1", "2.5.3", "2.0 RC1", etc. Property 2.12.0.0 GLib.Property("website") System.String Gets and sets the URL of the program's website. A containing the URL of the program's website. The value should be a string starting with "http://". If set, the link is displayed at the bottom of the dialog, however if has not been used, the URL will appear as plain text and not be clickable. may be used to provide a plain-text label for the link. Property 2.12.0.0 GLib.Property("website-label") System.String Gets and sets the text label to display for the link to . A containing the text label to display for the link to . This value is used to provide a user friendly link to the website, for example "Visit home page." or "AppName website". If not set, the link defaults to the URL specified in the property. Property 2.12.0.0 GLib.Property("wrap-license") System.Boolean Gets and sets whether the text in the is to be automatically wrapped. If , the text is auto-wrapped. Otherwise long lines of text will extend past the edge of the frame and a horizontal scroll bar will appear. By default, this option is set to . Most standard licenses, as will be found in the LICENSE file of a package, are already manually wrapped and auto-wrapping is unneccessary an unwanted. gtk-sharp-2.12.40/doc/en/Gtk/ToggleAction.xml0000664000175000017500000002175712767740535015534 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Action An action which can be toggled between two states Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 a Internal constructor This is not typically used by C# code. Constructor 2.12.0.0 a , a unique name for the action a , the label displayed in menu items and on buttons a , a tooltip for the action a , the stock icon to display in widgets representing the action Public constructor. Property 2.12.0.0 GLib.Property("active") System.Boolean Sets the checked state on the toggle action. a , if checked Property 2.12.0.0 GLib.Property("draw-as-radio") System.Boolean Whether the action should have proxies like a radio action. a Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideToggled", Type=typeof(Gtk.ToggleAction)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Void Fires the event. Event 2.12.0.0 GLib.Signal("toggled") System.EventHandler Event raised when the toggle is changed. gtk-sharp-2.12.40/doc/en/Gtk/Entry.xml0000664000175000017500000021733512767740535014255 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Widget Gtk.CellEditable Gtk.Editable An Entry is a single-line text entry widget. This widget should be used to retrieve small amounts of text from the user. A fairly large set of key bindings are supported by default. If the entered text is longer than the allocation of the widget, the widget will scroll so that the cursor position is visible. See also the widget for displaying and editing large amounts of text. using System; using Gtk; class EntrySample { Entry entry; static void Main () { new EntrySample (); } EntrySample () { Application.Init (); Window win = new Window ("EntrySample"); win.SetDefaultSize (200, 150); win.DeleteEvent += new DeleteEventHandler (OnWinDelete); VBox vbox = new VBox (false, 1); win.Add (vbox); entry = new Entry ("hello world"); entry.Editable = true; entry.Visibility = true; vbox.Add (entry); CheckButton editable = new CheckButton ("Editable"); editable.Toggled += new EventHandler (OnEditableToggled); editable.Active = true; vbox.Add (editable); CheckButton visibility = new CheckButton ("Visibility"); visibility.Toggled += new EventHandler (OnVisibilityToggled); visibility.Active = true; vbox.Add (visibility); win.ShowAll (); Application.Run (); } void OnEditableToggled (object obj, EventArgs args) { entry.Editable = !entry.Editable; } void OnVisibilityToggled (object obj, EventArgs args) { entry.Visibility = !entry.Visibility; } void OnWinDelete (object obj, DeleteEventArgs args) { Application.Quit (); } } Constructor 2.12.0.0 Construct a new entry widget Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 a , the maximum length of the entry, or 0 for no maximum. Creates a new with the given maximum length. the existence of this function is inconsistent with the rest of the Gtk API. The normal setup would be to just require the user to make an extra call to instead. It is not expected that this function will be removed, but it would be better practice not to use it. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 A Public constructor. Event 2.12.0.0 GLib.Signal("activate") System.EventHandler Connect to this event to be notified when the user hits 'return'. Connect to this event with a standard . Property 2.12.0.0 GLib.Property("activates-default") System.Boolean Determine whether to activate the 'default widget' in the window when the return key is pressed. if the default button will be activated, false otherwise. If the value is , pressing Enter in the entry will activate the default widget for the window containing the entry. This usually means that the dialog box containing the entry will be closed, since the default widget is usually one of the dialog buttons. (For experts: if the value is , the entry calls on the containing the entry, in the default handler for the event). Property 2.12.0.0 System.Single The alignment for the contents of the entry a This controls the horizontal positioning of the contents when the displayed text is shorter than the width of the entry. The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts Method 2.12.0.0 System.Obsolete System.Void a Appends the given text to the contents of the widget. Event 2.12.0.0 GLib.Signal("backspace") System.EventHandler To be added To be added Event 2.12.0.0 GLib.Signal("changed") System.EventHandler When the contents of the Entry change, this event is raised. Event 2.12.0.0 GLib.Signal("copy_clipboard") System.EventHandler Connect to this event to be notified when the contents of the Entry are copied to the clipboard. Connect to this event with a standard . Event 2.12.0.0 GLib.Signal("cut_clipboard") System.EventHandler Connect to this event to be notified when the user 'cuts' a selection in the Entry. Connect to this event with a standard . Event 2.12.0.0 GLib.Signal("paste_clipboard") System.EventHandler Connect to this event to be notified when the clipboard contents are pasted into this Entry. Connect to this event with a standard . Property 2.12.0.0 Gtk.EntryCompletion The auxiliary completion object a All further configuration of the completion mechanism is done on completion using the API. Method 2.12.0.0 System.Void Specific implementation of Gtk.Editable.CopyClipboard for the Entry widget. Property 2.12.0.0 Gtk.Adjustment To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("cursor-position") System.Int32 The position of the cursor in the text of the Entry. The current character of the cursor. Use this property to manipulate the position of the cursor - it is displayed before the character with the given (base 0) index in the widget. The value must be less than or equal to the number of characters in the widget. A value of -1 indicates that the position should be set after the last character in the entry. Note that this position is in characters, not in bytes. Method 2.12.0.0 System.Void Copies any selected text to the clipboard and deletes it from the entry. Event 2.12.0.0 GLib.Signal("delete_from_cursor") Gtk.DeleteFromCursorHandler Connect to this event to find out when text is deleted from the Entry by the user. Data pertaining to this event is encapsulated in a . Method 2.12.0.0 System.Void Specific implementation of Gtk.Editable.DeleteSelection for the Entry widget. Deletes the currently selected text from the Entry. Method 2.12.0.0 System.Void Specific implementation of Gtk.Editable.DeleteText for the Entry widget. Property 2.12.0.0 System.Obsolete("Replaced by IsEditable property") System.Boolean Whether or not this Entry is editable. if this entry can be edited, otherwise. Set this property to false if you need to stop input into an Entry widget. For displaying textual data, it is more normal to use a instead. Event 2.12.0.0 GLib.Signal("editing_done") System.EventHandler Implements the EditingDone method of the interface. Method 2.12.0.0 System.Void Specific implementation of Gtk.CellEditable.FinishEditing for the Entry widget. Method 2.12.0.0 System.String The index of the first character to get, (zero-indexed). The index of the character to retrieve up to. Specific implementation of Gtk.Editable.GetChars for the Entry widget. A string representing the characters from , up to, but not including . If is negative, then the the characters retrieved will be those characters from to the end of the text. Method 2.12.0.0 System.Void X offset output of the layout. Y offset output of the layout. Obtains the position of the PangoLayout used to render text in the entry, in widget coordinates. Useful if you want to line up the text in an entry with some other text, e.g. when using the entry to implement editable cells in a sheet widget. - Also useful to convert mouse events into coordinates inside the PangoLayout, e.g. to take some action if some part of the entry text is clicked. Method 2.12.0.0 System.Boolean output variable for the character index of the selection start output variable for the character index of the end of the selection Get the the positions of the start and end of the current selection, if there is one. if there is a selection, otherwise. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("has-frame") System.Boolean Whether or not this Entry should be surrounded by a 3D frame. if a frame surrounds this Entry, otherwise Unless there is a very specific reason for doing so, this property is best left to its default to ensure consistency in Entry widgets across applications. Event 2.12.0.0 GLib.Signal("insert_at_cursor") Gtk.InsertAtCursorHandler Connect to this event to discover when text is inserted at the cursor position - usually when the user types something in. Data pertaining to this event is encapsulated in an . Method 2.12.0.0 System.Int32 the text to add Add arbitrary text to the entry. The number of characters added. Use this method to insert a string at the current CursorPosition. Method 2.12.0.0 System.Void A A Add text to the entry just before . Property 2.12.0.0 GLib.Property("invisible-char") System.Char The character to display when is a The is the character displayed in the entry in place of the actual characters of when is . The default invisible character is an asterisk ('*'). If you set this to 0, then no characters will be displayed at all. Property 2.12.0.0 System.Boolean Implements the concrete version of Gtk.Editable.IsEditable, to determine if the text of the Entry can be edited. true if the Entry is editable, false otherwise. Property 2.12.0.0 Pango.Layout Get the object used by this Entry for text layout. The Pango.Layout used to render the text of this entry. This property is read only. Method 2.12.0.0 System.Int32 a To be added a To be added Property 2.12.0.0 GLib.Property("max-length") System.Int32 The maximum number of characters that can be placed in this Entry. The maximum number of characters that can currently be set in this Entry. This property can be useful for ensuring no more than a specific number of characters are put in an entry. Event 2.12.0.0 GLib.Signal("move_cursor") Gtk.MoveCursorHandler Connect to this event handler to be notified when the cursor of an Entry moves. Data pertaining to this event is passed with a . Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideActivated", Type=typeof(Gtk.Entry)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideBackspace", Type=typeof(Gtk.Entry)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideChanged", Type=typeof(Gtk.Entry)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideClipboardCopied", Type=typeof(Gtk.Entry)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideClipboardCut", Type=typeof(Gtk.Entry)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideClipboardPasted", Type=typeof(Gtk.Entry)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDeleteFromCursor", Type=typeof(Gtk.Entry)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideEditingDone", Type=typeof(Gtk.Entry)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideInsertAtCursor", Type=typeof(Gtk.Entry)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideMoveCursor", Type=typeof(Gtk.Entry)) System.Void a a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePopulatePopup", Type=typeof(Gtk.Entry)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextDeleted", Type=typeof(Gtk.Entry)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextInserted", Type=typeof(Gtk.Entry)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideToggleOverwrite", Type=typeof(Gtk.Entry)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideWidgetRemoved", Type=typeof(Gtk.Entry)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Void Causes the contents of the clipboard to be pasted into the Entry at the current cursor position. Event 2.12.0.0 GLib.Signal("populate_popup") Gtk.PopulatePopupHandler Raised when the popup handler needs to be filled with data. Data pertaining to this event is encapsulated in a . Property 2.12.0.0 System.Int32 The position of the cursor. the current cursor position The cursor is displayed before the character with the given (base 0) index in the widget. The value must be less than or equal to the number of characters in the widget. A value of -1 indicates that the position should be set after the last character in the entry. Note that this position is in characters, not in bytes. Method 2.12.0.0 System.Obsolete System.Void a Prepends the given text to the contents of the widget. Method 2.12.0.0 System.Void Specific implementation of Gtk.CellEditable.RemoveWidget for the Entry widget. Property 2.12.0.0 GLib.Property("scroll-offset") System.Int32 Number of pixels the entry scrolled off the screen to the left. A Property 2.12.0.0 GLib.Property("selection-bound") System.Int32 The length of the selected text. The number of selected characters. Method 2.12.0.0 System.Void Specific implementation of Gtk.Editable.SelectRegion for the Entry widget. Property 2.12.0.0 GLib.Property("shadow-type") Gtk.ShadowType To be added. To be added. To be added. Method 2.12.0.0 System.Void Specific implementation of Gtk.CellEditable.StartEditing for the Entry widget. Property 2.12.0.0 GLib.Property("text") System.String Manipulate the current text contents of an Entry. The current text in an Entry. Event 2.12.0.0 GLib.Signal("delete_text") Gtk.TextDeletedHandler Connect to this event to be notified when text is deleted from the Entry. Method 2.12.0.0 System.Int32 a To be added a To be added Event 2.12.0.0 GLib.Signal("insert_text") Gtk.TextInsertedHandler Connect to this event to be notified when text is inserted into the Entry. Event 2.12.0.0 GLib.Signal("toggle_overwrite") System.EventHandler Connect to this event to discover when the Overwrite state has been changed by the user. This is usually done by pressing the 'Insert' key on a keyboard. Connect to this event with a standard . Property 2.12.0.0 GLib.Property("truncate-multiline") System.Boolean Indicates if pasted text is truncated to the first line. Defaults to . Property 2.12.0.0 GLib.Property("visibility") System.Boolean Determine whether to display characters entered, or whether to mask them. true if characters are being displayed, false if they are being masked. This property should be used to create entry widgets for sensitive data such as passwords. Event 2.12.0.0 GLib.Signal("remove_widget") System.EventHandler Implements the WidgetRemoved method of the interface. This will effectively destroy the Entry. Property 2.12.0.0 GLib.Property("width-chars") System.Int32 Changes the size request of the entry to be about the right size for characters. The number of characters requested. Note that it changes the size request, the size can still be affected by how you pack the widget into containers. If n_chars is -1, the size reverts to the default entry size. Property 2.12.0.0 GLib.Property("xalign") System.Single The horizontal alignment, from 0 (left) to 1 (right). a Reversed for RTL layouts. Allowed values: [0,1] Default value: 0 gtk-sharp-2.12.40/doc/en/Gtk/Container+ContainerChild.xml0000664000175000017500000000754412767740535017757 00000000000000 gtk-sharp 2.12.0.0 System.Object A mixin class for expressing the relation between a container widget and its child widget(s). Constructor 2.12.0.0 To be added. To be added. To be added. To be added. Field 2.12.0.0 Gtk.Widget Protected internal data; the child widget. Property 2.12.0.0 Gtk.Widget The child widget. a Field 2.12.0.0 Gtk.Container Protected internal data; the parent container. Property 2.12.0.0 Gtk.Container The parent container. a gtk-sharp-2.12.40/doc/en/Gtk/ColorButton.xml0000664000175000017500000002300112767740535015407 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Button A button which displays the currently selected color and allows opening of a color selection dialog to change the color. This widget is suitable for selecting a color in a preference dialog. Constructor 2.12.0.0 Constructor for public use. Constructor 2.12.0.0 a , the color to make the button. Constructor for public use. Constructor 2.12.0.0 System.Obsolete a Protected constructor. Constructor 2.12.0.0 a , pointer to underlying C object. Constructor; for internal use only. Property 2.12.0.0 GLib.Property("alpha") System.UInt16 How transparent to make this button, if transparency is being used. a Property 2.12.0.0 GLib.Property("color") Gdk.Color The color this widget is set to. a Event 2.12.0.0 GLib.Signal("color_set") System.EventHandler Event that happens when the color of this ColorButton is set. Property 2.12.0.0 GLib.GType Do not use. a Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideColorSet", Type=typeof(Gtk.ColorButton)) System.Void Protected method called when the color of the widget is set. Property 2.12.0.0 GLib.Property("title") System.String The title for this button. a Property 2.12.0.0 GLib.Property("use-alpha") System.Boolean Whether or not to make this button transparent. a gtk-sharp-2.12.40/doc/en/Gtk/PopupContextMenuHandler.xml0000664000175000017500000000426112767740535017737 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PopupContextMenuHandler instance to the event. The methods referenced by the PopupContextMenuHandler instance are invoked whenever the event is raised, until the PopupContextMenuHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/CycleChildFocusArgs.xml0000664000175000017500000000453012767740535016763 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Boolean Whether the focus cycle should be reversed or not. A , true if reversed. gtk-sharp-2.12.40/doc/en/Gtk/Clipboard+RichTextReceivedFunc.xml0000664000175000017500000000235412767740535021055 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void the sending clipboard. format of the contents. the contents as rich text. Clipboard RichTextReceived Callback Delegate. Provides the clipboard contents as rich text. See . gtk-sharp-2.12.40/doc/en/Gtk/AddedArgs.xml0000664000175000017500000000435712767740535014770 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.Widget The widget that was added to the container. A gtk-sharp-2.12.40/doc/en/Gtk/TextTagTableForeach.xml0000664000175000017500000000217412767740535016765 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. A delegate function to be run on every in a . Callable by gtk-sharp-2.12.40/doc/en/Gtk/ChangeCurrentPageArgs.xml0000664000175000017500000000451412767740535017307 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Int32 The offset of the notebook page to display. A gtk-sharp-2.12.40/doc/en/Gtk/TextPushedArgs.xml0000664000175000017500000000533712767740535016063 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Passes data to handlers of events. Constructor 2.12.0.0 Creates a new object that encapsulates the data that has been pushed onto a message stack. Property 2.12.0.0 System.UInt32 Retrieve the context identifier for the message that was added. An integer context ID. Property 2.12.0.0 System.String Retrieve the text that was 'pushed'. The string added to the top of the Statusbar's message stack gtk-sharp-2.12.40/doc/en/Gtk/QueryTooltipArgs.xml0000664000175000017500000000662112767740535016443 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs To be added. To be added. Constructor 2.12.0.0 To be added. To be added. Property 2.12.0.0 System.Boolean To be added. To be added. To be added. Property 2.12.0.0 Gtk.Tooltip To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/RowHasChildToggledHandler.xml0000664000175000017500000000413712767740535020121 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the RowHasChildToggledHandler instance to the event. The methods referenced by the RowHasChildToggledHandler instance are invoked whenever the event is raised, until the RowHasChildToggledHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/MotionNotifyEventHandler.xml0000664000175000017500000000321612767740535020101 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the MotionNotifyEventHandler instance to the event. The methods referenced by the MotionNotifyEventHandler instance are invoked whenever the event is raised, until the MotionNotifyEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/SpinType.xml0000664000175000017500000001317112767740535014717 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.SpinTypeGType)) Represents a type of spin, used by . A 'spin' is a change of a 's value based on this enumerated type. Field 2.12.0.0 Gtk.SpinType Spin a to its maximum possible value from the SpinButton's . Field 2.12.0.0 Gtk.SpinType Spin a to its minimum possible value from the SpinButton's . Field 2.12.0.0 Gtk.SpinType Spin a backwards by the page value from the SpinButton's . Field 2.12.0.0 Gtk.SpinType Spin a forwards by the page value from the SpinButton's . Field 2.12.0.0 Gtk.SpinType Spin a backwards by the step value from the SpinButton's . Field 2.12.0.0 Gtk.SpinType Spin a forwards by the step value from the SpinButton's . Field 2.12.0.0 Gtk.SpinType The programmer must specify the exact amount to spin the . gtk-sharp-2.12.40/doc/en/Gtk/Layout+LayoutChild.xml0000664000175000017500000000600312767740535016632 00000000000000 gtk-sharp 2.12.0.0 Gtk.Container+ContainerChild A child of a , used to interact with its container child properties. Constructor 2.12.0.0 To be added. To be added. To be added. To be added. Property 2.12.0.0 Gtk.ChildProperty("x") System.Int32 X coordinate of the child the child's X coordinate Property 2.12.0.0 Gtk.ChildProperty("y") System.Int32 Y coordinate of the child the child's Y coordinate gtk-sharp-2.12.40/doc/en/Gtk/TextBufferDeserializeFunc.xml0000664000175000017500000000276412767740535020225 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/TagChangedArgs.xml0000664000175000017500000000567012767740535015753 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data for changing a tag. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Boolean Whether or not the size of the tag changed with this event. A , true if the size of the tag changed. Property 2.12.0.0 Gtk.TextTag The tag that changed. A gtk-sharp-2.12.40/doc/en/Gtk/FormatValueArgs.xml0000664000175000017500000000440612767740535016207 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Double The value to be formatted. A gtk-sharp-2.12.40/doc/en/Gtk/SelectionClearEventHandler.xml0000664000175000017500000000324612767740535020342 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SelectionClearEventHandler instance to the event. The methods referenced by the SelectionClearEventHandler instance are invoked whenever the event is raised, until the SelectionClearEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/MoveHandleHandler.xml0000664000175000017500000000307112767740535016462 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the MoveHandleHandler instance to the event. The methods referenced by the MoveHandleHandler instance are invoked whenever the event is raised, until the MoveHandleHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/TreeViewDropPosition.xml0000664000175000017500000000674512767740535017261 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.TreeViewDropPositionGType)) An enumeration for determining where a dropped row goes. Field 2.12.0.0 Gtk.TreeViewDropPosition Drop after this row. Field 2.12.0.0 Gtk.TreeViewDropPosition Drop before this row. Field 2.12.0.0 Gtk.TreeViewDropPosition Drop as a child of this row (with fallback to after if into is not possible). Field 2.12.0.0 Gtk.TreeViewDropPosition Drop as a child of this row (with fallback to before if into is not possible). gtk-sharp-2.12.40/doc/en/Gtk/ComboBoxEntry.xml0000664000175000017500000002023112767740535015671 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.ComboBox A text entry field with a dropdown list Constructor 2.12.0.0 Creates a new which has a as its child. Constructor 2.12.0.0 System.Obsolete a Internal constructor Constructor 2.12.0.0 a Internal constructor Constructor 2.12.0.0 a list of strings for the dropdown list. Creates a combo entry from a list of entries. Constructor 2.12.0.0 a which holds the data. a which means the coluumn number (0 based) in the which contains the list of strings to display. Creates a new which has a as child and a list of strings as popup. Property 2.12.0.0 Gtk.Entry The combo box's child. The . Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 Gtk.ComboBoxEntry Convenience function which constructs a new editable text combo box, which is a just displaying strings. a Property 2.12.0.0 GLib.Property("text-column") System.Int32 the column in the model which the combobox is using to get the strings from. a gtk-sharp-2.12.40/doc/en/Gtk/Statusbar.xml0000664000175000017500000003762712767740535015130 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.HBox Report messages of minor importance to the user. The Statusbar widget displays textual messages to the user. Statusbars are typically placed at the bottom of application s. A Statusbar may provide a regular commentary of the application's status (as is usually the case in a web browser, for example), or may be used to simply output a message when the status changes, (when an upload is complete in an FTP client, for example). As a finishing touch to the StatusBar, it can have a "resize grip" added in the lower right corner. This is a triangular area that can be clicked on to resize the window containing the statusbar. Status bars in Gtk maintain a stack of messages. The message at the top of the each bar's stack is the one that will currently be displayed. Any messages added to a statusbar's stack must specify a that is used to uniquely identify the source of a message. This can be generated with , given a message. Note that messages are stored in a stack, and when choosing which message to display, the stack structure is adhered to, regardless of the context identifier of a message. Messages are added to the bar's stack with , and the message at the top of the stack can be removed using . A message can be removed from anywhere in the stack if it's was recorded at the time it was added. This is done using . using System; using Gtk; class StatusbarSample { Statusbar sb; const int id = 1; int count; static void Main () { new StatusbarSample (); } StatusbarSample () { Application.Init (); count = 0; Window win = new Window ("StatusbarSample"); win.DeleteEvent += new DeleteEventHandler (OnWinDelete); win.SetDefaultSize (150, 100); VBox vbox = new VBox (false, 1); win.Add (vbox); Button btn = new Button ("Add to counter"); btn.Clicked += new EventHandler (OnButtonClicked); vbox.Add (btn); sb = new Statusbar (); sb.Push (id, "Welcome!"); sb.HasResizeGrip = false; vbox.Add (sb); win.ShowAll (); Application.Run (); } void OnButtonClicked (object obj, EventArgs args) { count ++; string message = String.Format ("Pushed {0} times", count); sb.Pop (id); sb.Push (id, message); } void OnWinDelete (object obj, DeleteEventArgs args) { Application.Quit (); } } Constructor 2.12.0.0 The main way to create a new status bar. Creates a new Statusbar with an empty message stack. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.UInt32 A description of the message you want to generate an identifier for. Generates an identifier based on the . An integer identifier Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("has-resize-grip") System.Boolean Manage whether this Statusbar has a resizable grip over its bottom right corner. Whether or not there is currently a resize grip on the Statusbar. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextPopped", Type=typeof(Gtk.Statusbar)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextPushed", Type=typeof(Gtk.Statusbar)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Void A context identifier Removes the message at the top of the Statusbar's stack. Method 2.12.0.0 System.UInt32 The new message's context ID, as generated by . The message to display to the user. Pushes a new message onto the stack. The message's new message id for use with . Note that the and the returned are equivalent and are both required for to work. Method 2.12.0.0 System.Void A context identifier. A message identifier. Forces the removal of a message from a statusbar's stack. The exact and must be specified. Event 2.12.0.0 GLib.Signal("text_popped") Gtk.TextPoppedHandler An event that is raised when a message is popped off the Statusbar's message stack using the method. Connect to this event with a . Event 2.12.0.0 GLib.Signal("text_pushed") Gtk.TextPushedHandler An event that is raised when a message is pushed onto the Statusbar's message stack using the method. Connect to this event with a . gtk-sharp-2.12.40/doc/en/Gtk/CellRendererMode.xml0000664000175000017500000000564212767740535016323 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.CellRendererModeGType)) Identifies how the user can interact with a particular cell. Field 2.12.0.0 Gtk.CellRendererMode The cell can be clicked. Field 2.12.0.0 Gtk.CellRendererMode The cell can be edited or otherwise modified. Field 2.12.0.0 Gtk.CellRendererMode The cell is just for display and cannot be interacted with. Note that this does not mean that the row being drawn can not be selected, for example. Just that a particular element of it cannot be individually modified. gtk-sharp-2.12.40/doc/en/Gtk/Settings.xml0000664000175000017500000004540112767740535014745 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Maintains application settings for objects attached to a toplevel. See Constructor 2.12.0.0 Default constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 System.Obsolete("Removed from C API, returns IntPtr.Zero") System.IntPtr Hashtable to map names to colors. A pointer to a native GHashtable. Property 2.12.0.0 System.Boolean True if the cursor should blink, false if it should not blink. a Property 2.12.0.0 System.Int32 Blink interval in milliseconds for the cursor. a Property 2.12.0.0 Gtk.Settings Returns a default settings object. A Property 2.12.0.0 System.Int32 Number of pixels the cursor can move before dragging. a Property 2.12.0.0 System.Int32 Maximum interval between clicks for a mouse action to be considered a double-click. Measured in milliseconds. a Property 2.12.0.0 System.String A font name. a Method 2.12.0.0 Gtk.Settings a Gets the settings for . a Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.String A string representing possible sizes for icons for different UI components. a This may look something like "(gtk-menu=16,16;gtk-button=20,20 [...])". Method 2.12.0.0 System.Void A , pointer to an unmanaged C property object. Installs a property. Method 2.12.0.0 System.Void A , pointer to the underlying C object (TODO: explain) A Sets up the property parser for reading Rc files. Property 2.12.0.0 System.String The name of the key theme RC file to load. a Property 2.12.0.0 System.String Keybinding to activate the menu bar. a Defaults to F10. Method 2.12.0.0 System.Void A A A Sets a property whose value is a . Method 2.12.0.0 System.Void A A A Sets a property whose content is a . Method 2.12.0.0 System.Void A A Sets a property whose value is a . Method 2.12.0.0 System.Void A A A Sets a property whose value is a . Property 2.12.0.0 System.Boolean Whether two cursors should be displayed for mixed left-to-right and right-to-left text. a Property 2.12.0.0 System.String Name of the theme RC file to load. a gtk-sharp-2.12.40/doc/en/Gtk/MatchType.xml0000664000175000017500000001162212767740535015041 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.MatchTypeGType)) Deprecated. Do not use. Field 2.12.0.0 Gtk.MatchType Deprecated. Do not use. Field 2.12.0.0 Gtk.MatchType Deprecated. Do not use. Field 2.12.0.0 Gtk.MatchType Deprecated. Do not use. Field 2.12.0.0 Gtk.MatchType Deprecated. Do not use. Field 2.12.0.0 Gtk.MatchType Deprecated. Do not use. Field 2.12.0.0 Gtk.MatchType Deprecated. Do not use. gtk-sharp-2.12.40/doc/en/Gtk/FontButton.xml0000664000175000017500000003677012767740535015260 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Button This class extends , providing an simple button for font selection. The FontButton is a button which displays the currently selected font and allows to open a font selection dialog to change the font. It is suitable widget for selecting a font in a preference dialog. Constructor 2.12.0.0 Constructs and initializes a new instance of with the default font. To specify the default font on creation, use . Constructor 2.12.0.0 System.Obsolete A object containing the native GLib type for the new instance. Constructs and initializes a new instance of for a specified native GLib type. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 A pointing to the raw object to be managed by the new instance. Constructs and initializes a new instance of using an existing unmanaged object as its base. This is not typically used by managed code. It is primarily used for enclosing an existing object, created by unmanaged code, in a managed wrapper. Constructor 2.12.0.0 A object containing the name of the initial font to use in the new instance. Constructs and initializes a new instance of with a specified initial font. The value of is in the same format as described in the remarks on . Property 2.12.0.0 GLib.Property("font-name") System.String Gets and sets the name of the currently selected font, including the style and size. A object containing the name of the currently selected font, including the style and font. The font name contains the name, style, and size. For example, "Bistream Vera Serif Bold Italic 24". If the style is not specified, "Regular" is assumed, and if the size is not specified, "0" is assumed. Default Value: "Sans 12". This value is identical to the one that would be used by and . Event 2.12.0.0 GLib.Signal("font-set") System.EventHandler This event is raised when the user closes the child after making a change. Child classes should override instead of adding a handler to this event. Property 2.12.0.0 GLib.GType Gets the GLib type of the current instance. A value representing the native GLib type of . The value is used internally by the GLib type management system. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideFontSet", Type=typeof(Gtk.FontButton)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Boolean A object containing the name of the font to display in the child . Sets or updates the font displayed in the child . The return value of if the font selection dialog exists, otherwise . Property 2.12.0.0 GLib.Property("show-size") System.Boolean Gets and sets whether or not to show the font size in the button. A . If , the font size will be displayed in the button. For a more WYSIWYG way to show the selected size, see the property. Property 2.12.0.0 GLib.Property("show-style") System.Boolean Gets and sets whether or not the font style will be shown with the font name in the button. A . If , the font style will be displayed along with the name of the selected font, unless the style is "Regular". Default Value: Property 2.12.0.0 GLib.Property("title") System.String Gets and sets the title used for the created by the currrent instance. A object containing the title used for the created by the currrent instance. Default Value: "Pick a Font" or a translated version. Property 2.12.0.0 GLib.Property("use-font") System.Boolean Gets and sets whether or not button label should be displayed using the selected font. A . If , the button label will be displayed using the selected font. Otherwise in the default system font. Default Value: Property 2.12.0.0 GLib.Property("use-size") System.Boolean If this property is set to , the label will be drawn in the selected font size. A . If , the button label will be displayed using the selected font size. Otherwise in the default system font size. gtk-sharp-2.12.40/doc/en/Gtk/TargetEntry.xml0000664000175000017500000001226612767740535015420 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType A potential target for a drag-and-drop operation; one row in a . Constructor 2.12.0.0 a a a Constructor. Field 2.12.0.0 Gtk.TargetFlags The flags that constrain what can be dragged to this target. Field 2.12.0.0 System.UInt32 A unique identifier for a target. Method 2.12.0.0 Gtk.TargetEntry A , pointer to the underlying C object. Constructor. Not for use by developers. A Field 2.12.0.0 System.String The target type. Some common types include "STRING", "GTK_TREE_MODEL_ROW", "TEXT", "UTF8_STRING"; this is not an exhaustive list, and any given application may define its own targets. Field 2.12.0.0 Gtk.TargetEntry An empty/default TargetEntry. gtk-sharp-2.12.40/doc/en/Gtk/TextInsertedHandler.xml0000664000175000017500000000400312767740535017056 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the TextInsertedHandler instance to the event. The methods referenced by the TextInsertedHandler instance are invoked whenever the event is raised, until the TextInsertedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/LeaveNotifyEventArgs.xml0000664000175000017500000000457212767740535017215 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.EventCrossing The underlying Gdk event that triggered the LeaveNotifyEvent. A gtk-sharp-2.12.40/doc/en/Gtk/ReadyArgs.xml0000664000175000017500000000402512767740535015023 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.PrintContext The Print context of the current operation. A . gtk-sharp-2.12.40/doc/en/Gtk/ToggleHandleFocusArgs.xml0000664000175000017500000000336112767740535017316 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.40/doc/en/Gtk/ScrollArgs.xml0000664000175000017500000000702412767740535015217 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 3.16.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 3.16.0.0 Gtk.Orientation The orientation of the scroller in question, horizontal or vertical. A Property 3.16.0.0 System.Single The position of the scroller. a Property 3.16.0.0 Gtk.ScrollType What kind of scrolling happened in this event. A gtk-sharp-2.12.40/doc/en/Gtk/Toolbar+ToolbarChild.xml0000664000175000017500000000630312767740535017107 00000000000000 gtk-sharp 2.12.0.0 Gtk.Container+ContainerChild A child of a , used to interact with its container child properties. Constructor 2.12.0.0 To be added. To be added. To be added. To be added. Property 2.12.0.0 Gtk.ChildProperty("expand") System.Boolean Whether or not the child should receive extra space as the toolbar grows. a Property 2.12.0.0 Gtk.ChildProperty("homogeneous") System.Boolean Whether or not the child should be the same size as other (homogeneous) items a gtk-sharp-2.12.40/doc/en/Gtk/WindowPosition.xml0000664000175000017500000000776012767740535016147 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.WindowPositionGType)) placement can be influenced using this enumeration. Field 2.12.0.0 Gtk.WindowPosition Windows should be placed in the center of the screen. Field 2.12.0.0 Gtk.WindowPosition Keep window centered as it changes size, etc. Field 2.12.0.0 Gtk.WindowPosition Center the window on its transient parent (see ). Field 2.12.0.0 Gtk.WindowPosition Windows should be placed at the current mouse position. Field 2.12.0.0 Gtk.WindowPosition No influence is made on placement. gtk-sharp-2.12.40/doc/en/Gtk/PropertyNotifyEventArgs.xml0000664000175000017500000000462712767740535020006 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.EventProperty The property that was changed. an object of type gtk-sharp-2.12.40/doc/en/Gtk/PackDirection.xml0000664000175000017500000000532312767740535015663 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.PackDirectionGType)) Menu Item packing directions. Field 2.12.0.0 Gtk.PackDirection Bottom to top. Field 2.12.0.0 Gtk.PackDirection Left to right. Field 2.12.0.0 Gtk.PackDirection Right to left. Field 2.12.0.0 Gtk.PackDirection Top to bottom. gtk-sharp-2.12.40/doc/en/Gtk/TagAppliedArgs.xml0000664000175000017500000000707612767740535016002 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.TextIter Gets the last character in the range this tag was applied to. A Property 2.12.0.0 Gtk.TextIter Gets the first character in the range this tag was applied to. A Property 2.12.0.0 Gtk.TextTag Gets the tag that was applied to the text. gtk-sharp-2.12.40/doc/en/Gtk/Box+BoxChild.xml0000664000175000017500000001370212767740535015364 00000000000000 gtk-sharp 2.12.0.0 Gtk.Container+ContainerChild A child of a , used to interact with its container child properties. Constructor 2.12.0.0 To be added. To be added. To be added. To be added. Property 2.12.0.0 Gtk.ChildProperty("expand") System.Boolean The "expand" property for the child the child's "expand" property See for more details about child properties. Property 2.12.0.0 Gtk.ChildProperty("fill") System.Boolean The "fill" property for the child the child's "fill" property See for more details about child properties. Property 2.12.0.0 Gtk.ChildProperty("pack-type") Gtk.PackType The child's pack type (start or end) a See for more details about child properties. Property 2.12.0.0 Gtk.ChildProperty("padding") System.UInt32 The child's padding the padding See for more details about child properties. Property 2.12.0.0 Gtk.ChildProperty("position") System.Int32 The child's position in the The Child's position. The child's position in the parent reflects the order it was added in. Children with lower position values appear closer to the end they were packed onto. Children with higher position values appear closer to the center, or the opposite end. gtk-sharp-2.12.40/doc/en/Gtk/VSeparator.xml0000664000175000017500000001011112767740535015221 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Separator The is a vertical separator, used to group the widgets within a window. The is a vertical separator, used to group the widgets within a window. It displays a vertical line with a shadow to make it appear sunken into the interface. Constructor 2.12.0.0 Constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gtk/MapEventHandler.xml0000664000175000017500000000304212767740535016155 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the MapEventHandler instance to the event. The methods referenced by the MapEventHandler instance are invoked whenever the event is raised, until the MapEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/TagAppliedHandler.xml0000664000175000017500000000307612767740535016457 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the TagAppliedHandler instance to the event. The methods referenced by the TagAppliedHandler instance are invoked whenever the event is raised, until the TagAppliedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/TreeIterCompareFunc.xml0000664000175000017500000000731612767740535017016 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Int32 To be added. To be added. To be added. Delegate function to specify the shape of comparison functions for tree iterators. To be added. Functions with this call syntax are usually used for comparison between two tree iterators as part of a sort. using System; using Gtk; public class SortableTreeView : TreeView { TreeStore ts; TreeIter iter; TreeViewColumn col0; TreeViewColumn col1; public SortableTreeView () { Type[] col_types = {typeof(string), typeof(string)}; ts = new TreeStore (col_types); ts.SetSortFunc (0, col0_compare, IntPtr.Zero, null); // use col0_compare to sort iter = new TreeIter (); AddRow ("1,1", "1,2"); AddRow ("2,1", "2,2"); this.Model = ts; this.HeadersClickable = true; this.HeadersVisible = true; col0 = new TreeViewColumn (); col0.Clickable = true; col0.Title = "Column 1"; CellRendererText col0_renderer = new CellRendererText (); col0.PackStart (col0_renderer, true); col0.AddAttribute (col0_renderer, "text", 0); col0.Clicked += new EventHandler (col0_clicked); this.AppendColumn (col0); col1 = new TreeViewColumn (); col1.Title = "Column 2"; CellRendererText col1_renderer = new CellRendererText (); col1.PackStart (col1_renderer, true); col1.AddAttribute (col1_renderer, "text", 1); this.AppendColumn (col1); } public void AddRow (string val1, string val2) { ts.Append (out iter); ts.SetValue (iter, 0, val1); ts.SetValue (iter, 1, val2); } public int col0_compare (TreeModel model, TreeIter tia, TreeIter tib) { return String.Compare ((string) model.GetValue (tia, 0), (string) model.GetValue (tib, 0)); } private void col0_clicked (object o, EventArgs args) { col0.SortOrder = SetSortOrder (col0); // set order asc or desc col0.SortIndicator = true; // turn on sort indicator ts.SetSortColumnId (0, col0.SortOrder); } public SortType SetSortOrder (TreeViewColumn col) { if (col.SortIndicator) { if (col.SortOrder == SortType.Ascending) return SortType.Descending; else return SortType.Ascending; } else return SortType.Ascending; } public static void Main () { Application.Init (); Window win = new Window ("TreeIterCompareFunc Example"); win.DeleteEvent += new DeleteEventHandler (delete_event); win.SetDefaultSize (400, 250); ScrolledWindow sw = new ScrolledWindow (); win.Add (sw); SortableTreeView stv = new SortableTreeView (); sw.Add (stv); win.ShowAll (); Application.Run (); } private static void delete_event (object o, DeleteEventArgs args) { Application.Quit (); } } gtk-sharp-2.12.40/doc/en/Gtk/CellRendererText.xml0000664000175000017500000010540512767740535016361 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.CellRenderer Renders text in a cell Used to add text to a . Constructor 2.12.0.0 Creates a new . The default constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.Property("alignment") Pango.Alignment Identifies the Alignment of text within the renderer. a . Property 2.12.0.0 GLib.Property("attributes") Pango.AttrList A list of style attributes to apply to the text of the renderer. an object of type Property 2.12.0.0 GLib.Property("background") System.String Background color as a . an object of type Property 2.12.0.0 GLib.Property("background-gdk") Gdk.Color Background color as a . an object of type Property 2.12.0.0 GLib.Property("editable") System.Boolean Whether the text can be modified by the user. an object of type Event 2.12.0.0 GLib.Signal("edited") Gtk.EditedHandler Emitted when the cell is edited. Property 2.12.0.0 GLib.Property("ellipsize") Pango.EllipsizeMode Specifies the preferred place to ellipsize the string, if the cell renderer does not have enough room to display the entire string. A . Setting it to turns off ellipsizing. See the property for another way of making the text fit in a given width. Property 2.12.0.0 GLib.Property("family") System.String Name of the font family, e.g. Sans, Helvetica, Times, Monospace. an object of type Property 2.12.0.0 System.Int32 Sets the height of a renderer to explicitly be determined by the . an object of type Property 2.12.0.0 GLib.Property("font") System.String Font description as a . an object of type Property 2.12.0.0 GLib.Property("font-desc") Pango.FontDescription The font description as a an object of type Property 2.12.0.0 GLib.Property("foreground") System.String Foreground color as a string. an object of type Property 2.12.0.0 GLib.Property("foreground-gdk") Gdk.Color Foreground color as a . an object of type Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("language") System.String The language this text is in, as an ISO code. a Pango can use this as a hint when rendering the text. If you don't understand this parameter, you probably don't need it. Property 2.12.0.0 GLib.Property("markup") System.String Marked up text to render. an object of type Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideEdited", Type=typeof(Gtk.CellRendererText)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("rise") System.Int32 Offset of text above the baseline (below the baseline if rise is negative). an object of type Property 2.12.0.0 GLib.Property("scale") System.Double Font scaling factor. an object of type Property 2.12.0.0 GLib.Property("single-paragraph-mode") System.Boolean Whether or not to keep all text in a single paragraph. a Property 2.12.0.0 GLib.Property("size") System.Int32 Font size. an object of type Property 2.12.0.0 GLib.Property("size-points") System.Double Font size in points. an object of type Method 2.12.0.0 Gtk.CellEditable To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("stretch") Pango.Stretch Font stretch. an object of type Property 2.12.0.0 GLib.Property("strikethrough") System.Boolean Whether to strike through the text. an object of type Property 2.12.0.0 GLib.Property("style") Pango.Style Font style. an object of type Property 2.12.0.0 GLib.Property("text") System.String Text to render. an object of type Property 2.12.0.0 GLib.Property("underline") Pango.Underline Style of underline for this text. an object of type Property 2.12.0.0 GLib.Property("variant") Pango.Variant Font variant. an object of type Property 2.12.0.0 GLib.Property("weight") System.Int32 Font weight. an object of type Property 2.12.0.0 GLib.Property("width-chars") System.Int32 The desired width of the cell, in characters. A that is equal or greater than -1. If this property is set to -1, the width will be calculated automatically, otherwise the cell will request either 3 characters or the property value, whichever is greater. It's default value is -1. Property 2.12.0.0 GLib.Property("wrap-mode") Pango.WrapMode Wrapping mode. a indicating how text is wrapped. Defaults to . Property 2.12.0.0 GLib.Property("wrap-width") System.Int32 The width at which text is wrapped. a width >= -1, where -1 denotes no wrapping. gtk-sharp-2.12.40/doc/en/Gtk/AccelEditedArgs.xml0000664000175000017500000000764212767740535016115 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.UInt32 The new accelerator key value. An unsigned int representing the key value. Property 2.12.0.0 Gdk.ModifierType The new modifier mask. a containing the new mask. Property 2.12.0.0 System.UInt32 The keycode of the new accelerator. An unsigned int representing the keycode. Property 2.12.0.0 System.String Path to the row of the edited cell. A string containing the path. gtk-sharp-2.12.40/doc/en/Gtk/EntryCompletionMatchFunc.xml0000664000175000017500000000370412767740535020071 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Boolean To be added. To be added. To be added. Delegate class for callback methods; used by . See that method's documentation for details. To be added. gtk-sharp-2.12.40/doc/en/Gtk/RecentSortType.xml0000664000175000017500000000535012767740535016076 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.RecentSortTypeGType)) To be added. To be added. Field 2.12.0.0 Gtk.RecentSortType To be added. Field 2.12.0.0 Gtk.RecentSortType To be added. Field 2.12.0.0 Gtk.RecentSortType To be added. Field 2.12.0.0 Gtk.RecentSortType To be added. gtk-sharp-2.12.40/doc/en/Gtk/ChildPropertyAttribute.xml0000664000175000017500000000543512767740535017624 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Attribute Attribute used to label a child property Constructor 2.12.0.0 the (C/GObject) name of the child property Attribute constructor Property 2.12.0.0 System.String The (C/GObject) name of the child property a gtk-sharp-2.12.40/doc/en/Gtk/TreeDragSourceAdapter.xml0000664000175000017500000002220712767740535017323 00000000000000 gtk-sharp 2.12.0.0 GLib.GInterfaceAdapter GLib.IWrapper Gtk.TreeDragSource TreeDragSource interface adapter. Adapts a implementation to expose the complete interface API. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Gtk.TreeDragSource To be added. To be added. To be added. To be added. Method 2.12.0.0 Gtk.TreeDragSource To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. Property 2.12.0.0 Gtk.TreeDragSourceImplementor To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/HTMLEditorEventType.xml0000664000175000017500000000733412767740535016727 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum Enumeration of possible kinds of HTML editing events. Field 3.16.0.0 Gtk.HTMLEditorEventType To be added Field 3.16.0.0 Gtk.HTMLEditorEventType To be added Field 3.16.0.0 Gtk.HTMLEditorEventType A deletion. Field 3.16.0.0 Gtk.HTMLEditorEventType To be added Field 3.16.0.0 Gtk.HTMLEditorEventType To be added. gtk-sharp-2.12.40/doc/en/Gtk/MessageType.xml0000664000175000017500000000750112767740535015372 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.MessageTypeGType)) An enumeration used by Gtk.MessageDialog. This enumeration defines the type of message being displayed in the dialog. Field 2.12.0.0 Gtk.MessageType A fatal error message. Field 2.12.0.0 Gtk.MessageType An informational message. Field 2.12.0.0 Gtk.MessageType Any other message. Field 2.12.0.0 Gtk.MessageType A question requiring a choice. Field 2.12.0.0 Gtk.MessageType A nonfatal warning message. gtk-sharp-2.12.40/doc/en/Gtk/DragDataReceivedArgs.xml0000664000175000017500000001246312767740535017102 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.DragContext The context of this drag. a Property 2.12.0.0 System.UInt32 For internal use. a Property 2.12.0.0 Gtk.SelectionData The data from the drag-and-drop selection that was dropped as part of the event. a object. Property 2.12.0.0 System.UInt32 The time the data was received by the destination widget. A Property 2.12.0.0 System.Int32 The X coordinate where the data was dropped. An integer. Property 2.12.0.0 System.Int32 The Y coordinate where the data was dropped. An integer. gtk-sharp-2.12.40/doc/en/Gtk/CursorOnMatchArgs.xml0000664000175000017500000000446712767740535016520 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs To be added. To be added. Constructor 2.12.0.0 To be added. To be added. Property 2.12.0.0 Gtk.TreeIter To be added. To be added. To be added. Property 2.12.0.0 Gtk.TreeModel To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/OnCommandArgs.xml0000664000175000017500000000451112767740535015632 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 3.16.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 3.16.0.0 Gtk.HTMLCommandType The kind of command that was issued to the HTML widget. A gtk-sharp-2.12.40/doc/en/Gtk/TextDeletedHandler.xml0000664000175000017500000000376512767740535016665 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the TextDeletedHandler instance to the event. The methods referenced by the TextDeletedHandler instance are invoked whenever the event is raised, until the TextDeletedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/TagRemovedArgs.xml0000664000175000017500000000511312767740535016013 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data for when a tag is removed. The following events invoke delegates which pass event data via this class: Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.TextTag The tag that changed. A gtk-sharp-2.12.40/doc/en/Gtk/CellRendererAccelMode.xml0000664000175000017500000000352412767740535017250 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.CellRendererAccelModeGType)) Cell Renderer Accelerator Mode enumeration. Field 2.12.0.0 Gtk.CellRendererAccelMode Gtk accelerators are supported. Field 2.12.0.0 Gtk.CellRendererAccelMode Other accelerators are supported. gtk-sharp-2.12.40/doc/en/Gtk/FocusChildSetArgs.xml0000664000175000017500000000445012767740535016460 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.Widget The widget being focused on. A gtk-sharp-2.12.40/doc/en/Gtk/HButtonBox.xml0000664000175000017500000001367612767740535015212 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.ButtonBox A button box should be used to provide a consistent layout of buttons throughout your application. This box provides a way of laying out buttons horizontally. The specific layout of buttons in this type of box is determined by the box's . Methods for manipulating button boxes are provided in the super classes, and . Constructor 2.12.0.0 The normal way to construct a horizontal button box Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.Obsolete Gtk.ButtonBoxStyle The default layout style for horizontal button boxes. a Property 2.12.0.0 System.Obsolete System.Int32 The default spacing (in pixels) for horizontal button boxes. a gtk-sharp-2.12.40/doc/en/Gtk/OnUrlHandler.xml0000664000175000017500000000277312767740535015507 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the OnUrlHandler instance to the event. The methods referenced by the OnUrlHandler instance are invoked whenever the event is raised, until the OnUrlHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/AccelGroupEntry.xml0000664000175000017500000000720512767740535016213 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType One item within a . Field 2.12.0.0 System.Int32 A containing an integer/string mapping for the path to accelerate. See the notes for for details on the formatting of the path string. Field 2.12.0.0 Gtk.AccelKey The key for this accelerator. Method 2.12.0.0 Gtk.AccelGroupEntry , pointer to the underlying C object. Internal constructor; do not use. a Field 2.12.0.0 Gtk.AccelGroupEntry An empty . gtk-sharp-2.12.40/doc/en/Gtk/AccelGroup.xml0000664000175000017500000005300512767740535015170 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Groups of global keyboard accelerators for an entire GtkWindow A GtkAccelGroup represents a group of keyboard accelerators, typically attached to a toplevel (with ). Usually you won't need to create a directly; instead, when using , Gtk# automatically sets up the accelerators for your menus in the item factory's . Note that accelerators are different from mnemonics. Accelerators are shortcuts for activating a menu item; they appear alongside the menu item they are a shortcut for. For example "Ctrl+Q" might appear alongside the "Quit" menu item. Mnemonics are shortcuts for GUI elements such as text entries or buttons; they appear as underlined characters. . Menu items can have both accelerators and mnemonics, of course. Constructor 2.12.0.0 Default public constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Event 2.12.0.0 GLib.Signal("accel_activate") Gtk.AccelActivateHandler Event 2.12.0.0 GLib.Signal("accel_changed") Gtk.AccelChangedHandler Method 2.12.0.0 System.Boolean a a a a Activates the accelerator. a Method 2.12.0.0 System.Void Key value of the accelerator. Modifier combination of the accelerator. A flag mask to configure this accelerator. Closure to be executed upon accelerator activation. Installs an accelerator in this group. When accel_group is being activated in response to a call to , closure will be invoked if the accel_key and accel_mods from match those of this connection. The signature used for the closure is that of . Note that, due to implementation details, a single closure can only be connected to one accelerator group. Method 2.12.0.0 System.Void Path used for determining key and modifiers. Closure to be executed upon accelerator activation Installs an accelerator in this group, using an accelerator path to look up the appropriate key and modifiers (see ). When the group is being activated in response to a call to , will be invoked if the accel_key and accel_mods from match the key and modifiers for the path. Method 2.12.0.0 System.Boolean The closure to remove from this accelerator group. Removes an accelerator previously installed through . if the closure was found and got disconnected Method 2.12.0.0 System.Boolean Key value of the accelerator. Modifier combination of the accelerator. Removes an accelerator previously installed through . if there was an accelerator which could be removed, otherwise. Method 2.12.0.0 Gtk.AccelKey a for filtering the AccelGroup entries Finds the first entry in an accelerator group for which returns TRUE and returns its . a , the first key matching the find function. It is owned by Gtk# and must not be freed. Method 2.12.0.0 Gtk.AccelGroup A GClosure () Finds the to which closure is connected. The to which is connected, or . Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 System.Void Locks the given accelerator group. Locking an accelerator group prevents the accelerators contained within it to be changed duringb runtime. Refer to 'gtk_accel_map_change_entry ()' about runtime accelerator changes. If called more than once, it remains locked until has been called an equivalent number of times. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideAccelActivate", Type=typeof(Gtk.AccelGroup)) System.Boolean a a a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideAccelChanged", Type=typeof(Gtk.AccelGroup)) System.Void a a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 Gtk.AccelGroupEntry Key value of the accelerator. Modifier combination of the accelerator. Location to return the number of entries found, or . Queries an accelerator group for all entries matching and . An array of elements, or . Method 2.12.0.0 System.Void Undoes the last call to on its object. gtk-sharp-2.12.40/doc/en/Gtk/CalendarDisplayOptions.xml0000664000175000017500000001103312767740535017552 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.CalendarDisplayOptionsGType)) System.Flags Represents different styles and display options for a . Field 2.12.0.0 Gtk.CalendarDisplayOptions Prevents the user from switching months with the calendar. If retrieving a date from the user, this restricts them to only select a date from the displayed month. Field 2.12.0.0 Gtk.CalendarDisplayOptions Specifies that three letter day descriptions should be present. In English these are, 'Mon', 'Tue', etc... Field 2.12.0.0 Gtk.CalendarDisplayOptions Specifies that the month and year should be displayed. Field 2.12.0.0 Gtk.CalendarDisplayOptions Displays each week numbers of the current year, down the left side of the calendar. Field 2.12.0.0 Gtk.CalendarDisplayOptions Starts the calendar week on Monday, instead of the default Sunday. gtk-sharp-2.12.40/doc/en/Gtk/CreateMenuProxyArgs.xml0000664000175000017500000000433712767740535017057 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.40/doc/en/Gtk/CustomWidgetApplyArgs.xml0000664000175000017500000000442612767740535017410 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.Widget The custom widget supplied to a event. a . Data should be read from the widget in response to this event, since it is not guaranteed to persist beyond this time. gtk-sharp-2.12.40/doc/en/Gtk/WidgetEventHandler.xml0000664000175000017500000000316712767740535016673 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the WidgetEventHandler instance to the event. The methods referenced by the WidgetEventHandler instance are invoked whenever the event is raised, until the WidgetEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/RecentFilterFunc.xml0000664000175000017500000000201612767740535016342 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Boolean Filtering information. Recent Filter callback delegate. if the file should be displayed. Provides custom filtering. Added via . gtk-sharp-2.12.40/doc/en/Gtk/DragBeginHandler.xml0000664000175000017500000000305612767740535016265 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DragBeginHandler instance to the event. The methods referenced by the DragBeginHandler instance are invoked whenever the event is raised, until the DragBeginHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/IconViewForeachFunc.xml0000664000175000017500000000324112767740535016770 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added To be added gtk-sharp-2.12.40/doc/en/Gtk/DeleteRangeHandler.xml0000664000175000017500000000311212767740535016613 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DeleteRangeHandler instance to the event. The methods referenced by the DeleteRangeHandler instance are invoked whenever the event is raised, until the DeleteRangeHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/FileChooserConfirmation.xml0000664000175000017500000000466012767740535017722 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.FileChooserConfirmationGType)) File Chooser Confirmation results. Field 2.12.0.0 Gtk.FileChooserConfirmation Accepts the filename. Field 2.12.0.0 Gtk.FileChooserConfirmation Requests built-in confirmation code. Field 2.12.0.0 Gtk.FileChooserConfirmation Requires re-selection. gtk-sharp-2.12.40/doc/en/Gtk/RecentChooserAdapter.xml0000664000175000017500000006113712767740535017215 00000000000000 gtk-sharp 2.12.0.0 GLib.GInterfaceAdapter GLib.IWrapper Gtk.RecentChooser RecentChooser interface adapter. Adapts a implementation to expose the complete interface API. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Property 2.12.0.0 Gtk.RecentInfo To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("filter") Gtk.RecentFilter To be added. To be added. To be added. Method 2.12.0.0 Gtk.RecentChooser To be added. To be added. To be added. To be added. Method 2.12.0.0 Gtk.RecentChooser To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. Property 2.12.0.0 Gtk.RecentChooserImplementor To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("item-activated") System.EventHandler To be added. To be added. Property 2.12.0.0 GLib.List To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("limit") System.Int32 To be added. To be added. To be added. Method 2.12.0.0 GLib.SList To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("local-only") System.Boolean To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Event 2.12.0.0 GLib.Signal("selection-changed") System.EventHandler To be added. To be added. Property 2.12.0.0 GLib.Property("select-multiple") System.Boolean To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("show-icons") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("show-not-found") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 System.Obsolete System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("show-private") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("show-tips") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 Gtk.RecentSortFunc To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("sort-type") Gtk.RecentSortType To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/Paned.xml0000664000175000017500000007217012767740535014177 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Container Base class for containers that have two children separated by an adjustable pane. This class provides methods for manipulating a panel with 2 child widgets, separated by a splitter. The concrete widgets that extend from this class are for a vertical splitter, and for a horizontal splitter. A paned widget draws a separator between the two child widgets that the user can drag to adjust the division. Each child widget has two options that can be set, and , (set with the and methods). If resize is , then when the Paned is resized, the respective child will expand or shrink along with the paned widget. If shrink is , then the respective child can be made smaller than it's requisition by the user. Setting shrink to allows the application to set a minimum size. If resize is for both children, then this exhibits exactly the same behaviour as if resize is for both children. The application can set the position of the slider as if it were set by the user with the property. public Widget GetExampleFrame() { HPaned splitter = new HPaned(); Frame frame1 = new Frame("Example frame1"); Frame frame2 = new Frame("Example frame2"); splitter.Pack1(frame1, true, false); splitter.Pack2(frame2, false, false); splitter.ShowAll(); return splitter; } Constructor 2.12.0.0 Default constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Event 2.12.0.0 GLib.Signal("accept_position") Gtk.AcceptPositionHandler Emitted when the paned has focus This signal is emitted when paned has the focus and any of the Return, Enter, Space keys are pressed. This will also cause the child widget with the focus to be activated. Method 2.12.0.0 System.Void A widget for this container to manage. Adds a child widget into the first part of the Paned container, (the top or left panes), with default packing settings. This is the same as calling with resize set to and shrink set to . Method 2.12.0.0 System.Void A widget for this container to manage. Adds a child widget into the second part of the Paned container, (the bottom or right panes), with default packing settings. This is the same as calling with resize set to and shrink set to . Event 2.12.0.0 GLib.Signal("cancel_position") Gtk.CancelPositionHandler Emitted when the Esc key is pressed while paned has the focus. Property 2.12.0.0 Gtk.Widget An accessor to the first child widget of this container The child widget added with or . Property 2.12.0.0 Gtk.Widget An accessor to the second child widget of this container The child widget added with or . Method 2.12.0.0 System.Obsolete System.Void A A A Determines the position of the pane separator based on the size and shrinkability of the widget's children. Event 2.12.0.0 GLib.Signal("cycle_child_focus") Gtk.CycleChildFocusHandler Emitted when F6 or Shift-F6 is pressed while paned has the focus. Event 2.12.0.0 GLib.Signal("cycle_handle_focus") Gtk.CycleHandleFocusHandler Emitted when paned has the focus and one of the tab key combinations are pressed. This signal is emitted when paned has the focus and any of the Tab, Ctrl-Tab, Shift-Tab or Ctrl-Shift-Tab keys combinations are pressed. Tab and Ctrl-Tab set reversed to while Shift-Tab and Ctrl-Shift-Tab set reversed to . Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 Gtk.Container+ContainerChild To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("max-position") System.Int32 The largest possible value for the position property. This property is derived from the size and shrinkability of the widget's children. a Property 2.12.0.0 GLib.Property("min-position") System.Int32 The smallest possible value for the position property. This property is derived from the size and shrinkability of the widget's children. a Event 2.12.0.0 GLib.Signal("move_handle") Gtk.MoveHandleHandler Emitted when paned has the focus and the separator is moved. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideAcceptPosition", Type=typeof(Gtk.Paned)) System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCancelPosition", Type=typeof(Gtk.Paned)) System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCycleChildFocus", Type=typeof(Gtk.Paned)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCycleHandleFocus", Type=typeof(Gtk.Paned)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideMoveHandle", Type=typeof(Gtk.Paned)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideToggleHandleFocus", Type=typeof(Gtk.Paned)) System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Void A widget for this container to manage. Whether this child should expand when the Paned widget is resized. Whether this child can be made smaller than its default size by the user. Packs a child widget into the first part of the Paned container, (the top or left panes). Method 2.12.0.0 System.Void A widget for this container to manage. Whether this child should expand when the Paned widget is resized. Whether this child can be made smaller than its default size by the user. Packs a child widget into the second part of the Paned container, (the bottom or right panes). Property 2.12.0.0 GLib.Property("position") System.Int32 Manage the position of the splitter bar that separates the 2 child widgets. The current position ofh Property 2.12.0.0 GLib.Property("position-set") System.Boolean Whether the position property (related to and ) should be used. an object of type Event 2.12.0.0 GLib.Signal("toggle_handle_focus") Gtk.ToggleHandleFocusHandler Emitted when paned has the focus and F8 is pressed to give the focus to or take the focus from the separator handle. gtk-sharp-2.12.40/doc/en/Gtk/PixbufInsertedHandler.xml0000664000175000017500000000315612767740535017377 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PixbufInsertedHandler instance to the event. The methods referenced by the PixbufInsertedHandler instance are invoked whenever the event is raised, until the PixbufInsertedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/FileSelection.xml0000664000175000017500000006103712767740535015675 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Dialog System.Obsolete Creates a new dialog for the user to select one or more files, directories, or cancel. should be used to retrieve file or directory names from the user. It will create a new dialog window containing a directory list, and a file list corresponding to the current working directory. The filesystem can be navigated using the directory list or the drop-down history menu. Alternatively, the TAB key can be used to navigate using filename completion - common in text based editors such as emacs and jed. Simple file operations; create directory, delete file, and rename file, are available from buttons at the top of the dialog. The functionality of the can be extended by using the available accessors to the buttons and drop downs. using System; using Gtk; class FileSelectionSample { Label lbl; FileSelection fs; static void Main () { new FileSelectionSample (); } FileSelectionSample () { Application.Init (); Window win = new Window ("FileSelectionSample"); win.SetDefaultSize (250,200); win.DeleteEvent += new DeleteEventHandler (OnWinDelete); VBox vbox = new VBox (true, 1); win.Add (vbox); Button btn = new Button ("Select a file."); btn.Clicked += new EventHandler (OnButtonClicked); vbox.Add (btn); lbl = new Label ("Selected: "); vbox.Add (lbl); win.ShowAll () fs = new FileSelection ("Choose a file"); fs.Response += new ResponseHandler (OnFileSelectionResponse); Application.Run (); } void OnButtonClicked (object o, EventArgs args) { fs.Run (); fs.Hide (); } void OnFileSelectionResponse (object o, ResponseArgs args) { if (args.ResponseId == ResponseType.Ok) { lbl.Text = "Selected: " + fs.Filename; } } void OnWinDelete (object o, DeleteEventArgs args) { Application.Quit (); } } Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 A title that will appear in the window's title bar. The main way to construct a new file selector. Property 2.12.0.0 Gtk.HButtonBox The widget enclosing the items that can be acted upon. an object of type (FIXME: how is this different from ButtonArea? Gtk+ docs are thin about this.) Property 2.12.0.0 Gtk.HButtonBox A widget to contain all the button objects in this dialog. an object of type Property 2.12.0.0 Gtk.Button The 'cancel' button of this file selector. Method 2.12.0.0 System.Void A simple wildcard pattern such as '*.txt'. Restrict the visible files and directories to those that match the given . This method attempts to match to a valid filenames or subdirectories in the current directory. If a match can be made, the matched filename will appear in the text entry field of the . If a partial match can be made, the "Files" list will contain those file names which have been partially matched, and the "Folders" list will show those directories with a partial match. Property 2.12.0.0 Gtk.TreeView The widget that displays directories in this file selector. Property 2.12.0.0 Gtk.TreeView The widget that displays files in this file selector. Property 2.12.0.0 GLib.Property("filename") System.String Manage the selected filename. The selected filename in the on-disk encoding. If includes a directory path, then the requestor will open with that path as its current working directory. The encoding of filename is the on-disk encoding, which may not be UTF-8. Property 2.12.0.0 Gtk.Button The 'create directory' button of this file selector. This button may or may not be visible, see and . Property 2.12.0.0 Gtk.Button The 'delete' button of this file selector. This button may or may not be visible, see and . Property 2.12.0.0 Gtk.MessageDialog The dialog box for confirming actions, if necessary. an object of type Property 2.12.0.0 Gtk.Entry The main widget of this . Property 2.12.0.0 System.String The filename selected by this . an object of type Property 2.12.0.0 Gtk.Button The 'rename file' button of this file selector. This button may or may not be visible, see and . Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 Gtk.Button A help button, not displayed by default. Method 2.12.0.0 System.Void Ensures that the file operation buttons are hidden. Property 2.12.0.0 Gtk.Menu The that is displayed by the . A menu containing the file system paths higher than the selected directory, and the user's directory history. Note that this does not just contain history, it contains a list of directories above the current directory in the filesystem as well as user directory history. Property 2.12.0.0 Gtk.OptionMenu The drop down menu containing directories in the filesystem above the selected directory, and the user's directory history. The at the top of the file selector. This widget displays the menu returned by . Property 2.12.0.0 Gtk.VBox The main in the file selector. a Property 2.12.0.0 Gtk.Button The 'OK' button of this file selector. Property 2.12.0.0 Gtk.Entry The text-entry widget for entering a filename into. an object of type Property 2.12.0.0 System.String[] Get the files that are selected An array of file paths Property 2.12.0.0 Gtk.Label The text to display about the file to be selected. an object of type Property 2.12.0.0 GLib.Property("select-multiple") System.Boolean Manage whether more than one file can be selected. if multiple selections are allowed, otherwise. Method 2.12.0.0 System.Void Ensures that the file operation buttons are visible. Property 2.12.0.0 GLib.Property("show-fileops") System.Boolean Manage whether buttons are displayed for doing file operations. for buttons to be shown, otherwise. This manipulates whether the buttons for creating a directory, deleting files and renaming files, are displayed. gtk-sharp-2.12.40/doc/en/Gtk/ActionActivatedHandler.xml0000664000175000017500000000425512767740535017507 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ActionActivatedHandler instance to the event. The methods referenced by the ActionActivatedHandler instance are invoked whenever the event is raised, until the ActionActivatedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/StyleChangedHandler.xml0000664000175000017500000000312312767740535017010 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the StyleChangedHandler instance to the event. The methods referenced by the StyleChangedHandler instance are invoked whenever the event is raised, until the StyleChangedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/InsertAtCursorHandler.xml0000664000175000017500000000363012767740535017370 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the InsertAtCursorHandler instance to the event. The methods referenced by the InsertAtCursorHandler instance are invoked whenever the event is raised, until the InsertAtCursorHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/Alignment.xml0000664000175000017500000004371012767740535015064 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Bin A container that controls the alignment and size of its child. An Alignment widget controls the alignment and size of its child widget. It has four settings: , , , and . The scale settings are used to specify how much the child widget should expand to fill the space allocated to the Alignment. The values can range from 0 (meaning the child doesn't expand at all) to 1 (meaning the child expands to fill all of the available space). The alignment settings are used to position the child widget within the available area. The values range from 0 (top or left) to 1 (bottom or right). If the scale settings are both set to 1, (making the child expand), the alignment settings have no effect. To add a child to an Alignment, use the method from the class. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 The horizontal alignment of the child widget, from 0 (left) to 1 (right). The vertical alignment of the child widget, from 0 (top) to 1 (bottom). The amount that the child widget expands horizontally to fill up unused space, from 0 to 1. The amount that the child widget expands vertically to fill up unused space, from 0 to 1. Creates a new Alignment with the specified alignment and spacing. Property 2.12.0.0 GLib.Property("bottom-padding") System.UInt32 The padding to insert at the bottom of the child widget. a Method 2.12.0.0 System.Void a a a a Gets the padding on the different sides of the widget. This is a convenience method. See also . Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("left-padding") System.UInt32 The padding to insert at the left of the child widget. a Property 2.12.0.0 GLib.Property("right-padding") System.UInt32 The padding to insert at the right of the child widget. a Method 2.12.0.0 System.Void The horizontal alignment of the child widget, from 0 (left) to 1 (right). The vertical alignment of the child widget, from 0 (top) to 1 (bottom). The amount that the child widget expands horizontally to fill up unused space, from 0 to 1. The amount that the child widget expands vertically to fill up unused space, from 0 to 1. Adjusts all the alignment and scale properties. For the scale parameters, a value of 0 indicates that the child widget should never expand. A value of 1 indicates that the child widget will expand to fill all of the space allocated for the Alignment. Method 2.12.0.0 System.Void a a a a Sets the padding on the different sides of the widget. The padding adds blank space to the vertical or horizontal sides of the widget. For instance, this can be used to indent the child widget towards the right by adding padding on the left. This is a convenience method; the properties can also be set directly. Property 2.12.0.0 GLib.Property("top-padding") System.UInt32 The padding to insert at the top of the child widget. a Property 2.12.0.0 GLib.Property("xalign") System.Single Manage the horizontal alignment of the child widget. The child widget's current horizontal alignment. This property is a value between 0 and 1, where 0 indicates no child expansion, and 1 indicates the child expands to fill the Alignment's allocated horizontal size. Property 2.12.0.0 GLib.Property("xscale") System.Single Manage the horizontal expansion of the child widget. The current horizontal expansion of the child widget. This property is a value between 0 and 1, where 0 indicates no child expansion, and 1 indicates the child expands to fill the Alignment's allocated horizontal size. Property 2.12.0.0 GLib.Property("yalign") System.Single Manage the vertical alignment of the child widget. The child widget's current vertical alignment. This property is a value between 0 and 1 where 0 indicates alignment at the top of the container, and 1 indicates alignment at the bottom of the container. Property 2.12.0.0 GLib.Property("yscale") System.Single Manage the vertical expansion of the child widget. The current vertical expansion of the child widget. This property is a value between 0 and 1, where 0 indicates no child expansion, and 1 indicates the child expands to fill the Alignment's allocated vertical size. gtk-sharp-2.12.40/doc/en/Gtk/TreeModelFlags.xml0000664000175000017500000000470512767740535016004 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.TreeModelFlagsGType)) System.Flags These flags indicate various properties of a . These flags are returned through the property and must be static for the lifetime of the object. Field 2.12.0.0 Gtk.TreeModelFlags If set, iterators survive all signals emitted by the tree. Field 2.12.0.0 Gtk.TreeModelFlags If set, the model is a list only and never has children. gtk-sharp-2.12.40/doc/en/Gtk/ScrollChildHandler.xml0000664000175000017500000000311612767740535016642 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ScrollChildHandler instance to the event. The methods referenced by the ScrollChildHandler instance are invoked whenever the event is raised, until the ScrollChildHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/ParentSetHandler.xml0000664000175000017500000000305612767740535016350 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ParentSetHandler instance to the event. The methods referenced by the ParentSetHandler instance are invoked whenever the event is raised, until the ParentSetHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/FocusInEventHandler.xml0000664000175000017500000000312212767740535017005 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the FocusInEventHandler instance to the event. The methods referenced by the FocusInEventHandler instance are invoked whenever the event is raised, until the FocusInEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/TextEventHandler.xml0000664000175000017500000000314012767740535016363 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the TextEventHandler instance to the event. The methods referenced by the TextEventHandler instance are invoked whenever the event is raised, until the TextEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/PageAddedArgs.xml0000664000175000017500000000442212767740535015556 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Args for . Constructor 2.12.0.0 Public constructor. Property 2.12.0.0 Gtk.Widget The added widget. a . Property 2.12.0.0 System.UInt32 The index of the added page. a . gtk-sharp-2.12.40/doc/en/Gtk/TreeModelSort.xml0000664000175000017500000023602512767740535015701 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Gtk.TreeDragSource Gtk.TreeModel Gtk.TreeSortable A class that makes an underlying sortable. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 A , the child model for the new object. Constructor. FIXME: needs more explanation. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 Gtk.TreeIter System.ParamArray a Add the list of objects in to the model; there should be enough objects to fill one row of the model. a Method 2.12.0.0 System.Void Fires a event. Designed to be called by routines that change the sort of the tree. Method 2.12.0.0 System.Void * This function should almost never be called. It clears the TreeModelSort object of any cached iterators that haven't been reffed with . This might be useful if the child model being sorted is static (and doesn't change often) and there has been a lot of unreffed access to nodes. As a side effect of this function, all unreffed iters will be invalid. Method 2.12.0.0 Gtk.TreeIter a Returns the row in the TreeModel that corresponds to the row pointed to by . a Method 2.12.0.0 Gtk.TreePath A Converts to a path relative to . That is, points to a path in the child model. The returned path will point to the same row in the sorted model. If isn't a valid path on the child model, then is returned. A Method 2.12.0.0 Gtk.TreeIter a Returns an iter that points to the row pointed to by . a Method 2.12.0.0 Gtk.TreePath A Converts to a path on the child model of this TreeModelSort object. (In other words, points to a location within this objectable.) A new that points to the same location as in the model that's not sorted. May also return if the does not point to a location in the child model. Property 2.12.0.0 Gtk.TreeIterCompareFunc The function to sort columns not otherwise specified by . a This property is meant to be used together with . Method 2.12.0.0 System.Boolean a , the path of the row that was dragged This method asks the source row for the dragged data to delete itself, because that data has been moved elsewhere. a This method returns FALSE if the deletion fails because path no longer exists, or for some other model-specific reason. Method 2.12.0.0 System.Boolean a a object to fill with data Asks the to fill in with a representation of the row at . Should robustly handle a path no longer found in the model. A ; true if data of the required type was provided. Method 2.12.0.0 System.Void A pointing to the changed row. A pointing to the changed row. Emits a signal for the row in . Method 2.12.0.0 System.Void an object of type Emits the event. This should be called by models after a row has been removed. The location pointed to by should be the location that the row previously was at. It may not be a valid location anymore. Method 2.12.0.0 System.Void an object of type an object of type Emits the event. This should be called by models after the child state of a node changes. Method 2.12.0.0 System.Void an object of type , path of the inserted row. an object of type , points to the inserted row. Emits the event. Method System.Int32 Sends out a event. a that points to the row whose children have been reordered. a that points to the row whose children have been reordered. a , pointer to an array of integers with the new indices of the children. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 Gtk.TreeModelFlags Returns a set of flags supported by this interface. The flags are a bitwise combination of . a The flags supported should not change during the lifecycle of the tree model. Method 2.12.0.0 System.Void A Run on every row in the TreeModel. Method 2.12.0.0 GLib.GType a , the column number. Returns the type of the column at the given index. a Method 2.12.0.0 System.Boolean an object of type an object of type Sets to a valid iterator pointing to . an object of type Method 2.12.0.0 System.Boolean an object of type Gets the first iterator in the tree (the one at the path "0") and returns . an object of type Returns if the tree is empty. Method 2.12.0.0 System.Boolean an object of type an object of type Gets the at . an object of type Otherwise, is left invalid and is returned. Method 2.12.0.0 Gtk.TreePath an object of type Gets the of . an object of type Method 2.12.0.0 System.Boolean a , an integer to put the results in a , an object to put the type of sort into Returns the index of the column currently being used to sort the model data. a Method 2.12.0.0 System.String a Generates a string representation of the path of . a This string is a ':' separated list of numbers. For example, "4:10:0:3" would be an acceptable return value for this string. Method 2.12.0.0 System.Void an object of type a , pointer to the va_list data structure of arguments (FIXME: clarify what va_lists look like) Gets the values of child properties for the row pointed to by . Method 2.12.0.0 System.Object a a Gets the value stored in column of the row pointed to by . a Method 2.12.0.0 System.Void a a a Gets the value stored in column of the row pointed to by and stores it in Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.Boolean Return whether this TreeModel has a default sort function or not. a , true if a default sort function exists. See to set a default sort function. Method 2.12.0.0 System.Boolean A to fill with the rows of this tree. Returns the rows of this tree. A , true if this tree has children, false otherwise. The underlying C call supports the specification of arbitrary parent rows to return children of, but the C# bindings assume that the root node is always the parent. Method 2.12.0.0 System.Boolean an object of type an object of type Sets to point to the first child of . an object of type If has no children, is returned and is set to be invalid. will remain a valid node after this function has been called. Method 2.12.0.0 System.Boolean an object of type Returns if iter has children, otherwise. an object of type Method 2.12.0.0 System.Boolean a Tests whether is a valid iterator for this TreeModel. a Method 2.12.0.0 System.Int32 Returns the number of children the object's iterator has. An integer. As a special case, if iter is , then the number of toplevel nodes is returned. Method 2.12.0.0 System.Int32 an object of type Returns the number of children that has. an object of type As a special case, if is , then the number of toplevel nodes is returned. Method 2.12.0.0 System.Boolean an object of type Sets to point to the node following it at the current level. an object of type If there is no next iter, is returned and iter is set to be invalid. Method 2.12.0.0 System.Boolean an object of type an object of type Sets to be the child of the root node, using the given index. an object of type In this case, the nth root node is set. Method 2.12.0.0 System.Boolean an object of type an object of type an object of type Sets to be the child of , using the given index. an object of type The first index is 0. If is too big, or has no children, is set to an invalid iterator and is returned. will remain a valid node after this function has been called. Method 2.12.0.0 System.Boolean an object of type an object of type Sets to be the parent of . an object of type If is at the toplevel, and does not have a parent, then is set to an invalid iterator and is returned. will remain a valid node after this function has been called. Property 2.12.0.0 GLib.Property("model") Gtk.TreeModel Tree data model. a Property 2.12.0.0 System.Int32 The number of columns supported by the object. An integer count of the columns. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowChanged", Type=typeof(Gtk.TreeModelSort)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowDeleted", Type=typeof(Gtk.TreeModelSort)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowHasChildToggled", Type=typeof(Gtk.TreeModelSort)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowInserted", Type=typeof(Gtk.TreeModelSort)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowsReordered", Type=typeof(Gtk.TreeModelSort)) System.Obsolete("Replaced by int[] new_order overload.") System.Void a a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowsReordered", Type=typeof(Gtk.TreeModelSort)) System.Void Path to the reordered parent node. Iter corresponding to the reordered parent node. An array of the old indices. Default handler for the RowsReordered event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSortColumnChanged", Type=typeof(Gtk.TreeModelSort)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Void an object of type Lets the tree ref the node. This is an optional method for models to implement. To be more specific, models may ignore this call as it exists primarily for performance reasons. This function is primarily meant as a way for views to let caching models know when nodes are being displayed (and hence, whether or not to cache that node.) For example, a file-system based model would not want to keep the entire file-hierarchy in memory, just the sections that are currently being displayed by every current view. A model should be expected to be able to get an iter independent of its referenced state. Method 2.12.0.0 System.Void Clear the default sort function. Event 2.12.0.0 GLib.Signal("row_changed") Gtk.RowChangedHandler Raised when a tree row is changed. Event 2.12.0.0 GLib.Signal("row_deleted") Gtk.RowDeletedHandler Raised when a row is deleted from the tree. Method 2.12.0.0 System.Boolean a , the row being checked Checks to see whether a given row can be used as a source for a drag-and-drop operation. a , TRUE if the row is draggable. If the object does not implement this method, the row is assumed to be draggable. Event 2.12.0.0 GLib.Signal("row_has_child_toggled") Gtk.RowHasChildToggledHandler Raised when the child state of a row is toggled. Event 2.12.0.0 GLib.Signal("row_inserted") Gtk.RowInsertedHandler Raised when a new row is inserted into the tree. Event 2.12.0.0 GLib.Signal("rows_reordered") Gtk.RowsReorderedHandler Raised when rows are reordered or moved around. Method 2.12.0.0 System.Obsolete("Replaced by DefaultSortFunc property.") System.Void A , the function to use for sorting ignored ignored Sets a function that should be used to be sort columns by default if not otherwise specified by . This method is obsolete. The property is preferred for new code. Method 2.12.0.0 System.Void A , the sort column index. A , the kind of sort to use Sets which column is to be used to sort the data in the tree. Method 2.12.0.0 System.Void A , the index of the column to be sorted A , the function to use for sorting Sets a function to sort a particular column. This method is meant to be used together with . Method 2.12.0.0 System.Obsolete("Replaced by SetSortFunc (int, TreeIterCompareFunc) overload.") System.Void A , the index of the column to be sorted A , the function to use for sorting ignored ignored Sets a function to sort a particular column. This overload is obsolete. The two parameter overload is preferred for new code. Method 2.12.0.0 System.Void a a a Sets the value of column in the row pointed to by to if the value is a boolean. Method 2.12.0.0 System.Void a a a Sets the value of column in the row pointed to by to if the value is a . Method 2.12.0.0 System.Void a a a Sets the value of column in the row pointed to by to if the value is an . Method 2.12.0.0 System.Void a a a Sets the value of column in the row pointed to by to if the value is an . Method 2.12.0.0 System.Void a a a Sets the value of column in the row pointed to by to if the value is an . Method 2.12.0.0 System.Void a a a Sets the value of column in the row pointed to by to if the value is an . Method 2.12.0.0 System.Void a a a Sets the value of column in the row pointed to by to if the value is an . To be added. Event 2.12.0.0 GLib.Signal("sort_column_changed") System.EventHandler Raised when the sort column is changed. Method 2.12.0.0 System.Void an object of type Lets the tree unref the node. This is an optional method for models to implement. To be more specific, models may ignore this call as it exists primarily for performance reasons. For more information on what this means, see . Please note that nodes that are deleted are not unreferenced. gtk-sharp-2.12.40/doc/en/Gtk/Fixed.xml0000664000175000017500000002401112767740535014176 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Container A container which allows you to position widgets at fixed coordinates The widget is a container which can place child widgets at fixed positions and with fixed sizes, given in pixels. performs no automatic layout management. For most applications, you should not use this container! It keeps you from having to learn about the other Gtk# containers, but it results in broken applications. With , the following things will result in truncated text, overlapping widgets, and other display bugs: Themes, which may change widget sizes.Fonts other than the one you used to write the app will of course change the size of widgets containing text; keep in mind that users may use a larger font because of difficulty reading the default, or they may be using Windows or the framebuffer port of GTK+, where different fonts are available.Translation of text into other languages changes its size. Also, display of non-English text will use a different font in many cases. In addition, the fixed widget can not properly be mirrored in right-to-left languages such as Hebrew and Arabic. i.e. normally Gtk# will flip the interface to put labels to the right of the thing they label, but it can not do that with . So your application will not be usable in right-to-left languages. Finally, fixed positioning makes it kind of annoying to add/remove GUI elements, since you have to reposition all the other elements. This is a long-term maintenance problem for your application. If you know none of these things are an issue for your application, and prefer the simplicity of , by all means use the widget. But you should be aware of the tradeoffs. Constructor 2.12.0.0 Creates a new object. Creates a new object. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.Boolean Determines if has a seperate an object of type Gets whether the has its own . Sets whether a widget is created with a separate or not. (By default, it will be created without a seperate ). This function must be called while the is not realized, for instance, immediately after the window is created. Property 2.12.0.0 Gtk.Container+ContainerChild To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void an object of type an object of type an object of type Moves a child of a container to the given position. Moves a child of a container to the given position. Method 2.12.0.0 System.Void an object of type an object of type an object of type Adds a widget to a container at the given position. Adds a widget to a container at the given position. gtk-sharp-2.12.40/doc/en/Gtk/DestroyNotify.xml0000664000175000017500000000214212767740535015762 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void A delegate run by some callbacks before object destruction. Used in , , and anywhere else that a run-before-object-destruction routine is needed in a callback. gtk-sharp-2.12.40/doc/en/Gtk/HTMLBeginFlags.xml0000664000175000017500000000606512767740535015636 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum System.Flags Flags for how to begin processing a chunk of HTML. Mostly for internal use. Field 3.16.0.0 Gtk.HTMLBeginFlags To be added. Field 3.16.0.0 Gtk.HTMLBeginFlags To be added. Field 3.16.0.0 Gtk.HTMLBeginFlags To be added. Field 3.16.0.0 Gtk.HTMLBeginFlags To be added. gtk-sharp-2.12.40/doc/en/Gtk/Main.xml0000664000175000017500000001520612767740535014031 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Main loop event processing class. Like all GUI toolkits, GTK+ uses an event-driven programming model. When the user is doing nothing, GTK+ sits in the main loop and waits for input. If the user performs some action - say, a mouse click - then the main loop "wakes up" and delivers an event to GTK+. GTK+ forwards the event to one or more widgets. When widgets receive an event, they frequently emit one or more signals. Signals notify your program that "something interesting happened" by invoking functions you've connected to the signal with g_signal_connect(). Functions connected to a signal are often termed callbacks. When your callbacks are invoked, you would typically take some action - for example, when an Open button is clicked you might display a GtkFileSelectionDialog. After a callback finishes, GTK+ will return to the main loop and await more user input. Constructor 2.12.0.0 Public constructor. Method 2.12.0.0 System.Void An event to process (normally) passed by GDK. Processes a single Gdk Event. Processes a single GDK event. This is public only to allow filtering of events between GDK and GTK+. You will not usually need to call this function directly. Method 2.12.0.0 System.Boolean Runs an iteration of the main loop: blocks until an event is received. if the method was called to terminate the innermost main loop. Runs a single iteration of the main loop. If no events are waiting to be processed Gtk# will block until the next event is noticed. If you don't want to block look at or check if any events are pending with first. Method 2.12.0.0 System.Boolean if you want Gtk# to block if no events are pending. Runs one iteration of the main loop. Returns if the method was invoked to terminate the innermost loop. Runs a single iteration of the mainloop. If no events are available either return or block dependent on the value of blocking. Method 2.12.0.0 System.UInt32 Returns the current main loop level. The nesting level of the current main loop. Asks for the current nesting level of the main loop. This can be useful when calling the method. Method 2.12.0.0 System.Void Terminates the innermost main loop. This terminates the innermost main loop. gtk-sharp-2.12.40/doc/en/Gtk/FrameEventArgs.xml0000664000175000017500000000442012767740535016012 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.Event The Gdk event related to this FrameEvent. A gtk-sharp-2.12.40/doc/en/Gtk/WindowStateEventArgs.xml0000664000175000017500000000465512767740535017242 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.EventWindowState The uses this method to access the details of an event. a gtk-sharp-2.12.40/doc/en/Gtk/Bin.xml0000664000175000017500000001604312767740535013655 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Container A container with just one child. A Bin widget is a with just one child. It is used to create subclasses, since it provides common code needed for handling a single child . Many GTK+ widgets are subclasses of Bin, including , , , , and . To place a child widget inside this container, use the standard method. For the widget to be useful, it should participate in size negotiation and size allocation using the events and . Sample follows. using System; using Gtk; // // A simple Bin class: a simple container that adds padding. // class MyPadder : Bin { int pad = 50; Widget child; public MyPadder () { // To track our child widget. Added += new AddedHandler (MyAdded); // Participate in size negotiation SizeRequested += new SizeRequestedHandler (OnSizeRequested); SizeAllocated += new SizeAllocatedHandler (OnSizeAllocated); } // // Invoked to query our size // void OnSizeRequested (object o, SizeRequestedArgs args) { if (child != null){ int width = args.Requisition.Width; int height = args.Requisition.Height; child.GetSizeRequest (out width, out height); if (width == -1 || height == -1) width = height = 80; SetSizeRequest (width + pad * 2, height + pad * 2); } } // // Invoked to propagate our size // void OnSizeAllocated (object o, SizeAllocatedArgs args) { if (child != null){ Gdk.Rectangle mine = args.Allocation; Gdk.Rectangle his = mine; his.X += pad; his.Y += pad; his.Width -= pad * 2; his.Height -= pad * 2; child.SizeAllocate (his); } } // // Public property of the Padding widget // public int Pad { get { return pad; } set { pad = value; QueueResize (); } } void MyAdded (object o, AddedArgs args) { child = args.Widget; } } class Y { static void Main () { Application.Init (); Window w = new Window ("Hello"); MyPadder x = new MyPadder (); x.Pad = 100; Button b = new Button ("Hola"); w.Add (x); x.Add (b); w.ShowAll (); Application.Run (); } } Constructor 2.12.0.0 Protected constructor. Chain to this constructor if you have not manually registered a native value for your subclass. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 Gtk.Widget Accesses the one and only child widget of this Bin object. a Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gtk/SelectionReceivedHandler.xml0000664000175000017500000000321612767740535020035 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SelectionReceivedHandler instance to the event. The methods referenced by the SelectionReceivedHandler instance are invoked whenever the event is raised, until the SelectionReceivedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/DrawGdkArgs.xml0000664000175000017500000000777012767740535015314 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 3.16.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 3.16.0.0 Gdk.Pixmap The pixmap to draw a Property 3.16.0.0 Gdk.GC The graphics context a Property 3.16.0.0 System.Int32 An additional argument. a Property 3.16.0.0 System.Int32 A second additional argument. a gtk-sharp-2.12.40/doc/en/Gtk/StartInteractiveSearchHandler.xml0000664000175000017500000000334612767740535021066 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the StartInteractiveSearchHandler instance to the event. The methods referenced by the StartInteractiveSearchHandler instance are invoked whenever the event is raised, until the StartInteractiveSearchHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/AccelGroupFindFunc.xml0000664000175000017500000000234712767740535016610 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Boolean To be added. To be added. A delegate to locate a particular accelerator. To be added. See . gtk-sharp-2.12.40/doc/en/Gtk/ObjectInsertedArgs.xml0000664000175000017500000000441012767740535016661 00000000000000 gtkhtml-sharp 3.16.0.0 GLib.SignalArgs To be added. To be added. Constructor 3.16.0.0 To be added. To be added. Property 3.16.0.0 System.Int32 To be added. To be added. To be added. Property 3.16.0.0 System.Int32 To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/RecentAction.xml0000664000175000017500000006025112767740535015523 00000000000000 gtk-sharp 2.12.0.0 Gtk.Action Gtk.RecentChooser To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Property 2.12.0.0 Gtk.RecentInfo To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("filter") Gtk.RecentFilter To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Obsolete System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("item-activated") System.EventHandler To be added. To be added. Property 2.12.0.0 GLib.List To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("limit") System.Int32 To be added. To be added. To be added. Method 2.12.0.0 GLib.SList To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("local-only") System.Boolean To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideItemActivated", Type=typeof(Gtk.RecentAction)) System.Void To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionChanged", Type=typeof(Gtk.RecentAction)) System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Event 2.12.0.0 GLib.Signal("selection-changed") System.EventHandler To be added. To be added. Property 2.12.0.0 GLib.Property("select-multiple") System.Boolean To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("show-icons") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("show-not-found") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("show-numbers") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("show-private") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("show-tips") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 Gtk.RecentSortFunc To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("sort-type") Gtk.RecentSortType To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/Application.xml0000664000175000017500000004140212767740535015405 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Application class Provides the initialization and event loop iteration related methods for the Gtk# widget library. Since Gtk# is an event driven toolkit, Applications register callbacks against various events to handle user input. These callbacks are invoked from the main event loop when events are detected. using Gtk; using System; using GLib; public class HelloWorld { public static int Main (string[] args) { Application.Init (); Gtk.Window win = new Gtk.Window ("Gtk# Hello World"); win.DeleteEvent += new DeleteEventHandler (Window_Delete); win.ShowAll (); Application.Run (); return 0; } static void Window_Delete (object obj, DeleteEventArgs args) { SignalArgs sa = (SignalArgs) args; Application.Quit (); sa.RetVal = true; } } Property 2.12.0.0 Gdk.Event Returns the event currently taking place. a Method 2.12.0.0 System.Boolean Whether there are events on the queue if events are available to be processed, otherwise Checks if any events are pending. This can be used to update the GUI and invoke timeouts etc. while doing some time intensive computation. void LongComputation () { while (!done){ ComputationChunk (); // Flush pending events to keep the GUI reponsive while (Application.EventsPending ()) Application.RunIteration (); } } Method 2.12.0.0 System.Void Initializes GTK+ for operation. Call this function before using any other Gtk# functions in your GUI applications. It will initialize everything needed to operate the toolkit. This function will terminate your program if it was unable to initialize the GUI for some reason. If you want your program to fall back to a textual interface you want to call instead. If you want to pass arguments from the command line use the method instead. Method 2.12.0.0 System.Void The name of the program. An string array with the parameters given to the program. Call this method before using any other GTK# method in your GUI applications. It will initialize everything needed to operate the toolkit and parses some standard command line options, is adjusted accordingly so your code will never see those standard arugments. Note that there are some alternative ways to initialize GTK#, if you are calling or you don't have to call . Method 2.12.0.0 System.Boolean The name of the program. An string array with the parameters given to the program. This method does the same work as with only a single change, it does not terminate the program if the GUI can't be initialized. Instead it returns on failure. if the GUI has been succesfully initialized, otherwise . This way the application can fall back to some toher means of communication with the user, for example a curses or command line interface. Method 2.12.0.0 System.Void An event handler to invoke on the main thread. Invoke the given EventHandler in the GUI thread. Use this method to invoke the given delegate code in the main thread. This is necessary since Gtk# does not allow multiple threads to perform operations on Gtk objects as it the toolkit is not thread-safe. This mechanism is simpler to use than since it does not require the creation of a notifier per event. This is particularly useful with C# 2.0 as it is possible to use anonymous methods with it, for example: using Gtk; using Gdk; using System; using System.Threading; public class HelloThreads { static Label msg; static Button but; static int count; static Thread thr; public static int Main (string[] args) { Application.Init (); Gtk.Window win = new Gtk.Window ("Gtk# Threaded Counter"); win.DeleteEvent += new DeleteEventHandler (Window_Delete); msg = new Label ("Click to quit"); but = new Button (msg); but.Clicked += delegate { thr.Abort (); Application.Quit (); }; win.Add (but); win.ShowAll (); thr = new Thread (ThreadMethod); thr.Start (); Application.Run (); return 0; } static void ThreadMethod () { Console.WriteLine ("Starting thread"); while (true){ count++; Thread.Sleep (500); Application.Invoke (delegate { msg.Text = String.Format ("Click to Quit ({0})", count); }); } } static void Window_Delete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } Method 2.12.0.0 System.Void The sender to pass to the event handler.. The argument to pass to the event handler. An event handler to invoke on the main thread. Invoke the given EventHandler in the GUI thread. Use this method to invoke the given delegate code in the main thread. This is necessary since Gtk# does not allow multiple threads to perform operations on Gtk objects as it the toolkit is not thread-safe. This mechanism is simpler to use than since it does not require the creation of a notifier per event. This is particularly useful with C# 2.0 as it is possible to use anonymous methods with it, for example: using Gtk; using Gdk; using System; using System.Threading; public class HelloThreads { static Label msg; static Button but; static int count; static Thread thr; public static int Main (string[] args) { Application.Init (); Gtk.Window win = new Gtk.Window ("Gtk# Threaded Counter"); win.DeleteEvent += new DeleteEventHandler (Window_Delete); msg = new Label ("Click to quit"); but = new Button (msg); but.Clicked += delegate { thr.Abort (); Application.Quit (); }; win.Add (but); win.ShowAll (); thr = new Thread (ThreadMethod); thr.Start (); Application.Run (); return 0; } static void ThreadMethod () { Console.WriteLine ("Starting thread"); while (true){ count++; Thread.Sleep (500); Application.Invoke (delegate { msg.Text = String.Format ("Click to Quit ({0})", count); }); } } static void Window_Delete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } Method 2.12.0.0 System.Void Quits the current main loop Makes the innermost invocation of the main loop return when it regains control. Method 2.12.0.0 System.Void Runs the main loop Runs the main loop until is called. You can nest calls to . In that case will make the innermost invocation of the main loop return. Method 2.12.0.0 System.Void Runs a single iteration of the main loop. Runs a single iteration of the main loop. If no events are waiting to be processed Gtk# will block until the next event is noticed. If you do not want to block look at or check if any events are pending with first. Method 2.12.0.0 System.Boolean A boolean value, whether the iteration should block or not Runs a single iteration of the main loop. if has been called in the innermost main loop. Runs a single iteration of the main loop. If is , then if no events are waiting to be processed Gtk# will block until the next event is noticed; If is , then it if no events are waiting to be processed Gtk#, routine will return immediately. gtk-sharp-2.12.40/doc/en/Gtk/TestCollapseRowArgs.xml0000664000175000017500000000567412767740535017064 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.TreeIter The row being tested for collapsability. A Property 2.12.0.0 Gtk.TreePath The path of the row being tested for collapsability. A gtk-sharp-2.12.40/doc/en/Gtk/ChildNotifiedArgs.xml0000664000175000017500000000446112767740535016470 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.IntPtr For internal use. A , pointer to the underlying C object. gtk-sharp-2.12.40/doc/en/Gtk/SelectionNotifyEventArgs.xml0000664000175000017500000000463612767740535020107 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.EventSelection The event which triggered this callback. A gtk-sharp-2.12.40/doc/en/Gtk/PrintContext.xml0000664000175000017500000002275212767740535015612 00000000000000 gtk-sharp 2.12.0.0 GLib.Object To be added. To be added. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 System.Obsolete To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Property 2.12.0.0 Cairo.Context To be added. To be added. To be added. Method 2.12.0.0 Pango.Context To be added. To be added. To be added. Method 2.12.0.0 Pango.Layout To be added. To be added. To be added. Property 2.12.0.0 System.Double To be added. To be added. To be added. Property 2.12.0.0 System.Double To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 System.Double To be added. To be added. To be added. Property 2.12.0.0 Gtk.PageSetup To be added. To be added. To be added. Property 2.12.0.0 Pango.FontMap To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Double To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/PrintOperationResult.xml0000664000175000017500000000552412767740535017323 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.PrintOperationResultGType)) To be added. To be added. Field 2.12.0.0 Gtk.PrintOperationResult To be added. Field 2.12.0.0 Gtk.PrintOperationResult To be added. Field 2.12.0.0 Gtk.PrintOperationResult To be added. Field 2.12.0.0 Gtk.PrintOperationResult To be added. gtk-sharp-2.12.40/doc/en/Gtk/CycleChildFocusHandler.xml0000664000175000017500000000316512767740535017447 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CycleChildFocusHandler instance to the event. The methods referenced by the CycleChildFocusHandler instance are invoked whenever the event is raised, until the CycleChildFocusHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/TreeSelectionFunc.xml0000664000175000017500000000340312767740535016522 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Boolean To be added. To be added. To be added. To be added. A delegate for specifying the shape of functions passed as parameters to . To be added. This function will get called on select and unselect of widget text. It should return if the state of the tree node may be toggled and if the state of the node should not be changed. gtk-sharp-2.12.40/doc/en/Gtk/StateChangedArgs.xml0000664000175000017500000000453112767740535016313 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.StateType The prior state of the widget before it was changed. A gtk-sharp-2.12.40/doc/en/Gtk/TargetPair.xml0000664000175000017500000001115212767740535015203 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType Do not use. Field 2.12.0.0 System.UInt32 Do not use. Field 2.12.0.0 System.UInt32 Do not use. Method 2.12.0.0 Gtk.TargetPair a , pointer to the underlying C structure. Constructor for internal use only. a Property 2.12.0.0 System.Obsolete("Replaced by Target property.") Gdk.Atom Do not use. a Property 2.12.0.0 Gdk.Atom To be added. To be added. To be added. Field 2.12.0.0 Gtk.TargetPair An empty target. gtk-sharp-2.12.40/doc/en/Gtk/TreeModelImplementor.xml0000664000175000017500000003112312767740535017235 00000000000000 gtk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Gtk.TreeModelAdapter)) TreeModel implementor interface. The implementable portion of the interface. Property 2.12.0.0 Gtk.TreeModelFlags To be added. To be added. To be added. Method 2.12.0.0 GLib.GType To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Gtk.TreePath To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/ToggleButton.xml0000664000175000017500000003767412767740535015577 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Button A button that can be toggled on and off. A is a which will remain 'pressed-in' when clicked. Clicking again will cause the toggle button to return to its normal state. This is useful if you need to maintain the state of a button. using Gtk; using System; public class ToggleButtonApp { ToggleButton btn; public static int Main (string[] args) { new ToggleButtonApp(); return 0; } public ToggleButtonApp() { Application.Init (); Window win = new Window ("ToggleButton Tester"); win.SetDefaultSize (200, 150); win.DeleteEvent += new DeleteEventHandler (Window_Delete); btn = new ToggleButton ("Unselected"); btn.Active = false; btn.Toggled += new EventHandler (btn_toggled); win.Add (btn); win.ShowAll (); Application.Run (); } void btn_toggled (object obj, EventArgs args) { Console.WriteLine ("Button Toggled"); if (btn.Active) { btn.Label = "Unselected"; } else { btn.Label = "Selected"; } } static void Window_Delete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } } Constructor 2.12.0.0 Creates a new object Creates a new , which is a . A widget should be packed inside the toggle button using . Label label = new Label(); ToggleButton btn = new ToggleButton (); btn.Add(label); Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 a containing the message to be placed in the toggle button. Creates a new with a text label. Creates a new with a text label. ToggleButton btn = new ToggleButton ("ToggleButton"); Property 2.12.0.0 GLib.Property("active") System.Boolean Get or set the active an object of type Get or set the active. Get: Queries a and returns its current state. Returns if the toggle button is pressed in and if it is raised. if (btn.Active) { Console.WriteLine("The ToggleButton is pressed in"); } else { Console.WriteLine("The ToggleButton is raised"); } Set: Sets the status of the toggle button. Set to if you want the GtkToggleButton to be 'pressed in', and to raise it. This action causes the toggled signal to be emitted. // set the togglebutton active // and appear "pressed in" btn.Active = true; Property 2.12.0.0 GLib.Property("draw-indicator") System.Boolean Determines the drawing style of a or an object of type The DrawIndicator property can be set to to make or look like a normal . Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("inconsistent") System.Boolean Determines if the has an intermediate state. an object of type If the user has selected a range of elements (such as some text or spreadsheet cells) that are affected by a , and the current values in that range are inconsistent, you may want to display the toggle in an "in between" state. This function turns on "in between" display. Normally you would turn off the inconsistent state again if the user toggles the . This has to be done manually, only affects visual appearance, it does not affect the semantics of the . Property 2.12.0.0 System.Boolean The Mode of the an object of type The Mode of the Sets whether the button is displayed as a separate indicator and label. You can call this function on a or a with = to make the button look like a normal button This function only effects instances of classes like and that derive from , not instances of itself. Method 2.12.0.0 Gtk.ToggleButton a containing the message to be placed in the toggle button. Creates a new with a text label. a new . Creates a new with a text label. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideToggled", Type=typeof(Gtk.ToggleButton)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Void Emits the event Emits the event on the . There is no good reason for an application ever to call this function. Event 2.12.0.0 GLib.Signal("toggled") System.EventHandler Triggered when the is clicked. Should be connected if you wish to perform an action whenever the state changes. ToggleButton btn = new ToggleButton("ToggleButton"); btn.Toggled += new EventHandler (btn_toggled); void btn_toggled (object obj, EventArgs args) { // code for toggled event here } gtk-sharp-2.12.40/doc/en/Gtk/InsertionFontStyleChangedArgs.xml0000664000175000017500000000467512767740535021066 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 3.16.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 3.16.0.0 Gtk.HTMLFontStyle The style that was set during the change. a gtk-sharp-2.12.40/doc/en/Gtk/RowInsertedArgs.xml0000664000175000017500000000652212767740535016230 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The following events invoke delegates which pass event data via this class: Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.TreeIter The row that was inserted. A that points to the inserted row. Property 2.12.0.0 Gtk.TreePath The path of the row that was inserted. a gtk-sharp-2.12.40/doc/en/Gtk/ColorSelection.xml0000664000175000017500000003461112767740535016072 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.VBox A widget for selecting a color. The ColorSelection consists of a color wheel and number of sliders and entry boxes for color parameters such as hue, saturation, value, red, green, blue, and opacity. It is found on the standard color selection dialog box, . This widget displays the 'selected' color as well as the previously selected color. Constructor 2.12.0.0 The main way to create a new ColorSelection Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Event 2.12.0.0 GLib.Signal("color_changed") System.EventHandler This event is raised when the current color changes in the ColorSelection. Property 2.12.0.0 GLib.Property("current-alpha") System.UInt16 Manage the current alpha value of the ColorSelection. The existing opacity of this ColorSelection. Property 2.12.0.0 GLib.Property("current-color") Gdk.Color Manage the current color of the ColorSelection. The currently selected color in this ColorSelection. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("has-opacity-control") System.Boolean Manage whether or not opacity is part of the ColorSelection. if the user can edit opacity, otherwise. Property 2.12.0.0 GLib.Property("has-palette") System.Boolean Manage whether or not the ColorSelection displays a palette. if a palette is currently part of the ColorSelection, otherwise. Property 2.12.0.0 System.Boolean The current state of the ColorSelection if the user is currently dragging a color around, if the selection has stopped. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideColorChanged", Type=typeof(Gtk.ColorSelection)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 Gdk.Color[] A palette string to parse Parses a color palette string; the string is a colon-separated list of color names readable by An array of objects. Method 2.12.0.0 System.String An array of objects. Encodes a palette as a string; useful for persistent storage. A string encoding of the palette. Property 2.12.0.0 System.UInt16 Get the alpha value of the previous color The previous alpha value - an integer between 0 and 65535. It may be confusing for a user if this property is set with no interaction from them. Property 2.12.0.0 Gdk.Color The color that was selected before the current one. a Property 2.12.0.0 System.Obsolete Gtk.UpdateType Deprecated. Do not use. a Before it was deprecated, this property set the policy controlling when ColorChanged signals are emitted. gtk-sharp-2.12.40/doc/en/Gtk/TextBufferTargetInfo.xml0000664000175000017500000000460712767740535017211 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.TextBufferTargetInfoGType)) To be added. To be added. Field 2.12.0.0 Gtk.TextBufferTargetInfo To be added. Field 2.12.0.0 Gtk.TextBufferTargetInfo To be added. Field 2.12.0.0 Gtk.TextBufferTargetInfo To be added. gtk-sharp-2.12.40/doc/en/Gtk/MnemonicHashForeach.xml0000664000175000017500000000323112767740535017001 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added To be added gtk-sharp-2.12.40/doc/en/Gtk/CurrentParagraphAlignmentChangedHandler.xml0000664000175000017500000000347712767740535023033 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CurrentParagraphAlignmentChangedHandler instance to the event. The methods referenced by the CurrentParagraphAlignmentChangedHandler instance are invoked whenever the event is raised, until the CurrentParagraphAlignmentChangedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/KeyPressEventHandler.xml0000664000175000017500000000313612767740535017211 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the KeyPressEventHandler instance to the event. The methods referenced by the KeyPressEventHandler instance are invoked whenever the event is raised, until the KeyPressEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/MarkSetHandler.xml0000664000175000017500000000303212767740535016003 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the MarkSetHandler instance to the event. The methods referenced by the MarkSetHandler instance are invoked whenever the event is raised, until the MarkSetHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/ChangeValueHandler.xml0000664000175000017500000000311212767740535016616 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ChangeValueHandler instance to the event. The methods referenced by the ChangeValueHandler instance are invoked whenever the event is raised, until the ChangeValueHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/TextBuffer.xml0000664000175000017500000037102212767740535015224 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object This class stores formatted text for display in a . The relationship between and objects is not necessarily one-to-one. All views must contain a buffer, but a buffer does not have to be assigned a view, and one buffer may be used by multiple views. In the following example, a single object is shared between two widgets. using Gtk; public class TextBufferExample { public static void Main () { // Initialize GTK. Application.Init (); // Create a containing window. Window window = new Window ("TextBuffer Example"); window.DeleteEvent += OnDelete; window.SetDefaultSize (400, 300); // Create a buffer and vertical panes for the views. TextBuffer buffer = new TextBuffer (new TextTagTable ()); VPaned paned = new VPaned (); // Create a text view for the buffer, make it scrollable, and // add it to the first pane. TextView view1 = new TextView (buffer); ScrolledWindow scrolled_window1 = new ScrolledWindow (); scrolled_window1.Add (view1); paned.Add1 (scrolled_window1); // Create a second text view for the buffer, make it scrollable, // and add it to the second pane. TextView view2 = new TextView (buffer); ScrolledWindow scrolled_window2 = new ScrolledWindow (); scrolled_window2.Add (view2); paned.Add2 (scrolled_window2); // Add the panes to the window and show it. window.Add (paned); window.ShowAll (); // Run the application. Application.Run (); } // Quit when the window is closed. static void OnDelete (object o, DeleteEventArgs e) { Application.Quit (); } } Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 a tag table, or to create a new one Creates a new text buffer. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void an object of type Adds to the list of clipboards in which the selection contents of buffer are available. In most cases, clipboard will be the of type for a view of buffer. Method 2.12.0.0 System.Void a the beginning of the range to be tagged the end of the range to be tagged Fires the events on buffer. The default handler for the signal applies tag to the given range. and do not have to be in order. Method 2.12.0.0 System.Void the name of the tag the location of the beginning of the range the location of the end of the range Fires the event on buffer. The default handler for the signal applies tag to the given range. The order for and is not important. Method 2.12.0.0 System.Boolean a a a To be added a To be added Method 2.12.0.0 System.Void Called to indicate that the buffer operations between here and a call to are part of a single user-visible operation. The operations between and can then be grouped when creating an undo stack. maintains a count of calls to that have not been closed with a call to , and emits and signals only for the outermost pair of calls. This allows you to build user actions from other user actions. The "interactive" buffer mutation functions, such as , automatically call begin/end user action around the buffer operations they perform, so there is no need to add extra calls if you user action consists solely of a single call to one of those functions. Event 2.12.0.0 GLib.Signal("changed") System.EventHandler Emitted when the text in the buffer has been changed. Property 2.12.0.0 System.Int32 The number of characters in the buffer The number of characters in the buffer The result of this method is cached, so it is very fast. Event 2.12.0.0 GLib.Signal("insert_child_anchor") Gtk.ChildAnchorInsertedHandler Emitted when a ChildAnchor has been inserted in the buffer. Method 2.12.0.0 System.Void Clears the contents of the buffer Method 2.12.0.0 System.Void The to copy the text to. Copies the buffer's selected text to the given . Copying a 's selected text: void Copy (Gtk.TextView view) { Gtk.TextBuffer buffer = view.Buffer; Gtk.Clipboard board = Clipboard.Get (Gdk.Selection.Clipboard); buffer.CopyClipboard (board); } Property 2.12.0.0 GLib.Property("copy-target-list") Gtk.TargetList Obtains the copy TargetList. a . Method 2.12.0.0 Gtk.TextChildAnchor the location in the buffer This is a convenience function which simply creates a child anchor with and inserts it into the buffer with . the created child anchor This is a convenience function which simply creates a child anchor with and inserts it into the buffer with . The new anchor is owned by the buffer; no reference count is returned to the caller of . Method 2.12.0.0 Gtk.TextMark name for mark, or . To be added. whether the mark has left gravity Creates a mark at position . a new object Creates a mark at position . If is , the mark is anonymous; otherwise, the mark can be retrieved by name using . If a mark has left gravity, and text is inserted at the current location of the mark, the mark will be moved to the left of the newly-inserted text. If the mark has right gravity (ie. = ), the mark will end up on the right of newly-inserted text. The standard left-to-right cursor is a mark with right gravity (when you type, the cursor stays on the right side of the text you are typing). Fires the event as notification of the initial placement of the mark. Property 2.12.0.0 GLib.Property("cursor-position") System.Int32 Position of the insert mark. a representing the offset to the cursor from the beginning of the buffer. Method 2.12.0.0 System.Void an object of type an object of type Copies the currently-selected text to a clipboard, then deletes said text if it is editable. Method 2.12.0.0 System.Obsolete("Replaced by 'ref TextIter, ref TextIter' overload") System.Void To be added. To be added. Delete text between two iterators. This overload is obsolete, replaced by ref TextIter overloads since the iters passed in are updated by the caller. Method 2.12.0.0 System.Void a position in the buffer a position in the buffer Deletes text between and . Deletes text between and . The order of the two is not actually relevant, as they will be reordered. This function actually fires off the event, and the default handler of that signal deletes the text. Because the buffer is modified, all outstanding iterators become invalid after calling this function; however, and will be re-initialized to point to the location where text was deleted. Method 2.12.0.0 System.Boolean the beginning of range to delete the end of the range to delete whether the buffer is editable by default Deletes all editable text in the given range. whether some text was actually deleted Deletes all editable text in the given range. Calls for each editable sub-range of and . and are revalidated to point to the location of the last deleted range, or left untouched if no text was deleted. Method 2.12.0.0 System.Void a in the buffer to be deleted. Deletes mark, so that it is no longer located anywhere in the buffer. Deletes mark, so that it is no longer located anywhere in the buffer. There is no way to undelete a mark. will return after this function has been called on a mark; indicates that a mark no longer belongs to a buffer. The event will be raised as notification after the mark is deleted. Method 2.12.0.0 System.Void the name of a mark in buffer Deletes the mark named ; the mark must exist. See for more details. Event 2.12.0.0 GLib.Signal("delete_range") Gtk.DeleteRangeHandler Emitted when a range of text has been deleted from the buffer. Method 2.12.0.0 System.Boolean whether the deletion is caused by user interaction whether the buffer is editable by default Deletes the currently-selected text whether there was a non-empty selection to delete Deletes the range between the "insert" and "selection_bound" marks, that is, the currently-selected text. If is , the editability of the selection will be considered (users can't delete uneditable text). Method 2.12.0.0 System.Boolean buffer to deserialize content. MIME type format. insertion point. serialized data. length of serialized data. Deserialize content. a . Property 2.12.0.0 Gdk.Atom[] The supported MIME type formats for deserialization. an array of MIME type Atoms. Method 2.12.0.0 System.Boolean a MIME type Atom. Determines if tag creation is supported for a MIME type deserializer. if , tag creation is supported. Method 2.12.0.0 System.Void a MIME type Atom. a . Enables or disables arbitrary tag creation. In most cases, you don't want to do this, as it will put arbitrary tags in the buffer. Property 2.12.0.0 Gtk.TextIter The end of the buffer The location of the end of the buffer Method 2.12.0.0 System.Void Should be paired with a call to . See for an explanation. Method 2.12.0.0 System.Void A object to store the location of the beginning of the buffer. A object to store the location of the end of the buffer. Retrieves the first and last iterators in the buffer, i.e. the entire buffer. Method 2.12.0.0 Gtk.TextIter A at the current buffer. Gets the location of the specific anchor. The location at . Method 2.12.0.0 Gtk.TextIter The specified line number. Gets the location of a particular line. The location at the beginning fo the line as specified by . Method 2.12.0.0 Gtk.TextIter A line number for the current buffer, counting from 0. The byte index from start of line. Obtains an iterator pointing to within the given line. The location as specified by and . must be the start of a UTF-8 character, and must not be beyond the end of the line. Note bytes, not characters; UTF-8 may encode one character as multiple bytes. Method 2.12.0.0 Gtk.TextIter a a Gets the location of a specific point. The location at the location specified by and . Method 2.12.0.0 Gtk.TextIter The specified mark. Gets the location of the specified mark. The location of . Method 2.12.0.0 Gtk.TextIter The requested character offset Returns the location at a particular character offset The location at Method 2.12.0.0 Gtk.TextMark the name of a mark Returns the mark named name in buffer buffer, or if no such mark exists in the buffer. Returns the mark named name in buffer buffer, or if no such mark exists in the buffer. Method 2.12.0.0 System.Boolean the location of the beginning of the selection the location of the end of the selection Returns if some text is selected Returns if the selection has nonzero length Returns if some text is selected; and sets the bounds of the selection in and (if the selection has length 0, then start and end are filled in with the same value). and will be in ascending order. If and are , then they are not filled in, but the return value still indicates whether text is selected. Method 2.12.0.0 System.String the start of a range the end of the range whether to include invisible text Returns the text from to . a string containing the text from to Returns the text in the range from to . Excludes undisplayed text (text marked with tags that set the invisibility attribute) if is . The returned string includes a 0xFFFC character whenever the buffer contains embedded images, so byte and character indexes into the returned string do correspond to byte and character indexes into the buffer. Contrast with . Note that 0xFFFC can occur in normal text as well, so it is not a reliable indicator that a pixbuf or widget is in the buffer. Method 2.12.0.0 System.String the beginning of the specified range the end of the specified range whether to include invisible text Returns the text from a specified range a string containing the text from the specified range Returns the text in the range specified by and . Excludes undisplayed text (text marked with tags that set the invisibility attribute) if is . Does not include characters representing embedded images, so byte and character indexes into the returned string do not correspond to byte and character indexes into the buffer. Contrast this with . Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("has-selection") System.Boolean Indicates presence of a selection. if , there is text selected currently. Method 2.12.0.0 System.Obsolete("Replaced by 'ref TextIter iter' overload") System.Void To be added. To be added. Inserts text. The overload is obsolete, replace by the ref TextIter overload. Method 2.12.0.0 System.Void The location for to be inserted The text to be inserted Insert text at a specific point Method 2.12.0.0 System.Void The text to be inserted Insert text into the current cursor position The event is raised when a call to this method is made. Method 2.12.0.0 System.Void location to insert the anchor a . Inserts a child widget anchor into the text buffer. Inserts a child widget anchor into the text buffer at . The anchor will be counted as one character in character counts, and when obtaining the buffer contents as a string, will be represented by the Unicode "object replacement character" 0xFFFC. Note that the "slice" variants for obtaining portions of the buffer as a string include this character for pixbufs, but the "text" variants do not. e.g. see and ). Consider as a more convenient alternative to this function. The buffer will add a reference to the anchor, so you can unref it after insertion. Method 2.12.0.0 System.Boolean a location in the buffer the text to be inserted the default editability of buffer Insert text if the cursor is at an editable point in the buffer whether text was actually inserted Similar to , but the insertion will not occur if is at a non-editable location in the buffer. Usually you want to prevent insertions at ineditable locations if the insertion results from a user action (is interactive). indicates the editability of text that does not have a tag affecting editability applied to it. Typically the result of is appropriate here. Method 2.12.0.0 System.Boolean The text to be inserted The default editability of the buffer Insert text at cursor position if the location is editable Whether or not was inserted See for more details. Property 2.12.0.0 Gtk.TextMark Returns the mark that represents the cursor (insertion point). The mark of the insert point. This is equivelant to calling for the mark named "insert". Method 2.12.0.0 System.Void The location to insert the image The image to be inserted Inserts an image into the text buffer at . Inserts an image into the text buffer at . The image will be counted as one character in character counts, and when obtaining the buffer contents as a string, will be represented by the Unicode "object replacement character" 0xFFFC. Note that the "slice" variants for obtaining portions of the buffer as a string include this character for pixbufs, but the "text" variants do not. e.g. see and . Method 2.12.0.0 System.Obsolete("Replaced by 'ref TextIter iter' overload") System.Void To be added. To be added. To be added. Inserts a range of text. This overload is obsolete, replaced by ref TextIter overloads since the iters passed in are updated by the caller. Method 2.12.0.0 System.Void a position in buffer a position in the source a position in the source Copies text, tags, and pixbufs between and and inserts the copy at . Copies text, tags, and pixbufs between and (the order does not matter) and inserts the copy at . Used instead of simply getting/inserting text because it preserves images and tags. If and are in a different buffer from buffer, the two buffers must share the same tag table. This method is implemented with the and events. Method 2.12.0.0 System.Boolean a position in buffer a position in the source a position in the source whether the text is editable at if no tags enclosing iter affect editability Same as , but does nothing if the insertion point is not editable. if an insertion was possible at Same as , but does nothing if the insertion point is not editable. The parameter indicates whether the text is editable at if no tags enclosing iter affect editability. Typically the result of is appropriate here. Event 2.12.0.0 GLib.Signal("insert_text") Gtk.InsertTextHandler Emitted when text is inserted into the buffer. Method 2.12.0.0 System.Obsolete("Replaced by 'ref TextIter iter' overload") System.Void System.ParamArray To be added. To be added. To be added. Inserts text with tag information. The overload is obsolete, replace by the ref TextIter overload. Method 2.12.0.0 System.Void System.ParamArray location to insert the text text to insert tags to apply to Inserts into buffer at , applying the list of to the newly-inserted text. Equivalent to calling , then on the inserted text; It is just a convenience function. Method 2.12.0.0 System.Void System.ParamArray location to insert the text text to insert names of the tags to apply to Inserts into buffer at , applying the list of tags with names to the newly-inserted text. Equivalent to calling , then on the inserted text; It is just a convenience function. Property 2.12.0.0 System.Int32 Obtains the number of lines in the buffer. The number of lines in the buffer The results of this method is cached, so this is very fast. Event 2.12.0.0 GLib.Signal("mark_deleted") Gtk.MarkDeletedHandler Emitted when a mark has been deleted from the buffer. Event 2.12.0.0 GLib.Signal("mark_set") Gtk.MarkSetHandler Emitted when a mark is set in the buffer. Property 2.12.0.0 System.Boolean Whether or not the buffer has been modified if the buffer has been modified, otherwise. Whenever the buffer is saved to disk, set this property to . When the buffer is modified, it will automatically toggled to . Whenever this property is changed, the event is raised. Event 2.12.0.0 GLib.Signal("modified_changed") System.EventHandler Emitted when the Modified status of the buffer is changed. Method 2.12.0.0 System.Void a . To be added. Moves mark to the new location . Moves mark to the new location where. Fires the event as notification of the move. Method 2.12.0.0 System.Void the name of the mark To be added. Moves the mark named (which must exist) to location . It is possible to use built-in marks to implement a "Select All" method on a buffer (e.g. ). private void SelectAll (TextBuffer buffer) { buffer.MoveMark ("insert", buffer.StartIter); buffer.MoveMark ("selection_bound", buffer.EndIter); } See for more details. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideChanged", Type=typeof(Gtk.TextBuffer)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideChildAnchorInserted", Type=typeof(Gtk.TextBuffer)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDeleteRange", Type=typeof(Gtk.TextBuffer)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideInsertText", Type=typeof(Gtk.TextBuffer)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideMarkDeleted", Type=typeof(Gtk.TextBuffer)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideMarkSet", Type=typeof(Gtk.TextBuffer)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideModifiedChanged", Type=typeof(Gtk.TextBuffer)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePixbufInserted", Type=typeof(Gtk.TextBuffer)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTagApplied", Type=typeof(Gtk.TextBuffer)) System.Void a a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTagRemoved", Type=typeof(Gtk.TextBuffer)) System.Void a a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideUserActionBegun", Type=typeof(Gtk.TextBuffer)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideUserActionEnded", Type=typeof(Gtk.TextBuffer)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Void a Pastes the contents of a clipboard at the insertion point. Method 2.12.0.0 System.Void the to paste from the location to insert pasted text, or for at the cursor whether the buffer is editable by default Pastes the contents of a clipboard at the insertion point, or at . Pastes the contents of a clipboard at the insertion point, or at . (Note: pasting is asynchronous, that is, we will ask for the paste data and return, and at some point later after the main loop runs, the paste data will be inserted.) Property 2.12.0.0 GLib.Property("paste-target-list") Gtk.TargetList Obtains the paste TargetList. a . Event 2.12.0.0 GLib.Signal("insert_pixbuf") Gtk.PixbufInsertedHandler Emitted when a Pixbuf is inserted into the buffer. Method 2.12.0.0 System.Void where to put the cursor Moves the "insert" and "selection_bound" marks simultaneously. This function moves the "insert" and "selection_bound" marks simultaneously. If you move them to the same place in two steps with , you will temporarily select a region in between their old and new locations, which can be pretty inefficient since the temporarily-selected region will force stuff to be recalculated. This function moves them as a unit, which can be optimized. Method 2.12.0.0 Gdk.Atom a MIME type target. Serialization formatter for the specified . Registers a deserialization handler for a given MIME type. an atom representing the MIME type. Method 2.12.0.0 Gdk.Atom name of tagset, or . Registers TextBuffer's internal serialization format. The newly registered format's mime type. Method 2.12.0.0 Gdk.Atom A MIME type target. Serialization formatter for the specified . Registers a serialization formatter for a given MIME type. Method 2.12.0.0 Gdk.Atom name of tagset, or . Registers TextBuffer's internal serialization format. The newly registered format's mime type. Method 2.12.0.0 System.Void The beginning of the range The end of the range Removes all tags in the range between and . Removes all tags in the range between start and end. Be careful with this function; it could remove tags added in code unrelated to the code you are currently writing. That is, calling this method is probably a bad idea if you have two or more unrelated code sections that add tags. Method 2.12.0.0 System.Void an object of type Removes a added with . Method 2.12.0.0 System.Void the to remove the beginning of the range the end of the range Fires the events and removes all occurrences of from the given range Fires the event. The default handler for the signal removes all occurrences of tag from the given range. and . Method 2.12.0.0 System.Void the name of the tag the beginning of the buffer to be untagged the end of the buffer to be untagged Calls on the buffer's tag table to get a , then calls Property 2.12.0.0 Gtk.TextMark Returns the mark that represents the selection bound. a Returns the mark that represents the selection bound. Equivalent to calling to get the mark named "selection_bound", but very slightly more efficient, and involves less typing. The currently-selected text in buffer is the region between the "selection_bound" and "insert" marks. If "selection_bound" and "insert" are in the same place, then there is no current selection. is another convenient function for handling the selection, if you just want to know whether there is a selection and what its bounds are. Method 2.12.0.0 System.Void a a This function moves the and marks simultaneously. If you move them in two steps with , you will temporarily select a region in between their old and new locations, which can be pretty inefficient since the temporarily-selected region will force stuff to be recalculated. This function moves them as a unit, which can be optimized. Method 2.12.0.0 System.Byte[] buffer containing text to serialize. MIME type format. beginning of desired text. end of desired text. Serializes a range of text. the serialized data stream. Property 2.12.0.0 Gdk.Atom[] The supported MIME type formats for Serialization. an array of MIME type Atoms. Method 2.12.0.0 System.Obsolete("Use the TextBuffer.Text property's setter") System.Void The new contents of the buffer Set the contents of the buffer This is equivelant to using the setter of the property. Property 2.12.0.0 Gtk.TextIter The location of the beginning of the buffer The location of the beginning of the buffer This is the equivelant to calling to get the iter at character offset 0. Event 2.12.0.0 GLib.Signal("apply_tag") Gtk.TagAppliedHandler Emitted when a tag is applied to the buffer. Event 2.12.0.0 GLib.Signal("remove_tag") Gtk.TagRemovedHandler Emitted when a tag is removed from the buffer. Property 2.12.0.0 GLib.Property("tag-table") Gtk.TextTagTable The tag table of the current buffer The current of the buffer Property 2.12.0.0 GLib.Property("text") System.String The complete contents of the buffer The contents of the current buffer Method 2.12.0.0 System.Void format Atom for a MIME type. Removes a registered MIME type handler from the buffer. Method 2.12.0.0 System.Void format to unregister. Removes a Serialization format from the registry. Event 2.12.0.0 GLib.Signal("begin_user_action") System.EventHandler Emitted when a UserAction is begun on the buffer. Event 2.12.0.0 GLib.Signal("end_user_action") System.EventHandler Emitted when a UserAction ends on the buffer. gtk-sharp-2.12.40/doc/en/Gtk/FileChooserAction.xml0000664000175000017500000001042612767740535016504 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.FileChooserActionGType)) Describes whether a is being used to open existing files or to save to a possibly new file. Field 2.12.0.0 Gtk.FileChooserAction Indicates a mode for creating a new folder. The file chooser will let the user name an existing or new folder. Field 2.12.0.0 Gtk.FileChooserAction Indicates open mode. The file chooser will only let the user pick an existing file. Field 2.12.0.0 Gtk.FileChooserAction Indicates save mode. The file chooser will let the user pick an existing file, or type in a new filename. Field 2.12.0.0 Gtk.FileChooserAction Indicates an Open mode for selecting folders. The file chooser will let the user pick an existing folder. gtk-sharp-2.12.40/doc/en/Gtk/Unit.xml0000664000175000017500000000513612767740535014065 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.UnitGType)) Unit enumeration. Field 2.12.0.0 Gtk.Unit Inch units. Field 2.12.0.0 Gtk.Unit Millimeter units. Field 2.12.0.0 Gtk.Unit Pixel units. Field 2.12.0.0 Gtk.Unit Point units. gtk-sharp-2.12.40/doc/en/Gtk/Range.xml0000664000175000017500000005263112767740535014204 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Widget Base class for widgets that visualize an . This class provides helper methods and properties for manipulating concrete widgets like and . Constructor 2.12.0.0 Protected constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Event 2.12.0.0 GLib.Signal("adjust_bounds") Gtk.AdjustBoundsHandler Raised when the bounds of the range are adjusted. Property 2.12.0.0 GLib.Property("adjustment") Gtk.Adjustment Manipulate the underlying model of this range. The current underlying this range. Event 2.12.0.0 GLib.Signal("change_value") Gtk.ChangeValueHandler To be added To be added Property 2.12.0.0 GLib.Property("fill-level") System.Double To be added. To be added. To be added. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("inverted") System.Boolean Manage whether the control of this range is manipulated in the opposite direction. Whether visual control of the range is currently inverted. Setting this to causes a widget to move from right to left, instead of left to right. Property 2.12.0.0 GLib.Property("lower-stepper-sensitivity") Gtk.SensitivityType Sensitivity policy for the lower end of the Range's adjustment. the . Event 2.12.0.0 GLib.Signal("move_slider") Gtk.MoveSliderHandler Raised when the user moves a slider. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideAdjustBounds", Type=typeof(Gtk.Range)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideChangeValue", Type=typeof(Gtk.Range)) System.Boolean a a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideMoveSlider", Type=typeof(Gtk.Range)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideValueChanged", Type=typeof(Gtk.Range)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 2.12.0.0 GLib.Property("restrict-to-fill-level") System.Boolean To be added. To be added. To be added. Method 2.12.0.0 System.Void Value difference for step movements, (see below). Value difference for page movements, (see below). Sets the step and page sizes for this range. The size is used when the user clicks the arrows or moves with arrow keys. The size is used for example when moving via Page Up or Page Down keys. Method 2.12.0.0 System.Void The minimum acceptable value for this range. The maximum acceptable value for this range. Sets the limits of this range. Property 2.12.0.0 GLib.Property("show-fill-level") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("update-policy") Gtk.UpdateType Manage how often the value label is updated. The current update policy. Property 2.12.0.0 GLib.Property("upper-stepper-sensitivity") Gtk.SensitivityType Sensitivity policy for the upper end of the Range's adjustment. the . Property 2.12.0.0 System.Double Manage the value of this range. The current value of this range. Event 2.12.0.0 GLib.Signal("value_changed") System.EventHandler Raised when the value in this range changes. Connect to this event with a standard to find out when the value changes. gtk-sharp-2.12.40/doc/en/Gtk/ThreadNotify.xml0000664000175000017500000001415212767740535015544 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object System.IDisposable Multi-threaded integration with Gtk support. You should consider using instead of this class as it provides a simpler interface. The ThreadNotify class is used to invoke methods in the Gtk+ thread. Since Gtk is not a thread-safe toolkit, only a single thread at a time might be making calls into Gtk. Typically applications will be executing the main Gtk+ main loop and when threads are done processing work, they invoke to invoke a method on the main Gtk+ thread. using Gtk; class Demo { static ThreadNotify notify; static void Main () { Application.Init (); notify = new ThreadNotify (new ReadyEvent (ready)); Application.Run (); } static void ready () { // Update the GUI with computation values. } static void ThreadRoutine () { LargeComputation (); notify.WakeupMain (); } static void LargeComputation () { // lots of processing here } } Constructor 2.12.0.0 A ReadyEvent delegate. ThreadNotify constructor The method referenced by the delegate will be invoked on the Gtk+ mainloop whenever any thread invokes the method. Method 2.12.0.0 System.Void To be added Method 2.12.0.0 System.Void a To be added Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void Wakeup the main thread, and invoke delegate. This methods wakes up the Gtk+ main thread and executes the delegate that was specified at construction time in the Gtk+ thread. gtk-sharp-2.12.40/doc/en/Gtk/SelectCursorRowArgs.xml0000664000175000017500000000456612767740535017076 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Boolean Whether or not to start editing the specified row. A , true if editing should start. gtk-sharp-2.12.40/doc/en/Gtk/HTMLParagraphStyle.xml0000664000175000017500000002056712767740535016566 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum Enumeration of paragraph styles possible in . Field 3.16.0.0 Gtk.HTMLParagraphStyle Email address style. Field 3.16.0.0 Gtk.HTMLParagraphStyle Header 1 style. Field 3.16.0.0 Gtk.HTMLParagraphStyle Header 2 style. Field 3.16.0.0 Gtk.HTMLParagraphStyle Header 3 style. Field 3.16.0.0 Gtk.HTMLParagraphStyle Header 4 style. Field 3.16.0.0 Gtk.HTMLParagraphStyle Header 5 style. Field 3.16.0.0 Gtk.HTMLParagraphStyle Header 6 style. Field 3.16.0.0 Gtk.HTMLParagraphStyle Greek-lettered ordered list. Field 3.16.0.0 Gtk.HTMLParagraphStyle Arabic-numbered ordered list. Field 3.16.0.0 Gtk.HTMLParagraphStyle Unnumbered list style. Field 3.16.0.0 Gtk.HTMLParagraphStyle Roman-numeral numbered list. Field 3.16.0.0 Gtk.HTMLParagraphStyle Normal style. Field 3.16.0.0 Gtk.HTMLParagraphStyle Preformatted text style. gtk-sharp-2.12.40/doc/en/Gtk/BindingAttribute.xml0000664000175000017500000001513412767740535016403 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Attribute System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true) Registers a key binding for a class. Constructor 2.12.0.0 System.ParamArray a key value name of the instance method to call. an array containing the parameters to pass to the handler. Constructs a Binding attribute with no key modifier. Constructor 2.12.0.0 System.ParamArray a key value a modifier type, like ctrl or shift name of the instance method to call. an array containing the parameters to pass to the handler. Constructs a Binding attribute for a key and modifier. Property 2.12.0.0 System.String The name of the instance method to call on activation. a Property 2.12.0.0 Gdk.Key The key value a Property 2.12.0.0 Gdk.ModifierType The key modifier, such as ctrl or shift. a Property 2.12.0.0 System.Object[] An Array of parameters to pass to the Handler. a gtk-sharp-2.12.40/doc/en/Gtk/TestExpandRowArgs.xml0000664000175000017500000000565012767740535016533 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.TreeIter The row being tested for expandability. A Property 2.12.0.0 Gtk.TreePath The path of the row being tested for expandability. A gtk-sharp-2.12.40/doc/en/Gtk/RadioMenuItem.xml0000664000175000017500000002333312767740535015647 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.CheckMenuItem A radio-style control (pick one of a list of options) for a menu. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 a , group the menu item is inside (XXX: this type looks wrong) Basic constructor. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 a Basic constructor. Constructor 2.12.0.0 A , the group this item belongs to A , this item's label. Constructor Constructor 2.12.0.0 a , group the menu item is inside (XXX: this type looks wrong) a the text of the button, with an underscore in front of the mnemonic character Constructor with support for mnemonic labels. Property 2.12.0.0 GLib.Property("group") GLib.SList The group the menu item is inside. A Event 2.12.0.0 GLib.Signal("group-changed") System.EventHandler Emitted when the group of radio menu items that a radio button belongs to changes. This is emitted when a radio button switches from being alone to being part of a group of 2 or more menu items, or vice-versa, and when a buttton is moved from one group of 2 or more menu items to a different one, but not when the composition of the group that a button belongs to changes. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideGroupChanged", Type=typeof(Gtk.RadioMenuItem)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. gtk-sharp-2.12.40/doc/en/Gtk/TreeStore.xml0000664000175000017500000035624712767740535015076 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Gtk.TreeDragDest Gtk.TreeDragSource Gtk.TreeModel Gtk.TreeSortable A tree-like data structure that can be used with the The object is a list model for use with a widget. It implements the interface, and consequentialy, can use all of the methods available there. It also implements the interface so it can be sorted by the view. Finally, it also implements the tree drag and drop interfaces. Constructor 2.12.0.0 Protected constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 System.ParamArray a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 System.ParamArray a Creates a new instance. Treestore store; store = new TreeStore (typeof (int), typeof (string)); Method 2.12.0.0 System.Obsolete("Replaced by AppendNode") Gtk.TreeIter a Appends a new row to the . a If parent is , then the row will be prepended to the toplevel. Method 2.12.0.0 System.Obsolete("Replaced by AppendNode") System.Void an object of type Appends a new row to the . It will append a row to the top level. will be changed to point to this new row. The row will be empty after this method is called. To fill in values, you need to call . Method 2.12.0.0 Gtk.TreeIter Appends a root node to the store. a Method 2.12.0.0 Gtk.TreeIter a Appends a child to an existing node. a Method 2.12.0.0 Gtk.TreeIter a with the data for the row. Appends a new row to the . a Method 2.12.0.0 Gtk.TreeIter System.ParamArray a with the data for the row. Appends a new row to the . a Method 2.12.0.0 Gtk.TreeIter the parent row to attach the new row under. a with the data for the row. Appends a new row to the . a To append the new row to the toplevel, use the Method 2.12.0.0 Gtk.TreeIter System.ParamArray the parent row to attach the new row under. a with the data for the row. Appends a new row to the . a To append the new row to the toplevel, use the Method 2.12.0.0 System.Void Fires a event. Designed to be called by routines that change the sort of the tree. Method 2.12.0.0 System.Void Removes all rows from the Property 2.12.0.0 GLib.GType[] To be added a To be added Property 2.12.0.0 Gtk.TreeIterCompareFunc The function that should be used to be sort columns by default if not otherwise specified by . a This property is meant to be used together with . Method 2.12.0.0 System.Boolean A , the path of the data to delete. When this TreeStore is the data source for a drag operation and the drag operation is a move, this method runs to delete the data after the data has been received by the target widget. A , true if the operation succeeds. Method 2.12.0.0 System.Boolean a A Method used when this TreeStore is part of a source widget for a drag-and-drop operation; gets the data that was dragged from the associated widget. A , true if the operation succeeded. Method 2.12.0.0 System.Boolean A , the destination path of the drag A , the data that was dragged Drags data received into this object. A boolean, true if the data was successfully received. Method 2.12.0.0 System.Void an object of type an object of type Emits the event. Method 2.12.0.0 System.Void an object of type Emits the event. This should be called by models after a row has been removed. The location pointed to by should be the location that the row previously was at. It may not be a valid location anymore. Method 2.12.0.0 System.Void an object of type an object of type Emits the event. Method 2.12.0.0 System.Void an object of type an object of type Emits the event. Method System.Int32 Emits the event. a a a Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 Gtk.TreeModelFlags Returns a set of flags supported by this . an object of type The flags are a bitwise combination of . The flags supported should not change during the lifecycle of the . Method 2.12.0.0 System.Void an object of type Calls on each node in model in a depth-first fashion. If func returns , then the tree ceases to be walked, and this method returns. Method 2.12.0.0 GLib.GType a , the column to check Gets the type of data stored in column number . a Method 2.12.0.0 System.Boolean an object of type an object of type Sets to a valid iterator pointing to . an object of type Method 2.12.0.0 System.Boolean an object of type Gets the first iterator in the tree (the one at the path "0") and returns . an object of type Returns if the tree is empty. Method 2.12.0.0 System.Boolean an object of type an object of type Gets the at . an object of type Otherwise, is left invalid and is returned. path_string "0" represent the first node, "1" the second, and so on. path_string "0:0" represent the first child of the first node, "0:1" the second child of the first node, and so on. Method 2.12.0.0 Gtk.TreePath an object of type Gets the of . an object of type Method 2.12.0.0 System.Boolean a , gets filled with the column number that's currently used for sorting a , the current type of sort (ascending or descending) Report on which column is currently being used to sort this TreeStore. a , false if the default sort column for this TreeStore is being used, true if some other sort column is being used. Method 2.12.0.0 System.String a Marshals the given into a path string. a Method 2.12.0.0 System.Void an object of type a , pointer to the va_list data structure of arguments (FIXME: clarify what va_lists look like) Gets the values of child properties for the row pointed to by . Method 2.12.0.0 System.Object a a Gets a value at row and column . a Method 2.12.0.0 System.Void a a a Gets the value of row of column and puts it in . Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.Boolean Find out whether this TreeStore has a default sort function. a , true if there is a default sort function. To set a default sort function, use . Method 2.12.0.0 System.Obsolete("Replaced by InsertNode") Gtk.TreeIter To be added. a Inserts a new row at position . a pointing to the new row. If is larger than the number of rows on the list, then the new row will be appended to the list. The row will be empty before this function is called. To set the value of the new row, use . Method 2.12.0.0 System.Obsolete("Replaced by InsertNode") System.Void an object of type an object of type Creates a new row at . If parent is not , then the row will be made a child of parent. Otherwise, the row will be created at the toplevel. If is larger than the number of rows at that level, then the new row will be inserted to the end of the list. will be changed to point to this new row. The row will be empty after this function is called. To fill in values, you need to call . Method 2.12.0.0 System.Obsolete("Replaced by InsertNodeAfter") Gtk.TreeIter a a Inserts a new row after . a If is , then the row will be prepended to the children of its parent. If parent and sibling are , then the row will be prepended to the toplevel. If both and parent are set, then parent must be the parent of . When is set, parent is optional. Method 2.12.0.0 System.Obsolete("Replaced by InsertNodeAfter") System.Void an object of type an object of type Inserts a new row after . If is , then the row will be prepended to the children of its parent. If parent and sibling are , then the row will be prepended to the toplevel. If both and parent are set, then parent must be the parent of . When is set, parent is optional. Method 2.12.0.0 System.Obsolete("Replaced by InsertNodeBefore") Gtk.TreeIter a a Inserts a new row before . a If is , then the row will be appended to the children of its parent. If parent and sibling are , then the row will be appended to the toplevel. If both and parent are set, then parent must be the parent of . When is set, parent is optional. Method 2.12.0.0 System.Obsolete("Replaced by InsertNodeBefore") System.Void an object of type an object of type Inserts a new row before . If is , then the row will be appended to the children of its parent. If parent and sibling are , then the row will be appended to the toplevel. If both and parent are set, then parent must be the parent of . When is set, parent is optional. Method 2.12.0.0 Gtk.TreeIter a Inserts a root node. a Method 2.12.0.0 Gtk.TreeIter a a Inserts a child of an existing node. a Method 2.12.0.0 Gtk.TreeIter a Inserts a root node after a sibling. a Method 2.12.0.0 Gtk.TreeIter a a Inserts a child of an existing node after a sibling. a Method 2.12.0.0 Gtk.TreeIter a Inserts a root node before a sibling. a Method 2.12.0.0 Gtk.TreeIter a a Inserts a child of an existing node before a sibling. a Method 2.12.0.0 Gtk.TreeIter System.ParamArray Insert position. An array of column values. Inserts a row into the Root node of the store with values. An iter pointing to the added row. The column values provided should be in column order. Method 2.12.0.0 Gtk.TreeIter System.ParamArray Iter of the node to insert into. Insert position. An array of column values. Inserts a child row into a node with values. An iter pointing to the added row. The column values provided should be in column order. Method 2.12.0.0 System.Boolean an object of type an object of type Returns if is an ancestor of . an object of type That is, is the parent (or grandparent or great-grandparent) of . Method 2.12.0.0 System.Boolean an object of type Sets the TreeIter object pointed to by the iter param to point to the first child of this tree. an object of type Method 2.12.0.0 System.Boolean an object of type an object of type Sets to point to the first child of . an object of type If has no children, is returned and is set to be invalid. will remain a valid node after this function has been called. Method 2.12.0.0 System.Int32 an object of type Returns the depth of . an object of type This will be 0 for anything on the root level, 1 for anything down a level, etc. Method 2.12.0.0 System.Boolean an object of type Returns if iter has children, otherwise. an object of type Method 2.12.0.0 System.Boolean a Test whether is valid for this TreeStore. a , true if is valid. WARNING: this method is slow and is only intended for debugging/testing purposes. Method 2.12.0.0 System.Int32 Returns the number of children that the has. an object of type As a special case, if iter is , then the number of toplevel nodes is returned. Method 2.12.0.0 System.Int32 an object of type Returns the number of children that has. an object of type As a special case, if is , then the number of toplevel nodes is returned. Method 2.12.0.0 System.Boolean an object of type Sets to point to the node following it at the current level. an object of type If there is no next iter, is returned and iter is set to be invalid. Method 2.12.0.0 System.Boolean an object of type an object of type Sets to be the child of the root node, using the given index. an object of type In this case, the nth root node is set. Method 2.12.0.0 System.Boolean an object of type an object of type an object of type Sets to be the child of , using the given index. an object of type The first index is 0. If is too big, or has no children, is set to an invalid iterator and is returned. will remain a valid node after this function has been called. Method 2.12.0.0 System.Boolean an object of type an object of type Sets to be the parent of . an object of type If is at the toplevel, and does not have a parent, then is set to an invalid iterator and is returned. will remain a valid node after this function has been called. Method 2.12.0.0 System.Void a a Move the row pointed to by to the position after . If is , will be moved to point to the start of the list. This only works in unsorted stores. Method 2.12.0.0 System.Void a a Move the row pointed to by to the position before . If is , will be moved to point to the end of the list. This only works in unsorted stores. Property 2.12.0.0 System.Int32 Returns the number of columns supported by the . an object of type Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowChanged", Type=typeof(Gtk.TreeStore)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowDeleted", Type=typeof(Gtk.TreeStore)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowHasChildToggled", Type=typeof(Gtk.TreeStore)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowInserted", Type=typeof(Gtk.TreeStore)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowsReordered", Type=typeof(Gtk.TreeStore)) System.Obsolete("Replaced by int[] new_order overload.") System.Void a a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowsReordered", Type=typeof(Gtk.TreeStore)) System.Void Path to the reordered parent node. Iter corresponding to the reordered parent node. An array of the old indices. Default handler for the RowsReordered event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSortColumnChanged", Type=typeof(Gtk.TreeStore)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Obsolete("Replaced by PrependNode") Gtk.TreeIter To be added. Adds a new row to the beginning of the tree. a pointing to the new row. The row will be empty before this function is called. To set the value of the new row, use . Method 2.12.0.0 System.Obsolete("Replaced by PrependNode") System.Void an object of type Prepends a new row to the . It will prepend a row to the top level. will be changed to point to this new row. The row will be empty after this method is called. To fill in values, you need to call . Method 2.12.0.0 Gtk.TreeIter Prepends a root node. a Method 2.12.0.0 Gtk.TreeIter a Prepends a child of an existing node. a Method 2.12.0.0 System.Void an object of type Lets the tree ref the node. This is an optional method for models to implement. To be more specific, models may ignore this call as it exists primarily for performance reasons. This function is primarily meant as a way for views to let caching model know when nodes are being displayed (and hence, whether or not to cache that node.) For example, a file-system based model would not want to keep the entire file-hierarchy in memory, just the sections that are currently being displayed by every current view. A model should be expected to be able to get an iter independent of its referenced state. Method 2.12.0.0 System.Boolean a Removes a row from the store. a After being removed, is set to be the next valid row, or invalidated if it pointed to the last row in the store. Method 2.12.0.0 System.Int32 To be added. Reorders the TreeStore. a . (FIXME: Does this binding work?) Event 2.12.0.0 GLib.Signal("row_changed") Gtk.RowChangedHandler Emitted when a row is in the is changed. Event 2.12.0.0 GLib.Signal("row_deleted") Gtk.RowDeletedHandler Emitted when a row is deleted from the . Method 2.12.0.0 System.Boolean a Returns whether or not a given row can be dragged. A boolean, true if the row is draggable. Method 2.12.0.0 System.Boolean a , potential drop destination a , potential data to be dropped. Tests whether can be dropped on . a , true if drop is allowed Event 2.12.0.0 GLib.Signal("row_has_child_toggled") Gtk.RowHasChildToggledHandler Emitted when a child of a row is toggled. Event 2.12.0.0 GLib.Signal("row_inserted") Gtk.RowInsertedHandler Emitted when a row is inserted into the . Event 2.12.0.0 GLib.Signal("rows_reordered") Gtk.RowsReorderedHandler Emitted when the rows of the are re-ordered. Method 2.12.0.0 System.Obsolete("Replaced by ColumnTypes property.") System.Void a Deprecated method to set what types go in each column of a TreeStore. See Method 2.12.0.0 System.Obsolete("Replaced by DefaultSortFunc property.") System.Void A , the function to use for sorting ignored ignored Sets a function that should be used to be sort columns by default if not otherwise specified by . This method is obsolete. The property is preferred for new code. Method 2.12.0.0 System.Void A , the sort column index. A , the kind of sort to use Sets which column is to be used to sort the data in the tree. Method 2.12.0.0 System.Void A , the index of the column to be sorted A , the function to use for sorting Sets a function that should be used to be sort a particular column. This method is meant to be used together with Method 2.12.0.0 System.Obsolete("Replaced by SetSortFunc (int, TreeIterCompareFunc) overload.") System.Void A , the index of the column to be sorted A , the function to use for sorting ignored ignored Sets a function that should be used to be sort a particular column. This overload is obsolete. The two parameter is preferred for new code. Method 2.12.0.0 System.Void an object of type a , pointer to the va_list data structure of arguments (FIXME: clarify what va_lists look like) Sets the values of child properties for the row pointed to by . Method 2.12.0.0 System.Void an object of type an object of type an object of type Sets the data in the cell specified by and . The type of value must be convertible to the type of the column. Method 2.12.0.0 System.Void a a a Sets the value of the specified column in the row pointed by iter. The type of specified column must be a . Method 2.12.0.0 System.Void a a a Sets the value of the specified column in the row pointed by iter. The type of specified column must be a . Method 2.12.0.0 System.Void a a a Sets the value of the specified column in the row pointed by iter. The type of specified column must be an . Method 2.12.0.0 System.Void a a a Sets the value of the specified column in the row pointed by iter. The type of specified column must be an . Method 2.12.0.0 System.Void a a a Sets the value of the specified column in the row pointed by iter. The type of specified column must be an Method 2.12.0.0 System.Void a a a Sets the value of the specified column in the row pointed by iter. The type of specified column must be a . Method 2.12.0.0 System.Void a a a Sets the value of the specified column in the row pointed by iter. The type of specified column must be an . Method 2.12.0.0 System.Void System.ParamArray Update position. An array of column values to set. Sets the column values of a given row. Event 2.12.0.0 GLib.Signal("sort_column_changed") System.EventHandler Emitted when the sort column of the has changed. Method 2.12.0.0 System.Void a a Swaps rows a and b in the store. This is only works in unsorted stores. Method 2.12.0.0 System.Void an object of type Lets the tree unref the node. This is an optional method for models to implement. To be more specific, models may ignore this call as it exists primarily for performance reasons. For more information on what this means, see . Please note that nodes that are deleted are not unreferenced. gtk-sharp-2.12.40/doc/en/Gtk/Targets.xml0000664000175000017500000001210712767740535014553 00000000000000 gtk-sharp 2.12.0.0 System.Object To be added. To be added. Constructor 2.12.0.0 To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/OnCommandHandler.xml0000664000175000017500000000305312767740535016313 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the OnCommandHandler instance to the event. The methods referenced by the OnCommandHandler instance are invoked whenever the event is raised, until the OnCommandHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/RcPropertyParser.xml0000664000175000017500000000245612767740535016436 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Boolean To be added. To be added. To be added. Delegate class for parsing property values in RC files. To be added. gtk-sharp-2.12.40/doc/en/Gtk/ClipboardGetFunc.xml0000664000175000017500000000250512767740535016316 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added. Delegate for a function to call when getting data from the clipboard. TODO: add example code here gtk-sharp-2.12.40/doc/en/Gtk/IconSet.xml0000664000175000017500000003461112767740535014512 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque A represents a single icon in various sizes and widget states. A represents a single icon in various sizes and widget states. It can provide a for a given size and state on request, and automatically caches some of the rendered objects. Constructor 2.12.0.0 Creates a new . A represents a single icon in various sizes and widget states. It can provide a for a given size and state on request, and automatically caches some of the rendered objects. Constructor 2.12.0.0 a Creates a new with as the default/fallback source image. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Void an object of type Adds an IconSource to the current IconSet. Icon sets have a list of , which they use as base icons for rendering icons in different states and sizes. Icons are scaled, made to look insensitive, etc. in , but needs base images to work with. The base images and when to use them are described by a . This function copies , so you can reuse the same source immediately without affecting the icon set. An example of when you'd use this function: a web browser's "Back to Previous Page" icon might point in a different direction in Hebrew and in English; it might look different when insensitive; and it might change size depending on toolbar mode (small/large icons). So a single icon set would contain all those variants of the icon, and you might add a separate source for each one. You should nearly always add a "default" icon source with all fields wildcarded, which will be used as a fallback if no more specific source matches. always prefers more specific icon sources to more generic icon sources. The order in which you add the sources to the icon set does not matter. This constructor creates a new icon set with a default icon source based on the given pixbuf. Method 2.12.0.0 Gtk.IconSet Copy the IconSet by value. a copy of the current IconSet Method 2.12.0.0 System.Void To be added. To be added. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 System.Obsolete("Gtk.IconSet is now refcounted automatically") Gtk.IconSet Increments the reference count. the IconSet with the incremented reference count Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 Gdk.Pixbuf a associated with widget, or The text direction The widget state The size of the icon widget that will display the icon, or detail to pass to the theme engine, or Renders an icon using a to be displayed Renders an icon using . In most cases, is better, since it automatically provides most of the arguments from the current widget settings. This function never returns ; if the icon can't be rendered (perhaps because an image file fails to load), a default "missing image" icon will be returned instead. Property 2.12.0.0 Gtk.IconSize[] The available icon sizes on this system. a Method 2.12.0.0 System.Obsolete("Gtk.IconSet is now refcounted automatically") System.Void Decrements the reference count Decrements the reference count, and frees memory if the reference count reaches 0. Method 2.12.0.0 System.Void To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/TearoffMenuItem.xml0000664000175000017500000001120612767740535016173 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.MenuItem a menu item used to tear off and reattach its menu. a is a special which is used to tear off and reattach its menu. When its menu is shown normally, the is drawn as a dotted line indicating that the menu can be torn off. Activating it causes its menu to be torn off and displayed in its own window as a tearoff menu. When its menu is shown as a tearoff menu, the is drawn as a dotted line which has a left pointing arrow graphic indicating that the tearoff menu can be reattached. Activating it will erase the tearoff menu window. Constructor 2.12.0.0 Creates a new Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gtk/TreeModelFilterModifyFunc.xml0000664000175000017500000000407412767740535020160 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added. To be added. Delegate class for methods to modify a tree. Used primarily as a parameter for . See that method's documentation for more details. gtk-sharp-2.12.40/doc/en/Gtk/CellLayout.xml0000664000175000017500000002570712767740535015231 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.IWrapper Manages layout for table cells. Method 2.12.0.0 System.Void a a a Adds an attribute mapping to the list for this cell layout. The is the column of the model to get a value from, and the is the parameter on to be set from the value. So for example if column 2 of the model contains strings, you could have the "text" attribute of a get its values from column 2. Property 2.12.0.0 Gtk.CellRenderer[] To be added. To be added. To be added. Method 2.12.0.0 System.Void Unsets all the mappings on all renderers for this cell layout. Method 2.12.0.0 System.Void a Clears all existing attributes previously set with . Method 2.12.0.0 System.Void a a , TRUE if is to be given extra space allocated to this cell layout. Adds the to the end of the cell layout. If is FALSE, then the cell is allocated no more space than it needs. Any unused space is divided evenly between cells for which is TRUE. Method 2.12.0.0 System.Void a a , TRUE if is to be given extra space allocated to this cell layout. Packs into the beginning of the cell layout. If is FALSE, then the cell is allocated no more space than it needs. Any unused space is divided evenly between cells for which is TRUE. Method 2.12.0.0 System.Void a a Re-inserts at . Note that has already to be packed into the cell layout for this to function properly. Method 2.12.0.0 System.Void a a Sets the attribute to model column bindings for a renderer. The array should consist of pairs of attribute names and column indices. Method 2.12.0.0 System.Void a a Sets up a data function for this layout. The data function is used instead of the standard attributes mapping for setting the column value, and should set the value of the layout's cell renderer(s) as appropriate. may be to remove an older one. gtk-sharp-2.12.40/doc/en/Gtk/PageReorderedArgs.xml0000664000175000017500000000446412767740535016476 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Arguments for events. Constructor 2.12.0.0 Public constructor. Property 2.12.0.0 Gtk.Widget Reordered widget. a . Property 2.12.0.0 System.UInt32 Index of reordered widget. a . gtk-sharp-2.12.40/doc/en/Gtk/PrefixInsertedArgs.xml0000664000175000017500000000550312767740535016714 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.String To be added a To be added gtk-sharp-2.12.40/doc/en/Gtk/AddedHandler.xml0000664000175000017500000000300112767740535015432 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the AddedHandler instance to the event. The methods referenced by the AddedHandler instance are invoked whenever the event is raised, until the AddedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/DragEndHandler.xml0000664000175000017500000000302612767740535015744 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DragEndHandler instance to the event. The methods referenced by the DragEndHandler instance are invoked whenever the event is raised, until the DragEndHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/ItemActivatedArgs.xml0000664000175000017500000000547512767740535016514 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.TreePath To be added a To be added gtk-sharp-2.12.40/doc/en/Gtk/SizeAllocatedHandler.xml0000664000175000017500000000313612767740535017165 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SizeAllocatedHandler instance to the event. The methods referenced by the SizeAllocatedHandler instance are invoked whenever the event is raised, until the SizeAllocatedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/DragMotionHandler.xml0000664000175000017500000000307212767740535016504 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DragMotionHandler instance to the event. The methods referenced by the DragMotionHandler instance are invoked whenever the event is raised, until the DragMotionHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/TreeNodeAttribute.xml0000664000175000017500000001053712767740535016540 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Attribute System.AttributeUsage(System.AttributeTargets.Class) An attribute to specify tree node information of a class. This attribute can be applied to a class which implements the interface to provide additional information about the node type to the which will contain the nodes. In the following example, the class MyTreeNode is tagged as a tree node with 3 columns: [TreeNode(ColumnCount=3)] public class MyTreeNode : ITreeNode { ... } In the following example, the class MyListNode is tagged as a node with 2 columns and no child nodes: [TreeNode(ColumnCount=2, ListOnly=true)] public class MyListNode : ITreeNode { ... } Constructor 2.12.0.0 TreeNodeAttribute constructor Instantiates a Property 2.12.0.0 System.Obsolete("This is no longer needed; it gets detected by Gtk#") System.Int32 ColumnCount named value. a Specifies the number of columns the node exposes. A should be added to each of the properties of the class which represent the individual column values. Property 2.12.0.0 System.Boolean ListOnly named value. a Specifies if the node can have children. For list views, this tells the NodeStore that it is non-hierarchical and it can expose flags so that the NodeView doesn't include space for expanders in the column layout. gtk-sharp-2.12.40/doc/en/Gtk/ScaleButton.xml0000664000175000017500000001710312767740535015366 00000000000000 gtk-sharp 2.12.0.0 Gtk.Button To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("adjustment") Gtk.Adjustment To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("icons") System.String[] To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideValueChanged", Type=typeof(Gtk.ScaleButton)) System.Void To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("size") Gtk.IconSize To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("value") System.Double To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("value-changed") Gtk.ValueChangedHandler To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/CellRendererState.xml0000664000175000017500000001006512767740535016512 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.CellRendererStateGType)) System.Flags Tells how a cell is to be rendered. Field 2.12.0.0 Gtk.CellRendererState The cell currently has the keyboard focus. Field 2.12.0.0 Gtk.CellRendererState The cell is drawn in an insensitive manner. Field 2.12.0.0 Gtk.CellRendererState The mouse is hovering over the cell. Field 2.12.0.0 Gtk.CellRendererState The cell is currently selected, and probably has a selection colored background to render to. Field 2.12.0.0 Gtk.CellRendererState The cell is in a sorted row. gtk-sharp-2.12.40/doc/en/Gtk/RcProperty.xml0000664000175000017500000002534512767740535015263 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType For internal use only. Do not use. GTK+ allows style properties to be attached to styles. Because style properties can be loaded in from configuration files, theme authors can change the look and feel of the UI without writing their own theme engine code. Method 2.12.0.0 Gtk.RcProperty An object of type 'IntPtr', a pointer to the underlying C object. Constructor for internal use. A new . Intended only for internal use; not for general developer use. Field 2.12.0.0 System.String The origin/source of the property. Should be "filename:linenumber" for RC files, or something like "XProperty" for other sources. Method 2.12.0.0 System.Boolean a a a Internal. Do not use. a Method 2.12.0.0 System.Boolean a a a Internal. Do not use. a Method 2.12.0.0 System.Boolean a a a Internal. Do not use. a Method 2.12.0.0 System.Boolean a a a Internal. Do not use. a Method 2.12.0.0 System.Boolean a a a a Field 2.12.0.0 System.Int32 The name of the property. Field 2.12.0.0 System.Int32 The type of this property. Field 2.12.0.0 GLib.Value The value of the property. Field 2.12.0.0 Gtk.RcProperty Initialize a new, empty object. gtk-sharp-2.12.40/doc/en/Gtk/PaginateHandler.xml0000664000175000017500000000255012767740535016171 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PaginateHandler instance to the event. The methods referenced by the PaginateHandler instance are invoked whenever the event is raised, until the PaginateHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/Selection.xml0000664000175000017500000002761612767740535015102 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Object to represent a selection. Constructor 2.12.0.0 Public constructor. Method 2.12.0.0 System.Void a , the widget for which this target applies a , the selection data a a Add the specified target to the list of supported targets for this selection. TODO: this could be better-explained. Method 2.12.0.0 System.Void a a a a Add targets for this widget. Method 2.12.0.0 System.Obsolete System.Boolean a a The default handler for the event. Instead of calling this function, chain up from your . Calling this function from any other context is illegal. a , true if the event was handled, otherwise false This function will be deprecated in future versions of GTK+ and GTK#. Method 2.12.0.0 System.Void a a representing the selection. Remove all targets registered for the given selection for the widget. Method 2.12.0.0 System.Boolean a , the requesting widget a , the selection to get a , the form of the information ("STRING" for example) (TODO: elaborate possible options) a , the time the request is being made Request the contents of a selection. When received, a event will be generated. a , true if the request succeeded, false if it couldn't be processed. Method 2.12.0.0 System.Boolean a or a representing the selection to claim. a , a timestamp to use in claiming the selection. Claims ownership of a given selection for a particular widget, or if is , release ownership of the selection. a , true if the operation succeeded. Method 2.12.0.0 System.Boolean a , the display where the selection is set. a or a representing the selection to claim. a , a timestamp to use in claiming the selection. Claims ownership of a given selection on a given display for a particular widget, or if is , release ownership of the selection. a , true if the operation succeeded. Method 2.12.0.0 System.Void a Removes all handlers and unsets ownership of all selections for a widget. Called when widget is being destroyed. gtk-sharp-2.12.40/doc/en/Gtk/AccelLabel.xml0000664000175000017500000002061312767740535015112 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Label A widget that displays an accelerator key on the right of the text. The widget is a subclass of that also displays an accelerator key on the right of the label text. The widget is commonly used in menus to show the keyboard shortcuts for commands. The accelerator key to display is not set explicitly instead, the displays the accelerators which have been added to a particular widget. This widget is set by calling . Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 The accelerator label. Creates an accelerator label. Property 2.12.0.0 GLib.Property("accel-closure") System.IntPtr Sets the closure to be monitored by this accelerator label. A Sets the closure to be monitored by this accelerator label. The closure must be connected to an accelerator group. See . Property 2.12.0.0 GLib.Property("accel-widget") Gtk.Widget Fetches the widget monitored by this accelerator label. The object monitored by the accelerator label, or Fetches the widget monitored by this accelerator label. Property 2.12.0.0 System.UInt32 Returns the width needed to display the accelerator key(s). The width needed to display the accelerator key(s) Returns the width needed to display the accelerator key(s). This is used by menus to align all of the widgets, and shouldn't be needed by applications. Property 2.12.0.0 GLib.GType The GLib Type assigned to this class. a Used internally. Method 2.12.0.0 System.Boolean Recreates the string representing the accelerator keys. Default, since the strings are updated this is not needed Recreates the string representing the accelerator keys. This should not be needed since the string is automatically updated whenever accelerators are added or removed from the associated widget. gtk-sharp-2.12.40/doc/en/Gtk/TestCollapseRowHandler.xml0000664000175000017500000000317012767740535017532 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the TestCollapseRowHandler instance to the event. The methods referenced by the TestCollapseRowHandler instance are invoked whenever the event is raised, until the TestCollapseRowHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/ImageMenuItem.xml0000664000175000017500000001663712767740535015644 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.MenuItem A with an icon. is a which has an icon next to the text label. Note that the user can disable display of menu icons, so make sure to still fill in the text label. //How to add MenuBar with a Quit stock MenuItem ... Window win; //if your class derive from Window then call this. istead of win. MenuBar menuBar ... AccelGroup grup = new AccelGroup (); win.AddAccelGroup(grup); menuFile = new Menu (); ImageMenuItem quit_item = new ImageMenuItem(Stock.Quit, group); quit_item.AddAccelerator("activate", grup, new AccelKey( Gdk.Key.q, Gdk.ModifierType.ControlMask, AccelFlags.Visible)); //OnMenuFileQuit is the Method runned when the event is trigged quit_item.Activated += new EventHandler (OnMenuFileQuit); menuFile.Append(quit_item); MenuItem file_item = new MenuItem("_File"); file_item.Submenu = menuFile; menuBar.Append(file_item); Constructor 2.12.0.0 Creates a new . Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 an object of type Creates a new containing a label. Constructor 2.12.0.0 an object of type an object of type Creates a new containing the image and text from a stock item. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("image") Gtk.Widget Child widget to appear next to the menu text. an object of type gtk-sharp-2.12.40/doc/en/Gtk/ObjectDeleteHandler.xml0000664000175000017500000000166212767740535016775 00000000000000 gtkhtml-sharp 3.16.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/RecentChooser.xml0000664000175000017500000004057112767740535015713 00000000000000 gtk-sharp 2.12.0.0 GLib.IWrapper To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Property 2.12.0.0 Gtk.RecentInfo To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 Gtk.RecentFilter To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Event 2.12.0.0 System.EventHandler To be added. To be added. Property 2.12.0.0 GLib.List To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Method 2.12.0.0 GLib.SList To be added. To be added. To be added. Property 2.12.0.0 System.Boolean To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Event 2.12.0.0 System.EventHandler To be added. To be added. Property 2.12.0.0 System.Boolean To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Boolean To be added. To be added. To be added. Property 2.12.0.0 System.Boolean To be added. To be added. To be added. Property 2.12.0.0 System.Boolean To be added. To be added. To be added. Property 2.12.0.0 System.Boolean To be added. To be added. To be added. Property 2.12.0.0 System.Boolean To be added. To be added. To be added. Property 2.12.0.0 Gtk.RecentSortFunc To be added. To be added. To be added. Property 2.12.0.0 Gtk.RecentSortType To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/HTMLStream.xml0000664000175000017500000002251712767740535015070 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque Handles streaming I/O for . TODO: needs examples. Constructor 3.16.0.0 a , the underlying C objject. Constructor for internal use only. Do not use. Constructor 3.16.0.0 a a a a Constructor. Method 3.16.0.0 System.Void A Close the stream. Method 3.16.0.0 System.Void Destroy the stream object and dispose of the memory it uses. Method 3.16.0.0 Gtk.HTMLStream A A To be added A Property 3.16.0.0 System.String To be added A Method 3.16.0.0 System.Int32 A A To be added A Method 3.16.0.0 System.Void A Writes the HTML out to Method 3.16.0.0 System.Void a a Write the HTML to . Use the ulong size overload instead for 64 bit deployments. Method 3.16.0.0 System.Void a a Write the HTML to . gtk-sharp-2.12.40/doc/en/Gtk/TextPoppedHandler.xml0000664000175000017500000000246512767740535016542 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. An event that is raised when messages are popped from the message stack of a . This event passes data to its handlers with the class. gtk-sharp-2.12.40/doc/en/Gtk/IconLookupFlags.xml0000664000175000017500000001060612767740535016203 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.IconLookupFlagsGType)) System.Flags Used to specify options for Field 2.12.0.0 Gtk.IconLookupFlags Return SVG icons, even if gdk-pixbuf does not support them. Cannot be used together with . Field 2.12.0.0 Gtk.IconLookupFlags To be added. Field 2.12.0.0 Gtk.IconLookupFlags Never return SVG icons, even if gdk-pixbuf supports them. Cannot be used together with . Field 2.12.0.0 Gtk.IconLookupFlags When passed to includes builtin icons as well as files. For a builtin icon, returns and you need to call . gtk-sharp-2.12.40/doc/en/Gtk/CheckMenuItem.xml0000664000175000017500000003024712767740535015630 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.MenuItem A menu item with a check box. A CheckMenuItem is a menu item that maintains the state of a boolean value in addition to a 's usual role in activating application code. A check box indicating the state of the boolean value is displayed at the left side of the . Activating the toggles the value. Whether the CheckMenuItem is 'on' or not can be determined with the property. Constructor 2.12.0.0 Creates a CheckMenuItem with no label Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 The text to appear on the menu item. Create a new CheckMenuItem with the specified . The text label will be created using , so underscores in the label indicate the mnemonic for the menu item. Property 2.12.0.0 GLib.Property("active") System.Boolean The 'active' state of the CheckMenuItem Property 2.12.0.0 GLib.Property("draw-as-radio") System.Boolean Whether the menu item looks like a radio menu item. a Method 2.12.0.0 System.Void Fires the event. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("inconsistent") System.Boolean Manages whether the CheckMenuItem is in the 'inconsistent' state. if this CheckMenuItem is in the inconsistent state, otherwise. If the user has selected a range of elements (such as some text or spreadsheet cells) that are affected by a boolean setting, and the current values in that range are inconsistent, you may want to display the check in an "in between" state. This property turns on "in between" display. Normally you would turn off the inconsistent state again if the user explicitly selects a setting. This has to be done manually, this property only affects visual appearance, it doesn't affect the semantics of the widget. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideToggled", Type=typeof(Gtk.CheckMenuItem)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 2.12.0.0 System.Obsolete System.Boolean Whether this menu item can be toggled. a Method 2.12.0.0 System.Void Toggles the state of the check box between active and inactive. Event 2.12.0.0 GLib.Signal("toggled") System.EventHandler An event that is raised whenever the state of the CheckMenuItem is toggled. Connect to this event with a standard . gtk-sharp-2.12.40/doc/en/Gtk/MoveSliderArgs.xml0000664000175000017500000000447512767740535016041 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.ScrollType The kind of scrolling that was done in the triggering event. A gtk-sharp-2.12.40/doc/en/Gtk/TooltipsData.xml0000664000175000017500000001734412767740535015561 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType System.Obsolete The data needed for a object. Method 2.12.0.0 Gtk.TooltipsData an object of type Gets the associated with . an object of type Method 2.12.0.0 Gtk.TooltipsData an object of type Creates a new TooltipsData object. an object of type This is not typically used directly by applications. Field 2.12.0.0 System.String A string that is not shown as the default tooltip. Instead, this message may be more informative and go towards forming a context-sensitive help system for your application. (FIXME: how to actually "switch on" private tips?) Field 2.12.0.0 System.String A string containing the tooltip message. Property 2.12.0.0 System.Obsolete("Replaced by Tooltips property.") Gtk.Tooltips Generates a Tooltips object out of this data. an object of type To be added. Property 2.12.0.0 Gtk.Tooltips To be added. To be added. To be added. Property 2.12.0.0 System.Obsolete("Replaced by Widget property.") Gtk.Widget The that this is associated with. an object of type Property 2.12.0.0 Gtk.Widget To be added. To be added. To be added. Field 2.12.0.0 Gtk.TooltipsData A with default values. gtk-sharp-2.12.40/doc/en/Gtk/ClipboardImageReceivedFunc.xml0000664000175000017500000000330112767740535020263 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added To be added gtk-sharp-2.12.40/doc/en/Gtk/TreeModelFilter.xml0000664000175000017500000021717412767740535016203 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Gtk.TreeDragSource Gtk.TreeModel An object designed to filter the contents of a column or columns in a for display. using System; using Gtk; public class MyWindow : Window { TreeView view; TreeModelFilter filter; Entry search; static void Main () { Application.Init (); new MyWindow (); Application.Run (); } public MyWindow () : base ("MyWindow") { this.SetDefaultSize (400, 300); this.DeleteEvent += new DeleteEventHandler (OnMyWindowDelete); view = new TreeView (); view.AppendColumn ("test", new CellRendererText (), "text", 0); TreeStore store = new TreeStore (typeof (string)); string[] names = new string[] {"bob", "joe", "joseph", "frank"}; foreach (string name in names) store.AppendValues (name); view.Model = store; filter = new TreeModelFilter (store, null); filter.VisibleFunc = SearchFilterFunc; VBox vbox = new VBox (false, 6); search = new Entry (); search.Activated += OnSearch; Label l = new Label ("Search:"); l.Xalign = 0.0f; vbox.PackStart (l, false, true, 0); vbox.PackStart (search, false, true, 0); vbox.PackStart (view, true, true, 0); this.Add (vbox); this.ShowAll (); } bool SearchFilterFunc (TreeModel model, TreeIter iter) { // no search term, show all if (search.Text.Trim ().Length < 1) return true; string t = (string) model.GetValue (iter, 0); return t.StartsWith (search.Text.Trim ()); } void OnSearch (object sender, EventArgs a) { view.Model = filter; filter.Refilter (); } void OnMyWindowDelete (object sender, DeleteEventArgs a) { Application.Quit (); a.RetVal = true; } } Constructor 2.12.0.0 System.Obsolete a Basic constructor. Constructor 2.12.0.0 a , pointer to the underlying C object. Constructor. For internal use. Constructor 2.12.0.0 a , the model this object is to filter a , the node to use as the model's root node, pass null to use the entire child tree model. Constructor Property 2.12.0.0 GLib.Property("child-model") Gtk.TreeModel Child tree data model. a Method 2.12.0.0 System.Void This function should almost never be called. This function clears the filter of any cached iterators that haven't been reffed with . This might be useful if the child model being filtered is static (and doesn't change often) and there has been a lot of unreffed access to nodes. As a side effect of this function, all unreffed iterators will be invalid. Added in GTK 2.4. Method 2.12.0.0 Gtk.TreeIter a Sets the filter's iterator to point to the row that corresponds to . a Method 2.12.0.0 Gtk.TreePath a Converts to a path relative to this filter. a or . points to a path in the child model. The returned path will point to the same row in the filtered model. If isn't a valid path on the child model, then is returned. Method 2.12.0.0 Gtk.TreeIter a Returns a new iterator that points to the row pointed to by . a Method 2.12.0.0 Gtk.TreePath a Converts to a path on the child model of this filter. a points to a location in this filter. The returned path will point to the same location in the model not being filtered. If does not point to a location in the child model, is returned. Method 2.12.0.0 System.Boolean a , the path of the row that was dragged This method asks the source row for the dragged data to delete itself, because that data has been moved elsewhere. a This method returns FALSE if the deletion fails because path no longer exists, or for some other model-specific reason. Method 2.12.0.0 System.Boolean a a object to fill with data Asks the to fill in with a representation of the row at . Should robustly handle a path no longer found in the model. A see cref="T:System.Boolean" />; true if data of the required type was provided. Method 2.12.0.0 System.Void a , points to the changed row a , points to the changed row Emits an event for . Method 2.12.0.0 System.Void a Emits an event for . Method 2.12.0.0 System.Void a , points to the changed row a , points to the changed row Emits an event for . This should be called by models after the child state of a node changes. Method 2.12.0.0 System.Void a a , points to the inserted row. Emits an event for . Method System.Int32 Emits an event for . a a a Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 Gtk.TreeModelFlags Flag values for this tree model; see for possible values. a Method 2.12.0.0 System.Void a Calls a function on each row of a tree. Method 2.12.0.0 GLib.GType a Gets the data type stored in the column at . a Method 2.12.0.0 System.Boolean an object of type an object of type Sets to a valid iterator pointing to . an object of type Method 2.12.0.0 System.Boolean an object of type Gets the first iterator in the tree (the one at the path "0") and returns . an object of type Returns if the tree is empty. Method 2.12.0.0 System.Boolean an object of type an object of type Gets the at . an object of type Otherwise, is left invalid and is returned. Method 2.12.0.0 Gtk.TreePath an object of type Gets the of . an object of type Method 2.12.0.0 System.String a Generates a string representation of the path of . a This string is a ':' separated list of numbers. For example, "4:10:0:3" would be an acceptable return value for this string. Method 2.12.0.0 System.Void a a , pointer to the va_list data structure of arguments (FIXME: clarify what va_lists look like) Gets the values of child properties for the row pointed to by Method 2.12.0.0 System.Object a a Sets the value of column in the row pointed to by to if the value is a . a Method 2.12.0.0 System.Void a a To be added. Gets the value stored in column of the row pointed to by . Property 2.12.0.0 GLib.GType The of this object. a Method 2.12.0.0 System.Boolean an object of type Sets the TreeIter object pointed to by to point to the first child of this tree. an object of type , true if the iter has been set to the first child. Method 2.12.0.0 System.Boolean an object of type To be added. Sets the TreeIter object pointed to by to point to the first child of this tree. an object of type , true if the iter has been set to the first child. Method 2.12.0.0 System.Boolean an object of type Returns if has children, otherwise. an object of type Method 2.12.0.0 System.Int32 Returns the number of children that has. an object of type As a special case, if is , then the number of toplevel nodes is returned. Method 2.12.0.0 System.Int32 an object of type Returns the number of children that has. an object of type As a special case, if is , then the number of toplevel nodes is returned. Method 2.12.0.0 System.Boolean a Gets the next row to be filtered. a Method 2.12.0.0 System.Boolean an object of type an object of type Sets to be the child of the root node, using the given index. an object of type In this case, the nth root node is set. Method 2.12.0.0 System.Boolean an object of type To be added. an object of type Sets to be the child of the root node, using the given index. an object of type In this case, the nth root node is set. Method 2.12.0.0 System.Boolean an object of type an object of type Sets to be the parent of . an object of type If is at the toplevel, and does not have a parent, then is set to an invalid iterator and is returned. will remain a valid node after this function has been called. Property 2.12.0.0 Gtk.TreeModel Gets the this filter is being applied to. a Property 2.12.0.0 System.Int32 The number of columns in the model. a Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowChanged", Type=typeof(Gtk.TreeModelFilter)) System.Void a a Emits the "row_changed" signal for this model. This should be called by models when their rows have been reordered. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowDeleted", Type=typeof(Gtk.TreeModelFilter)) System.Void a Emits the signal for this model. This should be called by models when their rows have been reordered. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowHasChildToggled", Type=typeof(Gtk.TreeModelFilter)) System.Void a a Emits the signal for this model. This should be called by models when a row's child has been toggled on or off. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowInserted", Type=typeof(Gtk.TreeModelFilter)) System.Void a a Emits the signal for this model. This should be called by models when a row has been inserted. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowsReordered", Type=typeof(Gtk.TreeModelFilter)) System.Obsolete("Replaced by int[] new_order overload.") System.Void a pointing to the tree node whose children have been reordered a pointing to the tree node whose children have been reordered a , an array of integers containing the new indices of the children, i.e. the former child n is now at position new_order[n]. Emits the "rows_reordered" signal for this tree model. This should be called by models when their rows have been reordered. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowsReordered", Type=typeof(Gtk.TreeModelFilter)) System.Void Path to the reordered parent node. Iter corresponding to the reordered parent node. An array of the old indices. Default handler for the RowsReordered event. Method 2.12.0.0 System.Void Emits for each row in the child model, which causes the filter to re-evaluate whether a row is visible or not. Added in GTK 2.4. Method 2.12.0.0 System.Void an object of type Lets the tree ref the node. This is an optional method for models to implement. To be more specific, models may ignore this call as it exists primarily for performance reasons. This function is primarily meant as a way for views to let caching models know when nodes are being displayed (and hence, whether or not to cache that node.) For example, a file-system based model would not want to keep the entire file-hierarchy in memory, just the sections that are currently being displayed by every current view. A model should be expected to be able to get an iter independent of its referenced state. Event 2.12.0.0 GLib.Signal("row_changed") Gtk.RowChangedHandler Event that happens when a row in the model is changed. Event 2.12.0.0 GLib.Signal("row_deleted") Gtk.RowDeletedHandler Event that happens when a row is deleted. Method 2.12.0.0 System.Boolean a , the row being checked Checks to see whether a given row can be used as a source for a drag-and-drop operation. a , TRUE if the row is draggable. If the object does not implement this method, the row is assumed to be draggable. Event 2.12.0.0 GLib.Signal("row_has_child_toggled") Gtk.RowHasChildToggledHandler Event that happens when a row's child visibility is turned on or off. Event 2.12.0.0 GLib.Signal("row_inserted") Gtk.RowInsertedHandler Event that happens when a row is inserted. Event 2.12.0.0 GLib.Signal("rows_reordered") Gtk.RowsReorderedHandler Event that happens when rows in the model change order. Method 2.12.0.0 System.Void a an array of a Sets a function to modify the display of the model. With the and parameters, you give an array of column types for this model (which will be exposed to the parent model/view). The modify function, , will get called for each data access; the goal of the modify function is to return the data which should be displayed at the location specified using the parameters of the modify function. Method 2.12.0.0 System.Void a a a Sets the value of column in the row pointed to by to if the value is a boolean. Method 2.12.0.0 System.Void a a a Sets the value of column in the row pointed to by to if the value is a . Method 2.12.0.0 System.Void a a a Sets the value of column in the row pointed to by to if the value is a . Method 2.12.0.0 System.Void a a a Sets the value of column in the row pointed to by to if the value is a . Method 2.12.0.0 System.Void a a a Sets the value of column in the row pointed to by to if the value is a . Method 2.12.0.0 System.Void a a a Sets the value of column in the row pointed to by to if the value is a . Method 2.12.0.0 System.Void a a a Sets the value of column in the row pointed to by to if the value is a . Method 2.12.0.0 System.Void a Decrements the reference count for the node at . Property 2.12.0.0 GLib.Property("virtual-root") Gtk.TreePath The virtual root (relative to the child model) for this object. a Property 2.12.0.0 System.Int32 The column of the model where this filter should look for visibility information. a Property 2.12.0.0 Gtk.TreeModelFilterVisibleFunc The function used to determine whether or not a row should be visible a gtk-sharp-2.12.40/doc/en/Gtk/StyleSetHandler.xml0000664000175000017500000000304212767740535016212 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the StyleSetHandler instance to the event. The methods referenced by the StyleSetHandler instance are invoked whenever the event is raised, until the StyleSetHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/PreActivateHandler.xml0000664000175000017500000000416712767740535016656 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PreActivateHandler instance to the event. The methods referenced by the PreActivateHandler instance are invoked whenever the event is raised, until the PreActivateHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/ReliefStyle.xml0000664000175000017500000000527412767740535015400 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.ReliefStyleGType)) This enumeration provides the possible values for the relief style for a . Field 2.12.0.0 Gtk.ReliefStyle Value for a partial relief style. Field 2.12.0.0 Gtk.ReliefStyle Value for a not using relief. Field 2.12.0.0 Gtk.ReliefStyle Value for a normal relief style. gtk-sharp-2.12.40/doc/en/Gtk/PrintOperationPreviewImplementor.xml0000664000175000017500000000614612767740535021703 00000000000000 gtk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Gtk.PrintOperationPreviewAdapter)) PrintOperationPreview implementor interface. The implementable portion of the interface. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/Plug.xml0000664000175000017500000002761112767740535014057 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Window Toplevel for embedding into other processes. Together with , provides the ability to embed widgets from one process into another process in a fashion that is transparent to the user. One process creates a widget and, passes the ID of that widgets window to the other process, which then creates a with that window ID. Any widgets contained in the then will appear inside the first applications window. Constructor 2.12.0.0 Protected constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 an object of type Creates a new widget inside the identified by socket_id. Creates a new widget inside the identified by socket_id. If socket_id is 0, the is left "unplugged" and can later be plugged into a by . Constructor 2.12.0.0 a a , the ID of the socket to connect to on . Public constructor. Method 2.12.0.0 System.Void an object of type Finish the initialization of for a given identified by socket_id. Finish the initialization of for a given identified by socket_id which is currently displayed on display. This method will generally only be used by classes deriving from . Method 2.12.0.0 System.Void a a Finish the initialization of the plug identified by which is currently displayed on . This method will generally only be used by derived classes. Event 2.12.0.0 GLib.Signal("embedded") System.EventHandler Raised when the plug window is reparented to the socket window. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.UInt32 Gets the window ID of a widget. an object of type Gets the window ID of a widget, which can then be used to embed this window inside another window, for instance with . Property 2.12.0.0 GLib.Property("embedded") System.Boolean IsEmbedded property. If , the plus is embedded in a socket. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideEmbedded", Type=typeof(Gtk.Plug)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. gtk-sharp-2.12.40/doc/en/Gtk/Viewport.xml0000664000175000017500000003110412767740535014757 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Bin A that allows a scrollable view of its child when added to a . To scroll correctly, a ordinarily requires explicit support from the that will be scrolled. However, a Viewport adds scrolling capabilities to an arbitrary child widget. For example, you can add a collection of widgets to a container. By simply placing the in a Viewport, you need only add the Viewport to a to visually scroll the contents of your Table. The "model" of this widget consists of horizontal and vertical objects. These do not need to be explicitly set to use the Viewport. Packing a child widget as demonstrated in the example, below, is all that is required. The appearance of the Viewport can be adjusted using the property. The following example creates a in a Viewport. When placed in a small , the widgets can be scrolled. namespace GtkSamples { using Gtk; using System; public class ViewportApp { public static ScrolledWindow CreateViewport() { ScrolledWindow scroller = new ScrolledWindow(); Viewport viewer = new Viewport(); Table widgets = new Table(1, 2, false); widgets.Attach(new Entry("This is example Entry 1"), 0, 1, 0, 1); widgets.Attach(new Entry("This is example Entry 2"), 1, 2, 0, 1); // Place the widgets in a Viewport, and the Viewport in a ScrolledWindow viewer.Add(widgets); scroller.Add(viewer); return scroller; } public static int Main (string[] args) { Application.Init (); Window win = new Window ("Viewport Tester"); win.SetDefaultSize (180, 50); win.DeleteEvent += new DeleteEventHandler (Window_Delete); ScrolledWindow scroller = CreateViewport(); win.Add (scroller); win.ShowAll (); Application.Run (); return 0; } static void Window_Delete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } } } Constructor 2.12.0.0 The main way to create a Viewport. Horizontal and vertical objects are automatically created. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 An to model horizontal viewing. An to model vertical viewing. Creates a new Viewport with the specified horizontal and vertical Adjustments. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("hadjustment") Gtk.Adjustment Manage the horizontal model. The current state of the horizontal model Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideScrollAdjustmentsSet", Type=typeof(Gtk.Viewport)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Event 2.12.0.0 GLib.Signal("set_scroll_adjustments") Gtk.ScrollAdjustmentsSetHandler This event is raised when the or properties are set. Property 2.12.0.0 GLib.Property("shadow-type") Gtk.ShadowType Manage the shadow style surrounding the Viewport contents. The current shadow style surrounding the child widget. Property 2.12.0.0 GLib.Property("vadjustment") Gtk.Adjustment Manage the vertical model. The current state of the vertical model. gtk-sharp-2.12.40/doc/en/Gtk/Table+TableChild.xml0000664000175000017500000001744512767740535016172 00000000000000 gtk-sharp 2.12.0.0 Gtk.Container+ContainerChild A child of a , used to interact with its container child properties. Constructor 2.12.0.0 To be added. To be added. To be added. To be added. Property 2.12.0.0 Gtk.ChildProperty("bottom-attach") System.UInt32 The table row that the bottom of this child is attached to the row Property 2.12.0.0 Gtk.ChildProperty("left-attach") System.UInt32 The table column that the left side of this child is attached to the column Property 2.12.0.0 Gtk.ChildProperty("right-attach") System.UInt32 The table column that the right side of this child is attached to the column Property 2.12.0.0 Gtk.ChildProperty("top-attach") System.UInt32 The table row that the top of this child is attached to the row Property 2.12.0.0 Gtk.ChildProperty("x-options") Gtk.AttachOptions The child's vertical attachment options the Property 2.12.0.0 Gtk.ChildProperty("x-padding") System.UInt32 The horizontal padding for this child the padding Property 2.12.0.0 Gtk.ChildProperty("y-options") Gtk.AttachOptions The child's vertical attachment options the Property 2.12.0.0 Gtk.ChildProperty("y-padding") System.UInt32 The vertical padding for this child the padding gtk-sharp-2.12.40/doc/en/Gtk/DestroyEventHandler.xml0000664000175000017500000000312212767740535017070 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DestroyEventHandler instance to the event. The methods referenced by the DestroyEventHandler instance are invoked whenever the event is raised, until the DestroyEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/MoveFocusArgs.xml0000664000175000017500000000542312767740535015670 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs System.Obsolete("Events using this type were replaced by Gtk.Widget keybinding signal") Event data. The following events invoke delegates which pass event data via this class: Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.DirectionType The direction to move the focus. a gtk-sharp-2.12.40/doc/en/Gtk/PrepareArgs.xml0000664000175000017500000000400712767740535015355 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.Widget The current Page. The to be prepared before showing. gtk-sharp-2.12.40/doc/en/Gtk/HTMLPrintCallback.xml0000664000175000017500000000321512767740535016340 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added. To be added. To be added. To be added. Delegate for printing page framing elements. Used to print headers and footers in . gtk-sharp-2.12.40/doc/en/Gtk/ShadowType.xml0000664000175000017500000000757112767740535015242 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.ShadowTypeGType)) Used to change the appearance of an outline typically provided by a . Field 2.12.0.0 Gtk.ShadowType The outline itself is an inward bevel, but the frame is an outward bevel. Field 2.12.0.0 Gtk.ShadowType The outline itself is an outward bevel, but the frame is an inward bevel. Field 2.12.0.0 Gtk.ShadowType The outline is bevelled inwards. Field 2.12.0.0 Gtk.ShadowType No outline. Field 2.12.0.0 Gtk.ShadowType The outline is bevelled outwards like a button. gtk-sharp-2.12.40/doc/en/Gtk/CurrentParagraphStyleChangedArgs.xml0000664000175000017500000000474712767740535021535 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 3.16.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 3.16.0.0 Gtk.HTMLParagraphStyle The new style that was set. a gtk-sharp-2.12.40/doc/en/Gtk/Invisible.xml0000664000175000017500000001305212767740535015066 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Widget The widget is used for reliable pointer grabs and selection handling in the code for drag-and-drop. Used internally in GTK+, and is probably not useful for application developers. Constructor 2.12.0.0 Constructor. Constructor 2.12.0.0 a Public Constructor Used to create a new for a specific . Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("screen") Gdk.Screen The screen this widget is attached to. a gtk-sharp-2.12.40/doc/en/Gtk/DetailsAcquiredHandler.xml0000664000175000017500000000266512767740535017513 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DetailsAcquiredHandler instance to the event. The methods referenced by the DetailsAcquiredHandler instance are invoked whenever the event is raised, until the DetailsAcquiredHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/PostActivateArgs.xml0000664000175000017500000000550412767740535016370 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.Action The action that was activated. a gtk-sharp-2.12.40/doc/en/Gtk/OrientationChangedHandler.xml0000664000175000017500000000323312767740535020205 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the OrientationChangedHandler instance to the event. The methods referenced by the OrientationChangedHandler instance are invoked whenever the event is raised, until the OrientationChangedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/NodeCellDataFunc.xml0000664000175000017500000000347012767740535016240 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added. Callback type to initialize a cell renderers attributes. gtk-sharp-2.12.40/doc/en/Gtk/RedirectHandler.xml0000664000175000017500000000303712767740535016203 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the RedirectHandler instance to the event. The methods referenced by the RedirectHandler instance are invoked whenever the event is raised, until the RedirectHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/ItemFactoryCallback.xml0000664000175000017500000000172112767740535017005 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Delegate function to be invoked by . TODO: offer an example. gtk-sharp-2.12.40/doc/en/Gtk/MessageDialog.xml0000664000175000017500000004026412767740535015653 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Dialog Convenient message window presents a with an image representing the (Error, Question, etc.) alongside some message text. It is available as a convenience. You could construct the equivalent of from without too much effort, but saves typing. The is displayed using , which automatically makes the modal and waits for the user to respond to it. returns when any in the is clicked or the is closed. After returns, you are responsible for hiding (using ) or destroying (using ) the dialog if you wish to do so. A simple message dialog MessageDialog md = new MessageDialog (parent_window, DialogFlags.DestroyWithParent, MessageType.Error, ButtonsType.Close, "Error loading file"); int result = md.Run (); md.Destroy(); A yes/no message dialog MessageDialog md = new MessageDialog (parent_window, DialogFlags.DestroyWithParent, MessageType.Question, ButtonsType.YesNo, "Are you sure you want to quit?"); ResponseType result = (ResponseType)md.Run (); if (result == ResponseType.Yes) Application.Quit(); else md.Destroy(); If you would like the to not be modal, set the property to . md.Modal = false; Constructor 2.12.0.0 To be added To be added Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 System.ParamArray the dialog's parent (or ) the the type of message dialog to display the buttons to display the message format string optional arguments for Creates an instance of Creates an instance of MessageDialog md = new MessageDialog (parent_window, Gtk.DialogFlags.DestroyWithParent, Gtk.MessageType.Error, Gtk.ButtonsType.Close, "Error loading file '{0}'", filename); Constructor 2.12.0.0 System.ParamArray the dialog's parent (or ) the the type of message dialog to display the buttons to display whether or not uses Pango markup the message format string optional arguments for Creates an instance of Like the other constructor, but allows you to pass a non-marked-up string. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("image") Gtk.Widget The image displayed in the MessageBox. a displayed in the image location. Property 2.12.0.0 System.String Markup for the message to display in the dialog. a Markup should be in Pango markup format. (TODO: check this.) Property 2.12.0.0 GLib.Property("message-type") Gtk.MessageType The of the an object of type The of the Property 2.12.0.0 GLib.Property("secondary-text") System.String The secondary message for the MessageBox. defaults to . Property 2.12.0.0 GLib.Property("secondary-use-markup") System.Boolean Indicates if Pango markup is handled in the secondary text.. if , markup is parsed. See for more info. Property 2.12.0.0 GLib.Property("text") System.String The primary text displayed in the MessageBox. the primary text string. If the box has secondary text, this is displayed as the Title. Property 2.12.0.0 GLib.Property("use-markup") System.Boolean Indicates if Pango markup is handled in the primary text. if , markup is parsed. See for more info. gtk-sharp-2.12.40/doc/en/Gtk/Button.xml0000664000175000017500000010526012767740535014420 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Bin A widget that creates a signal when clicked on. The widget is generally used to attach to a function that is called when the button is pressed. The widget can hold any valid child widget. That is, it can hold most any other standard . The most commonly used child is the . using Gtk; using System; public class ButtonApp { public static int Main (string[] args) { Application.Init (); Window win = new Window ("Button Tester"); win.SetDefaultSize (200, 150); win.DeleteEvent += new DeleteEventHandler (Window_Delete); Button btn = new Button ("Click Me"); btn.Clicked += new EventHandler (btn_click); win.Add (btn); win.ShowAll (); Application.Run (); return 0; } static void btn_click (object obj, EventArgs args) { Console.WriteLine ("Button Clicked"); } static void Window_Delete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } } Constructor 2.12.0.0 Default parameterless constructor. This is the default constructor for the class. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 a child Constructs a button containing a specified Child widget. Constructor 2.12.0.0 an object of type Internal constructor This is not typically used by C# code. Constructor 2.12.0.0 a Creates a new containing the image and text from a stock item. The valid names of Stock items can be found in the class. If is unknown, then it will be treated as a simple label. This for example creates a stock OK button. It sets a localized label, a standard icon (choosed from your GTK theme), and the appropriate keyboard accelerator: Button b = new Button (Stock.Ok); Method 2.12.0.0 GLib.GType Returns the kind of action this button does. a There are four possible options: "ignored", "selects", "drags", and "expands". Event 2.12.0.0 GLib.Signal("activate") System.EventHandler Event launched when the is activated. Method 2.12.0.0 System.Void Emits a signal to the given . Emits a signal to the given . Event 2.12.0.0 GLib.Signal("clicked") System.EventHandler Event launched when the is clicked. Method 2.12.0.0 System.Void Emits a signal to the given . Emits a signal to the given . Event 2.12.0.0 GLib.Signal("enter") System.EventHandler Event launched when the cursor enters the area. Property 2.12.0.0 GLib.Property("focus-on-click") System.Boolean Whether the button grabs focus when it is clicked with the mouse. a Method 2.12.0.0 System.Void a to put the horizontal alignment in a to put the vertical alignment in Gets the alignment of the child in the button. A convenience method; shouldn't be Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("image") Gtk.Widget Child widget to appear next to the button text. A . Property 2.12.0.0 GLib.Property("image-position") Gtk.PositionType Position of the image relative to the text. a . Property 2.12.0.0 System.Boolean Whether or not the cursor is inside the button. a , true if the cursor is inside the button. Property 2.12.0.0 GLib.Property("label") System.String The text of the in the . The contained by the . If you want the Label to have a mnemonic you need to set to . Method 2.12.0.0 System.Void Emits a signal to the given . Emits a signal to the given . Event 2.12.0.0 GLib.Signal("leave") System.EventHandler Event launched when the cursor leaves the area. Method 2.12.0.0 Gtk.Button The text you want the to hold. Creates a widget with a child containing the given text. The newly created widget. Method 2.12.0.0 Gtk.Button a Creates a labeled . a Constructor that creates a labeled . The label shows the string passed as parameter. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideActivated", Type=typeof(Gtk.Button)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideClicked", Type=typeof(Gtk.Button)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideEntered", Type=typeof(Gtk.Button)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideLeft", Type=typeof(Gtk.Button)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePressed", Type=typeof(Gtk.Button)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideReleased", Type=typeof(Gtk.Button)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Void Emits a signal to the given . Emits a signal to the given . Event 2.12.0.0 GLib.Signal("pressed") System.EventHandler Event launched when the is pressed. Method 2.12.0.0 System.Void Emits a signal to the given . Emits a signal to the given . Event 2.12.0.0 GLib.Signal("released") System.EventHandler Event launched when the is released. Property 2.12.0.0 GLib.Property("relief") Gtk.ReliefStyle The for the . An instance of that represents the relief style of the . Method 2.12.0.0 System.Void a , the horizontal position of the child; 0.0 is left aligned, 1.0 is right aligned. a , the vertical position of the child; 0.0 is top aligned, 1.0 is bottom aligned. Sets the alignment of the child. This has no effect unless the button's child is a or . Property 2.12.0.0 GLib.Property("use-stock") System.Boolean Whether the should use a . Gets a value indicating if the uses a . It is possible to create a from , which is recommended for consistency in apps. They also provide a and a key shortcut. Property 2.12.0.0 GLib.Property("use-underline") System.Boolean Indicates if a mnemonic is associated with the . Gets a value indicating if the uses underline or not. Property 2.12.0.0 GLib.Property("xalign") System.Single If the child of the button is a or , this property can be used to control its horizontal alignment. a ; 0.0 is left aligned, 1.0 is right aligned. Property 2.12.0.0 GLib.Property("yalign") System.Single If the child of the button is a or , this property can be used to control its vertical alignment. a ; 0.0 is top aligned, 1.0 is bottom aligned. gtk-sharp-2.12.40/doc/en/Gtk/CycleHandleFocusHandler.xml0000664000175000017500000000320112767740535017606 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CycleHandleFocusHandler instance to the event. The methods referenced by the CycleHandleFocusHandler instance are invoked whenever the event is raised, until the CycleHandleFocusHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/PlugRemovedArgs.xml0000664000175000017500000000327412767740535016215 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.40/doc/en/Gtk/RowActivatedArgs.xml0000664000175000017500000000571112767740535016356 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.TreeViewColumn The column that was clicked on as part of the row activation event. A Property 2.12.0.0 Gtk.TreePath The path of the row that was activated. A gtk-sharp-2.12.40/doc/en/Gtk/ColorSelectionDialog+ColorSelectionButton.xml0000664000175000017500000000512712767740535023326 00000000000000 gtk-sharp 2.12.0.0 Gtk.Button System.Obsolete("Do not use this class. It will cause your app to crash in mysterious ways.") For internal use. A button used in ; not needed by developers. Constructor 2.12.0.0 A this button belongs to An , pointer to underlying C color data. Constructor. Property 2.12.0.0 Gtk.ColorSelectionDialog The color selection dialog this button belongs to. A this button belongs to gtk-sharp-2.12.40/doc/en/Gtk/MenuPositionFunc.xml0000664000175000017500000000264512767740535016415 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added. To be added. A delegate function for positioning a popup menu. Gets invoked by . gtk-sharp-2.12.40/doc/en/Gtk/AddWidgetHandler.xml0000664000175000017500000000413712767740535016300 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the AddWidgetHandler instance to the event. The methods referenced by the AddWidgetHandler instance are invoked whenever the event is raised, until the AddWidgetHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/TextDeletedArgs.xml0000664000175000017500000000660712767740535016202 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The following events invoke delegates which pass event data via this class: Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Int32 The end position within the widget for the text that was deleted. An integer for the end position; this character is not included in the deleted text. Property 2.12.0.0 System.Int32 The start position within the widget for the text that was deleted. An integer for the start position. gtk-sharp-2.12.40/doc/en/Gtk/RecentData.xml0000664000175000017500000001305512767740535015157 00000000000000 gtk-sharp 2.12.0.0 System.ValueType To be added. To be added. Field 2.12.0.0 System.String To be added. To be added. Field 2.12.0.0 System.String To be added. To be added. Field 2.12.0.0 System.String To be added. To be added. Field 2.12.0.0 System.String To be added. To be added. Field 2.12.0.0 System.String To be added. To be added. Field 2.12.0.0 System.Boolean To be added. To be added. Field 2.12.0.0 System.String To be added. To be added. Method 2.12.0.0 Gtk.RecentData To be added. To be added. To be added. To be added. Field 2.12.0.0 Gtk.RecentData To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/ScrollStep.xml0000664000175000017500000001165312767740535015241 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.ScrollStepGType)) ScrollStep enum Field 2.12.0.0 Gtk.ScrollStep Ends Field 2.12.0.0 Gtk.ScrollStep Horizontal Ends Field 2.12.0.0 Gtk.ScrollStep Horizontal Pages Field 2.12.0.0 Gtk.ScrollStep Horizontal Steps Field 2.12.0.0 Gtk.ScrollStep Pages Field 2.12.0.0 Gtk.ScrollStep Steps gtk-sharp-2.12.40/doc/en/Gtk/WindowType.xml0000664000175000017500000000617012767740535015256 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.WindowTypeGType)) The type of A can be one of these types. Most things you would consider a "window" should have type ; windows with this type are managed by the window manager and have a frame by default (call to toggle the frame). Windows with type are ignored by the window manager; window manager keybindings will not work on them, the window manager will not decorate the window with a frame, many GTK+ features that rely on the window manager will not work (e.g. resize grips and maximization/minimization). is used to implement widgets such as or tooltips that you normally do not think of as windows per se. Nearly all windows should be . In particular, do not use just to turn off the window borders; use for instead. Field 2.12.0.0 Gtk.WindowType A special window such as a tooltip. Field 2.12.0.0 Gtk.WindowType A regular window, such as a dialog. gtk-sharp-2.12.40/doc/en/Gtk/CancelPositionHandler.xml0000664000175000017500000000315112767740535017351 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CancelPositionHandler instance to the event. The methods referenced by the CancelPositionHandler instance are invoked whenever the event is raised, until the CancelPositionHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/ReloadState.xml0000664000175000017500000000425612767740535015357 00000000000000 gtk-sharp 2.12.0.0 System.Enum Reload State enumeration. Do not use. This type is exposed as part of the FileChooser implementation internals. Field 2.12.0.0 Gtk.ReloadState Empty. Field 2.12.0.0 Gtk.ReloadState Has Folder. Field 2.12.0.0 Gtk.ReloadState Was Unmapped. gtk-sharp-2.12.40/doc/en/Gtk/RowChangedHandler.xml0000664000175000017500000000375712767740535016474 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the RowChangedHandler instance to the event. The methods referenced by the RowChangedHandler instance are invoked whenever the event is raised, until the RowChangedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/ChildAnchorInsertedHandler.xml0000664000175000017500000000325212767740535020315 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ChildAnchorInsertedHandler instance to the event. The methods referenced by the ChildAnchorInsertedHandler instance are invoked whenever the event is raised, until the ChildAnchorInsertedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/SelectionReceivedArgs.xml0000664000175000017500000000575112767740535017362 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.SelectionData The data from the selection. a Property 2.12.0.0 System.UInt32 The time this selection was received from the source widget. A gtk-sharp-2.12.40/doc/en/Gtk/Scrollbar.xml0000664000175000017500000000747312767740535015077 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Range Base class for and . Constructor 2.12.0.0 Default constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gtk/RetrieveSurroundingHandler.xml0000664000175000017500000000361212767740535020466 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the RetrieveSurroundingHandler instance to the event. The methods referenced by the RetrieveSurroundingHandler instance are invoked whenever the event is raised, until the RetrieveSurroundingHandler is removed from the event. Handlers of this class should set the input method surrounding context by calling . The method returns %TRUE if the signal was handled by the callback. gtk-sharp-2.12.40/doc/en/Gtk/AccelActivateHandler.xml0000664000175000017500000000427412767740535017136 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void A containing the object that sent the event. A object containing information about the accelerator that was activated, including the key value and modifiiers. This type of method is used for handling events. A delegate of this type can be attached to a to monitor the activation of events via , however this is typically unneccessary, as most accelerators are bound directly to a widget and signal. gtk-sharp-2.12.40/doc/en/Gtk/OwnerChangeArgs.xml0000664000175000017500000000551712767740535016166 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.EventOwnerChange To be added a To be added gtk-sharp-2.12.40/doc/en/Gtk/PlugRemovedHandler.xml0000664000175000017500000000310612767740535016670 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PlugRemovedHandler instance to the event. The methods referenced by the PlugRemovedHandler instance are invoked whenever the event is raised, until the PlugRemovedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/RecentFilterFlags.xml0000664000175000017500000000765112767740535016515 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.RecentFilterFlagsGType)) System.Flags To be added. To be added. Field 2.12.0.0 Gtk.RecentFilterFlags To be added. Field 2.12.0.0 Gtk.RecentFilterFlags To be added. Field 2.12.0.0 Gtk.RecentFilterFlags To be added. Field 2.12.0.0 Gtk.RecentFilterFlags To be added. Field 2.12.0.0 Gtk.RecentFilterFlags To be added. Field 2.12.0.0 Gtk.RecentFilterFlags To be added. gtk-sharp-2.12.40/doc/en/Gtk/MoveSelectedHandler.xml0000664000175000017500000000165212767740535017022 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/MoveArgs.xml0000664000175000017500000000440212767740535014664 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.DirectionType The direction to move the HSV controller's control. A gtk-sharp-2.12.40/doc/en/Gtk/RequestPageSetupHandler.xml0000664000175000017500000000271012767740535017705 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the RequestPageSetupHandler instance to the event. The methods referenced by the RequestPageSetupHandler instance are invoked whenever the event is raised, until the RequestPageSetupHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/HTMLPrintDrawFunc.xml0000664000175000017500000000242412767740535016356 00000000000000 gtkhtml-sharp 3.16.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/MenuEntry.xml0000664000175000017500000001251312767740535015071 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType Class for use with in generating menus. See for more details. FIXME: see bugzilla.ximian.com #70887, which directly concerns this API. Field 2.12.0.0 System.String An accelerator key sequence Property 2.12.0.0 Gtk.MenuCallback To be added. To be added. To be added. Method 2.12.0.0 Gtk.MenuEntry a , pointer to the underlying C object. For internal use only. Do not use. a Field 2.12.0.0 System.String The path of this menu item. For example, "/File/_Open", where the "O" should be a mnemonic underline. Property 2.12.0.0 Gtk.Widget To be added. To be added. To be added. Field 2.12.0.0 Gtk.MenuEntry An empty menu entry. gtk-sharp-2.12.40/doc/en/Gtk/HTMLSaveReceiverFn.xml0000664000175000017500000000242712767740535016502 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Boolean To be added. To be added. A delegate to receive HTML content from . In most cases, a delegate of this form probably saves HTML to a file, prints it, or similar. To be added. gtk-sharp-2.12.40/doc/en/Gtk/DirectionType.xml0000664000175000017500000001303612767740535015726 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.DirectionTypeGType)) An enumeration used by TextView and Window This enumeration is used by and to decide how focus in the widget behaves. Field 2.12.0.0 Gtk.DirectionType Sets initial focus on the child nearest the top of the container. Sets initial focus on the child nearest the top of the container. Field 2.12.0.0 Gtk.DirectionType Sets initial focus on the child nearest the right edge of the container. Sets initial focus on the child nearest the right edge of the container. Field 2.12.0.0 Gtk.DirectionType Sets initial focus on the child nearest the left edge of the container. Sets initial focus on the child nearest the left edge of the container. Field 2.12.0.0 Gtk.DirectionType Tab backward through the children with focus capability, starting at the right or bottom. Tab backward through the children with focus capability, starting at the right or bottom. Field 2.12.0.0 Gtk.DirectionType Tab forward through the children capable of having focus, starting at the left or top. Tab forward through the children capable of having focus, starting at the left or top. Field 2.12.0.0 Gtk.DirectionType Sets initial focus on the child nearest the bottom of the container. Sets initial focus on the child nearest the bottom of the container. gtk-sharp-2.12.40/doc/en/Gtk/EventBox.xml0000664000175000017500000001550512767740535014701 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Bin A widget used to catch events for widgets which do not have their own window. The widget is a subclass of which also has its own window. It is useful since it allows you to catch events for widgets which do not have their own window. using Gtk; using Gdk; using System; public class eventbox { static void delete_event (object obj, DeleteEventArgs args) { Application.Quit(); } static void exitbutton_event (object obj, ButtonPressEventArgs args) { Application.Quit(); } public static void Main (string[] args) { Gtk.Window window; EventBox eventbox; Label label; Application.Init(); window = new Gtk.Window ("Eventbox"); window.DeleteEvent += new DeleteEventHandler (delete_event); window.BorderWidth = 10; eventbox = new EventBox (); window.Add (eventbox); eventbox.Show(); label = new Label ("Click here to quit"); eventbox.Add(label); label.Show(); label.SetSizeRequest(110, 20); eventbox.ButtonPressEvent += new ButtonPressEventHandler (exitbutton_event); eventbox.Realize(); window.Show(); Application.Run(); } } Constructor 2.12.0.0 Creates a new . Creates a new . EventBox eb = new EventBox(); Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.Property("above-child") System.Boolean Whether the event-trapping window of the eventbox is above the window of the child widget as opposed to below it. a Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("visible-window") System.Boolean Whether the event box is visible, as opposed to invisible and only used to trap events. a gtk-sharp-2.12.40/doc/en/Gtk/Timeout.xml0000664000175000017500000001442312767740535014573 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object System.Obsolete("Replaced by GLib.Timeout") Registers a method to be called periodically. Constructor 2.12.0.0 Internal Constructor This should not be called directly by typical applications. Method 2.12.0.0 System.Obsolete("Replaced by GLib.Timeout.Add") System.UInt32 number of miliseconds between function calls delegate that will be called until it return false Registers a to be called periodically. a The will be called repeatedly after milliseconds until it returns at which point the is destroyed and will not be called again. The first execution of the callback will only occur after the has elapsed. In other words, it won't be executed right away after calling . Method 2.12.0.0 System.Obsolete("Replaced by GLib.Timeout.Add") System.UInt32 a a a a a Registers a to be called periodically. a The will be called repeatedly after milliseconds until it returns at which point the is destroyed and will not be called again. Method 2.12.0.0 System.Obsolete("Replaced by GLib.Source.Remove") System.Void a Removes the given timeout destroying all information about it. gtk-sharp-2.12.40/doc/en/Gtk/ScrollEventArgs.xml0000664000175000017500000000445212767740535016223 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.EventScroll The scrolling event that happened. a gtk-sharp-2.12.40/doc/en/Gtk/AdjustBoundsArgs.xml0000664000175000017500000000445112767740535016367 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Double The new value for the bounds of the range. A . gtk-sharp-2.12.40/doc/en/Gtk/ReadyEvent.xml0000664000175000017500000000201512767740535015205 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Delegate specifying a signature for functions that run whenever is invoked. See . gtk-sharp-2.12.40/doc/en/Gtk/TextPoppedArgs.xml0000664000175000017500000000534512767740535016061 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Passes data to handlers of events. Constructor 2.12.0.0 Creates a new object that encapsulates the data that has been popped from a message stack. Property 2.12.0.0 System.UInt32 Retrieve the context identifier for the message that was removed. An integer context ID. Property 2.12.0.0 System.String Retrieve the text that was 'popped'. The string removed from the top of the Statusbar's message stack gtk-sharp-2.12.40/doc/en/Gtk/SelectPageHandler.xml0000664000175000017500000000307412767740535016457 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SelectPageHandler instance to the event. The methods referenced by the SelectPageHandler instance are invoked whenever the event is raised, until the SelectPageHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/TextTagTable.xml0000664000175000017500000003363012767740535015476 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object A tag table defines a set of tags A tag table defines a set of tags that can be used together. Each buffer has one tag table associated with it; only tags from that tag table can be used with the buffer. A single tag table can be shared between multiple buffers, however. Constructor 2.12.0.0 Default constructor Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Void the tag to be added Add a tag to the table. The tag is assigned the highest priority in the table. Add a tag to the table. The tag is assigned the highest priority in the table. must not be in a tag table already, and may not have the same name as an already-added tag. Method 2.12.0.0 System.Void a Calls func on each tag in table Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 Gtk.TextTag the name of a tag Finds a by its name The tag, or if none by that name is in the table. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTagAdded", Type=typeof(Gtk.TextTagTable)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTagChanged", Type=typeof(Gtk.TextTagTable)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTagRemoved", Type=typeof(Gtk.TextTagTable)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Void the tag to be removed Remove a tag from the table. Property 2.12.0.0 System.Int32 The size of the table The number of the tags in this table Event 2.12.0.0 GLib.Signal("tag_added") Gtk.TagAddedHandler Emitted when a tag is added to the table Event 2.12.0.0 GLib.Signal("tag_changed") Gtk.TagChangedHandler Emitted when a tag in the table is changed Event 2.12.0.0 GLib.Signal("tag_removed") Gtk.TagRemovedHandler Emitted when a tag is removed from the table gtk-sharp-2.12.40/doc/en/Gtk/ConfirmOverwriteArgs.xml0000664000175000017500000000261112767740535017262 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs ConfirmOverwrite event arguments. When implementing a , you need to set the inherited property of this class with an appropriate value. Constructor 2.12.0.0 Public Constructor. gtk-sharp-2.12.40/doc/en/Gtk/TreeModelForeachFunc.xml0000664000175000017500000000270012767740535017124 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Boolean To be added. To be added. To be added. A delegate class for functions that can be run on every row of a . To be added. This class specifies the standard interface for functions used as parameters to . gtk-sharp-2.12.40/doc/en/Gtk/PrintDuplex.xml0000664000175000017500000000435312767740535015424 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.PrintDuplexGType)) To be added. To be added. Field 2.12.0.0 Gtk.PrintDuplex To be added. Field 2.12.0.0 Gtk.PrintDuplex To be added. Field 2.12.0.0 Gtk.PrintDuplex To be added. gtk-sharp-2.12.40/doc/en/Gtk/HTMLStreamTypesFunc.xml0000664000175000017500000000210712767740535016722 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.String To be added. A delegate for use with . To be added. gtk-sharp-2.12.40/doc/en/Gtk/DirectionChangedHandler.xml0000664000175000017500000000320212767740535017626 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DirectionChangedHandler instance to the event. The methods referenced by the DirectionChangedHandler instance are invoked whenever the event is raised, until the DirectionChangedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/Scale.xml0000664000175000017500000002616512767740535014202 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Range A base class for the concrete slider widgets; and . A Scale is a slider control used to select a numeric value. Specific manipulation can be done with methods and properties on its base class, . To set the value of a scale, you would normally use the property. To detect changes to the value, connect an event handler to the event. Constructor 2.12.0.0 Protected constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.Property("digits") System.Int32 Manage the number of decimal places for this slider. The number of decimal places currently being displayed. Property 2.12.0.0 GLib.Property("draw-value") System.Boolean Manage whether a label is displayed to show the current value. Whether the value is currently being displayed. Use the property to alter the position of displayed value. Event 2.12.0.0 GLib.Signal("format_value") Gtk.FormatValueHandler Allows the format of the displayed value to be altered. Note: The signature of this event handler is currently incorrect. Method 2.12.0.0 System.Void a , location to store X offset of layout a , location to store Y offset of layout Obtains the coordinates where the scale will draw the representing the text in the scale. Remember that when working with Pango you need to convert to and from pixels using PANGO_PIXELS() or . If is , the return values are undefined. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 Pango.Layout Gets the used to display the scale. a Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideFormatValue", Type=typeof(Gtk.Scale)) System.String a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Property 2.12.0.0 GLib.Property("value-pos") Gtk.PositionType Manage the position of the value, relative to the slider. Where the value is currently being drawn. Note: This property is only meaningful if a value is being drawn. To ensure a value is drawn, use the property. gtk-sharp-2.12.40/doc/en/Gtk/SeparatorToolItem.xml0000664000175000017500000001171612767740535016564 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.ToolItem Separator object for toolbars. Constructor 2.12.0.0 Public constructor. Constructor 2.12.0.0 System.Obsolete a Protected constructor. Constructor 2.12.0.0 a , pointer to underlying C object. Constructor for internal use only. Property 2.12.0.0 GLib.Property("draw") System.Boolean Returns whether this object is drawn as a line (true), or just blank (false). a Property 2.12.0.0 GLib.GType The of this object. a gtk-sharp-2.12.40/doc/en/Gtk/RedirectArgs.xml0000664000175000017500000000550112767740535015520 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 3.16.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 3.16.0.0 System.Int32 Number of seconds to wait before the redirect. A Property 3.16.0.0 System.String The URL being redirected to. A gtk-sharp-2.12.40/doc/en/Gtk/LoadState.xml0000664000175000017500000000504212767740535015022 00000000000000 gtk-sharp 2.12.0.0 System.Enum Load State enumeration. Field 2.12.0.0 Gtk.LoadState Empty. Field 2.12.0.0 Gtk.LoadState Finished. Field 2.12.0.0 Gtk.LoadState Loading. Field 2.12.0.0 Gtk.LoadState Preload. gtk-sharp-2.12.40/doc/en/Gtk/DisconnectProxyArgs.xml0000664000175000017500000000677712767740535017132 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.Action The action being disconnected from a proxy. a Property 2.12.0.0 Gtk.Widget The proxy from which an action is being disconnected. a gtk-sharp-2.12.40/doc/en/Gtk/ButtonBoxStyle.xml0000664000175000017500000001136012767740535016107 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.ButtonBoxStyleGType)) Used to dictate the style that a uses to layout the buttons it contains. (See also: and ). Field 2.12.0.0 Gtk.ButtonBoxStyle To be added. Field 2.12.0.0 Gtk.ButtonBoxStyle Default packing. Field 2.12.0.0 Gtk.ButtonBoxStyle Buttons are placed at the edges of the ButtonBox. Field 2.12.0.0 Gtk.ButtonBoxStyle Buttons are grouped towards the end of a box, (on the right for a , or the bottom for a ). Field 2.12.0.0 Gtk.ButtonBoxStyle Buttons are evenly spread across the ButtonBox. Field 2.12.0.0 Gtk.ButtonBoxStyle Buttons are grouped towards the start of box, (on the left for a , or the top for a ). gtk-sharp-2.12.40/doc/en/Gtk/IconView.xml0000664000175000017500000022157212767740535014675 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Container Gtk.CellLayout A widget which displays a list of icons in a grid provides an alternative view on a list model. It displays the model as a grid of icons with labels. Like , it allows to select one or multiple items (depending on the selection mode, see ). In addition to selection with the arrow keys, supports rubberband selection, which is controlled by dragging the pointer. using System; using System.IO; using Gtk; public class DemoIconView : Window { const int COL_PATH = 0; const int COL_DISPLAY_NAME = 1; const int COL_PIXBUF = 2; const int COL_IS_DIRECTORY = 3; DirectoryInfo parent = new DirectoryInfo ("/"); Gdk.Pixbuf dirIcon, fileIcon; ListStore store; ToolButton upButton; static void Main () { Application.Init (); new DemoIconView (); Application.Run (); } public DemoIconView () : base ("Gtk.IconView demo") { SetDefaultSize (650, 400); DeleteEvent += new DeleteEventHandler (OnWinDelete); VBox vbox = new VBox (false, 0); Add (vbox); Toolbar toolbar = new Toolbar (); vbox.PackStart (toolbar, false, false, 0); upButton = new ToolButton (Stock.GoUp); upButton.IsImportant = true; upButton.Sensitive = false; toolbar.Insert (upButton, -1); ToolButton homeButton = new ToolButton (Stock.Home); homeButton.IsImportant = true; toolbar.Insert (homeButton, -1); fileIcon = GetIcon ("gnome-fs-regular"); dirIcon = GetIcon ("gnome-fs-directory"); ScrolledWindow sw = new ScrolledWindow (); sw.ShadowType = ShadowType.EtchedIn; sw.SetPolicy (PolicyType.Automatic, PolicyType.Automatic); vbox.PackStart (sw, true, true, 0); // Create the store and fill it with the contents of '/' store = CreateStore (); FillStore (); IconView iconView = new IconView (store); iconView.SelectionMode = SelectionMode.Multiple; upButton.Clicked += OnUpClicked; homeButton.Clicked += OnHomeClicked; iconView.TextColumn = COL_DISPLAY_NAME; iconView.PixbufColumn = COL_PIXBUF; iconView.ItemActivated += new ItemActivatedHandler (OnItemActivated); sw.Add (iconView); iconView.GrabFocus (); ShowAll (); } Gdk.Pixbuf GetIcon (string name) { return Gtk.IconTheme.Default.LoadIcon (name, 48, (IconLookupFlags) 0); } ListStore CreateStore () { // path, name, pixbuf, is_dir ListStore store = new ListStore (typeof (string), typeof (string), typeof (Gdk.Pixbuf), typeof (bool)); // Set sort column and function store.DefaultSortFunc = SortFunc; store.SetSortColumnId (COL_DISPLAY_NAME, SortType.Ascending); return store; } void FillStore () { // first clear the store store.Clear (); // Now go through the directory and extract all the file information if (!parent.Exists) return; foreach (DirectoryInfo di in parent.GetDirectories ()) { if (!di.Name.StartsWith (".")) store.AppendValues (di.FullName, di.Name, dirIcon, true); } foreach (FileInfo file in parent.GetFiles ()) { if (!file.Name.StartsWith (".")) store.AppendValues (file.FullName, file.Name, fileIcon, false); } } int SortFunc (TreeModel model, TreeIter a, TreeIter b) { // sorts folders before files bool a_is_dir = (bool) model.GetValue (a, COL_IS_DIRECTORY); bool b_is_dir = (bool) model.GetValue (b, COL_IS_DIRECTORY); string a_name = (string) model.GetValue (a, COL_DISPLAY_NAME); string b_name = (string) model.GetValue (b, COL_DISPLAY_NAME); if (!a_is_dir && b_is_dir) return 1; else if (a_is_dir && !b_is_dir) return -1; else return String.Compare (a_name, b_name); } void OnHomeClicked (object sender, EventArgs a) { parent = new DirectoryInfo (Environment.GetFolderPath (Environment.SpecialFolder.Personal)); FillStore (); upButton.Sensitive = true; } void OnItemActivated (object sender, ItemActivatedArgs a) { TreeIter iter; store.GetIter (out iter, a.Path); string path = (string) store.GetValue (iter, COL_PATH); bool isDir = (bool) store.GetValue (iter, COL_IS_DIRECTORY); if (!isDir) return; // Replace parent with path and re-fill the model parent = new DirectoryInfo (path); FillStore (); // Sensitize the up button upButton.Sensitive = true; } void OnUpClicked (object sender, EventArgs a) { parent = parent.Parent; FillStore (); upButton.Sensitive = (parent.FullName == "/" ? false : true); } void OnWinDelete (object sender, DeleteEventArgs a) { Application.Quit (); a.RetVal = true; } } Constructor 2.12.0.0 Default constructor Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 a Create a new IconView with a model. Constructor 2.12.0.0 a Internal constructor This is not typically used by C# code. Event 2.12.0.0 GLib.Signal("activate_cursor_item") Gtk.ActivateCursorItemHandler To be added To be added Method 2.12.0.0 System.Void a Activates the item determined by . Method 2.12.0.0 System.Void a of the view. an attribute name on . the model column index to bind to . Binds a model column to an Attribute of a Cell Renderer. Event 2.12.0.0 GLib.Signal("select_all") System.EventHandler Emitted when SelectAll () is called. Event 2.12.0.0 GLib.Signal("unselect_all") System.EventHandler Emitted when UnselectAll () is called. Property 2.12.0.0 Gtk.CellRenderer[] To be added. To be added. To be added. Method 2.12.0.0 System.Void Clears attribute bindings and removes all renderers. Method 2.12.0.0 System.Void a of the view. Clears attribute bindings for a cell renderer. Property 2.12.0.0 GLib.Property("columns") System.Int32 The columns property contains the number of the columns in which the items should be displayed. a If it is -1, the number of columns will be chosen automatically to fill the available area. Property 2.12.0.0 GLib.Property("column-spacing") System.Int32 Space which is inserted between grid column. a Default value is 6. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Gdk.Pixmap a to an item in the view. Creates a pixmap representation of an item. a representation of the item at . Method 2.12.0.0 System.Void an array of items supported. drop actions supported by the view. Enables the view as a Drop destination. Method 2.12.0.0 System.Void buttons allowed to start drag. an array of items supported. drag actions supported from the view. Enables the view as a Drag source. Method 2.12.0.0 System.Boolean The cursor path. The currently focused cell. Gets the path and cell of the current cursor location. if the cursor is set. The will be if the cursor is not currently set. The will be if no cell has focus. Method 2.12.0.0 System.Boolean x coordinate of position. y coordinate of position. returns a for the item. returns a . Determines the destination item at a position. if there is an item at the position. Method 2.12.0.0 System.Void returns a for the highlighted item, or . returns the relative drop information for the highlighted item. Gets Drag information for the currently highlighted item. Method 2.12.0.0 System.Boolean x position in widget coordinates. y position in widget coordinates. returns a representing the item at the position. returns a representing the cell at the position. Obtains the item and cell at a given position. if there is an item at the position. Extends on by additionally returning a cell renderer at the specified position. Method 2.12.0.0 Gtk.TreePath a a To be added a To be added Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean The first visible item. The last visible item. Gets the visible range of items in the view. if the start and end paths were set. There may be invisible paths between the start and end paths. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Event 2.12.0.0 GLib.Signal("item_activated") Gtk.ItemActivatedHandler Emitted when an item is activated. Property 2.12.0.0 GLib.Property("item-width") System.Int32 The width used for each item. a Property 2.12.0.0 GLib.Property("margin") System.Int32 Space which is inserted at the edges of the icon view. a Default value is 6. Property 2.12.0.0 GLib.Property("markup-column") System.Int32 Contains the number of the model column containing markup information to be displayed. a The markup column must be of type . If this property and the TextColumn property are both set to column numbers, it overrides the text column. If both are set to -1, no texts are displayed. Property 2.12.0.0 GLib.Property("model") Gtk.TreeModel The model for the icon view. a Event 2.12.0.0 GLib.Signal("move_cursor") Gtk.MoveCursorHandler To be added Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideActivateCursorItem", Type=typeof(Gtk.IconView)) System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideAllSelected", Type=typeof(Gtk.IconView)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideAllUnselected", Type=typeof(Gtk.IconView)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideItemActivated", Type=typeof(Gtk.IconView)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideMoveCursor", Type=typeof(Gtk.IconView)) System.Boolean a a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectCursorItem", Type=typeof(Gtk.IconView)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionChanged", Type=typeof(Gtk.IconView)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideToggleCursorItem", Type=typeof(Gtk.IconView)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 2.12.0.0 GLib.Property("orientation") Gtk.Orientation How the text and icon of each item are positioned relative to each other. a Default value is Method 2.12.0.0 System.Void a to add to the view. indicates if the should expand to available space. Packs a renderer at the end of a cell. Method 2.12.0.0 System.Void a to add to the view. indicates if the should expand to available space. Packs a renderer to the beginning of the cell. Method 2.12.0.0 System.Boolean a Returns if the icon pointed to by is currently selected. a If does not point to a valid location, is returned. Property 2.12.0.0 GLib.Property("pixbuf-column") System.Int32 Contains the number of the model column containing the pixbufs which are displayed a The pixbuf column must be of type . Setting this property to -1 turns off the display of pixbufs. Method 2.12.0.0 System.Void a of the view. desired index within the list of renderers. Moves a renderer to a position in the list of renderers. Property 2.12.0.0 GLib.Property("reorderable") System.Boolean Indicates whether the list can be reordered via Drag and Drop. to allow reordering. Property 2.12.0.0 GLib.Property("row-spacing") System.Int32 Space which is inserted between grid rows. a Default value is 6. Method 2.12.0.0 System.Void a of the item to be made visible by scrolling. Scrolls the view to make an item visible. The minimum amount of scrolling will be done to make the item visible. To control the item's final position within the visible part of the widget, use the other overload of this method. Method 2.12.0.0 System.Void a of the item to be made visible by scrolling. a value between 0.0 and 1.0. a value between 0.0 and 1.0. Scrolls the view to make an item visible. Using row_align of 0.5 and col_align of 0.5 will try to center the item in the visible part of the widget. Method 2.12.0.0 System.Void Selects all the icons. The IconView must has its selection mode set to . Event 2.12.0.0 GLib.Signal("select_cursor_item") System.EventHandler To be added Method 2.12.0.0 System.Void a Calls a function for each selected icon. Note that the model or selection cannot be modified from within this function. Property 2.12.0.0 Gtk.TreePath[] Creates a list of paths of all selected items. a Event 2.12.0.0 GLib.Signal("selection-changed") System.EventHandler Emitted when the current selection changes. To be added Property 2.12.0.0 GLib.Property("selection-mode") Gtk.SelectionMode Specifies the selection mode of icon view. a If the mode is , rubberband selection is enabled, for the other modes, only keyboard selection is possible. Method 2.12.0.0 System.Void a Selects the row at . Method 2.12.0.0 System.Void System.ParamArray a of the view. an array of name/value pairs. Set the attributes of a given Cell Renderer. Method 2.12.0.0 System.Void a of the view. a , or to remove an existing delegate. Sets the Cell Data delegate for a renderer. The Cell data func is an alternative to binding attributes to model columns. The delegate is invoked any time the cell is renderer and it should set up all the appropriate renderer information. Method 2.12.0.0 System.Void the item to select. the cell to focus, or . indicates if the cell should be placed in edit mode. Selects an item and sets keyboard focus to a cell. Normally followed by a call to . Method 2.12.0.0 System.Void The item to highlight, or . Indicates where to drop relative to the item. Sets up drag feedback for an item. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("spacing") System.Int32 Space which is inserted between cells of an item. a To be added Property 2.12.0.0 GLib.Property("text-column") System.Int32 Contains the number of the model column containing the texts which are displayed. a The text column must be of type . If this property and the MarkupColumn property are both set to -1, no text is displayed. Event 2.12.0.0 GLib.Signal("toggle_cursor_item") System.EventHandler To be added Property 2.12.0.0 GLib.Property("tooltip-column") System.Int32 To be added. To be added. To be added. Method 2.12.0.0 System.Void Unselects all the icons. Method 2.12.0.0 System.Void a Unselects the row at . Method 2.12.0.0 System.Void Unsets the view as a Drag destination. Reverses the effects of . Method 2.12.0.0 System.Void Unsets the view as a drag source. Reverses the effects of . gtk-sharp-2.12.40/doc/en/Gtk/SwitchPageArgs.xml0000664000175000017500000000560412767740535016021 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.NotebookPage The notebook page being switched to. A Property 2.12.0.0 System.UInt32 The page number being switched to. A gtk-sharp-2.12.40/doc/en/Gtk/PageReorderedHandler.xml0000664000175000017500000000172412767740535017153 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Sender. Event arguments. Event Handler for events. gtk-sharp-2.12.40/doc/en/Gtk/DrawPrintArgs.xml0000664000175000017500000000447312767740535015700 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 3.16.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 3.16.0.0 Gtk.PrintContext The print context currently in use. a gtk-sharp-2.12.40/doc/en/Gtk/Notebook.xml0000664000175000017500000022212512767740535014725 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Container Notebook widget container. The Notebook widget is a whose children are pages that can be switched between using tabs along the edge. Tabs are typically widgets, but can be any other widget. There are many configuration options for Notebooks. Among other things, you can choose on which edge the tabs appear (The property), whether, if there are too many tabs to fit the notebook should be made bigger or scrolling arrows added (The property), and whether there will be a popup menu allowing the users to switch pages (The property). Notebooks without tabs, can be used as containers to quickly switch between different groups of information to reduce any flicker caused by widget relayout by the application. using System; using Gtk; class NotebookSample { static void Main () { new NotebookSample (); } NotebookSample () { Application.Init (); Window win = new Window ("NotebookSample"); win.DeleteEvent += new DeleteEventHandler (OnWinDelete); win.SetDefaultSize (400, 400); Notebook nb = new Notebook (); for (int i = 0; i < 5; i ++) { string label = String.Format ("Page {0}", i+1); nb.AppendPage (new Button (label), new Label (label)); } win.Add (nb); win.ShowAll (); Application.Run (); } void OnWinDelete (object obj, DeleteEventArgs args) { Application.Quit (); } } (FIXME: all methods in this class should specify types in their param elements, and this doc needs a good proofreading.) Constructor 2.12.0.0 Creates a new object. This is the default constructor for . Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Int32 The to use as the contents of the page. The to be used as the label for the page, or to use the default label, 'page N'. Appends a page. A specifying the index (starting from 0) of the appended page in the notebook, or -1 if the method fails. Appends a page to notebook. The tab widget is the and the content is . Don't forget to call the Show method on the widget or else the new page will not be shown. Method 2.12.0.0 System.Int32 The to use as the contents of the page. The to be used as the label for the page, or to use the default label, 'page N'. The widget to use as a label for the page-switch menu, if its enabled. If is passed, and is a or , then the menu label will be a newly created label with the same text as ; If is not a , must be specified if the page-switch menu is to be used. Appends a page, with a custom popup-label. a Appends a page to notebook, specifying the widget to use as the label in the popup menu. Don't forget to call the Show method on the widget or else the new page will not be shown. Event 2.12.0.0 GLib.Signal("change_current_page") Gtk.ChangeCurrentPageHandler Signaled when a request is made to change the current page This event is raised when a request is made to change the current page in the notebook. Event 2.12.0.0 GLib.Signal("create_window") Gtk.CreateWindowHandler To be added. To be added. Property 2.12.0.0 System.Int32 Sets or obtains the index of the curent page. Returns the index of the current page . The index (starting from 0) of the current page in the notebook. If the notebook has no pages, then -1 will be returned. Property 2.12.0.0 Gtk.Widget Obtains the widget that represents the current page. The object in the current page. This property uses and together to provide a quicker way of getting the current page widget. Property 2.12.0.0 GLib.Property("enable-popup") System.Boolean Indicates if the popup menu is enabled. Returns true if the popup menu is enabled and false if not. if true and the user clicks with the right mouse button on the tabs, a menu with all the pages will be popped up. Event 2.12.0.0 GLib.Signal("focus_tab") Gtk.FocusTabHandler Signaled when a Tab is focused This event is raised when a tab has been focused. Method 2.12.0.0 Gtk.Widget The child widget in the page. Returns the label for the menu of the notebookpage containing the given widget. The , or null if the page does not have a menu label other than the default menu label. the label of a menu doesn't have to be a . it can be any Method 2.12.0.0 System.String The child widget in the page Returns the label caption for the menu of the notebookpage containing the given widget. The text of the menu label, or if the widget does not have a menu label other than the default menu label, or the menu label page is not a . Retrieves the text of the menu label for the page containing . Method 2.12.0.0 Gtk.Widget the zero-based index of the page to return. use -1 for the last page. Returns the notebookpage with the given index. returns the with the given index. Method 2.12.0.0 System.Boolean To be added. Gets the detachable property of a child.. if , the child is detachable. Method 2.12.0.0 Gtk.Widget The child widget in the page. Returns the for the Notebook page containing the given widget. The label, or null if the page does not have a tab label other than the default tab label. the label of a menu doesn't have to be a . it can be any Method 2.12.0.0 System.String The widget in the page. Returns the label caption for the Notebookpage containing the given widget. The text of the tab label, or if the widget does not have a tab label other than the default tab label, or the tab label page is not a . Returns the tab label text for the page child. is returned if the child widget is not in the notebook or if no tab label has specifically been set for the . Method 2.12.0.0 System.Boolean child page. Gets the tab reorder property of a child. if , the child is reorderable. Property 2.12.0.0 GLib.Property("group") System.IntPtr To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("group-id") System.Obsolete System.Int32 Group ID for tab drag and drop. default value is -1. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("homogeneous") System.Obsolete System.Boolean Indicates if all the tabs have the same size. Returns a boolean to indicate if the tabs have the same size or not. True if the tabs have the same size and false if not. Default is false. Property 2.12.0.0 System.Obsolete System.Boolean Whether tabs should have homogeneous sizes. a Method 2.12.0.0 System.Int32 The to use as the contents of the page. The to be used as the label for the page, or to use the default label, 'page N'. The index (starting at 0) at which to insert the page, or -1 to append the page after all other pages. Inserts a page into the notebook at the given position. a Insert a page into the notebook at the given position. Don't forget to call the Show method on the widget or else the new page will not be shown. Method 2.12.0.0 System.Int32 The to use as th content of the page. the to use as a label. use null for the default label. the to use as menu label. use null to get the same label as the tab label, this only works if the tab label is a the zero-based position to insert the page. use -1 make it the last page. Insert a page into notebook at the given position, with a custom popup-label. a Don't forget to call the Show method on the widget or else the new page will not be shown. Property 2.12.0.0 Gtk.Container+ContainerChild To be added. To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("move_focus_out") Gtk.MoveFocusOutHandler Signaled when Focus is being moved out. This event is raised before the focus is removed from the current widget Method 2.12.0.0 System.Void Switches to the next page. Switches to the next page. Nothing happens if the current page is the last page. Property 2.12.0.0 System.Int32 returns the amount of pages in this notebook. the amount of pages in the notebook. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideChangeCurrentPage", Type=typeof(Gtk.Notebook)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCreateWindow", Type=typeof(Gtk.Notebook)) Gtk.Notebook To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideFocusTab", Type=typeof(Gtk.Notebook)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideMoveFocusOut", Type=typeof(Gtk.Notebook)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePageAdded", Type=typeof(Gtk.Notebook)) System.Void added page. index of added page. Default handler for event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePageRemoved", Type=typeof(Gtk.Notebook)) System.Void removed page. index of removed page. Default handler for event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePageReordered", Type=typeof(Gtk.Notebook)) System.Void reordered page. index of reordered page. Default handler for event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideReorderTab", Type=typeof(Gtk.Notebook)) System.Void To be added. To be added. Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectPage", Type=typeof(Gtk.Notebook)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSwitchPage", Type=typeof(Gtk.Notebook)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 2.12.0.0 GLib.Property("page") System.Int32 Sets or obtains the index of the curent page. Returns the index of the curent page. use instead. Event 2.12.0.0 GLib.Signal("page_added") Gtk.PageAddedHandler Raised when a notebook page is added. Method 2.12.0.0 System.Int32 to look for. Returns the page number that a child exists on. Page number that the widget exists on, -1 if the widget isn't in the notebook. This function returns -1 if the is not a direct child of the notebook. Event 2.12.0.0 GLib.Signal("page_removed") Gtk.PageRemovedHandler Raised when a notebook page is removed. Event 2.12.0.0 GLib.Signal("page_reordered") Gtk.PageReorderedHandler Raised when a notebook page is reordered. Method 2.12.0.0 System.Void Enables the page-selection popup. Disables the popup menu. Inverse operation of Method 2.12.0.0 System.Void Enables the page-selection popup. Enables the popup menu: if the user clicks with the right mouse button on the bookmarks, a menu with all the pages will be popped up. Method 2.12.0.0 System.Int32 a t use as content of the page. the to use as the tab label. use null to use the default label. prepends a page. a Don't forget to call the Show method on the widget or else the new page will not be shown. Method 2.12.0.0 System.Int32 the to use as contents of the page. the to use as tab label. use null to use the default label. the to use as menu label. use null to get the same label as the tab label, this only works if the tab label is a prepends a page, with a custom popup-label. a Don't forget to call the Show method on the widget or else the new page will not be shown. Method 2.12.0.0 System.Void Switches to the previous page. Switches to the previous page. Nothing happens if the current page is the first page. Method 2.12.0.0 System.Void the page. indicates if expand is true or false. indicates if fill is true or false. returns to which is used. Query the packing attributes for the tab label of the page containing child. Method 2.12.0.0 System.Void The page number to remove starting from zero. You can use minus one to remove the last page. Removes a page. Removes a page from the notebook given its index in the notebook. Method 2.12.0.0 System.Void The widget to move. The new position, or -1 to move to the end Changes the position of a widget in the notebook. Reorders the page containing , so that it appears in position position. If position is greater than or equal to the number of children in the list or negative, will be moved to the end of the list. Event 2.12.0.0 GLib.Signal("reorder_tab") Gtk.ReorderTabHandler Raised when a tab is reordered. Property 2.12.0.0 GLib.Property("scrollable") System.Boolean Indicates if scroll arrows are added if there are too many tabs. Returns true if arrows are added and false if not. Default is false. Event 2.12.0.0 GLib.Signal("select_page") Gtk.SelectPageHandler Raised when a page of the notebook is selected. Method 2.12.0.0 System.Void the page the to use as menu label. use null to get the same label as the tab label, this only works if the tab label is a Sets the menu label of a page. Method 2.12.0.0 System.Void the page. the text of the label. sets the text of a menu label of a page. Method 2.12.0.0 System.Void child to update. if , the child is detachable. Sets a child's detachable property. Method 2.12.0.0 System.Void the page the to use as label. use null for the default label. Sets the label for the page containing a widget Method 2.12.0.0 System.Void a page. sets true to expand the label. sets true to fill to fill the allocated area. sets of the label. Sets the packing of the tab label of a page. Method 2.12.0.0 System.Void The child widget whose label will be changed The new caption for the tab. Sets the label for the page containing a widget Creates a new label and sets it as the tab label for the page containing . Method 2.12.0.0 System.Void child page. if , the child is reorderable. Sets the tab reorder property of a child. Property 2.12.0.0 GLib.Property("show-border") System.Boolean Indicates if the border is shown. Returns true if the border is shown and false if not. Default value is true. Property 2.12.0.0 GLib.Property("show-tabs") System.Boolean Indicates if the tabs are shown. Returns true if the tabs are shown and false if not. Default value is true. Event 2.12.0.0 GLib.Signal("switch_page") Gtk.SwitchPageHandler Signaled when the page changes This signal is raised when the page is changed either by the user or programatically. Property 2.12.0.0 GLib.Property("tab-border") System.Obsolete System.UInt32 Sets the width of the border around the tabs.. Default value is 2. This is a easy the change and at the same time. Use those properties to read the width. Property 2.12.0.0 GLib.Property("tab-hborder") System.Obsolete System.UInt32 Sets or obtains the width of the horizontal border around the tabs. Returns the horizontal width of the border. Default value is 2. Property 2.12.0.0 GLib.Property("tab-pos") Gtk.PositionType Sets or obtains The position of the tabs. the of this notebook. default is top. Property 2.12.0.0 GLib.Property("tab-vborder") System.Obsolete System.UInt32 Sets or obtains the width of the vertical border around the tabs. Returns the vertical width of the border. Default value is 2. Property 2.12.0.0 Gtk.NotebookWindowCreationFunc Sets a delegate to create windows for detached tabs. a . gtk-sharp-2.12.40/doc/en/Gtk/RecentChooserMenu.xml0000664000175000017500000005623612767740535016545 00000000000000 gtk-sharp 2.12.0.0 Gtk.Menu Gtk.RecentChooser To be added. To be added. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 System.Obsolete To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Property 2.12.0.0 Gtk.RecentInfo To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("filter") Gtk.RecentFilter To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("item-activated") System.EventHandler To be added. To be added. Property 2.12.0.0 GLib.List To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("limit") System.Int32 To be added. To be added. To be added. Method 2.12.0.0 GLib.SList To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("local-only") System.Boolean To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideItemActivated", Type=typeof(Gtk.RecentChooserMenu)) System.Void To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionChanged", Type=typeof(Gtk.RecentChooserMenu)) System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Event 2.12.0.0 GLib.Signal("selection-changed") System.EventHandler To be added. To be added. Property 2.12.0.0 GLib.Property("select-multiple") System.Boolean To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("show-icons") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("show-not-found") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 System.Obsolete System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("show-private") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("show-tips") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 Gtk.RecentSortFunc To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("sort-type") Gtk.RecentSortType To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/SetBaseTargetArgs.xml0000664000175000017500000000444412767740535016461 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 3.16.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 3.16.0.0 System.String The base target URL being set. A gtk-sharp-2.12.40/doc/en/Gtk/Separator.xml0000664000175000017500000000763312767740535015112 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Widget The widget is an abstract class, used only for deriving the subclasses and . Constructor 2.12.0.0 Protected constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gtk/ToggleHandleFocusHandler.xml0000664000175000017500000000321512767740535017775 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ToggleHandleFocusHandler instance to the event. The methods referenced by the ToggleHandleFocusHandler instance are invoked whenever the event is raised, until the ToggleHandleFocusHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/Tooltip.xml0000664000175000017500000001550012767740535014574 00000000000000 gtk-sharp 2.12.0.0 GLib.Object To be added. To be added. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Property 2.12.0.0 Gtk.Widget To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 Gdk.Pixbuf To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 Gdk.Rectangle To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/AccelMapForeach.xml0000664000175000017500000000304512767740535016100 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added. To be added. To be added. A delegate for running over each entry in an accelerator. See . gtk-sharp-2.12.40/doc/en/Gtk/WindowStateEventHandler.xml0000664000175000017500000000320212767740535017706 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the WindowStateEventHandler instance to the event. The methods referenced by the WindowStateEventHandler instance are invoked whenever the event is raised, until the WindowStateEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/ItemFactoryEntry.xml0000664000175000017500000001425212767740535016415 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType System.Obsolete Class intended for use with . FIXME: see bugzilla.ximian.com #70887, which directly concerns this API. Field 2.12.0.0 System.String The accelerator key for this item. For example, "<control>O". Property 2.12.0.0 Gtk.ItemFactoryCallback To be added. To be added. To be added. Field 2.12.0.0 System.UInt32 A callback function to run when this item is activated. NOTE: The API doesn't support the actual code here. Field 2.12.0.0 System.String Type of item to add. Possible values: "<Title>" creates a title item, "<Item>" creates a simple item, "<ImageItem>" creates an item holding an image, "<StockItem>" creates an item holding a stock image, "<CheckItem>" creates a check item, "<ToggleItem>" creates a toggle item, "<RadioItem>" creates a radio item, <path> for the path of a radio item to link against, "<Separator>" creates a separator, "<Tearoff>" creates a tearoff separator, "<Branch>" creates an item to hold sub items, "<LastBranch>" creates a right justified item to hold sub items. Method 2.12.0.0 Gtk.ItemFactoryEntry a , pointer to the underlying C data. For internal use only. Do not use. a Field 2.12.0.0 System.String The path of the item. For example, "/File/_Open", where the "O" should be a mnemonic underline. Field 2.12.0.0 Gtk.ItemFactoryEntry Empty entry. gtk-sharp-2.12.40/doc/en/Gtk/Frame.xml0000664000175000017500000002475112767740535014204 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Bin A with a decorative frame and optional . This widget draws a frame around whatever it contains, so is often used to visually group a set of widgets together. If present, a label is drawn in a gap in the top side of the frame. The position of the label can be controlled with . Constructor 2.12.0.0 Create a new frame with no label Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 The text to appear as this frame's label Create a new frame with a label in the top left corner. This creates a new frame with a widget in the top left corner, displaying the text passed in as . Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("label") System.String The string that is visible as the Frame's label The text of a label if is a , null otherwise. Property 2.12.0.0 GLib.Property("label-widget") Gtk.Widget Manage the widget that acts as a frame's . The current in use as this Frame's label. Despite its name, this property does not have to set a widget as its label. Because of the way that Gtk containers work, you may add an arbitrary widget as the label for this frame. However, a genuine is recommended for consistency with other applications. Property 2.12.0.0 GLib.Property("label-xalign") System.Single Set the horizontal alignment of the . The existing horizontal alignment of this Frame's label Property 2.12.0.0 GLib.Property("label-yalign") System.Single Set the vertical alignment of the . The existing vertical alignment of this Frame's label Property 2.12.0.0 GLib.Property("shadow") Gtk.ShadowType Manage the appearance of this frame's border. The current shadow style that this Frame is rendered with. Property 2.12.0.0 GLib.Property("shadow-type") Gtk.ShadowType Manage the appearance of this frame's border. The current shadow style that this Frame is rendered with. gtk-sharp-2.12.40/doc/en/Gtk/GotPageSizeArgs.xml0000664000175000017500000000524712767740535016147 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.PrintContext The Print Context of the current operation. A . Property 2.12.0.0 Gtk.PageSetup To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/ReorderTabArgs.xml0000664000175000017500000000515612767740535016016 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.DirectionType To be added. To be added. To be added. Property 2.12.0.0 System.Boolean To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/Dialog.xml0000664000175000017500000010050612767740535014342 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Window Creates popup windows. boxes are a convenient way to prompt the user for a small amount of input, eg. to display a message, ask a question, or anything else that does not require extensive effort by the user. Gtk# treats a dialog as a window split vertically. The top section is a , and is where widgets such as a or an should be packed. The bottom area is known as the . This is generally used for packing buttons into the dialog which may perform functions such as cancel, ok, or apply. The two areas are separated by a . The two primary areas of a dialog can be accessed as the property and the property. To set the dialog to be modal, use the property. If you want to block waiting for a dialog to return before returning control flow to your code, you can call . This function enters a recursive main loop and waits for the user to respond to the dialog, returning the corresponding to the the user clicked. For a simple dialog, you would probably use to save yourself some effort. However, you would need to create the contents manually if you had more than a simple message in the . using System; using Gtk; namespace GtkDialogSample { public class GtkDialogSample { Dialog dialog; Window win; static void Main() { new GtkDialogSample (); } GtkDialogSample () { Application.Init (); win = new Window ("Test"); win.SetDefaultSize (250, 250); win.DeleteEvent += delegate { Application.Quit (); } Button btn = new Button ("Show About"); btn.Clicked += on_btn_clicked; win.Add (btn); win.ShowAll (); Application.Run (); } void on_btn_clicked (object obj, EventArgs args) { dialog = new Dialog ("Sample", win, Gtk.DialogFlags.DestroyWithParent); dialog.Modal = true; dialog.AddButton ("Close", ResponseType.Close); dialog.Response += on_dialog_response; dialog.Run (); dialog.Destroy (); } void on_dialog_response (object obj, ResponseArgs args) { Console.WriteLine (args.ResponseId); } } } You also can subclass the when you want to use the same Dialog on several places in your application. using System; using Gtk; namespace GtkDialogSample { public class MyDialog:Dialog { public MyDialog(Window w,DialogFlags f ):base("Sample", w, f) { this.Modal = true; this.AddButton ("Close", ResponseType.Close); } protected override void OnResponse (ResponseType response_id){ Console.WriteLine (response_id); } } public class GtkDialogSample { MyDialog dialog; Window win; static void Main() { new GtkDialogSample (); } GtkDialogSample () { Application.Init (); win = new Window ("Test"); win.SetDefaultSize (250, 250); win.DeleteEvent += new DeleteEventHandler (on_win_delete); Button btn = new Button ("Show About"); btn.Clicked += new EventHandler (on_btn_clicked); win.Add (btn); win.ShowAll (); Application.Run (); } void on_btn_clicked (object obj, EventArgs args) { dialog = new MyDialog(win, Gtk.DialogFlags.DestroyWithParent); dialog.Run (); dialog.Destroy (); } void on_win_delete (object obj, DeleteEventArgs args) { Application.Quit (); } } } Constructor 2.12.0.0 Creates a new dialog box. Creates a new dialog box. This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 System.ParamArray a title a parent , or for an unparented dialog. dialog characteristic such as modality and destruction policy. a list of button text/response pairs if desired. Creates a new dialog box. Creates a new with the specified title and parent widget. The argument can be used to make the dialog modal () and/or to have it destroyed along with its parent (). using System; using Gtk; class MainClass { public static void Main (string[] args) { Application.Init (); // Shows two buttons that use stock icons, and a custom button // Add button will return 1000 // Delete button will return 2000 // "My Own Butotn" will return 3000 Dialog d = new Gtk.Dialog ("What to do?", null, DialogFlags.Modal, Stock.Add, 1000, Stock.Delete, 2000, "My Own Button", 3000); int response = d.Run (); if (response == (int) ResponseType.DeleteEvent) Console.WriteLine ("The user closed the dialog box"); Console.WriteLine (response); } } Property 2.12.0.0 Gtk.HButtonBox The area of the Dialog where the action widgets are placed. a Method 2.12.0.0 System.Void a a Adds an activatable widget to the of a . Adds an activatable to the of a , connecting a signal handler that will on the when the is activated. The is appended to the end of the . If you want to add a non-activatable , simply pack it into the field of the . Method 2.12.0.0 System.Void an object of type . an object of type . Adds an activatable widget to the of a . Adds an activatable to the of a , connecting a signal handler that will on the when the is activated. The is appended to the end of the . If you want to add a non-activatable , simply pack it into the field of the . Method 2.12.0.0 Gtk.Widget a , text for the button a , the numeric response code emitted when the button is pressed. Adds a new response button to the dialog. a representing the button added. Method 2.12.0.0 Gtk.Widget an object of type . an object of type . Adds a with the given text. an object of type Adds a with the given text (or a stock button, if button_text is a stock ID) and sets things up so that clicking the will emit a with the given response_id. The is appended to the end of the . The is returned, but usually you do not need it. Property 2.12.0.0 System.Int32[] AlternativeButtonOrder property. An array of Response IDs. Sets the button order to an alternative arrangement when the gtk-alternive-button-order setting is . Event 2.12.0.0 GLib.Signal("close") System.EventHandler Emitted when the dialog is closed. Property 2.12.0.0 Gtk.ResponseType Sets the default response_id. a Sets the default response_id. Method 2.12.0.0 System.Int32 A in the action area of the dialog. Gets the response id associated with an action area Widget. an representing the response id or if the widget has no response id set. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("has-separator") System.Boolean Whether to display a . an object of type Whether to display a in the above the Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideClose", Type=typeof(Gtk.Dialog)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideResponse", Type=typeof(Gtk.Dialog)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Void a , the chosen response. Activate one of the responses. Method 2.12.0.0 System.Void an object of type . Emits the event with the given response ID. Emits the event with the given response ID. Used to indicate that the user has responded to the in some way; typically either you or will be monitoring the event and take appropriate action. Event 2.12.0.0 GLib.Signal("response") Gtk.ResponseHandler Emitted when an action widget is clicked, the receives a delete event, or the application programmer calls . On a delete event, the response ID is . Otherwise, it depends on which action widget was clicked. Method 2.12.0.0 System.Int32 Waits for the event or the to be destroyed. an object of type . Waits for the event or the to be destroyed. If the is destroyed during the call to , returns . Otherwise, it returns the response ID from the event. Before entering the recursive main loop, calls on the for you. Note that you still need to show any children of the yourself. During , the default behavior of is disabled; if the receives , it will not be destroyed as usual, and will return . Also, during the will be modal. You can force to return at any time by calling to emit the event. Destroying the during is a very bad idea, because your post-run code will not know whether the was destroyed or not. After returns, you are responsible for hiding or destroying the if you wish to do so. Method 2.12.0.0 System.Obsolete("Replaced by AlternativeButtonOrder property") System.Int32 a To be added a To be added Method 2.12.0.0 System.Void a a A convenient way to sensitize/desensitize dialog buttons. Sets = for each widget in the with the given response_id. A convenient way to sensitize/desensitize dialog buttons. Property 2.12.0.0 Gtk.VBox The that contains other widgets in this dialog. an object of type . gtk-sharp-2.12.40/doc/en/Gtk/IMMulticontext.xml0000664000175000017500000001147112767740535016072 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.IMContext An input method context object that manages the use of multiple input method contexts for a widget Constructor 2.12.0.0 Basic constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Void a Add menu items for various available input methods to a menu; the menuitems, when selected, will switch the input method for the context and the global default input method. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gtk/CellLayoutDataFunc.xml0000664000175000017500000000422612767740535016630 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void A . A whose value is to be set. The model. A indicating the row to set the value for. Delegate class used as an argument for ; see that method's documentation for usage details. gtk-sharp-2.12.40/doc/en/Gtk/CreateWindowHandler.xml0000664000175000017500000000165212767740535017036 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/TreeRowReference.xml0000664000175000017500000002754612767740535016365 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque Internal struct. Do not use. Do not use. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 an object of type an object of type Do not use. Do not use. Constructor 2.12.0.0 an object of type an object of type an object of type Do not use. Do not use. Method 2.12.0.0 Gtk.TreeRowReference Do not use. a Do not use. Method 2.12.0.0 System.Void an object of type an object of type Do not use. Do not use. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Obsolete("Gtk.TreeRowReference is now freed automatically") System.Void Do not use. Do not use. Method 2.12.0.0 System.Void To be added. To be added. To be added. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 System.Void an object of type an object of type Do not use. Do not use. Property 2.12.0.0 Gtk.TreeModel Do not use. Do not use. Do not use. Property 2.12.0.0 Gtk.TreePath Do not use. an object of type Do not use. Method 2.12.0.0 System.Int32 a a a Do not use. a Do not use. Method 2.12.0.0 System.Boolean Do not use. an object of type Do not use. gtk-sharp-2.12.40/doc/en/Gtk/MenuCallback.xml0000664000175000017500000000301312767740535015457 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. Do not use. Do not use. gtk-sharp-2.12.40/doc/en/Gtk/VPaned.xml0000664000175000017500000001006212767740535014315 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Paned A container for two children, separated vertically by a splitter bar. s are added to this container using the and methods. See the documentation of for more information. Constructor 2.12.0.0 Creates a new container, split vertically. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor from a subclass if you have manually registered a for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.GType GType property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gtk/ObjectRequestedArgs.xml0000664000175000017500000000427012767740535017051 00000000000000 gtkhtml-sharp 3.16.0.0 GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 3.16.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 3.16.0.0 Gtk.HTMLEmbedded To be added a gtk-sharp-2.12.40/doc/en/Gtk/ExpandCollapseCursorRowHandler.xml0000664000175000017500000000333012767740535021226 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ExpandCollapseCursorRowHandler instance to the event. The methods referenced by the ExpandCollapseCursorRowHandler instance are invoked whenever the event is raised, until the ExpandCollapseCursorRowHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/AttachOptions.xml0000664000175000017500000000570012767740535015723 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.AttachOptionsGType)) System.Flags Denotes the expansion properties that a will have when it (or its parent) is resized. Field 2.12.0.0 Gtk.AttachOptions The should expand to take up any extra space in its container that has been allocated. Field 2.12.0.0 Gtk.AttachOptions The should fill the space allocated to it. Field 2.12.0.0 Gtk.AttachOptions The should shrink when possible. gtk-sharp-2.12.40/doc/en/Gtk/TagAddedHandler.xml0000664000175000017500000000305012767740535016072 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the TagAddedHandler instance to the event. The methods referenced by the TagAddedHandler instance are invoked whenever the event is raised, until the TagAddedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/IconSize.xml0000664000175000017500000001210612767740535014664 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.IconSizeGType)) The possible icon sizes This class contains all the valid icon sizes that are supported by Gtk. Field 2.12.0.0 Gtk.IconSize The icon size for a . Field 2.12.0.0 Gtk.IconSize The icon size used in a Field 2.12.0.0 Gtk.IconSize The icon size used during a drag-n-drop operation. Field 2.12.0.0 Gtk.IconSize This signifies an unsupported icon size. Field 2.12.0.0 Gtk.IconSize The icon size for a large . Field 2.12.0.0 Gtk.IconSize The icon size for a . Field 2.12.0.0 Gtk.IconSize The icon size for a small gtk-sharp-2.12.40/doc/en/Gtk/EntryCompletion.xml0000664000175000017500000011176512767740535016307 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Gtk.CellLayout This object allows a widget to suggest possible completions of a string which has been partially entered. The partially-entered string is also referred to as a "key". using System; using Gtk; public class DemoEntryCompletion : Window { static void Main () { Application.Init (); new DemoEntryCompletion (); Application.Run (); } public DemoEntryCompletion () : base ("Demo Entry Completion") { this.BorderWidth = 10; this.Resizable = false; VBox vbox = new VBox (); Label label = new Label ("Completion demo, try writing <b>total</b> or </b>gnome</b> for example."); label.UseMarkup = true; vbox.PackStart (label, false, true, 0); Entry entry = new Entry (); entry.Completion = new EntryCompletion (); entry.Completion.Model = CreateCompletionModel (); entry.Completion.TextColumn = 0; vbox.PackStart (entry, false, true, 0); this.Add (vbox); this.ShowAll (); } TreeModel CreateCompletionModel () { ListStore store = new ListStore (typeof (string)); store.AppendValues ("GNOME"); store.AppendValues ("total"); store.AppendValues ("totally"); return store; } } Constructor 2.12.0.0 Constructor for general use. Constructor 2.12.0.0 System.Obsolete a Protected constructor. Constructor 2.12.0.0 a Constructor for internal use only. Event 2.12.0.0 GLib.Signal("action_activated") Gtk.ActionActivatedHandler Event triggered when a particular action is activated. Method 2.12.0.0 System.Void a a , parameter on to be set from the value a , column of the model to get a value from. Adds an attribute mapping to the list in this entry-completion widget. The is the column of the model to get a value from, and the is the parameter on to be set from the value. So for example if column 2 of the model contains strings, you could have the "text" attribute of a get its values from column 2. Property 2.12.0.0 Gtk.CellRenderer[] To be added. To be added. To be added. Method 2.12.0.0 System.Void Clears the completion. Method 2.12.0.0 System.Void a Clears all existing attributes previously set with . Method 2.12.0.0 System.Void Requests a completion operation, or in other words a refiltering of the current list with completions, using the current key. The completion list view will be updated accordingly. Property 2.12.0.0 System.String To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("cursor_on_match") Gtk.CursorOnMatchHandler To be added. To be added. Method 2.12.0.0 System.Void a Deletes the action at from the action list for this completion. Property 2.12.0.0 Gtk.Widget Returns the entry widget this completion object has been attached to. a Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("inline-completion") System.Boolean To be added a To be added Property 2.12.0.0 GLib.Property("inline-selection") System.Boolean To be added. To be added. To be added. Method 2.12.0.0 System.Void a a Inserts an action in the completion's action item list at position with markup . Method 2.12.0.0 System.Void a a Inserts an action in the completion's action item list at position with text . If you want the item to have markup, use . Method 2.12.0.0 System.Void To be added To be added Property 2.12.0.0 Gtk.EntryCompletionMatchFunc The matching function a The match function is used to determine if a row should or should not be in the completion list. Event 2.12.0.0 GLib.Signal("match_selected") Gtk.MatchSelectedHandler Event triggered when the user selects a match. Property 2.12.0.0 GLib.Property("minimum-key-length") System.Int32 Minimum string length for enabling completion. a Requires the length of the search key for this completion to be at least a certain length. This is useful for long lists, where completing using a small key takes a lot of time and will come up with meaningless results anyway (ie, a too large dataset). Property 2.12.0.0 GLib.Property("model") Gtk.TreeModel Tree data model. a Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideActionActivated", Type=typeof(Gtk.EntryCompletion)) System.Void a This method is called whenever an action is activated. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCursorOnMatch", Type=typeof(Gtk.EntryCompletion)) System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideMatchSelected", Type=typeof(Gtk.EntryCompletion)) System.Boolean a , the model the match was selected from a , the row the user picked This method is called whenever the user selects one of the suggested matches. a Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePrefixInserted", Type=typeof(Gtk.EntryCompletion)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Void a a Adds the to the end of the entry-completion widget. If is , then the is allocated no more space than it needs. Any unused space is divided evenly between cells for which is . Method 2.12.0.0 System.Void a a Packs the into the beginning of the entry-completion widget. If is , then the is allocated no more space than it needs. Any unused space is divided evenly between cells for which is . Property 2.12.0.0 GLib.Property("popup-completion") System.Boolean To be added a To be added Property 2.12.0.0 GLib.Property("popup-set-width") System.Boolean Controls if the popup is sized to the same width as the entry. if popup size is same as entry size. Property 2.12.0.0 GLib.Property("popup-single-match") System.Boolean Controls if popup is displayed on a single match. if popup is displayed on single matches. Set this to for inline completion. Event 2.12.0.0 GLib.Signal("insert_prefix") Gtk.PrefixInsertedHandler To be added To be added Method 2.12.0.0 System.Void a a Reinserts into the completion list at . Method 2.12.0.0 System.Void System.ParamArray a a Sets the attribute to model column bindings for a renderer. The array should be pairs of attribute names and column indexes. Method 2.12.0.0 System.Void a a Sets up a data function for this layout. The data function is used instead of the standard attributes mapping for setting the column value, and should set the value of the layout's cell renderer(s) as appropriate. may be to remove an older one. Property 2.12.0.0 GLib.Property("text-column") System.Int32 Setting this property generates a completion list with just strings. a Setting this convenience property will set up the completion to have a list displaying all (and just) strings in the completion list, and to get those strings from a particular column number in the model of the completion object. gtk-sharp-2.12.40/doc/en/Gtk/ClipboardReceivedFunc.xml0000664000175000017500000000233612767740535017327 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Delegate that specifies the shape of methods that run when the clipboard receives data. gtk-sharp-2.12.40/doc/en/Gtk/TooltipSetArgs.xml0000664000175000017500000001022012767740535016057 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.String The private/detail tooltip text that was set. a Property 2.12.0.0 System.String The public tooltip text that was set. a Property 2.12.0.0 Gtk.Tooltips The tooltips group. a (XXX: should this be the entire tooltips group, or just the tooltip that was set?) gtk-sharp-2.12.40/doc/en/Gtk/ConnectProxyHandler.xml0000664000175000017500000000420312767740535017071 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ConnectProxyHandler instance to the event. The methods referenced by the ConnectProxyHandler instance are invoked whenever the event is raised, until the ConnectProxyHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/DeleteType.xml0000664000175000017500000001435312767740535015213 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.DeleteTypeGType)) An enumeration used by TextView This enumeration is used by to see decide how delete behaves. Field 2.12.0.0 Gtk.DeleteType Delete the character that is highlighted by the cursor. Delete the character that is highlighted by the cursor. Field 2.12.0.0 Gtk.DeleteType Delete from the cursor to the end of the line. Field 2.12.0.0 Gtk.DeleteType Delete lines from the display (i.e., not lines as measured by carriage returns.) Field 2.12.0.0 Gtk.DeleteType Delete to the end of the paragraph. Field 2.12.0.0 Gtk.DeleteType Delete the whole line. Field 2.12.0.0 Gtk.DeleteType Delete all the whitespace before the cursor. Delete all the whitespace before the cursor. Field 2.12.0.0 Gtk.DeleteType Delete until the end of a word Delete only the portion of the word to the left/right of cursor if we're in the middle of a word. Field 2.12.0.0 Gtk.DeleteType Delete words. gtk-sharp-2.12.40/doc/en/Gtk/SideType.xml0000664000175000017500000000733112767740535014673 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.SideTypeGType)) Gtk.SideType is deprecated and should not be used in newly-written code. Field 2.12.0.0 Gtk.SideType SideBottom Field 2.12.0.0 Gtk.SideType SideLeft Field 2.12.0.0 Gtk.SideType SideRight Field 2.12.0.0 Gtk.SideType SideTop gtk-sharp-2.12.40/doc/en/Gtk/PackType.xml0000664000175000017500000000426012767740535014663 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.PackTypeGType)) Represents the packing location of children. (See: , , and ). Field 2.12.0.0 Gtk.PackType The child is packed into the end of the box Field 2.12.0.0 Gtk.PackType The child is packed into the start of the box. gtk-sharp-2.12.40/doc/en/Gtk/ChildDetachedHandler.xml0000664000175000017500000000314112767740535017103 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ChildDetachedHandler instance to the event. The methods referenced by the ChildDetachedHandler instance are invoked whenever the event is raised, until the ChildDetachedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/SubmitArgs.xml0000664000175000017500000000670312767740535015227 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 3.16.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 3.16.0.0 System.String The text encoding to use for submitting the form. A Property 3.16.0.0 System.String The HTTP method to use for submitting. A Usually GET, POST, or PUT. Property 3.16.0.0 System.String The URL to submit the form data to. A gtk-sharp-2.12.40/doc/en/Gtk/VisibilityNotifyEventHandler.xml0000664000175000017500000000327612767740535020771 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the VisibilityNotifyEventHandler instance to the event. The methods referenced by the VisibilityNotifyEventHandler instance are invoked whenever the event is raised, until the VisibilityNotifyEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/Window.xml0000664000175000017500000035726312767740535014430 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Bin Toplevel which can contain other widgets. using System; using Gtk; class WindowTester { static void Main () { Application.Init (); Window myWindow = new Window ("This is a window"); myWindow.DeleteEvent += OnDelete; myWindow.SetDefaultSize (200, 200); //Put a button in the Window Button button = new Button ("Click"); myWindow.Add (button); myWindow.ShowAll (); Application.Run (); } static void OnDelete (object o, DeleteEventArgs e) { Application.Quit (); } } Toplevel which can contain other widgets. Constructor 2.12.0.0 System.Obsolete a Protected constructor. Chain to this constructor if you have manually registered a native GType for your subclass. Constructor 2.12.0.0 A . Creates a new Window object, based on the . Creates a new Window object, wich can be of type TopLevel ( most of the cases ) or PopUp. Take care with the use of PopUp type, since it is not controlled by the window manager. Constructor 2.12.0.0 Pointer to the C object. Internal constructor. This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 A string. Creates a new TopLevel Window object, with as the title. Creates a new TopLevel Window object, using as the title. You get the same if you use the public Window ( Gtk.WindowType type ) constructor and later set the string Title property. Property 2.12.0.0 GLib.Property("accept-focus") System.Boolean Windows may set a hint asking the desktop environment not to receive the input focus. a to let this window receive input focus Method 2.12.0.0 System.Boolean Activates the default for the . if a is activated. That is unless the current focused has been configured to receive the default (see ) action in which case the case the focused is activated. Method 2.12.0.0 System.Boolean Activates the current focused within the . if a got activated. Method 2.12.0.0 System.Boolean a Activates mnemonics and accelerators for this window. a This is normally called by the default KeyPressEvent handler for toplevel windows, however in some cases it may be useful to call this directly when overriding the standard key handling for a toplevel window. Method 2.12.0.0 System.Void A . Associate with . Such that calling on will activate accelerators in . Method 2.12.0.0 System.Void an object of type Adds an X id number to the list of embedded windows. This is an advanced feature and is not used by typical code. The method adds the specified XID to a list of embedded windows that is maintained as object data on the Window object. This list is used for things like querying X rc settings. Method 2.12.0.0 System.Void The mnemonic. The that gets activated by the mnemonic. Adds a mnemonic to this . Property 2.12.0.0 GLib.Property("allow-grow") System.Boolean Sets or obtains if the can be resized to a larger size by the user. if the can be resized. Property 2.12.0.0 GLib.Property("allow-shrink") System.Boolean Sets or obtains if the has no mininum size. if the has no minimum size. Setting this to is 99% of the time a bad idea. Property 2.12.0.0 System.Boolean Property used for setting the automatic startup notification. if set to automatically do startup notification. By default, after showing the first for each , GTK# calls . Use this property to disable the automatic startup notification. You might do this if your first is a splash screen, and you want to delay notification until after your real main has been shown, for example. In that example, you would disable startup notification temporarily, show your splash screen, then re-enable it so that showing the main would automatically result in notification. Method 2.12.0.0 System.Void Mouse button that initiated the drag. X position where the user clicked to initiate the drag, in root window coordinates. Y position where the user clicked to initiate the drag. Timestamp from the click event that initiated the drag. Starts moving a . This method is used if an application has window movement grips. When GDK can support it, the window movement will be done using the standard mechanism for the window manager or windowing system. Otherwise, GDK will try to emulate window movement, potentially not all that well, depending on the windowing system. Method 2.12.0.0 System.Void Position of the resize control. Mouse button that initiated the drag. X position where the user clicked to initiate the drag, in root window coordinates. Y position where the user clicked to initiate the drag Timestamp from the click event that initiated the drag. Starts resizing a . This method is used if an application has window resizing controls. When GDK can support it, the resize will be done using the standard mechanism for the window manager or windowing system. Otherwise, GDK will try to emulate window resizing, potentially not all that well, depending on the windowing system. Property 2.12.0.0 GLib.Property("decorated") System.Boolean Sets or obtains whether the has been set to have decorations. if the has been set to have decorations. With this property you control if a will be decorated or not. By default, windows are decorated with a title bar and resize controls. Some window managers allow to disable these decorations, creating a borderless Window. If you set this property as false, Gtk# will try to convince the window manager not to decorate the . Property 2.12.0.0 Gtk.Widget Sets or unsets the default for a about. A . The default is the widget that's activated when the user presses Enter in a dialog (for example). When setting (rather than unsetting) the default it's generally easier to call on the . Before making a default , you must set the flag on the you'd like to make the default. Event 2.12.0.0 GLib.Signal("activate_default") System.EventHandler DefaultActivated event. This event is emited when the keybinding for default widget activation is triggered. Property 2.12.0.0 GLib.Property("default-height") System.Int32 Property used for setting or obtaining the default height of a . The default height of the . This property will allow you to define the default height for your . It only define the default one, so if the is resized, it won't be able to do anything. Property 2.12.0.0 Gdk.Pixbuf Sets an icon to be used as fallback for windows that have not had called on them from a pixbuf. a Property 2.12.0.0 Gdk.Pixbuf[] Sets or obtains the icon list to be used as fallback for windows that haven't had called on them to set up a window-specific icon list. An array of icons list. This method allows you to set up the icon for all windows in your app at once. Property 2.12.0.0 System.String To be added a To be added Property 2.12.0.0 Gdk.Size Sets or obtains the default size of . a A value of -1 for the size indicates that a default size has not been explicitly set for that dimension, so the "natural" size of the will be used. If the 's "natural" size (its size request) is larger than the default, the default will be ignored. More generally, if the default size does not obey the geometry hints for the ( can be used to set these explicitly), the default size will be clamped to the nearest permitted size. Unlike , which sets a size request for a and thus would keep users from shrinking the , this method only sets the initial size, just as if the user had resized the themselves. Users can still shrink the again as they normally would. Setting a default size of -1 means to use the "natural" default size (the size request of the ). For more control over a 's initial size and how resizing works, read . For some uses, is a more appropriate method. changes the current size of the , rather than the size to be used on initial display. always affects the itself, not the geometry widget. The default size of a only affects the first time a is shown; if a is hidden and re-shown, it will remember the size it had prior to hiding, rather than using the default size. Windows can't actually be 0x0 in size, they must be at least 1x1, but passing 0 is OK, resulting in a 1x1 default size. Property 2.12.0.0 GLib.Property("default-width") System.Int32 Property used for setting or obtaining the default width of a . The default width of the . This property will allow you to define the default width for . It only define the default one, so if the is resized, it won't be able to do anything. Method 2.12.0.0 System.Void Asks to deiconify (i.e. unminimize) the specified . Note that you shouldn't assume the is definitely deiconified afterward, because other entities (e.g. the user or window manager) could iconify it again before your code which assumes deiconification gets to run. You can track iconification via the event on GtkWidget. Property 2.12.0.0 GLib.Property("deletable") System.Boolean Indicates if the window has a close button. if , a close button is displayed. Property 2.12.0.0 GLib.Property("destroy-with-parent") System.Boolean Sets or obtains whether the transient parent of will also destroy itself an object of type This is useful for dialogs that shouldn't persist beyond the livefime of the main they're associated with, for example. Property 2.12.0.0 Gtk.Widget Sets a to be the focus widget for the if it is not the current focus widget, and its focusable, or retrieves the current focused within the . The currently focused , or if there is none. To set the focus to a particular in the toplevel, it is usually more convenient to use . Note: when retrieving the current focused is the that would have the focus if the toplevel focused; if the toplevel is not focused then will not be for the . Event 2.12.0.0 GLib.Signal("activate_focus") System.EventHandler FocusActivated event. This event is emited when the keybinding for focused widget activation is triggered. Property 2.12.0.0 GLib.Property("focus-on-map") System.Boolean To be added a To be added Event 2.12.0.0 GLib.Signal("frame_event") Gtk.FrameEventHandler FrameEvent event. This event is emited when has been set to true and an event occurs on the resulting frame. Method 2.12.0.0 System.Void Asks to place in the fullscreen state. Note that you shouldn't assume the is definitely full screen afterward, because other entities (e.g. the user or window manager) could unfullscreen it again, and not all window managers honor requests to fullscreen windows. But normally the will end up restored to its normal state. Just don't write code that crashes if not. You can track the fullscreen state via the event on . Method 2.12.0.0 System.Void Location to store the default width, or . Location to store the default height, or . Gets the default size of the . A value of -1 for the width or height indicates that a default size has not been explicitly set for that dimension, so the "natural" size of the will be used. Method 2.12.0.0 System.Void Location to store the width of the frame at the left, or . Location to store the height of the frame at the top, or . Location to store the width of the frame at the returns, or . Location to store the height of the frame at the bottom, or . Retrieves the dimensions of the frame window for this toplevel. It will not return the size of the window border drawn by the window manager, which is the normal case when using a windowing system. See to get the standard window border extents.) See also , . Note: this is a special-purpose method intended for the framebuffer port; see . Method 2.12.0.0 System.Void Return location for X coordinate of gravity-determined reference point. Return location for Y coordinate of gravity-determined reference point. This method returns the position you need to pass to to keep in its current position. If you haven't changed the window gravity, its gravity will be . This means that gets the position of the top-left corner of the window manager frame for the . sets the position of this same top-left corner. is not 100% reliable because the X Window System does not specify a way to obtain the geometry of the decorations placed on a by the window manager. Thus GTK# is using a "best guess" that works with most window managers. Moreover, nearly all window managers are historically broken with respect to their handling of window gravity. So moving a to its current position as returned by tends to result in moving the slightly. Window managers are slowly getting better over time. If a has gravity the window manager frame is not relevant, and thus will always produce accurate results. However you can't use static gravity to do things like place a in a corner of the screen, because static gravity ignores the window manager decorations. If you are saving and restoring your application's positions, you should know that it's impossible for applications to do this without getting it somewhat wrong because applications do not have sufficient knowledge of window manager state. The Correct Mechanism is to support the session management protocol (see the "GnomeClient" object in the GNOME libraries for example) and allow the window manager to save your sizes and positions. Method 2.12.0.0 System.Void Return location for width, or . Return location for height, or . Obtains the current size of . If is not onscreen, it returns the size GTK# will suggest to the window manager for the initial window size (but this is not reliably the same as the size the window manager will actually select). The size obtained by is the last size received in a GdkEventConfigure, that is, GTK# uses its locally-stored size, rather than querying the X server for the size. As a result, if you call then immediately call , the size would not have taken effect yet. After the window manager processes the resize request, GTK# receives notification that the size has changed via a configure event, and the size of the gets updated. Note 1: Nearly any use of this method creates a race condition, because the size of the may change between the time that you get the size and the time that you perform some action assuming that size is the current size. To avoid race conditions, connect to on the and adjust your size-dependent state to match the size delivered in the GdkEventConfigure. The following example will print the height and width of a called myWindow to the console. int height =0; int width = 0; myWindow.GetSize(out width , out height); Console.WriteLine("Width: {0}, Height: {1}" , width , height); Property 2.12.0.0 GLib.Property("gravity") Gdk.Gravity Sets or obtains the meaning of coordinates passed to . A window gravity. The default window gravity is which is typically "do what you mean". See and . Property 2.12.0.0 Gtk.WindowGroup Gets the Group the window is associated with. a . Property 2.12.0.0 GLib.GType GType Property a Returns the native GObject type for . Property 2.12.0.0 System.Boolean If this function is called on a with setting of , before it is realized or showed, it will have a "frame" around widget->window, accessible in window->frame. Or it access the "frame" exterior to widget->window. if a frame has been added to the via . Using the event you can receive all events targeted at the frame. This method is used by the linux-fb port to implement managed windows, but it could concievably be used by X-programs that want to do their own window decorations. Note: This is a special-purpose method for the framebuffer port, this causes GTK# to draw its own window border. For most applications you want instead, which tells the window manager whether to draw the window border. Property 2.12.0.0 GLib.Property("has-toplevel-focus") System.Boolean Whether the input focus is within this . if the has the input focus. Property 2.12.0.0 GLib.Property("icon") Gdk.Pixbuf Property used for setting the icon for a . The default icon for . Method 2.12.0.0 System.Void Asks to iconify (i.e. minimize) the specified . Note that you shouldn't assume the is definitely iconified afterward, because other entities (e.g. the user or window manager) could deiconify it again, or there may not be a window manager in which case iconification isn't possible, etc. But normally the will end up iconified. Just do not write code that crashes if not. You can track iconification via the event on . Property 2.12.0.0 Gdk.Pixbuf[] Sets or obtains the list of icons representing a . An array of s. The icon is used when is minimized (also known as iconified). Some window managers or desktop environments may also place it in the window frame, or display it in other contexts. allows you to pass the same icon in several hand-drawn sizes. The list should contain the natural sizes your icon is available in; that is, don't scale the image before passing it to GTK#. Scaling is postponed unitl the last minute, when the desired final size is known, to allow best quality. By passing several sizes, you may improve the final image quality of the icon, by reducing or eliminating automatic image scaling. Recommended sizes to provide: 16x16, 32x32, 48x48 at minimum, and larger images (64x64, 128x128) if you have them). Note that transient windows (those who have been set transient for another using will inherit their icon from their transient parent. So there's no need to explicity set the icon on transient windows. When retrieving the list is copied, but the reference count on each won't be incremented. Property 2.12.0.0 GLib.Property("icon-name") System.String To be added a To be added Property 2.12.0.0 GLib.Property("is-active") System.Boolean Whether the toplevel is the current active . if the is the toplevel. Property 2.12.0.0 System.Boolean Asks to keep window above, so that it stays on top. a Note that you should not assume the window is definitely below afterward, because other entities (e.g. the user or window manager) could not keep it above, and not all window managers support putting windows below. But normally the window will be kept above. Just do not write code that crashes if not. It is permitted to call this function before showing a window, in which case the window will be kept above when it appears onscreen initially. You can track the below state via event. Note that, according to the Extended Window Manager Hints specification, the above state is mainly meant for user preferences and should not be used by applications e.g. for drawing attention to their dialogs. Property 2.12.0.0 System.Boolean Asks to keep window below, so that it stays in bottom. a Note that you should not assume the window is definitely below afterward, because other entities (e.g. the user or window manager) could not keep it below, and not all window managers support putting windows below. But normally the window will be kept below. Just do not write code that crashes if not. It is permitted to call this function before showing a window, in which case the window will be kept below when it appears onscreen initially. You can track the below state via event. Note that, according to the Extended Window Manager Hints specification, the above state is mainly meant for user preferences and should not be used by applications e.g. for drawing attention to their dialogs. Event 2.12.0.0 GLib.Signal("keys_changed") System.EventHandler KeysChanged event. This event is emited when the or mnemonic associated with the is changed. Method 2.12.0.0 Gtk.Window[] Returns a list of all existing toplevel windows. An array of toplevel widgets. The widgets in the list are not individually referenced. Method 2.12.0.0 System.Void Asks to maximize , so that it becomes full-screen. Note that you shouldn't assume the is definitely maximized afterward, because other entities (e.g. the user or window manager) could unmaximize it again, and not all window managers support maximization. But normally the will end up maximized. Just don't write code that crashes if not. You can track maximization via the event on . It's permitted to call this method before showing a , in which case the will be maximized when it appears onscreen initially. Method 2.12.0.0 System.Boolean The mnemonic. The modifiers. Activates the targets associated with the mnemonic. if the activation is done. Property 2.12.0.0 Gdk.ModifierType Sets or obtains the mnemonic modifier for this . The modifier mask used to activate mnemonics on this . Property 2.12.0.0 GLib.Property("modal") System.Boolean Sets or obtains the modal status of . if the is set to be modal and establishes a grab when shown. Modal windows prevent interaction with other windows in the same application. To keep modal dialogs on top of main application windows, use to make the dialog transient for the parent; most window managers will then disallow lowering the dialog below the parent. There are two status: modal () and non-modal (). Method 2.12.0.0 System.Void X coordinate to move to. Y coordinate to move to. Asks the window manager to move to the given position. Window managers are free to ignore this; most window managers ignore requests for initial window positions (instead using a user-defined placement algorithm) and honor requests after the has already been shown. Note: the position is the position of the gravity-determined reference point for the . The gravity determines two things: first, the location of the reference point in root coordinates; and second, which point on the is positioned at the reference point. By default the gravity is so the reference point is simply the x, y supplied to . The top-left corner of the decorations (aka window frame or border) will be placed at , . Therefore, to position a at the top left of the screen, you want to use the default gravity (which is ) and move the to 0,0. To position a at the bottom right corner of the screen, you would set , which means that the reference point is at x + the width and y + the height, and the bottom-right corner of the window border will be placed at that reference point. Event 2.12.0.0 GLib.Signal("move_focus") System.Obsolete("Replaced by Keybinding signal on Gtk.Widget") Gtk.MoveFocusHandler MoveFocus event. This event is emited when the focus is moved from one child to another. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDefaultActivated", Type=typeof(Gtk.Window)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideFocusActivated", Type=typeof(Gtk.Window)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideFrameEvent", Type=typeof(Gtk.Window)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideKeysChanged", Type=typeof(Gtk.Window)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideMoveFocus", Type=typeof(Gtk.Window)) System.Obsolete("Replaced by Keybinding signal on Gtk.Widget") System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSetFocus", Type=typeof(Gtk.Window)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 2.12.0.0 GLib.Property("opacity") System.Double Opacity property. Range from 0.0 to 1.0. Only valid when compositing is supported. Method 2.12.0.0 System.Boolean Parses a standard X Window System geometry string. if string was parsed successfully. does work on all GTK# ports including Win32 but is primarily intended for an X environment. If either a size or a position can be extracted from the geometry string, returns and calls and/or to resize/move the . If returns , it will also set the and/or hints indicating to the window manager that the size/position of the was user-specified. This causes most window managers to honor the geometry. Note that for to work as expected, it has to be called when the has its "final" size, i.e. after calling on the contents and on the . Method 2.12.0.0 System.Void Presents a to the user. This may mean raising the in the stacking order, deiconifying it, moving it to the current desktop, and/or giving it the keyboard focus, possibly dependent on the user's platform, window manager, and preferences. If is hidden, this method calls as well. This method should be used when the user tries to open a that's already open. Say for example the preferences dialog is currently open, and the user chooses Preferences from the menu a second time; use to move the already-open dialog where the user can see it. Method 2.12.0.0 System.Void a timestamp from a user event. Present with a user action timestamp. If you need to Present a window without a timestamp, use . Method 2.12.0.0 System.Boolean a Propagate a key press or release event to the focus widget and up the focus container chain until a widget handles . a This is normally called by the default KeyPressEvent and KeyReleaseEvent handlers for toplevel windows, however in some cases it may be useful to call this directly when overriding the standard key handling for a toplevel window. Method 2.12.0.0 System.Void A . Reverses the effects of . Method 2.12.0.0 System.Void an object of type Removes an X id number to the list of embedded windows. This is an advanced feature and is not used by typical code. The method removess the specified XID to a list of embedded windows that is maintained as object data on the Window object. This list is used for things like querying X rc settings. Method 2.12.0.0 System.Void The mnemonic. The that gets activated by the mnemonic. Removes a mnemonic from this . Method 2.12.0.0 System.Void Hides , then reshows it, resetting the default size and position of the . Used by GUI builders only. Property 2.12.0.0 GLib.Property("resizable") System.Boolean Sets or obtains whether a will be resizable by the user or not. if the user can resize the . By default, the are resizable, so you can change the size of them. But if you set this property to false, the user won't be able to change the size of them. Method 2.12.0.0 System.Void Width in pixels to resize the to. Height in pixels to resize the to. Resizes the as if the user had done so, obeying geometry constraints. The default geometry constraint is that windows may not be smaller than their size request; to override this constraint, call to set the 's request to a smaller value. If is called before showing a for the first time, it overrides any default size set with . Windows may not be resized smaller than 1 by 1 pixels. Property 2.12.0.0 GLib.Property("role") System.String Sets or obtains the role of the . The role of the if set, or . The returned is owned by the widget and must not be modified or freed. This property is only useful on X11, not with other GTK# targets. In combination with the title, the role allows a window manager to identify "the same" when an application is restarted. So for example you might set the "toolbox" role on your app's toolbox , so that when the user restarts their session, the session manager can put the toolbox back in the same place. If a already has a unique title, you don't need to set the role, since the WM can use the title to identigy the when restoring the session. Property 2.12.0.0 GLib.Property("screen") Gdk.Screen Sets or obtains the where the is displayed. A . If the is already mapped, it will be unmapped, and then remapped on the new screen. Method 2.12.0.0 System.Boolean Location of icon file. Sets an icon to be used as fallback for windows that haven't had called on them from a file on disk. if setting the icon succeded. Method 2.12.0.0 System.Void Width in pixels, or -1 to unset the default width. Height in pixels, or -1 to unset the default height. Sets the default size of an object, with the specified width and height arguments. If the 's "natural" size (its size request) is larger than the default, the default will be ignored. More generally, if the default size does not obey the geometry hints for the ( can be used to set these explicitly), the default size will be clamped to the nearest permitted size. Unlike which sets a size request for a and thus would keep users from shrinking the , this method only sets the initial size, just as if the user had resized the themselves. Users can still shrink the again as they normally would. Setting a default size of -1 means to use the "natural" default size (the size request of the ). For more control over a 's initial size and how resizing works, investigate . For some uses, is a more appropriate method. changes the current size of the , rather than the size to be used on initial display. always affects the itself, not the geometry widget. The default size of a only affects the first time a is shown; if a is hidden and re-shown, it will remember the size it had prior to hiding, rather than using the default size. Event 2.12.0.0 GLib.Signal("set_focus") Gtk.SetFocusHandler SetFocus event. This event is emited when the focused widget is set. Method 2.12.0.0 System.Void The width of the left border. The height of the top border. The width of the right border. The height of the bottom border. For windows with frames (see ) this method can be used to change the size of the frame border. Note: this is a special-purpose method intended for the framebuffer port; see . It will have no effect on the window border drawn by the window manager, which is the normal case when using the X Window system. Method 2.12.0.0 System.Void Widget the geometry hints will be applied to. Struct containing geometry information. Mask indicating which struct fields should be paid attention to. This method sets up hints about how a can be resized by the user. You can set a minimum and maximum size; allowed resize increments (e.g. for xterm, you can only resize by the size of a character); aspect ratios; and more. See . Method 2.12.0.0 System.Boolean Location of icon file. Sets the icon for . if setting the icon succeded. This method is equivalent to calling with pixbuf created by loading the image from . Method 2.12.0.0 System.Obsolete System.Void a a a Changes how a toplevel window deals with its size request and user resize attempts. The first policy is the default, that is, by default windows are designed to be resized by users. is deprecated and should not be used in newly-written code. Use instead. If set to , the allow_grow parameter allows the user to expand the window beyond the size request of its child widgets. If allow_grow is , be sure to check that your child widgets work properly as the window is resized. A toplevel window will always change size to ensure its child widgets receive their requested size. This means that if you add child widgets, the toplevel window will expand to contain them. However, normally the toplevel will not shrink to fit the size request of its children if it's too large; the auto_shrink parameter causes the window to shrink when child widgets have too much space. auto_shrink is normally used with the second of the two window policies mentioned above. That is, set auto_shrink to if you want the window to have a fixed, always-optimal size determined by your program. Note that auto_shrink does not do anything if allow_shrink and allow_grow are both set to . Neither of the two suggested window policies set the allow_shrink parameter to . If allow_shrink is , the user can shrink the window so that its children do not receive their full size request; this is basically a bad thing, because most widgets will look wrong if this happens. Furthermore Gtk has a tendency to re-expand the window if size is recalculated for any reason. The upshot is that allow_shrink should always be set to . Sometimes when you think you want to use allow_shrink, the real problem is that some specific child widget is requesting too much space, so the user can't shrink the window sufficiently. Perhaps you are calling gtk_widget_set_size_request() on a child widget, and forcing its size request to be too large. Instead of setting the child's usize, consider using gtk_window_set_default_size() so that the child gets a larger allocation than it requests. Method 2.12.0.0 System.Void A position constraint. Sets the position constraint for a . Is is used for placing the in some area, depending on the constraint. Method 2.12.0.0 System.Void Window name hint. Window class hint. It sets the X Window System "class" and "name" hints for a . (Don't use this method.) According to the ICCCM, you should always set these to the same value for all windows in an application, and GTK# sets them to that value by default, so calling this method is sort of pointless. However, you may want to call on each in your application, for the benefit of the session manager. Setting the role allows the window manager to restore window positions when loading a saved session. Property 2.12.0.0 GLib.Property("skip-pager-hint") System.Boolean Whether the should not be in the pager. if the should not be in the pager. Property 2.12.0.0 GLib.Property("skip-taskbar-hint") System.Boolean Whether the should not be in the taskbar. if the should not be in the taskbar. Property 2.12.0.0 GLib.Property("startup-id") System.String To be added. To be added. To be added. Method 2.12.0.0 System.Void Asks to stick , which means that it will appear on all user desktops. Note that you shouldn't assume the is definitely stuck afterward, because other entities (e.g. the user or window manager) could unstick it again, and some window managers do not support sticking windows. But normally the will end up stuck. Just don't write code that crashes if not. You can track stickiness via the event on GtkWidget. It's permitted to call this method before showing a . Property 2.12.0.0 GLib.Property("title") System.String Property used for setting the title. The title of the , or if none has been set explicitely. The returned string is owned by the and must not be modified or freed. This property will allow you to set the title. The title of a will be displayed in its title bar. Since the title bar is rendered by the window managers on X Window System, the way it appears will depend on the user preferences. This title should help the users to distinguish a from others opened. A good title will have the application name an the actual document, for example. Property 2.12.0.0 GLib.Property("transient-for") Gtk.Window Sets or obtains the transient parent window. Dialog windows should be transient for the main they were spawned from, this allows windows managers to e.g. keep the dialog on top of the main , or center the dialog over the main . On Windows(tm), this function will and put the child on top of the parent, much as the would have done in X. Property 2.12.0.0 GLib.Property("type") Gtk.WindowType The type of . The type. See also . Property 2.12.0.0 GLib.Property("type-hint") Gdk.WindowTypeHint Sets or obtains the type hint for . The type hint for . By setting the type hint for the , you allow the window manager to decorate and handle the in a way which is suitable to the function of the in your application. This property should be called before the becomes visible. Method 2.12.0.0 System.Void Asks to toggle off the fullscreen state for . Note that you shouldn't assume the is definitely not full screen afterward, because other entities (e.g. the user or window manager) could fullscreen it again, and not all window managers honor requests to unfullscreen windows. But normally the will end up restored to its normal state. Just don't write code that crashes if not. You can track the fullscreen state via the event on . Method 2.12.0.0 System.Void Asks to unmaximize . Note that you shouldn't assume the is definitely unmaximized afterward, because other entities (e.g. the user or window manager) could maximize it again, and not all window managers honor requests to unmaximize. But normally the will end up unmaximized. Just don't write code that crashes if not. You can track maximization via the event on Method 2.12.0.0 System.Void Asks to unstick , which means that it will appear on only one of the user's desktops. Note that you shouldn't assume the is definitely unstuck afterward, because other entities (e.g. the user or window manager) could stick it again. But normally the will end up stuck. Just do not write code that crashes if not. You can track stickiness via the event on . Property 2.12.0.0 GLib.Property("urgency-hint") System.Boolean Urgency Hint. if the hint should be set on the window. This hint notifies the desktop environment to draw the user's attention to the window for urgent action. Property 2.12.0.0 GLib.Property("window-position") Gtk.WindowPosition Property used for setting/getting the position. The position. See also . This property will alow you to define where a should be displayed on the screen. Position values are described in the definition. gtk-sharp-2.12.40/doc/en/Gtk/TreeDragDestImplementor.xml0000664000175000017500000000572112767740535017677 00000000000000 gtk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Gtk.TreeDragDestAdapter)) TreeDragDest implementor interface. The implementable portion of the interface. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/Socket.xml0000664000175000017500000003276012767740535014401 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Container Container for widgets from other processes. Together with , provides the ability to embed widgets from one process into another process in a fashion that is transparent to the user. One process creates a widget and, passes the window ID of that widget to the other process, which then creates a with that window ID. Any widgets contained in the then will appear inside the first applications window. The window ID of the is obtained by using . Before using this function, the socket must have been realized, and therefore, have been added to its parent. Gtk.Socket socket = new Gtk.Socket; socket.Show (); parent.Add (socket); Console.WriteLine ("The ID of the sockets window is {0}", socket.Id); Note that if you pass the window ID of the socket to another process that will create a plug in the socket, you must make sure that the socket widget is not destroyed until that plug is created. Violating this rule will cause unpredictable consequences, the most likely consequence being that the plug will appear as a separate toplevel window. You can check if the plug has been created by examining the plug_window field of the structure. If this field is non-, then the plug has been successfully created inside of the socket. When Gtk# is notified that the embedded window has been destroyed, then it will destroy the socket as well. You should always, therefore, be prepared for your sockets to be destroyed at any time when the main event loop is running. The communication between a and a follows the XEmbed protocol. This protocol has also been implemented in other toolkits, e.g. Qt, allowing the same level of integration when embedding a Qt widget in GTK or vice versa. A socket can also be used to swallow arbitrary pre-existing top-level windows using , though the integration when this is done will not be as close as between a and a . Constructor 2.12.0.0 Default constructor Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Void an object of type Adds an XEMBED client, such as a , to the . The client may be in the same process or in a different process. To embed a in a , you can either create the with , call to get the window ID of the plug, and then pass that to the , or you can call to get the window ID for the socket, and call passing in that ID. The must have already be added into a toplevel window before you can make this call. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.UInt32 The window ID of a widget. an object of type This can be used to create a client embedded inside the socket, for instance with . The must have already be added into a toplevel window before you can make this call. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePlugAdded", Type=typeof(Gtk.Socket)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePlugRemoved", Type=typeof(Gtk.Socket)) System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Event 2.12.0.0 GLib.Signal("plug_added") System.EventHandler This event is emitted when a client is successfully added to the socket. Event 2.12.0.0 GLib.Signal("plug_removed") Gtk.PlugRemovedHandler This event is emitted when a client is removed from the socket. The default action is to destroy the widget, so if you want to reuse it you must add a signal handler that returns . Method 2.12.0.0 System.Obsolete System.Void a , the window ID of an existing toplevel window. Reparents a pre-existing toplevel window into a . This is meant to embed clients that do not know about embedding into a , however doing so is inherently unreliable, and using this function is not recommended. The must have already been added into a toplevel window before you can make this call. gtk-sharp-2.12.40/doc/en/Gtk/MenuDirectionType.xml0000664000175000017500000000661612767740535016561 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.MenuDirectionTypeGType)) An enumeration used by MenuShell. An enumeration used by that represents directional movements within a menu. Field 2.12.0.0 Gtk.MenuDirectionType To the submenu, if any, associated with the item. Field 2.12.0.0 Gtk.MenuDirectionType To the next menu item. Field 2.12.0.0 Gtk.MenuDirectionType To the parent menu shell. Field 2.12.0.0 Gtk.MenuDirectionType To the previous menu item. gtk-sharp-2.12.40/doc/en/Gtk/EditedArgs.xml0000664000175000017500000000547112767740535015163 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.String The new text for the cell. A Property 2.12.0.0 System.String The path string of the edited cell. A gtk-sharp-2.12.40/doc/en/Gtk/CellRendererSpin.xml0000664000175000017500000002471412767740535016351 00000000000000 gtk-sharp 2.12.0.0 Gtk.CellRendererText Cell renderer with Spin Button editing capability. Constructor 2.12.0.0 Public constructor. Constructor 2.12.0.0 System.Obsolete Native type. Internal constuctor. Do not use. Constructor 2.12.0.0 To be added. Internal constructor. Typically only used by language bindings to wrap native objects. Property 2.12.0.0 GLib.Property("adjustment") Gtk.Adjustment Adjustment data. Must be non-null for the cell to be editable. Contains the range information for the cell. Property 2.12.0.0 GLib.Property("climb-rate") System.Double Climb rate. Defaults to 0, must be greater than or equal to 0. Provides the acceleration rate for when the button is held down. Property 2.12.0.0 GLib.Property("digits") System.UInt32 Number of decimal places to display. An integer between 0 and 20, default value is 0. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType Native type value. A containing the native type value. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Gtk.CellEditable To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/MenuDetachFunc.xml0000664000175000017500000000227712767740535016002 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. A delegate for a function that will be called when the user invokes . (TODO: examples.) gtk-sharp-2.12.40/doc/en/Gtk/ColorSelectionDialog.xml0000664000175000017500000001602512767740535017211 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Dialog A standard dialog box for selecting a color. The ColorSelectionDialog provides a standard which allows the user to select a color much like the provides a standard dialog for file selection. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 A title that will appear in the window's title bar. The main way to construct a new color selector. Property 2.12.0.0 Gtk.Button A button for cancelling this dialog A standard . Property 2.12.0.0 Gtk.ColorSelection An accessor to the actual ColorSelection widget. The ColorSelection component of this . All color-related functions are available using the methods on this property, such as . Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 Gtk.Button A button for providing help with this dialog A standard . Property 2.12.0.0 Gtk.Button A button to confirm use of the selected color. A standard . gtk-sharp-2.12.40/doc/en/Gtk/CursorOnMatchHandler.xml0000664000175000017500000000166012767740535017171 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/RowChangedArgs.xml0000664000175000017500000000650712767740535016007 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The following events invoke delegates which pass event data via this class: Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.TreeIter The row that was inserted. A that points to the inserted row. Property 2.12.0.0 Gtk.TreePath The path of the row that was inserted. a gtk-sharp-2.12.40/doc/en/Gtk/Calendar.xml0000664000175000017500000010267112767740535014661 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Widget Display a Calendar and/or allow the user to select a date. With a Calendar widget, dates are presented to the user one month at a time. Additional information and decorations can be added to the Calendar by using the enumeration with the property. Days can be highlighted on the Calendar with or . The following example shows a method that creates a simple Calendar displaying day names, headings and week numbers. // Create a calendar with some simple display options public Calendar CreateCalendar () { Calendar cal = new Calendar (); cal.DisplayOptions = CalendarDisplayOptions.ShowHeading | CalendarDisplayOptions.ShowDayNames | CalendarDisplayOptions.ShowWeekNumbers; cal.DaySelected += new EventHandler(HandleDaySelected); return cal; } The following example shows a typical event handler that outputs the date when one is selected. // Typical event handler for capturing the selected date void HandleDaySelected (object obj, EventArgs args) { Calendar activatedCalendar = (Calendar) obj; Console.WriteLine (activatedCalendar.GetDate ().ToString ("yyyy/MM/dd")); } Constructor 2.12.0.0 Creates a new Calendar displaying the current month and having the current day selected Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Void Removes all visual marks that have been added to dates. Property 2.12.0.0 System.DateTime a DateTime that contains the current day for the Calendar widget a Setting the date fires Calendar changes events (Day, Month/Year) Property 2.12.0.0 GLib.Property("day") System.Int32 The selected day as a number between 1 and 31, or 0 to unselect the currently selected day. a Event 2.12.0.0 GLib.Signal("day_selected") System.EventHandler Raised when a day is selected on the Calendar. Event 2.12.0.0 GLib.Signal("day_selected_double_click") System.EventHandler Raised when the user "double clicks" on a day. Property 2.12.0.0 Gtk.CalendarDisplayOptions Set the display options for this Calendar. One or more values from , combined using a bit-wise OR. This method allows fine control over which parts of the Calendar, such as day names, are displayed. The describe the choices in more detail. Method 2.12.0.0 System.Obsolete System.Void Stops the Calendar from visually updating. If used before a large number of graphical updates, (such as calls to ), this method may prevent flicker. Once a batch of updates has taken place, call to render them. Method 2.12.0.0 System.DateTime Get the selected date. A DateTime object containing the selected day, month and year. Selected date information can also be retrieved with the method. Method 2.12.0.0 System.Void A variable to place the chosen year in. A variable to place the chosen month in. A variable to place the chosen day in. Get the selected date. NOTE: That month number is ZERO based, (0-11), whereas the day is one based, (1-31). An alternative way to get the date is with the method. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 System.Boolean A day number from 1 to 31. Adds a visual marker to the specified . Property 2.12.0.0 GLib.Property("month") System.Int32 The selected month as a number between 0 and 11. a Event 2.12.0.0 GLib.Signal("month_changed") System.EventHandler Raised when the current month changes. Event 2.12.0.0 GLib.Signal("next_month") System.EventHandler Raised when the month of the Calendar moves to the next one. Event 2.12.0.0 GLib.Signal("next_year") System.EventHandler Raised when the current year of the Calendar is increased. This may happen when the user explicitly advances the year, or when advancing from December to January. Property 2.12.0.0 GLib.Property("no-month-change") System.Boolean If , the selected month can not be changed. a Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDaySelected", Type=typeof(Gtk.Calendar)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDaySelectedDoubleClick", Type=typeof(Gtk.Calendar)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideMonthChanged", Type=typeof(Gtk.Calendar)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideNextMonth", Type=typeof(Gtk.Calendar)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideNextYear", Type=typeof(Gtk.Calendar)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePrevMonth", Type=typeof(Gtk.Calendar)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePrevYear", Type=typeof(Gtk.Calendar)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Event 2.12.0.0 GLib.Signal("prev_month") System.EventHandler Raised when the Calendar moves to the previous month. Event 2.12.0.0 GLib.Signal("prev_year") System.EventHandler Raised when the current year of the Calendar is decreased. This may happen when the user explicitly advances the year, or when clicking 'back' from January to December. Method 2.12.0.0 System.Void A day number from 1 to 31. Select a specified day on the displayed month. A value of 0 for the will unselect the currently selected day. Method 2.12.0.0 System.Boolean A zero-based month number. The year the month is in. Shifts the Calendar to display the specified month. Property 2.12.0.0 GLib.Property("show-day-names") System.Boolean If , day names are displayed. a Property 2.12.0.0 GLib.Property("show-heading") System.Boolean If , a heading is displayed a Property 2.12.0.0 GLib.Property("show-week-numbers") System.Boolean If , week numbers are displayed a Method 2.12.0.0 System.Obsolete System.Void Removes the effects of calling . This draws all graphical updates to the Calendar that have happened since a . Method 2.12.0.0 System.Boolean A day number from 1 to 31. Removes a visual marker from the specified . Visual markers are added to the Calendar with . Property 2.12.0.0 GLib.Property("year") System.Int32 The selected year. a gtk-sharp-2.12.40/doc/en/Gtk/ToggleToolButton.xml0000664000175000017500000001701012767740535016413 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.ToolButton A base class for toolbar buttons that behave like toggles. Constructor 2.12.0.0 Public constructor. Constructor 2.12.0.0 System.Obsolete a Protected constructor. Constructor 2.12.0.0 a , pointer to underlying C object. Constructor for internal use. Constructor 2.12.0.0 a , the id of a stock item whose icon and label you want to use Public constructor for use with stock items. Property 2.12.0.0 GLib.Property("active") System.Boolean The current state of the toggle button. a , true if button is pressed in and false if it is raised. Property 2.12.0.0 GLib.GType The of this object. a Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideToggled", Type=typeof(Gtk.ToggleToolButton)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Event 2.12.0.0 GLib.Signal("toggled") System.EventHandler Emitted whenever the toggle button changes state. gtk-sharp-2.12.40/doc/en/Gtk/RecentInfo.xml0000664000175000017500000004361212767740535015203 00000000000000 gtk-sharp 2.12.0.0 GLib.Opaque To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Property 2.12.0.0 System.DateTime To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Method 2.12.0.0 Gdk.Pixbuf To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Boolean To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 System.DateTime To be added. To be added. To be added. Property 2.12.0.0 System.Boolean To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 System.DateTime To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/AccelFlags.xml0000664000175000017500000000736612767740535015141 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.AccelFlagsGType)) System.Flags An enumeration used by AccelLabel This enumeration is used by to decide to display or not display an accelerator key and to know if an accelerator key is removable. Field 2.12.0.0 Gtk.AccelFlags Determines if the accelerator key is removable by Determines if the accelerator key is removable by Field 2.12.0.0 Gtk.AccelFlags Returns full information for , displaying any modifiers, the accelerator key and the name of the associated signal to the right of any existing text. Returns full information for a (the individual element in a GtkAccelGroup array), displaying any modifiers, the accelerator key and the name of the associated signal to the right of any existing text. Field 2.12.0.0 Gtk.AccelFlags Determines if will display the accelerator key or not. Determines if will display the accelerator key or not. gtk-sharp-2.12.40/doc/en/Gtk/ImageType.xml0000664000175000017500000001550212767740535015030 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.ImageTypeGType)) Describes the image data representation used by a . Describes the image data representation used by a . If you want to get the image from the widget, you can only get the currently-stored representation. e.g. if the returns , then you can get but not . For empty images, you can request any storage type (from any of the "get" properties), but they will all return values. Field 2.12.0.0 Gtk.ImageType The contains a . The contains a . Field 2.12.0.0 Gtk.ImageType There is no image displayed by the . There is no image displayed by the . Field 2.12.0.0 Gtk.ImageType To be added To be added Field 2.12.0.0 Gtk.ImageType The contains a . The contains a . Field 2.12.0.0 Gtk.ImageType The contains a . The contains a . Field 2.12.0.0 Gtk.ImageType The contains a . The contains a . Field 2.12.0.0 Gtk.ImageType The contains a . The contains a . Field 2.12.0.0 Gtk.ImageType The contains a stock icon name. The contains a stock icon name. gtk-sharp-2.12.40/doc/en/Gtk/SizeGroup.xml0000664000175000017500000002510512767740535015073 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Group widgets so they request the same size. A SizeGroup provides a mechanism for grouping a number of widgets together so they all request the same amount of space. This is typically useful when you want a column of widgets to have the same size, but you can't use a widget. Its use is effectively demonstrated by the Human Interface Guidelines of the Gnome project. In detail, the size requested for each widget in a SizeGroup is the maximum of the sizes that would have been requested for each widget in the SizeGroup without a SizeGroup. The of the size group determines whether this applies to the horizontal size, the vertical size, or both sizes. Note that SizeGroups only affect the amount of space requested, not the size that the widgets finally receive. If you want the widgets in a SizeGroup to actually be the same size, you need to pack them in such a way that they get the size they request and not more. For example, if you are packing your widgets into a table, you would not include the Fill flag. SizeGroup objects are referenced by each widget in the size group, so once you have added all widgets to a SizeGroup, you can drop the initial reference to the SizeGroup by calling . If the widgets in the SizeGroup are subsequently destroyed, then they will be removed from the SizeGroup and drop their references on the SizeGroup; when all widgets have been removed, the size group will be freed. Widgets can be part of multiple size groups; GTK will compute the horizontal size of a widget from the horizontal requisition of all widgets that can be reached from the widget by a chain of size groups of type or . Likewise, the vertical size is computed from the vertical requisition of all widgets that can be reached from the widget by a chain of size groups of type or . Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 The mode to indicate direction(s) that should have their sizes tied together. Create a new SizeGroup. The direction that size is tied can be altered later using the property. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Void A Widget whose size should be tied to widgets in a group. Places a widget in this SizeGroup Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("ignore-hidden") System.Boolean Indicates if hidden widgets are ignored when calculating size. if hidden widgets are to be ignored. Property 2.12.0.0 GLib.Property("mode") Gtk.SizeGroupMode Sets a mode to determine which direction this SizeGroup controls. The current 'mode' that indicates the direction this SizeGroup ties together. The mode of the size group determines whether the widgets in the SizeGroup should all have the same or requisition, or should all have the same requisition in directions. Method 2.12.0.0 System.Void A Widget whose size should no longer be tied to the widgets in this group. Removes a widget from this SizeGroup Property 2.12.0.0 Gtk.Widget[] The Widgets associated with the group. an array of widgets. gtk-sharp-2.12.40/doc/en/Gtk/PreviewType.xml0000664000175000017500000000517112767740535015430 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.PreviewTypeGType)) Internal Enum for printing. Do not use. Field 2.12.0.0 Gtk.PreviewType Internal. Do not use. Field 2.12.0.0 Gtk.PreviewType Internal. Do not use. gtk-sharp-2.12.40/doc/en/Gtk/TestExpandRowHandler.xml0000664000175000017500000000314012767740535017204 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the TestExpandRowHandler instance to the event. The methods referenced by the TestExpandRowHandler instance are invoked whenever the event is raised, until the TestExpandRowHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/ObjectDeleteArgs.xml0000664000175000017500000000437612767740535016321 00000000000000 gtkhtml-sharp 3.16.0.0 GLib.SignalArgs To be added. To be added. Constructor 3.16.0.0 To be added. To be added. Property 3.16.0.0 System.Int32 To be added. To be added. To be added. Property 3.16.0.0 System.Int32 To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/DrawPageArgs.xml0000664000175000017500000000515512767740535015456 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.PrintContext The Print context of the current operation. a . Property 2.12.0.0 System.Int32 The page number to draw. An integer page number. gtk-sharp-2.12.40/doc/en/Gtk/FocusTabHandler.xml0000664000175000017500000000304412767740535016146 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the FocusTabHandler instance to the event. The methods referenced by the FocusTabHandler instance are invoked whenever the event is raised, until the FocusTabHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/SelectCursorParentHandler.xml0000664000175000017500000000326612767740535020235 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SelectCursorParentHandler instance to the event. The methods referenced by the SelectCursorParentHandler instance are invoked whenever the event is raised, until the SelectCursorParentHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/NotebookWindowCreationFunc.xml0000664000175000017500000000225512767740535020416 00000000000000 gtk-sharp 2.12.0.0 System.Delegate Gtk.Notebook To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/ToggledArgs.xml0000664000175000017500000000440012767740535015341 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.String The object path of the toggle that was changed. a gtk-sharp-2.12.40/doc/en/Gtk/CellRenderer.xml0000664000175000017500000011375312767740535015521 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Object An object for rendering a single cell on a The is a base class of a set of objects used for rendering a cell to a . These objects are used primarily by the widget, though they are not tied to them in any specific way. It is worth noting that is not a and cannot be treated as such. The primary use of a is for drawing a certain graphical elements on a . Typically, one is used to draw many cells on the screen. To this extent, it is not expected that a keep any permanent state around. Instead, any state is set just prior to use. Then, the cell is measured using . Finally, the cell is rendered in the correct location using . There are a number of rules that must be followed when writing a new . First and foremost, it is important that a certain set of properties will always yield a of the same size, barring a change. The also has a number of generic properties that are expected to be honored by all children. Constructor 2.12.0.0 Protected constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Boolean an object of type an object of type an object of type an object of type an object of type an object of type Passes an activate event to the for possible processing. an object of type Some s may use events; for example, toggles when it gets a mouse click. Method 2.12.0.0 System.Obsolete System.Void Causes the cell renderer to fire an event. This function is for use only by implementations of cell renderers that need to notify the client program that an editing process was canceled and the changes were not committed. Property 2.12.0.0 GLib.Property("cell-background") System.String Cell background color as a . a Property 2.12.0.0 GLib.Property("cell-background-gdk") Gdk.Color Cell background color as a . a Event 2.12.0.0 GLib.Signal("editing-canceled") System.EventHandler This event is raised when the user cancels the process of editing a cell. For example, an editable cell renderer could be written to cancel editing when the user presses Escape. Event 2.12.0.0 GLib.Signal("editing-started") Gtk.EditingStartedHandler This signal gets emitted when a cell starts to be edited. The intended use of this signal is to do special setup on editable cell, e.g. adding a or setting up additional columns in a . Note that GTK# doesn't guarantee that cell renderers will continue to use the same kind of widget for editing in future releases, therefore you should check the type of the cell before doing any specifi setup. Method 2.12.0.0 System.Void Location to fill in with the fixed width of the widget, or . Location to fill in with the fixed height of the widget, or . Fills in and with the appropriate size. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideGetSize", Type=typeof(Gtk.CellRenderer)) System.Void a a a a a a Obtains the and needed to render the cell. Used by view widgets to determine the appropriate size for the passed to gtk_cell_renderer_render(). If is not , fills in the x and y offsets (if set) of the cell relative to this location. Please note that the values set in and , as well as those in and are inclusive of the xpad and ypad properties. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("height") System.Int32 The fixed height. an object of type Property 2.12.0.0 GLib.Property("is-expanded") System.Boolean Row is an expander row, and is expanded. an object of type Property 2.12.0.0 GLib.Property("is-expander") System.Boolean Row has children. an object of type Property 2.12.0.0 GLib.Property("mode") Gtk.CellRendererMode Editable mode of the CellRenderer. an object of type Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideEditingCanceled", Type=typeof(Gtk.CellRenderer)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideEditingStarted", Type=typeof(Gtk.CellRenderer)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRender", Type=typeof(Gtk.CellRenderer)) System.Void a to render to a , the widget that owns a , entire cell area (including tree expanders and maybe padding on the sides) a , area normally rendered by a cell renderer a , area that needs updating a , flags that affect rendering Invokes the virtual render function of the . The three passed-in rectangles are areas of window. Most renderers will draw within ; the xalign, yalign, xpad, and ypad fields of the should be honored with respect to . includes the blank space around the cell, and also the area containing the tree expander; so the rectangles for all cells tile to cover the entire window. is a clip rectangle. Method 2.12.0.0 System.Void an object of type an object of type an object of type an object of type an object of type an object of type Invokes the virtual render function of the . The three passed-in rectangles are areas of . Most renderers will draw within ; includes the blank space around the cell, and also the area containing the tree expander; so the rectangles for all cells tile to cover the entire window. is a clip rectangle. Property 2.12.0.0 GLib.Property("sensitive") System.Boolean Display the cell sensitive. A . The default value is . Method 2.12.0.0 System.Void an object of type an object of type Sets the renderer size to be explicit, independent of the properties set. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideStartEditing", Type=typeof(Gtk.CellRenderer)) Gtk.CellEditable a a a a a a Passes an activate event to the for possible processing. a Some cell renderers may use events; for example, toggles when it gets a mouse click. The following example illustrates a CellRenderText derived class that implements auto-completion in the entry widget. public class CellRendererCompletion : CellRendererText { public delegate ListStore CompletionStoreNeededDelegate(TreeView tree, out int textColumn); // Delegate that is called to obtain a ListStore that contains entries // for the column being editted. TreeView.GetCursor(out path, out column) // can be used to determine the column being editted. public static CompletionStoreNeededDelegate CompletionStoreNeededEventHandler; // Required constructor that may be called by the framework. public CellRendererCompletion(System.IntPtr raw) : base(raw) { } public CellRendererCompletion() { } public override CellEditable StartEditing(Gdk.Event evnt, Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, CellRendererState flags) { // get the entry widget Entry entry = base.StartEditing (evnt, widget, path, background_area, cell_area, flags) as Gtk.Entry; // make it auto-complete TreeView treeview = widget as TreeView; int textColumn = 0; entry.Completion = new EntryCompletion(); entry.Completion.Model = CreateCompletionModel(treeview, out textColumn); entry.Completion.TextColumn = textColumn; return entry; } // Gets the ListStore that contains the auto-complete entries // to be shown when editting this cell. Typical use might use // TreeView.GetCursor(out path, out column) to get the column name // being editted to build an appropriate list. private static TreeModel CreateCompletionModel(TreeView treeview, out int textColumn) { textColumn = 0; if (CompletionStoreNeededEventHandler != null) return CompletionStoreNeededEventHandler(treeview, out textColumn); return null; } } Method 2.12.0.0 System.Void a Informs the cell renderer that the editing is stopped. If is , the cell renderer will emit the event. This method should be called by cell renderer implementations in response to the event of . Property 2.12.0.0 GLib.Property("visible") System.Boolean Display the cell. an object of type Property 2.12.0.0 GLib.Property("width") System.Int32 The fixed width. an object of type Property 2.12.0.0 GLib.Property("xalign") System.Single The x-align. an object of type Property 2.12.0.0 GLib.Property("xpad") System.UInt32 The xpad. an object of type Property 2.12.0.0 GLib.Property("yalign") System.Single The y-align. an object of type Property 2.12.0.0 GLib.Property("ypad") System.UInt32 The ypad. an object of type gtk-sharp-2.12.40/doc/en/Gtk/ToggleActionEntry.xml0000664000175000017500000002716512767740535016555 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType A struct containing all the info necessary for creating an The ActionEntry struct is C# "syntactic sugar", designed to make it easier for developers to add s to their code. Instead of creating a new object for each action, a developer can create an array of ToggleActionEntry's and add them to an all at once using the method. Constructor 2.12.0.0 a , a unique name for the action a , the stock icon to display in widgets representing the action Public constructor Constructor 2.12.0.0 a , a unique name for the action a , the stock icon to display in widgets representing the action a , a method to call when the toggle action is activated Public constructor Constructor 2.12.0.0 a , a unique name for the action a , the stock icon to display in widgets representing the action a , a method to call when the toggle action is activated a , if the toggle action is currently checked Public constructor Constructor 2.12.0.0 a , a unique name for the action a , the stock icon to display in widgets representing the action a , the label displayed in menu items and on buttons a , the accelerator key sequence for the action a , a tooltip for the action a , a method to call when the toggle action is activated a , if the toggle action is currently checked Public constructor Field 2.12.0.0 System.String The accelerator for the action, in the format understood by , or "" for no accelerator, or to use the stock accelerator. Field 2.12.0.0 System.EventHandler EventHandler to be called when the action is triggered. Field 2.12.0.0 System.Boolean Boolean value indicating whether the initial state of the ToggleAction is "on" or "off". Field 2.12.0.0 System.String The label used for menu items and buttons that activate this action. Field 2.12.0.0 System.String A unique name for the action. Field 2.12.0.0 System.String The stock icon displayed in widgets representing this action. Field 2.12.0.0 System.String A tooltip for this action. gtk-sharp-2.12.40/doc/en/Gtk/CurrentParagraphIndentationChangedArgs.xml0000664000175000017500000000501712767740535022700 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 3.16.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 3.16.0.0 System.UInt32 The new indentation level of the paragraph. An integer, the new indentation level. gtk-sharp-2.12.40/doc/en/Gtk/StockItem.xml0000664000175000017500000002106712767740535015051 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType Contains information about a related object. Each stock ID can be associated with a , which contains the user-visible label, keyboard accelerator, and translation domain of the menu or toolbar item; and/or with an icon stored in a . See for more information on stock icons. The connection between a and stock icons is purely conventional (by virtue of using the same stock ID); it is possible to register a stock item but no icon, and vice versa. Constructor 2.12.0.0 a a a a a Public constructor Method 2.12.0.0 Gtk.StockItem Makes a copy of the current . an object of type Method 2.12.0.0 System.Void Frees the memory used by this object. Field 2.12.0.0 System.UInt32 Keyboard accelerator. Field 2.12.0.0 System.String User-visible label. Field 2.12.0.0 Gdk.ModifierType Sets the modifier, if any, for this object's accelerator. See for eligible keys and mouse button values. Method 2.12.0.0 Gtk.StockItem an object of type Returns a new using the given . an object of type This is not typically used by user code. Field 2.12.0.0 System.String The identifying name of the . Field 2.12.0.0 System.String Specifies the translation domain for this item, for use in globalization. Field 2.12.0.0 Gtk.StockItem An empty gtk-sharp-2.12.40/doc/en/Gtk/ActionGroup.xml0000664000175000017500000007003712767740535015402 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object A group of actions Actions are organised into groups. An action group is essentially a map from names to objects. All actions that would make sense to use in a particular context should be in a single group. Multiple action groups may be used for a particular user interface. In fact, it is expected that most nontrivial applications will make use of multiple groups. For example, in an application that can edit multiple documents, one group holding global actions (e.g. quit, about, new), and one group per document holding actions that act on that document (eg. save, cut/copy/paste, etc). Each window's menus would be constructed from a combination of two action groups. Accelerators are handled by the Gtk accelerator map. All actions are assigned an accelerator path (which normally has the form <Actions>/group-name/action-name) and a shortcut is associated with this accelerator path. All menuitems and toolitems take on this accelerator path. The Gtk accelerator map code makes sure that the correct shortcut is displayed next to the menu item. Constructor 2.12.0.0 System.Obsolete a Internal constructor Constructor 2.12.0.0 a Internal constructor Constructor 2.12.0.0 a , the name of the action group. Creates a new object. The name of the action group is used when associating keybindings with the actions. Method 2.12.0.0 System.Void a Adds an action object to the action group. Note that this function does not set up the accel path of the action, which can lead to problems if a user tries to modify the accelerator of a menuitem associated with the action. Therefore you must either set the accel path yourself with , or use . Method 2.12.0.0 System.Void a Ease of use function for adding multiple s in a single call using the struct. Method 2.12.0.0 System.Void a Ease of use function for adding multiple s in a single call using the struct. Method 2.12.0.0 System.Void a a . The accelerator for the action, in the format understood by , or "" for no accelerator, or to use the stock accelerator Adds an action object to the action group and sets up the accelerator. If accelerator is , attempts to use the accelerator associated with the stock_id of the action. Accel paths are set to <Actions>/group-name/action-name. Method 2.12.0.0 System.Void a a a Ease of use function for adding multiple s in a single call using the struct. Event 2.12.0.0 GLib.Signal("connect_proxy") Gtk.ConnectProxyHandler The ConnectProxy signal is emitted after connecting a proxy to an action in the group. This is intended for simple customizations for which a custom action class would be too clumsy, e.g. showing tooltips for menuitems in the statusbar. Event 2.12.0.0 GLib.Signal("disconnect_proxy") Gtk.DisconnectProxyHandler The DisconnectProxy signal is emitted after disconnecting a proxy from an action in the group. Method 2.12.0.0 Gtk.Action a , the name of the action Looks up an action in the action group by name. a , or if no action by that name exists Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 Gtk.Action a Returns the with the specified name. a See for more info. Method 2.12.0.0 Gtk.Action[] Gets a list of the s in the . a Property 2.12.0.0 GLib.Property("name") System.String Gets the name of the action group. a Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideConnectProxy", Type=typeof(Gtk.ActionGroup)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDisconnectProxy", Type=typeof(Gtk.ActionGroup)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePostActivate", Type=typeof(Gtk.ActionGroup)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePreActivate", Type=typeof(Gtk.ActionGroup)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Event 2.12.0.0 GLib.Signal("post_activate") Gtk.PostActivateHandler The PostActivate signal is emitted just after the action is activated. This is intended for applications to get notification just after any action is activated. Event 2.12.0.0 GLib.Signal("pre_activate") Gtk.PreActivateHandler The PreActivate signal is emitted just before the action is activated. This is intended for applications to get notification just before any action is activated. Method 2.12.0.0 System.Void a Removes an action object from the action group. Property 2.12.0.0 GLib.Property("sensitive") System.Boolean The sensitivity of the ActionGroup a The constituent actions can only be logically sensitive (see ) if they are sensitive (see ) and their group is sensitive. Property 2.12.0.0 Gtk.TranslateFunc Function to be used for translating the label and tooltip of GtkActionGroupEntrys added by . a If you are using gettext(), it is enough to set the translation domain with . Method 2.12.0.0 System.String A string. Translates a string using the specified . The translation of . This is mainly intended for language bindings. Property 2.12.0.0 System.String Sets the translation domain and uses dgettext() for translating the label and tooltip of s added by . a Property 2.12.0.0 GLib.Property("visible") System.Boolean The visibility of the ActionGroup a The constituent actions can only be logically visible (see ) if they are visible (see ) and their group is visible. gtk-sharp-2.12.40/doc/en/Gtk/MapChangedHandler.xml0000664000175000017500000000415212767740535016430 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the MapChangedHandler instance to the event. The methods referenced by the MapChangedHandler instance are invoked whenever the event is raised, until the MapChangedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/FileFilterFunc.xml0000664000175000017500000000325212767740535016004 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Boolean To be added. Delegate class for ; see that method's documentation for more details. To be added. gtk-sharp-2.12.40/doc/en/Gtk/HTMLStreamStatus.xml0000664000175000017500000000402612767740535016267 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum An enumeration of possible statuses for an HTML stream. Field 3.16.0.0 Gtk.HTMLStreamStatus Not okay. (TODO: This is for everything non-200? Look up in source.) Field 3.16.0.0 Gtk.HTMLStreamStatus Okay; HTTP result 200 gtk-sharp-2.12.40/doc/en/Gtk/ProximityOutEventArgs.xml0000664000175000017500000000457112767740535017463 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.EventProximity The proximity event that triggered this signal. A gtk-sharp-2.12.40/doc/en/Gtk/MatchSelectedHandler.xml0000664000175000017500000000422512767740535017147 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the MatchSelectedHandler instance to the event. The methods referenced by the MatchSelectedHandler instance are invoked whenever the event is raised, until the MatchSelectedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/MoveFocusOutArgs.xml0000664000175000017500000000521712767740535016361 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The following events invoke delegates which pass event data via this class: Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.DirectionType The direction the focus is moving on its way out. A gtk-sharp-2.12.40/doc/en/Gtk/ConfigureEventHandler.xml0000664000175000017500000000315212767740535017363 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ConfigureEventHandler instance to the event. The methods referenced by the ConfigureEventHandler instance are invoked whenever the event is raised, until the ConfigureEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/DragMotionArgs.xml0000664000175000017500000000776112767740535016034 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.DragContext The context of this drag. a Property 2.12.0.0 System.UInt32 The time the event happened. A Property 2.12.0.0 System.Int32 The Y coordinate being dragged over. A Property 2.12.0.0 System.Int32 The Y coordinate being dragged over. A gtk-sharp-2.12.40/doc/en/Gtk/TextWindow.xml0000664000175000017500000000325612767740535015263 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque A basic window type that contains text. FIXME: this class may be for internal use only. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. gtk-sharp-2.12.40/doc/en/Gtk/WindowGroup.xml0000664000175000017500000001334512767740535015433 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Limit the effect of grabs Grabs added with gtk_grab_add() only affect s within the same . Constructor 2.12.0.0 Creates an instance of . Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Void an object of type Adds a to the Adds a to the . Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 System.Void an object of type Removes a from the Removes a from the gtk-sharp-2.12.40/doc/en/Gtk/ItemActivatedHandler.xml0000664000175000017500000000421612767740535017165 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ItemActivatedHandler instance to the event. The methods referenced by the ItemActivatedHandler instance are invoked whenever the event is raised, until the ItemActivatedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/EditingStartedArgs.xml0000664000175000017500000000670612767740535016701 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.CellEditable To be added a To be added Property 2.12.0.0 System.String To be added a To be added gtk-sharp-2.12.40/doc/en/Gtk/ColorSelectionChangePaletteWithScreenFunc.xml0000664000175000017500000000261312767740535023324 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added. Do not use. TODO: Not called by any other class; confirm that this code is necessary. gtk-sharp-2.12.40/doc/en/Gtk/InsertTextArgs.xml0000664000175000017500000000666312767740535016102 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Int32 The length of the inserted text. A Property 2.12.0.0 Gtk.TextIter The location where the text was inserted. A Property 2.12.0.0 System.String The text that was inserted. A gtk-sharp-2.12.40/doc/en/Gtk/SwitchPageHandler.xml0000664000175000017500000000307412767740535016501 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SwitchPageHandler instance to the event. The methods referenced by the SwitchPageHandler instance are invoked whenever the event is raised, until the SwitchPageHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/MnemonicActivatedArgs.xml0000664000175000017500000000455112767740535017355 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Boolean Whether or not the mnemonic group acts as a loop. A boolean, true if the group cycles. gtk-sharp-2.12.40/doc/en/Gtk/RecentManager.xml0000664000175000017500000003715512767740535015667 00000000000000 gtk-sharp 2.12.0.0 GLib.Object To be added. To be added. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 System.Obsolete To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("changed") System.EventHandler To be added. To be added. Property 2.12.0.0 Gtk.RecentManager To be added. To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("filename") System.String To be added. To be added. To be added. Method 2.12.0.0 System.Obsolete Gtk.RecentManager To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.List To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("limit") System.Int32 To be added. To be added. To be added. Method 2.12.0.0 Gtk.RecentInfo To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideChanged", Type=typeof(Gtk.RecentManager)) System.Void To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Obsolete Gdk.Screen To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("size") System.Int32 To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/DisableDeviceHandler.xml0000664000175000017500000000314312767740535017123 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DisableDeviceHandler instance to the event. The methods referenced by the DisableDeviceHandler instance are invoked whenever the event is raised, until the DisableDeviceHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/ValueChangedArgs.xml0000664000175000017500000000332112767740535016303 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs To be added. To be added. Constructor 2.12.0.0 To be added. To be added. Property 2.12.0.0 System.Double To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/HTMLStreamCloseFunc.xml0000664000175000017500000000231312767740535016662 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. A delegate for use with . Meant to be used for closing the stream. gtk-sharp-2.12.40/doc/en/Gtk/ToggleCursorRowHandler.xml0000664000175000017500000000322212767740535017545 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ToggleCursorRowHandler instance to the event. The methods referenced by the ToggleCursorRowHandler instance are invoked whenever the event is raised, until the ToggleCursorRowHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/SetBaseHandler.xml0000664000175000017500000000302312767740535015763 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SetBaseHandler instance to the event. The methods referenced by the SetBaseHandler instance are invoked whenever the event is raised, until the SetBaseHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/CellEditableImplementor.xml0000664000175000017500000000326512767740535017674 00000000000000 gtk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Gtk.CellEditableAdapter)) CellEditable implementor interface. The implementable portion of the interface. Method 2.12.0.0 System.Void To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/ClientEventHandler.xml0000664000175000017500000000310612767740535016657 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ClientEventHandler instance to the event. The methods referenced by the ClientEventHandler instance are invoked whenever the event is raised, until the ClientEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/Drag.xml0000664000175000017500000013575312767740535014034 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Methods for controlling drag and drop handling. Gtk# has a rich set of methods for doing inter-process communication via the drag-and-drop metaphor. Gtk# can do drag-and-drop (DND) via multiple protocols. The currently supported protocols are the Xdnd and Motif protocols. As well as the methods listed here, applications may need to use some facilities provided for . Also, the Drag and Drop API makes use of events in the class. Constructor 2.12.0.0 A constructor. Method 2.12.0.0 Gdk.DragContext The source . The targets (data formats) in which the source can provide the data. A bitmask of the allowed drag actions for this drag. The button the user clicked to start the drag. The event that triggered the start of the drag. Initates a drag on the source side. The context fot this drag. The method only needs to be used when the application is starting drags itself, and is not needed when is used. Method 2.12.0.0 System.Boolean A . X coordinate of a start of drag. Y coordinate of a start of drag. Current X coordinate. Current Y coordinate. Checks to see if a mouse drag starting at (, ) and ending at (, ) has passed the GTK# drag threshold, and this should trigger the beginning of a drag-and-drog operation. if the drag threshold has been passed. Method 2.12.0.0 System.Void a To be added To be added Method 2.12.0.0 System.Void a To be added To be added Method 2.12.0.0 System.Void a To be added To be added Method 2.12.0.0 Gdk.Atom Drag destination . Drag context. List of droppable targets, or to use . Looks for a match between ->targets and the , returning the first matching target, otherwise returning GDK_NONE. First target that the source offers and the dest can accept. or GDK_NONE. should usually be the return value from but some widgets may have different valid targets for different parts of the ; in that case, they will have to implement a drag_motion handler that passes the correct target list to this method. Method 2.12.0.0 Gtk.TargetList A . Returns the list of targets this can accept from drag-and-drop. The , or if none. Method 2.12.0.0 System.Boolean a to test. Tests if a widget is set to raise drag motion events. if , the widget raises . Method 2.12.0.0 System.Void a a , which types of default drag behavior to use a , table of targets that can be accepted a , default behaviors Register a drop site and possibly add default behaviors. Method 2.12.0.0 System.Void A . The window to which to foward drag events. The drag protocol which the accepts (You can use to determine this). If , send the same coordinates to the destination, because it is an embedded subwindow. Sets this as a proxy for drops to another window. Method 2.12.0.0 System.Void A that's a drag destination. List of droppable targets, or for none. Sets the target types that this can accept from drag and drop. The must first be made into a drag destination with . Method 2.12.0.0 System.Void the to configure. turns on motion events if . Sets the generic drag motion behavior for a widget. This method can be used to make a widget raise events despite its target settings and flags, allowing a widget to perform generic actions regardless of the source widget's target settings. Method 2.12.0.0 System.Void A . Clears information about a drop destinantion set with . The will no longer receive notification of drags. Method 2.12.0.0 System.Void The drag context. A flag indicating whether the drop was successful. A flag indicating whether the source should delete the original data (this should be for a move). The timestamp from the event. Informs the drag sourcre that the drop is finished, and that the data of the drag will no longer be repaired. Method 2.12.0.0 System.Void The that will receive the event. The drag context. The target (form of the data) to retrieve. A timestamp for retrieving the data. This will generally be the time received in a or event. Obtains the data associated with a drag. When the data is received or the retrieval fails, GTK# will emit a event. Failure of the retrieval is indicated by the length field of the signal parameter being negative. However, when is called implicitely because the was set, then the will not receive notification of failed drops. Method 2.12.0.0 Gtk.Widget A (destination side) drag context. Determines the source for a drag. If the drag is occurring within a single application, a pointer to the source . Otherwise, . Method 2.12.0.0 System.Void A to highlight. Draws a highlight around a . This will attach handlers to and , so the highlight will continue to be displayed until is called. Property 2.12.0.0 System.Obsolete("Replaced by SetIconDefault(ctx)") Gdk.DragContext Obsolete. Replaced by Method 2.12.0.0 System.Obsolete System.Void a a a a a Obsolete. Old functionality: changes the default drag icon. GTK+ retains references for the arguments, and will release them when they are no longer needed. This function is obsolete. The default icon should now be changed via the stock system by changing the stock pixbuf for #GTK_STOCK_DND. Method 2.12.0.0 System.Void The context of the drag (this must be called with a context for the source side of a drag). Sets the icon for a particular drag to the default icon. Method 2.12.0.0 System.Void The drag context. name of an Icon in the Icon theme. the x offset within the icon of the hotspot. the y offset within the icon of the hotspot. Sets the icon for a drag using a name from an Icon theme. Method 2.12.0.0 System.Void The context for a drag (this must be called with a context for the source side of a drag). The to use as the drag icon. The X offset within of the hotspot. The Y offset within of the hotspot. Sets as the icon for a given drag. Method 2.12.0.0 System.Void The context for a drag (this must be called with a context for the source side of a drag). The colormap of the icon. The image data for the icon. The transparency mask for the icon. The X offset with of the hotspot. The Y offset with of the hotspot. Sets as the icon for a given drag. GTK# retains references for the arguments, and will release them when they are no longer needed. In general, will be more convenient to use. Method 2.12.0.0 System.Void The context of the drag (this must be called with a context for the source side of a drag). The ID of the stock icon to use for the drag. The X offset within the icon of the hotspot. The Y offset within the icon of the hotspot. Sets the icon for a given drag from a stock ID. Method 2.12.0.0 System.Void The context for a drag (this must be called with a context for the source side of a drag. A toplevel window to use as an icon. The X offset within of the hotspot. The Y offset within of the hotspot. Changes the icon for a to a given . GTK# will not destroy the icon, so if you don't want it to persist, you should connect to the event and destroy it yourself. Method 2.12.0.0 System.Void a To be added To be added Method 2.12.0.0 System.Void a To be added To be added Method 2.12.0.0 System.Void a To be added To be added Method 2.12.0.0 Gtk.TargetList a Gets the list of targets this widget can provide for drag-and-drop. a , or if none. Method 2.12.0.0 System.Void a The bitmask of buttons that can start the drag. The table of targets that the drag will support. the bitmask of possible actions for a drag from this . Sets up a so that Gtk# will start a drag operation when the user clicks and drags on the . The must have a window. Method 2.12.0.0 System.Void A . The colormap of the icon. The image data for the icon. The transparency mask for an image. Sets the icon that will be used for drags from a particular from a pixmap/mask. GTK# retains references for the arguments, and will release them when they are no longer needed. Use instead. Method 2.12.0.0 System.Void the source widget. the name of an Icon in the Icon theme. Sets a source icon by name from an Icon theme. Method 2.12.0.0 System.Void A . The for the drag icon. Sets the icon that will be used for drags from a particular from a . GTK# retains a reference for and will release it when it is no longer needed. Method 2.12.0.0 System.Void A . The ID of the stock icon to use. Sets the icon that will be used for drags from a particular source to a stock icon. Method 2.12.0.0 System.Void a a Changes the target types that this widget offers for drag-and-drop. The widget must first be made into a drag source with gtk_drag_source_set(). Method 2.12.0.0 System.Void A . Undoes the effects of . Method 2.12.0.0 System.Void A . Removes a highlight set by from a . gtk-sharp-2.12.40/doc/en/Gtk/TextInsertedArgs.xml0000664000175000017500000000774212767740535016412 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The following events invoke delegates which pass event data via this class: Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Int32 The length of the inserted text. An integer, the length of the inserted text. Property 2.12.0.0 System.Int32 The position at which to insert the new text. On return, it should point to the position after the inserted text. An integer, the insert position. Property 2.12.0.0 System.String The text that was inserted. A string that was inserted. gtk-sharp-2.12.40/doc/en/Gtk/PrepareHandler.xml0000664000175000017500000000252712767740535016043 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PrepareHandler instance to the event. The methods referenced by the PrepareHandler instance are invoked whenever the event is raised, until the PrepareHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/PageRemovedArgs.xml0000664000175000017500000000443312767740535016160 00000000000000 gtk-sharp 2.12.0.0 GLib.SignalArgs Arguments for . Constructor 2.12.0.0 Public constructor. Property 2.12.0.0 Gtk.Widget Widget removed. a . Property 2.12.0.0 System.UInt32 Index of removed page. a . gtk-sharp-2.12.40/doc/en/Gtk/ToolItem.xml0000664000175000017500000006226612767740535014711 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Bin The base class of widgets that can be added to a . Current inheritors are: and . Constructor 2.12.0.0 Public constructor. Constructor 2.12.0.0 System.Obsolete a Protected constructor. Constructor 2.12.0.0 a , pointer to the underlying C object. Constructor for internal use. Do not use. Event 2.12.0.0 GLib.Signal("create_menu_proxy") Gtk.CreateMenuProxyHandler This event is raised when the toolbar is displaying an overflow menu and is trying to determine if toolitem should appear in the overflow menu. In response to this event, toolitems should either call the method specifying menu_item as None and return to indicate that the item should not appear in the overflow menu, OR call the method with a new menu item and return , OR return to indicate that the signal was not handled by the item. This means that the item will not appear in the overflow menu unless a later handler installs a menu item. The toolbar may cache the result of this signal. When the tool item changes how it will respond to this signal it must call the rebuild_menu() method to invalidate the cache and ensure that the toolbar rebuilds its overflow menu. TODO: figure out why there is no rebuild_menu in gtk# Property 2.12.0.0 System.Boolean Whether this toolitem is allocated extra space when there is more room on the toolbar then needed for the items. a If true, the effect is that the item gets bigger when the toolbar gets bigger and smaller when the toolbar gets smaller. Method 2.12.0.0 Gtk.Widget a If matches the string passed to , return the corresponding . a Custom subclasses of should use this function to update their menu item when the changes. That the s must match ensures that a will not inadvertently change a menu item that they did not create. Property 2.12.0.0 GLib.GType The of this object. a Property 2.12.0.0 System.Boolean Whether this toolitem is to be allocated the same size as other homogeneous items. a If true, the effect is that all homogeneous items will have the same width as the widest of the items. Property 2.12.0.0 Gtk.IconSize The size of icons in this toolbar. See . a Property 2.12.0.0 GLib.Property("is-important") System.Boolean Whether the toolbar item is considered important. a When TRUE, toolbar buttons show text when the toolbar is in mode. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCreateMenuProxy", Type=typeof(Gtk.ToolItem)) System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideToolbarReconfigured", Type=typeof(Gtk.ToolItem)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTooltipSet", Type=typeof(Gtk.ToolItem)) System.Boolean a a a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Property 2.12.0.0 Gtk.Orientation The orientation used for this tool item. See . a Method 2.12.0.0 System.Void To be added To be added Property 2.12.0.0 Gtk.ReliefStyle Returns the relief style of this toolitem. See . a Custom subclasses of should call this function in the handler of the signal to find out the relief style of buttons. Method 2.12.0.0 Gtk.Widget Returns the that was last set by ; that is, the that is going to appear in the overflow menu. a Method 2.12.0.0 System.Void a a Sets the used in the toolbar overflow menu. The is used to identify the caller of this function and should also be used with . Method 2.12.0.0 System.Obsolete System.Void a a , the tooltip text for the item a , the private text Sets the object to be used for this tool item, the text to be displayed as tooltip on the item and the private text to be used. Event 2.12.0.0 GLib.Signal("toolbar_reconfigured") System.EventHandler This signal is emitted when some property of the toolbar that the item is a child of changes. For custom subclasses of , the default handler of this signal uses the properties , , , and to find out what the toolbar should look like and change themselves accordingly. Property 2.12.0.0 Gtk.ToolbarStyle Sets some display styles for this toolbar; see for details. a Event 2.12.0.0 GLib.Signal("set_tooltip") Gtk.TooltipSetHandler This signal is emitted when the toolitem's tooltip changes. Property 2.12.0.0 System.Boolean Whether this toolitem has a drag window. a When this is TRUE the toolitem can be used as a drag source through . When this toolitem has a drag window it will intercept all events, even those that would otherwise be sent to a child of the toolitem. Property 2.12.0.0 GLib.Property("visible-horizontal") System.Boolean Whether the toolbar item is visible when the toolbar is in a horizontal orientation. a Property 2.12.0.0 GLib.Property("visible-vertical") System.Boolean Whether the toolbar item is visible when the toolbar is in a vertical orientation. a gtk-sharp-2.12.40/doc/en/Gtk/PageHorizontallyArgs.xml0000664000175000017500000000601512767740535017253 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Int32 How many pages to move horizontally. A Property 2.12.0.0 System.Boolean Whether a selection is currently in progress that should be extended by the horizontal-page action. A , true if a selection is in progress. gtk-sharp-2.12.40/doc/en/Gtk/InsertionColorChangedHandler.xml0000664000175000017500000000327312767740535020667 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the InsertionColorChangedHandler instance to the event. The methods referenced by the InsertionColorChangedHandler instance are invoked whenever the event is raised, until the InsertionColorChangedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/TagAddedArgs.xml0000664000175000017500000000442212767740535015415 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data for when a tag is added to text. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.TextTag The tag that changed. A gtk-sharp-2.12.40/doc/en/Gtk/PopupContextMenuArgs.xml0000664000175000017500000001020412767740535017250 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Int32 The mouse button number which was used to pop up the context menu. a Property 2.12.0.0 System.Int32 The X location at which the context menu was popped up. a Property 2.12.0.0 System.Int32 The Y location at which the context menu was popped up. a gtk-sharp-2.12.40/doc/en/Gtk/SetFocusHandler.xml0000664000175000017500000000304212767740535016171 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SetFocusHandler instance to the event. The methods referenced by the SetFocusHandler instance are invoked whenever the event is raised, until the SetFocusHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/TreeDragDest.xml0000664000175000017500000000755612767740535015473 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.IWrapper An interface to represent the rows of a tree when something is drag-and-dropped onto them. Method 2.12.0.0 System.Boolean To be added. a , the data to drop Asks the TreeDragDest to insert a row before the given , deriving the contents of the row from the given . A boolean for whether the row was dropped successfully. If dest_path is outside the tree so that inserting before it is impossible, FALSE will be returned. Also, FALSE may be returned if the new row cannot be created for some model-specific reason. Should robustly handle a destination path no longer found in the model. Method 2.12.0.0 System.Boolean To be added. a , the data to drop Determines whether a drop is possible before the given , at the same depth as . i.e., can we drop the data in at that location. does not have to exist; the return value will almost certainly be FALSE if the parent of doesn't exist, though. A boolean for whether the drop is possible. gtk-sharp-2.12.40/doc/en/Gtk/DrawPrintHandler.xml0000664000175000017500000000314412767740535016353 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DrawPrintHandler instance to the event. The methods referenced by the DrawPrintHandler instance are invoked whenever the event is raised, until the DrawPrintHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/DragDataDeleteArgs.xml0000664000175000017500000000450212767740535016551 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.DragContext The context of this drag. a gtk-sharp-2.12.40/doc/en/Gtk/RowsReorderedHandler.xml0000664000175000017500000000403112767740535017223 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the RowsReorderedHandler instance to the event. The methods referenced by the RowsReorderedHandler instance are invoked whenever the event is raised, until the RowsReorderedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/ActivateCurrentHandler.xml0000664000175000017500000000317112767740535017544 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ActivateCurrentHandler instance to the event. The methods referenced by the ActivateCurrentHandler instance are invoked whenever the event is raised, until the ActivateCurrentHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/ChangeCurrentPageHandler.xml0000664000175000017500000000322012767740535017761 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ChangeCurrentPageHandler instance to the event. The methods referenced by the ChangeCurrentPageHandler instance are invoked whenever the event is raised, until the ChangeCurrentPageHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/ScrollEventHandler.xml0000664000175000017500000000310612767740535016677 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ScrollEventHandler instance to the event. The methods referenced by the ScrollEventHandler instance are invoked whenever the event is raised, until the ScrollEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/SetBaseTargetHandler.xml0000664000175000017500000000313312767740535017134 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SetBaseTargetHandler instance to the event. The methods referenced by the SetBaseTargetHandler instance are invoked whenever the event is raised, until the SetBaseTargetHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/SpinButton.xml0000664000175000017500000007732712767740535015266 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Entry Retrieve an integer or floating-point number from the user. A SpinButton is an ideal way to allow the user to enter a numeric value. Rather than having to directly type a number into an , a SpinButton allows the user to click on one of two arrows to increment or decrement the displayed value. A value can still be typed in, with the added benefit that it can be checked to ensure it is within a given range. To precisely configure a SpinButton, an is used. Though it is not mandatory, its use allows fine control over the 'spinning' properties of the SpinButton. A SpinButton is typically created by setting up an and passing that to the SpinButton's constructor. The value entered by a user can then be retrieved using either the property or the property. The following demonstrates how to get an integer from a SpinButton: // Creates a window with a spin button public void CreateSpinButton() { Window window = new Window(); window.BorderWidth = 5; // Create a spin button for percentage values. SpinButton spinner = new SpinButton(0f, 100f, 1f); spinner.ValueChanged += new EventHandler(OutputValue); window.Add(spinner); window.ShowAll(); } // Handles ValueChanged events and writes to the console private void OutputValue(object source, System.EventArgs args) { SpinButton spinner = source as SpinButton; System.Console.WriteLine("Current value is: " + spinner.ValueAsInt); } Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 A A A Creates a new SpinButton based on the specified . Constructor 2.12.0.0 Minimum allowable value. Maximum allowable value. The value to alter the SpinButton by when a is carried out on it. Creates a SpinButton without the need for a manually created . The default value of the new SpinButton is initially set to . The default page increment is set to 10 * . The visible precision of the spin button is equivalent to the precision of . Property 2.12.0.0 GLib.Property("adjustment") Gtk.Adjustment The lower/upper/step range of this widget's values. A Event 2.12.0.0 GLib.Signal("change_value") Gtk.ChangeValueHandler Raised in order to change the button's value. Property 2.12.0.0 GLib.Property("climb-rate") System.Double The acceleration rate when user holds down a button. A Method 2.12.0.0 System.Void An optional to configure certain properties, null otherwise. The value to adjust the SpinButton by when one of its arrows are clicked. The number of decimal places to display. Configures various properties of the SpinButton. An is used to configure a variety of the properties for a SpinButton. See the documentation for the members for more information. Property 2.12.0.0 GLib.Property("digits") System.UInt32 Manage the precision that this SpinButton's value is displayed with. The maximum number of digits that the SpinButton will currently display. Up to 20 digit precision is allowed. Method 2.12.0.0 System.Void Outputs the value that a spin button is changed by when the user clicks with button 1, (usually the left mouse button). Outputs the value that a spin button is changed by when the user clicks with button 2, (usually the middle mouse button). Retrieve the current step and page increments. Method 2.12.0.0 System.Void The minimum value that can be accepted. The maximum value that can be accepted. Find out the minimum and maximum allowed input values. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Event 2.12.0.0 GLib.Signal("input") Gtk.InputHandler Raised when the user inputs a new value. Property 2.12.0.0 GLib.Property("numeric") System.Boolean Manage whether or not the SpinButton accepts non-numeric input. Whether the SpinButton currently accepts only numeric input. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideChangeValue", Type=typeof(Gtk.SpinButton)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideInput", Type=typeof(Gtk.SpinButton)) System.Int32 a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideOutput", Type=typeof(Gtk.SpinButton)) System.Int32 Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideValueChanged", Type=typeof(Gtk.SpinButton)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideWrapped", Type=typeof(Gtk.SpinButton)) System.Void Default handler for event. Event 2.12.0.0 GLib.Signal("output") Gtk.OutputHandler Raised when this widget outputs its value. Method 2.12.0.0 System.Void The amount to change the spin button by when the user clicks with button 1, (usually the left mouse button). The amount to change the spin button by when the user clicks with button 2, (usually the middle mouse button). Sets the step and page increments. Changing the values with this method alters how quickly the SpinButton's value changes when its arrows are activated. Method 2.12.0.0 System.Void The minimum value that can be entered. The maximum value that can be entered. Alters the minimum and maximum allowable values. Property 2.12.0.0 GLib.Property("snap-to-ticks") System.Boolean Manage whether values are corrected to the nearest step increment when a SpinButton is activated with an invalid value. if values are snapped to the nearest step, otherwise. Method 2.12.0.0 System.Void A direction that indicates if the SpinButton should be incremented or decremented. The amount to adjust the SpinButton by. Changes the value of the SpinButton by . Method 2.12.0.0 System.Void Forces the SpinButton to update its value Property 2.12.0.0 GLib.Property("update-policy") Gtk.SpinButtonUpdatePolicy The policy for how to update this SpinButton when its value changes. A Property 2.12.0.0 GLib.Property("value") System.Double The current value of the SpinButton. The current value of the SpinButton. The value of the SpinButton is limited by the precision set with the property. Property 2.12.0.0 System.Int32 Retrieve the current value as an integer. The value of the SpinButton with integer precision. Event 2.12.0.0 GLib.Signal("value_changed") System.EventHandler This event is raised after the SpinButton's value changes. Property 2.12.0.0 GLib.Property("wrap") System.Boolean Manage whether a SpinButton's value wraps around to the opposite limit when the upper or lower limit of the range is exceeded. Whether this SpinButton wraps its maximum/minimum values when spinning. If this property is set to , then when the user tries to change the value in a SpinButton, (usually by clicking one of the arrows), the next value after the maximum will wrap to the minimum. Alternatively, if this property is set to , then trying to increase the value of the SpinButton when it is at the maximum value, will have no effect. Likewise when trying to decrement the value at its minimum. Event 2.12.0.0 GLib.Signal("wrapped") System.EventHandler Raised when the value wraps from min to max, or max to min. gtk-sharp-2.12.40/doc/en/Gtk/OptionMenu.xml0000664000175000017500000002527612767740535015252 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Button System.Obsolete A widget used to choose from a list of valid choices. A is a widget that allows the user to choose from a list of valid choices. The displays the selected choice. When activated the displays a popup which allows the user to make a new choice. Using a is simple; build a , by calling , then appending s to it with . Set that menu on the with . Set the selected with ; connect to the event ; when the event occurs, check the new selected with . using System; using Gtk; class OptionMenuSample { OptionMenu opt; static void Main () { new OptionMenuSample (); } OptionMenuSample () { Application.Init (); Window win = new Window ("OptionMenuSample"); win.DeleteEvent += new DeleteEventHandler (OnWinDelete); // set up the OptionMenu opt = new OptionMenu (); opt.Changed += new EventHandler (OnOptionChanged); Menu m = new Menu (); MenuItem miOne = new MenuItem ("One"); m.Append (miOne); MenuItem miTwo = new MenuItem ("Two"); m.Append (miTwo); MenuItem miThree = new MenuItem ("Three"); m.Append (miThree); // add children widgets to their parents opt.Menu = m; win.Add (opt); // set the OptionMenu to a value opt.SetHistory (2); win.ShowAll (); Application.Run (); } void OnOptionChanged (object o, EventArgs args) { Console.WriteLine (opt.History); } void OnWinDelete (object o, DeleteEventArgs args) { Application.Quit (); } } Constructor 2.12.0.0 Creates a new This is the default constructor for Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Event 2.12.0.0 GLib.Signal("changed") System.EventHandler Emitted when the selection is changed. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.Int32 Retrieves the index of the currently selected . an object of type The s are numbered from top to bottom, starting with 0. Property 2.12.0.0 GLib.Property("menu") Gtk.Widget The menu of options. an object of type Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideChanged", Type=typeof(Gtk.OptionMenu)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Void Removes the menu from the . Method 2.12.0.0 System.Void a Selects the menu item specified by making it the newly selected value for the . gtk-sharp-2.12.40/doc/en/Gtk/Toolbar.xml0000664000175000017500000014567612767740535014566 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Container Create bars of buttons and other widgets. A is created with a call to . Buttons with text and/or images are added with , , and . Any of , , or an arbitrary widget can be added to the toolbar with , , and . Widgets can be visibly grouped by adding gaps between widgets using , , and . Constructor 2.12.0.0 Creates a new toolbar. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Obsolete("Replaced by ToolItem API") Gtk.Widget a a a a a a a Deprecated. a Method 2.12.0.0 System.Obsolete("Replaced by ToolItem API") Gtk.Widget a a a a a Deprecated. a Method 2.12.0.0 System.Obsolete System.Void Deprecated. Adds a new space to the end of the toolbar. Method 2.12.0.0 System.Obsolete System.Void A to add to the toolbar. The tooltip for the element. Used for context-sensitive help about this toolbar element. Deprecated. Adds a widget to the end of the given toolbar. Method 2.12.0.0 System.Int32 a a Returns the position corresponding to the indicated point on the toolbar. a This is useful when dragging items to the toolbar: this function returns the position a new item should be inserted. and are in toolbar coordinates. Method 2.12.0.0 System.Int32 a Returns the position of on the toolbar, starting from 0. a It is an error if is not a child of the toolbar. Method 2.12.0.0 Gtk.ToolItem a Returns the th item on the toolbar, or if the toolbar does not contain an th item. a Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("icon-size") Gtk.IconSize This function sets the size of stock icons in the toolbar. You can call it both before you add the icons and after they have been added. The size you set will override user preferences for the default icon size. The icon size for the toolbar. Property 2.12.0.0 GLib.Property("icon-size-set") System.Boolean Indicates if an Icon size is set. a . Method 2.12.0.0 System.Void a a Insert a into the toolbar at position . If is 0 the item is prepended to the start of the toolbar. If is negative, the item is appended to the end of the toolbar. Method 2.12.0.0 System.Obsolete("Replaced by ToolItem API") Gtk.Widget a , the type of widget to add a , the widget itself a , a label for the widget a , simple tooltip text a , context-sensitive detailed help a , the icon to use for this widget a , a callback function to use when the new widget is touched. a , data to pass to the callback. a , the number of toolbar widgets to insert this element after. This method is deprecated and should not be used in new code. Adds a new button to the beginning of the toolbar (left or top, depending on toolbar orientation). If type == , widget is used as the new element. If type == , widget is used to determine the radio group for the new element. In all other cases, widget must be NULL. a , the new toolbar element. Method 2.12.0.0 System.Obsolete("Replaced by ToolItem API") Gtk.Widget a a a a a a a Deprecated. a Method 2.12.0.0 System.Obsolete System.Void The number of widgets after which a space should be inserted. Deprecated. Do not use. Inserts a new space in the toolbar at the specified position. Method 2.12.0.0 System.Obsolete("Replaced by ToolItem API") Gtk.Widget a a a a a Deprecated a Replaced by ToolItem API. Method 2.12.0.0 System.Obsolete("Replaced by ToolItem API") Gtk.Widget a a a a a a Deprecated. a Method 2.12.0.0 System.Obsolete System.Void a to add to the toolbar. The tooltip for the element. Used for context-sensitive help about this toolbar element. The number of widgets to insert this widget after. Deprecated. Inserts a widget in the toolbar at the given position. Property 2.12.0.0 Gtk.Container+ContainerChild To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Int32 The number of items on the toolbar. a Property 2.12.0.0 System.Int32 The number of items in the toolbar. The number of itesm. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideOrientationChanged", Type=typeof(Gtk.Toolbar)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePopupContextMenu", Type=typeof(Gtk.Toolbar)) System.Boolean a a a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideStyleChanged", Type=typeof(Gtk.Toolbar)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 2.12.0.0 GLib.Property("orientation") Gtk.Orientation Sets the of the toolbar to either or . The orientation of the toolbar. Event 2.12.0.0 GLib.Signal("orientation-changed") Gtk.OrientationChangedHandler Used if you wish to perform an action when ever the style of a toolbar is adjusted. For example, this would be a useful signal to connect to if you want to display more items on the toolbar when it is in icon-only mode; each item takes less space on the bar. Event 2.12.0.0 GLib.Signal("popup_context_menu") Gtk.PopupContextMenuHandler Emitted when the user right-clicks the toolbar or uses the keybinding to display a popup menu. Application developers should handle this signal if they want to display a context menu on the toolbar. Method 2.12.0.0 System.Obsolete("Replaced by ToolItem API") Gtk.Widget a , the type of widget to add a , the widget itself a , a label for the widget a , simple tooltip text a , context-sensitive detailed help a , the icon to use for this widget a , a callback function to use when the new widget is touched. This method is deprecated and should not be used in new code. Adds a new button to the beginning of the toolbar (left or top, depending on toolbar orientation). If type == , widget is used as the new element. If type == , widget is used to determine the radio group for the new element. In all other cases, widget must be NULL. a To be added. Method 2.12.0.0 System.Obsolete("Replaced by ToolItem API") Gtk.Widget a a a a a Deprecated. a Method 2.12.0.0 System.Obsolete System.Void Deprecated. Adds a new space to the beginning of the toolbar. Method 2.12.0.0 System.Obsolete System.Void a to add to the toolbar. The tooltip for the element. Used for context-sensitive help about this toolbar element. Deprecated. Adds a widget to the beginning of the given toolbar. Property 2.12.0.0 Gtk.ReliefStyle The relief style of buttons on the toolbar. a Method 2.12.0.0 System.Obsolete System.Void The index of the space to remove. Deprecated. Removes a space from the specified position. Method 2.12.0.0 System.Void a a To be added To be added Property 2.12.0.0 GLib.Property("show-arrow") System.Boolean Whether to show an arrow if the toolbar doesn't fit. a Event 2.12.0.0 GLib.Signal("style-changed") Gtk.StyleChangedHandler Used if you wish to perform an action when the orientation of a toolbar is changed. Property 2.12.0.0 GLib.Property("toolbar-style") Gtk.ToolbarStyle Alters the view of toolbar to display either icons only, text only, or both. The current style of toolbar. Property 2.12.0.0 GLib.Property("tooltips") System.Boolean Sets if the tooltips of a toolbar should be active or not. Whether tooltips are enabled. Method 2.12.0.0 System.Void Unsets toolbar icon size set with . Method 2.12.0.0 System.Void Unsets a toolbar style set with . Unsets a toolbar style set with , so that user preferences will be used to determine the toolbar style. gtk-sharp-2.12.40/doc/en/Gtk/ResizeMode.xml0000664000175000017500000000603312767740535015211 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.ResizeModeGType)) An enumeration used by Container This enumeration is used by to decide how resize behaves. Field 2.12.0.0 Gtk.ResizeMode Perform the resizes now. Perform the resizes now. Field 2.12.0.0 Gtk.ResizeMode Resize request is sent to the parent. Resize request is sent to the parent. Field 2.12.0.0 Gtk.ResizeMode Queue resizes are sent to the widget. Queue resizes are sent to the widget. gtk-sharp-2.12.40/doc/en/Gtk/WidgetHelpType.xml0000664000175000017500000000450512767740535016043 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gtk.WidgetHelpTypeGType)) The type of help to display when the event is raised. Field 2.12.0.0 Gtk.WidgetHelpType This value shows the short name of the tooltip--- the hover text. Field 2.12.0.0 Gtk.WidgetHelpType This field holds longer or more detailed help text; so named because it's often used by the "What's this?" help function in many applications. gtk-sharp-2.12.40/doc/en/Gtk/QueryTooltipHandler.xml0000664000175000017500000000165212767740535017123 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/WidgetEventAfterHandler.xml0000664000175000017500000000426012767740535017650 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the WidgetEventAfterHandler instance to the event. The methods referenced by the WidgetEventAfterHandler instance are invoked whenever the event is raised, until the WidgetEventAfterHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/PrintOperation.xml0000664000175000017500000011721112767740535016121 00000000000000 gtk-sharp 2.12.0.0 GLib.Object Gtk.PrintOperationPreview To be added. To be added. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 System.Obsolete To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("allow-async") System.Boolean To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("begin-print") Gtk.BeginPrintHandler To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Event 2.12.0.0 GLib.Signal("create-custom-widget") Gtk.CreateCustomWidgetHandler To be added. To be added. Property 2.12.0.0 GLib.Property("current-page") System.Int32 To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("custom-tab-label") System.String To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("custom-widget-apply") Gtk.CustomWidgetApplyHandler To be added. To be added. Property 2.12.0.0 GLib.Property("default-page-setup") Gtk.PageSetup To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("done") Gtk.DoneHandler To be added. To be added. Event 2.12.0.0 GLib.Signal("draw-page") Gtk.DrawPageHandler To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Event 2.12.0.0 GLib.Signal("end-print") Gtk.EndPrintHandler To be added. To be added. Property 2.12.0.0 GLib.Property("export-filename") System.String To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Event 2.12.0.0 GLib.Signal("got-page-size") Gtk.GotPageSizeHandler To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 System.Boolean To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("job-name") System.String To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("n-pages") System.Int32 To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideBeginPrint", Type=typeof(Gtk.PrintOperation)) System.Void To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCreateCustomWidget", Type=typeof(Gtk.PrintOperation)) Gtk.Widget To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCustomWidgetApply", Type=typeof(Gtk.PrintOperation)) System.Void To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDone", Type=typeof(Gtk.PrintOperation)) System.Void To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDrawPage", Type=typeof(Gtk.PrintOperation)) System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideEndPrint", Type=typeof(Gtk.PrintOperation)) System.Void To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideGotPageSize", Type=typeof(Gtk.PrintOperation)) System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePaginate", Type=typeof(Gtk.PrintOperation)) System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePreview", Type=typeof(Gtk.PrintOperation)) System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideReady", Type=typeof(Gtk.PrintOperation)) System.Void To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRequestPageSetup", Type=typeof(Gtk.PrintOperation)) System.Void To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideStatusChanged", Type=typeof(Gtk.PrintOperation)) System.Void To be added. To be added. Event 2.12.0.0 GLib.Signal("paginate") Gtk.PaginateHandler To be added. To be added. Event 2.12.0.0 GLib.Signal("preview") Gtk.PreviewHandler To be added. To be added. Property 2.12.0.0 GLib.Property("print-settings") Gtk.PrintSettings To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("ready") Gtk.ReadyHandler To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("request-page-setup") Gtk.RequestPageSetupHandler To be added. To be added. Method 2.12.0.0 Gtk.PrintOperationResult To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("show-progress") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("status") Gtk.PrintStatus To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("status-changed") System.EventHandler To be added. To be added. Property 2.12.0.0 GLib.Property("status-string") System.String To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("track-print-status") System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("unit") Gtk.Unit To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("use-full-page") System.Boolean To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gtk/Requisition.xml0000664000175000017500000001643112767740535015461 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType A GtkRequisition represents the desired size of a widget. The size requisition of a widget is it's desired width and height. This is represented by this structure. How a widget determines its desired size depends on the widget. A , for example, requests enough space to display all its text. Container widgets generally base their size request on the requisitions of their children. The size requisition phase of the widget layout process operates top-down. It starts at a top-level widget, typically a . The top-level widget asks its child for its size requisition by calling . To determine its requisition, the child asks its own children for their requisitions and so on. Finally, the top-level widget will get a requisition back from its child. Method 2.12.0.0 System.Obsolete("This is a no-op") Gtk.Requisition Duplicates this requisition object by value. A Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Field 2.12.0.0 System.Int32 The requested height. Method 2.12.0.0 Gtk.Requisition A , the underlying C object. Constructor. A Not for general developer use. Method 2.12.0.0 Gtk.Requisition To be added. To be added. To be added. To be added. Method 2.12.0.0 GLib.Value To be added. To be added. To be added. To be added. Field 2.12.0.0 System.Int32 The requested width. Field 2.12.0.0 Gtk.Requisition An empty object. gtk-sharp-2.12.40/doc/en/Gtk/RowHasChildToggledArgs.xml0000664000175000017500000000662012767740535017437 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The following events invoke delegates which pass event data via this class: Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.TreeIter The row whose child display was toggled. a Property 2.12.0.0 Gtk.TreePath The path of the row whose child was toggled. a gtk-sharp-2.12.40/doc/en/Gtk/WidgetEventArgs.xml0000664000175000017500000000454412767740535016212 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.Event The uses this method to access the details of an event. a gtk-sharp-2.12.40/doc/en/Gtk/NodeView.xml0000664000175000017500000001220612767740535014662 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.TreeView Tree and List view. Constructor 2.12.0.0 Public Constructor. Constructor 2.12.0.0 a Constructs a new view for a given . Method 2.12.0.0 Gtk.TreeViewColumn a a a Adds a column to the view using a data callback delegate. a Property 2.12.0.0 Gtk.NodeSelection Used to obtain and manipulate the currently selected node(s). a Property 2.12.0.0 Gtk.NodeStore The store containing the view's data. a gtk-sharp-2.12.40/doc/en/Gtk/FocusInEventArgs.xml0000664000175000017500000000443512767740535016334 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.EventFocus The focus event. A gtk-sharp-2.12.40/doc/en/Gtk/ChildAttachedArgs.xml0000664000175000017500000000445412767740535016446 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gtk.Widget The child widget that was attached. A gtk-sharp-2.12.40/doc/en/Gtk/SizeChangedHandler.xml0000664000175000017500000000261012767740535016622 00000000000000 gtk-sharp 2.12.0.0 System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SizeChangedHandler instance to the event. The methods referenced by the SizeChangedHandler instance are invoked whenever the event is raised, until the SizeChangedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/Accel.xml0000664000175000017500000004707712767740535014167 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Accel Class Loadable keyboard accelerator specifications and groups. Constructor 2.12.0.0 Method 2.12.0.0 System.Boolean An usually a , on which to activate the accelerator. An accelerator keyval from a key event. A keyboard state mask from a key event. Finds the first accelerator in any . A returns if the accelerator was handled, and otherwise. Finds the first accelerator in any attached to that matches and , and activates that accelerator. Method 2.12.0.0 Gtk.AccelGroup[] An usually a . Gets a list of all accel groups which are attached to . An list of all accel groups which are attached to . Method 2.12.0.0 System.Obsolete("Moved to AccelMap class. Use AccelMap.AddEntry instead") System.Void A valid accelerator path. An accelerator key. A accelerator modifier. Registers a new accelerator with the global accelerator map. This function should only be called once per with the canonical and for this path. To change the accelerator during runtime programatically, use . The accelerator path must consist of "<WINDOWTYPE>/Category1/Category2/.../Action", where <WINDOWTYPE> should be a unique application-specific indentifier, that corresponds to the kind of window the accelerator is being used in, e.g. "Gimp-Image", "Abiword-Document" or "Gnumeric-Settings". The Category1/.../Action portion is most appropriately chosen by the action the accelerator triggers, i.e. for accelerators on menu items, choose the items's menu path, e.g. "File/Save As", "Image/View/Zoom" or "Edit/Select All". So a valid accelerator path may look like this: "<Gimp-Toolbox>/File/Dialogs/ToolOptions..". Method 2.12.0.0 System.Obsolete("Moved to AccelMap class. Use AccelMap.AddFilter instead") System.Void A pattern. Adds a filter to the global list of accel path filters. Accel map entries whose accel path matches one of the filters are skipped by . This function is intended for gtk-sharp modules that create their own menus but don't want them to be saved into the applications accelerator map dump. Method 2.12.0.0 System.Obsolete("Moved to AccelMap class. Use AccelMap.ChangeEntry instead") System.Boolean A valid accelerator path. An new accelerator key. A new accelerator modifier. A returns if other accelerators may be deleted upon conflicts. Changes the and currently associated with . A that returns if the accelerator can be changed, and otherwise. Due to conflicts with other accelerators, a change may not always be possible, indicates wheather other accelerators may be deleted to resolve such conflicts. A changed will only occur if all conflicts could be resolved (which might not be the case if conflicting accelerators are locked). Method 2.12.0.0 System.Obsolete("Moved to AccelMap class. Use AccelMap.Foreach instead") System.Void The data to be passed into . A function to be executed for each accel map entry which is not filtered out. Loops over the entries in the accelerator. Loops over the entries in the accelerator whose accel path doesn't match any of the filters added with , and exectutes on each. The signature of is that of , the changed parameter indicates wheather this accelerator was changed during runtime (thus, would need saving during an accelerator map dump). Method 2.12.0.0 System.Obsolete("Moved to AccelMap class. Use AccelMap.ForeachUnfiltered instead") System.Void An data to be passed into the . An function to be exacuted for each accel map entry. Loops over all the entries in the accelerator map, and executes on each. The signature of is that of , the changed parameter indicates whether this accelerator was changed during runtime (thus, would need saving during an accelerator map dump). Method 2.12.0.0 System.Obsolete("Moved to AccelMap class. Use AccelMap.Load instead") System.Void A file containing accelerator specifications. Parses through a file previously saved with for accelerator specifications, and propagates them accordingly. Method 2.12.0.0 System.Obsolete("Moved to AccelMap class. Use AccelMap.LoadFd instead") System.Void An valid readable file descriptor. Filedescriptor variant of . Note that the file descriptor will not be closed by this function. Method 2.12.0.0 System.Obsolete("Moved to AccelMap class. Use AccelMap.LookupEntry instead") System.Boolean A valid accelerator path. An accelerator key to be filled in (optional). Looks up the accelerator entry for and fills in . A returns if is known, and otherwise. Method 2.12.0.0 System.Obsolete("Moved to AccelMap class. Use AccelMap.Save instead") System.Void A file to contain accelerator specifications. Saves current accelerator specifications. Saves current accelerator specifications (accelerator path, key, modifiers to . The file is written in a format suitable to be read back in by . Method 2.12.0.0 System.Obsolete("Moved to AccelMap class. Use AccelMap.SaveFd instead") System.Void An valid writeable file descriptor. Filedescriptor variant of . Note that the file descriptor will not be closed by this function. gtk-sharp-2.12.40/doc/en/Gtk/TreeViewRowSeparatorFunc.xml0000664000175000017500000000332212767740535020060 00000000000000 gtk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Boolean To be added. To be added. To be added To be added. To be added gtk-sharp-2.12.40/doc/en/Gtk/Icon.xml0000664000175000017500000002256712767740535014045 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Methods for handling icon properties. Constructor 2.12.0.0 A constructor. Method 2.12.0.0 Gtk.IconSize The name to look up. Looks up the icon size associated with . The icon size with the given name. Method 2.12.0.0 System.String A . Obtains the canonical name of the given icon size. The name of the given icon size. The returned string is statically allocated and should not be freed. Method 2.12.0.0 System.Boolean An icon size. Location to store icon width. Location to store icon height. Obtains the pixel size of a semantic icon size, possibly modified by user preferences fot the default . if was a valid size. Normally size would be , , etc. This method is not normally needed, is the usual way to get an icon for rendering, then just look at the size of the rendered pixbuf. The rendered pixbuf may not even correspond to the width/height returned by , because themes are free to render the pixbuf however they like, including changing the usual size. Method 2.12.0.0 System.Boolean A object, used to determine which set of user preferences to use. An icon size. Location to store icon width. Location to store icon height. Obtains the pixel size of a semantic icon size, possibly modified by user preferences for a particular . if was a valid size. Normally size would be , , etc. This method is not normally needed, is the usual way to get an icon for rendering, then just look at the size of the rendered pixbuf. The rendered pixbuf may not even correspond to the width/height returned by , because themes are free to render the pixbuf however they like, including changing the usual size. Method 2.12.0.0 Gtk.IconSize Name of the icon size. The icon width. The icon height. Registers a new icon size. Integer value representing the size. Along the same lines as . Returns integer value for the size. Method 2.12.0.0 System.Void An alias for . An existing icon size. Registers as another name for . Calling with as argument will return . gtk-sharp-2.12.40/doc/en/Gtk/ToggleSizeAllocatedArgs.xml0000664000175000017500000000453312767740535017650 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Int32 The size that was allocated. A gtk-sharp-2.12.40/doc/en/Gtk/DeleteFromCursorHandler.xml0000664000175000017500000000366212767740535017672 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void Event sender. Event arguments. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the DeleteFromCursorHandler instance to the event. The methods referenced by the DeleteFromCursorHandler instance are invoked whenever the event is raised, until the DeleteFromCursorHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/CancelPositionArgs.xml0000664000175000017500000000332612767740535016674 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.40/doc/en/Gtk/PageOrientation.xml0000664000175000017500000000561012767740535016233 00000000000000 gtk-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Gtk.PageOrientationGType)) Page Orientation enumeration. Field 2.12.0.0 Gtk.PageOrientation Landscape Orientation. Field 2.12.0.0 Gtk.PageOrientation Portrait Orientation. Field 2.12.0.0 Gtk.PageOrientation Reverse Landscape Orientation. Field 2.12.0.0 Gtk.PageOrientation Reverse Portrait Orientation. gtk-sharp-2.12.40/doc/en/Gtk/TreeView.xml0000664000175000017500000043615712767740535014713 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Container A widget for displaying both trees and lists. Widget that displays any object that implements the interface. To create a tree or list in GTK#, you need to use the interface, in conjunction with the widget. This widget is designed around a Model/View/Controller design and consists of four major parts: , the tree view widget , the view column. The cell renderers ( and others)., the model interface. The View is composed of the first three, while the last is the Model. One of the prime benefits of the MVC design is that multiple views can be created of a single model. For example, a model mapping the file system could be created for a file manager. Many views could be created to display various parts of the file system, but only one copy need be kept in memory. The purpose of the cell renderers is to provide extensibility to the widget and to allow multiple ways of rendering the same type of data. For example, consider how to render a boolean variable. Should you render it as a string of "True" or "False", "On" or "Off", or should you render it as a checkbox? A simple list: using System; using Gtk; public class TreeViewSample { public static void Main (string [] args) { Application.Init (); TreeStore store = new TreeStore (typeof (string), typeof (string)); for (int i=0; i < 5; i++) { TreeIter iter = store.AppendValues ("Demo " + i, "Data " + i); } Window win = new Window ("TreeView List Demo"); win.DeleteEvent += new DeleteEventHandler (delete_cb); win.SetDefaultSize (400,250); ScrolledWindow sw = new ScrolledWindow (); win.Add (sw); TreeView tv = new TreeView (); tv.Model = store; tv.HeadersVisible = true; tv.AppendColumn ("Demo", new CellRendererText (), "text", 0); tv.AppendColumn ("Data", new CellRendererText (), "text", 1); sw.Add (tv); sw.Show (); win.ShowAll (); Application.Run (); } private static void delete_cb (System.Object o, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } } A more advanced example: using System; using System.Reflection; using Gtk; public class TreeViewDemo { private static TreeStore store = null; private static Dialog dialog = null; private static Label dialog_label = null; public TreeViewDemo () { Application.Init (); PopulateStore (); Window win = new Window ("TreeView demo"); win.DeleteEvent += new DeleteEventHandler (DeleteCB); win.SetDefaultSize (640,480); ScrolledWindow sw = new ScrolledWindow (); win.Add (sw); TreeView tv = new TreeView (store); tv.HeadersVisible = true; tv.AppendColumn ("Name", new CellRendererText (), "text", 0); tv.AppendColumn ("Type", new CellRendererText (), "text", 1); sw.Add (tv); dialog.Destroy (); dialog = null; win.ShowAll (); Application.Run (); } private static void ProcessType (TreeIter parent, System.Type t) { foreach (MemberInfo mi in t.GetMembers ()) { store.AppendValues (parent, mi.Name, mi.ToString ()); } } private static void ProcessAssembly (TreeIter parent, Assembly asm) { string asm_name = asm.GetName ().Name; foreach (System.Type t in asm.GetTypes ()) { UpdateDialog ("Loading from {0}:\n{1}", asm_name, t.ToString ()); TreeIter iter = store.AppendValues (parent, t.Name, t.ToString ()); ProcessType (iter, t); } } private static void PopulateStore () { if (store != null) return; store = new TreeStore (typeof (string), typeof (string)); foreach (Assembly asm in AppDomain.CurrentDomain.GetAssemblies ()) { UpdateDialog ("Loading {0}", asm.GetName ().Name); TreeIter iter = store.AppendValues (asm.GetName ().Name, "Assembly"); ProcessAssembly (iter, asm); } } public static void Main (string[] args) { new TreeViewDemo (); } private static void DeleteCB (System.Object o, DeleteEventArgs args) { Application.Quit (); } private static void UpdateDialog (string format, params object[] args) { string text = String.Format (format, args); if (dialog == null) { dialog = new Dialog (); dialog.Title = "Loading data from assemblies..."; dialog.AddButton (Stock.Cancel, 1); dialog.Response += new ResponseHandler (ResponseCB); dialog.SetDefaultSize (480, 100); VBox vbox = dialog.VBox; HBox hbox = new HBox (false, 4); vbox.PackStart (hbox, true, true, 0); Gtk.Image icon = new Gtk.Image (Stock.DialogInfo, IconSize.Dialog); hbox.PackStart (icon, false, false, 0); dialog_label = new Label (text); hbox.PackStart (dialog_label, false, false, 0); dialog.ShowAll (); } else { dialog_label.Text = text; while (Application.EventsPending ()) Application.RunIteration (); } } private static void ResponseCB (object obj, ResponseArgs args) { Application.Quit (); System.Environment.Exit (0); } } For a example how to handle selection events, or to determine the currently selected row, see . Constructor 2.12.0.0 Creates a new object. This is the default constructor for Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 System.Obsolete("Use NodeView with NodeStores") a TreeView constructor Creates a with as its . Constructor 2.12.0.0 an object of type Creates a new object. In this constructor the is set from . Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Void an object of type an object of type Activates the cell determined by and . Method 2.12.0.0 System.Int32 an object of type Appends to the list of columns. an object of type Method 2.12.0.0 Gtk.TreeViewColumn a a a Adds a new to the TreeView and returns it. a This method actually creates the column, rather than relying on a column object to be passed in. There's an alternate invokation form if you'd like to pass in an existing column object. Method 2.12.0.0 Gtk.TreeViewColumn a a a Adds a new to the TreeView and returns it. a This method actually creates the column, rather than relying on a column object to be passed in. There's an alternate invokation form if you'd like to pass in an existing column object. Method 2.12.0.0 Gtk.TreeViewColumn System.ParamArray column title cell renderer attributes Adds a with a specific column title and attributes. The appended This function is used to append a new subclass with specific attributes to the . The following code sample will append a new to an existing and use column 0 from the as the text to render. CellRendererText text = new CellRendererText (); tree_view.AppendColumn ("title", text, "text", 0); Property 2.12.0.0 Gdk.Window The window that this TreeView renders to. an object of type This property is primarily used to confirm that events on the TreeView are executed within the correct window. Method 2.12.0.0 System.Void Recursively collapses all visible and expanded nodes. Method 2.12.0.0 System.Boolean an object of type Collapses a row (hides its child rows, if they exist). an object of type Property 2.12.0.0 Gtk.TreeViewColumnDropFunc The function for determining where a column may be dropped when dragged. a This function is called on every column pair in turn at the beginning of a column drag to determine where a drop can take place. If the property is set to be , then reverts to the default behavior of allowing all columns to be dropped everywhere. Property 2.12.0.0 Gtk.TreeViewColumn[] A list of all the columns currently in this TreeView. a Method 2.12.0.0 System.Void Resizes all columns to their optimal width. Only works after the has been realized. Event 2.12.0.0 GLib.Signal("columns-changed") System.EventHandler Raised when the columns of this tree change. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Gdk.Pixmap an object of type This image is used for a drag icon. an object of type Creates a representation of the row at . Event 2.12.0.0 GLib.Signal("cursor-changed") System.EventHandler Raised when the cursor changes (rows). using Gtk; using System; class MainClass { public static int Main (string[] args) { Application.Init (); Window win = new Window("TreeView Cursor Changed Example"); win.DeleteEvent += OnWindowDelete; TreeStore store = new TreeStore(typeof(string), typeof(string)); for (int i = 0; i < 5; i++) store.AppendValues("demo " + i, "data " + i); TreeView tv = new TreeView(); tv.HeadersVisible = true; tv.Selection.Mode = SelectionMode.Single; tv.AppendColumn("Demo", new CellRendererText(), "text", 0); tv.AppendColumn("Data", new CellRendererText(), "text", 1); tv.CursorChanged += OnCursorChanged; tv.Model = store; win.Add(tv); win.ShowAll(); Application.Run (); return 0; } static void OnWindowDelete(object obj, DeleteEventArgs args) { Application.Quit(); } static void OnCursorChanged(object obj, EventArgs e) { TreeSelection selection = (obj as TreeView).Selection; TreeModel model; TreeIter iter; // The iter will point to the selected row if(selection.GetSelected(out model, out iter)) Console.WriteLine("Path of selected row = {0}", model.GetPath(iter)); } } Property 2.12.0.0 Gtk.TreeDestroyCountFunc This property should almost never be used. It is meant for private use by ATK for determining the number of visible children that are removed when the user collapses a row, or a row is deleted. a It is meant for private use by Atk for determining the number of visible children that are removed when the user collapses a row, or a row is deleted. Property 2.12.0.0 GLib.Property("enable-grid-lines") Gtk.TreeViewGridLines Indicates which grid lines are drawn. a set of flags. Method 2.12.0.0 System.Void a [], a table of targets this TreeView will support. a , a bitmap of possible actions for a drag to this target Turns this TreeView object into a destination for automatic drag-and-drop. Method 2.12.0.0 System.Void a , the mask of the allowed buttons for starting a drag a [], a table of supported targets for dragging to a , what should be done with the dragged data. Allows the TreeView to be used as a source for drag-and-drop actions. Property 2.12.0.0 GLib.Property("enable-search") System.Boolean View allows user to search through columns interactively. an object of type Property 2.12.0.0 GLib.Property("enable-tree-lines") System.Boolean Indicates if connecting lines are drawn for expanders. if , connecting lines are drawn. Property 2.12.0.0 Gdk.Color This property contains the background color that is used for all odd rows. a The odd row color is only used when the property is set to true. Method 2.12.0.0 System.Void Recursively expands all nodes. Event 2.12.0.0 GLib.Signal("expand_collapse_cursor_row") Gtk.ExpandCollapseCursorRowHandler Raised when the row where the cursor is is expanded or collapsed. Property 2.12.0.0 GLib.Property("expander-column") Gtk.TreeViewColumn Set the column for the expander column. an object of type Method 2.12.0.0 System.Boolean an object of type an object of type Opens the row so its children are visible. an object of type Method 2.12.0.0 System.Void to expand to. Expands the treeview so the Path specified is visible. Property 2.12.0.0 GLib.Property("fixed-height-mode") System.Boolean Whether or not to assume all rows are the same height. a This is an optimization; set to for fastest performance. Method 2.12.0.0 Gdk.Rectangle a a Fills the bounding rectangle in tree window coordinates for the cell at the row specified by and the column specified by . a If is , or points to a node not found in the tree, the y and height fields of the rectangle will be filled with 0. If is , the x and width fields will be filled with 0. The returned rectangle is equivalent to the passed to . These background areas tile to cover the entire tree window (except for the area used for header buttons). Contrast with the , returned by , which returns only the cell itself, excluding surrounding borders and the tree expander area. Method 2.12.0.0 Gdk.Rectangle a a Fills the bounding rectangle in tree window coordinates for the cell at the row specified by and the column specified by . a If is , or points to a path not currently displayed, the y and height fields of the rectangle will be filled with 0. If is , the x and width fields will be filled with 0. The sum of all cell rects does not cover the entire tree; there are extra pixels in between rows, for example. This function is only valid if is realized. Method 2.12.0.0 Gtk.TreeViewColumn an object of type Gets the at the given position in the . an object of type Method 2.12.0.0 System.Void returns a to the selected row, or if there is no current selection. returns the focused , or . Gets the currently selected row and focused column. Method 2.12.0.0 System.Boolean a , the X coordinate a , the Y coordinate a to put the resulting destination row into. a to indicate where to put the dragged object, relative to the returned by this method. Determines the destination row for a given XY position. This is used by drag-and-drop operations to determine the target rows for the action. a Method 2.12.0.0 System.Void a to put the highlighted path into. a to put the drop position into. Gets information about the row that is highlighted for feedback. Method 2.12.0.0 System.Boolean an object of type an object of type an object of type Finds the path at the point (x, y), relative to widget coordinates. an object of type It is primarily for things like popup menus. If is non-, then it will be filled with the at that point. If is non-, then it will be filled with the at that point. This function is only meaningful if TreeView is realized. Method 2.12.0.0 System.Boolean a , an x coordinate a , a y coordinate a to fill with the path at the (x,y) coordinate. a to fill with the column at the (x,y) coordinate. Finds the path at the point (x, y), relative to widget coordinates. a , true if a row exists at (x,y) This is an alternate invocation form which doesn't return coordinates for the position relative to a cell's background. Method 2.12.0.0 System.Boolean a , an x coordinate a , a y coordinate a to fill with the path at the (x,y) coordinate. a to fill with the column at the (x,y) coordinate. a to fill with the x coordinate relative to the cell background. a to fill with the y coordinate relative to the cell background. Finds the path at the point (x, y), relative to widget coordinates. a , true if a row exists at (x,y). x and y must come from an event on the tree_view only where the event's window is the same as the window this TreeView renders to. It is primarily for things like popup menus. If path is non-null, then it will be filled with the GtkTreePath at that point. This path should be freed with . If column is non-NULL, then it will be filled with the column at that point. cell_x and cell_y return the coordinates relative to the cell background (i.e. the background_area passed to ). This function is only meaningful if the TreeView object is realized. Method 2.12.0.0 System.Boolean an object of type Returns if the node pointed to by is expanded. an object of type Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean returns a to the first visible row. returns a to the last visible row. Gets the visible rows of the view. if the start and end paths were set. Note: there may be invisible paths between the start and end paths returned. Method 2.12.0.0 System.Obsolete("Replaced by VisibleRect property.") System.Void an object of type Obsolete (and non-functional). Replaced by . Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("hadjustment") Gtk.Adjustment Horizontal Adjustment for the widget. an object of type Property 2.12.0.0 GLib.Property("headers-clickable") System.Boolean Column headers respond to click events. a Property 2.12.0.0 GLib.Property("headers-visible") System.Boolean Show the column header buttons. an object of type Property 2.12.0.0 GLib.Property("hover-expand") System.Boolean To be added a To be added Property 2.12.0.0 GLib.Property("hover-selection") System.Boolean Whether a row should be highlighted when the cursor is over it. a To be added Method 2.12.0.0 System.Int32 an object of type an object of type This inserts the into the at . an object of type If is -1, then the is inserted at the end. Method 2.12.0.0 System.Int32 a , the position of the new column (-1 to append, positive numbers to insert) a , the column title a , the renderer object a , a function for presenting the data Convenience function that inserts a new column into the tree view with the given cell renderer and a to set cell renderer attributes (normally using data from the model). The number of columns in the tree view after the insertion. See also , . If the tree view has enabled, then must have its property set to be . Method 2.12.0.0 System.Int32 System.ParamArray a , the position of the new column (-1 to append, positive numbers to insert) a , the column title a , the renderer object an array of attribute bindings Convenience function that inserts a new column into the tree view with the given cell renderer and attribute bindings for the cell renderer. The number of columns in the tree view after the insertion. Property 2.12.0.0 System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("level-indentation") System.Int32 Extra indentation amount for each level of the hierarchy. defaults to 0. Method 2.12.0.0 System.Void a to execute on every expanded row. Calls the given function on all expanded rows. Property 2.12.0.0 GLib.Property("model") Gtk.TreeModel The model for the TreeView. an object of type Method 2.12.0.0 System.Void an object of type an object of type Moves to be after to . If is , then is placed in the first position. Event 2.12.0.0 GLib.Signal("move_cursor") Gtk.MoveCursorHandler Raised whenever the cursor is moved on this TreeView. Property 2.12.0.0 Gdk.Color This property contains the background color that is used for all even rows. a Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideColumnsChanged", Type=typeof(Gtk.TreeView)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCursorChanged", Type=typeof(Gtk.TreeView)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideExpandCollapseCursorRow", Type=typeof(Gtk.TreeView)) System.Boolean a a a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideMoveCursor", Type=typeof(Gtk.TreeView)) System.Boolean a a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowActivated", Type=typeof(Gtk.TreeView)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowCollapsed", Type=typeof(Gtk.TreeView)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowExpanded", Type=typeof(Gtk.TreeView)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideScrollAdjustmentsSet", Type=typeof(Gtk.TreeView)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectAll", Type=typeof(Gtk.TreeView)) System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectCursorParent", Type=typeof(Gtk.TreeView)) System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectCursorRow", Type=typeof(Gtk.TreeView)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideStartInteractiveSearch", Type=typeof(Gtk.TreeView)) System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTestCollapseRow", Type=typeof(Gtk.TreeView)) System.Boolean a a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTestExpandRow", Type=typeof(Gtk.TreeView)) System.Boolean a a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideToggleCursorRow", Type=typeof(Gtk.TreeView)) System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideUnselectAll", Type=typeof(Gtk.TreeView)) System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Int32 an object of type Removes from . an object of type Property 2.12.0.0 GLib.Property("reorderable") System.Boolean Allows to reorder rows in the view (this enables the internal drag and drop of TreeView rows). an object of type Event 2.12.0.0 GLib.Signal("row_activated") Gtk.RowActivatedHandler Raised when a row is activated; see . This event is usually raised when the user doubleclicks a row. using System; using Gtk; class Selection { static void Main () { Application.Init (); Window win = new Window ("Row activated sample"); win.DeleteEvent += OnWinDelete; TreeView tv = new TreeView (); tv.AppendColumn ("Items", new CellRendererText (), "text", 0); ListStore store = new ListStore (typeof (string)); store.AppendValues ("item 1"); store.AppendValues ("item 2"); tv.Model = store; tv.RowActivated += OnRowActivate; win.Add (tv); win.ShowAll (); Application.Run (); } static void OnRowActivate (object o, RowActivatedArgs args) { Console.WriteLine("row {0} was doubleclicked", args.Path); } static void OnWinDelete (object o, DeleteEventArgs args) { Application.Quit (); } } Event 2.12.0.0 GLib.Signal("row-collapsed") Gtk.RowCollapsedHandler Raised whenever a row is collapsed. Event 2.12.0.0 GLib.Signal("row-expanded") Gtk.RowExpandedHandler Raised whenever a row of the TreeView is expanded. Property 2.12.0.0 Gtk.TreeViewRowSeparatorFunc Callback function to indicate whether or not a given row of the tree view should be rendered as a separator. a Property 2.12.0.0 GLib.Property("rubber-banding") System.Boolean Indicates if Rubberbanding multi-selection is supported. if , rubberbanding is active. Property 2.12.0.0 GLib.Property("rules-hint") System.Boolean Whether to display alternating, shaded rows in the . an object of type Setting to sets a hint to the theme engine to draw rows in alternating colors. This property tells GTK# that the user interface for your application requires users to read across tree rows and associate cells with one another. By default, GTK# will then render the tree with alternating row colors. Do not use it just because you prefer the appearance of the ruled tree; that's a question for the theme. Some themes will draw tree rows in alternating colors even when rules are turned off, and users who prefer that appearance all the time can choose those themes. You should set this property only as a semantic hint to the theme engine that your tree makes alternating colors useful from a functional standpoint (since it has lots of columns, generally). Event 2.12.0.0 GLib.Signal("set_scroll_adjustments") Gtk.ScrollAdjustmentsSetHandler Raised whenever the scrollbar adjustment units are set. Method 2.12.0.0 System.Void an object of type an object of type an object of type an object of type an object of type Moves the alignments of the to the position specified by and . If is , then no horizontal scrolling occurs. Likewise, if is no vertical scrolling occurs. At a minimum, one of or need to be non-. determines where the row is placed, and determines where the column is placed. Both are expected to be between 0.0 and 1.0. 0.0 means left/top alignment, 1.0 means right/bottom alignment, 0.5 means center. If is , then the alignment arguments are ignored, and the tree does the minimum amount of work to scroll the cell onto the screen. This means that the cell will be scrolled to the edge closest to its current position. If the cell is currently visible on the screen, nothing is done. This function only works if the model is set, and is a valid row on the model. If the model changes before the is realized, the centered path will be modified to reflect this change. Method 2.12.0.0 System.Void an object of type an object of type Scrolls the such that the top-left corner of the visible area is , , where and are specified in tree window coordinates. The must be realized before this function is called. If it is not, you probably want to be using . Property 2.12.0.0 GLib.Property("search-column") System.Int32 Model column to search through when searching through code. an object of type Property 2.12.0.0 Gtk.Entry Identifies a custom search entry widget for the view. if , the default popup entry is used. This is useful for providing a fixed position search entry to the interface. Property 2.12.0.0 Gtk.TreeViewSearchEqualFunc The compare function for the interactive search capabilities. a Property 2.12.0.0 Gtk.TreeViewSearchPositionFunc Delegate to use when positioning the search dialog for the view. a search position delegate. Event 2.12.0.0 GLib.Signal("select_all") Gtk.SelectAllHandler Raised whenever all rows of the TreeView are selected. Event 2.12.0.0 GLib.Signal("select_cursor_parent") Gtk.SelectCursorParentHandler Raised when the parent row of the current row is selected. (FIXME: explain in more detail. Event 2.12.0.0 GLib.Signal("select_cursor_row") Gtk.SelectCursorRowHandler Raised when the row the cursor is on is selected. Property 2.12.0.0 Gtk.TreeSelection Gets the associated with the TreeView. an object of type Method 2.12.0.0 System.Obsolete("Replaced by ColumnDragFunction property.") System.Void an object of type ignored ignored Sets a user function for determining where a column may be dropped when dragged. This method is obsolete. New code should use the property. Method 2.12.0.0 System.Void an object of type an object of type an object of type Sets the current keyboard focus to be at , and selects it. This is useful when you want to focus the attention of the user on a particular row. If is not , then focus is given to the column specified by it. Additionally, if is specified, and is , then editing should be started in the specified cell. This function is often followed by in order to give keyboard focus to the widget. Please note that editing can only happen when the widget is realized. Method 2.12.0.0 System.Void a a a a Sets the current keyboard focus to be on the given . This is useful for getting the user's attention to a particular row. If focus_column is not null, then focus is given to the column specified by it. If focus_column and focus_cell are not null, and focus_column contains 2 or more editable or activatable cells, then focus is given to the cell specified by focus_cell. Additionally, if focus_column is specified, and start_editing is null, then editing should be started in the specified cell. This function is often followed by(tree_view_obj) in order to give keyboard focus to the widget. Please note that editing can only happen when the widget is realized. Method 2.12.0.0 System.Obsolete("Replaced by DestroyCountFunc property.") System.Void an object of type ignored ignored This function should almost never be used. It is meant for private use by ATK for determining the number of visible children that are removed when the user collapses a row, or a row is deleted. It is meant for private use by Atk for determining the number of visible children that are removed when the user collapses a row, or a row is deleted. Method 2.12.0.0 System.Void an object of type , the path of the row to highlight, or null. an object of type , specifying whether to drop before, after, or into the row. Sets the row that is highlighted for drag-and-drop feedback. Method 2.12.0.0 System.Obsolete("Replaced by SearchEqualFunc property.") System.Void The to invoke. ignored ignored Sets the compare function for the interactive search capabilities. This method is obsolete. New code should use the property. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("show-expanders") System.Boolean Indicates if expanders are shown. defaults to . Event 2.12.0.0 GLib.Signal("start_interactive_search") Gtk.StartInteractiveSearchHandler Raised when the user begins a search of the tree. Event 2.12.0.0 GLib.Signal("test-collapse-row") Gtk.TestCollapseRowHandler Raised when the system wants to know whether a particular row can be collapsed. Event 2.12.0.0 GLib.Signal("test-expand-row") Gtk.TestExpandRowHandler Raised when the widget wants to find out whether a row can be expanded or not. Event 2.12.0.0 GLib.Signal("toggle_cursor_row") Gtk.ToggleCursorRowHandler Raised when the cursor toggles a row. (FIXME: explain in more detail.) Property 2.12.0.0 GLib.Property("tooltip-column") System.Int32 To be added. To be added. To be added. Method 2.12.0.0 System.Obsolete System.Void a , the X coordinate of the tree location a , the Y coordinate of the tree location a , the X coordinate for the widget a , the Y coordinate for the widget Converts tree coordinates to widget coordinates. Tree coordinates start at 0,0 for row 0 of the tree, and cover the entire scrollable area of the tree. Event 2.12.0.0 GLib.Signal("unselect_all") Gtk.UnselectAllHandler Raised whenever all rows of the TreeView are specifically deselected. Method 2.12.0.0 System.Void Disables the TreeView as a drag-and-drop destination. To be added. Method 2.12.0.0 System.Void Disables the TreeView as a drag source for automatic drag and drop actions. Property 2.12.0.0 GLib.Property("vadjustment") Gtk.Adjustment Vertical Adjustment for the widget. an object of type Property 2.12.0.0 Gdk.Rectangle Returns the currently-visible region of the tree view, in tree view coordinates. a Convert to widget coordinates with . Tree coordinates start at 0,0 for row 0 of the tree, and cover the entire scrollable area of the tree. Method 2.12.0.0 System.Obsolete System.Void an object of type an object of type an object of type an object of type Converts widget coordinates to coordinates for the tree window (the full scrollable area of the tree). gtk-sharp-2.12.40/doc/en/Gtk/DragEndArgs.xml0000664000175000017500000000440312767740535015263 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.DragContext The context of this drag. a gtk-sharp-2.12.40/doc/en/Gtk/UrlRequestedHandler.xml0000664000175000017500000000311712767740535017065 00000000000000 gtkhtml-sharp 3.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the UrlRequestedHandler instance to the event. The methods referenced by the UrlRequestedHandler instance are invoked whenever the event is raised, until the UrlRequestedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gtk/TranslateFunc.xml0000664000175000017500000000216112767740535015712 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.String To be added. Delegate used by to translate path elements before they are displayed. To be added. TODO: Add an example here. gtk-sharp-2.12.40/doc/en/Gtk/TextMark.xml0000664000175000017500000002441412767740535014705 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object A is like a bookmark in a text buffer; it preserves a position in the text. A GtkTextMark is like a bookmark in a text buffer; it preserves a position in the text. You can convert the mark to an iterator using . Unlike iterators, marks remain valid across buffer mutations, because their behavior is defined when text is inserted or deleted. When text containing a mark is deleted, the mark remains in the position originally occupied by the deleted text. When text is inserted at a mark, a mark with left gravity will be moved to the beginning of the newly-inserted text, and a mark with right gravity will be moved to the end. Marks optionally have names; these can be convenient to avoid passing the object around. Marks are typically created using the function. Constructor 2.12.0.0 Default constructor Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 To be added. To be added. Public constructor. To be added. Property 2.12.0.0 Gtk.TextBuffer Gets the buffer where this mark is located The buffer where this mark is applied is returned if the mark has been deleted. Property 2.12.0.0 System.Boolean Whether or not the mark has been removed Returns if the mark has been removed from its buffer. Returns if the mark has been removed from its buffer with . Marks can't be used once they are deleted. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("left-gravity") System.Boolean Whether or not the mark has left gravity if the mark has left gravity, otherwise. "left" and "right" here refer to logical direction (left is the toward the start of the buffer); in some languages such as Hebrew the logically-leftmost text is not actually on the left when displayed. Property 2.12.0.0 GLib.Property("name") System.String The name of the mark Returns the name of the mark and if it's an anonymous mark Property 2.12.0.0 System.Boolean The visibility of the mark if the mark is visible (i.e. a cursor is displayed for it) The insertion point is normally visible, i.e. you can see it as a vertical bar. Also, the text widget uses a visible mark to indicate where a drop will occur when dragging-and-dropping text. Most other marks are not visible. Marks are not visible by default. gtk-sharp-2.12.40/doc/en/Gtk/ClipboardClearFunc.xml0000664000175000017500000000204312767740535016622 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. Delegate for a function to run when the clipboard is cleared. gtk-sharp-2.12.40/doc/en/Gtk/CellRendererToggle.xml0000664000175000017500000003735712767740535016670 00000000000000 gtk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.CellRenderer Renders a or a This Class is a implementation that can render a checkbox in your columns. It is important to note that the will not change the corresponding bool field in your itself - you'll need to provide a handler, as shown in the following code snippet: private TreeStore store; void SetupTreeView () { store = new TreeStore (typeof (string), typeof(bool)); // populate store.. TreeView tv = new TreeView (store); tv.HeadersVisible = true; tv.AppendColumn ("Name", new CellRendererText (), "text", 0); CellRendererToggle crt = new CellRendererToggle(); crt.Activatable = true; crt.Toggled += crt_toggled; tv.AppendColumn ("CheckMe", crt, "active", 1); // add the TreeView to some window... } void crt_toggled(object o, ToggledArgs args) { TreeIter iter; if (store.GetIter (out iter, new TreePath(args.Path))) { bool old = (bool) store.GetValue(iter,1); store.SetValue(iter,1,!old); } } Constructor 2.12.0.0 Creates a new . The default constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.Property("activatable") System.Boolean The can be activated. an object of type Property 2.12.0.0 GLib.Property("active") System.Boolean The toggle state of the . an object of type Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("inconsistent") System.Boolean The inconsistent state of the button. a Property 2.12.0.0 GLib.Property("indicator-size") System.Int32 Size of check or radio indicator. defaults to 12. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideToggled", Type=typeof(Gtk.CellRendererToggle)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 2.12.0.0 GLib.Property("radio") System.Boolean Draw the as a . an object of type Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Gtk.CellEditable To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("toggled") Gtk.ToggledHandler Emitted when the cell is clicked. gtk-sharp-2.12.40/doc/en/ns-Gtk.xml0000664000175000017500000000073212767740535013561 00000000000000 The Gtk Widget set. Gtk is a library for creating graphical user interfaces. It works on many UNIX-like platforms, Windows, and on framebuffer devices. Gtk is released under the GNU Library General Public License (GNU LGPL), which allows for flexible licensing of client applications. gtk-sharp-2.12.40/doc/en/ns-GConf.PropertyEditors.xml0000664000175000017500000000202612767740535017203 00000000000000 PropertyEditors which act as intermediaries between and widgets. They are analoguous to the Controller of the MVC design pattern. PropertyEditors do two things:
  • They listen to GConf notifications, and update widgets to reflect any changes in a GConf setting.
  • They connect to the various "changed" signals on a widget, and update GConf to reflect the widget's current state.
Also provided are a utility class called , which exposes a simple API to automatically construct PropertyEditors for a UI.
gtk-sharp-2.12.40/doc/en/Pango/0000775000175000017500000000000012767740535013016 500000000000000gtk-sharp-2.12.40/doc/en/Pango/EngineLang.xml0000664000175000017500000000366512767740535015501 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque Rendering-system independent script engines The is implemented by engines that customize the rendering-system independent part of the Pango pipeline for a particular script or language. For instance, a custom could be provided for Thai to implement the dictionary-based word boundary lookups needed for that language. Constructor 2.12.0.0 a Internal constructor This is an internal constructor, and should not be used by user code. gtk-sharp-2.12.40/doc/en/Pango/Global.xml0000664000175000017500000010050112767740535014655 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Global API elements for . Most of these are utility functions. Constructor 2.12.0.0 Default constructor Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 Pango.Direction a To be added a To be added Method 2.12.0.0 System.Void UTF-8 text return location for index of delimiter return location for start of next paragraph Locates a paragraph boundary in . A boundary is caused by delimiter characters, such as a newline, carriage return, carriage return-newline pair, or Unicode paragraph separator character. The index of the run of delimiters is returned in . The index of the start of the paragraph (index after all delimiters) is stored in . If no delimiters are found, both and are filled with the length of text (an index one off the end). Method 2.12.0.0 System.Void text to process embedding level, or -1 if unknown language tag array with one PangoLogAttr per character in text, plus one extra, to be filled in a Computes a for each character in . The array must have one for each position in text; if text contains N characters, it has N+1 positions, including the last position at the end of the text. text should be an entire paragraph; logical attributes cannot be computed without context (for example you need to see spaces on either side of a word to know the word is a word). Method 2.12.0.0 Pango.Gravity To be added. To be added. To be added. To be added. Method 2.12.0.0 Pango.Gravity To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Double To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean A character to measure. Measures a char to determine if it is zero width. if is zero width. Zero width characters are not normally rendered on-screen. Method 2.12.0.0 GLib.List a a a a a a a To be added a To be added Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean a a a a a Parses a markup text string into text and a list of attributes. a Method 2.12.0.0 System.Boolean a to parse a to set up with the stretch value parsed out of the string a for whether to warn on bad input. Parses a string into a object. a for whether the string was successfully parsed. The allowed values are "ultra_condensed", "extra_condensed", "condensed", "semi_condensed", "normal", "semi_expanded", "expanded", "extra_expanded" and "ultra_expanded". Case variations are ignored and the '_' characters may be omitted. Method 2.12.0.0 System.Boolean a to parse a to set up with the style parsed out of the string. a for whether to warn on bad input. Parses a string into a object. a for whether the string was successfully parsed. The allowed values are "normal", "italic" and "oblique", case variations being ignored. Method 2.12.0.0 System.Boolean a to parse a to set up with the variant value parsed out of the string a for whether to warn on bad input. Parses a string into a object. a for whether the string was successfully parsed. The allowed values are "normal" and "smallcaps" or "small_caps", case variations being ignored. Method 2.12.0.0 System.Boolean a to parse a object to set up with the weight parsed out of the string a for whether to warn on bad input. Parses a string into a object. a for whether the string was successfully parsed. The allowed values are "heavy", "ultrabold", "bold", "normal", "light", "ultralight" and integers. Case variations are ignored. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Obsolete System.Boolean a , a string to scan. a , an integer to put the result into. Scans a string looking for an integer. An integer consists of up to 31 decimal digits. a , false if a parse error occurred. To be added. Method 2.12.0.0 System.Boolean a a Scans a string looking for an integer. An integer consists of up to 31 decimal digits. a To be added Method 2.12.0.0 Pango.Script a Determines the script for a character the script for the character according to Unicode Technical Report 24 No check is made that is valid. If you pass in an invalid character, you will get back an invalid result. Method 2.12.0.0 Pango.Language a To be added a To be added Method 2.12.0.0 System.Boolean a Skips 0 or more characters of whitespace a , which is true if there are non-whitespace characters before the end of the string. Method 2.12.0.0 System.String a Splits a list of filename strings and normalizes their paths. a In the underlying C implementation, the string returned is intended as an argument to g_strfreev. Method 2.12.0.0 System.String a Trims leading and trailing whitespace from a string. a Method 2.12.0.0 Pango.Direction a Determines the direction of a character the direction of the character according to the Unicode bidi algorithm To be added Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Pango/GlyphGeometry.xml0000664000175000017500000001011112767740535016251 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType Contains width and positioning information for a single glyph. Method 2.12.0.0 Pango.GlyphGeometry an object of type Internal method an object of type This is an internal method, and should not be used by user code. Field 2.12.0.0 System.Int32 the logical width to use for the the character. Field 2.12.0.0 System.Int32 horizontal offset from nominal character position. Field 2.12.0.0 System.Int32 vertical offset from nominal character position. Field 2.12.0.0 Pango.GlyphGeometry Returns a new gtk-sharp-2.12.40/doc/en/Pango/AttrWeight.xml0000664000175000017500000000525212767740535015546 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Pango.Attribute An attribute representing Constructor 2.12.0.0 the weight Creates a new font weight attribute Property 2.12.0.0 Pango.Weight The weight a gtk-sharp-2.12.40/doc/en/Pango/GlyphInfo.xml0000664000175000017500000001014112767740535015354 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType Represents a single glyph together with positioning information and visual attributes. Field 2.12.0.0 Pango.GlyphVisAttr the visual attributes of the glyph. Field 2.12.0.0 Pango.GlyphGeometry the positional information about the glyph. Field 2.12.0.0 System.UInt32 the glyph itself. Method 2.12.0.0 Pango.GlyphInfo an object of type Internal method an object of type This is an internal method, and should not be used by user code. Field 2.12.0.0 Pango.GlyphInfo Returns an empty gtk-sharp-2.12.40/doc/en/Pango/AttrSize.xml0000664000175000017500000001071412767740535015230 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Pango.Attribute An attribute that represents a font size. Constructor 2.12.0.0 the font size, in units of Creates a new font-size attribute in fractional points Constructor 2.12.0.0 the font size, in Pango or device units if , is in device units Creates a new font-size attribute in Pango or device units Property 2.12.0.0 System.Boolean Whether or not is in device units a Property 2.12.0.0 System.Int32 The font size a If is , this is the font size in device units. If it is , this is the font size in units of 1/ of a point. gtk-sharp-2.12.40/doc/en/Pango/AttrIterator.xml0000664000175000017500000002407412767740535016113 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque Used to represent an iterator through a . A new iterator is created with . Once the iterator is created, it can be advanced through the style changes in the text using . At each style change, the range of the current style segment and the attributes currently in effect can be queried. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 Pango.Attribute[] Gets a list all attributes a the current position of the iterator. a a list of all attributes for the current range. Method 2.12.0.0 Pango.AttrIterator Make a copy of the iterator. a Method 2.12.0.0 System.Obsolete("Pango.AttrIterator is now freed automatically") System.Void Destroy a and free all associated memory. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 Pango.Attribute the type of attribute to find. Find the current attribute of a particular type at the iterator location. the current attribute of the given type, or if no attribute of that type applies to the current location. When multiple attributes of the same type overlap, the attribute whose range starts closest to the current location is used. Method 2.12.0.0 System.Void a to fill in with the current values. The family name in this structure will be set using using values from an attribute in the associated with the iterator, so if you plan to keep it around, you must call: . if non-, location to store language tag for item, or if non is found. if non-, location in which to store a list of non-font attributes at the the current position; only the highest priority value of each attribute will be added to this list. Get the font and other attributes at the current iterator position. Method 2.12.0.0 System.Boolean Advance the iterator until the next change of style. if the iterator is at the end of the list, otherwise Method 2.12.0.0 System.Void location to store the start of the range location to store the end of the range Get the range of the current segment. gtk-sharp-2.12.40/doc/en/Pango/AttrList.xml0000664000175000017500000003334712767740535015240 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque Represents a list of attributes that apply to a section of text. The attributes are, in general, allowed to overlap in an arbitrary fashion, however, if the attributes are manipulated only through , the overlap between properties will meet stricter criteria. Since the is stored as a linear list, it is not suitable for storing attributes for large amounts of text. In general, you should not use a single for more than one paragraph of text. Constructor 2.12.0.0 Default constructor Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Void a Insert the given attribute into the list. It will replace any attributes of the same type on that segment and be merged with any adjoining attributes that are identical. This function is slower than for creating a attribute list in order (potentially much slower for large lists). However, is not suitable for continually changing a set of attributes since it never removes or combines existing attributes. Method 2.12.0.0 Pango.AttrList Copy list and return an identical, new list. a new Method 2.12.0.0 Pango.AttrList a Given a callback function, removes any elements of list for which returns and inserts them into a new list. a Method 2.12.0.0 System.Void To be added. To be added. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 System.Void the attribute to insert. Insert the given attribute to the list It will be inserted after all other attributes with a matching start_index. Method 2.12.0.0 System.Void the attribute to insert. Insert the given attribute into the list. It will be inserted before all other attributes with a matching start_index. Property 2.12.0.0 Pango.AttrIterator Create a iterator initialized to the beginning of the list. a new Method 2.12.0.0 System.Obsolete("Pango.AttrList is now refcounted automatically") Pango.AttrList Increases the reference count of the list. The list. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void another the position at which to insert the length of the spliced segment. This function splices attribute list into list. This operation is equivalent to stretching every attribute applies at position in list by an amount , and then calling with a copy of each attributes in other in sequence (offset in position by ). This operation proves useful for, for instance, inserting a pre-edit string in the middle of an edit buffer. Method 2.12.0.0 System.Obsolete("Pango.AttrList is now refcounted automatically") System.Void Decrease the reference count of the given attribute list by one. If the result is zero, free the attribute list and the attributes it contains. Method 2.12.0.0 System.Void To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Pango/GlyphVisAttr.xml0000664000175000017500000000614612767740535016067 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType Used to communicate information between the shaping phase and the rendering phase. Its contents are still evolving. Property 2.12.0.0 System.Boolean To be added a To be added Method 2.12.0.0 Pango.GlyphVisAttr an object of type Internal method an object of type This is an internal method, and should not be used by user code. Field 2.12.0.0 Pango.GlyphVisAttr Returns an empty gtk-sharp-2.12.40/doc/en/Pango/AttrLanguage.xml0000664000175000017500000000445712767740535016050 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Pango.Attribute An attribute that represents a language Constructor 2.12.0.0 a Creates a new language tag attribute Property 2.12.0.0 Pango.Language The language represented by this attribute a gtk-sharp-2.12.40/doc/en/Pango/Color.xml0000664000175000017500000002233712767740535014545 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType This structure is used to represent a color in an uncalibrated RGB colorspace. Field 2.12.0.0 System.UInt16 The blue component of the color. This is a value between 0 and 65535, with 65535 indicating full intensity. Method 2.12.0.0 System.Obsolete("This is a no-op") Pango.Color Creates a copy of the . an object of type Field 2.12.0.0 System.UInt16 The green component of the color. This is a value between 0 and 65535, with 65535 indicating full intensity. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 Pango.Color an object of type Internal method an object of type This is an internal method, and should not be used by user code. Method 2.12.0.0 Pango.Color To be added. To be added. To be added. To be added. Method 2.12.0.0 GLib.Value To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean a string specifying the new color Fill in the fields of a color from a string specification. if parsing of the specifier succeeded, otherwise false. The string can either one of a large set of standard names. (Taken from the X11 rgb.txt file), or it can be a hex value in the form '#rgb' '#rrggbb' '#rrrgggbbb' or '#rrrrggggbbbb' where 'r', 'g' and 'b' are hex digits of the red, green, and blue components of the color, respectively. (White in the four forms is '#fff' '#ffffff' '#fffffffff' and '#ffffffffffff') Field 2.12.0.0 System.UInt16 The red component of the color. This is a value between 0 and 65535, with 65535 indicating full intensity. Method 2.12.0.0 System.String To be added. To be added. To be added. Field 2.12.0.0 Pango.Color Returns an empty object. To be added. gtk-sharp-2.12.40/doc/en/Pango/LayoutIter.xml0000664000175000017500000005607612767740535015577 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque A can be used to iterate over the visual extents of a . Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Boolean Determines whether iter is on the last line of the layout. an object of type Property 2.12.0.0 System.Int32 Gets the y position of the current line's baseline, in layout coordinates (origin at top left of the entire layout). baseline of current line Property 2.12.0.0 Pango.Rectangle To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Obsolete("Pango.LayoutIter is now freed automatically") System.Void Frees an iterator that is no longer in use. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method System.Void Gets the extents of the current character, in layout coordinates (origin is the top left of the entire layout). rectangle to fill with logical extents Only logical extents can sensibly be obtained for characters; ink extents make sense only down to the level of clusters. Method System.Void Gets the extents of the current cluster, in layout coordinates (origin is the top left of the entire layout). rectangle to fill with ink extents rectangle to fill with logical extents Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method System.Void Obtains the extents of the being iterated over. rectangle to fill with ink extents rectangle to fill with logical extents or can be if you are not interested in them. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method System.Void Obtains the extents of the current line. rectangle to fill with ink extents rectangle to fill with logical extents or can be if you are not interested in them. Extents are in layout coordinates (origin is the top-left corner of the entire ). Thus the extents returned by this function will be the same width/height but not at the same x/y as the extents returned from . Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void a a Divides the vertical space in the being iterated over between the lines in the layout, and returns the space belonging to the current line. A line's range includes the line's logical extents, plus half of the spacing above and below the line if has been set. The y positions are in layout coordinates (origin at top left of the entire layout). Method System.Void Gets the extents of the current run in layout coordinates (origin is the top left of the entire layout). rectangle to fill with ink extents rectangle to fill with logical extents The coordinate system for each rectangle has its origin at the base line and horizontal origin of the character with increasing coordinates extending to the right and down. The units of the rectangles are in 1 / of a device unit. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added a To be added Property 2.12.0.0 System.Int32 Gets the current byte index. current byte index Note that iterating forward by char moves in visual order, not logical order, so indexes may not be sequential. Also, the index may be equal to the length of the text in the layout, if on the run (see ). Property 2.12.0.0 Pango.LayoutLine Gets the current line. the current Property 2.12.0.0 Pango.LayoutLine To be added. To be added. To be added. Method 2.12.0.0 System.Boolean Moves iter forward to the next character in visual order. an object of type If iter was already at the end of the layout, returns . Method 2.12.0.0 System.Boolean Moves iter forward to the next cluster in visual order. an object of type If iter was already at the end of the layout, returns . Method 2.12.0.0 System.Boolean Moves iter forward to the start of the next line. an object of type If iter is already on the last line, returns . Method 2.12.0.0 System.Boolean Moves iter forward to the next run in visual order. an object of type If iter was already at the end of the layout, returns . Property 2.12.0.0 Pango.LayoutRun Gets the current run. an object of type 'Pango.LayoutRun' When iterating by run, at the end of each line, there is a position with a run, so this function can return . The run at the end of each line ensures that all lines have at least one run, even lines consisting of only a newline. Property 2.12.0.0 Pango.LayoutRun To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Pango/AttrUnderlineColor.xml0000664000175000017500000000732112767740535017242 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Pango.Attribute An attribute representing the color of an underline Constructor 2.12.0.0 a Creates a new underline color attribute. Constructor 2.12.0.0 the red value the green value the blue value Creates a new underline color attribute. Property 2.12.0.0 Pango.Color The color represented by this attribute a gtk-sharp-2.12.40/doc/en/Pango/FontsetForeachFunc.xml0000664000175000017500000000336712767740535017217 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Boolean To be added. To be added. Used by when enumerating the fonts in a fontset. To be added. gtk-sharp-2.12.40/doc/en/Pango/Layout.xml0000664000175000017500000012615412767740535014746 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object High-level driver for formatting entire paragraphs of text at once. While complete access to the layout capabilities of Pango is provided using the detailed interfaces for itemization and shaping, using that functionality directly involves writing a fairly large amount of code. The objects and functions in provide a high-level driver for formatting entire paragraphs of text at once. The represents and entire paragraph of text. It is initialized with a , UTF-8 string and set of attributes for that string. Once that is done, the set of formatted lines can be extracted from the object, the layout can be rendered, and conversion between logical character positions within the layout's text, and the physical position of the resulting glyphs can be made. There are also a number of parameters to adjust the formatting of a . It is possible, as well, to ignore the 2-D setup, and simply treat the results of a as a list of lines. using System; using Gtk; using Pango; class LayoutSample : DrawingArea { Pango.Layout layout; static void Main () { Application.Init (); new LayoutSample (); Application.Run (); } LayoutSample () { Window win = new Window ("Layout sample"); win.SetDefaultSize (400, 300); win.DeleteEvent += OnWinDelete; this.Realized += OnRealized; this.ExposeEvent += OnExposed; win.Add (this); win.ShowAll (); } void OnExposed (object o, ExposeEventArgs args) { this.GdkWindow.DrawLayout (this.Style.TextGC (StateType.Normal), 100, 150, layout); } void OnRealized (object o, EventArgs args) { layout = new Pango.Layout (this.PangoContext); layout.Wrap = Pango.WrapMode.Word; layout.FontDescription = FontDescription.FromString ("Tahoma 16"); layout.SetMarkup ("Hello Pango.Layout"); } void OnWinDelete (object o, DeleteEventArgs args) { Application.Quit (); } } Constructor 2.12.0.0 System.Obsolete Pointer to the C object. Internal constructor This is an internal constructor and should not be used by user code. Constructor 2.12.0.0 a . Create a new PangoLayout object with attributes initialized to default values for a particular . Constructor 2.12.0.0 a . Create a new PangoLayout object with attributes initialized to default values for a particular . Property 2.12.0.0 Pango.Alignment Set or return the alignment for lines within the layout that do not take up the full width. an object of type an object of type Property 2.12.0.0 Pango.AttrList Sets/gets the text attributes for a Layout object. a Property 2.12.0.0 System.Boolean To be added a To be added Property 2.12.0.0 Pango.Context the used for this layout. an object of type Method 2.12.0.0 System.Void Forces recomputation of any state in the that might depend on the layout's context. This function should be called if you make changes to the context subsequent to creating the layout. Method 2.12.0.0 Pango.Layout Copies an existing layout into a new one. an object of type Property 2.12.0.0 Pango.EllipsizeMode To be added a To be added Property 2.12.0.0 Pango.FontDescription The default font description for the layout. a If no font description is set on the layout, the font description from the layout's context is used. Method 2.12.0.0 System.Void the byte index of the cursor location to store the strong cursor position (may be ) location to store the weak cursor position (may be ) Given an index within a layout, determines the positions that of the strong and weak cursors if the insertion point is at that index. The position of each cursor is stored as a zero-width rectangle. The strong cursor location is the location where characters of the directionality equal to the base direction of the layout are inserted. The weak cursor location is the location where characters of the directionality opposite to the base direction of the layout are inserted. Method 2.12.0.0 System.Void rectangle used to store the extents of the layout as drawn or to indicate that the result is not needed. rectangle used to store the logical extents of the layout or to indicate that the result is not needed. Computes the logical and ink extents Logical extents are usually what you want for positioning things. The extents are given in layout coordinates; layout coordinates begin at the top left corner of the layout. Method 2.12.0.0 Pango.LayoutLine the index of a line. Retrieves a particular line. the requested , or null if the index is out of range. This layout line can be referenced and retained, but will become invalid if changes are made to the Layout. Method 2.12.0.0 Pango.LayoutLine To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void Rectangle used to store the extents of the layout as drawn. Rectangle used to store the logical extents of the layout. Compute the logical and ink extents of layout. Logical extents are usually what you want for positioning things. The extents are given in layout coordinates; layout coordinates begin at the top left corner of the layout. Method 2.12.0.0 System.Void an object of type an object of type Determine the logical width and height of a in device units. Method 2.12.0.0 System.Void location to store the logical width, or location to store the logical height, or Determines the logical width and height of a in Pango units (device units divided by ). This is simply a convenience function around . Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.Int32 Set or return the amount by which the first line should be shorter than the rest of the lines. an object of type The value can be negative, in which case the subsequent lines will be shorter than the first line. (However, in either case, the entire width of the layout will be given by the value. Method 2.12.0.0 System.Void a byte index of a grapheme within the layout. Somewhat confusingly, for the trailing edge of the grapheme, for the leading. Returns the line index of the grapheme, starting with index 0. Returns the x offset of the grapheme in Pango units. Converts from a byte index to a line and X position. The is measured from the left edge of the line. Method 2.12.0.0 Pango.Rectangle a byte offset within the text buffer. Obtains the graphical position of an offset in the . a representing the position of the grapheme associated with . The X coordinate of the resulting represents the leading edge of the grapheme. If the direction of the grapheme is right to left, the Width value will be negative. Property 2.12.0.0 System.Boolean To be added. To be added. To be added. Property 2.12.0.0 System.Boolean To be added. To be added. To be added. Property 2.12.0.0 Pango.LayoutIter An iterator to iterate over the visual extents of the layout. a new . Property 2.12.0.0 System.Boolean Sets whether or not each complete line should be stretched to fill the entire width of the layout. an object of type This stretching is typically done by adding whitespace, but for some scripts (such as Arabic), the justification is done by extending the characters. Property 2.12.0.0 System.Int32 Retrieves the count of lines for the layout. An integer, the line count Property 2.12.0.0 Pango.LayoutLine[] The count of lines for the layout. The count of lines for the layout. To be added. Property 2.12.0.0 Pango.LayoutLine[] To be added. To be added. To be added. Property 2.12.0.0 Pango.LogAttr[] Retrieves an array of logical attributes for each character in the layout. a Method 2.12.0.0 System.Void whether the moving cursor is the strong cursor or the weak cursor. The strong cursor is the cursor corresponding to text insertion in the base direction for the layout. the byte index of the grapheme for the old index if 0, the cursor was at the trailing edge of the grapheme indicated by old_index, if > 0, the cursor was at the leading edge. direction to move cursor. A negative value indicates motion to the left. location to store the new cursor byte index. A value of -1 indicates that the cursor has been moved off the beginning of the layout. A value of G_MAXINT indicates that the cursor has been moved off the end of the layout. number of characters to move forward from the location returned for to get the position where the cursor should be displayed. This allows distinguishing the position at the beginning of one line from the position at the end of the preceding line. is always on the line where the cursor should be displayed. Computes a new cursor position from an old position and a count of positions to move visually. If is positive, then the new strong cursor position will be one position to the right of the old cursor position. If is negative then the new strong cursor position will be one position to the left of the old cursor position. In the presence of bi-directional text, the correspondence between logical and visual order will depend on the direction of the current run, and there may be jumps when the cursor is moved off of the end of a run. Motion here is in cursor positions, not in characters, so a single call may move the cursor over multiple characters when multiple characters combine to form a single grapheme. Method 2.12.0.0 System.Void marked-up text Sets the layout text and attribute list from marked-up text (see markup format). Replaces the current text and attribute list. Method 2.12.0.0 System.Void marked-up text the character following this char is underlined. returns a parsed accelerator char from the marked-up text. Sets the text of a Layout includ Sets the layout text and attribute list from marked-up text with an accelerator marker (see markup format). Replaces the current text and attribute list. Method 2.12.0.0 System.Void an object of type Set the text of the layout. Property 2.12.0.0 System.Boolean Whether or not to treat newlines and similar characters as paragraph separators. an object of type If set to true, do not treat newlines and similar characters as paragraph separators; instead, keep all text in a single paragraph, and display a glyph for paragraph separator characters. Used when you want to allow editing of newlines on a single text line. Property 2.12.0.0 System.Int32 the amount of spacing between the lines of the layout. the amount of spacing (in ) Property 2.12.0.0 Pango.TabArray The tabs to use for the layout. the current used by this layout. If no has been set, then the default tabs are in use and null is returned. By default, tabs are every 8 spaces. Setting new tabs overrides the default tabs. If Tabs is set to null, the default tabs are reinstated. Property 2.12.0.0 System.String Sets the text of the layout. a in UTF-8 encoding. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Property 2.12.0.0 System.Int32 Sets the width to which the lines of the Layout should be wrapped. an object of type Property 2.12.0.0 Pango.WrapMode Gets or sets the wrap mode Active wrap mode. The wrap mode only has an effect if a width is set on the layout using . To turn off wrapping, set the width to -1. Method 2.12.0.0 System.Boolean a , the X offset (in thousandths of a device unit) from the left edge of the layout. a , the Y offset (in thousandths of a device unit) from the top edge of the layout. a for storing the calculated byte index a to store where in the grapheme the user clicked. It will either be zero or the number of characters in the grapheme. 0 represents the trailing edge of the grapheme. Convert from X and Y position within a layout to the byte index to the character at that logical position. a , true if the coordinates are inside the Layout. To be added. gtk-sharp-2.12.40/doc/en/Pango/TabArray.xml0000664000175000017500000003026212767740535015170 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque an object containing an array of tab stops. Each tab stop has an alignment and a position. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 Initial number of tab stops to allocate, can be 0 if the tab positions are in pixel units an object containing an array of tab stops Creates a new with the number of tab stops specified by . If is , the tab stop positions are specified in pixel units otherwise in pango units. All tab stops are initially at position 0. Method 2.12.0.0 Pango.TabArray Copies the existing to a new one. an object of type Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Obsolete("Pango.TabArray is now freed automatically") System.Void Frees all the resources for this object. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void the tab stop index a a , the position in Pango units. Gets the alignment and position of the tab stop specified by . To be added. Method 2.12.0.0 System.Void an array of indicating the alignment of each tab stop. an array of indicating the location of each tab stop in pango units. Gets the an array of alignments and positions. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.Boolean returns if the tab positions are specified in pixels and if they are in pango units. an object of type Method 2.12.0.0 System.Void the new size of the array Sets the size of the tab array to the value specified by . You must subsequently initialize any tabs that were added to the array. Method 2.12.0.0 System.Void the index of a tab stop the tab alignment the tab location in pango units Sets the specified and of the tab stop specified by . The value of must always be in the current implementation. Property 2.12.0.0 System.Int32 returns the number of tab stops in the tab array. the number of tab stops in the array. gtk-sharp-2.12.40/doc/en/Pango/LogAttr.xml0000664000175000017500000003070512767740535015041 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType Stores information about the attributes of a single character. Property 2.12.0.0 System.Boolean Whether Backspace deletes individual characters rather than complete grapheme clusters. a Property 2.12.0.0 System.Boolean Whether or not a break is allowed before this character when doing character wrap. a Property 2.12.0.0 System.Boolean Whether or not the cursor can appear in front of this character. a Property 2.12.0.0 System.Boolean To be added. To be added. To be added. Property 2.12.0.0 System.Boolean Whether or not a line break is allowed before this character. a Property 2.12.0.0 System.Boolean Whether or not a line break is required before this character. a Property 2.12.0.0 System.Boolean Whether or not this character is a sentence boundary. a There are two ways to divide sentences. The first assigns all intersentence whitespace/control/format chars to some sentence, so all characters are in some sentence; denotes the boundaries in this case. See and for the other method. Property 2.12.0.0 System.Boolean Whether or not this is the first non-sentence character after a sentence. a There are two ways to divide sentences. The first is the method used by (qv). The second way is to consider intersentence characters to not be part of any sentence, in which case identifies the first character in a sentence and identifies the first non-sentence character after a sentence. Property 2.12.0.0 System.Boolean Whether or not this is the first character in a sentence. a There are two ways to divide sentences. The first is the method used by (qv). The second way is to consider intersentence characters to not be part of any sentence, in which case identifies the first character in a sentence and identifies the first non-sentence character after a sentence. Property 2.12.0.0 System.Boolean Whether or not this is a whitespace character. a Property 2.12.0.0 System.Boolean Whether or not this is the first non-word character after a word. a Note that in degenerate cases, you could have both this propery and set on the same character, most likely for sentences (e.g. no space after a period, so the next sentence starts right away) Property 2.12.0.0 System.Boolean Whether or not this is the first character in a word. a Note that in degenerate cases, you could have both this propery and set on the same character, most likely for sentences (e.g. no space after a period, so the next sentence starts right away) Method 2.12.0.0 Pango.LogAttr an object of type Internal method an object of type This is an internal method, and should not be used by user code. Field 2.12.0.0 Pango.LogAttr Returns an empty gtk-sharp-2.12.40/doc/en/Pango/Context.xml0000664000175000017500000003606712767740535015120 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Stores global information used to control the itemization process. Constructor 2.12.0.0 Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 Pango.Direction The base direction for the context. the base direction The base direction is used in applying the Unicode bidirectional algorithm; if the direction is or , then the value will be used as the paragraph direction in the Unicode bidirectional algorithm. Property 2.12.0.0 Pango.Gravity To be added. To be added. To be added. Property 2.12.0.0 Pango.FontFamily[] Returns an array of Font Families. a Property 2.12.0.0 Pango.FontDescription The default font description for the context. the context's default font description. Property 2.12.0.0 Pango.FontMap To be added a To be added Method 2.12.0.0 Pango.FontMetrics an object of type language tag used to determine which script to get the metrics for, or to indicate to get the metrics for the entire font. Get overall metric information for a font particular font description. a object. Since the metrics may be substantially different for different scripts, a language tag can be provided to indicate that the metrics should be retrieved that correspond to the script(s) used by that language. The is interpreted in the same way as by pango_itemize(), and the family name may be a comma separated list of figures. If characters from multiple of these families would be used to render the string, then the returned fonts would be a composite of the metrics for the fonts loaded for the individual families. Property 2.12.0.0 Pango.Gravity To be added. To be added. To be added. Property 2.12.0.0 Pango.GravityHint To be added. To be added. To be added. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 Pango.Language The global language tag for the context. the global language tag. Method 2.12.0.0 System.Obsolete System.Int32 a List all families for a context. the number of families Method 2.12.0.0 Pango.Font an object of type describing the font to load Loads the font in one of the fontmaps in the context that is the closest match for . the font loaded, or if no font matched. Method 2.12.0.0 Pango.Fontset an object of type describing the fonts to load an object of type the fonts will be used for Load a set of fonts in the context that can be used to render a font matching . the fontset, or if no font matched. Property 2.12.0.0 Pango.Matrix To be added a To be added gtk-sharp-2.12.40/doc/en/Pango/Coverage.xml0000664000175000017500000002624312767740535015222 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque Represents a map from ISO-10646 character point to . Constructor 2.12.0.0 Default constructor Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 Pango.Coverage Copy an existing . an object of type Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 Pango.Coverage a a Convert data generated from back to a a or if the data was invalid Method 2.12.0.0 Pango.CoverageLevel the index to check Determine whether a particular index is covered. a Method 2.12.0.0 System.Void an object of type Set the coverage for each index to be the max (better) value of the current coverage for the index and the coverage for the corresponding index in . Method 2.12.0.0 System.Obsolete("Pango.Coverage is now refcounted automatically") Pango.Coverage Increase the reference count on the by one an object of type Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void the index to modify the new level for Modify a particular index Method 2.12.0.0 System.Void a Convert a structure into a flat binary format. Method 2.12.0.0 System.Obsolete("Pango.Coverage is now refcounted automatically") System.Void Decrease the reference count on the by one. If the result is zero, free the coverage and all associated memory. Method 2.12.0.0 System.Void To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Pango/Gravity.xml0000664000175000017500000000625212767740535015112 00000000000000 pango-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Pango.GravityGType)) Gravity enumeration. To be added. Field 2.12.0.0 Pango.Gravity To be added. Field 2.12.0.0 Pango.Gravity To be added. Field 2.12.0.0 Pango.Gravity To be added. Field 2.12.0.0 Pango.Gravity To be added. Field 2.12.0.0 Pango.Gravity To be added. gtk-sharp-2.12.40/doc/en/Pango/Item.xml0000664000175000017500000002670012767740535014363 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque Stores information about a segment of text. Constructor 2.12.0.0 Creates a new Item Constructor 2.12.0.0 an object of type Internal method. This is an internal method, and should not be used by user code. Property 2.12.0.0 Pango.Analysis the properties of the segment. the properties of the segment. Method 2.12.0.0 Pango.Item Copy an existing structure. a new Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Property 2.12.0.0 GLib.GType Native GLib type value. a . Property 2.12.0.0 System.Int32 the length of the segment in bytes. the length of the segment in bytes. Method 2.12.0.0 System.Obsolete("Replaced by Item() constructor") Pango.Item Obsolete: replaced by ordinary constructor a new Method 2.12.0.0 System.Obsolete("Replaced by Item(IntPtr) constructor") Pango.Item an object of type Obsolete internal constructor an object of type This is an internal method, and should not be used by user code. Property 2.12.0.0 System.Int32 the length of the segment in characters. the length of the segment in characters. Property 2.12.0.0 System.Int32 the offset of the segment from the beginning of the string in bytes. the offset of the segment from the beginning of the string in bytes. Method 2.12.0.0 Pango.Item byte index of position to split item, relative to the start of the item number of chars between start of orig and Modifies orig to cover only the text after , and returns a new item that covers the text before that used to be in orig. new item representing text before You can think of as the length of the returned item. may not be 0, and it may not be greater than or equal to the length of orig (that is, there must be at least one byte assigned to each item, you cannot create a zero-length item). is the length of the first item in chars, and must be provided because the text used to generate the item is not available, so cannot count the char length of the split items itself. Field 2.12.0.0 System.Obsolete("Pango.Item is a reference type now, use null") Pango.Item Returns an empty gtk-sharp-2.12.40/doc/en/Pango/WrapMode.xml0000664000175000017500000000544612767740535015207 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Pango.WrapModeGType)) Describes how to wrap the lines of a to the desired width Field 2.12.0.0 Pango.WrapMode Wrap line at character boundaries Field 2.12.0.0 Pango.WrapMode Wrap lines at word boundaries Field 2.12.0.0 Pango.WrapMode Wrap line at word boundaries, but fall back to character boundaries if there is not enough space for a full word gtk-sharp-2.12.40/doc/en/Pango/AttrFallback.xml0000664000175000017500000000625712767740535016024 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Pango.Attribute An attribute representing the font fallback state Constructor 2.12.0.0 a Creates a new font fallback attribute If fallback is disabled, characters will only be used from the closest matching font on the system. No fallback will be done to other fonts on the system that might contain the characters in the text. Property 2.12.0.0 System.Boolean Whether or not font fallback is enabled a If , characters will only be used from the closest matching font on the system. If , fallback will be done to other fonts on the system that might contain the characters in the text. gtk-sharp-2.12.40/doc/en/Pango/AttrShape.xml0000664000175000017500000000666212767740535015365 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Pango.Attribute An attribute that imposes a shape restriction. Constructor 2.12.0.0 a a Creates a new shape attribute A shape is used to impose a particular ink and logical rectangle on the result of shaping a particular glyph. This might be used, for instance, for embedding a picture or a widget inside a . Property 2.12.0.0 Pango.Rectangle The ink rectangle to restrict to a Property 2.12.0.0 Pango.Rectangle The logical rectangle to restrict to a gtk-sharp-2.12.40/doc/en/Pango/CairoHelper.xml0000664000175000017500000004112212767740535015655 00000000000000 pango-sharp 2.12.0.0 System.Object Cairo-related method provider. Constructor 2.12.0.0 Do not use. No instance methods exist for this class. Method 2.12.0.0 System.Double a Pango context. Gets the resolution for a context. the dots per inch, or a negative value if none has been set. Method 2.12.0.0 Pango.CairoShapeRendererFunc To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void a pango context. dots per inch. Sets the resolution for a context. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 Pango.Layout a cairo context. Creates a pango layout for a cairo context. a pango layout. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void a cairo context. a font. a glyph string. Adds a glyph string to the current path of a cairo context. The origin of the glyph string is the current point of the context. Method 2.12.0.0 System.Void a cairo context. a layout line. Adds the glyphs in a line to the current path of a context. The origin of the glyphs is located at the current point of the context. Method 2.12.0.0 System.Void To be added. To be added. Adds the contents of a layout to the path of a cairo context. The layout origin is located at the current point of the cairo context. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void a cairo context. a font. a glyph string. Renders a glyph string to a cairo context. The origin of the glyph string is located at the current point of the context. Method 2.12.0.0 System.Void a Cairo context. The layout to render. Renders the contents of a Layout on a context. The top left corner of the Layout is located at the current point of the context. Method 2.12.0.0 System.Void a cairo context. a line in a layout. Renders a layout line on a context. The origin of the glyphs is located at the current point of the context. Method 2.12.0.0 System.Void a cairo context. a Pango context. Updates a Pango context to match the transformation and target surface of a cairo context. Method 2.12.0.0 System.Void a cairo context. a pango layout. Updates the internal context of a pango layout to the transformation and target surface of a cairo context. gtk-sharp-2.12.40/doc/en/Pango/FontMetrics.xml0000664000175000017500000002776112767740535015732 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque Holds the overall metric information for a font (possibly restricted to a script). Constructor 2.12.0.0 a Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 System.Int32 The approximate character width for a font metrics structure. the character width, in pango units. This is merely a representative value useful, for example, for determining the initial size for a window. Actual characters in text will be wider and narrower than this. Property 2.12.0.0 System.Int32 The approximate digit width for a font metrics structure. the digit width, in pango units. This is merely a representative value useful, for example, for determining the initial size for a window. Actual digits in text can be wider and narrower than this. Property 2.12.0.0 System.Int32 The ascent from a font metrics structure. the ascent, in pango units. The ascent is the distance from the baseline to the logical top of a line of text. (The logical top may be above or below the top of the actual drawn ink. It is necessary to lay out the text to figure where the ink will be.) Property 2.12.0.0 System.Int32 The descent from a font metrics structure. the descent, in pango units. The descent is the distance from the baseline to the logical bottom of a line of text. (The logical bottom may be above or below the bottom of the actual drawn ink. It is necessary to lay out the text to figure where the ink will be.) Method 2.12.0.0 System.Void To be added. To be added. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 System.Obsolete("Pango.FontMetrics is now refcounted automatically") Pango.FontMetrics Increases the reference count of a font metrics structure. an object of type Method 2.12.0.0 System.Void To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added a To be added Property 2.12.0.0 System.Int32 To be added a To be added Property 2.12.0.0 System.Int32 To be added a To be added Property 2.12.0.0 System.Int32 To be added a To be added Method 2.12.0.0 System.Obsolete("Pango.FontMetrics is now refcounted automatically") System.Void Decreases the reference count of a font metrics structure. If the result is zero, frees the structure and any associated memory. Method 2.12.0.0 System.Void To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Pango/GlyphString.xml0000664000175000017500000004321612767740535015740 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque Used to store strings of glyphs with geometry and visual attribute information. Constructor 2.12.0.0 Creates a new object. Constructor 2.12.0.0 an object of type Internal method This is an internal method, and should not be used by user code. Method 2.12.0.0 Pango.GlyphString Copies one into a new object. a To be added. Method 2.12.0.0 System.Void a for rendering the string a used to store the extents of the glyph as drawn or to indicate that the result is not needed. a used to store the logical extents of the glyph or to indicate that the result is not needed. Computes the logical and ink extents of this glyph string. The coordinate system for each rectangle has its origin at the base line and horizontal origin of the character with increasing coordinates extending to the right and down. The units of the rectangles are in 1 / of a device unit. Method 2.12.0.0 System.Void an integer for the start index an integer for the end index a for rendering the string a used to store the extents of the glyph as drawn or to indicate that the result is not needed. a used to store the logical extents of the glyph or to indicate that the result is not needed. Computes the logical and ink extents of a sub-section of this glyph string. The extents are relative to the start of the glyph string range, not to the start of the glyph string. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Int32 a to process a , the embedding level of the string Determine the screen width corresponding to each character in a string. When multiple characters compose a single cluster, the width of the entire cluster is divided equally among the characters. a , a pointer to an array of logical widths for each character. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 System.Int32 a , the text for the run a , the analysis for the run a , the byte index within the text. a whether to compute from trailing edge (true) or leading edge (false) of the character Convert from character position to X position. To be added. Converts from character position to x position. (X position is measured from the left edge of the run). Character positions are computed by dividing up each cluster into equal portions. Method 2.12.0.0 System.Obsolete("Replaced by GlyphString() constructor") Pango.GlyphString Obsolete. Replaced by an ordinary constructor a object. Method 2.12.0.0 System.Obsolete("Replaced by GlyphString(IntPtr) constructor") Pango.GlyphString an object of type Obsolete internal constructor a object. Property 2.12.0.0 System.Int32 the number of glyphs in the string. the number of glyphs in the string. Property 2.12.0.0 System.Int32 Resizes this GlyphString to the given length. The new length of the string. To be added. Property 2.12.0.0 System.Int32 Width property. The logical width of the glyph string. Method 2.12.0.0 System.Void a , the text for the run a , the analysis for the run the X offset in Pango glyph units. a , for storing the calculated byte index a for storing whether the user clicked on the leading or trailing edge of the character. Convert from x offset to character position. Character positions are computed by dividing up each cluster into equal portions. In scripts where positioning within a cluster is not allowed (such as Thai), the returned value may not be a valid cursor position; the caller must combine the result with the logical attributes for the text to compute the valid cursor position. Field 2.12.0.0 System.Obsolete("Pango.GlyphString is a reference type now, use null") Pango.GlyphString Obsolete: just use now. gtk-sharp-2.12.40/doc/en/Pango/Language.xml0000664000175000017500000001525212767740535015210 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque Used to represent a language. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 Pango.Language Default language property. The default . Method 2.12.0.0 Pango.Language a string representing a language tag Take a RFC-3066 format language tag as a string and convert it to a a This function first canonicalizes the string by converting it to lowercase, mapping '_' to '-', and stripping all characters other than letters and '-'. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 System.Boolean a To be added a To be added Method 2.12.0.0 System.Boolean a list of language ranges, separated by ';' characters. each element must either be '*', or a RFC 3066 language range canonicalized as by . Checks if a language tag matches one of the elements in a list of language ranges. if a match was found. A language tag is considered to match a range in the list if the range is '*', the range is exactly the tag, or the range is a prefix of the tag, and the character after the tag is '-'. Property 2.12.0.0 System.String A sample a gtk-sharp-2.12.40/doc/en/Pango/EllipsizeMode.xml0000664000175000017500000001005712767740535016230 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Pango.EllipsizeModeGType)) Describes what sort of (if any) ellipsization should be applied to a line of text. In the ellipsization process characters are removed from the text in order to make it fit to a given width and replaced with an ellipsis. Field 2.12.0.0 Pango.EllipsizeMode Omit characters at the end of the text To be added Field 2.12.0.0 Pango.EllipsizeMode Omit characters in the middle of the text To be added Field 2.12.0.0 Pango.EllipsizeMode No ellipsization To be added Field 2.12.0.0 Pango.EllipsizeMode Omit characters at the start of the text To be added gtk-sharp-2.12.40/doc/en/Pango/Renderer.xml0000664000175000017500000004171112767740535015232 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object To be added To be added Constructor 2.12.0.0 Default constructor Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 a Internal constructor This is not typically used by C# code. Method 2.12.0.0 System.Void To be added To be added Method 2.12.0.0 System.Void To be added To be added Method 2.12.0.0 System.Void a a a a To be added To be added Method 2.12.0.0 System.Void a a a a To be added To be added Method 2.12.0.0 System.Void a a a a To be added To be added Method 2.12.0.0 System.Void a a a To be added To be added Method 2.12.0.0 System.Void a a a To be added To be added Method 2.12.0.0 System.Void a a a a a To be added To be added Method 2.12.0.0 System.Void a To be added. a a a a a To be added To be added Method 2.12.0.0 Pango.Color a To be added a To be added Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 Pango.Matrix To be added a To be added Method 2.12.0.0 System.Void a To be added To be added Method 2.12.0.0 System.Void a a To be added To be added gtk-sharp-2.12.40/doc/en/Pango/Fontset.xml0000664000175000017500000001462412767740535015111 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Represents a set of to use when rendering text. It is the result of resolving a against a particular . It has operations for finding the component font for a particular Unicode character, and for finding a composite set of metrics for the entire fontset. Constructor 2.12.0.0 Protected constructor Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Void a To be added To be added Method 2.12.0.0 Pango.Font a unicode character Returns the font in the fontset that contains the best glyph for the unicode character . a Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 Pango.FontMetrics Get overall metric information for the fonts in the fontset. a gtk-sharp-2.12.40/doc/en/Pango/Direction.xml0000664000175000017500000001227412767740535015406 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Pango.DirectionGType)) Represents the direction of writing for text Field 2.12.0.0 Pango.Direction The text is written left-to-right Field 2.12.0.0 Pango.Direction To be added To be added Field 2.12.0.0 Pango.Direction The text is written right-to-left Field 2.12.0.0 Pango.Direction The text is written vertically top-to-bottom, with the rows ordered from left to right Field 2.12.0.0 Pango.Direction The text is written vertically top-to-bottom, with the rows ordered from right to left Field 2.12.0.0 Pango.Direction To be added To be added Field 2.12.0.0 Pango.Direction To be added To be added gtk-sharp-2.12.40/doc/en/Pango/Rectangle.xml0000664000175000017500000001110312767740535015360 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType Represents a rectangle It is frequently used to represent the logical or ink extents of a single glyph or section of text. Field 2.12.0.0 System.Int32 height of the rectangle. Method 2.12.0.0 Pango.Rectangle an object of type Internal method an object of type This is an internal method, and should not be used by user code. Field 2.12.0.0 System.Int32 width of the rectangle. Field 2.12.0.0 System.Int32 X coordinate of the left side of the rectangle. Field 2.12.0.0 System.Int32 Y coordinate of the the top side of the rectangle. Field 2.12.0.0 Pango.Rectangle Returns a new gtk-sharp-2.12.40/doc/en/Pango/AttrFontDesc.xml0000664000175000017500000000462012767740535016022 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Pango.Attribute An attribute that represents a Constructor 2.12.0.0 a Creates a new font description attribute Property 2.12.0.0 Pango.FontDescription The font description which is the value of this attribute a gtk-sharp-2.12.40/doc/en/Pango/TabAlign.xml0000664000175000017500000000332212767740535015141 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Pango.TabAlignGType)) This enumeration specifies where a tab stop appears relative to the text Right now, there is only one value in this enumeration. In the future, Right, Center and Numeric may be supported. Field 2.12.0.0 Pango.TabAlign The tab stop appears to the left of the text gtk-sharp-2.12.40/doc/en/Pango/AttrScale.xml0000664000175000017500000000524212767740535015345 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Pango.Attribute An attribute representing a font size scaling factor Constructor 2.12.0.0 the factor to scale the font by Creates a new font size scale attribute Property 2.12.0.0 System.Double The factor to scale the font by a gtk-sharp-2.12.40/doc/en/Pango/CoverageLevel.xml0000664000175000017500000000764612767740535016220 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Pango.CoverageLevelGType)) Used to indicate how well a font can represent a particular ISO 10646 character point for a particular scrpt Field 2.12.0.0 Pango.CoverageLevel The character is represented as basically the correct graphical form, but with a stylistic variant inappropriate for the current script Field 2.12.0.0 Pango.CoverageLevel The character is represented as the correct graphical form. Field 2.12.0.0 Pango.CoverageLevel The character is represented in a way that may be comprehensible but is not the correct graphical form The character is represented in a way that may be comprehensible but is not the correct graphical form. For instance, a Hangul character represented as a a sequence of Jamos, or a Latin transliteration of a Cyrillic word. Field 2.12.0.0 Pango.CoverageLevel The character is not representable with the font gtk-sharp-2.12.40/doc/en/Pango/AttrForeground.xml0000664000175000017500000000726412767740535016436 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Pango.Attribute An attribute representing a foreground color Constructor 2.12.0.0 a Creates a new foreground color attribute. Constructor 2.12.0.0 the red value the green value the blue value Creates a new foreground color attribute. Property 2.12.0.0 Pango.Color The color represented by this attribute a gtk-sharp-2.12.40/doc/en/Pango/Script.xml0000664000175000017500000011775712767740535014746 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Pango.ScriptGType)) Identifies different writing systems. The values correspond to the names defined in the Unicode standard. (See Unicode Standard Annex 24: Script names http://www.unicode.org/reports/tr24/). Field 2.12.0.0 Pango.Script Arabic Field 2.12.0.0 Pango.Script Armenian Field 2.12.0.0 Pango.Script Balinese Field 2.12.0.0 Pango.Script Bengali Field 2.12.0.0 Pango.Script Bopomofo Field 2.12.0.0 Pango.Script Braille Field 2.12.0.0 Pango.Script Buginese Field 2.12.0.0 Pango.Script Buhid Field 2.12.0.0 Pango.Script Canadian Aboriginal Field 2.12.0.0 Pango.Script Cherokee Field 2.12.0.0 Pango.Script a character used by multiple different scripts Field 2.12.0.0 Pango.Script Coptic Field 2.12.0.0 Pango.Script Cuneiform Field 2.12.0.0 Pango.Script Cypriot Field 2.12.0.0 Pango.Script Cyrillic Field 2.12.0.0 Pango.Script Deseret Field 2.12.0.0 Pango.Script Devanagari Field 2.12.0.0 Pango.Script Ethiopic Field 2.12.0.0 Pango.Script Georgian Field 2.12.0.0 Pango.Script Glagolitic Field 2.12.0.0 Pango.Script Gothic Field 2.12.0.0 Pango.Script Greek Field 2.12.0.0 Pango.Script Gujarati Field 2.12.0.0 Pango.Script Gurmukhi Field 2.12.0.0 Pango.Script Han Field 2.12.0.0 Pango.Script Hangul Field 2.12.0.0 Pango.Script Hanunoo Field 2.12.0.0 Pango.Script Hebrew Field 2.12.0.0 Pango.Script Hiragana Field 2.12.0.0 Pango.Script a mark glyph that takes its script from the base glyph to which it is attached. Field 2.12.0.0 Pango.Script a value never used for any unicode character Field 2.12.0.0 Pango.Script Kannada Field 2.12.0.0 Pango.Script Katakana Field 2.12.0.0 Pango.Script Kharoshthi Field 2.12.0.0 Pango.Script Khmer Field 2.12.0.0 Pango.Script Lao Field 2.12.0.0 Pango.Script Latin Field 2.12.0.0 Pango.Script Limbu Field 2.12.0.0 Pango.Script LinearB Field 2.12.0.0 Pango.Script Malayalam Field 2.12.0.0 Pango.Script Mongolian Field 2.12.0.0 Pango.Script Myanmar Field 2.12.0.0 Pango.Script NewTaiLue Field 2.12.0.0 Pango.Script Nko Field 2.12.0.0 Pango.Script Ogham Field 2.12.0.0 Pango.Script OldItalic Field 2.12.0.0 Pango.Script OldPersian Field 2.12.0.0 Pango.Script Oriya Field 2.12.0.0 Pango.Script Osmanya Field 2.12.0.0 Pango.Script PhagsPa Field 2.12.0.0 Pango.Script Phoenician Field 2.12.0.0 Pango.Script Runic Field 2.12.0.0 Pango.Script Shavian Field 2.12.0.0 Pango.Script Sinhala Field 2.12.0.0 Pango.Script SylotiNagri Field 2.12.0.0 Pango.Script Syriac Field 2.12.0.0 Pango.Script Tagalog Field 2.12.0.0 Pango.Script Tagbanwa Field 2.12.0.0 Pango.Script TaiLe Field 2.12.0.0 Pango.Script Tamil Field 2.12.0.0 Pango.Script Telugu Field 2.12.0.0 Pango.Script Thaana Field 2.12.0.0 Pango.Script Thai Field 2.12.0.0 Pango.Script Tibetan Field 2.12.0.0 Pango.Script Tifinagh Field 2.12.0.0 Pango.Script Ugaritic Field 2.12.0.0 Pango.Script Unknown Field 2.12.0.0 Pango.Script Yi gtk-sharp-2.12.40/doc/en/Pango/GlyphItem.xml0000664000175000017500000002521112767740535015363 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType A pair of a and the glyphs resulting from shaping the text corresponding to an item. As an example of the usage of , the results of shaping text with is a list of , each of which contains a list of . Method 2.12.0.0 Pango.GlyphItem[] a a Splits a shaped item () into multiple items based on an attribute list. a The idea is that if you have attributes that do not affect shaping, such as color or underline, to avoid affecting shaping, you filter them out (), apply the shaping process and then re-apply them to the result using this function. All attributes that start or end inside a cluster are applied to that cluster; for instance, if half of a cluster is underlined and the other-half strikethough, then the cluster will end up with both underline and strikethrough attributes. In these cases, it may happen that item->extra_attrs for some of the result items can have multiple attributes of the same type. Method 2.12.0.0 System.Void To be added To be added Property 2.12.0.0 System.Obsolete("Replaced by Glyphs property") Pango.GlyphString Obsolete alias for a Property 2.12.0.0 Pango.GlyphString the glyphs obtained by shaping the text corresponding to item. a Property 2.12.0.0 System.Obsolete("Replaced by Item property") Pango.Item Obsolete alias for a Property 2.12.0.0 Pango.Item a that provides information about a segment of text. a Method 2.12.0.0 System.Void a a a To be added To be added Method 2.12.0.0 Pango.GlyphItem a Internal method a This is an internal method, and should not be used by user code. Method 2.12.0.0 Pango.GlyphItem text to which positions in orig apply. byte index of position to split item, relative to the start of the item Splits an Item a representing the text before Modifies orig to cover only the text after , and returns a new item that covers the text before that used to be in orig. You can think of as the length of the returned item. may not be 0, and it may not be greater than or equal to the length of orig (that is, there must be at least one byte assigned to each item, you cannot create a zero-length item). This function is similar in function to (and uses it internally) Field 2.12.0.0 Pango.GlyphItem Returns an empty gtk-sharp-2.12.40/doc/en/Pango/AttrStrikethrough.xml0000664000175000017500000000547212767740535017165 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Pango.Attribute An attribute indicating whether or not text is struck-through Constructor 2.12.0.0 if the text should be struck-through Creates a new font strike-through attribute Property 2.12.0.0 System.Boolean Whether or not the text is struck-through a gtk-sharp-2.12.40/doc/en/Pango/Underline.xml0000664000175000017500000001035112767740535015405 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Pango.UnderlineGType)) This enumeration is used to specify whether text should be underlined, and if so, the type of underlining. Field 2.12.0.0 Pango.Underline A double underline should be drawn Field 2.12.0.0 Pango.Underline To be added To be added Field 2.12.0.0 Pango.Underline A single underline should be drawn at a position beneath the ink extedn of the text being underlined This should be used only for underlining single characters, such as for keyboard accelerators. should be used for extended portions of text Field 2.12.0.0 Pango.Underline No underline should be drawn Field 2.12.0.0 Pango.Underline A single underline should be drawn gtk-sharp-2.12.40/doc/en/Pango/Style.xml0000664000175000017500000000517712767740535014572 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Pango.StyleGType)) An enumeration specific the various slant styles possible for a font Field 2.12.0.0 Pango.Style The font is slanted in an italic style Field 2.12.0.0 Pango.Style The font is upright Field 2.12.0.0 Pango.Style The font is slanted, but in a roman style gtk-sharp-2.12.40/doc/en/Pango/FontFamily.xml0000664000175000017500000001573512767740535015543 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Used to represent a family of related font faces. The faces in a family share a common design, but differ in slant, weight, width and other aspects. Constructor 2.12.0.0 Protected constructor Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 Pango.FontFace[] To be added The font faces that make up . a Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.Boolean To be added a To be added Method 2.12.0.0 System.Obsolete System.Int32 a Lists the different font faces that make up . a Property 2.12.0.0 System.String The name of the family. the name of the family. The name is unique among all fonts for the font backend and can be used in a to specify that a face from this family is desired. gtk-sharp-2.12.40/doc/en/Pango/AttrLetterSpacing.xml0000664000175000017500000000545612767740535017071 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Pango.Attribute An attribute representing letter spacing Constructor 2.12.0.0 the amount of extra space to add between letters, in Pango units Creates a new letter-spacing attribute Property 2.12.0.0 System.Int32 The amount of extra space to add between letters, in Pango units a gtk-sharp-2.12.40/doc/en/Pango/Variant.xml0000664000175000017500000000420712767740535015067 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Pango.VariantGType)) An enumeration specifying capitalization variant of the font Field 2.12.0.0 Pango.Variant A normal font Field 2.12.0.0 Pango.Variant A font with the lower case characters replaced by smaller variants of the capital letters gtk-sharp-2.12.40/doc/en/Pango/AttrStyle.xml0000664000175000017500000000525312767740535015420 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Pango.Attribute An attribute representing a Constructor 2.12.0.0 the slant style Creates a new font slant syle attribute Property 2.12.0.0 Pango.Style The font slant style a gtk-sharp-2.12.40/doc/en/Pango/AttrGravity.xml0000664000175000017500000000362212767740535015743 00000000000000 pango-sharp 2.12.0.0 Pango.Attribute Gravity attribute. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Property 2.12.0.0 Pango.Gravity To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Pango/Alignment.xml0000664000175000017500000000577012767740535015407 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Pango.AlignmentGType)) Describes how to align the lines of a This enumeration describes how to align the lines of a within the available space. If the is set to justify using property, then this only has an effect for partial lines. Field 2.12.0.0 Pango.Alignment Center the line within the available space Field 2.12.0.0 Pango.Alignment Put all available space on the left Field 2.12.0.0 Pango.Alignment Put all available space on the right gtk-sharp-2.12.40/doc/en/Pango/Weight.xml0000664000175000017500000001200012767740535014700 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Pango.WeightGType)) An enumeration specifying the weight (boldness) of a font This is a numerical value ranging from 100 to 900, but there are two predefined values. Field 2.12.0.0 Pango.Weight The bold weight (700) Field 2.12.0.0 Pango.Weight The heavy weight (900) Field 2.12.0.0 Pango.Weight The light weight (300) Field 2.12.0.0 Pango.Weight The default weight (400) Field 2.12.0.0 Pango.Weight To be added To be added Field 2.12.0.0 Pango.Weight The ultrabold weight (800) Field 2.12.0.0 Pango.Weight The ultralight weight (200) gtk-sharp-2.12.40/doc/en/Pango/AttrGravityHint.xml0000664000175000017500000000370312767740535016566 00000000000000 pango-sharp 2.12.0.0 Pango.Attribute Gravity Hint attribute. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Property 2.12.0.0 Pango.GravityHint To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Pango/ScriptIter.xml0000664000175000017500000001437212767740535015557 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque Used to iterate through a string and identify ranges in different scripts. Constructor 2.12.0.0 a Internal constructor Constructor 2.12.0.0 a Creates a new from . Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Obsolete("Replaced by garbage collection") System.Void Obsolete. Do not use is properly garbage-collected now. You do not need to manually free it. Method 2.12.0.0 System.Void On return, contains the index of the start of the current range. On return, contains the length of the current range. On return, contains the script type of the current range. Gets the bounds and script type of the current range. Method 2.12.0.0 System.Boolean Advances a to the next range. a , if the iter was succesfully advanced. If the iter is already at the end, it is left unchanged and is returned. gtk-sharp-2.12.40/doc/en/Pango/AttrUnderline.xml0000664000175000017500000000534412767740535016246 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Pango.Attribute An attribute representing underlining Constructor 2.12.0.0 the underline style Creates a new underline-style object Property 2.12.0.0 Pango.Underline The underline style a gtk-sharp-2.12.40/doc/en/Pango/AttrStretch.xml0000664000175000017500000000526412767740535015736 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Pango.Attribute An attribute representing font stretch Constructor 2.12.0.0 the stretch Creates a new font stretch attribute Property 2.12.0.0 Pango.Stretch The font stretch a gtk-sharp-2.12.40/doc/en/Pango/AttrRise.xml0000664000175000017500000000546012767740535015222 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Pango.Attribute An attribute representing baseline displacement Constructor 2.12.0.0 the amount that the text should be displaced vertically, in Pango units. Positive values displace the text upwards Creates a new baseline displacement attribute Property 2.12.0.0 System.Int32 The amount that the text should be displaced vertically, in Pango units. Positive values displace the text upwards a gtk-sharp-2.12.40/doc/en/Pango/Stretch.xml0000664000175000017500000001470712767740535015105 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Pango.StretchGType)) An enumeration specifying the width of the font relatives to other designs with the font family Field 2.12.0.0 Pango.Stretch 2x more condensed than Field 2.12.0.0 Pango.Stretch 2x more expanded than Field 2.12.0.0 Pango.Stretch 3x more condensed than Field 2.12.0.0 Pango.Stretch 3x more expanded than Field 2.12.0.0 Pango.Stretch The normal width Field 2.12.0.0 Pango.Stretch 1x more condensed than Field 2.12.0.0 Pango.Stretch 1x more expanded than Field 2.12.0.0 Pango.Stretch 4x more condensed than Field 2.12.0.0 Pango.Stretch 3x more expanded than gtk-sharp-2.12.40/doc/en/Pango/LayoutLine.xml0000664000175000017500000004203112767740535015545 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque Represents one of the lines resulting from laying out a paragraph via . s are obtained by calling and are only valid until the text, attributes, or settings of the parent are modified. Constructor 2.12.0.0 a Internal constructor. This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void rectangle used to store the extents of the glyph string as drawn or to indicate that the result is not needed. rectangle used to store the logical extents of the glyph string or to indicate that the result is not needed. Computes the logical and ink extents of a layout line. See the documentation for for details about the interpretation of the rectangles. Method 2.12.0.0 System.Void rectangle used to store the extents of the glyph string as drawn or to indicate that the result is not needed. rectangle used to store the logical extents of the glyph string or to indicate that the result is not needed. Computes the logical and ink extents of a layout line. See the documentation for for details about the interpretation of the rectangles. The returned rectangles are in device units, as opposed to , which returns the extents in . Method 2.12.0.0 System.Void Start byte index of the logical range. If this value is less than the start index for the line, then the first range will extend all the way to the leading edge of the layout. Otherwise it will start at the leading edge of the first character. Ending byte index of the logical range. If this value is greater than the end index for the line, then the last range will extend all the way to the trailing edge of the layout. Otherwise, it will end at the trailing edge of the last character. location to store an array of ranges. The array will be of length 2*n_ranges, with each range starting at (*ranges)[2*n] and of width (*ranges)[2*n + 1] - (*ranges)[2*n]. This array must be freed with g_free(). The coordinates are relative to the layout and are in . Gets a list of visual ranges corresponding to a given logical range. This list is not necessarily minimal - there may be consecutive ranges which are adjacent. The ranges will be sorted from left to right. The ranges are with respect to the left edge of the entire layout, not with respect to the line. Property 2.12.0.0 GLib.GType The native GLib type value. a . Method 2.12.0.0 System.Int32 byte offset of a grapheme within the layout Indicates the edge of the grapheme to retrieve the position of. If , the trailing edge of the grapheme, if , the leading of the grapheme. Converts an index within a line to a X position. the x_offset (in ) Property 2.12.0.0 System.Boolean To be added. To be added. To be added. Property 2.12.0.0 Pango.Layout The parent for this line. a Property 2.12.0.0 System.Int32 the length of the line in bytes. a Method 2.12.0.0 System.Obsolete("Pango.LayoutLine is now refcounted automatically") Pango.LayoutLine To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Property 2.12.0.0 System.UInt32 To be added. To be added. To be added. Property 2.12.0.0 System.Int32 the start of the line as byte index into . a Method 2.12.0.0 System.Obsolete("Pango.LayoutLine is now refcounted automatically") System.Void Decreases the reference count of a by one. If the result is zero, the line and all associated memory will be freed. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Boolean the x offset (in ) from the left edge of the line. location to store calculated byte offset for the grapheme in which the user clicked. location to store a integer indicating where in the grapheme the user clicked. It will either be zero, or the number of characters in the grapheme. 0 represents the trailing edge of the cluster. Converts from x offset to the byte index of the corresponding character within the text of the layout. if x_pos was outside the line, if inside If is outside the line, the start or end of the line will be stored at . gtk-sharp-2.12.40/doc/en/Pango/FontMap.xml0000664000175000017500000002015112767740535015023 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Represents the set of fonts available for a particular rendering system. This is a virtual object with implementations being specific to particular rendering systems. Constructor 2.12.0.0 Protected constructor Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 Pango.FontFamily[] List all families for a fontmap. a Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 System.Obsolete System.Int32 a List all families for a fontmap. a Method 2.12.0.0 Pango.Font a the font will be used with a describing the font to load Load the font in the fontmap that is the closest match for . the font loaded, or if no font matched. Method 2.12.0.0 Pango.Fontset a the font will be used with a describing the font to load a the fonts will be used for Load a set of fonts in the fontmap that can be used to render a font matching . the fontset, or if no font matched. gtk-sharp-2.12.40/doc/en/Pango/Attribute.xml0000664000175000017500000002042612767740535015427 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object GLib.IWrapper System.IDisposable This is the base class for all Pango text attributes Method 2.12.0.0 Pango.Attribute Make a copy of an attribute. a new Method 2.12.0.0 System.Void Dispose method Property 2.12.0.0 System.UInt32 end index of the range. a The character containing this byte index is not included in the range. Method 2.12.0.0 System.Boolean a to be tested for equality. Compare two attributes for equality. if the two attributes have the same value. This compares only the actual value of the two attributes and not the ranges that the attributes apply to. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 Pango.Attribute a Gets an Attribute or Attribute subclass for a native PangoAttribute pointer a Property 2.12.0.0 GLib.GType GType property a Returns the value for Property 2.12.0.0 System.IntPtr Pointer to the raw PangoAttribute structure associated with this object. a To be added Property 2.12.0.0 System.UInt32 the start index of the range (in bytes). a Property 2.12.0.0 Pango.AttrType The attribute type a gtk-sharp-2.12.40/doc/en/Pango/Matrix.xml0000664000175000017500000004403012767740535014725 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType A structure specifying a transformation between user-space coordinates and device coordinates. Method 2.12.0.0 System.Void a Changes the transformation represented by the matrix to be the transformation given by first applying transformation given by then applying the original transformation. Method 2.12.0.0 System.Obsolete("This is a no-op") Pango.Matrix Copies a Pango.Matrix a Property 2.12.0.0 System.Double The scaling factor on the font height. a floating point value where 1.0 indicates no scaling. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Field 2.12.0.0 Pango.Matrix Can be used to initialize a PangoMatrix to the identity transform. This is the equivalent of PANGO_MATRIX_INIT in C. Method 2.12.0.0 Pango.Matrix a Creates a new Matrix. a Method 2.12.0.0 Pango.Matrix a containing a Matrix. Converts a GLib.Value to the Matrix it contains. The Matrix contained in . This operator is primarily for internal use. Method 2.12.0.0 GLib.Value To be added. Converts a matrix to a GLib.Value. a containing the matrix. This operator is primarily for internal use. Method 2.12.0.0 System.Void degrees to rotate counter-clockwise Changes the transformation represented by the matrix to be the transformation given by first rotating by degrees degrees counter-clockwise then applying the original transformation. Method 2.12.0.0 System.Void amount to scale by in X direction amount to scale by in Y direction Changes the transformation represented by the matrix to be the transformation given by first scaling by sx in the X direction and sy in the Y direction then applying the original transformation. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void amount to translate in the X direction amount to translate in the Y direction Changes the transformation represented by the matrix to be the transformation given by first translating by (tx, ty) then applying the original transformation. Field 2.12.0.0 System.Double x translation To be added Field 2.12.0.0 System.Double 1st component of the transformation matrix Field 2.12.0.0 System.Double 2nd component of the transformation matrix Field 2.12.0.0 System.Double y translation Field 2.12.0.0 System.Double 3rd component of the transformation matrix Field 2.12.0.0 System.Double 4th component of the transformation matrix Field 2.12.0.0 Pango.Matrix An empty Pango.Matrix. gtk-sharp-2.12.40/doc/en/Pango/AttrBackground.xml0000664000175000017500000000726412767740535016403 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Pango.Attribute An attribute representing a background color Constructor 2.12.0.0 a Creates a new background color attribute. Constructor 2.12.0.0 the red value the green value the blue value Creates a new background color attribute. Property 2.12.0.0 Pango.Color The color represented by this attribute a gtk-sharp-2.12.40/doc/en/Pango/EngineShape.xml0000664000175000017500000000410412767740535015645 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque Rendering-system dependent script engines The class is implemented by engines that customize the rendering-system dependent part of the Pango pipeline for a particular script or language. A implementation is then specific to both a particular rendering system or group of rendering systems and to a particular script. For instance, there is one implementation to handling shaping Arabic for Fontconfig-based backends. Constructor 2.12.0.0 a Internal constructor This is an internal constructor, and should not be used by user code. gtk-sharp-2.12.40/doc/en/Pango/RenderPart.xml0000664000175000017500000000753112767740535015534 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Pango.RenderPartGType)) The part of the renderer to modify. Field 2.12.0.0 Pango.RenderPart The background text. To be added Field 2.12.0.0 Pango.RenderPart The foreground text. To be added Field 2.12.0.0 Pango.RenderPart The strikethrough value. To be added Field 2.12.0.0 Pango.RenderPart The underline value. To be added gtk-sharp-2.12.40/doc/en/Pango/LayoutRun.xml0000664000175000017500000001273312767740535015430 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType The structure represents a single run within a . It is simply an alternate name for , present for backwards compatibility. See the docs for details on the fields. Property 2.12.0.0 System.Obsolete("Replaced by Glyphs property") Pango.GlyphString Obsolete alias for an object of type Property 2.12.0.0 Pango.GlyphString the glyphs obtained by shaping the text corresponding to item. an object of type Property 2.12.0.0 System.Obsolete("Replaced by Item property") Pango.Item Obsolete alias for a Property 2.12.0.0 Pango.Item A that provides information about a segment of text. a Method 2.12.0.0 Pango.LayoutRun an object of type Internal method an object of type This is an internal method, and should not be used by user code. Field 2.12.0.0 Pango.LayoutRun Returns a new gtk-sharp-2.12.40/doc/en/Pango/Scale.xml0000664000175000017500000002410112767740535014505 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Scale factors. Constructor 2.12.0.0 Default constructor Field 2.12.0.0 System.Double 1.2 The scale factor for one magnification step (1.2). Field 2.12.0.0 System.Double 1 The scale factor for normal size (1.0). Field 2.12.0.0 System.Double 1024 Represents the scale between dimensions used for Pango distances and device units. The definition of device units is dependent on the output device; it will typically be pixels for a screen, and points for a printer. This is currently 1024, but this may be changed in the future. When setting font sizes, device units are always considered to be points (as in "12 point font"), rather than pixels. Field 2.12.0.0 System.Double 0.8333333333333 The scale factor for one shrinking step (1 / 1.2). Field 2.12.0.0 System.Obsolete("Replaced by XLarge") System.Double 1.4399999999999 Obsolete alias for . Field 2.12.0.0 System.Obsolete("Replaced by XSmall") System.Double 0.6444444444444 Obsolete alias for . Field 2.12.0.0 System.Double 1.4399999999999 The scale factor for two magnification steps (1.2 * 1.2). Field 2.12.0.0 System.Double 0.6444444444444 The scale factor for two shrinking steps (1 / (1.2 * 1.2)). Field 2.12.0.0 System.Obsolete("Replaced by XXLarge") System.Double 1.728 Obsolete alias for . Field 2.12.0.0 System.Obsolete("Replaced by XXSmall") System.Double 0.5787037037037 Obsolete alias for . Field 2.12.0.0 System.Double 1.728 The scale factor for three magnification steps (1.2 * 1.2 * 1.2). Field 2.12.0.0 System.Double 0.5787037037037 The scale factor for three shrinking steps (1 / (1.2 * 1.2 * 1.2)). gtk-sharp-2.12.40/doc/en/Pango/Font.xml0000664000175000017500000002532112767740535014371 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Used to represent a font in a rendering-system-independent matter. Constructor 2.12.0.0 Protected constructor. Default constuctor for children of this type. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 Pango.FontDescription Returns a description of the font. a new Method 2.12.0.0 Pango.FontDescription To be added. To be added. To be added. Method 2.12.0.0 Pango.EngineShape the language tag the ISO-10646 character code. Finds the best matching shaper for a font for a particular language tag and character point. the best matching shaper. Property 2.12.0.0 Pango.FontMap The FontMap for which the Font was created. a . Method 2.12.0.0 Pango.Coverage the language tag Computes the coverage map for a given font and language tag. a new Method 2.12.0.0 System.Void the glyph index a used to store the extents of the glyph as drawn or to indicate that the result is not needed. a used to store the logical extents of the glyph or to indicate that the result is not needed. Gets the logical and ink extents of a glyph within a font. The coordinate system for each rectangle has its origin at the base line and horizontal origin of the character with increasing coordinates extending to the right and down. The units of the rectangles are in 1 / of a device unit. Method 2.12.0.0 Pango.FontMetrics language tag used to determine which script to get the metrics for, or to indicate to get the metrics for the entire font. Gets overall metric information for a font. a new object. Since the metrics may be substantially different for different scripts, a language tag can be provided to indicate that the metrics should be retrieved that correspond to the script(s) used by that language. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Pango/FontMask.xml0000664000175000017500000001171312767740535015205 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Pango.FontMaskGType)) System.Flags TThe bits in a PangoFontMask correspond to fields in a PangoFontDescription that have been set. Field 2.12.0.0 Pango.FontMask The font family is specified Field 2.12.0.0 Pango.FontMask Gravity is specified. Field 2.12.0.0 Pango.FontMask The font size is specified Field 2.12.0.0 Pango.FontMask The font stretch is specified Field 2.12.0.0 Pango.FontMask The font style is specified Field 2.12.0.0 Pango.FontMask The font variant is specified Field 2.12.0.0 Pango.FontMask The font weight is specified gtk-sharp-2.12.40/doc/en/Pango/AttrVariant.xml0000664000175000017500000000530112767740535015716 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Pango.Attribute An attribute representing Constructor 2.12.0.0 the variant Creates a new font variant attribute Property 2.12.0.0 Pango.Variant The variant a gtk-sharp-2.12.40/doc/en/Pango/AttrDataCopyFunc.xml0000664000175000017500000000267112767740535016641 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.IntPtr To be added To be added. gtk-sharp-2.12.40/doc/en/Pango/Units.xml0000664000175000017500000001075212767740535014567 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Converts between Device units and Pango Units. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Int32 a Converts from Device units to Pango Units. a Method 2.12.0.0 System.Double To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Int32 a Converts from Pango Units to Device Units. a gtk-sharp-2.12.40/doc/en/Pango/Analysis.xml0000664000175000017500000002663512767740535015257 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType This structure stores information about the properties of a segment of text. Property 2.12.0.0 Pango.Attribute[] Extra attributes related to the segment. An array of values. Field 2.12.0.0 System.Byte To be added. To be added. Property 2.12.0.0 System.Obsolete("Replaced by Font property") Pango.Font the an object of type Replaced by . Property 2.12.0.0 Pango.Font the an object of type Field 2.12.0.0 System.Byte To be added. To be added. Property 2.12.0.0 System.Obsolete("Replaced by LangEngine property") Pango.EngineLang The engine for doing rendering-system-independent processing. a Replaced by . Property 2.12.0.0 Pango.EngineLang The engine for doing rendering-system-independent processing. a Property 2.12.0.0 System.Obsolete("Replaced by Language property") Pango.Language The an object of type Replaced by . Property 2.12.0.0 Pango.Language The an object of type Field 2.12.0.0 System.Byte The bi-directional level for this segment. Method 2.12.0.0 Pango.Analysis an object of type Internal method an object of type This is an internal method, and should not be used by user code. Field 2.12.0.0 System.Byte To be added. To be added. Property 2.12.0.0 System.Obsolete("Replaced by ShapeEngine property") Pango.EngineShape The engine for doing rendering-system-dependent processing. a Replaced by . Property 2.12.0.0 Pango.EngineShape The engine for doing rendering-system-dependent processing. a Field 2.12.0.0 Pango.Analysis returns a new gtk-sharp-2.12.40/doc/en/Pango/FontDescription.xml0000664000175000017500000006503212767740535016600 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque Represents the description of an ideal font. This class is used both to list what fonts are available on the system and also for specifying the characteristics of a font to load. Constructor 2.12.0.0 Default constructor Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 System.Double The size of the font in device units. A , the new size in Pango units. There are Pango units in one device unit. For an output backend where a device unit is a pixel, an AbsoluteSize value of 10 * gives a 10 pixel font. Method 2.12.0.0 System.Boolean a object a object Determines which better matches the current instance. if new_match is a better match. Determines if the style attributes of new_match are a closer match for the current instance than old_match, or if old_match is , determines if new_match is a match at all. Approximate matching is done for weight and style; other attributes must match exactly. Method 2.12.0.0 Pango.FontDescription Make a copy of an object of type Method 2.12.0.0 Pango.FontDescription Make a copy of an object of type Like , but only a shallow copy is made of the family name and other allocated fields. The result can only be used until it is modified or freed. This is meant to be used when the copy is only needed temporarily. Method 2.12.0.0 System.Boolean an object of type to test for equality Compares two font descriptions for equality. an object of type if the two font descriptions are proveably identical. (Two font descriptions may result in identical fonts being loaded, but still compare .) Property 2.12.0.0 System.String The family name of the font. The family name field. (Will be if not previously set.) The family name represents a family of related font styles, and will resolve to a particular . In some uses of , it is also possible to use a comma separated list of family names for this property. Property 2.12.0.0 System.String Sets the family name of the font without copying the string. The family name represents a family of related font styles, and will resolve to a particular . In some uses of , it is also possible to use a comma separated list of family names for this property. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Obsolete("Pango.FontDescription is now freed automatically") System.Void Frees a font description. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 Pango.FontDescription The string representation of the font description. Creates a new font description from a string representation. The object of type created. The form of the string representation is "[FAMILY-LIST] [STYLE-OPTIONS] [SIZE]", where: FAMILY-LIST is a comma separated list of families optionally terminated by a comma.STYLE-OPTIONS is a whitespace separated list of words where each WORD describes one of style, variant, weight, or stretch.SIZE is a decimal number (size in points) Any one of the options may be absent. If FAMILY-LIST is absent, then the family_name field of the resulting font description will be initialized to NULL. If STYLE-OPTIONS is missing, then all style options will be set to the default values. If SIZE is missing, the size in the resulting font description will be set to 0. Property 2.12.0.0 Pango.Gravity Gravity orientation of the font. To be added. To be added. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.UInt32 Computes a hash of a structure suitable to be used. the hash value. Method 2.12.0.0 System.Void The to merge from. If , replace fields in current instance with the corresponding values from , even if they are already exist. Merges the fields of a font description into the current instance. Method 2.12.0.0 System.Void an object of type an object of type Merges the fields of a font description into the current instance without copying the field data (shallow copy). Like , but only a shallow copy is made of the family name and other allocated fields. desc can only be used until is modified or freed. This is meant to be used when the merged font description is only needed temporarily. Property 2.12.0.0 Pango.FontMask Determines which fields in the font description have been set. a corresponding to the fields that have been set. Property 2.12.0.0 System.Int32 The size of the font in fractional points. The size field for the font description scaled by . Setting this field is in fractional points. When getting the Size the value is either in points or device units. Use to find out which is the case. Returns 0 if the size field has not previously been set. Use to find out if the field was explicitly set or not. There are pango units in one device unit - for fonts, font points are the device unit. Therefore, the size of the font in points is / . Use if you need to set a particular size in device units Property 2.12.0.0 System.Boolean Determines whether the size of the font is in points (not absolute) or device units (absolute). a , indicating whether the Size for the FontDescription is in points or device units. See and . Property 2.12.0.0 Pango.Stretch The stretch of the font. the stretch field for the font description. The stretch property specifies how narrow or wide the font should be. Property 2.12.0.0 Pango.Style The style of the font. the style for the font description Most fonts will either have a italic style or an oblique style, but not both, and font matching in Pango will match italic specifications with oblique fonts and vice-versa if an exact match is not found. Method 2.12.0.0 System.String Creates a filename representation of a font description. an object of type The filename created is identical to the result from calling , but with underscores instead of characters that are untypical in filenames, and in lower case only. Method 2.12.0.0 System.String To be added. To be added. To be added. Method 2.12.0.0 System.Void an object of type (bitmask of fields in the desc to unset). Unsets some of the fields in the . This merely marks the fields cleared, it does not clear the settings for those fields. To clear a family name set with so that it won't be returned by , you must actually set to . Property 2.12.0.0 Pango.Variant The variant of the font. the variant type for the font description. Property 2.12.0.0 Pango.Weight The weight (boldness) of the font. the weight for the font description. The weight property specifies how bold or light the font should be. In addition to the values of the enumeration, other intermediate numeric values are possible. gtk-sharp-2.12.40/doc/en/Pango/CairoShapeRendererFunc.xml0000664000175000017500000000210012767740535017772 00000000000000 pango-sharp 2.12.0.0 System.Delegate System.Void To be added. To be added. To be added. CairoShape renderer callback delegate. To be added. gtk-sharp-2.12.40/doc/en/Pango/AttrType.xml0000664000175000017500000003616312767740535015245 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Pango.AttrTypeGType)) This enumeration is used to distinguish between different types of attributes. This enumeration is used to distinguish between different types of attributes. Along with the predefined values, it is possible to allocate additional values for custom attributes using . The predefined values are given below. The type of structure used to store the attribute is listed in parentheses after the description. Field 2.12.0.0 Pango.AttrType Absolute font size. Field 2.12.0.0 Pango.AttrType Background color () Field 2.12.0.0 Pango.AttrType Whether fallback is enabled. Field 2.12.0.0 Pango.AttrType Font family name list () Field 2.12.0.0 Pango.AttrType Font description () Field 2.12.0.0 Pango.AttrType Foreground color () Field 2.12.0.0 Pango.AttrType Gravity. Field 2.12.0.0 Pango.AttrType Gravity Hint. Field 2.12.0.0 Pango.AttrType Invalid This marks it as an invalid attribute Field 2.12.0.0 Pango.AttrType Language () Field 2.12.0.0 Pango.AttrType Spacing between characters. Field 2.12.0.0 Pango.AttrType Baseline displacement () Field 2.12.0.0 Pango.AttrType Font size scale factor () Field 2.12.0.0 Pango.AttrType Shape () Field 2.12.0.0 Pango.AttrType Font size in points divided by () Field 2.12.0.0 Pango.AttrType Font stretch () Field 2.12.0.0 Pango.AttrType Whether the text has an struck-through () Field 2.12.0.0 Pango.AttrType Color of the strikethrough line. Field 2.12.0.0 Pango.AttrType Font slant style () Field 2.12.0.0 Pango.AttrType Whether the text has an underline () Field 2.12.0.0 Pango.AttrType Color of the underline. Field 2.12.0.0 Pango.AttrType Font variant (normal or small caps) () Field 2.12.0.0 Pango.AttrType Font weight () gtk-sharp-2.12.40/doc/en/Pango/AttrFamily.xml0000664000175000017500000000530012767740535015532 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Pango.Attribute An attribute representing a font family Constructor 2.12.0.0 the family or comman-separated list of families Creates a new font family attribute Property 2.12.0.0 System.String The font family, or comma-separated list of families a gtk-sharp-2.12.40/doc/en/Pango/AttrFilterFunc.xml0000664000175000017500000000231512767740535016355 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Boolean To be added. used by to filter out a subset of attributes for a list. To be added. Returns if the attribute should be filtered out gtk-sharp-2.12.40/doc/en/Pango/AttrStrikethroughColor.xml0000664000175000017500000000737112767740535020164 00000000000000 pango-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Pango.Attribute An attribute representing the color of a strikethrough line Constructor 2.12.0.0 a Creates a new strikethrough color attribute. Constructor 2.12.0.0 the red value the green value the blue value Creates a new strikethrough color attribute. Property 2.12.0.0 Pango.Color The color represented by this attribute a gtk-sharp-2.12.40/doc/en/Pango/GravityHint.xml0000664000175000017500000000436212767740535015735 00000000000000 pango-sharp 2.12.0.0 System.Enum GLib.GType(typeof(Pango.GravityHintGType)) Gravity Hint enumeration. To be added. Field 2.12.0.0 Pango.GravityHint To be added. Field 2.12.0.0 Pango.GravityHint To be added. Field 2.12.0.0 Pango.GravityHint To be added. gtk-sharp-2.12.40/doc/en/Pango/FontFace.xml0000664000175000017500000001604712767740535015155 00000000000000 pango-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Used to represent a group of fonts with the same family, slant, weight, width, but varying sizes. Constructor 2.12.0.0 Protected constructor Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 Pango.FontDescription Returns the family, style, variant, weight and stretch of a . a newly-created structure holding the description of the face. The size field of the resulting font description will be unset. Property 2.12.0.0 System.String A name representing the style of this face among the different faces in the for the face. the face name for the fontface. This name is unique among all faces in the family and is suitable for displaying to users. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.Boolean To be added. To be added. To be added. Method 2.12.0.0 System.Void a a To be added To be added gtk-sharp-2.12.40/doc/en/ns-Art.xml0000664000175000017500000000064312767740535013563 00000000000000 Art handles the drawing capabilities in Gnome. All complex rendering is handled here. Art is a 2D drawing library. Its goal is to be a high-quality vector-based 2D library with anti-aliasing and alpha composition. gtk-sharp-2.12.40/doc/en/ns-Atk.xml0000664000175000017500000000067312767740535013557 00000000000000 The Accessibility Toolkit. The Atk library provides a set of interfaces for accessibility. By supporting the Atk interfaces, an application or toolkit can be used such as tools such as screen readers, magnifiers, and alternative input devices. gtk-sharp-2.12.40/doc/en/GConf/0000775000175000017500000000000012767740535012746 500000000000000gtk-sharp-2.12.40/doc/en/GConf/NotifyEventHandler.xml0000664000175000017500000000324512767740535017164 00000000000000 gconf-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. NotifyEventHandler is a delegate object that can be used to notify your program whenever a key's value is changed, either in your program or externally (i.e. via gconf-editor). You only have to attach a GConf.NotifyEventHandler delegate to a key, this way: gconfClient.AddNotify (key, new GConf.NotifyEventHandler(function)); This is very important for graphic interfaces, as it is a good practice to make the application react instantly to preference changes. gtk-sharp-2.12.40/doc/en/GConf/Engine.xml0000664000175000017500000001235512767740535014623 00000000000000 gconf-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object System.IDisposable Configuration Engine class. Method 2.24.0.0 System.Void a a indicating if successfully committed items should be removed from the ChangeSet. Commits a change set to the engine. Property 2.24.0.0 GConf.Engine Gets the default configuration engine. a This is the engine to use for most application code. Method 2.24.0.0 System.Void Releases the native engine ref. Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 GConf.ChangeSet a Reverses the values for a ChangeSet. a containing the keys/values reversed from non-default values. gtk-sharp-2.12.40/doc/en/GConf/Client.xml0000664000175000017500000001265112767740535014633 00000000000000 gconf-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. GConf.ClientBase Basic functions to initialize GConf and get/set values. The following example attempts to retrieve a setting from GConf, and set a default value otherwise. string MyVal; GConf.Client gconfClient = new GConf.Client (); try { MyVal = (string) gconfClient.Get ("/apps/monoapps/SampleApp/setting1")); } catch (GConf.NoSuchKeyException) { gconfClient.Set ("/apps/monoapps/SampleApp/setting1", "sample"); } Constructor 2.24.0.0 Creates a new . This is the default constructor for . Method 2.24.0.0 System.Void an object of type an object of type Registers a notification request. Method 2.24.0.0 System.Object To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Void an object of type an object of type Removes a notification request. Method 2.24.0.0 System.Void Suggests that you have just finished a block of changes, and it would be an optimal time to sync to permanent storage. This function is just a "hint" provided to maximize efficiency and minimize data loss. gtk-sharp-2.12.40/doc/en/GConf/NotifyEventArgs.xml0000664000175000017500000000654312767740535016507 00000000000000 gconf-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.EventArgs Arguments of the GConf Notify event that was called due to a GConf key being added, removed or updated. Constructor 2.24.0.0 a a This constructor is called to initialize a NotifyEventArgs with the key/value that was updated, removed or added in GConf Property 2.24.0.0 System.String This NotifyEventArgs property refers to the key which value modification, addition or removal cause the event to be raised. a string for the key name Property 2.24.0.0 System.Object This NotifyEventArgs property refers to the GConf Value from an entry which modification, addition or removal cause the event to be raised. the object stored in the GConf which modification, removal or addition cause the event to be raised. gtk-sharp-2.12.40/doc/en/GConf/ChangeSet.xml0000664000175000017500000000745412767740535015263 00000000000000 gconf-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. GConf.ClientBase System.IDisposable A ChangeSet is a set of changes to the GConf database that can be commited and reversed easily. The changes can be both set and unset operations. Currently the ChangeSet operations are not atomic, and not specially optimized for. However, it is suitable for use, for instance, preferences dialogs. Constructor 2.24.0.0 Initializes a new ChangeSet object Method 2.24.0.0 System.Void Disposes the resources associated with the object Called by Finalize Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Object To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/GConf/ClientBase.xml0000664000175000017500000000636312767740535015431 00000000000000 gconf-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Object Abstract class; extend this to create objects that behave like GConf clients. Constructor 2.24.0.0 Protected constructor. Method 2.24.0.0 System.Object a Get the value stored at key . a Method 2.24.0.0 System.Void a a Set the value stored at key to . gtk-sharp-2.12.40/doc/en/GConf/NoSuchKeyException.xml0000664000175000017500000000461212767740535017142 00000000000000 gconf-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Exception This Exception is thrown when a key is not found in the user GConf file This exception is thrown by the Get methods of the ChangeSet and Client classes when a value is requested for a key that does not exist. Constructor 2.24.0.0 Public constructor. Constructor 2.24.0.0 a , name of the key that was not found. Public constructor. gtk-sharp-2.12.40/doc/en/Atk/0000775000175000017500000000000012767740535012471 500000000000000gtk-sharp-2.12.40/doc/en/Atk/Object.xml0000664000175000017500000015033112767740535014344 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object The base object class for the Accessibility Toolkit API. This class is the primary class for accessibility support via the Accessibility ToolKit (Atk). Objects which are instances of (or instances of -derived types) are queried for properties which relate basic (and generic) properties of a UI component such as name and description. Instances of may also be queried as to whether they implement other Atk interfaces (e.g. , , etc.), as appropriate to the role which a given UI component plays in a user interface. All UI components in an application which provide useful information or services to the user must provide corresponding instances on request (in Gtk, for instance, usually on a call to ), either via Atk support built into the toolkit for the widget class or ancestor class, or in the case of custom widgets, if the inherited implementation is insufficient, via instances of a new subclass. Constructor 2.12.0.0 Default constructor Constructor 2.12.0.0 System.Obsolete a Internal constructor This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Event 2.12.0.0 GLib.Signal("active_descendant_changed") Atk.ActiveDescendantChangedHandler To be added To be added Method 2.12.0.0 System.Boolean a a To be added a To be added Property 2.12.0.0 GLib.Property("atk_object_name_property_component_layer") System.Int32 To be added an object of type To be added Property 2.12.0.0 GLib.Property("atk_object_name_property_component_mdi_zorder") System.Int32 To be added an object of type To be added Property 2.12.0.0 GLib.Property("atk_object_name_property_description") System.String To be added an object of type To be added Property 2.12.0.0 GLib.Property("atk_object_name_property_hypertext_num_links") System.Int32 To be added a To be added Property 2.12.0.0 GLib.Property("atk_object_name_property_name") System.String To be added an object of type To be added Property 2.12.0.0 GLib.Property("atk_object_name_property_parent") Atk.Object To be added an object of type To be added Property 2.12.0.0 GLib.Property("atk_object_name_property_role") System.Int32 To be added an object of type To be added Property 2.12.0.0 GLib.Property("atk_object_name_property_table_caption") System.String To be added an object of type To be added Property 2.12.0.0 GLib.Property("atk_object_name_property_table_caption_object") Atk.Object To be added a To be added Property 2.12.0.0 GLib.Property("atk_object_name_property_table_column_description") System.String To be added an object of type To be added Property 2.12.0.0 GLib.Property("atk_object_name_property_table_column_header") Atk.Object To be added an object of type To be added Property 2.12.0.0 GLib.Property("atk_object_name_property_table_row_description") System.String To be added an object of type To be added Property 2.12.0.0 GLib.Property("atk_object_name_property_table_row_header") Atk.Object To be added an object of type To be added Property 2.12.0.0 GLib.Property("atk_object_name_property_table_summary") Atk.Object To be added an object of type To be added Property 2.12.0.0 GLib.Property("atk_object_name_property_value") System.Double To be added an object of type To be added Property 2.12.0.0 Atk.Attribute[] To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("children_changed") Atk.ChildrenChangedHandler To be added To be added Method 2.12.0.0 System.UInt32 an object of type To be added an object of type To be added Property 2.12.0.0 System.String To be added an object of type To be added Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Event 2.12.0.0 GLib.Signal("focus_event") Atk.FocusEventHandler To be added To be added Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.Int32 To be added an object of type To be added Method 2.12.0.0 System.Void an object of type To be added To be added Property 2.12.0.0 Atk.Layer To be added an object of type To be added Property 2.12.0.0 System.Int32 To be added an object of type To be added Property 2.12.0.0 System.Int32 To be added an object of type To be added Property 2.12.0.0 System.String To be added an object of type To be added Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void an object of type an object of type To be added To be added Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideActiveDescendantChanged", Type=typeof(Atk.Object)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideChildrenChanged", Type=typeof(Atk.Object)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideFocusEvent", Type=typeof(Atk.Object)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideGetAttributes", Type=typeof(Atk.Object)) Atk.Attribute[] To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideIndexInParent", Type=typeof(Atk.Object)) System.Int32 To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideNChildren", Type=typeof(Atk.Object)) System.Int32 To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePropertyChange", Type=typeof(Atk.Object)) System.Void To be added. Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRefChild", Type=typeof(Atk.Object)) Atk.Object To be added. To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRefRelationSet", Type=typeof(Atk.Object)) Atk.RelationSet To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRefStateSet", Type=typeof(Atk.Object)) Atk.StateSet To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideStateChange", Type=typeof(Atk.Object)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideVisibleDataChanged", Type=typeof(Atk.Object)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 2.12.0.0 Atk.Object To be added an object of type To be added Event 2.12.0.0 GLib.Signal("property_change") Atk.PropertyChangeEventHandler To be added To be added Method 2.12.0.0 Atk.Object an object of type To be added an object of type To be added Method 2.12.0.0 Atk.RelationSet To be added an object of type To be added Method 2.12.0.0 Atk.StateSet To be added an object of type To be added Method 2.12.0.0 System.Void an object of type To be added To be added Method 2.12.0.0 System.Boolean a a To be added a To be added Property 2.12.0.0 Atk.Role To be added an object of type To be added Event 2.12.0.0 GLib.Signal("state_change") Atk.StateChangeHandler To be added To be added Event 2.12.0.0 GLib.Signal("visible_data_changed") System.EventHandler To be added To be added gtk-sharp-2.12.40/doc/en/Atk/Global.xml0000664000175000017500000003264312767740535014343 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Global API elements for Constructor 2.12.0.0 Default constructor Method 2.12.0.0 System.UInt32 a To be added a To be added Method 2.12.0.0 System.UInt32 To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.UInt32 a To be added a To be added Property 2.12.0.0 Atk.Registry To be added a To be added Property 2.12.0.0 Atk.Object To be added a To be added Method 2.12.0.0 System.Void a To be added To be added Method 2.12.0.0 System.Void a To be added To be added Method 2.12.0.0 System.Void a To be added To be added Method 2.12.0.0 Atk.Role a To be added a To be added Method 2.12.0.0 System.String a To be added a To be added Method 2.12.0.0 System.String a To be added a To be added Method 2.12.0.0 Atk.Role a To be added a To be added Property 2.12.0.0 Atk.Object To be added a To be added Property 2.12.0.0 System.String To be added a To be added Property 2.12.0.0 System.String To be added a To be added Property 2.12.0.0 System.String To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/ObjectFactory.xml0000664000175000017500000002305712767740535015700 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object The base object class for a factory used to create accessible objects for objects of a specific . The function is normally called to store in the registry the factory type to be used to create an accessible of a particular . Constructor 2.12.0.0 Default constructor Constructor 2.12.0.0 System.Obsolete a Internal constructor This is a constructor used by derivative types of that would have their own GLib type assigned to it. This is not typically used by C# code. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.GType To be added a To be added Method 2.12.0.0 Atk.Object an object of type To be added an object of type To be added Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 System.Void To be added To be added Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCreateAccessible", Type=typeof(Atk.ObjectFactory)) Atk.Object To be added. To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideGetAccessibleType", Type=typeof(Atk.ObjectFactory)) GLib.GType To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideInvalidate", Type=typeof(Atk.ObjectFactory)) System.Void To be added. To be added. Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/StateChangeArgs.xml0000664000175000017500000000554712767740535016151 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.12.0.0 System.Boolean To be added To be added: an object of type 'bool' To be added gtk-sharp-2.12.40/doc/en/Atk/ChildrenChangedArgs.xml0000664000175000017500000000567112767740535016763 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.IntPtr To be added To be added: an object of type 'IntPtr' To be added Property 2.12.0.0 System.UInt32 To be added To be added: an object of type 'uint' To be added gtk-sharp-2.12.40/doc/en/Atk/KeyEventStruct.xml0000664000175000017500000001427212767740535016100 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Field 2.12.0.0 System.UInt16 To be added To be added Field 2.12.0.0 System.UInt32 To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Method 2.12.0.0 Atk.KeyEventStruct an object of type Internal method a This is an internal method and should not be used by user code. Field 2.12.0.0 System.UInt32 To be added To be added Field 2.12.0.0 System.String To be added To be added Field 2.12.0.0 System.UInt32 To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 Atk.KeyEventStruct Returns an empty gtk-sharp-2.12.40/doc/en/Atk/EditableTextAdapter.xml0000664000175000017500000003065612767740535017024 00000000000000 atk-sharp 2.12.0.0 GLib.GInterfaceAdapter Atk.EditableText GLib.IWrapper EditableText adapter. Adapts implementations to the full API. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.EditableText To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.EditableText To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. Property 2.12.0.0 Atk.EditableTextImplementor To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/ColumnDeletedArgs.xml0000664000175000017500000000557612767740535016511 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Int32 To be added To be added: an object of type 'int' To be added Property 2.12.0.0 System.Int32 To be added To be added: an object of type 'int' To be added gtk-sharp-2.12.40/doc/en/Atk/StreamableContentImplementor.xml0000664000175000017500000000757712767740535021001 00000000000000 atk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Atk.StreamableContentAdapter)) StreamableContent implementor interface. The implementable portion of the interface. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Method 2.12.0.0 System.IntPtr To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/Hyperlink.xml0000664000175000017500000006650012767740535015107 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Atk.Action An ATK object which encapsulates a link or set of links in a hypertext document. Constructor 2.12.0.0 Default constructor Constructor 2.12.0.0 System.Obsolete a Internal constructor This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Boolean an object of type To be added an object of type To be added Method 2.12.0.0 System.Void To be added. To be added. Property 2.12.0.0 GLib.Property("end-index") System.Int32 Gets the index with the hypertext document at which this link ends. the index with the hypertext document at which this link ends Method 2.12.0.0 System.String an object of type To be added an object of type To be added Method 2.12.0.0 System.String an object of type To be added an object of type To be added Method 2.12.0.0 System.String a To be added a To be added Method 2.12.0.0 System.String an object of type To be added an object of type To be added Method 2.12.0.0 Atk.Object an object of type Returns the item associated with this hyperlinks nth anchor. an object of type For instance, the returned will implement if the link is a text hyperlink, if the link is an image hyperlink etc. Multiple anchors are primarily used by client-side image maps. Method 2.12.0.0 System.String a (zero-index) integer specifying the desired anchor Get a the URI associated with the anchor specified by a string specifying the URI Multiple anchors are primarily used by client-side image maps. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.Boolean Indicates whether the link currently displays some or all of its content inline. whether or not this link displays its content inline. Ordinary HTML links will usually return , but an inline <src> HTML element will return . Property 2.12.0.0 System.Boolean To be added a To be added Property 2.12.0.0 System.Boolean Since the document that a link is associated with may have changed this method returns if the link is still valid (with respect to the document it references) and otherwise. whether or not this link is still valid Event 2.12.0.0 GLib.Signal("link_activated") System.EventHandler To be added To be added Property 2.12.0.0 System.Int32 The number of actions. an object of type Property 2.12.0.0 System.Int32 Gets the number of anchors associated with this hyperlink. the number of anchors associated with this hyperlink Property 2.12.0.0 GLib.Property("number-of-anchors") System.Int32 To be added a To be added Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideGetEndIndex", Type=typeof(Atk.Hyperlink)) System.Int32 To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideGetNAnchors", Type=typeof(Atk.Hyperlink)) System.Int32 To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideGetObject", Type=typeof(Atk.Hyperlink)) Atk.Object To be added. To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideGetStartIndex", Type=typeof(Atk.Hyperlink)) System.Int32 To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideGetUri", Type=typeof(Atk.Hyperlink)) System.String To be added. To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideIsSelectedLink", Type=typeof(Atk.Hyperlink)) System.Boolean To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideIsValid", Type=typeof(Atk.Hyperlink)) System.Boolean To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideLinkActivated", Type=typeof(Atk.Hyperlink)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideLinkState", Type=typeof(Atk.Hyperlink)) System.UInt32 To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("selected-link") System.Boolean To be added a To be added Method 2.12.0.0 System.Boolean an object of type an object of type To be added an object of type To be added Property 2.12.0.0 GLib.Property("start-index") System.Int32 Gets the index with the hypertext document at which this link begins. the index with the hypertext document at which this link begins gtk-sharp-2.12.40/doc/en/Atk/CoordType.xml0000664000175000017500000000441212767740535015044 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Atk.CoordTypeGType)) Specifies how xy coordinates are to be interpreted. Used by functions such as and Field 2.12.0.0 Atk.CoordType specifies xy coordinates relative to the screen Field 2.12.0.0 Atk.CoordType specifies xy coordinates relative to the widget's top-level window gtk-sharp-2.12.40/doc/en/Atk/DocumentImplementor.xml0000664000175000017500000001210112767740535017120 00000000000000 atk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Atk.DocumentAdapter)) Document implementor interface. The implementable portion of the interface. Property 2.12.0.0 Atk.Attribute[] To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/ChildrenChangedHandler.xml0000664000175000017500000000316112767740535017434 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ChildrenChangedHandler instance to the event. The methods referenced by the ChildrenChangedHandler instance are invoked whenever the event is raised, until the ChildrenChangedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Atk/StateType.xml0000664000175000017500000006320612767740535015064 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Atk.StateTypeGType)) The possible types of states of an object Field 2.12.0.0 Atk.StateType Indicates a window is currently the active window Field 2.12.0.0 Atk.StateType To be added. Field 2.12.0.0 Atk.StateType Indicates that the object is armed Field 2.12.0.0 Atk.StateType Indicates the current object is busy Field 2.12.0.0 Atk.StateType Indicates this object is currently checked Field 2.12.0.0 Atk.StateType To be added. Field 2.12.0.0 Atk.StateType Indicates the user interface object corresponding to this object no longer exists Field 2.12.0.0 Atk.StateType Indicates the user can change the contents of this object Field 2.12.0.0 Atk.StateType Indicates that this object is enabled. An inconsistent is an example of an object which is sensitive but not enabled. Field 2.12.0.0 Atk.StateType Indicates this object allows progressive disclosure of its children Field 2.12.0.0 Atk.StateType Indicates this object its expanded Field 2.12.0.0 Atk.StateType Indicates this object can accept keyboard focus, which means all events resulting from typing on the keyboard will normally be passed to it when it has focus Field 2.12.0.0 Atk.StateType Indicates this object currently has the keyboard focus Field 2.12.0.0 Atk.StateType Indicates the orientation of this object is horizontal Field 2.12.0.0 Atk.StateType Indicates this object is minimized and is represented only by an icon Field 2.12.0.0 Atk.StateType Indicates that a check box is in a state other than checked or not checked. Field 2.12.0.0 Atk.StateType Indicates an invalid state Field 2.12.0.0 Atk.StateType To be added. Field 2.12.0.0 Atk.StateType Not a valid state, used for finding end of enumeration Field 2.12.0.0 Atk.StateType Indicates that "active-descendant-changed" event is sent when children become 'active' (i.e. are selected or navigated to onscreen). Used to prevent need to enumerate all children in very large containers, like tables. Field 2.12.0.0 Atk.StateType Indicates something must be done with this object before the user can interact with an object in a different window Field 2.12.0.0 Atk.StateType Indicates this (text) object can contain multiple lines of text Field 2.12.0.0 Atk.StateType Indicates this object allows more than one of its children to be selected at the same time Field 2.12.0.0 Atk.StateType Indicates this object paints every pixel within its rectangular region Field 2.12.0.0 Atk.StateType Indicates this object is currently pressed Field 2.12.0.0 Atk.StateType Indicates that explicit user interaction with an object is required by the user interface, e.g. a required field in a "web-form" interface. Field 2.12.0.0 Atk.StateType Indicates the size of this object is not fixed Field 2.12.0.0 Atk.StateType Indicates this object is the child of an object that allows its children to be selected and that this child is one of those children that can be selected Field 2.12.0.0 Atk.StateType To be added. Field 2.12.0.0 Atk.StateType Indicates this object is the child of an object that allows its children to be selected and that this child is one of those children that has been selected Field 2.12.0.0 Atk.StateType Indicates this object is sensitive Field 2.12.0.0 Atk.StateType Indicates this object, the object's parent, the object's parent's parent, and so on, are all visible Field 2.12.0.0 Atk.StateType Indicates this (text) object can contain only a single line of text Field 2.12.0.0 Atk.StateType Indicates that the index associated with this object has changed since the user accessed the object. Field 2.12.0.0 Atk.StateType To be added. Field 2.12.0.0 Atk.StateType Indicates this object is transient Field 2.12.0.0 Atk.StateType Indicates that an object is truncated, e.g. a text value in a speradsheet cell. Field 2.12.0.0 Atk.StateType Indicates the orientation of this object is vertical Field 2.12.0.0 Atk.StateType Indicates this object is visible Field 2.12.0.0 Atk.StateType To be added. gtk-sharp-2.12.40/doc/en/Atk/Image.xml0000664000175000017500000001517612767740535014167 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.IWrapper Implemented by AtkObject subtypes on behalf of components which display image/pixmap information onscreen, and which provide information (other than just widget borders, etc.) via that image content. should be implemented by subtypes on behalf of components which display image/pixmap information onscreen, and which provide information (other than just widget borders, etc.) via that image content. For instance, icons, buttons with icons, toolbar elements, and image viewing panes typically should implement AtkImage. primarily provides two types of information: coordinate information (useful for screen review mode of screenreaders, and for use by onscreen magnifiers), and descriptive information. The descriptive information is provided for alternative, text-only presentation of the most significant information present in the image. Method 2.12.0.0 System.Void x coordinate position y coordinate position specifies whether the coordinates are relative to the screen or to the components top level window Gets the position of the image in the form of a point specifying the images top-left corner. The values of and are returned as -1 if the values cannot be obtained. Method 2.12.0.0 System.Void the image width the image height Get the width and height in pixels for the specified image. The values of and are returned as -1 if the values cannot be obtained. Property 2.12.0.0 System.String Get a textual description of this image. a string representing the image description Property 2.12.0.0 System.String To be added. To be added. To be added. Method 2.12.0.0 System.Boolean a description to set for image Sets the textual description for this image. , or if operation could not be completed. gtk-sharp-2.12.40/doc/en/Atk/HypertextAdapter.xml0000664000175000017500000002243112767740535016432 00000000000000 atk-sharp 2.12.0.0 GLib.GInterfaceAdapter Atk.Hypertext GLib.IWrapper Hypertext adapter. Adapts implementations to the full API. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Method 2.12.0.0 Atk.Hyperlink To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.Hypertext To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.Hypertext To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. Property 2.12.0.0 Atk.HypertextImplementor To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("link_selected") Atk.LinkSelectedHandler To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/Function.xml0000664000175000017500000000160712767740535014724 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Boolean To be added To be added. To be added gtk-sharp-2.12.40/doc/en/Atk/Table.xml0000664000175000017500000007345112767740535014174 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.IWrapper The interface implemented for UI components which contain tabular or row/column information. should be implemented by components which present elements ordered via rows and columns. It may also be used to present tree-structured information if the nodes of the trees can be said to contain multiple "columns". Individual elements of an are typically referred to as "cells", and these cells are exposed by as child s of the . Both row/column and child-index-based access to these children is provided. Children of are frequently "lightweight" objects, that is, they may not have backing widgets in the host UI toolkit. They are therefore often transient. Since tables are often very complex, includes provision for offering simplified summary information, as well as row and column headers and captions. Headers and captions are s which may implement other interfaces (, , etc.) as appropriate. summaries may themselves be (simplified) s, etc. Method 2.12.0.0 System.Boolean To be added: an object of type 'int' To be added To be added: an object of type 'bool' To be added Method 2.12.0.0 System.Boolean To be added: an object of type 'int' To be added To be added: an object of type 'bool' To be added Property 2.12.0.0 Atk.Object To be added To be added: an object of type 'Atk.Object' To be added Event 2.12.0.0 Atk.ColumnDeletedHandler To be added To be added Event 2.12.0.0 Atk.ColumnInsertedHandler To be added To be added Event 2.12.0.0 System.EventHandler To be added To be added Method 2.12.0.0 System.Int32 a To be added a To be added Method 2.12.0.0 System.String To be added: an object of type 'int' To be added To be added: an object of type 'string' To be added Method 2.12.0.0 System.Int32 To be added: an object of type 'int' To be added: an object of type 'int' To be added To be added: an object of type 'int' To be added Method 2.12.0.0 Atk.Object To be added: an object of type 'int' To be added To be added: an object of type 'Atk.Object' To be added Method 2.12.0.0 System.Int32 To be added: an object of type 'int' To be added: an object of type 'int' To be added To be added: an object of type 'int' To be added Method 2.12.0.0 System.Int32 a To be added a To be added Method 2.12.0.0 System.String To be added: an object of type 'int' To be added To be added: an object of type 'string' To be added Method 2.12.0.0 System.Int32 To be added: an object of type 'int' To be added: an object of type 'int' To be added To be added: an object of type 'int' To be added Method 2.12.0.0 Atk.Object To be added: an object of type 'int' To be added To be added: an object of type 'Atk.Object' To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a To be added Method 2.12.0.0 System.Boolean To be added: an object of type 'int' To be added To be added: an object of type 'bool' To be added Method 2.12.0.0 System.Boolean To be added: an object of type 'int' To be added To be added: an object of type 'bool' To be added Method 2.12.0.0 System.Boolean To be added: an object of type 'int' To be added: an object of type 'int' To be added To be added: an object of type 'bool' To be added Event 2.12.0.0 System.EventHandler To be added To be added Property 2.12.0.0 System.Int32 To be added To be added: an object of type 'int' To be added Property 2.12.0.0 System.Int32 To be added To be added: an object of type 'int' To be added Method 2.12.0.0 Atk.Object To be added: an object of type 'int' To be added: an object of type 'int' To be added To be added: an object of type 'Atk.Object' To be added Method 2.12.0.0 System.Boolean To be added: an object of type 'int' To be added To be added: an object of type 'bool' To be added Method 2.12.0.0 System.Boolean To be added: an object of type 'int' To be added To be added: an object of type 'bool' To be added Event 2.12.0.0 Atk.RowDeletedHandler To be added To be added Event 2.12.0.0 Atk.RowInsertedHandler To be added To be added Event 2.12.0.0 System.EventHandler To be added To be added Property 2.12.0.0 System.Int32[] To be added. To be added. To be added. Property 2.12.0.0 System.Int32[] To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added: an object of type 'int' To be added: an object of type 'string' To be added To be added Method 2.12.0.0 System.Void To be added: an object of type 'int' To be added: an object of type 'Atk.Object' To be added To be added Method 2.12.0.0 System.Void To be added: an object of type 'int' To be added: an object of type 'string' To be added To be added Method 2.12.0.0 System.Void To be added: an object of type 'int' To be added: an object of type 'Atk.Object' To be added To be added Property 2.12.0.0 Atk.Object To be added To be added: an object of type 'Atk.Object' To be added gtk-sharp-2.12.40/doc/en/Atk/ComponentImplementor.xml0000664000175000017500000003273212767740535017320 00000000000000 atk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Atk.ComponentAdapter)) Component implementor interface. The implementable portion of the interface. Method 2.12.0.0 System.UInt32 To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Double To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. Property 2.12.0.0 Atk.Layer To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Method 2.12.0.0 Atk.Object To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/ColumnInsertedArgs.xml0000664000175000017500000000561212767740535016707 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Int32 To be added To be added: an object of type 'int' To be added Property 2.12.0.0 System.Int32 To be added To be added: an object of type 'int' To be added gtk-sharp-2.12.40/doc/en/Atk/BoundsChangedArgs.xml0000664000175000017500000000551512767740535016462 00000000000000 atk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Atk.Rectangle To be added a To be added gtk-sharp-2.12.40/doc/en/Atk/Util.xml0000664000175000017500000002200612767740535014050 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object This is a utility class which supports the adding and removal of event listeners. The adding and removing of the listeners must be done in the same thread. The file also contains a number of utility functions. Constructor 2.12.0.0 Default constructor Constructor 2.12.0.0 System.Obsolete a Internal constructor This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 Atk.Util+AddGlobalEventListenerDelegate To be added. To be added. To be added. Property 2.12.0.0 Atk.Util+AddKeyEventListenerDelegate To be added. To be added. To be added. Property 2.12.0.0 Atk.Util+GetRootDelegate To be added. To be added. To be added. Property 2.12.0.0 Atk.Util+GetToolkitNameDelegate To be added. To be added. To be added. Property 2.12.0.0 Atk.Util+GetToolkitVersionDelegate To be added. To be added. To be added. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 Atk.Util+RemoveListenerDelegate To be added. To be added. To be added. Property 2.12.0.0 Atk.Util+RemoveListenerDelegate To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/RowInsertedHandler.xml0000664000175000017500000000310512767740535016675 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the RowInsertedHandler instance to the event. The methods referenced by the RowInsertedHandler instance are invoked whenever the event is raised, until the RowInsertedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Atk/Registry.xml0000664000175000017500000001506112767740535014746 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object An object used to store the of the factories used to create an accessible object for an object of a particular . Constructor 2.12.0.0 Default constructor Constructor 2.12.0.0 System.Obsolete a Internal constructor This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 Atk.ObjectFactory a To be added a To be added Method 2.12.0.0 GLib.GType a To be added a To be added Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 System.Void a a To be added To be added gtk-sharp-2.12.40/doc/en/Atk/TextClipType.xml0000664000175000017500000000752612767740535015543 00000000000000 atk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Atk.TextClipTypeGType)) Describes the type of clipping required. Field 2.12.0.0 Atk.TextClipType Only text fully within mix/max bound is retained To be added Field 2.12.0.0 Atk.TextClipType Text clipped by max coordinate is omitted To be added Field 2.12.0.0 Atk.TextClipType Text clipped by min coordinate is omitted To be added Field 2.12.0.0 Atk.TextClipType No clipping to be done To be added gtk-sharp-2.12.40/doc/en/Atk/EventListenerInit.xml0000664000175000017500000000160412767740535016547 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added To be added gtk-sharp-2.12.40/doc/en/Atk/Misc.xml0000664000175000017500000001631412767740535014033 00000000000000 atk-sharp 2.12.0.0 GLib.Object To be added. To be added. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 System.Obsolete To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 Atk.Misc To be added. To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideThreadsEnter", Type=typeof(Atk.Misc)) System.Void To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideThreadsLeave", Type=typeof(Atk.Misc)) System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/TextChangedHandler.xml0000664000175000017500000000357312767740535016637 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the TextChangedHandler instance to the event. The methods referenced by the TextChangedHandler instance are invoked whenever the event is raised, until the TextChangedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Atk/ActiveDescendantChangedHandler.xml0000664000175000017500000000335312767740535021113 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ActiveDescendantChangedHandler instance to the event. The methods referenced by the ActiveDescendantChangedHandler instance are invoked whenever the event is raised, until the ActiveDescendantChangedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Atk/TextImplementor.xml0000664000175000017500000005017212767740535016300 00000000000000 atk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Atk.TextAdapter)) Text implementor interface. The implementable portion of the interface. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Property 2.12.0.0 Atk.Attribute[] To be added. To be added. To be added. Method 2.12.0.0 Atk.TextRange To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Char To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.Attribute[] To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/RowDeletedArgs.xml0000664000175000017500000000553212767740535016013 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Int32 To be added To be added: an object of type 'int' To be added Property 2.12.0.0 System.Int32 To be added To be added: an object of type 'int' To be added gtk-sharp-2.12.40/doc/en/Atk/LinkSelectedArgs.xml0000664000175000017500000000545712767740535016331 00000000000000 atk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Int32 To be added a To be added gtk-sharp-2.12.40/doc/en/Atk/GObjectAccessible.xml0000664000175000017500000001363512767740535016436 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Atk.Object This object class is derived from and can be used as a basis implementing accessible objects. This object class is derived from . It can be used as a basis for implementing accessible objects for s which are not derived from . One example of its use is in providing an accessible object for in the GAIL library. Constructor 2.12.0.0 Default constructor Constructor 2.12.0.0 System.Obsolete a Internal constructor This is a constructor used by derivative types of that would have their own GLib type assigned to it. This is not typically used by C# code. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 Atk.Object an object of type Gets the accessible object for the specified . the for Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Object Gets the GObject for which is the accessible object. a which is the object for which is the accessible object gtk-sharp-2.12.40/doc/en/Atk/ValueAdapter.xml0000664000175000017500000002440712767740535015517 00000000000000 atk-sharp 2.12.0.0 GLib.GInterfaceAdapter Atk.Value GLib.IWrapper Value adapter. Adapts implementations to the full API. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 Atk.Value To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.Value To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. Property 2.12.0.0 Atk.ValueImplementor To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/TextChangedDetail.xml0000664000175000017500000000312312767740535016453 00000000000000 atk-sharp 2.12.0.0 System.Enum To be added. To be added. Field 2.12.0.0 Atk.TextChangedDetail To be added. Field 2.12.0.0 Atk.TextChangedDetail To be added. gtk-sharp-2.12.40/doc/en/Atk/ImplementorAdapter.xml0000664000175000017500000001614712767740535016740 00000000000000 atk-sharp 2.12.0.0 GLib.GInterfaceAdapter Atk.Implementor GLib.IWrapper Implementor adapter. Adapts implementations to the full API. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Method 2.12.0.0 Atk.Implementor To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.Implementor To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. Property 2.12.0.0 Atk.ImplementorImplementor To be added. To be added. To be added. Method 2.12.0.0 Atk.Object To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/Util+GetRootDelegate.xml0000664000175000017500000000136212767740535017064 00000000000000 atk-sharp 2.12.0.0 System.Delegate Atk.Object To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/StateChangeHandler.xml0000664000175000017500000000310112767740535016612 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the StateChangeHandler instance to the event. The methods referenced by the StateChangeHandler instance are invoked whenever the event is raised, until the StateChangeHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Atk/FocusHandler.xml0000664000175000017500000000210512767740535015506 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. To be added gtk-sharp-2.12.40/doc/en/Atk/RowDeletedHandler.xml0000664000175000017500000000307112767740535016470 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the RowDeletedHandler instance to the event. The methods referenced by the RowDeletedHandler instance are invoked whenever the event is raised, until the RowDeletedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Atk/StateSet.xml0000664000175000017500000003224312767740535014673 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object An determines a component's state set. An determines a component's state set. It is composed of a set of s. Constructor 2.12.0.0 Default constructor Constructor 2.12.0.0 System.Obsolete a Internal constructor This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Boolean an object of type Add a new state for the specified type to the current state set if it is not already present. an object of type , if the state for type is not already in set. Method 2.12.0.0 Atk.StateType a Add the states for the specified types to the current state set. a To be added Method 2.12.0.0 Atk.StateSet an object of type Constructs the intersection of the two sets, returning if the intersection is empty. an object of type which is the intersection of the two sets. Method 2.12.0.0 System.Void Removes all states from the state set. Method 2.12.0.0 System.Boolean an object of type Checks whether the state for the specified type is in the specified set. an object of type , if type is the state type is in set. Method 2.12.0.0 System.Boolean a a Checks whether the states for all the specified types are in the specified set. a To be added Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.Boolean Checks whether the state set is empty, i.e. has no states set. a , if the StateSet has no states set, otherwise Method 2.12.0.0 Atk.StateSet an object of type Constructs the union of the two sets. an object of type which is the union of the two sets, returning is empty. To be added Method 2.12.0.0 System.Boolean an object of type Removes the state for the specified type from the state set. an object of type , if type was the state type is in set. Method 2.12.0.0 Atk.StateSet an object of type Constructs the exclusive-or of the two sets, returning is empty. an object of type which contains the states which are in exactly one of the two sets. The set returned by this operation contains the states in exactly one of the two sets. gtk-sharp-2.12.40/doc/en/Atk/Component.xml0000664000175000017500000004264512767740535015110 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.IWrapper The ATK interface provided by UI components which occupy a physical area on the screen. The ATK interface provided by UI components which occupy a physical area on the screen. This should be implemented by most if not all UI elements with an actual on-screen presence, i.e. components which can be said to have a screen-coordinate bounding box. Virtually all widgets will need to have implementations provided for their corresponding class. In short, only UI elements which are* not* GUI elements will omit this ATK interface. A possible exception might be textual information with a transparent background, in which case text glyph bounding box information is provided by . Method 2.12.0.0 System.UInt32 The to be attached to this component. Add the specified handler to the set of functions to be called when this object receives focus events (in or out). A handler id which can be used in or zero if the handler was already added. Add the specified handler to the set of functions to be called when this object receives focus events (in or out). If the handler is already added it is not added again. Property 2.12.0.0 System.Double To be added. To be added. To be added. Event 2.12.0.0 Atk.BoundsChangedHandler To be added To be added Method 2.12.0.0 System.Boolean X coordinate Y coordinate Specifies whether the coordinates are relative to the screen or to the components top level window. Checks whether the specified point is within the extent of this component. or indicating whether the specified point is within the extent of the component or not. Method 2.12.0.0 System.Void X coordinate position Y coordinate position Width Height Specifies whether the coordinates are relative to the screen or to the components top level window. Gets the rectangle which gives the extent of this component. Method 2.12.0.0 System.Void X coordinate position Y coordinate position Specifies whether the coordinates are relative to the screen or to the components top level window. Gets the position of component in the form of a point specifying this component's top-left corner. Method 2.12.0.0 System.Void Width Height Gets the size of this component in terms of width and height. Method 2.12.0.0 System.Boolean Grabs focus for this component if successful, otherwise. Property 2.12.0.0 Atk.Layer Gets the layer of this component. An which is the layer of the component. Property 2.12.0.0 System.Int32 Gets the Z order of the component. The value G_MININT will be returned if the layer of the component is not ATK_LAYER_MDI or ATK_LAYER_WINDOW. Method 2.12.0.0 Atk.Object To be added: an object of type 'int' To be added: an object of type 'int' To be added: an object of type 'Atk.CoordType' To be added To be added: an object of type 'Atk.Object' To be added Method 2.12.0.0 System.Void The handler id of the focus handler to be removed from component. Remove the handler from the list of functions to be executed when this object receives focus events (in or out). Method 2.12.0.0 System.Boolean X coordinate. Y coordinate. Width to set for this component. Height to set for this component. Specifies whether the coordinates are relative to the screen or to the components top level window. Sets the extents of this component. or whether the extents were set or not. Method 2.12.0.0 System.Boolean X coordinate. Y coordinate. Specifies whether the coordinates are relative to the screen or to the components top level window. Sets the postition of this component. or whether or not the position was set or not. Method 2.12.0.0 System.Boolean Width to set for this component. Height to set for this component. Set the size of this component in terms of width and height. or whether the size was set or not. gtk-sharp-2.12.40/doc/en/Atk/EditableText.xml0000664000175000017500000002073112767740535015514 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.IWrapper The ATK interface implemented by components containing user-editable text content should be implemented by UI components which contain text which the user can edit, via the corresponding to that component (see ). is a subclass of , and as such, an object which implements AtkEditableText is by definition an implementor as well. Method 2.12.0.0 System.Void start position end position Copy text This method only copies the text up to , it does not include the text at that position. Method 2.12.0.0 System.Void start position end position Cut text This method only cuts the text up to , it does not include the text at that position. Method 2.12.0.0 System.Void start position end position Delete text This only deletes text up to, but not including . Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void position to paste Paste text from clipboard to specified position. Method 2.12.0.0 System.Boolean an start of range in which to set attributes end of range in which to set attributes Sets the attributes for a specified range. if attributes successfully set for the specified range, otherwise Sets the attributes for a specified range. See the ATK_ATTRIBUTE macros (such as ATK_ATTRIBUTE_LEFT_MARGIN) for examples of attributes that can be set. Note that other attributes that do not have corresponding ATK_ATTRIBUTE macros may also be set for certain text widgets. Property 2.12.0.0 System.String Set text contents of text. contents of text gtk-sharp-2.12.40/doc/en/Atk/FocusEventArgs.xml0000664000175000017500000000441112767740535016031 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Boolean To be added To be added: an object of type 'bool' To be added gtk-sharp-2.12.40/doc/en/Atk/ActionImplementor.xml0000664000175000017500000001424112767740535016566 00000000000000 atk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Atk.ActionAdapter)) Action implementor interface. The implementable portion of the interface. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/HyperlinkImpl.xml0000664000175000017500000000244512767740535015727 00000000000000 atk-sharp 2.12.0.0 GLib.IWrapper Interface to obtain a Hyperlink implementation. Property 2.12.0.0 Atk.Hyperlink Hyperlink property. a implementor. gtk-sharp-2.12.40/doc/en/Atk/Action.xml0000664000175000017500000002251112767740535014351 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.IWrapper The ATK interface provided by UI components which the user can activate/interact with, this should be implemented by instances of classes with which the user can interact directly, i.e. buttons, checkboxes, scrollbars, e.g. components which are not "passive" providers of UI information. The ATK interface provided by UI components which the user can activate/interact with, This should be implemented by instances of classes with which the user can interact directly, i.e. buttons, checkboxes, scrollbars, e.g. components which are not "passive" providers of UI information. Exceptions: when the user interaction is already covered by another appropriate interface such as (insert/delete test, etc.) or (set value) then these actions should not be exposed by as well. Also note that the API is limited in that parameters may not be passed to the object being activated; thus the action must be self-contained and specifiable via only a single "verb". Concrete examples include "press", "release", "click" for buttons, "drag" (meaning initiate drag) and "drop" for drag sources and drop targets, etc. Though most UI interactions on components should be invocable via keyboard as well as mouse, there will generally be a close mapping between "mouse actions" that are possible on a component and the . Where mouse and keyboard actions are redundant in effect, should expose only one action rather than exposing redundant actions if possible. By convention we have been using "mouse centric" terminology for names. Method 2.12.0.0 System.Boolean The action index corresponding to the action to be performed. Perform the specified action on the object. if success, otherwise. Method 2.12.0.0 System.String The action index corresponding to the action to be performed. Returns a description of the specified action of the object. A description string, or 0 if action does not implement this interface. Method 2.12.0.0 System.String The action index corresponding to the action to be performed. Returns a keybinding associated with this action, if one exists. A string representing the keybinding, or an empty string if there is no keybinding for this action. Method 2.12.0.0 System.String The action index corresponding to the action to be performed. Returns the localized name of the specified action of the object. A name string, or an empty string if action does not implement this interface. Method 2.12.0.0 System.String The action index corresponding to the action to be performed. Returns the name of the specified action of the object. A name string, or an empty string if action does not implement this interface. Property 2.12.0.0 System.Int32 Gets the number of accessible actions available on the object. A the number of actions, or 0 if action does not implement this interface. Gets the number of accessible actions available on the object. If there are more than one, the first one is considered the "default" action of the object. Method 2.12.0.0 System.Boolean The action index corresponding to the action to be performed. The description to be assigned to this action. Sets a description of the specified action of the object. A representing if the description was successfully set. gtk-sharp-2.12.40/doc/en/Atk/TextChangedArgs.xml0000664000175000017500000000623412767740535016153 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The following events invoke delegates which pass event data via this class: Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Int32 To be added To be added: an object of type 'int' To be added Property 2.12.0.0 System.Int32 To be added To be added: an object of type 'int' To be added gtk-sharp-2.12.40/doc/en/Atk/HypertextImplementor.xml0000664000175000017500000000610512767740535017345 00000000000000 atk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Atk.HypertextAdapter)) Hypertext implementor interface. The implementable portion of the interface. Method 2.12.0.0 Atk.Hyperlink To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/PropertyChangeEventHandler.xml0000664000175000017500000000327612767740535020375 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PropertyChangeEventHandler instance to the event. The methods referenced by the PropertyChangeEventHandler instance are invoked whenever the event is raised, until the PropertyChangeEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Atk/Rectangle.xml0000664000175000017500000001612112767740535015040 00000000000000 atk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Property 2.12.0.0 GLib.GType To be added a To be added Field 2.12.0.0 System.Int32 To be added To be added Method 2.12.0.0 Atk.Rectangle a To be added a To be added Method 2.12.0.0 GLib.Value To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.Rectangle To be added. To be added. To be added. To be added. Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 Atk.Rectangle To be added To be added gtk-sharp-2.12.40/doc/en/Atk/LinkSelectedHandler.xml0000664000175000017500000000417712767740535017010 00000000000000 atk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the LinkSelectedHandler instance to the event. The methods referenced by the LinkSelectedHandler instance are invoked whenever the event is raised, until the LinkSelectedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Atk/Util+GetToolkitVersionDelegate.xml0000664000175000017500000000143112767740535021131 00000000000000 atk-sharp 2.12.0.0 System.Delegate System.String To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/KeySnoopFunc.xml0000664000175000017500000000201312767740535015512 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Int32 To be added. To be added To be added. To be added gtk-sharp-2.12.40/doc/en/Atk/SelectionAdapter.xml0000664000175000017500000003126212767740535016365 00000000000000 atk-sharp 2.12.0.0 GLib.GInterfaceAdapter Atk.Selection GLib.IWrapper Selection adapter. Adapts implementations to the full API. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 Atk.Selection To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.Selection To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. Property 2.12.0.0 Atk.SelectionImplementor To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.Object To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("selection_changed") System.EventHandler To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/HyperlinkStateFlags.xml0000664000175000017500000000321112767740535017053 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Atk.HyperlinkStateFlagsGType)) System.Flags Describes the type of link Field 2.12.0.0 Atk.HyperlinkStateFlags Link is inline gtk-sharp-2.12.40/doc/en/Atk/TextBoundary.xml0000664000175000017500000001170512767740535015567 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Atk.TextBoundaryGType)) Text boundary types used for specifying boundaries for regions of text Field 2.12.0.0 Atk.TextBoundary To be added Field 2.12.0.0 Atk.TextBoundary To be added Field 2.12.0.0 Atk.TextBoundary To be added Field 2.12.0.0 Atk.TextBoundary To be added Field 2.12.0.0 Atk.TextBoundary To be added Field 2.12.0.0 Atk.TextBoundary To be added Field 2.12.0.0 Atk.TextBoundary To be added gtk-sharp-2.12.40/doc/en/Atk/Util+AddKeyEventListenerDelegate.xml0000664000175000017500000000165412767740535021356 00000000000000 atk-sharp 2.12.0.0 System.Delegate System.UInt32 To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/StateManager.xml0000664000175000017500000001020312767740535015502 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object An AtkState describes a component's particular state. An AtkState describes a component's particular state. The actual state of an component is described by its AtkStateSet, which is a set of AtkStates. Constructor 2.12.0.0 Default constructor Method 2.12.0.0 Atk.StateType a Gets the corresponding to the description string . a Method 2.12.0.0 System.String a Gets the description string describing the . a Method 2.12.0.0 Atk.StateType a describing the new state. Register a new object state. a gtk-sharp-2.12.40/doc/en/Atk/Layer.xml0000664000175000017500000001336312767740535014215 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Atk.LayerGType)) Describes the layer of a component These enumerated "layer values" are used when determining which UI rendering layer a component is drawn into, which can help in making determinations of when components occlude one another. Field 2.12.0.0 Atk.Layer This layer is reserved for the desktop background Field 2.12.0.0 Atk.Layer This layer is used for Canvas components Field 2.12.0.0 Atk.Layer The object does not have a layer Field 2.12.0.0 Atk.Layer This layer is used for layered components Field 2.12.0.0 Atk.Layer This layer is reserved for future use. Field 2.12.0.0 Atk.Layer This layer is used for popup components, such as menus Field 2.12.0.0 Atk.Layer This layer is normally used for components Field 2.12.0.0 Atk.Layer This layer is used for toplevel windows. gtk-sharp-2.12.40/doc/en/Atk/ColumnInsertedHandler.xml0000664000175000017500000000315112767740535017364 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ColumnInsertedHandler instance to the event. The methods referenced by the ColumnInsertedHandler instance are invoked whenever the event is raised, until the ColumnInsertedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Atk/PropertyValues.xml0000664000175000017500000001003012767740535016131 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Method 2.12.0.0 Atk.PropertyValues a Internal method a new This is an internal method and should not be used by user code. Field 2.12.0.0 GLib.Value To be added To be added Field 2.12.0.0 GLib.Value To be added To be added Field 2.12.0.0 System.String To be added To be added Field 2.12.0.0 Atk.PropertyValues Returns an empty gtk-sharp-2.12.40/doc/en/Atk/TextAttribute.xml0000664000175000017500000004616112767740535015753 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Atk.TextAttributeGType)) Describes the text attributes supported Field 2.12.0.0 Atk.TextAttribute The background color. The value is an RGB value of the format "u,u,u" Field 2.12.0.0 Atk.TextAttribute "true" or "false" whether to make the background color for each character the height of the highest font used on the current line, or the height of the font used for the current character. Field 2.12.0.0 Atk.TextAttribute "true" if a GdkBitmap is set for stippling the background color. Field 2.12.0.0 Atk.TextAttribute The direction of the text, if set. Values are "none", "ltr" or "rtl" Field 2.12.0.0 Atk.TextAttribute Either "true" or "false" indicating whether text is editable or not Field 2.12.0.0 Atk.TextAttribute The font family name Field 2.12.0.0 Atk.TextAttribute The foreground color. The value is an RGB value of the format "u,u,u" Field 2.12.0.0 Atk.TextAttribute "true" if a GdkBitmap is set for stippling the foreground color. Field 2.12.0.0 Atk.TextAttribute The number of pixels that the text is indented Field 2.12.0.0 Atk.TextAttribute Invalid attribute Field 2.12.0.0 Atk.TextAttribute Either "true" or "false" indicating whether text is visible or not Field 2.12.0.0 Atk.TextAttribute The justification of the text, if set. Values are "left", "right", "center" or "fill" Field 2.12.0.0 Atk.TextAttribute The language used Field 2.12.0.0 Atk.TextAttribute not a valid text attribute, used for finding end of enumeration Field 2.12.0.0 Atk.TextAttribute The pixel width of the left margin Field 2.12.0.0 Atk.TextAttribute Pixels of blank space to leave above each newline-terminated line. Field 2.12.0.0 Atk.TextAttribute Pixels of blank space to leave below each newline-terminated line. Field 2.12.0.0 Atk.TextAttribute Pixels of blank space to leave between wrapped lines inside the same newline-terminated line (paragraph). Field 2.12.0.0 Atk.TextAttribute The pixel width of the right margin Field 2.12.0.0 Atk.TextAttribute Number of pixels that the characters are risen above the baseline Field 2.12.0.0 Atk.TextAttribute The scale of the characters. The value is a string representation of a double Field 2.12.0.0 Atk.TextAttribute The size of the characters. Field 2.12.0.0 Atk.TextAttribute The stretch of the text, if set. Values are "ultra_condensed", "extra_condensed", "condensed", "semi_condensed", "normal", "semi_expanded", "expanded", "extra_expanded" or "ultra_expanded" Field 2.12.0.0 Atk.TextAttribute "true" or "false" whether the text is strikethrough Field 2.12.0.0 Atk.TextAttribute The slant style of the text, if set. Values are "normal", "oblique" or "italic" Field 2.12.0.0 Atk.TextAttribute "none", "single", "double" or "low" Field 2.12.0.0 Atk.TextAttribute The capitalization variant of the text, if set. Values are "normal" or "small_caps" Field 2.12.0.0 Atk.TextAttribute The weight of the characters. Field 2.12.0.0 Atk.TextAttribute The wrap mode of the text, if any. Values are "none", "char" or "word" gtk-sharp-2.12.40/doc/en/Atk/EventListener.xml0000664000175000017500000000173012767740535015723 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added To be added gtk-sharp-2.12.40/doc/en/Atk/NoOpObjectFactory.xml0000664000175000017500000001031512767740535016465 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Atk.ObjectFactory The which creates an . The which creates an . An instance of this is created by an if no factory type has not been specified to create an accessible object of a particular type. Constructor 2.12.0.0 Default constructor Constructor 2.12.0.0 System.Obsolete a Internal constructor This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Atk/KeyEventType.xml0000664000175000017500000000532012767740535015527 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Atk.KeyEventTypeGType)) Specifies the type of a keyboard event. Field 2.12.0.0 Atk.KeyEventType Not a valid value; specifies end of enumeration Field 2.12.0.0 Atk.KeyEventType specifies a key press event Field 2.12.0.0 Atk.KeyEventType specifies a key release event gtk-sharp-2.12.40/doc/en/Atk/Relation.xml0000664000175000017500000002271012767740535014712 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object An describes a relation between an object and one or more other objects. An describes a relation between an object and one or more other objects. The actual relations that an object has with other objects are defined as an , which is a set of . Constructor 2.12.0.0 System.Obsolete a Internal constructor This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 an array of an for the relation. Creates a new with the provided information. Method 2.12.0.0 System.Void a To be added To be added Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("relation_type") Atk.RelationType Gets the type of relation. The type of this relation Property 2.12.0.0 Atk.Object[] To be added. To be added. To be added. Method 2.12.0.0 Atk.RelationType a To be added a To be added Method 2.12.0.0 System.String a To be added a To be added Method 2.12.0.0 Atk.RelationType a To be added a To be added gtk-sharp-2.12.40/doc/en/Atk/Util+AddGlobalEventListenerDelegate.xml0000664000175000017500000000202712767740535022021 00000000000000 atk-sharp 2.12.0.0 System.Delegate System.UInt32 To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/Util+GetToolkitNameDelegate.xml0000664000175000017500000000141512767740535020366 00000000000000 atk-sharp 2.12.0.0 System.Delegate System.String To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/PropertyChangeArgs.xml0000664000175000017500000000455412767740535016712 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Atk.PropertyValues To be added To be added: an object of type 'Atk.PropertyValues' To be added gtk-sharp-2.12.40/doc/en/Atk/RelationType.xml0000664000175000017500000002725012767740535015560 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Atk.RelationTypeGType)) Describes the type of the relation Field 2.12.0.0 Atk.RelationType Indicates an object controlled by one or more target objects. Field 2.12.0.0 Atk.RelationType Indicates an object is an controller for one or more target objects. Field 2.12.0.0 Atk.RelationType To be added. Field 2.12.0.0 Atk.RelationType To be added. Field 2.12.0.0 Atk.RelationType Inverse of , indicates that this object's content is visualy embedded in another object. Field 2.12.0.0 Atk.RelationType Indicates that the object visually embeds another object's content, i.e. this object's content flows around another's content. Field 2.12.0.0 Atk.RelationType Indicates that the object has content that flows logically from another AtkObject in a sequential way, (for instance text-flow). Field 2.12.0.0 Atk.RelationType Indicates that the object has content that flows logically to another AtkObject in a sequential way, (for instance text-flow). Field 2.12.0.0 Atk.RelationType Indicates an object is a label for one or more target objects. Field 2.12.0.0 Atk.RelationType Indicates an object is labelled by one or more target objects. Field 2.12.0.0 Atk.RelationType To be added Field 2.12.0.0 Atk.RelationType Indicates an object is a member of a group of one or more target objects. Field 2.12.0.0 Atk.RelationType Indicates an object is a cell in a treetable which is displayed because a cell in the same column is expanded and identifies that cell. Field 2.12.0.0 Atk.RelationType No Relation Field 2.12.0.0 Atk.RelationType To be added To be added Field 2.12.0.0 Atk.RelationType To be added To be added Field 2.12.0.0 Atk.RelationType To be added gtk-sharp-2.12.40/doc/en/Atk/TextCaretMovedHandler.xml0000664000175000017500000000364212767740535017334 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the TextCaretMovedHandler instance to the event. The methods referenced by the TextCaretMovedHandler instance are invoked whenever the event is raised, until the TextCaretMovedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Atk/ColumnDeletedHandler.xml0000664000175000017500000000313512767740535017157 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ColumnDeletedHandler instance to the event. The methods referenced by the ColumnDeletedHandler instance are invoked whenever the event is raised, until the ColumnDeletedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Atk/TextAdapter.xml0000664000175000017500000010305212767740535015361 00000000000000 atk-sharp 2.12.0.0 GLib.GInterfaceAdapter Atk.Text GLib.IWrapper Text adapter. Adapts implementations to the full API. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.TextAttribute To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.TextAttribute To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Property 2.12.0.0 Atk.Attribute[] To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 Atk.TextRange To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Char To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.Text To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.Text To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.TextRectangle To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.Attribute[] To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. Property 2.12.0.0 Atk.TextImplementor To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("text_attributes_changed") System.EventHandler To be added. To be added. Event 2.12.0.0 GLib.Signal("text_caret_moved") Atk.TextCaretMovedHandler To be added. To be added. Event 2.12.0.0 GLib.Signal("text_changed") Atk.TextChangedHandler To be added. To be added. Event 2.12.0.0 GLib.Signal("text_selection_changed") System.EventHandler To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/StreamableContent.xml0000664000175000017500000001020712767740535016545 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.IWrapper The interface which provides access to streamable content. Method 2.12.0.0 System.String an int representing the position of the mime type starting from 0 The string of the specified mime type. a string representing the specified mime type The first mime type is at position 0, the second at position 1, and so on. Method 2.12.0.0 System.IntPtr a To be added a To be added Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Int32 The number of mime types supported by this object. the number of mime types supported by the object. gtk-sharp-2.12.40/doc/en/Atk/ImageImplementor.xml0000664000175000017500000001154012767740535016372 00000000000000 atk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Atk.ImageAdapter)) Image implementor interface. The implementable portion of the interface. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/RowInsertedArgs.xml0000664000175000017500000000554612767740535016227 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Int32 To be added To be added: an object of type 'int' To be added Property 2.12.0.0 System.Int32 To be added To be added: an object of type 'int' To be added gtk-sharp-2.12.40/doc/en/Atk/HyperlinkImplImplementor.xml0000664000175000017500000000303712767740535020141 00000000000000 atk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Atk.HyperlinkImplAdapter)) HyperlinkImpl implementor interface. The implementable portion of the interface. Property 2.12.0.0 Atk.Hyperlink To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/Util+RemoveListenerDelegate.xml0000664000175000017500000000156012767740535020444 00000000000000 atk-sharp 2.12.0.0 System.Delegate System.Void To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/Selection.xml0000664000175000017500000002176412767740535015072 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.IWrapper The ATK interface implemented by container objects whose children can be selected. The ATK interface implemented by container objects whose children can be selected. This should be implemented by UI components with children which are exposed by and , if the use of the parent UI component ordinarily involves selection of one or more of the objects corresponding to those AtkObject children - for example, selectable lists. Note that other types of "selection" (for instance text selection) are accomplished a other ATK interfaces - is limited to the selection/deselection of children. Method 2.12.0.0 System.Boolean A specifying the child index. Adds the specified accessible child of the object to the object's selection. if success, otherwise. Method 2.12.0.0 System.Boolean Clears the selection in the object so that no children in the object are selected. if success, otherwise. Method 2.12.0.0 System.Boolean A specifying the child index. Determines if the current child of this object is selected. A bool representing the specified child is selected, or 0 if selection does not implement this interface. Callers should not rely on 0 or on a zero value for indication of whether AtkSelectionIface is implemented, they should use type checking/interface checking macros or the atk_get_accessible_value() convenience method. Method 2.12.0.0 Atk.Object To be added: an object of type 'int' To be added To be added: an object of type 'Atk.Object' To be added Method 2.12.0.0 System.Boolean A specifying the index in the selection set. (e.g. the ith selection as opposed to the ith child). Removes the specified child of the object from the object's selection. if success, otherwise. Method 2.12.0.0 System.Boolean Causes every child of the object to be selected if the object supports multiple selections. if success, otherwise. Event 2.12.0.0 System.EventHandler Event raised when the selected is changed. Property 2.12.0.0 System.Int32 Gets the number of accessible children currently selected. A representing the number of items selected, or 0 if selection does not implement this interface. Callers should not rely on 0 or on a zero value for indication of whether AtkSelectionIface is implemented, they should use type checking/interface checking macros or the atk_get_accessible_value() convenience method. gtk-sharp-2.12.40/doc/en/Atk/TextRange.xml0000664000175000017500000001204412767740535015035 00000000000000 atk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType A structure used to describe a text range. Field 2.12.0.0 Atk.TextRectangle A rectangle giving the bounds of the text range Field 2.12.0.0 System.String The text in the text range Field 2.12.0.0 System.Int32 The end offset of a Method 2.12.0.0 Atk.TextRange a Creates a new a Field 2.12.0.0 System.Int32 The start offset of a Field 2.12.0.0 Atk.TextRange An empty gtk-sharp-2.12.40/doc/en/Atk/TableImplementor.xml0000664000175000017500000005357012767740535016410 00000000000000 atk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Atk.TableAdapter)) Table implementor interface. The implementable portion of the interface. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Property 2.12.0.0 Atk.Object To be added. To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.Object To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.Object To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Method 2.12.0.0 Atk.Object To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Int32[] To be added. To be added. To be added. Property 2.12.0.0 System.Int32[] To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Property 2.12.0.0 Atk.Object To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/Attribute.xml0000664000175000017500000000670212767740535015103 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType A string name/value pair representing a text attribute. Field 2.12.0.0 System.String The attribute name. Method 2.12.0.0 Atk.Attribute an object of type Internal method a new This is an internal method and should not be used by user code. Field 2.12.0.0 System.String the value of the attribute, represented as a string. To be added Field 2.12.0.0 Atk.Attribute Returns an empty To be added gtk-sharp-2.12.40/doc/en/Atk/Focus.xml0000664000175000017500000000554712767740535014225 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added To be added Constructor 2.12.0.0 Default constructor Method 2.12.0.0 System.Void a To be added To be added Method 2.12.0.0 System.Void a To be added To be added gtk-sharp-2.12.40/doc/en/Atk/StreamableContentAdapter.xml0000664000175000017500000002277712767740535020065 00000000000000 atk-sharp 2.12.0.0 GLib.GInterfaceAdapter Atk.StreamableContent GLib.IWrapper StreamableContent adapter. Adapts implementations to the full API. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.StreamableContent To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.StreamableContent To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.IntPtr To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. Property 2.12.0.0 Atk.StreamableContentImplementor To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/ActionAdapter.xml0000664000175000017500000002713312767740535015657 00000000000000 atk-sharp 2.12.0.0 GLib.GInterfaceAdapter Atk.Action GLib.IWrapper Action adapter. Adapts implementations to the full API. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.Action To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.Action To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. Property 2.12.0.0 Atk.ActionImplementor To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/NoOpObject.xml0000664000175000017500000040566012767740535015150 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Atk.Object Atk.Action Atk.Component Atk.Document Atk.EditableText Atk.Hypertext Atk.Image Atk.Selection Atk.Table Atk.Text Atk.Value An which purports to implement all Atk interfaces. It is the type of which is created if an accessible object is requested for an object type for which no factory type is specified. Constructor 2.12.0.0 System.Obsolete a Internal constructor This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. Constructor 2.12.0.0 an object of type Creates a new instance. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Boolean an object of type To be added an object of type To be added Method 2.12.0.0 System.UInt32 an object of type To be added an object of type To be added Method 2.12.0.0 System.Boolean an object of type To be added an object of type To be added Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Double To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Property 2.12.0.0 Atk.Attribute[] To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("bounds_changed") Atk.BoundsChangedHandler To be added To be added Property 2.12.0.0 Atk.Object To be added an object of type To be added Property 2.12.0.0 System.Int32 To be added an object of type To be added Property 2.12.0.0 System.Int32 To be added an object of type To be added Method 2.12.0.0 System.Boolean To be added an object of type To be added Event 2.12.0.0 GLib.Signal("column_deleted") Atk.ColumnDeletedHandler To be added To be added Event 2.12.0.0 GLib.Signal("column_inserted") Atk.ColumnInsertedHandler To be added To be added Event 2.12.0.0 GLib.Signal("column_reordered") System.EventHandler To be added To be added Method 2.12.0.0 System.Boolean an object of type an object of type an object of type To be added an object of type To be added Method 2.12.0.0 System.Void an object of type an object of type To be added To be added Property GLib.Value To be added a To be added Method 2.12.0.0 System.Void an object of type an object of type To be added To be added Property 2.12.0.0 Atk.Attribute[] To be added an object of type To be added Method 2.12.0.0 System.Void an object of type an object of type To be added To be added Method 2.12.0.0 System.Boolean an object of type To be added an object of type To be added Property 2.12.0.0 System.String To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.TextRange a a a a To be added a To be added Method 2.12.0.0 System.Char position Gets the specified text. the character at . Method 2.12.0.0 System.Void a a a a a a To be added To be added Method 2.12.0.0 System.Int32 a To be added a To be added Method 2.12.0.0 System.String an object of type To be added an object of type To be added Method 2.12.0.0 System.Int32 an object of type an object of type To be added an object of type To be added Method 2.12.0.0 Atk.Object an object of type To be added an object of type To be added Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.String an object of type To be added an object of type To be added Method 2.12.0.0 System.Void a a a a a To be added To be added Method 2.12.0.0 System.Void a a a To be added To be added Method 2.12.0.0 System.Void a a To be added To be added Method 2.12.0.0 System.Int32 an object of type an object of type To be added an object of type To be added Method 2.12.0.0 System.String an object of type To be added an object of type To be added Method 2.12.0.0 Atk.Hyperlink a To be added a To be added Method 2.12.0.0 System.Int32 a To be added a To be added Method 2.12.0.0 System.String a To be added a To be added Method System.Void To be added an object of type To be added Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method System.Void To be added an object of type To be added Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.String an object of type To be added an object of type To be added Method 2.12.0.0 System.Int32 an object of type an object of type an object of type To be added an object of type To be added Method 2.12.0.0 System.Void a a a To be added To be added Method 2.12.0.0 Atk.TextRectangle To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added a a a a To be added Method 2.12.0.0 System.Int32 a To be added a To be added Method 2.12.0.0 System.String an object of type To be added an object of type To be added Method 2.12.0.0 System.Int32 an object of type an object of type To be added an object of type To be added Method 2.12.0.0 Atk.Object an object of type To be added an object of type To be added Method 2.12.0.0 Atk.Attribute[] To be added. To be added. To be added. To be added. To be added. To be added. Method GLib.SList To be added a a a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a To be added Method 2.12.0.0 System.String a a a To be added a To be added Method 2.12.0.0 System.Void a a To be added To be added Method 2.12.0.0 System.String an object of type an object of type To be added an object of type To be added Method 2.12.0.0 System.String a a a a To be added a To be added Method 2.12.0.0 System.String a a a a To be added a To be added Method 2.12.0.0 System.String a a a a To be added a To be added Method 2.12.0.0 System.Boolean To be added an object of type To be added Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.String To be added an object of type To be added Property 2.12.0.0 System.String To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean an object of type To be added an object of type To be added Method 2.12.0.0 System.Boolean an object of type To be added an object of type To be added Method 2.12.0.0 System.Boolean an object of type To be added an object of type To be added Method 2.12.0.0 System.Boolean an object of type an object of type To be added an object of type To be added Property 2.12.0.0 Atk.Layer To be added an object of type To be added Event 2.12.0.0 GLib.Signal("link_selected") Atk.LinkSelectedHandler To be added To be added Event 2.12.0.0 GLib.Signal("load_complete") System.EventHandler To be added. To be added. Event 2.12.0.0 GLib.Signal("load_stopped") System.EventHandler To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added an object of type To be added Event 2.12.0.0 GLib.Signal("model_changed") System.EventHandler To be added To be added Property 2.12.0.0 System.Int32 To be added an object of type To be added Property 2.12.0.0 System.Int32 To be added an object of type To be added Property 2.12.0.0 System.Int32 To be added a To be added Property 2.12.0.0 System.Int32 To be added an object of type To be added Property 2.12.0.0 System.Int32 To be added an object of type To be added Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideBoundsChanged", Type=typeof(Atk.NoOpObject)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideColumnDeleted", Type=typeof(Atk.NoOpObject)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideColumnInserted", Type=typeof(Atk.NoOpObject)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideColumnReordered", Type=typeof(Atk.NoOpObject)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideLinkSelected", Type=typeof(Atk.NoOpObject)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideLoadComplete", Type=typeof(Atk.NoOpObject)) System.Void To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideLoadStopped", Type=typeof(Atk.NoOpObject)) System.Void To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideModelChanged", Type=typeof(Atk.NoOpObject)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideReload", Type=typeof(Atk.NoOpObject)) System.Void To be added. To be added. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowDeleted", Type=typeof(Atk.NoOpObject)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowInserted", Type=typeof(Atk.NoOpObject)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRowReordered", Type=typeof(Atk.NoOpObject)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionChanged", Type=typeof(Atk.NoOpObject)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextAttributesChanged", Type=typeof(Atk.NoOpObject)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextCaretMoved", Type=typeof(Atk.NoOpObject)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextChanged", Type=typeof(Atk.NoOpObject)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextSelectionChanged", Type=typeof(Atk.NoOpObject)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Void an object of type To be added To be added Method 2.12.0.0 Atk.Object an object of type an object of type an object of type To be added an object of type To be added Method 2.12.0.0 Atk.Object an object of type an object of type To be added an object of type To be added Method 2.12.0.0 Atk.Object an object of type To be added an object of type To be added Event 2.12.0.0 GLib.Signal("reload") System.EventHandler To be added. To be added. Method 2.12.0.0 System.Boolean an object of type To be added an object of type To be added Method 2.12.0.0 System.Void an object of type To be added To be added Method 2.12.0.0 System.Boolean an object of type To be added an object of type To be added Event 2.12.0.0 GLib.Signal("row_deleted") Atk.RowDeletedHandler To be added To be added Event 2.12.0.0 GLib.Signal("row_inserted") Atk.RowInsertedHandler To be added To be added Event 2.12.0.0 GLib.Signal("row_reordered") System.EventHandler To be added To be added Method 2.12.0.0 System.Boolean To be added an object of type To be added Property 2.12.0.0 System.Int32[] To be added. To be added. To be added. Property 2.12.0.0 System.Int32[] To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("selection_changed") System.EventHandler To be added To be added Property 2.12.0.0 System.Int32 To be added an object of type To be added Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean an object of type To be added an object of type To be added Method 2.12.0.0 System.Void an object of type an object of type To be added To be added Method 2.12.0.0 System.Void an object of type an object of type To be added To be added Method 2.12.0.0 System.Boolean an object of type To be added an object of type To be added Method 2.12.0.0 System.Boolean an object of type an object of type To be added an object of type To be added Method 2.12.0.0 System.Boolean an object of type an object of type an object of type an object of type an object of type To be added an object of type To be added Method 2.12.0.0 System.Boolean an object of type To be added an object of type To be added Method 2.12.0.0 System.Boolean an object of type an object of type an object of type To be added an object of type To be added Method 2.12.0.0 System.Void an object of type an object of type To be added To be added Method 2.12.0.0 System.Void an object of type an object of type To be added To be added Method 2.12.0.0 System.Boolean an object of type an object of type an object of type To be added an object of type To be added Method 2.12.0.0 System.Boolean an object of type an object of type an object of type To be added an object of type To be added Method 2.12.0.0 System.Boolean an object of type an object of type To be added an object of type To be added Property 2.12.0.0 Atk.Object To be added an object of type To be added Event 2.12.0.0 GLib.Signal("text_attributes_changed") System.EventHandler To be added To be added Event 2.12.0.0 GLib.Signal("text_caret_moved") Atk.TextCaretMovedHandler To be added To be added Event 2.12.0.0 GLib.Signal("text_changed") Atk.TextChangedHandler To be added To be added Property 2.12.0.0 System.String To be added an object of type To be added Event 2.12.0.0 GLib.Signal("text_selection_changed") System.EventHandler To be added To be added Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/FocusEventHandler.xml0000664000175000017500000000306512767740535016516 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the FocusEventHandler instance to the event. The methods referenced by the FocusEventHandler instance are invoked whenever the event is raised, until the FocusEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Atk/ImageAdapter.xml0000664000175000017500000002441012767740535015457 00000000000000 atk-sharp 2.12.0.0 GLib.GInterfaceAdapter Atk.Image GLib.IWrapper Image adapter. Adapts implementations to the full API. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.Image To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.Image To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 Atk.ImageImplementor To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/EditableTextImplementor.xml0000664000175000017500000001561012767740535017730 00000000000000 atk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Atk.EditableTextAdapter)) EditableText implementor interface. The implementable portion of the interface. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/RelationSet.xml0000664000175000017500000002414412767740535015371 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object A set of , normally the set which an has. Constructor 2.12.0.0 To be added To be added Constructor 2.12.0.0 System.Obsolete a Internal constructor This is a constructor used by derivative types of that would have their own GLib type assigned to it. This is not typically used by C# code. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Void an Add a new relation to the current relation set if it is not already present. Method 2.12.0.0 System.Void a a To be added To be added Method 2.12.0.0 System.Boolean An . Determines whether the relation set contains a relation that matches the specified type. if relationship is the relationship type of a relation in set, otherwise. Method 2.12.0.0 Atk.Relation An representing a position in the set, starting from 0. Determines the relation at the specified position in the relation set. An , which is the relation at position in the set. Method 2.12.0.0 Atk.Relation An Finds a relation that matches the specified type. An , which is a relation matching the specified type. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.Int32 Determines the number of relations in a relation set. An integer representing the number of relations in the set. Method 2.12.0.0 System.Void An . Removes a relation from the relation set. gtk-sharp-2.12.40/doc/en/Atk/PropertyChangeHandler.xml0000664000175000017500000000216712767740535017371 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. To be added gtk-sharp-2.12.40/doc/en/Atk/Value.xml0000664000175000017500000001660412767740535014216 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.IWrapper The interface implemented by valuators and components which display or select a value from a bounded range of values. should be implemented for components which either display a value from a bounded range, or which allow the user to specify a value from a bounded range, or both. For instance, most sliders and range controls, as well as dials, should have representations which implement on the component's behalf. s may be read-only, in which case attempts to alter the value return to indicate failure. Property GLib.Value Gets the value of this object. a representing the current accessible value. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method System.Void Gets the maximum value of this object. an object of type representing the maximum accessible value Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method System.Void Gets the minimum value of this object. an object of type representing the minimum accessible value Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Boolean an object of type which is the desired new accessible value. Sets the value of this object. if new value is successfully set, otherwise . To be added gtk-sharp-2.12.40/doc/en/Atk/Document.xml0000664000175000017500000001644212767740535014720 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.IWrapper The interface which allows access to a DOM associated with on object. The interface should be supported by any object that has an associated document object model (DOM). This interface provides the standard mechanism allowing an assistive technology access to the DOM. Property 2.12.0.0 Atk.Attribute[] To be added. To be added. To be added. Property 2.12.0.0 System.String Gets a string indicating the document type. a string indicating the document type Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Event 2.12.0.0 System.EventHandler To be added. To be added. Event 2.12.0.0 System.EventHandler To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Event 2.12.0.0 System.EventHandler To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 System.IntPtr Gets a pointer that points to an instance of the DOM. a pointer to an instance of the DOM. gtk-sharp-2.12.40/doc/en/Atk/DocumentAdapter.xml0000664000175000017500000003116512767740535016220 00000000000000 atk-sharp 2.12.0.0 GLib.GInterfaceAdapter Atk.Document GLib.IWrapper Document adapter. Adapts implementations to the full API. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Property 2.12.0.0 Atk.Attribute[] To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.Document To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.Document To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. Property 2.12.0.0 Atk.DocumentImplementor To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("load_complete") System.EventHandler To be added. To be added. Event 2.12.0.0 GLib.Signal("load_stopped") System.EventHandler To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("reload") System.EventHandler To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/Hypertext.xml0000664000175000017500000001012112767740535015122 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.IWrapper The interface which provides standard mechanism for manipulating hyperlinks. Method 2.12.0.0 Atk.Hyperlink an integer specifying the desired link The link in this hypertext document at index the link in this hypertext document at index Method 2.12.0.0 System.Int32 a character index The index into the array of hyperlinks that is associated with the character specified by , or -1 if there is no hyperlink associated with this character. an index into the array of hyperlinks in hypertext Event 2.12.0.0 Atk.LinkSelectedHandler To be added To be added Property 2.12.0.0 System.Int32 The number of links within this hypertext document. The number of links within this hypertext document. gtk-sharp-2.12.40/doc/en/Atk/TextRectangle.xml0000664000175000017500000001173112767740535015707 00000000000000 atk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType A structure used to store a rectangle used by . Field 2.12.0.0 System.Int32 The height of a rectangle Method 2.12.0.0 Atk.TextRectangle a Creates a new a Field 2.12.0.0 System.Int32 The width of a rectangle Field 2.12.0.0 System.Int32 The horizontal coordinate of a rectangle Field 2.12.0.0 System.Int32 The vertical coordinate of a rectangle Field 2.12.0.0 Atk.TextRectangle An empty gtk-sharp-2.12.40/doc/en/Atk/ActiveDescendantChangedArgs.xml0000664000175000017500000000457212767740535020436 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.IntPtr To be added a To be added gtk-sharp-2.12.40/doc/en/Atk/ValueImplementor.xml0000664000175000017500000001153712767740535016432 00000000000000 atk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Atk.ValueAdapter)) Value implementor interface. The implementable portion of the interface. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/Role.xml0000664000175000017500000015453312767740535014047 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Atk.RoleGType)) Describes the role of an object Field 2.12.0.0 Atk.Role A label which represents an accelerator Field 2.12.0.0 Atk.Role An object which is an alert to the user Field 2.12.0.0 Atk.Role An object which is an animated image Field 2.12.0.0 Atk.Role The object is an application object, which may contain objects or other types of accessibles. Field 2.12.0.0 Atk.Role An arrow in one of the four cardinal directions Field 2.12.0.0 Atk.Role To be added To be added Field 2.12.0.0 Atk.Role An object that displays a calendar and allows the user to select a date Field 2.12.0.0 Atk.Role An object that can be drawn into and is used to trap events Field 2.12.0.0 Atk.Role To be added. Field 2.12.0.0 Atk.Role To be added. Field 2.12.0.0 Atk.Role A choice that can be checked or unchecked and provides a separate indicator for the current state Field 2.12.0.0 Atk.Role A menu item with a check box Field 2.12.0.0 Atk.Role A specialized dialog that lets the user choose a color Field 2.12.0.0 Atk.Role The header for a column of data Field 2.12.0.0 Atk.Role A list of choices the user can select from Field 2.12.0.0 Atk.Role An object whose purpose is to allow a user to edit a date Field 2.12.0.0 Atk.Role A pane that supports internal frames and iconified versions of those internal frames Field 2.12.0.0 Atk.Role An inconifed internal frame within a Field 2.12.0.0 Atk.Role An object whose purpose is to allow a user to set a value Field 2.12.0.0 Atk.Role A top level window with title bar and a border Field 2.12.0.0 Atk.Role A pane that allows the user to navigate through and select the contents of a directory Field 2.12.0.0 Atk.Role To be added. Field 2.12.0.0 Atk.Role An object used for drawing custom user interface elements Field 2.12.0.0 Atk.Role To be added To be added Field 2.12.0.0 Atk.Role To be added To be added Field 2.12.0.0 Atk.Role To be added. Field 2.12.0.0 Atk.Role A specialized dialog that lets the user choose a file Field 2.12.0.0 Atk.Role A object that fills up space in a user interface Field 2.12.0.0 Atk.Role A specialized dialog that lets the user choose a font Field 2.12.0.0 Atk.Role An object that serves as a document footer. Field 2.12.0.0 Atk.Role To be added. Field 2.12.0.0 Atk.Role A top level window with a title bar, border, menubar, etc. Field 2.12.0.0 Atk.Role A pane that is guaranteed to be painted on top of all panes beneath it Field 2.12.0.0 Atk.Role An object that serves as a document header. Field 2.12.0.0 Atk.Role To be added. Field 2.12.0.0 Atk.Role A document container for HTML, whose children represent the document content Field 2.12.0.0 Atk.Role A small fixed size picture, typically used to decorate components Field 2.12.0.0 Atk.Role An object whose primary purpose is to display an image Field 2.12.0.0 Atk.Role To be added. Field 2.12.0.0 Atk.Role A frame-like object that is clipped by a desktop pane Field 2.12.0.0 Atk.Role Invalid role Field 2.12.0.0 Atk.Role An object used to present an icon or short string in an interface Field 2.12.0.0 Atk.Role not a valid role, used for finding end of enumeration Field 2.12.0.0 Atk.Role A specialized pane that allows its children to be drawn in layers, providing a form of stacking order Field 2.12.0.0 Atk.Role To be added. Field 2.12.0.0 Atk.Role An object that presents a list of objects to the user and allows the user to select one or more of them Field 2.12.0.0 Atk.Role An object that represents an element of a list Field 2.12.0.0 Atk.Role An object usually found inside a menu bar that contains a list of actions the user can choose from Field 2.12.0.0 Atk.Role An object usually drawn at the top of the primary dialog box of an application that contains a list of menus the user can choose from Field 2.12.0.0 Atk.Role An object usually contained in a menu that presents an action the user can choose Field 2.12.0.0 Atk.Role A specialized pane whose primary use is inside a Dialog Field 2.12.0.0 Atk.Role To be added. Field 2.12.0.0 Atk.Role An object that is a child of a page tab list Field 2.12.0.0 Atk.Role An object that presents a series of panels (or page tabs), one at a time, through some mechanism provided by the object Field 2.12.0.0 Atk.Role A generic container that is often used to group objects Field 2.12.0.0 Atk.Role An object which is contains a paragraph of text content. Field 2.12.0.0 Atk.Role A text object uses for passwords, or other places where the text content is not shown visibly to the user Field 2.12.0.0 Atk.Role A temporary window that is usually used to offer the user a list of choices, and then hides when the user selects one of those choices Field 2.12.0.0 Atk.Role An object used to indicate how much of a task has been completed Field 2.12.0.0 Atk.Role An object the user can manipulate to tell the application to do something Field 2.12.0.0 Atk.Role A specialized check box that will cause other radio buttons in the same group to become unchecked when this one is checked Field 2.12.0.0 Atk.Role A check menu item which belongs to a group. At each instant exactly one of the radio menu items from a group is selected Field 2.12.0.0 Atk.Role To be added. Field 2.12.0.0 Atk.Role A specialized pane that has a glass pane and a layered pane as its children Field 2.12.0.0 Atk.Role The header for a row of data Field 2.12.0.0 Atk.Role An object which describes margins and tab stops, etc. for text objects which it controls (should have CONTROLLER_FOR relation to such). Field 2.12.0.0 Atk.Role An object usually used to allow a user to incrementally view a large amount of data. Field 2.12.0.0 Atk.Role An object that allows a user to incrementally view a large amount of information Field 2.12.0.0 Atk.Role To be added. Field 2.12.0.0 Atk.Role An object usually contained in a menu to provide a visible and logical separation of the contents in a menu Field 2.12.0.0 Atk.Role An object that allows the user to select from a bounded range Field 2.12.0.0 Atk.Role An object used to get an integer or floating point number from the user Field 2.12.0.0 Atk.Role A specialized panel that presents two other panels at the same time Field 2.12.0.0 Atk.Role An object which reports messages of minor importance to the user Field 2.12.0.0 Atk.Role An object used to represent information in terms of rows and columns Field 2.12.0.0 Atk.Role A cell in a table Field 2.12.0.0 Atk.Role The header for a column of a table Field 2.12.0.0 Atk.Role The header for a row of a table Field 2.12.0.0 Atk.Role A menu item used to tear off and reattach its menu Field 2.12.0.0 Atk.Role An object that represents an accessible terminal Field 2.12.0.0 Atk.Role An object that presents text to the user Field 2.12.0.0 Atk.Role A specialized push button that can be checked or unchecked, but does not provide a separate indicator for the current state Field 2.12.0.0 Atk.Role A bar or palette usually composed of push buttons or toggle buttons Field 2.12.0.0 Atk.Role An object that provides information about another object Field 2.12.0.0 Atk.Role An object used to represent hierarchical information to the user Field 2.12.0.0 Atk.Role An object capable of expanding and collapsing rows as well as showing multiple columns of data Field 2.12.0.0 Atk.Role The object contains some Accessible information, but its role is not known Field 2.12.0.0 Atk.Role An object usually used in a scroll pane Field 2.12.0.0 Atk.Role A top level window with no title or border. gtk-sharp-2.12.40/doc/en/Atk/TableAdapter.xml0000664000175000017500000010045712767740535015472 00000000000000 atk-sharp 2.12.0.0 GLib.GInterfaceAdapter Atk.Table GLib.IWrapper Table adapter. Adapts implementations to the full API. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Property 2.12.0.0 Atk.Object To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("column_deleted") Atk.ColumnDeletedHandler To be added. To be added. Event 2.12.0.0 GLib.Signal("column_inserted") Atk.ColumnInsertedHandler To be added. To be added. Event 2.12.0.0 GLib.Signal("column_reordered") System.EventHandler To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.Object To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.Table To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.Table To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.Object To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. Property 2.12.0.0 Atk.TableImplementor To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("model_changed") System.EventHandler To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Method 2.12.0.0 Atk.Object To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("row_deleted") Atk.RowDeletedHandler To be added. To be added. Event 2.12.0.0 GLib.Signal("row_inserted") Atk.RowInsertedHandler To be added. To be added. Event 2.12.0.0 GLib.Signal("row_reordered") System.EventHandler To be added. To be added. Property 2.12.0.0 System.Int32[] To be added. To be added. To be added. Property 2.12.0.0 System.Int32[] To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Property 2.12.0.0 Atk.Object To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/Implementor.xml0000664000175000017500000000301012767740535015420 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.IWrapper To be added Method 2.12.0.0 Atk.Object To be added a gtk-sharp-2.12.40/doc/en/Atk/SelectionImplementor.xml0000664000175000017500000001356712767740535017310 00000000000000 atk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Atk.SelectionAdapter)) Selection implementor interface. The implementable portion of the interface. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.Object To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/Text.xml0000664000175000017500000011014612767740535014062 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.IWrapper The interface implemented by components with text content. should be implemented by s on behalf of widgets that have text content which is either attributed or otherwise non-trivial. s whose text content is simple, unattributed, and very brief may expose that content via atk_object_get_name instead; however if the text is editable, multi-line, typically longer than three or four words, attributed, selectable, or if the object already uses the 'name' ATK property for other information, the interface should be used to expose the text content. In the case of editable text content, (a subtype of the interface) should be implemented instead. provides not only traversal facilities and change notification for text content, but also caret tracking and glyph bounding box calculations. Note that the text strings are exposed as UTF-8, and are therefore potentially multi-byte, and caret-to-byte offset mapping makes no assumptions about the character length; also bounding box glyph-to-offset mapping may be complex for languages which use ligatures. Method 2.12.0.0 System.Boolean the start position of the selected region the end position of the selected region Adds a selection bounded by the specified offsets. if success, otherwise Property 2.12.0.0 System.Int32 Gets the offset position of the caret (cursor). the offset position of the caret (cursor). Property 2.12.0.0 System.Int32 Gets the character count. the number of characters. Property 2.12.0.0 Atk.Attribute[] Creates an which consists of the default values of attributes for the text. an which contains the default values of attributes, at . See the enum for types of text attributes that can be returned. Note that other attributes may also be returned. Method 2.12.0.0 Atk.TextRange a a a a To be added a To be added Method 2.12.0.0 System.Char position Gets the specified text. the character at . Method 2.12.0.0 System.Void The offset of the text character for which bounding information is required. Pointer for the x cordinate of the bounding box. Pointer for the y cordinate of the bounding box. Pointer for the width of the bounding box Pointer for the height of the bounding box. specify whether coordinates are relative to the screen or widget window Get the bounding box containing the glyph representing the character at a particular text offset. Method 2.12.0.0 System.Int32 screen x-position of character screen y-position of character specify whether coordinates are relative to the screen or widget window Gets the offset of the character located at coordinates and . the offset to the character which is located at the specified x and y coordinates. and are interpreted as being relative to the screen or this widget's window depending on . Method 2.12.0.0 Atk.TextRectangle To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added a a a a To be added Method 2.12.0.0 Atk.Attribute[] To be added. To be added. To be added. To be added. To be added. To be added. Method GLib.SList Creates an which consists of the attributes explicitly set at the position offset in the text. and are set to the start and end of the range around where the attributes are invariant. the offset at which to get the attributes the address to put the start offset of the range the address to put the end offset of the range an which contains the attributes explicitly set at . See the enum for types of text attributes that can be returned. Note that other attributes may also be returned. Method 2.12.0.0 System.String The selection number. The selected regions are assigned numbers that correspond to how far the region is from the start of the text. The selected region closest to the beginning of the text region is assigned the number 0, etc. Note that adding, moving or deleting a selected region can change the numbering. passes back the start position of the selected region passes back the end position of the selected region Gets the text from the specified selection. the selected text. Method 2.12.0.0 System.String start position end position Gets the specified text. the text from up to, but not including . Method 2.12.0.0 System.String position a the start offset of the returned string. the end offset of the returned string. Gets the specified text. the text after bounded by the specified . If the is the character after the offset is returned. If the is the returned string is from the word start after the offset to the next word start. The returned string will contain the word after the offset if the offset is inside a word or if the offset is not inside a word. If the is the returned string is from the word end at or after the offset to the next work end. The returned string will contain the word after the offset if the offset is inside a word and will contain the word after the word after the offset if the offset is not inside a word. If the is the returned string is from the sentence start after the offset to the next sentence start. The returned string will contain the sentence after the offset if the offset is inside a sentence or if the offset is not inside a sentence. If the is the returned string is from the sentence end at or after the offset to the next sentence end. The returned string will contain the sentence after the offset if the offset is inside a sentence and will contain the sentence after the sentence after the offset if the offset is not inside a sentence. If the is the returned string is from the line start after the offset to the next line start. If the is the returned string is from the line end at or after the offset to the next line start. Method 2.12.0.0 System.String position a the start offset of the returned string. the end offset of the returned string. Gets the specified text. the text at bounded by the specified . If the is the character after the offset is returned. If the is the returned string is from the word start after the offset to the next word start. The returned string will contain the word after the offset if the offset is inside a word or if the offset is not inside a word. If the is the returned string is from the word end at or after the offset to the next work end. The returned string will contain the word after the offset if the offset is inside a word and will contain the word after the word after the offset if the offset is not inside a word. If the is the returned string is from the sentence start after the offset to the next sentence start. The returned string will contain the sentence after the offset if the offset is inside a sentence or if the offset is not inside a sentence. If the is the returned string is from the sentence end at or after the offset to the next sentence end. The returned string will contain the sentence after the offset if the offset is inside a sentence and will contain the sentence after the sentence after the offset if the offset is not inside a sentence. If the is the returned string is from the line start after the offset to the next line start. If the is the returned string is from the line end at or after the offset to the next line start. Method 2.12.0.0 System.String position a the start offset of the returned string. the end offset of the returned string. Gets the specified text. the text before bounded by the specified . If the is the character after the offset is returned. If the is the returned string is from the word start after the offset to the next word start. The returned string will contain the word after the offset if the offset is inside a word or if the offset is not inside a word. If the is the returned string is from the word end at or after the offset to the next work end. The returned string will contain the word after the offset if the offset is inside a word and will contain the word after the word after the offset if the offset is not inside a word. If the is the returned string is from the sentence start after the offset to the next sentence start. The returned string will contain the sentence after the offset if the offset is inside a sentence or if the offset is not inside a sentence. If the is the returned string is from the sentence end at or after the offset to the next sentence end. The returned string will contain the sentence after the offset if the offset is inside a sentence and will contain the sentence after the sentence after the offset if the offset is not inside a sentence. If the is the returned string is from the line start after the offset to the next line start. If the is the returned string is from the line end at or after the offset to the next line start. Property 2.12.0.0 System.Int32 Gets the number of selected regions. The number of selected regions, or -1 if a failure occurred. Method 2.12.0.0 System.Boolean The selection number. The selected regions are assigned numbers that correspond to how far the region is from the start of the text. The selected region closest to the beginning of the text region is assigned the number 0, etc. Note that adding, moving or deleting a selected region can change the numbering. Removes the specified selection. if success, otherwise Method 2.12.0.0 System.Boolean position Sets the caret (cursor) position to the specified offset. if success, otherwise. Method 2.12.0.0 System.Boolean The selection number. The selected regions are assigned numbers that correspond to how far the region is from the start of the text. The selected region closest to the beginning of the text region is assigned the number 0, etc. Note that adding, moving or deleting a selected region can change the numbering. the new start position of the selection the new end position of the selection Changes the start and end offset of the specified selection. if success, otherwise Event 2.12.0.0 System.EventHandler Emitted when the text attributes of the text of an object which implements AtkText changes. Event 2.12.0.0 Atk.TextCaretMovedHandler Emitted when the caret position of the text of an object which implements AtkText changes. Event 2.12.0.0 Atk.TextChangedHandler Emitted when the text of the object which implements the AtkText interface changes. This signal will have a detail which is either "insert" or "delete" which identifies whether the text change was an insertion or a deletion. Event 2.12.0.0 System.EventHandler Emitted when the selected text of an object which implements AtkText changes. gtk-sharp-2.12.40/doc/en/Atk/HyperlinkImplAdapter.xml0000664000175000017500000001612712767740535017232 00000000000000 atk-sharp 2.12.0.0 GLib.GInterfaceAdapter Atk.HyperlinkImpl GLib.IWrapper HyperlinkImpl adapter. Adapts implementations to the full API. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Method 2.12.0.0 Atk.HyperlinkImpl To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.HyperlinkImpl To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. Property 2.12.0.0 Atk.Hyperlink To be added. To be added. To be added. Property 2.12.0.0 Atk.HyperlinkImplImplementor To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/ImplementorImplementor.xml0000664000175000017500000000312312767740535017641 00000000000000 atk-sharp 2.12.0.0 GLib.IWrapper GLib.GInterface(typeof(Atk.ImplementorAdapter)) Implementor implementor interface. The implementable portion of the interface. Method 2.12.0.0 Atk.Object To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/TextCaretMovedArgs.xml0000664000175000017500000000515212767740535016651 00000000000000 atk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The following events invoke delegates which pass event data via this class: Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Int32 To be added To be added: an object of type 'int' To be added gtk-sharp-2.12.40/doc/en/Atk/ComponentAdapter.xml0000664000175000017500000004726512767740535016414 00000000000000 atk-sharp 2.12.0.0 GLib.GInterfaceAdapter Atk.Component GLib.IWrapper Component adapter. Adapts implementations to the full API. Constructor 2.12.0.0 To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Method 2.12.0.0 System.UInt32 To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Double To be added. To be added. To be added. Event 2.12.0.0 GLib.Signal("bounds_changed") Atk.BoundsChangedHandler To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.Component To be added. To be added. To be added. To be added. Method 2.12.0.0 Atk.Component To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. Property 2.12.0.0 GLib.GType To be added. To be added. To be added. Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. Property 2.12.0.0 Atk.ComponentImplementor To be added. To be added. To be added. Property 2.12.0.0 Atk.Layer To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Method 2.12.0.0 Atk.Object To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Atk/BoundsChangedHandler.xml0000664000175000017500000000421312767740535017135 00000000000000 atk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the BoundsChangedHandler instance to the event. The methods referenced by the BoundsChangedHandler instance are invoked whenever the event is raised, until the BoundsChangedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Rsvg/0000775000175000017500000000000012767740535012673 500000000000000gtk-sharp-2.12.40/doc/en/Rsvg/Global.xml0000664000175000017500000003127012767740535014540 00000000000000 rsvg2-sharp 2.16.0.0 2.18.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Global API elements Constructor 2.18.0.0 Default constructor Property 2.18.0.0 System.Double Sets the DPI for the all future outgoing pixbufs. Dots Per Inch (aka Pixels Per Inch) Common values are 72, 90, and 300 DPI. Passing a number <= 0 to dpi will reset the DPI to whatever the default value happens to be. Method System.Int32 To be added a the error domain for Rsvg To be added Property 2.18.0.0 System.Int32 To be added. To be added. To be added. Method System.Boolean To be added a a To be added Method System.Void To be added a a To be added Method Rsvg.BpathDef To be added a a To be added Method System.Void To be added a a a To be added Method System.Void To be added a a a a a a To be added Method System.Void To be added a a a a To be added Method System.Boolean To be added a a a To be added Method System.Void To be added a a To be added Method System.Void To be added a To be added Method 2.18.0.0 System.Void To be added. To be added. To be added. To be added. Method System.Void To be added a a a a To be added Method System.Double To be added a a a To be added gtk-sharp-2.12.40/doc/en/Rsvg/Error.xml0000664000175000017500000000202412767740535014424 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Rsvg.Error To be added gtk-sharp-2.12.40/doc/en/Rsvg/Clone.xml0000664000175000017500000000521612767740535014401 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Constructor To be added To be added Method Rsvg.LinearGradient To be added a a a To be added Method Rsvg.RadialGradient To be added a a a To be added gtk-sharp-2.12.40/doc/en/Rsvg/GradientStops.xml0000664000175000017500000000500712767740535016125 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Rsvg.GradientStops To be added To be added Method Rsvg.GradientStops To be added a a To be added Property Rsvg.GradientStop To be added a To be added Field System.Int32 To be added To be added gtk-sharp-2.12.40/doc/en/Rsvg/Handle.xml0000664000175000017500000004445512767740535014544 00000000000000 rsvg2-sharp 2.16.0.0 2.18.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object To be added To be added Constructor 2.18.0.0 Returns a new rsvg handle. This handle can be used for dynamically loading an image. You need to feed it data using , then call when done. No more than one image can be loaded with one handle. Constructor 2.18.0.0 To be added. To be added. To be added. Constructor 2.18.0.0 a To be added This is not a wrapper around rsvg_handle_new_from_data. This just passes the pointer as the pointer to the Glib object. It probably requires the pointer to be already initialized (like the result of rsvg_handle_new_from_data is). Constructor 2.18.0.0 To be added. To be added. To be added. Property 2.18.0.0 System.String To be added. To be added. To be added. Method 2.18.0.0 System.Boolean Close, to indicate that loading the image is complete. if the loader closed successfully, or if there was an error. This will return if the loader closed successfully. Property 2.18.0.0 System.String To be added a To be added Property 2.18.0.0 Rsvg.DimensionData To be added. To be added. To be added. Property 2.18.0.0 System.Double Sets the DPI for the all future outgoing pixbufs. Dots Per Inch (aka Pixels Per Inch) Common values are 72, 90, and 300 DPI. Passing a number <= 0 to dpi will reset the DPI to whatever the default value happens to be. Method System.Void Frees handle. Method 2.18.0.0 Gdk.Pixbuf To be added. To be added. To be added. To be added. Property 2.18.0.0 GLib.GType To be added. To be added. To be added. Property 2.18.0.0 System.String To be added. To be added. To be added. Method Rsvg.Handle See , except that this will handle GZipped SVGs (svgz) a Use the returned handle identically to how you use a handle returned from Method System.Void To be added a a To be added Property 2.18.0.0 Gdk.Pixbuf The pixbuf loaded by handle. a If insufficient data has been read to create the pixbuf, or an error occurred in loading, then will be returned. Method 2.18.0.0 System.Void To be added. To be added. To be added. Method 2.18.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.18.0.0 System.Void To be added. To be added. To be added. To be added. Method System.Void To be added a a a To be added Property 2.18.0.0 System.Obsolete Rsvg.SizeFunc To be added a To be added Property 2.18.0.0 System.String To be added a To be added Method 2.18.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.18.0.0 System.Boolean Pointer to svg data length of the buffer in bytes Loads the next bytes a This will return if the data was loaded successful, and if an error occurred. In the latter case, the loader will be closed, and will not accept further writes. gtk-sharp-2.12.40/doc/en/Rsvg/Render.xml0000664000175000017500000000463212767740535014561 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method System.Void To be added a a a To be added Method System.Void To be added a a To be added Constructor To be added To be added gtk-sharp-2.12.40/doc/en/Rsvg/State.xml0000664000175000017500000004074512767740535014427 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Rsvg.State To be added To be added Method Rsvg.State To be added a a To be added Method System.Void To be added To be added Method System.Void To be added To be added Method System.Void To be added a To be added Property Rsvg.PaintServer To be added a To be added System.Obsolete("Replaced by Fill property.") Property Rsvg.PaintServer To be added a To be added System.Obsolete("Replaced by Stroke property.") Property Art.VpathDash To be added a To be added System.Obsolete("Replaced by Dash property.") Property Gdk.Pixbuf To be added a To be added System.Obsolete("Replaced by SavePixbuf property.") Field System.Double[] To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added Field Art.PathStrokeCapType To be added To be added Field Art.PathStrokeJoinType To be added To be added Field System.Double To be added To be added Field System.String To be added To be added Field Pango.Style To be added To be added Field Pango.Variant To be added To be added Field Pango.Weight To be added To be added Field Pango.Stretch To be added To be added Field System.Int32 To be added To be added Field System.UInt32 To be added To be added Field System.UInt32 To be added To be added Field System.Int32 To be added To be added Field System.Boolean To be added To be added Field System.Int32 To be added To be added Field System.String To be added To be added Field Pango.Direction To be added To be added Field Rsvg.TextAnchor To be added To be added Method Rsvg.State To be added a a To be added Property Rsvg.PaintServer To be added. To be added. To be added. Property Rsvg.PaintServer To be added. To be added. To be added. Property Art.VpathDash To be added. To be added. To be added. Property Gdk.Pixbuf To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Rsvg/PaintServer.xml0000664000175000017500000000514412767740535015603 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Opaque Method Rsvg.PaintServer To be added a a a To be added Method System.Void To be added To be added Method System.Void To be added To be added Constructor To be added a To be added gtk-sharp-2.12.40/doc/en/Rsvg/GradientStop.xml0000664000175000017500000000467612767740535015755 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Rsvg.GradientStop To be added To be added Method Rsvg.GradientStop To be added a a To be added Field System.Double To be added To be added Field System.UInt32 To be added To be added gtk-sharp-2.12.40/doc/en/Rsvg/RadialGradient.xml0000664000175000017500000001302712767740535016212 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Rsvg.RadialGradient To be added To be added Method Rsvg.RadialGradient To be added a a To be added Property Rsvg.GradientStops To be added a To be added Field Rsvg.DefVal To be added To be added Field System.Boolean To be added To be added Field System.Double[] To be added To be added Field Art.GradientSpread To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added gtk-sharp-2.12.40/doc/en/Rsvg/DimensionData.xml0000664000175000017500000000767612767740535016074 00000000000000 rsvg2-sharp 2.18.0.0 System.ValueType To be added. To be added. Field 2.18.0.0 System.Double To be added. To be added. Field 2.18.0.0 System.Double To be added. To be added. Field 2.18.0.0 System.Int32 To be added. To be added. Method 2.18.0.0 Rsvg.DimensionData To be added. To be added. To be added. To be added. Field 2.18.0.0 System.Int32 To be added. To be added. Field 2.18.0.0 Rsvg.DimensionData To be added. To be added. gtk-sharp-2.12.40/doc/en/Rsvg/SizeFunc.xml0000664000175000017500000000262012767740535015063 00000000000000 rsvg2-sharp 2.16.0.0 2.18.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Function to let a user of the library specify the SVG's dimensions width: the output width the SVG should be height: the output height the SVG should be user_data: user data gtk-sharp-2.12.40/doc/en/Rsvg/Start.xml0000664000175000017500000002014212767740535014431 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Constructor To be added To be added Method System.Void To be added a a To be added Method System.Void To be added a a To be added Method System.Void To be added a a To be added Method System.Void To be added a a To be added Method System.Void To be added a a To be added Method System.Void To be added a a To be added Method System.Void To be added a a To be added Method System.Void To be added a a To be added Method System.Void To be added a a To be added Method System.Void To be added a a To be added Method System.Void To be added a a To be added gtk-sharp-2.12.40/doc/en/Rsvg/PSCtx.xml0000664000175000017500000000723712767740535014347 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Rsvg.PSCtx To be added To be added Method Rsvg.PSCtx To be added a a To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Double[] To be added To be added gtk-sharp-2.12.40/doc/en/Rsvg/DefType.xml0000664000175000017500000000422512767740535014700 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Rsvg.DefType To be added Field Rsvg.DefType To be added Field Rsvg.DefType To be added Field Rsvg.DefType To be added To be added gtk-sharp-2.12.40/doc/en/Rsvg/Css.xml0000664000175000017500000003242212767740535014070 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method System.Boolean To be added a a a To be added Method System.UInt32 To be added a a To be added Method System.Int32 To be added a a To be added Method System.UInt32 To be added a a To be added Constructor To be added To be added Method Pango.Style To be added a a a To be added Method System.Double To be added a a To be added Method System.Double To be added a a To be added Method System.Double To be added a a To be added Method System.String To be added a a a To be added Method System.Double To be added a a a a a To be added Method Pango.Stretch To be added a a a To be added Method Pango.Weight To be added a a a To be added Method Pango.Variant To be added a a a To be added Method System.Double To be added a a a a a a To be added Method System.Boolean To be added a a a a a a To be added Method System.Void To be added a a a To be added gtk-sharp-2.12.40/doc/en/Rsvg/LinearGradient.xml0000664000175000017500000001223712767740535016232 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Rsvg.LinearGradient To be added To be added Method Rsvg.LinearGradient To be added a a To be added Property Rsvg.GradientStops To be added a To be added Field Rsvg.DefVal To be added To be added Field System.Boolean To be added To be added Field System.Double[] To be added To be added Field Art.GradientSpread To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added Field System.Double To be added To be added gtk-sharp-2.12.40/doc/en/Rsvg/BpathDef.xml0000664000175000017500000001730312767740535015016 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Rsvg.BpathDef To be added To be added Method Rsvg.BpathDef To be added a a To be added Method Rsvg.BpathDef To be added a To be added Method Rsvg.BpathDef To be added a a To be added Method System.Void To be added To be added Method System.Void To be added To be added Method System.Void To be added a a a a a a To be added Method System.Void To be added To be added Method System.Void To be added a a To be added Method System.Void To be added a a To be added Property Art.Bpath To be added a To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added Field System.Int32 To be added To be added gtk-sharp-2.12.40/doc/en/Rsvg/Tool.xml0000664000175000017500000001764712767740535014271 00000000000000 rsvg2-sharp 2.16.0.0 2.18.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added using System; using Gtk; class SvgHelloWorld { static void Main (string[] args) { Application.Init (); MyMainWindow app = new MyMainWindow (); app.ShowAll (); Application.Run (); } } class MyMainWindow : Gtk.Window { public MyMainWindow () : base ("SVG Hello World") { this.DeleteEvent += new DeleteEventHandler (delete_event); string svg_file_name = "sample.svg"; Gdk.Pixbuf pixbuf = Rsvg.Tool.PixbufFromFile (svg_file_name); Image image = new Image (); image.Pixbuf = pixbuf; this.Add (image); } private void delete_event (object obj, DeleteEventArgs args) { Application.Quit (); } } Constructor 2.18.0.0 Internal constructor Should never be used. Method 2.18.0.0 Gdk.Pixbuf a To be added a To be added Method 2.18.0.0 Gdk.Pixbuf a a a To be added a To be added Method 2.18.0.0 Gdk.Pixbuf a a a To be added a To be added Method 2.18.0.0 Gdk.Pixbuf a a a To be added a To be added Method 2.18.0.0 Gdk.Pixbuf a a a a a To be added a To be added gtk-sharp-2.12.40/doc/en/Rsvg/DefVal.xml0000664000175000017500000000402312767740535014475 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Rsvg.DefVal To be added To be added Method Rsvg.DefVal To be added a a To be added Field Rsvg.DefType To be added To be added gtk-sharp-2.12.40/doc/en/Rsvg/TextAnchor.xml0000664000175000017500000000441112767740535015414 00000000000000 rsvg-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Rsvg.TextAnchor To be added To be added Field Rsvg.TextAnchor To be added To be added Field Rsvg.TextAnchor To be added To be added gtk-sharp-2.12.40/doc/en/Rsvg/Defs.xml0000664000175000017500000000577512767740535014234 00000000000000 rsvg-sharp 2.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Opaque Method System.Void To be added a a To be added Method System.Void To be added To be added Method Rsvg.DefVal To be added a a To be added Constructor To be added a To be added Constructor To be added To be added gtk-sharp-2.12.40/doc/en/Rsvg/Pixbuf.xml0000664000175000017500000004406412767740535014602 00000000000000 rsvg2-sharp 2.16.0.0 2.18.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Utility/Convenience Functions for creating a from SVG. To be added Constructor 2.18.0.0 To be added To be added Method 2.18.0.0 System.Obsolete Gdk.Pixbuf A file name Loads a new from and returns it. A newly allocated , or If an error occurred is returned. Method 2.18.0.0 System.Obsolete Gdk.Pixbuf A file name The requested max width The requested max height Loads a new from at and . A newly allocated , or This pixbuf is uniformly scaled so that the it fits into a rectangle of size * . If an error occurred is returned. Method Gdk.Pixbuf Loads a new from at and . The you wish to render with (either normal or gzipped) A file name The requested max width The requested max height A newly allocated , or This pixbuf is uniformly scaled so that the it fits into a rectangle of size * . Method 2.18.0.0 System.Obsolete Gdk.Pixbuf A file name The new width, or -1 The new height, or -1 Loads a new from at and . A newly allocated , or This pixbuf is scaled from the size indicated to the new size indicated by and . If either of these are -1, then the default size of the image being loaded is used. If an error occurred is returned. Method Gdk.Pixbuf Loads a new from at and The you wish to render with (either normal or gzipped) A file name The new width, or -1 The new height, or -1 A newly allocated , or This pixbuf is scaled from the size indicated to the new size indicated by width and height. If either of these are -1, then the default size of the image being loaded is used. If an error occurred is returned. Method 2.18.0.0 System.Obsolete Gdk.Pixbuf A file name The horizontal zoom factor The vertical zoom factor Loads a new from at and . A newly allocated , or This pixbuf is scaled from the size indicated by the file by a factor of and . If an error occurred is returned. Method Gdk.Pixbuf Loads a new GdkPixbuf from at and . The you wish to render with (either normal or gzipped) A file name The horizontal zoom factor The vertical zoom factor A newly allocated , or This pixbuf is scaled from the size indicated by the file by a factor of and . Method 2.18.0.0 System.Obsolete Gdk.Pixbuf A file name The horizontal zoom factor The vertical zoom factor The requested max width The requested max height Loads a new from at , , and . A newly allocated , or This pixbuf is scaled from the size indicated by the file by a factor of and . If the resulting pixbuf would be larger than / it is uniformly scaled down to fit in that rectangle. If an error occurred is returned. Method Gdk.Pixbuf Loads a new GdkPixbuf from file_name The you wish to render with (either normal or gzipped) A file name The horizontal zoom factor The vertical zoom factor The requested max width The requested max height A newly allocated , or This pixbuf is scaled from the size indicated by the file by a factor of and . If the resulting pixbuf would be larger than / it is uniformly scaled down to fit in that rectangle. Method Gdk.Pixbuf Loads a new GdkPixbuf from . The you wish to render with (either normal or gzipped) A file name A newly allocated , or If an error occurred, error is set and is returned. Method 2.18.0.0 Gdk.Pixbuf a To be added a To be added Method 2.18.0.0 Gdk.Pixbuf a To be added a To be added gtk-sharp-2.12.40/doc/en/Art/0000775000175000017500000000000012767740535012500 500000000000000gtk-sharp-2.12.40/doc/en/Art/VpathDash.xml0000664000175000017500000000307512767740535015031 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque To be added To be added Constructor 2.24.0.0 a To be added To be added gtk-sharp-2.12.40/doc/en/Art/Global.xml0000664000175000017500000001707212767740535014351 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Global API elements for Constructor 2.24.0.0 Default constructor Method 2.24.0.0 Art.Point a a a a a a a a a a To be added a To be added Method 2.24.0.0 Art.Vpath a a To be added a To be added Method 2.24.0.0 System.Byte The given Sorted Vector Path. The left coordinate of the viewport. The top coordinate of the viewport. The right coordinate of the viewport. The bottom coordinate of the viewport. The row stride of the pixel buffer. Renders the Sorted Vector Path into the given byte[]. The function is void, it should get the byte[] were to render... Its a bug. Is only renders inside the area of the viewport. Method 2.24.0.0 Art.IRect The given UTA. The maximum width of the resulting rectangles. The maximum height of the resulting rectangles. The number of rectangles generated. Should be an out. Its unnecessary. Decomposes a UTA into a list of rectangles. It should return a IRect[]. Yup, a bug. This routine provides a precise implementation, meaning that the rectangles cover exactly the same are as the uta. gtk-sharp-2.12.40/doc/en/Art/GradientRadial.xml0000664000175000017500000001215612767740535016021 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Field 2.24.0.0 System.Double[] To be added To be added Field 2.24.0.0 System.Double To be added To be added Field 2.24.0.0 System.Double To be added To be added Method 2.24.0.0 Art.GradientRadial a To be added a To be added Field 2.24.0.0 System.Int32 To be added To be added Property 2.24.0.0 Art.GradientStop To be added a To be added Field 2.24.0.0 Art.GradientRadial To be added To be added gtk-sharp-2.12.40/doc/en/Art/IRect.xml0000664000175000017500000001763412767740535014163 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType A Structure that suports rectangle with int coordinates. Method 2.24.0.0 System.Void The that is going to init the current one. Copies the values of the given rectangle, into this one. The current rectangle will be a clone of the given one. Method 2.24.0.0 System.Int32 Checks if the rectangle is empty. True if the rectangle is empty, false otherwise. For the rectangle to be empty, x1 has to be smaller or equal to x0, or y0 smaller or equal to y1. Method 2.24.0.0 System.Void The first source rectangle used. The second source rectangle used. Finds the intersection of two rectangles and initializes the current one with the result. Method 2.24.0.0 Art.IRect a To be added a To be added Method 2.24.0.0 System.Void The first source rectangle used. The first source rectangle used. Finds the union of two rectangles and initializes the current one with the result. Field 2.24.0.0 System.Int32 The first coordinate of the rectangle on the X axis. Field 2.24.0.0 System.Int32 The second coordinate of the rectangle on the X axis. Field 2.24.0.0 System.Int32 The first coordinate of the rectangle on the Y axis. Field 2.24.0.0 System.Int32 The second coordinate of the rectangle on the Y axis. Field 2.24.0.0 Art.IRect To be added gtk-sharp-2.12.40/doc/en/Art/SVP.xml0000664000175000017500000004676012767740535013627 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType Sorted Vector Path To be added Method 2.24.0.0 System.Int32 a a a a a a To be added a To be added Method 2.24.0.0 Art.SVP a To be added a To be added Method 2.24.0.0 System.Void To be added To be added Method 2.24.0.0 Art.SVP a To be added a To be added Method 2.24.0.0 Art.SVP a To be added a To be added Method 2.24.0.0 System.Void a To be added To be added Method 2.24.0.0 Art.SVP a To be added a To be added Method 2.24.0.0 Art.SVP a To be added a To be added Field 2.24.0.0 System.Int32 To be added To be added Method 2.24.0.0 System.Double a a To be added a To be added Method 2.24.0.0 System.Int32 a a To be added a To be added Method 2.24.0.0 System.Void a a a a a To be added To be added Method 2.24.0.0 Art.SVPRenderAAIter a a a a To be added a To be added Method 2.24.0.0 Art.SVP a To be added a To be added Field 2.24.0.0 Art.SVPSeg[] To be added To be added Method 2.24.0.0 Art.SVP To be added a To be added Method 2.24.0.0 Art.SVP a To be added a To be added Method 2.24.0.0 Art.SVP a a a a a a To be added a To be added Method 2.24.0.0 Art.Vpath a a a a a a To be added a To be added Field 2.24.0.0 Art.SVP To be added To be added gtk-sharp-2.12.40/doc/en/Art/PathStrokeCapType.xml0000664000175000017500000000515712767740535016524 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum To be added To be added Field 2.24.0.0 Art.PathStrokeCapType To be added Field 2.24.0.0 Art.PathStrokeCapType To be added Field 2.24.0.0 Art.PathStrokeCapType To be added gtk-sharp-2.12.40/doc/en/Art/AlphaGamma.xml0000664000175000017500000001022112767740535015126 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType The Structure AlphaGamma supports a specific value of gama. The composition with an AlphaGamma parameter is equivalent to applying a gama transformation to source images, with a alpha composition done in linear intensity space, and then applying the inverse gama tranformation, to place it back on the gamma-adjusted intensity space. This is only true when its correctly implemented, wich isn't generally the case in libart implementation. Method 2.24.0.0 System.Void Frees any resouces that are held by this structure. Method 2.24.0.0 Art.AlphaGamma a Creates a new AlphaGamma with a particular gamma value. a Method 2.24.0.0 Art.AlphaGamma a To be added a To be added Field 2.24.0.0 Art.AlphaGamma To be added To be added gtk-sharp-2.12.40/doc/en/Art/DRect.xml0000664000175000017500000002766612767740535014164 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType A Structure that suports rectangle with double coordinates. Method 2.24.0.0 System.Void The source rectangle used to apply the transformation. A with 6 elements containing the transformation's matrix. Applies an affine transformation to the src rectangle and initializes this one with the result. It finds the smallest rectangle enclosing the transformed src. The result is exactly the affine transformation of src when the matrix specifies an rectilinear affine transformation. otherwise its a conservative approximation. Method 2.24.0.0 System.Void The that is going to init the current one. Copies the values of the given rectangle, into this one. The current rectangle will be a clone of the given one. Method 2.24.0.0 System.Int32 Checks if the rectangle is empty. True if the rectangle is empty, false otherwise. For the rectangle to be empty, x1 has to be smaller or equal to x0, or y0 smaller or equal to y1. Method 2.24.0.0 System.Void The first source rectangle used. The second source rectangle used. Finds the intersection of two rectangles and initializes the current one with the result. Method 2.24.0.0 Art.DRect a To be added a To be added Method 2.24.0.0 System.Void The Sorted Vector Path. Finds the bounding box os a sorted vector path. The result is used to initialize the current instance. Method 2.24.0.0 System.Void a Finds the bounding box to the Sorted Vector Path and then unifies the resulting rectangle with the current instance. The result is used to initialize the current instance. Method 2.24.0.0 System.Void The newly created integer rectangle (). The source rectangle (). Converts the src rectangle into a interger one. The rouding is done using floor for x0 and y0 and ceil for x1 and y1. Method 2.24.0.0 System.Void The first source rectangle used. The second source rectangle used. Finds the union of two rectangles and initializes the current one with the result. To be added Field 2.24.0.0 System.Double The first coordinate of the rectangle on the X axis. Field 2.24.0.0 System.Double The second coordinate of the rectangle on the X axis. Field 2.24.0.0 System.Double The first coordinate of the rectangle on the Y axis. Field 2.24.0.0 System.Double The second coordinate of the rectangle on the Y axis. Field 2.24.0.0 Art.DRect To be added To be added gtk-sharp-2.12.40/doc/en/Art/CompositingMode.xml0000664000175000017500000000515212767740535016245 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum To be added To be added Field 2.24.0.0 Art.CompositingMode To be added Field 2.24.0.0 Art.CompositingMode To be added Field 2.24.0.0 Art.CompositingMode To be added gtk-sharp-2.12.40/doc/en/Art/MaskSource.xml0000664000175000017500000000554312767740535015225 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Method 2.24.0.0 Art.MaskSource a To be added a To be added Field 2.24.0.0 Art.RenderCallback To be added To be added Field 2.24.0.0 Art.MaskSource To be added To be added gtk-sharp-2.12.40/doc/en/Art/RenderAaCallback.xml0000664000175000017500000000241412767740535016241 00000000000000 art-sharp 2.20.0.0 2.24.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Art/Point.xml0000664000175000017500000000707212767740535014241 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType Structure representing a point in the Art 2D space. The Art 2D space is not a direct cartesian 2D space: it is an indirect cartesian space (that is, its direction is the invert of the standard trigonometric direction). The 2D space used by Art is inspired by the X coordinate space. Method 2.24.0.0 Art.Point a To be added a To be added Field 2.24.0.0 System.Double The X coordinate. To be added Field 2.24.0.0 System.Double The Y coordinate. To be added Field 2.24.0.0 Art.Point Get a point at the origin. To be added gtk-sharp-2.12.40/doc/en/Art/RenderMaskRun.xml0000664000175000017500000000656412767740535015675 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Field 2.24.0.0 System.Int32 To be added To be added Method 2.24.0.0 Art.RenderMaskRun a To be added a To be added Field 2.24.0.0 System.Int32 To be added To be added Field 2.24.0.0 Art.RenderMaskRun To be added To be added gtk-sharp-2.12.40/doc/en/Art/WindRule.xml0000664000175000017500000000617312767740535014702 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum To be added To be added Field 2.24.0.0 Art.WindRule To be added Field 2.24.0.0 Art.WindRule To be added Field 2.24.0.0 Art.WindRule To be added Field 2.24.0.0 Art.WindRule To be added gtk-sharp-2.12.40/doc/en/Art/GradientSpread.xml0000664000175000017500000000512412767740535016040 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum To be added To be added Field 2.24.0.0 Art.GradientSpread To be added Field 2.24.0.0 Art.GradientSpread To be added Field 2.24.0.0 Art.GradientSpread To be added gtk-sharp-2.12.40/doc/en/Art/Vpath.xml0000664000175000017500000002556012767740535014234 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Method 2.24.0.0 System.Void a a a a a To be added To be added Method 2.24.0.0 Art.Vpath a To be added a To be added Method 2.24.0.0 System.Void a To be added To be added Method 2.24.0.0 System.Void a To be added To be added Field 2.24.0.0 Art.Pathcode To be added To be added Method 2.24.0.0 Art.Vpath a To be added a To be added Method 2.24.0.0 Art.Vpath a To be added a To be added Method 2.24.0.0 Art.Vpath a To be added a To be added Method 2.24.0.0 Art.Vpath a a a To be added a To be added Method 2.24.0.0 Art.Vpath To be added a To be added Field 2.24.0.0 System.Double To be added To be added Field 2.24.0.0 System.Double To be added To be added Field 2.24.0.0 Art.Vpath To be added To be added gtk-sharp-2.12.40/doc/en/Art/ImageSourceFlags.xml0000664000175000017500000000403412767740535016323 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum To be added To be added Field 2.24.0.0 Art.ImageSourceFlags To be added Field 2.24.0.0 Art.ImageSourceFlags To be added gtk-sharp-2.12.40/doc/en/Art/Render.xml0000664000175000017500000006030412767740535014364 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Method 2.24.0.0 System.Void a To be added To be added Method 2.24.0.0 System.Void a To be added To be added Property 2.24.0.0 Art.AlphaGamma To be added a To be added Field 2.24.0.0 Art.AlphaType To be added To be added Field 2.24.0.0 Art.AlphaType To be added To be added Field 2.24.0.0 System.Int32 To be added To be added Method 2.24.0.0 System.Byte To be added a To be added Field 2.24.0.0 System.Byte[] To be added To be added Method 2.24.0.0 System.Void a To be added To be added Field 2.24.0.0 Art.CompositingMode To be added To be added Field 2.24.0.0 System.Int32 To be added To be added Method 2.24.0.0 System.Void a a To be added To be added Method 2.24.0.0 System.Void a a To be added To be added Method 2.24.0.0 System.Byte To be added a To be added Method 2.24.0.0 System.Void To be added To be added Method 2.24.0.0 System.Byte a To be added a To be added Method 2.24.0.0 System.Byte a a a a a To be added a To be added Method 2.24.0.0 System.Void a To be added To be added Field 2.24.0.0 System.Int32 To be added To be added Field 2.24.0.0 System.Int32 To be added To be added Method 2.24.0.0 Art.Render a To be added a To be added Method 2.24.0.0 Art.Render a a a a a a a a a a To be added a To be added Field 2.24.0.0 System.Int32 To be added To be added Field 2.24.0.0 System.Int32 To be added To be added Field 2.24.0.0 System.UInt32 To be added To be added Field 2.24.0.0 System.Int32 To be added To be added Property 2.24.0.0 Art.RenderMaskRun To be added a To be added Method 2.24.0.0 System.Void a To be added To be added Field 2.24.0.0 System.Int32 To be added To be added Field 2.24.0.0 System.Int32 To be added To be added Field 2.24.0.0 System.Int32 To be added To be added Field 2.24.0.0 System.Int32 To be added To be added Field 2.24.0.0 Art.Render To be added To be added gtk-sharp-2.12.40/doc/en/Art/Uta.xml0000664000175000017500000002743012767740535013701 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Method 2.24.0.0 System.Int32 a a a a a To be added a To be added Method 2.24.0.0 System.Void To be added To be added Method 2.24.0.0 Art.Uta a To be added a To be added Method 2.24.0.0 Art.Uta a To be added a To be added Method 2.24.0.0 Art.Uta a To be added a To be added Field 2.24.0.0 System.Int32 To be added To be added Method 2.24.0.0 Art.Uta a To be added a To be added Method 2.24.0.0 Art.Uta a a a a To be added a To be added Method 2.24.0.0 Art.Uta a a a a To be added a To be added Method 2.24.0.0 Art.Uta a To be added a To be added Field 2.24.0.0 System.Int32 To be added To be added Field 2.24.0.0 System.Int32 To be added To be added Field 2.24.0.0 System.Int32 To be added To be added Field 2.24.0.0 Art.Uta To be added To be added gtk-sharp-2.12.40/doc/en/Art/SvpWriter.xml0000664000175000017500000000735512767740535015121 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Method 2.24.0.0 Art.SvpWriter a To be added a To be added Method 2.24.0.0 Art.SvpWriter a To be added a To be added Method 2.24.0.0 Art.SVP To be added a To be added Field 2.24.0.0 Art.SvpWriter To be added To be added gtk-sharp-2.12.40/doc/en/Art/GradientLinear.xml0000664000175000017500000001325212767740535016035 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Field 2.24.0.0 System.Double To be added To be added Field 2.24.0.0 System.Double To be added To be added Field 2.24.0.0 System.Double To be added To be added Method 2.24.0.0 Art.GradientLinear a To be added a To be added Field 2.24.0.0 System.Int32 To be added To be added Field 2.24.0.0 Art.GradientSpread To be added To be added Property 2.24.0.0 Art.GradientStop To be added a To be added Field 2.24.0.0 Art.GradientLinear To be added To be added gtk-sharp-2.12.40/doc/en/Art/AlphaType.xml0000664000175000017500000000505012767740535015031 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum To be added To be added Field 2.24.0.0 Art.AlphaType To be added Field 2.24.0.0 Art.AlphaType To be added Field 2.24.0.0 Art.AlphaType To be added gtk-sharp-2.12.40/doc/en/Art/ImageSource.xml0000664000175000017500000000555612767740535015360 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Method 2.24.0.0 Art.ImageSource a To be added a To be added Field 2.24.0.0 Art.RenderCallback To be added To be added Field 2.24.0.0 Art.ImageSource To be added To be added gtk-sharp-2.12.40/doc/en/Art/SVPRenderAAIter.xml0000664000175000017500000000644012767740535016004 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque To be added To be added Constructor 2.24.0.0 a To be added To be added Method 2.24.0.0 System.Void To be added To be added Method 2.24.0.0 System.Void a a a To be added To be added gtk-sharp-2.12.40/doc/en/Art/GradientStop.xml0000664000175000017500000000661412767740535015554 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Field 2.24.0.0 System.Byte[] To be added To be added Method 2.24.0.0 Art.GradientStop a To be added a To be added Field 2.24.0.0 System.Double To be added To be added Field 2.24.0.0 Art.GradientStop To be added To be added gtk-sharp-2.12.40/doc/en/Art/DestroyNotify.xml0000664000175000017500000000211612767740535015764 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added To be added gtk-sharp-2.12.40/doc/en/Art/SVPSeg.xml0000664000175000017500000001261112767740535014252 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Field 2.24.0.0 Art.DRect To be added To be added Method 2.24.0.0 System.Int32 a a To be added a To be added Field 2.24.0.0 System.Int32 To be added To be added Method 2.24.0.0 Art.SVPSeg a To be added a To be added Field 2.24.0.0 System.Int32 To be added To be added Property 2.24.0.0 Art.Point To be added a To be added Field 2.24.0.0 Art.SVPSeg To be added To be added gtk-sharp-2.12.40/doc/en/Art/PixFormat.xml0000664000175000017500000000261312767740535015055 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum To be added To be added Field 2.24.0.0 Art.PixFormat To be added gtk-sharp-2.12.40/doc/en/Art/Rgba.xml0000664000175000017500000001166412767740535014025 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added To be added Constructor 2.24.0.0 To be added To be added Method 2.24.0.0 System.Byte a a a a To be added a To be added Method 2.24.0.0 System.Void a a a To be added To be added Method 2.24.0.0 System.Byte a a a a a To be added a To be added gtk-sharp-2.12.40/doc/en/Art/Rgb.xml0000664000175000017500000005132012767740535013655 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added To be added Constructor 2.24.0.0 To be added To be added Method 2.24.0.0 System.Void a a a a a a a a a a a a a a To be added To be added Method 2.24.0.0 System.Void a a a a a a a a a a a a a To be added To be added Method 2.24.0.0 System.Void a a a a a a a a a a a a a a To be added To be added Method 2.24.0.0 System.Byte a a a a To be added a To be added Method 2.24.0.0 System.Byte a a a a a a a a a To be added a To be added Method 2.24.0.0 System.Void a a a a a a a a a a a a a To be added To be added Method 2.24.0.0 System.Byte a a a a a To be added a To be added Method 2.24.0.0 System.Byte a a a a a a a a a To be added a To be added Method 2.24.0.0 System.Byte a a a a a a a a To be added a To be added gtk-sharp-2.12.40/doc/en/Art/Bpath.xml0000664000175000017500000001571112767740535014205 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType Support Structure for Bezier Paths Method 2.24.0.0 Art.Bpath An Affine Transformation. Apply an affine transform to the Bezier Path. A new Bezier Path that is the result of the current with the affien transformation applyed to it. Matrix has to be a six position array. Field 2.24.0.0 Art.Pathcode To be added To be added Method 2.24.0.0 Art.Bpath a To be added a To be added Field 2.24.0.0 System.Double To be added To be added Field 2.24.0.0 System.Double To be added To be added Field 2.24.0.0 System.Double To be added To be added Field 2.24.0.0 System.Double To be added To be added Field 2.24.0.0 System.Double To be added To be added Field 2.24.0.0 System.Double To be added To be added Field 2.24.0.0 Art.Bpath To be added To be added gtk-sharp-2.12.40/doc/en/Art/FilterLevel.xml0000664000175000017500000000773712767740535015375 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum Allows the selection of the required filter level. Cubic filtering is missing because hyper is just as fast to implement and slightly better in quality. Field 2.24.0.0 Art.FilterLevel Bilinear interpolation. On enlargement its equivalent to point-sampling the ideal bilinear-interpolated image. On reduction, its equivalent to laying down samll tiles and integrating over the coverage area. Field 2.24.0.0 Art.FilterLevel Slowest and highest quality reconstruction, derived from the hyperbolic filters in Wolberg's "Digital Image Warping". Hyperbolic-filter sampling the ideal hyperbolic-filter interpolated image (its designed to be idempotent for 1:1 pixel mapping). Field 2.24.0.0 Art.FilterLevel Nearest neighbor implementation. Fastest and lowest quality. Field 2.24.0.0 Art.FilterLevel Accurate simulation of the PostScript image operator without any interpolation. Each pixed is rendered as a small parallelogra, of solid color, with its edges implemented with antialiasing. It looks like Nearest on enlargement and Bilinear on reduction. gtk-sharp-2.12.40/doc/en/Art/SVPRenderAAStep.xml0000664000175000017500000000661212767740535016015 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Field 2.24.0.0 System.Int32 To be added To be added Method 2.24.0.0 Art.SVPRenderAAStep a To be added a To be added Field 2.24.0.0 System.Int32 To be added To be added Field 2.24.0.0 Art.SVPRenderAAStep To be added To be added gtk-sharp-2.12.40/doc/en/Art/PixBuf.xml0000664000175000017500000004403012767740535014340 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType This structure encapsulates a buffer of pixels, that can be in several specific pixel buffer formats. To be added Field 2.24.0.0 System.Int32 To be added To be added Property 2.24.0.0 Art.DestroyNotify To be added. To be added. To be added. Method 2.24.0.0 Art.PixBuf Creates a deep clone of the current instance. A fresh deep copy of the current instance. Event the buffer that was given to create this buffer is copied, and its dealocation is then done by the new instance on its destruction, independently of who is responsible to free the curren buffer. Field 2.24.0.0 Art.PixFormat To be added To be added Method 2.24.0.0 System.Void Frees any used resources. If the destroy delegate was given its invoked, otherwise if it wasn't created with NewConstRGBx it will free the memory held by the buffer. Method 2.24.0.0 System.Void Frees just the resources held by the PixBuf ignoring the given buffer. Its deprecated. Field 2.24.0.0 System.Int32 To be added To be added Field 2.24.0.0 System.Int32 To be added To be added Field 2.24.0.0 System.Int32 To be added To be added Method 2.24.0.0 Art.PixBuf a To be added a To be added Method 2.24.0.0 Art.PixBuf The buffer containing the actual pixel data. The width of the pixbuf. The height of the pixbuf. The row stride of the pixbuf. Creates a new RGB PixBuf. A newly created RGB. Method 2.24.0.0 Art.PixBuf The buffer containing the actual pixel data. The width of the pixbuf. The height of the pixbuf. The row stride of the pixbuf. Creates a new RGBA PixBuf. A newly created RGBA. Method 2.24.0.0 Art.PixBuf The buffer containing the actual pixel data. The width of the pixbuf. The height of the pixbuf. The row stride of the pixbuf. Creates a new RGB PixBuf. A newly created RGB. On destruction, the created instance will free the memory used by given buffer in pixels. Method 2.24.0.0 Art.PixBuf The buffer containing the actual pixel data. The width of the pixbuf. The height of the pixbuf. The row stride of the pixbuf. Creates a new RGBA PixBuf. A newly created RGB. On destruction, the created instance will free the memory used by given buffer in pixels. Method 2.24.0.0 Art.PixBuf The buffer containing the actual pixel data. The width of the pixbuf. The height of the pixbuf. The row stride of the pixbuf. The data that will be given to dfunc on its invocation. The delegate that is going to be invoked when the PixBuf gets destroyed. Creates a new RGBA PixBuf that invokes the given delegate on destruction. A newly created RGBA that invokes a delegate on its destruction. Method 2.24.0.0 Art.PixBuf The buffer containing the actual pixel data. The width of the pixbuf. The height of the pixbuf. The row stride of the pixbuf. The data that will be given to dfunc on its invocation. The delegate that is going to be invoked when the PixBuf gets destroyed. Creates a new RGB PixBuf that invokes the given delegate on destruction. A newly created RGB that invokes a delegate on its destruction. Field 2.24.0.0 System.Int32 To be added To be added Field 2.24.0.0 System.Int32 To be added To be added Field 2.24.0.0 Art.PixBuf To be added To be added gtk-sharp-2.12.40/doc/en/Art/PathStrokeJoinType.xml0000664000175000017500000000517112767740535016714 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum To be added To be added Field 2.24.0.0 Art.PathStrokeJoinType To be added Field 2.24.0.0 Art.PathStrokeJoinType To be added Field 2.24.0.0 Art.PathStrokeJoinType To be added gtk-sharp-2.12.40/doc/en/Art/Affine.xml0000664000175000017500000003572712767740535014350 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Defines an affine transformation To be added Constructor 2.24.0.0 To be added To be added Method 2.24.0.0 System.Boolean An affine transformation. Another affine transformation. Determine if two matrices are equal. if the matrices are equal. Equality is verified with epsilon-tolerance for roundoff errors. Method 2.24.0.0 System.Double The affine transformation. Finds the expansion factor, i.e. the square root of the factor by which the affine transform affects area. The expansion factor. In an affine transform composed of scaling, rotation, shearing, and translation, returns the amount of scaling. Method 2.24.0.0 System.Void Where to store the resulting affine transform. The original affine transformation. Whether or not to flip horizontally. Whether or not to flip vertically. Flips the affine transform. Both horz and vert false results in a simple copy operation. True for both results in an 180 degree rotation. Method 2.24.0.0 System.Void Where to store the resulting affine transform. Set up the identity matrix. To be added Method 2.24.0.0 System.Void Where the resulting affine is stored. The original affine transformation. Sets up the inverse of the given transformation. The inverse is in the classical sense; src_affine multiplied with dst_affine, or dst_affine multiplied with src_affine will be (to within roundoff error) the identify affine. See Method 2.24.0.0 System.Void Where to store the resulting affine transform. The first affine transform to multiply. The second affine transform to multiply. Multiplies two affine transforms together, i.e. the resulting dst is equivalent to doing first src1 then src2. To be added Method 2.24.0.0 Art.Point The original point. The affine transform. Apply an affine transform to an . The resulting point after performing the transform. To be added Method 2.24.0.0 System.Boolean The affine transformation to test. Determines wether a matrix is rectilinear, i.e. grid-aligned rectangles are transformed to other grid-aligned rectangles. if the matrix is rectilinear. The implementation has epsilon-tolerance for roundoff errors. Method 2.24.0.0 System.Void Where to store the resulting affine transformation. Rotation angle in degrees. Sets up a rotation matrix. To be added Method 2.24.0.0 System.Void Where to store the resulting affine transform. X scale factor. Y scale factor. Sets up a scaling matrix. To be added Method 2.24.0.0 System.Void Where to store the resulting affine transformation. Shear angle in degrees. Setup a shearing matrix To be added Method 2.24.0.0 System.Void The resulting string. The affine transform. Converts an affine transform into a bit of PostScript code that implements the transform. Special cases of scaling, rotation, and translation are detected, and the corresponding PostScript operators used (this greatly aids understanding the output generated). The identity transform is mapped to the null string. Method 2.24.0.0 System.Void Where to store the resulting affine transform. X translation amount. Y translation amount. Sets up a translation matrix. To be added gtk-sharp-2.12.40/doc/en/Art/Pathcode.xml0000664000175000017500000000726412767740535014702 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum To be added To be added Field 2.24.0.0 Art.Pathcode To be added Field 2.24.0.0 Art.Pathcode To be added Field 2.24.0.0 Art.Pathcode To be added Field 2.24.0.0 Art.Pathcode To be added Field 2.24.0.0 Art.Pathcode To be added gtk-sharp-2.12.40/doc/en/Art/RenderCallback.xml0000664000175000017500000000447312767740535016006 00000000000000 art-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Method 2.24.0.0 Art.RenderCallback a To be added a To be added Field 2.24.0.0 Art.RenderCallback To be added To be added gtk-sharp-2.12.40/doc/en/ns-Pango.xml0000664000175000017500000000075512767740535014105 00000000000000 Pango provides advanced font and text handling that is used for Gdk and Gtk. Pango project provides a framework for the layout and rendering of internationalized text. Pango uses Unicode for all of its encoding, and will eventually support output in all the worlds major languages. gtk-sharp-2.12.40/doc/en/Gdk/0000775000175000017500000000000012767740535012457 500000000000000gtk-sharp-2.12.40/doc/en/Gdk/DisplayManager.xml0000664000175000017500000002037712767740535016032 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object The purpose of this class is to offer notification when displays appear or disappear or the default display changes. To be added Constructor 2.12.0.0 Do not use. This object is a singleton object, and should be accessed through instead of creating a new instance. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 raw unmanaged pointer. Internal constructor. This constructor is internal and should not be used. Property 2.12.0.0 GLib.Property("default-display") Gdk.Display Access and modify the default display. The default . None. Event 2.12.0.0 GLib.Signal("display_opened") Gdk.DisplayOpenedHandler Event emitted when a display is opened. None. Method 2.12.0.0 Gdk.DisplayManager Returns the global DisplayManager instance. The global instance. This is the only valid way to access this class. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 Gdk.Display[] List all currently open displays. The currently open displays as an array of . None. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDisplayOpened", Type=typeof(Gdk.DisplayManager)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. gtk-sharp-2.12.40/doc/en/Gdk/PixbufAnimationIter.xml0000664000175000017500000002227012767740535017045 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object An iterator used by for displaying animations by stepping through frames. Constructor 2.12.0.0 Protected constructor. Constructor 2.12.0.0 System.Obsolete a Internal constructor This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Boolean A , pointer to a C time object Possibly advances an animation to a new frame. Chooses the frame based on the start time passed to . A , true if the image may need updating.

would normally come from g_get_current_time(), and must be greater than or equal to the time passed to , and must increase or remain unchanged each time this method is called. That is, you can't go backward in time; animations only play forward.

As a shortcut, pass for the current time and g_get_current_time() will be invoked on your behalf. So you only need to explicitly pass if you're doing something odd like playing the animation at double speed.

If this method returns false, there's no need to update the animation display, assuming the display had been rendered prior to advancing; if true, you need to call and update the display with the new pixbuf.

Property 2.12.0.0 System.Int32 Gets the number of milliseconds the current pixbuf should be displayed, or -1 if the current pixbuf should be displayed forever. A , delay time in milliseconds (thousandths of a second) g_timeout_add() (FIXME: this doesn't seem to be bound) conveniently takes a timeout in milliseconds, so you can use a timeout to schedule the next update. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 System.Boolean Used to determine how to respond to the signal when loading an animation. is emitted for an area of the frame currently streaming into the loader. So if you're on the currently loading frame, you need to redraw the screen for the updated area. A , true if the frame we're on is partially loaded, or the last frame Property 2.12.0.0 Gdk.Pixbuf Gets the current pixbuf which should be displayed; the pixbuf will be the same size as the animation itself (, ). This pixbuf should be displayed for milliseconds. The caller of this function does not own a reference to the returned pixbuf; the returned pixbuf will become invalid when the iterator advances to the next frame, which may happen anytime you call . Copy the pixbuf to keep it (don't just add a reference), as it may get recycled as you advance the iterator. A
gtk-sharp-2.12.40/doc/en/Gdk/Global.xml0000664000175000017500000006642212767740535014333 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Global API elements for Shouldn't be called explicitly if Gtk.Application.Init() is used. Constructor 2.12.0.0 Defaul constructor Property 2.12.0.0 Gdk.Window To be added a To be added Method 2.12.0.0 System.Void a a To be added To be added Property 2.12.0.0 System.Int32 To be added a To be added Property 2.12.0.0 Gdk.Window To be added a To be added Property 2.12.0.0 Gdk.Rectangle[] To be added a To be added Method 2.12.0.0 Gdk.Device[] To be added a To be added Property 2.12.0.0 System.String To be added a To be added Property 2.12.0.0 System.String Gets the display name specified in the command line arguments passed to Global.ParseArgs. A containing the name specified. If the name was not specified then null is returned. Property 2.12.0.0 System.UInt32 To be added a To be added Method 2.12.0.0 System.Boolean To be added a To be added Method 2.12.0.0 System.Byte To be added a To be added Method 2.12.0.0 System.Boolean A containing the args used to initialize the library. Initializes the library for usage. A , that is true if its able to open and set the default display, otherwise its false. To be added Method 2.12.0.0 Gdk.Visual[] To be added a To be added Method 2.12.0.0 System.Void To be added To be added Property 2.12.0.0 System.Int32 To be added a To be added Method 2.12.0.0 System.Void A containing the args to parse. Parses command line arguments and stores them for future usage. Shouldn't be called explicitly if Global.InitCheck or Gtk.Application.Init or Gtk.Application.InitCheck are being used. Method 2.12.0.0 System.Void To be added To be added Property 2.12.0.0 System.String To be added a To be added Method 2.12.0.0 System.Int32[] To be added a To be added Method 2.12.0.0 Gdk.VisualType[] To be added a To be added Method 2.12.0.0 System.String To be added a To be added Method 2.12.0.0 Gdk.PointerHooks a To be added a To be added Method 2.12.0.0 System.Boolean a a To be added a To be added Property 2.12.0.0 System.Boolean To be added a To be added Property 2.12.0.0 System.String To be added a To be added Method 2.12.0.0 System.Obsolete System.Void a a a a a a a To be added To be added Method 2.12.0.0 System.Obsolete System.Int32 a a To be added a To be added Method 2.12.0.0 System.Obsolete System.Int32 a a To be added a To be added Method 2.12.0.0 System.Obsolete System.Int32 a a To be added a To be added Property 2.12.0.0 Gdk.Atom[] To be added a To be added Method 2.12.0.0 System.UInt32 a To be added a To be added Property 2.12.0.0 System.Obsolete System.Boolean To be added a To be added Property 2.12.0.0 Gdk.Window[] To be added a To be added gtk-sharp-2.12.40/doc/en/Gdk/WindowTypeHint.xml0000664000175000017500000002403412767740535016060 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.WindowTypeHintGType)) Hints to the window manager. These are hints for the window manager that indicate what type of function the window has. The window manager can use this when determining decoration and behaviour of the window. The hint must be set before mapping the window. These map to the FreeDesktop WM specification (http://freedesktop.org/Standards/wm-spec/) Field 2.12.0.0 Gdk.WindowTypeHint Indicates a combo window. Field 2.12.0.0 Gdk.WindowTypeHint Indicates a desktop feature. This can include a single window containing desktop icons with the same dimensions as the screen, allowing the desktop environment to have full control of the desktop, without the need for proxying root window clicks. Field 2.12.0.0 Gdk.WindowTypeHint Dialog window. Field 2.12.0.0 Gdk.WindowTypeHint Indicates a drag and drop window type. Field 2.12.0.0 Gdk.WindowTypeHint Indicates a dock or panel feature. Typically a Window Manager would keep such windows on top of all other windows. Field 2.12.0.0 Gdk.WindowTypeHint Indicates a drop down menu window. Field 2.12.0.0 Gdk.WindowTypeHint Window used to implement a menu. Field 2.12.0.0 Gdk.WindowTypeHint Normal toplevel window. Field 2.12.0.0 Gdk.WindowTypeHint Indicates a notification popup window. Field 2.12.0.0 Gdk.WindowTypeHint Indicates a popup menu window. Field 2.12.0.0 Gdk.WindowTypeHint Indicates that the window is a splash screen displayed as an application is starting up. Field 2.12.0.0 Gdk.WindowTypeHint Window used to implement toolbars. Field 2.12.0.0 Gdk.WindowTypeHint Indicates a tooltip popup window. Field 2.12.0.0 Gdk.WindowTypeHint Indicates a small persistent utility window, such as a palette or toolbox. It is distinct from type Toolbar because it does not correspond to a toolbar torn off from the main application. It's distinct from type Dialog because it isn't a transient dialog, the user will probably keep it open while they're working. gtk-sharp-2.12.40/doc/en/Gdk/Fill.xml0000664000175000017500000000704212767740535014012 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.FillGType)) Determines how primitives are drawn. None. Field 2.12.0.0 Gdk.Fill Draw using the stipple bitmap. Pixels corresponding to bits in the stipple bitmap that are set will be drawn in the foreground color; pixels corresponding to bits that are not set will be drawn with the background color. Field 2.12.0.0 Gdk.Fill Draw with the foreground color. Field 2.12.0.0 Gdk.Fill Draw using the stipple bitmap. Pixels corresponding to bits in the stipple bitmap that are set will be drawn in he foreground color; pixels corresponding to bits that are not set will be left untouched. Field 2.12.0.0 Gdk.Fill Draw with a tiled pixmap. gtk-sharp-2.12.40/doc/en/Gdk/PixdataType.xml0000664000175000017500000001305612767740535015362 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum System.Flags To be added To be added Field 2.12.0.0 Gdk.PixdataType To be added Field 2.12.0.0 Gdk.PixdataType To be added Field 2.12.0.0 Gdk.PixdataType To be added Field 2.12.0.0 Gdk.PixdataType To be added Field 2.12.0.0 Gdk.PixdataType To be added Field 2.12.0.0 Gdk.PixdataType To be added Field 2.12.0.0 Gdk.PixdataType To be added Field 2.12.0.0 Gdk.PixdataType To be added gtk-sharp-2.12.40/doc/en/Gdk/Cursor.xml0000664000175000017500000003414112767740535014401 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque Standard and pixmap cursors The represents cursors. Constructor 2.12.0.0 The cursor type. Creates a cursor from standard definitions. Creates a new cursor from the set of builtin cursors for the default display. See gdk_cursor_new_for_display(). To make the cursor invisible, use gdk_cursor_new_from_pixmap() to create a cursor with no pixels in it. Constructor 2.12.0.0 raw managed pointer. Internal constructor. This is an internal constructor, do not use it. Constructor 2.12.0.0 The for which the cursor will be created. Cursor to create. Creates a new cursor from the set of builtin cursors. None. Constructor 2.12.0.0 a a a a To be added To be added Constructor 2.12.0.0 The the pixmap specifying the cursor. The specifying the mask, which must be the same size as source. the foreground color, used for the bits in the source which are 1. The color does not have to be allocated first. the background color, used for the bits in the source which are 0. The color does not have to be allocated first. the horizontal offset of the 'hotspot' of the cursor. the vertical offset of the 'hotspot' of the cursor. Creates a new cursor from a given pixmap and mask. Creates a new cursor from a given pixmap and mask. Both the pixmap and mask must have a depth of 1 (i.e. each pixel has only 2 values - on or off). The standard cursor size is 16 by 16 pixels. Gdk.Pixmap pixmap = GetPixmap (); Gdk.Bitmap mask = GetMask (); Gdk.Cursor cursor = new Gdk.Cursor (pixmap, mask); Property 2.12.0.0 Gdk.Display Returns the display on which the is defined. The where the cursor is defined. Method 2.12.0.0 System.Void To be added. To be added. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 Gdk.Pixbuf A Pixbuf containing the Cursor's image. a of the cursor image. Method 2.12.0.0 Gdk.Cursor The display for which to create the cursor. The name of the cursor in the Cursor theme. Creates a cursor by name in a cursor theme. a , or . Returns if the name doesn't have an associated cursor in the current Cursor theme. Method 2.12.0.0 System.Obsolete("Gdk.Cursor is now refcounted automatically") Gdk.Cursor Adds a reference to the cursor Same cursor that was passed in. Method 2.12.0.0 System.Void To be added. To be added. To be added. Property 2.12.0.0 Gdk.CursorType To be added. To be added. To be added. Method 2.12.0.0 System.Obsolete("Gdk.Cursor is now refcounted automatically") System.Void Removes a reference from cursor, deallocating the cursor if no references remain. Method 2.12.0.0 System.Void To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gdk/PixbufAniAnimIter.xml0000664000175000017500000000760512767740535016447 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gdk.PixbufAnimationIter Iterator for pointing to a particular frame of an ANI animation. Mostly internal; not for general developer use. Constructor 2.12.0.0 Protected constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 a , pointer to the underlying C object Constructor for internal use. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gdk/InvalidateMaybeRecurseChildFunc.xml0000664000175000017500000000200412767740535021264 00000000000000 gdk-sharp 2.12.0.0 System.Delegate System.Boolean The window to consider. Callback function for . Whether or not the part of intersecting the region-to-be-invalidated should be invalidated. gtk-sharp-2.12.40/doc/en/Gdk/Error.xml0000664000175000017500000000501112767740535014207 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added To be added Constructor 2.12.0.0 To be added To be added Method 2.12.0.0 System.Int32 To be added a To be added Method 2.12.0.0 System.Void To be added To be added gtk-sharp-2.12.40/doc/en/Gdk/Trapezoid.xml0000664000175000017500000001367312767740535015074 00000000000000 gdk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Method 2.12.0.0 Gdk.Trapezoid a To be added a To be added Field 2.12.0.0 System.Double To be added To be added Field 2.12.0.0 System.Double To be added To be added Field 2.12.0.0 System.Double To be added To be added Field 2.12.0.0 System.Double To be added To be added Field 2.12.0.0 System.Double To be added To be added Field 2.12.0.0 System.Double To be added To be added Field 2.12.0.0 Gdk.Trapezoid To be added To be added gtk-sharp-2.12.40/doc/en/Gdk/AreaUpdatedHandler.xml0000664000175000017500000000310712767740535016577 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the AreaUpdatedHandler instance to the event. The methods referenced by the AreaUpdatedHandler instance are invoked whenever the event is raised, until the AreaUpdatedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gdk/TextProperty.xml0000664000175000017500000001110012767740535015603 00000000000000 gdk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added To be added Constructor 2.12.0.0 To be added To be added Method 2.12.0.0 System.String[] a a a a To be added a To be added Method 2.12.0.0 System.String[] a a a a a To be added a To be added gtk-sharp-2.12.40/doc/en/Gdk/WindowState.xml0000664000175000017500000001221712767740535015374 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.WindowStateGType)) System.Flags Specifies the state of a toplevel window. None. Field 2.12.0.0 Gdk.WindowState To be added To be added Field 2.12.0.0 Gdk.WindowState To be added To be added Field 2.12.0.0 Gdk.WindowState Fullscreen window. Field 2.12.0.0 Gdk.WindowState The window is minimized. None. Field 2.12.0.0 Gdk.WindowState The window is maximized. None. Field 2.12.0.0 Gdk.WindowState The window is sticky. None. Field 2.12.0.0 Gdk.WindowState The window is not shown. None. gtk-sharp-2.12.40/doc/en/Gdk/PangoAttrStipple.xml0000664000175000017500000002223512767740535016365 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque To be added To be added Constructor 2.12.0.0 To be added: an object of type 'Gdk.Pixmap' To be added To be added Constructor 2.12.0.0 To be added: an object of type 'IntPtr' To be added To be added Property 2.12.0.0 System.Obsolete("Replaced by explicit Pango.Attribute cast") Pango.Attribute To be added. To be added. To be added. Method 2.12.0.0 System.Obsolete("Replaced by PangoAttrStipple(Gdk.Pixmap) constructor") Gdk.PangoAttrStipple To be added: an object of type 'Gdk.Pixmap' Obsolete: replaced by normal constructor To be added: an object of type 'Gdk.PangoAttrStipple' Method 2.12.0.0 System.Obsolete("Replaced by PangoAttrStipple(IntPtr) constructor") Gdk.PangoAttrStipple To be added: an object of type 'IntPtr' Obsolete internal constructor To be added: an object of type 'Gdk.PangoAttrStipple' To be added Method 2.12.0.0 Pango.Attribute To be added. To be added. To be added. To be added. Method 2.12.0.0 Gdk.PangoAttrStipple To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Obsolete("Replaced by Stipple property.") Gdk.Pixmap Obsolete alias for the property To be added: an object of type 'Gdk.Pixmap' To be added Property 2.12.0.0 Gdk.Pixmap To be added. To be added. To be added. Field 2.12.0.0 System.Obsolete("Gdk.PangoAttrStipple is a reference type now, use null") Gdk.PangoAttrStipple To be added To be added gtk-sharp-2.12.40/doc/en/Gdk/Drop.xml0000664000175000017500000000667212767740535014040 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added To be added Constructor 2.12.0.0 To be added To be added Method 2.12.0.0 System.Void a a a To be added To be added Method 2.12.0.0 System.Void a a a To be added To be added gtk-sharp-2.12.40/doc/en/Gdk/PixbufGifAnim.xml0000664000175000017500000001125312767740535015613 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gdk.PixbufAnimation To be added To be added Constructor 2.12.0.0 To be added To be added Constructor 2.12.0.0 System.Obsolete a Internal constructor This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Void To be added: an object of type 'Gdk.PixbufFrame' To be added To be added Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gdk/RgbDither.xml0000664000175000017500000000554512767740535015004 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.RgbDitherGType)) Selects whether or not applies dithering to the image on display. Since currently only handles images with 8 bits per component, dithering on 24 bit per pixel displays is a moot point. Field 2.12.0.0 Gdk.RgbDither Use dithering in 16 bits per pixel and below. Field 2.12.0.0 Gdk.RgbDither Never use dithering. Field 2.12.0.0 Gdk.RgbDither Use dithering in 8 bits per pixel (and below) only. gtk-sharp-2.12.40/doc/en/Gdk/LineStyle.xml0000664000175000017500000000553212767740535015036 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.LineStyleGType)) Determines how lines are drawn. None. Field 2.12.0.0 Gdk.LineStyle Even segments are normally. Odd segments are drawn in the background color if the fill style is Fill.Solid, or in the background color masked by the stipple if the fill style is Fill.Stippled. None. Field 2.12.0.0 Gdk.LineStyle Even segments are drawn; odd segments are not drawn. None. Field 2.12.0.0 Gdk.LineStyle Lines are drawn solid. None. gtk-sharp-2.12.40/doc/en/Gdk/Color.xml0000664000175000017500000004450412767740535014206 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType Describes an allocated or unallocated color. The Gdk.Color structure is used to describe an allocated or unallocated color. Unallocated colors only have the red, green and blue ushort values initialized. Colors are allocated using the method. After a color is allocated the value in the field is valid. DrawRedLine (Gdk.Drawable drawable) { Gdk.GC gc = new Gdk.GC (drawable); Gdk.Color red_color = new Gdk.Color (0xff, 0, 0); // Use the system colormap, easy. Gdk.Colormap colormap = Gdk.Colormap.System; colormap.AllocColor (red_color, true, true); gc.Foreground = red_color; // Now you can use it drawable.DrawLine (gc, 0, 0, 100, 100); } Constructor 2.12.0.0 Red value (0-255) Green value (0-255) Blue value (0-255) Color constructor from RGB byte values This constructs the color from three byte values for red, green and blue. Notice that the Gdk.Color structure actually uses 16-bit color values, so the byte values are mapped into the 16-bit value space. This is just a convenience routine to initialize this structure. To use the Gdk.Color you must allocate it within the current colormap. DrawRedLine (Gdk.Drawable drawable) { Gdk.GC gc = new Gdk.GC (drawable); Gdk.Color red_color = new Gdk.Color (0xff, 0, 0); // Use the system colormap, easy. Gdk.Colormap colormap = Gdk.Colormap.System; colormap.AllocColor (red_color, true, true); // Now you can use it drawable.DrawLine (gc, 0, 0, 100, 100); } Method 2.12.0.0 System.Obsolete System.Int32 a a To be added a To be added Method 2.12.0.0 System.Obsolete System.Int32 a a To be added a To be added Field 2.12.0.0 System.UInt16 Blue element of the color. Method 2.12.0.0 System.Obsolete System.Int32 a a To be added a To be added Method 2.12.0.0 System.Boolean The color to compare Compares whether two colors are equal. true if the red, green and blue components are the same Notice that this will not compare the value, it will only compare the red, green and blue elements. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. Field 2.12.0.0 System.UInt16 Green element of the color. Property 2.12.0.0 GLib.GType The GLib.GType for Gdk.Color a The GLib.GType for the Gdk.Color class. Method 2.12.0.0 Gdk.Color A pointer to the unmanaged GdkColor structure. Creates a color from an unmanaged location. This returns a Gdk.Color structure. The parameter points to a C-based GdkColor structure. This routine creates a Gdk.Color structure from its unmanaged version. Method 2.12.0.0 GLib.Value To be added. To be added. To be added. To be added. Method 2.12.0.0 Gdk.Color To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean A specifying the color. The to fill in. Parses a textual specification of a color and fill in the red, green, and blue fields of a structure. A which indicates whether the parsing succeeded. The color is not allocated. The text string can be in any of the forms accepted by XParseColor; these include name for a color from rgb.txt, such as DarkSlateGray, or a hex specification such as #3050b2 or #35b. Field 2.12.0.0 System.UInt32 Pixel value for the color. Colors are specified in Gdk by their red, green and blue elements. But before the color can be used, the color has to be allocated in a given colormap. The value of the allocation is stored in this pixel field and it is the token used to render the color. The pixel value is initialized when using the method. Field 2.12.0.0 System.UInt16 Red element of the color. Method 2.12.0.0 System.String To be added. To be added. To be added. Method 2.12.0.0 System.Obsolete System.Int32 a a To be added a To be added Field 2.12.0.0 Gdk.Color Unallocated, empty color. gtk-sharp-2.12.40/doc/en/Gdk/WMFunction.xml0000664000175000017500000001102112767740535015145 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum System.Flags These are hints originally defined by the Motif toolkit. The window manager can use them when determining the functions to offer for the window. The hint must be set before mapping the window. None. Field 2.12.0.0 Gdk.WMFunction All functions should be offered. Field 2.12.0.0 Gdk.WMFunction The window should be closable. Field 2.12.0.0 Gdk.WMFunction The window should be maximizable. Field 2.12.0.0 Gdk.WMFunction The window should be minimizable. Field 2.12.0.0 Gdk.WMFunction The window should be movable. Field 2.12.0.0 Gdk.WMFunction The window should be resizable. gtk-sharp-2.12.40/doc/en/Gdk/CursorType.xml0000664000175000017500000013327112767740535015247 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.CursorTypeGType)) The standard cursors available. These do not document very well currently. If you look at the GDK api docs for GdkCursorType, you can see pictures that correspond to these different cursor types. Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added Field 2.12.0.0 Gdk.CursorType To be added gtk-sharp-2.12.40/doc/en/Gdk/POINTBLOCK.xml0000664000175000017500000000302212767740535014562 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque To be added To be added Constructor 2.12.0.0 a To be added To be added gtk-sharp-2.12.40/doc/en/Gdk/Image.xml0000664000175000017500000004017212767740535014147 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Contains information on the image and the pixel data. To be added Constructor 2.12.0.0 System.Obsolete a Internal constructor This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 To be added: an object of type 'Gdk.ImageType' To be added: an object of type 'Gdk.Visual' To be added: an object of type 'int' To be added: an object of type 'int' To be added To be added Property 2.12.0.0 System.UInt16 The number of bits per pixel. a Property 2.12.0.0 System.UInt16 The number of bytes per line of the image. a Property 2.12.0.0 System.UInt16 The number of bytes per pixel. a Property 2.12.0.0 Gdk.ByteOrder The image byte order. a Property 2.12.0.0 Gdk.Colormap To be added To be added: an object of type 'Gdk.Colormap' To be added Property 2.12.0.0 System.UInt16 The image depth (ie, the number of bits per pixel). a Method 2.12.0.0 System.Obsolete Gdk.Image a a a a a To be added a To be added Method 2.12.0.0 System.UInt32 To be added: an object of type 'int' To be added: an object of type 'int' To be added To be added: an object of type 'uint' To be added Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.Int32 The height of the image in pixels. a Method 2.12.0.0 System.Void To be added: an object of type 'int' To be added: an object of type 'int' To be added: an object of type 'uint' To be added To be added Method 2.12.0.0 System.Obsolete Gdk.Image To be added a To be added Property 2.12.0.0 Gdk.ImageType The image's a Method 2.12.0.0 System.Obsolete System.Void To be added To be added Property 2.12.0.0 Gdk.Visual The image's . a Property 2.12.0.0 System.Int32 The width of the image in pixels. a gtk-sharp-2.12.40/doc/en/Gdk/Threads.xml0000664000175000017500000002006512767740535014516 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Threads Functions for using GDK in multi-threaded programs For thread safety, Gdk relies on the thread primitives in GLib, and on the thread-safe GLib main loop. GLib is completely thread safe (all global data is automatically locked), but individual data structure instances are not automatically locked for performance reasons. So e.g. you must coordinate accesses to the same GHashTable from multiple threads. Gtk# is "thread aware" but not thread safe ? it provides a global lock controlled by / which protects all use of Gtk. That is, only one thread can use Gtk at any given time. You must call before executing any other Gtk or Gdk functions in a threaded Gtk# program. Idles, timeouts, and input functions are executed outside of the main Gtk lock. So, if you need to call Gtk inside of such a callback, you must surround the callback with a / pair. (However, signals are still executed within the main Gtk lock.) In particular, this means, if you are writing widgets that might be used in threaded programs, you must surround timeouts and idle functions in this matter. As always, you must also surround any calls to Gtk not made within a signal handler with a / pair. Before calling from a thread other than your main thread, you probably want to call gdk_flush() to send all pending commands to the windowing system. (The reason you do not need to do this from the main thread is that GDK always automatically flushes pending commands when it runs out of incoming events to process and has to sleep while waiting for more events.) A minimal main program for a threaded GTK+ application looks like: static void Main (string[] args) { Window window; Gdk.Threads.Init (); Gtk.Application.Init (); window = new Window ("Sample"); window.Show (); Gdk.Threads.Enter (); Gtk.Application.Run (); Gdk.Threads.Leave (); return 0; } Constructor 2.12.0.0 The default constructor. Method 2.12.0.0 System.UInt32 Priority value for handler. Idle callback. Adds an idle handler. A source id. Method 2.12.0.0 System.UInt32 Priority value for handler. Timeout interval. Timeout callback. Adds a timeout handler. A source id. Method 2.12.0.0 System.Void This marks the beginning of a critical section in which Gdk and Gtk functions can be called. Only one thread at a time can be in such a critial section. Method 2.12.0.0 System.Void This call must be made before any use of the main loop from Gtk#; to be safe, call it before . It must also be preceded by a call to if GLib threading has not yet been initialized. Initializes so that it can be used from multiple threads in conjunction with and . Method 2.12.0.0 System.Void Leaves a critical region begun with Gdk.Threads.Enter(). This marks the end of a critical section begun with Gdk.Threads.Enter. gtk-sharp-2.12.40/doc/en/Gdk/PixbufGifAnimIter.xml0000664000175000017500000000765712767740535016454 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gdk.PixbufAnimationIter To be added To be added Constructor 2.12.0.0 To be added To be added Constructor 2.12.0.0 System.Obsolete a Internal constructor This is a constructor used by derivative types of that would have their own GLib type assigned to it. This is not typically used by C# code. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gdk/EventCrossing.xml0000664000175000017500000002027412767740535015717 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gdk.Event Generated when the pointer enters or leaves a window. Constructor 2.12.0.0 raw managed pointer. Internal constructor. This constructor should never be used. Property 2.12.0.0 Gdk.NotifyType The kind of crossing that happened. The kind of crossing that happened. None. Property 2.12.0.0 System.Boolean True if window is the focus window or an inferior. True if window is the focus window or an inferior. None. Property 2.12.0.0 Gdk.CrossingMode The crossing mode. The crossing mode. None. Property 2.12.0.0 Gdk.ModifierType An enum representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. An enum representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. None. Property 2.12.0.0 Gdk.Window The window that was entered or left. The window that was entered or left. None. Property 2.12.0.0 System.UInt32 The time of the event in milliseconds. The time of the event in milliseconds. None. Property 2.12.0.0 System.Double The x coordinate of the pointer relative to the window. The x coordinate of the pointer relative to the window. None. Property 2.12.0.0 System.Double The x coordinate of the pointer relative to the root of the screen. The x coordinate of the pointer relative to the root of the screen. None. Property 2.12.0.0 System.Double The y coordinate of the pointer relative to the window. The y coordinate of the pointer relative to the window. None. Property 2.12.0.0 System.Double The y coordinate of the pointer relative to the root of the screen. The y coordinate of the pointer relative to the root of the screen. None. gtk-sharp-2.12.40/doc/en/Gdk/PixbufSaveFunc.xml0000664000175000017500000000427612767740535016022 00000000000000 gdk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Boolean Bytes to be written. Number of bytes in . Specifies the type of the method passed to . if successful, if failed. It is called once for each block of bytes that is "written" by . If successful it should return . If an error occurs it should set an error and return , in which case will fail with the same error. gtk-sharp-2.12.40/doc/en/Gdk/Function.xml0000664000175000017500000002377312767740535014722 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.FunctionGType)) Determines how bit values for the source pixels are combine with the bit values for destination pixels to produce the final result. The sixteen values here correspond to the 16 different possible 2x2 truth tables. Only a couple of these values are usually useful; for colored images, only Copy, Xor and Invert are generally useful. For bitmaps, And and Or are also useful. Field 2.12.0.0 Gdk.Function And Field 2.12.0.0 Gdk.Function And Invert Field 2.12.0.0 Gdk.Function And Reverse Field 2.12.0.0 Gdk.Function Clear Field 2.12.0.0 Gdk.Function Copy Field 2.12.0.0 Gdk.Function Copy Invert Field 2.12.0.0 Gdk.Function Equiv Field 2.12.0.0 Gdk.Function Invert Field 2.12.0.0 Gdk.Function N And Field 2.12.0.0 Gdk.Function No op Field 2.12.0.0 Gdk.Function Nor Field 2.12.0.0 Gdk.Function Or Field 2.12.0.0 Gdk.Function Or Invert Field 2.12.0.0 Gdk.Function Or Reverse Field 2.12.0.0 Gdk.Function Set Field 2.12.0.0 Gdk.Function Xor gtk-sharp-2.12.40/doc/en/Gdk/SubwindowMode.xml0000664000175000017500000000433712767740535015716 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.SubwindowModeGType)) Determines how drawing onto a window will affect child windows of that window. None. Field 2.12.0.0 Gdk.SubwindowMode Only draw onto the window itself. Field 2.12.0.0 Gdk.SubwindowMode Draw onto the window and child windows. gtk-sharp-2.12.40/doc/en/Gdk/EventFunc.xml0000664000175000017500000000171112767740535015016 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added To be added gtk-sharp-2.12.40/doc/en/Gdk/DragProtocol.xml0000664000175000017500000001212612767740535015522 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.DragProtocolGType)) Used in to indicate the protocol according to which DND is done. None. Field 2.12.0.0 Gdk.DragProtocol Intra-application DND. Field 2.12.0.0 Gdk.DragProtocol The Motif DND protocol. Field 2.12.0.0 Gdk.DragProtocol None. Field 2.12.0.0 Gdk.DragProtocol The complex OLE2 DND protocol (not implemented). Field 2.12.0.0 Gdk.DragProtocol An extension to the Xdnd protocol for unclaimed root window drops. Field 2.12.0.0 Gdk.DragProtocol The simple WM_DROPFILES protocol. Field 2.12.0.0 Gdk.DragProtocol The Xdnd protocol. gtk-sharp-2.12.40/doc/en/Gdk/Point.xml0000664000175000017500000003226412767740535014221 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional, Cartesian plane. Constructor 2.12.0.0 a Constructs a point from a The point will have an X of .Width and a Y of .Height Constructor 2.12.0.0 The x-coordinate. The y-coordinate. Creates a Point object from integer x- and y-coordinates. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. Property 2.12.0.0 System.Boolean Checks if the point is (0,0) true if this == (0,0 To be added. Method 2.12.0.0 Gdk.Point a , pointer to internal data Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 System.Void Quanity by which to change X Quanity by which to change Y Moves this point by quanities dx and dy To be added. Method 2.12.0.0 Gdk.Point To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Gdk.Size To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Gdk.Point To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. Field 2.12.0.0 System.Int32 The x-coordinate of the Point. Field 2.12.0.0 System.Int32 The y-coordinate of the Point. Field 2.12.0.0 Gdk.Point The point (0, 0). gtk-sharp-2.12.40/doc/en/Gdk/RegionBox.xml0000664000175000017500000001047612767740535015025 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Method 2.12.0.0 Gdk.RegionBox a To be added a To be added Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 Gdk.RegionBox To be added To be added gtk-sharp-2.12.40/doc/en/Gdk/OverlapType.xml0000664000175000017500000000543512767740535015402 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.OverlapTypeGType)) Specifies the possible values returned by . None. Field 2.12.0.0 Gdk.OverlapType If the rectangle is inside the . Field 2.12.0.0 Gdk.OverlapType If the rectangle is outside the . Field 2.12.0.0 Gdk.OverlapType If the rectangle is partly inside the . gtk-sharp-2.12.40/doc/en/Gdk/Key.xml0000664000175000017500000303170112767740535013656 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum To be added To be added Field 2.12.0.0 Gdk.Key a key value Field 2.12.0.0 Gdk.Key A key value Field 2.12.0.0 Gdk.Key aacute key value Field 2.12.0.0 Gdk.Key Aacute key value Field 2.12.0.0 Gdk.Key abovedot key value Field 2.12.0.0 Gdk.Key abreve key value Field 2.12.0.0 Gdk.Key Abreve key value Field 2.12.0.0 Gdk.Key AccessX_Enable key value Field 2.12.0.0 Gdk.Key AccessX_Feedback_Enable key value Field 2.12.0.0 Gdk.Key acircumflex key value Field 2.12.0.0 Gdk.Key Acircumflex key value Field 2.12.0.0 Gdk.Key acute key value Field 2.12.0.0 Gdk.Key adiaeresis key value Field 2.12.0.0 Gdk.Key Adiaeresis key value Field 2.12.0.0 Gdk.Key ae key value Field 2.12.0.0 Gdk.Key AE key value Field 2.12.0.0 Gdk.Key agrave key value Field 2.12.0.0 Gdk.Key Agrave key value Field 2.12.0.0 Gdk.Key Alt_L key value Field 2.12.0.0 Gdk.Key Alt_R key value Field 2.12.0.0 Gdk.Key amacron key value Field 2.12.0.0 Gdk.Key Amacron key value Field 2.12.0.0 Gdk.Key ampersand key value Field 2.12.0.0 Gdk.Key aogonek key value Field 2.12.0.0 Gdk.Key Aogonek key value Field 2.12.0.0 Gdk.Key apostrophe key value Field 2.12.0.0 Gdk.Key approximate key value Field 2.12.0.0 Gdk.Key Arabic_ain key value Field 2.12.0.0 Gdk.Key Arabic_alef key value Field 2.12.0.0 Gdk.Key Arabic_alefmaksura key value Field 2.12.0.0 Gdk.Key Arabic_beh key value Field 2.12.0.0 Gdk.Key Arabic_comma key value Field 2.12.0.0 Gdk.Key Arabic_dad key value Field 2.12.0.0 Gdk.Key Arabic_dal key value Field 2.12.0.0 Gdk.Key Arabic_damma key value Field 2.12.0.0 Gdk.Key Arabic_dammatan key value Field 2.12.0.0 Gdk.Key Arabic_fatha key value Field 2.12.0.0 Gdk.Key Arabic_fathatan key value Field 2.12.0.0 Gdk.Key Arabic_feh key value Field 2.12.0.0 Gdk.Key Arabic_ghain key value Field 2.12.0.0 Gdk.Key Arabic_ha key value Field 2.12.0.0 Gdk.Key Arabic_hah key value Field 2.12.0.0 Gdk.Key Arabic_hamza key value Field 2.12.0.0 Gdk.Key Arabic_hamzaonalef key value Field 2.12.0.0 Gdk.Key Arabic_hamzaonwaw key value Field 2.12.0.0 Gdk.Key Arabic_hamzaonyeh key value Field 2.12.0.0 Gdk.Key Arabic_hamzaunderalef key value Field 2.12.0.0 Gdk.Key Arabic_heh key value Field 2.12.0.0 Gdk.Key Arabic_jeem key value Field 2.12.0.0 Gdk.Key Arabic_kaf key value Field 2.12.0.0 Gdk.Key Arabic_kasra key value Field 2.12.0.0 Gdk.Key Arabic_kasratan key value Field 2.12.0.0 Gdk.Key Arabic_khah key value Field 2.12.0.0 Gdk.Key Arabic_lam key value Field 2.12.0.0 Gdk.Key Arabic_maddaonalef key value Field 2.12.0.0 Gdk.Key Arabic_meem key value Field 2.12.0.0 Gdk.Key Arabic_noon key value Field 2.12.0.0 Gdk.Key Arabic_qaf key value Field 2.12.0.0 Gdk.Key Arabic_question_mark key value Field 2.12.0.0 Gdk.Key Arabic_ra key value Field 2.12.0.0 Gdk.Key Arabic_sad key value Field 2.12.0.0 Gdk.Key Arabic_seen key value Field 2.12.0.0 Gdk.Key Arabic_semicolon key value Field 2.12.0.0 Gdk.Key Arabic_shadda key value Field 2.12.0.0 Gdk.Key Arabic_sheen key value Field 2.12.0.0 Gdk.Key Arabic_sukun key value Field 2.12.0.0 Gdk.Key Arabic_switch key value Field 2.12.0.0 Gdk.Key Arabic_tah key value Field 2.12.0.0 Gdk.Key Arabic_tatweel key value Field 2.12.0.0 Gdk.Key Arabic_teh key value Field 2.12.0.0 Gdk.Key Arabic_tehmarbuta key value Field 2.12.0.0 Gdk.Key Arabic_thal key value Field 2.12.0.0 Gdk.Key Arabic_theh key value Field 2.12.0.0 Gdk.Key Arabic_waw key value Field 2.12.0.0 Gdk.Key Arabic_yeh key value Field 2.12.0.0 Gdk.Key Arabic_zah key value Field 2.12.0.0 Gdk.Key Arabic_zain key value Field 2.12.0.0 Gdk.Key aring key value Field 2.12.0.0 Gdk.Key Aring key value Field 2.12.0.0 Gdk.Key asciicircum key value Field 2.12.0.0 Gdk.Key asciitilde key value Field 2.12.0.0 Gdk.Key asterisk key value Field 2.12.0.0 Gdk.Key at key value Field 2.12.0.0 Gdk.Key atilde key value Field 2.12.0.0 Gdk.Key Atilde key value Field 2.12.0.0 Gdk.Key AudibleBell_Enable key value Field 2.12.0.0 Gdk.Key b key value Field 2.12.0.0 Gdk.Key B key value Field 2.12.0.0 Gdk.Key backslash key value Field 2.12.0.0 Gdk.Key BackSpace key value Field 2.12.0.0 Gdk.Key ballotcross key value Field 2.12.0.0 Gdk.Key bar key value Field 2.12.0.0 Gdk.Key Begin key value Field 2.12.0.0 Gdk.Key blank key value Field 2.12.0.0 Gdk.Key botintegral key value Field 2.12.0.0 Gdk.Key botleftparens key value Field 2.12.0.0 Gdk.Key botleftsqbracket key value Field 2.12.0.0 Gdk.Key botleftsummation key value Field 2.12.0.0 Gdk.Key botrightparens key value Field 2.12.0.0 Gdk.Key botrightsqbracket key value Field 2.12.0.0 Gdk.Key botrightsummation key value Field 2.12.0.0 Gdk.Key bott key value Field 2.12.0.0 Gdk.Key botvertsummationconnector key value Field 2.12.0.0 Gdk.Key BounceKeys_Enable key value Field 2.12.0.0 Gdk.Key braceleft key value Field 2.12.0.0 Gdk.Key braceright key value Field 2.12.0.0 Gdk.Key bracketleft key value Field 2.12.0.0 Gdk.Key bracketright key value Field 2.12.0.0 Gdk.Key Break key value Field 2.12.0.0 Gdk.Key breve key value Field 2.12.0.0 Gdk.Key brokenbar key value Field 2.12.0.0 Gdk.Key Byelorussian_shortu key value Field 2.12.0.0 Gdk.Key Byelorussian_SHORTU key value Field 2.12.0.0 Gdk.Key c key value Field 2.12.0.0 Gdk.Key C key value Field 2.12.0.0 Gdk.Key cabovedot key value Field 2.12.0.0 Gdk.Key Cabovedot key value Field 2.12.0.0 Gdk.Key cacute key value Field 2.12.0.0 Gdk.Key Cacute key value Field 2.12.0.0 Gdk.Key Cancel key value Field 2.12.0.0 Gdk.Key Caps_Lock key value Field 2.12.0.0 Gdk.Key careof key value Field 2.12.0.0 Gdk.Key caret key value Field 2.12.0.0 Gdk.Key caron key value Field 2.12.0.0 Gdk.Key ccaron key value Field 2.12.0.0 Gdk.Key Ccaron key value Field 2.12.0.0 Gdk.Key ccedilla key value Field 2.12.0.0 Gdk.Key Ccedilla key value Field 2.12.0.0 Gdk.Key ccircumflex key value Field 2.12.0.0 Gdk.Key Ccircumflex key value Field 2.12.0.0 Gdk.Key cedilla key value Field 2.12.0.0 Gdk.Key cent key value Field 2.12.0.0 Gdk.Key checkerboard key value Field 2.12.0.0 Gdk.Key checkmark key value Field 2.12.0.0 Gdk.Key circle key value Field 2.12.0.0 Gdk.Key Clear key value Field 2.12.0.0 Gdk.Key club key value Field 2.12.0.0 Gdk.Key Codeinput key value Field 2.12.0.0 Gdk.Key colon key value Field 2.12.0.0 Gdk.Key ColonSign key value Field 2.12.0.0 Gdk.Key comma key value Field 2.12.0.0 Gdk.Key Control_L key value Field 2.12.0.0 Gdk.Key Control_R key value Field 2.12.0.0 Gdk.Key copyright key value Field 2.12.0.0 Gdk.Key cr key value Field 2.12.0.0 Gdk.Key crossinglines key value Field 2.12.0.0 Gdk.Key CruzeiroSign key value Field 2.12.0.0 Gdk.Key currency key value Field 2.12.0.0 Gdk.Key cursor key value Field 2.12.0.0 Gdk.Key Cyrillic_a key value Field 2.12.0.0 Gdk.Key Cyrillic_A key value Field 2.12.0.0 Gdk.Key Cyrillic_be key value Field 2.12.0.0 Gdk.Key Cyrillic_BE key value Field 2.12.0.0 Gdk.Key Cyrillic_che key value Field 2.12.0.0 Gdk.Key Cyrillic_CHE key value Field 2.12.0.0 Gdk.Key Cyrillic_de key value Field 2.12.0.0 Gdk.Key Cyrillic_DE key value Field 2.12.0.0 Gdk.Key Cyrillic_dzhe key value Field 2.12.0.0 Gdk.Key Cyrillic_DZHE key value Field 2.12.0.0 Gdk.Key Cyrillic_e key value Field 2.12.0.0 Gdk.Key Cyrillic_E key value Field 2.12.0.0 Gdk.Key Cyrillic_ef key value Field 2.12.0.0 Gdk.Key Cyrillic_EF key value Field 2.12.0.0 Gdk.Key Cyrillic_el key value Field 2.12.0.0 Gdk.Key Cyrillic_EL key value Field 2.12.0.0 Gdk.Key Cyrillic_em key value Field 2.12.0.0 Gdk.Key Cyrillic_EM key value Field 2.12.0.0 Gdk.Key Cyrillic_en key value Field 2.12.0.0 Gdk.Key Cyrillic_EN key value Field 2.12.0.0 Gdk.Key Cyrillic_er key value Field 2.12.0.0 Gdk.Key Cyrillic_ER key value Field 2.12.0.0 Gdk.Key Cyrillic_es key value Field 2.12.0.0 Gdk.Key Cyrillic_ES key value Field 2.12.0.0 Gdk.Key Cyrillic_ghe key value Field 2.12.0.0 Gdk.Key Cyrillic_GHE key value Field 2.12.0.0 Gdk.Key Cyrillic_ha key value Field 2.12.0.0 Gdk.Key Cyrillic_HA key value Field 2.12.0.0 Gdk.Key Cyrillic_hardsign key value Field 2.12.0.0 Gdk.Key Cyrillic_HARDSIGN key value Field 2.12.0.0 Gdk.Key Cyrillic_i key value Field 2.12.0.0 Gdk.Key Cyrillic_I key value Field 2.12.0.0 Gdk.Key Cyrillic_ie key value Field 2.12.0.0 Gdk.Key Cyrillic_IE key value Field 2.12.0.0 Gdk.Key Cyrillic_io key value Field 2.12.0.0 Gdk.Key Cyrillic_IO key value Field 2.12.0.0 Gdk.Key Cyrillic_je key value Field 2.12.0.0 Gdk.Key Cyrillic_JE key value Field 2.12.0.0 Gdk.Key Cyrillic_ka key value Field 2.12.0.0 Gdk.Key Cyrillic_KA key value Field 2.12.0.0 Gdk.Key Cyrillic_lje key value Field 2.12.0.0 Gdk.Key Cyrillic_LJE key value Field 2.12.0.0 Gdk.Key Cyrillic_nje key value Field 2.12.0.0 Gdk.Key Cyrillic_NJE key value Field 2.12.0.0 Gdk.Key Cyrillic_o key value Field 2.12.0.0 Gdk.Key Cyrillic_O key value Field 2.12.0.0 Gdk.Key Cyrillic_pe key value Field 2.12.0.0 Gdk.Key Cyrillic_PE key value Field 2.12.0.0 Gdk.Key Cyrillic_sha key value Field 2.12.0.0 Gdk.Key Cyrillic_SHA key value Field 2.12.0.0 Gdk.Key Cyrillic_shcha key value Field 2.12.0.0 Gdk.Key Cyrillic_SHCHA key value Field 2.12.0.0 Gdk.Key Cyrillic_shorti key value Field 2.12.0.0 Gdk.Key Cyrillic_SHORTI key value Field 2.12.0.0 Gdk.Key Cyrillic_softsign key value Field 2.12.0.0 Gdk.Key Cyrillic_SOFTSIGN key value Field 2.12.0.0 Gdk.Key Cyrillic_te key value Field 2.12.0.0 Gdk.Key Cyrillic_TE key value Field 2.12.0.0 Gdk.Key Cyrillic_tse key value Field 2.12.0.0 Gdk.Key Cyrillic_TSE key value Field 2.12.0.0 Gdk.Key Cyrillic_u key value Field 2.12.0.0 Gdk.Key Cyrillic_U key value Field 2.12.0.0 Gdk.Key Cyrillic_ve key value Field 2.12.0.0 Gdk.Key Cyrillic_VE key value Field 2.12.0.0 Gdk.Key Cyrillic_ya key value Field 2.12.0.0 Gdk.Key Cyrillic_YA key value Field 2.12.0.0 Gdk.Key Cyrillic_yeru key value Field 2.12.0.0 Gdk.Key Cyrillic_YERU key value Field 2.12.0.0 Gdk.Key Cyrillic_yu key value Field 2.12.0.0 Gdk.Key Cyrillic_YU key value Field 2.12.0.0 Gdk.Key Cyrillic_ze key value Field 2.12.0.0 Gdk.Key Cyrillic_ZE key value Field 2.12.0.0 Gdk.Key Cyrillic_zhe key value Field 2.12.0.0 Gdk.Key Cyrillic_ZHE key value Field 2.12.0.0 Gdk.Key d key value Field 2.12.0.0 Gdk.Key D key value Field 2.12.0.0 Gdk.Key dagger key value Field 2.12.0.0 Gdk.Key dcaron key value Field 2.12.0.0 Gdk.Key Dcaron key value Field 2.12.0.0 Gdk.Key dead_abovedot key value Field 2.12.0.0 Gdk.Key dead_abovering key value Field 2.12.0.0 Gdk.Key dead_acute key value Field 2.12.0.0 Gdk.Key dead_belowdot key value Field 2.12.0.0 Gdk.Key dead_breve key value Field 2.12.0.0 Gdk.Key dead_caron key value Field 2.12.0.0 Gdk.Key dead_cedilla key value Field 2.12.0.0 Gdk.Key dead_circumflex key value Field 2.12.0.0 Gdk.Key dead_diaeresis key value Field 2.12.0.0 Gdk.Key dead_doubleacute key value Field 2.12.0.0 Gdk.Key dead_grave key value Field 2.12.0.0 Gdk.Key dead_iota key value Field 2.12.0.0 Gdk.Key dead_macron key value Field 2.12.0.0 Gdk.Key dead_ogonek key value Field 2.12.0.0 Gdk.Key dead_semivoiced_sound key value Field 2.12.0.0 Gdk.Key dead_tilde key value Field 2.12.0.0 Gdk.Key dead_voiced_sound key value Field 2.12.0.0 Gdk.Key decimalpoint key value Field 2.12.0.0 Gdk.Key degree key value Field 2.12.0.0 Gdk.Key Delete key value Field 2.12.0.0 Gdk.Key diaeresis key value Field 2.12.0.0 Gdk.Key diamond key value Field 2.12.0.0 Gdk.Key digitspace key value Field 2.12.0.0 Gdk.Key division key value Field 2.12.0.0 Gdk.Key dollar key value Field 2.12.0.0 Gdk.Key DongSign key value Field 2.12.0.0 Gdk.Key doubbaselinedot key value Field 2.12.0.0 Gdk.Key doubleacute key value Field 2.12.0.0 Gdk.Key doubledagger key value Field 2.12.0.0 Gdk.Key doublelowquotemark key value Field 2.12.0.0 Gdk.Key Down key value Field 2.12.0.0 Gdk.Key downarrow key value Field 2.12.0.0 Gdk.Key downcaret key value Field 2.12.0.0 Gdk.Key downshoe key value Field 2.12.0.0 Gdk.Key downstile key value Field 2.12.0.0 Gdk.Key downtack key value Field 2.12.0.0 Gdk.Key dstroke key value Field 2.12.0.0 Gdk.Key Dstroke key value Field 2.12.0.0 Gdk.Key e key value Field 2.12.0.0 Gdk.Key E key value Field 2.12.0.0 Gdk.Key eabovedot key value Field 2.12.0.0 Gdk.Key Eabovedot key value Field 2.12.0.0 Gdk.Key eacute key value Field 2.12.0.0 Gdk.Key Eacute key value Field 2.12.0.0 Gdk.Key ecaron key value Field 2.12.0.0 Gdk.Key Ecaron key value Field 2.12.0.0 Gdk.Key ecircumflex key value Field 2.12.0.0 Gdk.Key Ecircumflex key value Field 2.12.0.0 Gdk.Key EcuSign key value Field 2.12.0.0 Gdk.Key ediaeresis key value Field 2.12.0.0 Gdk.Key Ediaeresis key value Field 2.12.0.0 Gdk.Key egrave key value Field 2.12.0.0 Gdk.Key Egrave key value Field 2.12.0.0 Gdk.Key Eisu_Shift key value Field 2.12.0.0 Gdk.Key Eisu_toggle key value Field 2.12.0.0 Gdk.Key ellipsis key value Field 2.12.0.0 Gdk.Key em3space key value Field 2.12.0.0 Gdk.Key em4space key value Field 2.12.0.0 Gdk.Key emacron key value Field 2.12.0.0 Gdk.Key Emacron key value Field 2.12.0.0 Gdk.Key emdash key value Field 2.12.0.0 Gdk.Key emfilledcircle key value Field 2.12.0.0 Gdk.Key emfilledrect key value Field 2.12.0.0 Gdk.Key emopencircle key value Field 2.12.0.0 Gdk.Key emopenrectangle key value Field 2.12.0.0 Gdk.Key emspace key value Field 2.12.0.0 Gdk.Key End key value Field 2.12.0.0 Gdk.Key endash key value Field 2.12.0.0 Gdk.Key enfilledcircbullet key value Field 2.12.0.0 Gdk.Key enfilledsqbullet key value Field 2.12.0.0 Gdk.Key eng key value Field 2.12.0.0 Gdk.Key ENG key value Field 2.12.0.0 Gdk.Key enopencircbullet key value Field 2.12.0.0 Gdk.Key enopensquarebullet key value Field 2.12.0.0 Gdk.Key enspace key value Field 2.12.0.0 Gdk.Key eogonek key value Field 2.12.0.0 Gdk.Key Eogonek key value Field 2.12.0.0 Gdk.Key equal key value Field 2.12.0.0 Gdk.Key Escape key value Field 2.12.0.0 Gdk.Key eth key value Field 2.12.0.0 Gdk.Key Eth key value Field 2.12.0.0 Gdk.Key ETH key value Field 2.12.0.0 Gdk.Key EuroSign key value Field 2.12.0.0 Gdk.Key exclam key value Field 2.12.0.0 Gdk.Key exclamdown key value Field 2.12.0.0 Gdk.Key Execute key value Field 2.12.0.0 Gdk.Key f key value Field 2.12.0.0 Gdk.Key F key value Field 2.12.0.0 Gdk.Key F1 key value Field 2.12.0.0 Gdk.Key F10 key value Field 2.12.0.0 Gdk.Key F11 key value Field 2.12.0.0 Gdk.Key F12 key value Field 2.12.0.0 Gdk.Key F13 key value Field 2.12.0.0 Gdk.Key F14 key value Field 2.12.0.0 Gdk.Key F15 key value Field 2.12.0.0 Gdk.Key F16 key value Field 2.12.0.0 Gdk.Key F17 key value Field 2.12.0.0 Gdk.Key F18 key value Field 2.12.0.0 Gdk.Key F19 key value Field 2.12.0.0 Gdk.Key F2 key value Field 2.12.0.0 Gdk.Key F20 key value Field 2.12.0.0 Gdk.Key F21 key value Field 2.12.0.0 Gdk.Key F22 key value Field 2.12.0.0 Gdk.Key F23 key value Field 2.12.0.0 Gdk.Key F24 key value Field 2.12.0.0 Gdk.Key F25 key value Field 2.12.0.0 Gdk.Key F26 key value Field 2.12.0.0 Gdk.Key F27 key value Field 2.12.0.0 Gdk.Key F28 key value Field 2.12.0.0 Gdk.Key F29 key value Field 2.12.0.0 Gdk.Key F3 key value Field 2.12.0.0 Gdk.Key F30 key value Field 2.12.0.0 Gdk.Key F31 key value Field 2.12.0.0 Gdk.Key F32 key value Field 2.12.0.0 Gdk.Key F33 key value Field 2.12.0.0 Gdk.Key F34 key value Field 2.12.0.0 Gdk.Key F35 key value Field 2.12.0.0 Gdk.Key F4 key value Field 2.12.0.0 Gdk.Key F5 key value Field 2.12.0.0 Gdk.Key F6 key value Field 2.12.0.0 Gdk.Key F7 key value Field 2.12.0.0 Gdk.Key F8 key value Field 2.12.0.0 Gdk.Key F9 key value Field 2.12.0.0 Gdk.Key femalesymbol key value Field 2.12.0.0 Gdk.Key ff key value Field 2.12.0.0 Gdk.Key FFrancSign key value Field 2.12.0.0 Gdk.Key figdash key value Field 2.12.0.0 Gdk.Key filledlefttribullet key value Field 2.12.0.0 Gdk.Key filledrectbullet key value Field 2.12.0.0 Gdk.Key filledrighttribullet key value Field 2.12.0.0 Gdk.Key filledtribulletdown key value Field 2.12.0.0 Gdk.Key filledtribulletup key value Field 2.12.0.0 Gdk.Key Find key value Field 2.12.0.0 Gdk.Key First_Virtual_Screen key value Field 2.12.0.0 Gdk.Key fiveeighths key value Field 2.12.0.0 Gdk.Key fivesixths key value Field 2.12.0.0 Gdk.Key fourfifths key value Field 2.12.0.0 Gdk.Key function key value Field 2.12.0.0 Gdk.Key g key value Field 2.12.0.0 Gdk.Key G key value Field 2.12.0.0 Gdk.Key gabovedot key value Field 2.12.0.0 Gdk.Key Gabovedot key value Field 2.12.0.0 Gdk.Key gbreve key value Field 2.12.0.0 Gdk.Key Gbreve key value Field 2.12.0.0 Gdk.Key gcedilla key value Field 2.12.0.0 Gdk.Key Gcedilla key value Field 2.12.0.0 Gdk.Key gcircumflex key value Field 2.12.0.0 Gdk.Key Gcircumflex key value Field 2.12.0.0 Gdk.Key grave key value Field 2.12.0.0 Gdk.Key greater key value Field 2.12.0.0 Gdk.Key greaterthanequal key value Field 2.12.0.0 Gdk.Key Greek_accentdieresis key value Field 2.12.0.0 Gdk.Key Greek_alpha key value Field 2.12.0.0 Gdk.Key Greek_ALPHA key value Field 2.12.0.0 Gdk.Key Greek_alphaaccent key value Field 2.12.0.0 Gdk.Key Greek_ALPHAaccent key value Field 2.12.0.0 Gdk.Key Greek_beta key value Field 2.12.0.0 Gdk.Key Greek_BETA key value Field 2.12.0.0 Gdk.Key Greek_chi key value Field 2.12.0.0 Gdk.Key Greek_CHI key value Field 2.12.0.0 Gdk.Key Greek_delta key value Field 2.12.0.0 Gdk.Key Greek_DELTA key value Field 2.12.0.0 Gdk.Key Greek_epsilon key value Field 2.12.0.0 Gdk.Key Greek_EPSILON key value Field 2.12.0.0 Gdk.Key Greek_epsilonaccent key value Field 2.12.0.0 Gdk.Key Greek_EPSILONaccent key value Field 2.12.0.0 Gdk.Key Greek_eta key value Field 2.12.0.0 Gdk.Key Greek_ETA key value Field 2.12.0.0 Gdk.Key Greek_etaaccent key value Field 2.12.0.0 Gdk.Key Greek_ETAaccent key value Field 2.12.0.0 Gdk.Key Greek_finalsmallsigma key value Field 2.12.0.0 Gdk.Key Greek_gamma key value Field 2.12.0.0 Gdk.Key Greek_GAMMA key value Field 2.12.0.0 Gdk.Key Greek_horizbar key value Field 2.12.0.0 Gdk.Key Greek_iota key value Field 2.12.0.0 Gdk.Key Greek_IOTA key value Field 2.12.0.0 Gdk.Key Greek_iotaaccent key value Field 2.12.0.0 Gdk.Key Greek_IOTAaccent key value Field 2.12.0.0 Gdk.Key Greek_iotaaccentdieresis key value Field 2.12.0.0 Gdk.Key Greek_IOTAdiaeresis key value Field 2.12.0.0 Gdk.Key Greek_iotadieresis key value Field 2.12.0.0 Gdk.Key Greek_kappa key value Field 2.12.0.0 Gdk.Key Greek_KAPPA key value Field 2.12.0.0 Gdk.Key Greek_lambda key value Field 2.12.0.0 Gdk.Key Greek_LAMBDA key value Field 2.12.0.0 Gdk.Key Greek_lamda key value Field 2.12.0.0 Gdk.Key Greek_LAMDA key value Field 2.12.0.0 Gdk.Key Greek_mu key value Field 2.12.0.0 Gdk.Key Greek_MU key value Field 2.12.0.0 Gdk.Key Greek_nu key value Field 2.12.0.0 Gdk.Key Greek_NU key value Field 2.12.0.0 Gdk.Key Greek_omega key value Field 2.12.0.0 Gdk.Key Greek_OMEGA key value Field 2.12.0.0 Gdk.Key Greek_omegaaccent key value Field 2.12.0.0 Gdk.Key Greek_OMEGAaccent key value Field 2.12.0.0 Gdk.Key Greek_omicron key value Field 2.12.0.0 Gdk.Key Greek_OMICRON key value Field 2.12.0.0 Gdk.Key Greek_omicronaccent key value Field 2.12.0.0 Gdk.Key Greek_OMICRONaccent key value Field 2.12.0.0 Gdk.Key Greek_phi key value Field 2.12.0.0 Gdk.Key Greek_PHI key value Field 2.12.0.0 Gdk.Key Greek_pi key value Field 2.12.0.0 Gdk.Key Greek_PI key value Field 2.12.0.0 Gdk.Key Greek_psi key value Field 2.12.0.0 Gdk.Key Greek_PSI key value Field 2.12.0.0 Gdk.Key Greek_rho key value Field 2.12.0.0 Gdk.Key Greek_RHO key value Field 2.12.0.0 Gdk.Key Greek_sigma key value Field 2.12.0.0 Gdk.Key Greek_SIGMA key value Field 2.12.0.0 Gdk.Key Greek_switch key value Field 2.12.0.0 Gdk.Key Greek_tau key value Field 2.12.0.0 Gdk.Key Greek_TAU key value Field 2.12.0.0 Gdk.Key Greek_theta key value Field 2.12.0.0 Gdk.Key Greek_THETA key value Field 2.12.0.0 Gdk.Key Greek_upsilon key value Field 2.12.0.0 Gdk.Key Greek_UPSILON key value Field 2.12.0.0 Gdk.Key Greek_upsilonaccent key value Field 2.12.0.0 Gdk.Key Greek_UPSILONaccent key value Field 2.12.0.0 Gdk.Key Greek_upsilonaccentdieresis key value Field 2.12.0.0 Gdk.Key Greek_upsilondieresis key value Field 2.12.0.0 Gdk.Key Greek_UPSILONdieresis key value Field 2.12.0.0 Gdk.Key Greek_xi key value Field 2.12.0.0 Gdk.Key Greek_XI key value Field 2.12.0.0 Gdk.Key Greek_zeta key value Field 2.12.0.0 Gdk.Key Greek_ZETA key value Field 2.12.0.0 Gdk.Key guillemotleft key value Field 2.12.0.0 Gdk.Key guillemotright key value Field 2.12.0.0 Gdk.Key h key value Field 2.12.0.0 Gdk.Key H key value Field 2.12.0.0 Gdk.Key hairspace key value Field 2.12.0.0 Gdk.Key Hangul key value Field 2.12.0.0 Gdk.Key Hangul_A key value Field 2.12.0.0 Gdk.Key Hangul_AE key value Field 2.12.0.0 Gdk.Key Hangul_AraeA key value Field 2.12.0.0 Gdk.Key Hangul_AraeAE key value Field 2.12.0.0 Gdk.Key Hangul_Banja key value Field 2.12.0.0 Gdk.Key Hangul_Cieuc key value Field 2.12.0.0 Gdk.Key Hangul_Codeinput key value Field 2.12.0.0 Gdk.Key Hangul_Dikeud key value Field 2.12.0.0 Gdk.Key Hangul_E key value Field 2.12.0.0 Gdk.Key Hangul_End key value Field 2.12.0.0 Gdk.Key Hangul_EO key value Field 2.12.0.0 Gdk.Key Hangul_EU key value Field 2.12.0.0 Gdk.Key Hangul_Hanja key value Field 2.12.0.0 Gdk.Key Hangul_Hieuh key value Field 2.12.0.0 Gdk.Key Hangul_I key value Field 2.12.0.0 Gdk.Key Hangul_Ieung key value Field 2.12.0.0 Gdk.Key Hangul_J_Cieuc key value Field 2.12.0.0 Gdk.Key Hangul_J_Dikeud key value Field 2.12.0.0 Gdk.Key Hangul_J_Hieuh key value Field 2.12.0.0 Gdk.Key Hangul_J_Ieung key value Field 2.12.0.0 Gdk.Key Hangul_J_Jieuj key value Field 2.12.0.0 Gdk.Key Hangul_J_Khieuq key value Field 2.12.0.0 Gdk.Key Hangul_J_Kiyeog key value Field 2.12.0.0 Gdk.Key Hangul_J_KiyeogSios key value Field 2.12.0.0 Gdk.Key Hangul_J_KkogjiDalrinIeung key value Field 2.12.0.0 Gdk.Key Hangul_J_Mieum key value Field 2.12.0.0 Gdk.Key Hangul_J_Nieun key value Field 2.12.0.0 Gdk.Key Hangul_J_NieunHieuh key value Field 2.12.0.0 Gdk.Key Hangul_J_NieunJieuj key value Field 2.12.0.0 Gdk.Key Hangul_J_PanSios key value Field 2.12.0.0 Gdk.Key Hangul_J_Phieuf key value Field 2.12.0.0 Gdk.Key Hangul_J_Pieub key value Field 2.12.0.0 Gdk.Key Hangul_J_PieubSios key value Field 2.12.0.0 Gdk.Key Hangul_J_Rieul key value Field 2.12.0.0 Gdk.Key Hangul_J_RieulHieuh key value Field 2.12.0.0 Gdk.Key Hangul_J_RieulKiyeog key value Field 2.12.0.0 Gdk.Key Hangul_J_RieulMieum key value Field 2.12.0.0 Gdk.Key Hangul_J_RieulPhieuf key value Field 2.12.0.0 Gdk.Key Hangul_J_RieulPieub key value Field 2.12.0.0 Gdk.Key Hangul_J_RieulSios key value Field 2.12.0.0 Gdk.Key Hangul_J_RieulTieut key value Field 2.12.0.0 Gdk.Key Hangul_J_Sios key value Field 2.12.0.0 Gdk.Key Hangul_J_SsangKiyeog key value Field 2.12.0.0 Gdk.Key Hangul_J_SsangSios key value Field 2.12.0.0 Gdk.Key Hangul_J_Tieut key value Field 2.12.0.0 Gdk.Key Hangul_J_YeorinHieuh key value Field 2.12.0.0 Gdk.Key Hangul_Jamo key value Field 2.12.0.0 Gdk.Key Hangul_Jeonja key value Field 2.12.0.0 Gdk.Key Hangul_Jieuj key value Field 2.12.0.0 Gdk.Key Hangul_Khieuq key value Field 2.12.0.0 Gdk.Key Hangul_Kiyeog key value Field 2.12.0.0 Gdk.Key Hangul_KiyeogSios key value Field 2.12.0.0 Gdk.Key Hangul_KkogjiDalrinIeung key value Field 2.12.0.0 Gdk.Key Hangul_Mieum key value Field 2.12.0.0 Gdk.Key Hangul_MultipleCandidate key value Field 2.12.0.0 Gdk.Key Hangul_Nieun key value Field 2.12.0.0 Gdk.Key Hangul_NieunHieuh key value Field 2.12.0.0 Gdk.Key Hangul_NieunJieuj key value Field 2.12.0.0 Gdk.Key Hangul_O key value Field 2.12.0.0 Gdk.Key Hangul_OE key value Field 2.12.0.0 Gdk.Key Hangul_PanSios key value Field 2.12.0.0 Gdk.Key Hangul_Phieuf key value Field 2.12.0.0 Gdk.Key Hangul_Pieub key value Field 2.12.0.0 Gdk.Key Hangul_PieubSios key value Field 2.12.0.0 Gdk.Key Hangul_PostHanja key value Field 2.12.0.0 Gdk.Key Hangul_PreHanja key value Field 2.12.0.0 Gdk.Key Hangul_PreviousCandidate key value Field 2.12.0.0 Gdk.Key Hangul_Rieul key value Field 2.12.0.0 Gdk.Key Hangul_RieulHieuh key value Field 2.12.0.0 Gdk.Key Hangul_RieulKiyeog key value Field 2.12.0.0 Gdk.Key Hangul_RieulMieum key value Field 2.12.0.0 Gdk.Key Hangul_RieulPhieuf key value Field 2.12.0.0 Gdk.Key Hangul_RieulPieub key value Field 2.12.0.0 Gdk.Key Hangul_RieulSios key value Field 2.12.0.0 Gdk.Key Hangul_RieulTieut key value Field 2.12.0.0 Gdk.Key Hangul_RieulYeorinHieuh key value Field 2.12.0.0 Gdk.Key Hangul_Romaja key value Field 2.12.0.0 Gdk.Key Hangul_SingleCandidate key value Field 2.12.0.0 Gdk.Key Hangul_Sios key value Field 2.12.0.0 Gdk.Key Hangul_Special key value Field 2.12.0.0 Gdk.Key Hangul_SsangDikeud key value Field 2.12.0.0 Gdk.Key Hangul_SsangJieuj key value Field 2.12.0.0 Gdk.Key Hangul_SsangKiyeog key value Field 2.12.0.0 Gdk.Key Hangul_SsangPieub key value Field 2.12.0.0 Gdk.Key Hangul_SsangSios key value Field 2.12.0.0 Gdk.Key Hangul_Start key value Field 2.12.0.0 Gdk.Key Hangul_SunkyeongeumMieum key value Field 2.12.0.0 Gdk.Key Hangul_SunkyeongeumPhieuf key value Field 2.12.0.0 Gdk.Key Hangul_SunkyeongeumPieub key value Field 2.12.0.0 Gdk.Key Hangul_switch key value Field 2.12.0.0 Gdk.Key Hangul_Tieut key value Field 2.12.0.0 Gdk.Key Hangul_U key value Field 2.12.0.0 Gdk.Key Hangul_WA key value Field 2.12.0.0 Gdk.Key Hangul_WAE key value Field 2.12.0.0 Gdk.Key Hangul_WE key value Field 2.12.0.0 Gdk.Key Hangul_WEO key value Field 2.12.0.0 Gdk.Key Hangul_WI key value Field 2.12.0.0 Gdk.Key Hangul_YA key value Field 2.12.0.0 Gdk.Key Hangul_YAE key value Field 2.12.0.0 Gdk.Key Hangul_YE key value Field 2.12.0.0 Gdk.Key Hangul_YEO key value Field 2.12.0.0 Gdk.Key Hangul_YeorinHieuh key value Field 2.12.0.0 Gdk.Key Hangul_YI key value Field 2.12.0.0 Gdk.Key Hangul_YO key value Field 2.12.0.0 Gdk.Key Hangul_YU key value Field 2.12.0.0 Gdk.Key Hankaku key value Field 2.12.0.0 Gdk.Key hcircumflex key value Field 2.12.0.0 Gdk.Key Hcircumflex key value Field 2.12.0.0 Gdk.Key heart key value Field 2.12.0.0 Gdk.Key hebrew_aleph key value Field 2.12.0.0 Gdk.Key hebrew_ayin key value Field 2.12.0.0 Gdk.Key hebrew_bet key value Field 2.12.0.0 Gdk.Key hebrew_beth key value Field 2.12.0.0 Gdk.Key hebrew_chet key value Field 2.12.0.0 Gdk.Key hebrew_dalet key value Field 2.12.0.0 Gdk.Key hebrew_daleth key value Field 2.12.0.0 Gdk.Key hebrew_doublelowline key value Field 2.12.0.0 Gdk.Key hebrew_finalkaph key value Field 2.12.0.0 Gdk.Key hebrew_finalmem key value Field 2.12.0.0 Gdk.Key hebrew_finalnun key value Field 2.12.0.0 Gdk.Key hebrew_finalpe key value Field 2.12.0.0 Gdk.Key hebrew_finalzade key value Field 2.12.0.0 Gdk.Key hebrew_finalzadi key value Field 2.12.0.0 Gdk.Key hebrew_gimel key value Field 2.12.0.0 Gdk.Key hebrew_gimmel key value Field 2.12.0.0 Gdk.Key hebrew_he key value Field 2.12.0.0 Gdk.Key hebrew_het key value Field 2.12.0.0 Gdk.Key hebrew_kaph key value Field 2.12.0.0 Gdk.Key hebrew_kuf key value Field 2.12.0.0 Gdk.Key hebrew_lamed key value Field 2.12.0.0 Gdk.Key hebrew_mem key value Field 2.12.0.0 Gdk.Key hebrew_nun key value Field 2.12.0.0 Gdk.Key hebrew_pe key value Field 2.12.0.0 Gdk.Key hebrew_qoph key value Field 2.12.0.0 Gdk.Key hebrew_resh key value Field 2.12.0.0 Gdk.Key hebrew_samech key value Field 2.12.0.0 Gdk.Key hebrew_samekh key value Field 2.12.0.0 Gdk.Key hebrew_shin key value Field 2.12.0.0 Gdk.Key Hebrew_switch key value Field 2.12.0.0 Gdk.Key hebrew_taf key value Field 2.12.0.0 Gdk.Key hebrew_taw key value Field 2.12.0.0 Gdk.Key hebrew_tet key value Field 2.12.0.0 Gdk.Key hebrew_teth key value Field 2.12.0.0 Gdk.Key hebrew_waw key value Field 2.12.0.0 Gdk.Key hebrew_yod key value Field 2.12.0.0 Gdk.Key hebrew_zade key value Field 2.12.0.0 Gdk.Key hebrew_zadi key value Field 2.12.0.0 Gdk.Key hebrew_zain key value Field 2.12.0.0 Gdk.Key hebrew_zayin key value Field 2.12.0.0 Gdk.Key Help key value Field 2.12.0.0 Gdk.Key Henkan key value Field 2.12.0.0 Gdk.Key Henkan_Mode key value Field 2.12.0.0 Gdk.Key hexagram key value Field 2.12.0.0 Gdk.Key Hiragana key value Field 2.12.0.0 Gdk.Key Hiragana_Katakana key value Field 2.12.0.0 Gdk.Key Home key value Field 2.12.0.0 Gdk.Key horizconnector key value Field 2.12.0.0 Gdk.Key horizlinescan1 key value Field 2.12.0.0 Gdk.Key horizlinescan3 key value Field 2.12.0.0 Gdk.Key horizlinescan5 key value Field 2.12.0.0 Gdk.Key horizlinescan7 key value Field 2.12.0.0 Gdk.Key horizlinescan9 key value Field 2.12.0.0 Gdk.Key hstroke key value Field 2.12.0.0 Gdk.Key Hstroke key value Field 2.12.0.0 Gdk.Key ht key value Field 2.12.0.0 Gdk.Key Hyper_L key value Field 2.12.0.0 Gdk.Key Hyper_R key value Field 2.12.0.0 Gdk.Key hyphen key value Field 2.12.0.0 Gdk.Key i key value Field 2.12.0.0 Gdk.Key I key value Field 2.12.0.0 Gdk.Key Iabovedot key value Field 2.12.0.0 Gdk.Key iacute key value Field 2.12.0.0 Gdk.Key Iacute key value Field 2.12.0.0 Gdk.Key icircumflex key value Field 2.12.0.0 Gdk.Key Icircumflex key value Field 2.12.0.0 Gdk.Key identical key value Field 2.12.0.0 Gdk.Key idiaeresis key value Field 2.12.0.0 Gdk.Key Idiaeresis key value Field 2.12.0.0 Gdk.Key idotless key value Field 2.12.0.0 Gdk.Key ifonlyif key value Field 2.12.0.0 Gdk.Key igrave key value Field 2.12.0.0 Gdk.Key Igrave key value Field 2.12.0.0 Gdk.Key imacron key value Field 2.12.0.0 Gdk.Key Imacron key value Field 2.12.0.0 Gdk.Key implies key value Field 2.12.0.0 Gdk.Key includedin key value Field 2.12.0.0 Gdk.Key includes key value Field 2.12.0.0 Gdk.Key infinity key value Field 2.12.0.0 Gdk.Key Insert key value Field 2.12.0.0 Gdk.Key integral key value Field 2.12.0.0 Gdk.Key intersection key value Field 2.12.0.0 Gdk.Key iogonek key value Field 2.12.0.0 Gdk.Key Iogonek key value Field 2.12.0.0 Gdk.Key ISO_Center_Object key value Field 2.12.0.0 Gdk.Key ISO_Continuous_Underline key value Field 2.12.0.0 Gdk.Key ISO_Discontinuous_Underline key value Field 2.12.0.0 Gdk.Key ISO_Emphasize key value Field 2.12.0.0 Gdk.Key ISO_Enter key value Field 2.12.0.0 Gdk.Key ISO_Fast_Cursor_Down key value Field 2.12.0.0 Gdk.Key ISO_Fast_Cursor_Left key value Field 2.12.0.0 Gdk.Key ISO_Fast_Cursor_Right key value Field 2.12.0.0 Gdk.Key ISO_Fast_Cursor_Up key value Field 2.12.0.0 Gdk.Key ISO_First_Group key value Field 2.12.0.0 Gdk.Key ISO_First_Group_Lock key value Field 2.12.0.0 Gdk.Key ISO_Group_Latch key value Field 2.12.0.0 Gdk.Key ISO_Group_Lock key value Field 2.12.0.0 Gdk.Key ISO_Group_Shift key value Field 2.12.0.0 Gdk.Key ISO_Last_Group key value Field 2.12.0.0 Gdk.Key ISO_Last_Group_Lock key value Field 2.12.0.0 Gdk.Key ISO_Left_Tab key value Field 2.12.0.0 Gdk.Key ISO_Level2_Latch key value Field 2.12.0.0 Gdk.Key ISO_Level3_Latch key value Field 2.12.0.0 Gdk.Key ISO_Level3_Lock key value Field 2.12.0.0 Gdk.Key ISO_Level3_Shift key value Field 2.12.0.0 Gdk.Key ISO_Lock key value Field 2.12.0.0 Gdk.Key ISO_Move_Line_Down key value Field 2.12.0.0 Gdk.Key ISO_Move_Line_Up key value Field 2.12.0.0 Gdk.Key ISO_Next_Group key value Field 2.12.0.0 Gdk.Key ISO_Next_Group_Lock key value Field 2.12.0.0 Gdk.Key ISO_Partial_Line_Down key value Field 2.12.0.0 Gdk.Key ISO_Partial_Line_Up key value Field 2.12.0.0 Gdk.Key ISO_Partial_Space_Left key value Field 2.12.0.0 Gdk.Key ISO_Partial_Space_Right key value Field 2.12.0.0 Gdk.Key ISO_Prev_Group key value Field 2.12.0.0 Gdk.Key ISO_Prev_Group_Lock key value Field 2.12.0.0 Gdk.Key ISO_Release_Both_Margins key value Field 2.12.0.0 Gdk.Key ISO_Release_Margin_Left key value Field 2.12.0.0 Gdk.Key ISO_Release_Margin_Right key value Field 2.12.0.0 Gdk.Key ISO_Set_Margin_Left key value Field 2.12.0.0 Gdk.Key ISO_Set_Margin_Right key value Field 2.12.0.0 Gdk.Key itilde key value Field 2.12.0.0 Gdk.Key Itilde key value Field 2.12.0.0 Gdk.Key j key value Field 2.12.0.0 Gdk.Key J key value Field 2.12.0.0 Gdk.Key jcircumflex key value Field 2.12.0.0 Gdk.Key Jcircumflex key value Field 2.12.0.0 Gdk.Key jot key value Field 2.12.0.0 Gdk.Key k key value Field 2.12.0.0 Gdk.Key K key value Field 2.12.0.0 Gdk.Key kana_a key value Field 2.12.0.0 Gdk.Key kana_A key value Field 2.12.0.0 Gdk.Key kana_CHI key value Field 2.12.0.0 Gdk.Key kana_closingbracket key value Field 2.12.0.0 Gdk.Key kana_comma key value Field 2.12.0.0 Gdk.Key kana_conjunctive key value Field 2.12.0.0 Gdk.Key kana_e key value Field 2.12.0.0 Gdk.Key kana_E key value Field 2.12.0.0 Gdk.Key kana_FU key value Field 2.12.0.0 Gdk.Key kana_fullstop key value Field 2.12.0.0 Gdk.Key kana_HA key value Field 2.12.0.0 Gdk.Key kana_HE key value Field 2.12.0.0 Gdk.Key kana_HI key value Field 2.12.0.0 Gdk.Key kana_HO key value Field 2.12.0.0 Gdk.Key kana_HU key value Field 2.12.0.0 Gdk.Key kana_i key value Field 2.12.0.0 Gdk.Key kana_I key value Field 2.12.0.0 Gdk.Key kana_KA key value Field 2.12.0.0 Gdk.Key kana_KE key value Field 2.12.0.0 Gdk.Key kana_KI key value Field 2.12.0.0 Gdk.Key kana_KO key value Field 2.12.0.0 Gdk.Key kana_KU key value Field 2.12.0.0 Gdk.Key Kana_Lock key value Field 2.12.0.0 Gdk.Key kana_MA key value Field 2.12.0.0 Gdk.Key kana_ME key value Field 2.12.0.0 Gdk.Key kana_MI key value Field 2.12.0.0 Gdk.Key kana_middledot key value Field 2.12.0.0 Gdk.Key kana_MO key value Field 2.12.0.0 Gdk.Key kana_MU key value Field 2.12.0.0 Gdk.Key kana_N key value Field 2.12.0.0 Gdk.Key kana_NA key value Field 2.12.0.0 Gdk.Key kana_NE key value Field 2.12.0.0 Gdk.Key kana_NI key value Field 2.12.0.0 Gdk.Key kana_NO key value Field 2.12.0.0 Gdk.Key kana_NU key value Field 2.12.0.0 Gdk.Key kana_o key value Field 2.12.0.0 Gdk.Key kana_O key value Field 2.12.0.0 Gdk.Key kana_openingbracket key value Field 2.12.0.0 Gdk.Key kana_RA key value Field 2.12.0.0 Gdk.Key kana_RE key value Field 2.12.0.0 Gdk.Key kana_RI key value Field 2.12.0.0 Gdk.Key kana_RO key value Field 2.12.0.0 Gdk.Key kana_RU key value Field 2.12.0.0 Gdk.Key kana_SA key value Field 2.12.0.0 Gdk.Key kana_SE key value Field 2.12.0.0 Gdk.Key kana_SHI key value Field 2.12.0.0 Gdk.Key Kana_Shift key value Field 2.12.0.0 Gdk.Key kana_SO key value Field 2.12.0.0 Gdk.Key kana_SU key value Field 2.12.0.0 Gdk.Key kana_switch key value Field 2.12.0.0 Gdk.Key kana_TA key value Field 2.12.0.0 Gdk.Key kana_TE key value Field 2.12.0.0 Gdk.Key kana_TI key value Field 2.12.0.0 Gdk.Key kana_TO key value Field 2.12.0.0 Gdk.Key kana_tsu key value Field 2.12.0.0 Gdk.Key kana_TSU key value Field 2.12.0.0 Gdk.Key kana_tu key value Field 2.12.0.0 Gdk.Key kana_TU key value Field 2.12.0.0 Gdk.Key kana_u key value Field 2.12.0.0 Gdk.Key kana_U key value Field 2.12.0.0 Gdk.Key kana_WA key value Field 2.12.0.0 Gdk.Key kana_WO key value Field 2.12.0.0 Gdk.Key kana_ya key value Field 2.12.0.0 Gdk.Key kana_YA key value Field 2.12.0.0 Gdk.Key kana_yo key value Field 2.12.0.0 Gdk.Key kana_YO key value Field 2.12.0.0 Gdk.Key kana_yu key value Field 2.12.0.0 Gdk.Key kana_YU key value Field 2.12.0.0 Gdk.Key Kanji key value Field 2.12.0.0 Gdk.Key Kanji_Bangou key value Field 2.12.0.0 Gdk.Key kappa key value Field 2.12.0.0 Gdk.Key Katakana key value Field 2.12.0.0 Gdk.Key kcedilla key value Field 2.12.0.0 Gdk.Key Kcedilla key value Field 2.12.0.0 Gdk.Key Key_0 key value Field 2.12.0.0 Gdk.Key Key_1 key value Field 2.12.0.0 Gdk.Key Key_2 key value Field 2.12.0.0 Gdk.Key Key_3 key value Field 2.12.0.0 Gdk.Key Key_3270_AltCursor key value Field 2.12.0.0 Gdk.Key Key_3270_Attn key value Field 2.12.0.0 Gdk.Key Key_3270_BackTab key value Field 2.12.0.0 Gdk.Key Key_3270_ChangeScreen key value Field 2.12.0.0 Gdk.Key Key_3270_Copy key value Field 2.12.0.0 Gdk.Key Key_3270_CursorBlink key value Field 2.12.0.0 Gdk.Key Key_3270_CursorSelect key value Field 2.12.0.0 Gdk.Key Key_3270_DeleteWord key value Field 2.12.0.0 Gdk.Key Key_3270_Duplicate key value Field 2.12.0.0 Gdk.Key Key_3270_Enter key value Field 2.12.0.0 Gdk.Key Key_3270_EraseEOF key value Field 2.12.0.0 Gdk.Key Key_3270_EraseInput key value Field 2.12.0.0 Gdk.Key Key_3270_ExSelect key value Field 2.12.0.0 Gdk.Key Key_3270_FieldMark key value Field 2.12.0.0 Gdk.Key Key_3270_Ident key value Field 2.12.0.0 Gdk.Key Key_3270_Jump key value Field 2.12.0.0 Gdk.Key Key_3270_KeyClick key value Field 2.12.0.0 Gdk.Key Key_3270_Left2 key value Field 2.12.0.0 Gdk.Key Key_3270_PA1 key value Field 2.12.0.0 Gdk.Key Key_3270_PA2 key value Field 2.12.0.0 Gdk.Key Key_3270_PA3 key value Field 2.12.0.0 Gdk.Key Key_3270_Play key value Field 2.12.0.0 Gdk.Key Key_3270_PrintScreen key value Field 2.12.0.0 Gdk.Key Key_3270_Quit key value Field 2.12.0.0 Gdk.Key Key_3270_Record key value Field 2.12.0.0 Gdk.Key Key_3270_Reset key value Field 2.12.0.0 Gdk.Key Key_3270_Right2 key value Field 2.12.0.0 Gdk.Key Key_3270_Rule key value Field 2.12.0.0 Gdk.Key Key_3270_Setup key value Field 2.12.0.0 Gdk.Key Key_3270_Test key value Field 2.12.0.0 Gdk.Key Key_4 key value Field 2.12.0.0 Gdk.Key Key_5 key value Field 2.12.0.0 Gdk.Key Key_6 key value Field 2.12.0.0 Gdk.Key Key_7 key value Field 2.12.0.0 Gdk.Key Key_8 key value Field 2.12.0.0 Gdk.Key Key_9 key value Field 2.12.0.0 Gdk.Key Korean_Won key value Field 2.12.0.0 Gdk.Key KP_0 key value Field 2.12.0.0 Gdk.Key KP_1 key value Field 2.12.0.0 Gdk.Key KP_2 key value Field 2.12.0.0 Gdk.Key KP_3 key value Field 2.12.0.0 Gdk.Key KP_4 key value Field 2.12.0.0 Gdk.Key KP_5 key value Field 2.12.0.0 Gdk.Key KP_6 key value Field 2.12.0.0 Gdk.Key KP_7 key value Field 2.12.0.0 Gdk.Key KP_8 key value Field 2.12.0.0 Gdk.Key KP_9 key value Field 2.12.0.0 Gdk.Key KP_Add key value Field 2.12.0.0 Gdk.Key KP_Begin key value Field 2.12.0.0 Gdk.Key KP_Decimal key value Field 2.12.0.0 Gdk.Key KP_Delete key value Field 2.12.0.0 Gdk.Key KP_Divide key value Field 2.12.0.0 Gdk.Key KP_Down key value Field 2.12.0.0 Gdk.Key KP_End key value Field 2.12.0.0 Gdk.Key KP_Enter key value Field 2.12.0.0 Gdk.Key KP_Equal key value Field 2.12.0.0 Gdk.Key KP_F1 key value Field 2.12.0.0 Gdk.Key KP_F2 key value Field 2.12.0.0 Gdk.Key KP_F3 key value Field 2.12.0.0 Gdk.Key KP_F4 key value Field 2.12.0.0 Gdk.Key KP_Home key value Field 2.12.0.0 Gdk.Key KP_Insert key value Field 2.12.0.0 Gdk.Key KP_Left key value Field 2.12.0.0 Gdk.Key KP_Multiply key value Field 2.12.0.0 Gdk.Key KP_Next key value Field 2.12.0.0 Gdk.Key KP_Page_Down key value Field 2.12.0.0 Gdk.Key KP_Page_Up key value Field 2.12.0.0 Gdk.Key KP_Prior key value Field 2.12.0.0 Gdk.Key KP_Right key value Field 2.12.0.0 Gdk.Key KP_Separator key value Field 2.12.0.0 Gdk.Key KP_Space key value Field 2.12.0.0 Gdk.Key KP_Subtract key value Field 2.12.0.0 Gdk.Key KP_Tab key value Field 2.12.0.0 Gdk.Key KP_Up key value Field 2.12.0.0 Gdk.Key kra key value Field 2.12.0.0 Gdk.Key l key value Field 2.12.0.0 Gdk.Key L key value Field 2.12.0.0 Gdk.Key L1 key value Field 2.12.0.0 Gdk.Key L10 key value Field 2.12.0.0 Gdk.Key L2 key value Field 2.12.0.0 Gdk.Key L3 key value Field 2.12.0.0 Gdk.Key L4 key value Field 2.12.0.0 Gdk.Key L5 key value Field 2.12.0.0 Gdk.Key L6 key value Field 2.12.0.0 Gdk.Key L7 key value Field 2.12.0.0 Gdk.Key L8 key value Field 2.12.0.0 Gdk.Key L9 key value Field 2.12.0.0 Gdk.Key lacute key value Field 2.12.0.0 Gdk.Key Lacute key value Field 2.12.0.0 Gdk.Key Last_Virtual_Screen key value Field 2.12.0.0 Gdk.Key latincross key value Field 2.12.0.0 Gdk.Key lcaron key value Field 2.12.0.0 Gdk.Key Lcaron key value Field 2.12.0.0 Gdk.Key lcedilla key value Field 2.12.0.0 Gdk.Key Lcedilla key value Field 2.12.0.0 Gdk.Key Left key value Field 2.12.0.0 Gdk.Key leftanglebracket key value Field 2.12.0.0 Gdk.Key leftarrow key value Field 2.12.0.0 Gdk.Key leftcaret key value Field 2.12.0.0 Gdk.Key leftdoublequotemark key value Field 2.12.0.0 Gdk.Key leftmiddlecurlybrace key value Field 2.12.0.0 Gdk.Key leftopentriangle key value Field 2.12.0.0 Gdk.Key leftpointer key value Field 2.12.0.0 Gdk.Key leftradical key value Field 2.12.0.0 Gdk.Key leftshoe key value Field 2.12.0.0 Gdk.Key leftsinglequotemark key value Field 2.12.0.0 Gdk.Key leftt key value Field 2.12.0.0 Gdk.Key lefttack key value Field 2.12.0.0 Gdk.Key less key value Field 2.12.0.0 Gdk.Key lessthanequal key value Field 2.12.0.0 Gdk.Key lf key value Field 2.12.0.0 Gdk.Key Linefeed key value Field 2.12.0.0 Gdk.Key LiraSign key value Field 2.12.0.0 Gdk.Key logicaland key value Field 2.12.0.0 Gdk.Key logicalor key value Field 2.12.0.0 Gdk.Key lowleftcorner key value Field 2.12.0.0 Gdk.Key lowrightcorner key value Field 2.12.0.0 Gdk.Key lstroke key value Field 2.12.0.0 Gdk.Key Lstroke key value Field 2.12.0.0 Gdk.Key m key value Field 2.12.0.0 Gdk.Key M key value Field 2.12.0.0 Gdk.Key Macedonia_dse key value Field 2.12.0.0 Gdk.Key Macedonia_DSE key value Field 2.12.0.0 Gdk.Key Macedonia_gje key value Field 2.12.0.0 Gdk.Key Macedonia_GJE key value Field 2.12.0.0 Gdk.Key Macedonia_kje key value Field 2.12.0.0 Gdk.Key Macedonia_KJE key value Field 2.12.0.0 Gdk.Key macron key value Field 2.12.0.0 Gdk.Key Mae_Koho key value Field 2.12.0.0 Gdk.Key malesymbol key value Field 2.12.0.0 Gdk.Key maltesecross key value Field 2.12.0.0 Gdk.Key marker key value Field 2.12.0.0 Gdk.Key masculine key value Field 2.12.0.0 Gdk.Key Massyo key value Field 2.12.0.0 Gdk.Key Menu key value Field 2.12.0.0 Gdk.Key Meta_L key value Field 2.12.0.0 Gdk.Key Meta_R key value Field 2.12.0.0 Gdk.Key MillSign key value Field 2.12.0.0 Gdk.Key minus key value Field 2.12.0.0 Gdk.Key minutes key value Field 2.12.0.0 Gdk.Key Mode_switch key value Field 2.12.0.0 Gdk.Key MouseKeys_Accel_Enable key value Field 2.12.0.0 Gdk.Key MouseKeys_Enable key value Field 2.12.0.0 Gdk.Key mu key value Field 2.12.0.0 Gdk.Key Muhenkan key value Field 2.12.0.0 Gdk.Key Multi_key key value Field 2.12.0.0 Gdk.Key MultipleCandidate key value Field 2.12.0.0 Gdk.Key multiply key value Field 2.12.0.0 Gdk.Key musicalflat key value Field 2.12.0.0 Gdk.Key musicalsharp key value Field 2.12.0.0 Gdk.Key n key value Field 2.12.0.0 Gdk.Key N key value Field 2.12.0.0 Gdk.Key nabla key value Field 2.12.0.0 Gdk.Key nacute key value Field 2.12.0.0 Gdk.Key Nacute key value Field 2.12.0.0 Gdk.Key NairaSign key value Field 2.12.0.0 Gdk.Key ncaron key value Field 2.12.0.0 Gdk.Key Ncaron key value Field 2.12.0.0 Gdk.Key ncedilla key value Field 2.12.0.0 Gdk.Key Ncedilla key value Field 2.12.0.0 Gdk.Key NewSheqelSign key value Field 2.12.0.0 Gdk.Key Next key value Field 2.12.0.0 Gdk.Key Next_Virtual_Screen key value Field 2.12.0.0 Gdk.Key nl key value Field 2.12.0.0 Gdk.Key nobreakspace key value Field 2.12.0.0 Gdk.Key notequal key value Field 2.12.0.0 Gdk.Key notsign key value Field 2.12.0.0 Gdk.Key ntilde key value Field 2.12.0.0 Gdk.Key Ntilde key value Field 2.12.0.0 Gdk.Key Num_Lock key value Field 2.12.0.0 Gdk.Key numbersign key value Field 2.12.0.0 Gdk.Key numerosign key value Field 2.12.0.0 Gdk.Key o key value Field 2.12.0.0 Gdk.Key O key value Field 2.12.0.0 Gdk.Key oacute key value Field 2.12.0.0 Gdk.Key Oacute key value Field 2.12.0.0 Gdk.Key ocircumflex key value Field 2.12.0.0 Gdk.Key Ocircumflex key value Field 2.12.0.0 Gdk.Key odiaeresis key value Field 2.12.0.0 Gdk.Key Odiaeresis key value Field 2.12.0.0 Gdk.Key odoubleacute key value Field 2.12.0.0 Gdk.Key Odoubleacute key value Field 2.12.0.0 Gdk.Key oe key value Field 2.12.0.0 Gdk.Key OE key value Field 2.12.0.0 Gdk.Key ogonek key value Field 2.12.0.0 Gdk.Key ograve key value Field 2.12.0.0 Gdk.Key Ograve key value Field 2.12.0.0 Gdk.Key omacron key value Field 2.12.0.0 Gdk.Key Omacron key value Field 2.12.0.0 Gdk.Key oneeighth key value Field 2.12.0.0 Gdk.Key onefifth key value Field 2.12.0.0 Gdk.Key onehalf key value Field 2.12.0.0 Gdk.Key onequarter key value Field 2.12.0.0 Gdk.Key onesixth key value Field 2.12.0.0 Gdk.Key onesuperior key value Field 2.12.0.0 Gdk.Key onethird key value Field 2.12.0.0 Gdk.Key Ooblique key value Field 2.12.0.0 Gdk.Key openrectbullet key value Field 2.12.0.0 Gdk.Key openstar key value Field 2.12.0.0 Gdk.Key opentribulletdown key value Field 2.12.0.0 Gdk.Key opentribulletup key value Field 2.12.0.0 Gdk.Key ordfeminine key value Field 2.12.0.0 Gdk.Key oslash key value Field 2.12.0.0 Gdk.Key otilde key value Field 2.12.0.0 Gdk.Key Otilde key value Field 2.12.0.0 Gdk.Key overbar key value Field 2.12.0.0 Gdk.Key Overlay1_Enable key value Field 2.12.0.0 Gdk.Key Overlay2_Enable key value Field 2.12.0.0 Gdk.Key overline key value Field 2.12.0.0 Gdk.Key p key value Field 2.12.0.0 Gdk.Key P key value Field 2.12.0.0 Gdk.Key Page_Down key value Field 2.12.0.0 Gdk.Key Page_Up key value Field 2.12.0.0 Gdk.Key paragraph key value Field 2.12.0.0 Gdk.Key parenleft key value Field 2.12.0.0 Gdk.Key parenright key value Field 2.12.0.0 Gdk.Key partialderivative key value Field 2.12.0.0 Gdk.Key Pause key value Field 2.12.0.0 Gdk.Key percent key value Field 2.12.0.0 Gdk.Key period key value Field 2.12.0.0 Gdk.Key periodcentered key value Field 2.12.0.0 Gdk.Key PesetaSign key value Field 2.12.0.0 Gdk.Key phonographcopyright key value Field 2.12.0.0 Gdk.Key plus key value Field 2.12.0.0 Gdk.Key plusminus key value Field 2.12.0.0 Gdk.Key Pointer_Accelerate key value Field 2.12.0.0 Gdk.Key Pointer_Button_Dflt key value Field 2.12.0.0 Gdk.Key Pointer_Button1 key value Field 2.12.0.0 Gdk.Key Pointer_Button2 key value Field 2.12.0.0 Gdk.Key Pointer_Button3 key value Field 2.12.0.0 Gdk.Key Pointer_Button4 key value Field 2.12.0.0 Gdk.Key Pointer_Button5 key value Field 2.12.0.0 Gdk.Key Pointer_DblClick_Dflt key value Field 2.12.0.0 Gdk.Key Pointer_DblClick1 key value Field 2.12.0.0 Gdk.Key Pointer_DblClick2 key value Field 2.12.0.0 Gdk.Key Pointer_DblClick3 key value Field 2.12.0.0 Gdk.Key Pointer_DblClick4 key value Field 2.12.0.0 Gdk.Key Pointer_DblClick5 key value Field 2.12.0.0 Gdk.Key Pointer_DfltBtnNext key value Field 2.12.0.0 Gdk.Key Pointer_DfltBtnPrev key value Field 2.12.0.0 Gdk.Key Pointer_Down key value Field 2.12.0.0 Gdk.Key Pointer_DownLeft key value Field 2.12.0.0 Gdk.Key Pointer_DownRight key value Field 2.12.0.0 Gdk.Key Pointer_Drag_Dflt key value Field 2.12.0.0 Gdk.Key Pointer_Drag1 key value Field 2.12.0.0 Gdk.Key Pointer_Drag2 key value Field 2.12.0.0 Gdk.Key Pointer_Drag3 key value Field 2.12.0.0 Gdk.Key Pointer_Drag4 key value Field 2.12.0.0 Gdk.Key Pointer_Drag5 key value Field 2.12.0.0 Gdk.Key Pointer_EnableKeys key value Field 2.12.0.0 Gdk.Key Pointer_Left key value Field 2.12.0.0 Gdk.Key Pointer_Right key value Field 2.12.0.0 Gdk.Key Pointer_Up key value Field 2.12.0.0 Gdk.Key Pointer_UpLeft key value Field 2.12.0.0 Gdk.Key Pointer_UpRight key value Field 2.12.0.0 Gdk.Key prescription key value Field 2.12.0.0 Gdk.Key Prev_Virtual_Screen key value Field 2.12.0.0 Gdk.Key PreviousCandidate key value Field 2.12.0.0 Gdk.Key Print key value Field 2.12.0.0 Gdk.Key Prior key value Field 2.12.0.0 Gdk.Key prolongedsound key value Field 2.12.0.0 Gdk.Key punctspace key value Field 2.12.0.0 Gdk.Key q key value Field 2.12.0.0 Gdk.Key Q key value Field 2.12.0.0 Gdk.Key quad key value Field 2.12.0.0 Gdk.Key question key value Field 2.12.0.0 Gdk.Key questiondown key value Field 2.12.0.0 Gdk.Key quotedbl key value Field 2.12.0.0 Gdk.Key quoteleft key value Field 2.12.0.0 Gdk.Key quoteright key value Field 2.12.0.0 Gdk.Key r key value Field 2.12.0.0 Gdk.Key R key value Field 2.12.0.0 Gdk.Key R1 key value Field 2.12.0.0 Gdk.Key R10 key value Field 2.12.0.0 Gdk.Key R11 key value Field 2.12.0.0 Gdk.Key R12 key value Field 2.12.0.0 Gdk.Key R13 key value Field 2.12.0.0 Gdk.Key R14 key value Field 2.12.0.0 Gdk.Key R15 key value Field 2.12.0.0 Gdk.Key R2 key value Field 2.12.0.0 Gdk.Key R3 key value Field 2.12.0.0 Gdk.Key R4 key value Field 2.12.0.0 Gdk.Key R5 key value Field 2.12.0.0 Gdk.Key R6 key value Field 2.12.0.0 Gdk.Key R7 key value Field 2.12.0.0 Gdk.Key R8 key value Field 2.12.0.0 Gdk.Key R9 key value Field 2.12.0.0 Gdk.Key racute key value Field 2.12.0.0 Gdk.Key Racute key value Field 2.12.0.0 Gdk.Key radical key value Field 2.12.0.0 Gdk.Key rcaron key value Field 2.12.0.0 Gdk.Key Rcaron key value Field 2.12.0.0 Gdk.Key rcedilla key value Field 2.12.0.0 Gdk.Key Rcedilla key value Field 2.12.0.0 Gdk.Key Redo key value Field 2.12.0.0 Gdk.Key registered key value Field 2.12.0.0 Gdk.Key RepeatKeys_Enable key value Field 2.12.0.0 Gdk.Key Return key value Field 2.12.0.0 Gdk.Key Right key value Field 2.12.0.0 Gdk.Key rightanglebracket key value Field 2.12.0.0 Gdk.Key rightarrow key value Field 2.12.0.0 Gdk.Key rightcaret key value Field 2.12.0.0 Gdk.Key rightdoublequotemark key value Field 2.12.0.0 Gdk.Key rightmiddlecurlybrace key value Field 2.12.0.0 Gdk.Key rightmiddlesummation key value Field 2.12.0.0 Gdk.Key rightopentriangle key value Field 2.12.0.0 Gdk.Key rightpointer key value Field 2.12.0.0 Gdk.Key rightshoe key value Field 2.12.0.0 Gdk.Key rightsinglequotemark key value Field 2.12.0.0 Gdk.Key rightt key value Field 2.12.0.0 Gdk.Key righttack key value Field 2.12.0.0 Gdk.Key Romaji key value Field 2.12.0.0 Gdk.Key RupeeSign key value Field 2.12.0.0 Gdk.Key s key value Field 2.12.0.0 Gdk.Key S key value Field 2.12.0.0 Gdk.Key sacute key value Field 2.12.0.0 Gdk.Key Sacute key value Field 2.12.0.0 Gdk.Key scaron key value Field 2.12.0.0 Gdk.Key Scaron key value Field 2.12.0.0 Gdk.Key scedilla key value Field 2.12.0.0 Gdk.Key Scedilla key value Field 2.12.0.0 Gdk.Key scircumflex key value Field 2.12.0.0 Gdk.Key Scircumflex key value Field 2.12.0.0 Gdk.Key script_switch key value Field 2.12.0.0 Gdk.Key Scroll_Lock key value Field 2.12.0.0 Gdk.Key seconds key value Field 2.12.0.0 Gdk.Key section key value Field 2.12.0.0 Gdk.Key Select key value Field 2.12.0.0 Gdk.Key semicolon key value Field 2.12.0.0 Gdk.Key semivoicedsound key value Field 2.12.0.0 Gdk.Key Serbian_dje key value Field 2.12.0.0 Gdk.Key Serbian_DJE key value Field 2.12.0.0 Gdk.Key Serbian_dze key value Field 2.12.0.0 Gdk.Key Serbian_DZE key value Field 2.12.0.0 Gdk.Key Serbian_je key value Field 2.12.0.0 Gdk.Key Serbian_JE key value Field 2.12.0.0 Gdk.Key Serbian_lje key value Field 2.12.0.0 Gdk.Key Serbian_LJE key value Field 2.12.0.0 Gdk.Key Serbian_nje key value Field 2.12.0.0 Gdk.Key Serbian_NJE key value Field 2.12.0.0 Gdk.Key Serbian_tshe key value Field 2.12.0.0 Gdk.Key Serbian_TSHE key value Field 2.12.0.0 Gdk.Key seveneighths key value Field 2.12.0.0 Gdk.Key Shift_L key value Field 2.12.0.0 Gdk.Key Shift_Lock key value Field 2.12.0.0 Gdk.Key Shift_R key value Field 2.12.0.0 Gdk.Key signaturemark key value Field 2.12.0.0 Gdk.Key signifblank key value Field 2.12.0.0 Gdk.Key similarequal key value Field 2.12.0.0 Gdk.Key SingleCandidate key value Field 2.12.0.0 Gdk.Key singlelowquotemark key value Field 2.12.0.0 Gdk.Key slash key value Field 2.12.0.0 Gdk.Key SlowKeys_Enable key value Field 2.12.0.0 Gdk.Key soliddiamond key value Field 2.12.0.0 Gdk.Key space key value Field 2.12.0.0 Gdk.Key ssharp key value Field 2.12.0.0 Gdk.Key sterling key value Field 2.12.0.0 Gdk.Key StickyKeys_Enable key value Field 2.12.0.0 Gdk.Key Super_L key value Field 2.12.0.0 Gdk.Key Super_R key value Field 2.12.0.0 Gdk.Key Sys_Req key value Field 2.12.0.0 Gdk.Key t key value Field 2.12.0.0 Gdk.Key T key value Field 2.12.0.0 Gdk.Key Tab key value Field 2.12.0.0 Gdk.Key tcaron key value Field 2.12.0.0 Gdk.Key Tcaron key value Field 2.12.0.0 Gdk.Key tcedilla key value Field 2.12.0.0 Gdk.Key Tcedilla key value Field 2.12.0.0 Gdk.Key telephone key value Field 2.12.0.0 Gdk.Key telephonerecorder key value Field 2.12.0.0 Gdk.Key Terminate_Server key value Field 2.12.0.0 Gdk.Key Thai_baht key value Field 2.12.0.0 Gdk.Key Thai_bobaimai key value Field 2.12.0.0 Gdk.Key Thai_chochan key value Field 2.12.0.0 Gdk.Key Thai_chochang key value Field 2.12.0.0 Gdk.Key Thai_choching key value Field 2.12.0.0 Gdk.Key Thai_chochoe key value Field 2.12.0.0 Gdk.Key Thai_dochada key value Field 2.12.0.0 Gdk.Key Thai_dodek key value Field 2.12.0.0 Gdk.Key Thai_fofa key value Field 2.12.0.0 Gdk.Key Thai_fofan key value Field 2.12.0.0 Gdk.Key Thai_hohip key value Field 2.12.0.0 Gdk.Key Thai_honokhuk key value Field 2.12.0.0 Gdk.Key Thai_khokhai key value Field 2.12.0.0 Gdk.Key Thai_khokhon key value Field 2.12.0.0 Gdk.Key Thai_khokhuat key value Field 2.12.0.0 Gdk.Key Thai_khokhwai key value Field 2.12.0.0 Gdk.Key Thai_khorakhang key value Field 2.12.0.0 Gdk.Key Thai_kokai key value Field 2.12.0.0 Gdk.Key Thai_lakkhangyao key value Field 2.12.0.0 Gdk.Key Thai_lekchet key value Field 2.12.0.0 Gdk.Key Thai_lekha key value Field 2.12.0.0 Gdk.Key Thai_lekhok key value Field 2.12.0.0 Gdk.Key Thai_lekkao key value Field 2.12.0.0 Gdk.Key Thai_leknung key value Field 2.12.0.0 Gdk.Key Thai_lekpaet key value Field 2.12.0.0 Gdk.Key Thai_leksam key value Field 2.12.0.0 Gdk.Key Thai_leksi key value Field 2.12.0.0 Gdk.Key Thai_leksong key value Field 2.12.0.0 Gdk.Key Thai_leksun key value Field 2.12.0.0 Gdk.Key Thai_lochula key value Field 2.12.0.0 Gdk.Key Thai_loling key value Field 2.12.0.0 Gdk.Key Thai_lu key value Field 2.12.0.0 Gdk.Key Thai_maichattawa key value Field 2.12.0.0 Gdk.Key Thai_maiek key value Field 2.12.0.0 Gdk.Key Thai_maihanakat key value Field 2.12.0.0 Gdk.Key Thai_maihanakat_maitho key value Field 2.12.0.0 Gdk.Key Thai_maitaikhu key value Field 2.12.0.0 Gdk.Key Thai_maitho key value Field 2.12.0.0 Gdk.Key Thai_maitri key value Field 2.12.0.0 Gdk.Key Thai_maiyamok key value Field 2.12.0.0 Gdk.Key Thai_moma key value Field 2.12.0.0 Gdk.Key Thai_ngongu key value Field 2.12.0.0 Gdk.Key Thai_nikhahit key value Field 2.12.0.0 Gdk.Key Thai_nonen key value Field 2.12.0.0 Gdk.Key Thai_nonu key value Field 2.12.0.0 Gdk.Key Thai_oang key value Field 2.12.0.0 Gdk.Key Thai_paiyannoi key value Field 2.12.0.0 Gdk.Key Thai_phinthu key value Field 2.12.0.0 Gdk.Key Thai_phophan key value Field 2.12.0.0 Gdk.Key Thai_phophung key value Field 2.12.0.0 Gdk.Key Thai_phosamphao key value Field 2.12.0.0 Gdk.Key Thai_popla key value Field 2.12.0.0 Gdk.Key Thai_rorua key value Field 2.12.0.0 Gdk.Key Thai_ru key value Field 2.12.0.0 Gdk.Key Thai_saraa key value Field 2.12.0.0 Gdk.Key Thai_saraaa key value Field 2.12.0.0 Gdk.Key Thai_saraae key value Field 2.12.0.0 Gdk.Key Thai_saraaimaimalai key value Field 2.12.0.0 Gdk.Key Thai_saraaimaimuan key value Field 2.12.0.0 Gdk.Key Thai_saraam key value Field 2.12.0.0 Gdk.Key Thai_sarae key value Field 2.12.0.0 Gdk.Key Thai_sarai key value Field 2.12.0.0 Gdk.Key Thai_saraii key value Field 2.12.0.0 Gdk.Key Thai_sarao key value Field 2.12.0.0 Gdk.Key Thai_sarau key value Field 2.12.0.0 Gdk.Key Thai_saraue key value Field 2.12.0.0 Gdk.Key Thai_sarauee key value Field 2.12.0.0 Gdk.Key Thai_sarauu key value Field 2.12.0.0 Gdk.Key Thai_sorusi key value Field 2.12.0.0 Gdk.Key Thai_sosala key value Field 2.12.0.0 Gdk.Key Thai_soso key value Field 2.12.0.0 Gdk.Key Thai_sosua key value Field 2.12.0.0 Gdk.Key Thai_thanthakhat key value Field 2.12.0.0 Gdk.Key Thai_thonangmontho key value Field 2.12.0.0 Gdk.Key Thai_thophuthao key value Field 2.12.0.0 Gdk.Key Thai_thothahan key value Field 2.12.0.0 Gdk.Key Thai_thothan key value Field 2.12.0.0 Gdk.Key Thai_thothong key value Field 2.12.0.0 Gdk.Key Thai_thothung key value Field 2.12.0.0 Gdk.Key Thai_topatak key value Field 2.12.0.0 Gdk.Key Thai_totao key value Field 2.12.0.0 Gdk.Key Thai_wowaen key value Field 2.12.0.0 Gdk.Key Thai_yoyak key value Field 2.12.0.0 Gdk.Key Thai_yoying key value Field 2.12.0.0 Gdk.Key therefore key value Field 2.12.0.0 Gdk.Key thinspace key value Field 2.12.0.0 Gdk.Key thorn key value Field 2.12.0.0 Gdk.Key Thorn key value Field 2.12.0.0 Gdk.Key THORN key value Field 2.12.0.0 Gdk.Key threeeighths key value Field 2.12.0.0 Gdk.Key threefifths key value Field 2.12.0.0 Gdk.Key threequarters key value Field 2.12.0.0 Gdk.Key threesuperior key value Field 2.12.0.0 Gdk.Key topintegral key value Field 2.12.0.0 Gdk.Key topleftparens key value Field 2.12.0.0 Gdk.Key topleftradical key value Field 2.12.0.0 Gdk.Key topleftsqbracket key value Field 2.12.0.0 Gdk.Key topleftsummation key value Field 2.12.0.0 Gdk.Key toprightparens key value Field 2.12.0.0 Gdk.Key toprightsqbracket key value Field 2.12.0.0 Gdk.Key toprightsummation key value Field 2.12.0.0 Gdk.Key topt key value Field 2.12.0.0 Gdk.Key topvertsummationconnector key value Field 2.12.0.0 Gdk.Key Touroku key value Field 2.12.0.0 Gdk.Key trademark key value Field 2.12.0.0 Gdk.Key trademarkincircle key value Field 2.12.0.0 Gdk.Key tslash key value Field 2.12.0.0 Gdk.Key Tslash key value Field 2.12.0.0 Gdk.Key twofifths key value Field 2.12.0.0 Gdk.Key twosuperior key value Field 2.12.0.0 Gdk.Key twothirds key value Field 2.12.0.0 Gdk.Key u key value Field 2.12.0.0 Gdk.Key U key value Field 2.12.0.0 Gdk.Key uacute key value Field 2.12.0.0 Gdk.Key Uacute key value Field 2.12.0.0 Gdk.Key ubreve key value Field 2.12.0.0 Gdk.Key Ubreve key value Field 2.12.0.0 Gdk.Key ucircumflex key value Field 2.12.0.0 Gdk.Key Ucircumflex key value Field 2.12.0.0 Gdk.Key udiaeresis key value Field 2.12.0.0 Gdk.Key Udiaeresis key value Field 2.12.0.0 Gdk.Key udoubleacute key value Field 2.12.0.0 Gdk.Key Udoubleacute key value Field 2.12.0.0 Gdk.Key ugrave key value Field 2.12.0.0 Gdk.Key Ugrave key value Field 2.12.0.0 Gdk.Key Ukrainian_i key value Field 2.12.0.0 Gdk.Key Ukrainian_I key value Field 2.12.0.0 Gdk.Key Ukrainian_ie key value Field 2.12.0.0 Gdk.Key Ukrainian_IE key value Field 2.12.0.0 Gdk.Key Ukrainian_yi key value Field 2.12.0.0 Gdk.Key Ukrainian_YI key value Field 2.12.0.0 Gdk.Key Ukranian_i key value Field 2.12.0.0 Gdk.Key Ukranian_I key value Field 2.12.0.0 Gdk.Key Ukranian_je key value Field 2.12.0.0 Gdk.Key Ukranian_JE key value Field 2.12.0.0 Gdk.Key Ukranian_yi key value Field 2.12.0.0 Gdk.Key Ukranian_YI key value Field 2.12.0.0 Gdk.Key umacron key value Field 2.12.0.0 Gdk.Key Umacron key value Field 2.12.0.0 Gdk.Key underbar key value Field 2.12.0.0 Gdk.Key underscore key value Field 2.12.0.0 Gdk.Key Undo key value Field 2.12.0.0 Gdk.Key union key value Field 2.12.0.0 Gdk.Key uogonek key value Field 2.12.0.0 Gdk.Key Uogonek key value Field 2.12.0.0 Gdk.Key Up key value Field 2.12.0.0 Gdk.Key uparrow key value Field 2.12.0.0 Gdk.Key upcaret key value Field 2.12.0.0 Gdk.Key upleftcorner key value Field 2.12.0.0 Gdk.Key uprightcorner key value Field 2.12.0.0 Gdk.Key upshoe key value Field 2.12.0.0 Gdk.Key upstile key value Field 2.12.0.0 Gdk.Key uptack key value Field 2.12.0.0 Gdk.Key uring key value Field 2.12.0.0 Gdk.Key Uring key value Field 2.12.0.0 Gdk.Key utilde key value Field 2.12.0.0 Gdk.Key Utilde key value Field 2.12.0.0 Gdk.Key v key value Field 2.12.0.0 Gdk.Key V key value Field 2.12.0.0 Gdk.Key variation key value Field 2.12.0.0 Gdk.Key vertbar key value Field 2.12.0.0 Gdk.Key vertconnector key value Field 2.12.0.0 Gdk.Key voicedsound key value Field 2.12.0.0 Gdk.Key VoidSymbol key value Field 2.12.0.0 Gdk.Key vt key value Field 2.12.0.0 Gdk.Key w key value Field 2.12.0.0 Gdk.Key W key value Field 2.12.0.0 Gdk.Key WonSign key value Field 2.12.0.0 Gdk.Key x key value Field 2.12.0.0 Gdk.Key X key value Field 2.12.0.0 Gdk.Key y key value Field 2.12.0.0 Gdk.Key Y key value Field 2.12.0.0 Gdk.Key yacute key value Field 2.12.0.0 Gdk.Key Yacute key value Field 2.12.0.0 Gdk.Key ydiaeresis key value Field 2.12.0.0 Gdk.Key Ydiaeresis key value Field 2.12.0.0 Gdk.Key yen key value Field 2.12.0.0 Gdk.Key z key value Field 2.12.0.0 Gdk.Key Z key value Field 2.12.0.0 Gdk.Key zabovedot key value Field 2.12.0.0 Gdk.Key Zabovedot key value Field 2.12.0.0 Gdk.Key zacute key value Field 2.12.0.0 Gdk.Key Zacute key value Field 2.12.0.0 Gdk.Key zcaron key value Field 2.12.0.0 Gdk.Key Zcaron key value Field 2.12.0.0 Gdk.Key Zen_Koho key value Field 2.12.0.0 Gdk.Key Zenkaku key value Field 2.12.0.0 Gdk.Key Zenkaku_Hankaku key value gtk-sharp-2.12.40/doc/en/Gdk/PointerHooks.xml0000664000175000017500000000437012767740535015551 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Method 2.12.0.0 Gdk.PointerHooks To be added: an object of type 'IntPtr' To be added To be added: an object of type 'Gdk.PointerHooks' To be added Field 2.12.0.0 Gdk.PointerHooks To be added To be added gtk-sharp-2.12.40/doc/en/Gdk/GC.xml0000664000175000017500000010027212767740535013414 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Represents a graphics context The Gdk.GC class is used to represent a graphics context. A number of resources are used when performing graphics operations. Most information about performing graphics (for example, foreground color, background color, line style, and so on) is stored in resources called graphics contexts (GCs). Most graphics operations take a GC as an argument. Graphics operations can be performed to either windows () or pixmaps (), which collectively are called drawables (). Each drawable exists on a single screen. A GC is created for a specific screen and drawable depth and can only be used with drawables of matching screen and depth. Constructor 2.12.0.0 To be added: an object of type 'Gdk.Drawable' To be added To be added Constructor 2.12.0.0 System.Obsolete a Internal constructor This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 To be added: an object of type 'Gdk.Drawable' To be added: an object of type 'Gdk.GCValues' To be added: an object of type 'Gdk.GCValuesMask' To be added To be added Property 2.12.0.0 Gdk.Color Sets the background color for a graphics context. the new background color. Sets the background color for a graphics context. The color must have been allocated. Gdk.GC my_gc = new Gdk.GC (gdk_window); // // Create the color // Gdk.Color back_color = new Gdk.Color (0xff, 0, 0); Gdk.Color fore_color = new Gdk.Color (0, 0, 0xff); // // Allocate them // Gdk.Colormap colormap = Gdk.Colormap.System; colormap.AllocColor (ref back_color, true, true); Gdk.Colormap colormap = Gdk.Colormap.System; colormap.AllocColor (ref fore_color, true, true); my_gc.Background = back_color; my_gc.Background = fore_color; // // Draw a thick line, alternating between foreground and // background colors // my_gc.SetLineAttributes (3, LineStyle.DoubleDash, CapStyle.NotLast, JoinStyle.Round); // // Draw diagonal, using the GC with the red color // gdk_window.DrawLine (my_gc, 0, 0, 100, 100); Property 2.12.0.0 Gdk.Pixmap Sets the clip mask for a graphics context from a bitmap. a bitmap. Sets the clip mask for a graphics context from a bitmap. The clip mask is interpreted relative to the clip origin. (See ). Property 2.12.0.0 Gdk.Rectangle Sets the clip mask for a graphics context from a rectangle. an object of type 'Gdk.Rectangle' Sets the clip mask for a graphics context from a rectangle. The clip mask is interpreted relative to the clip origin. (See ). Property 2.12.0.0 Gdk.Region Sets the clip mask for a graphics context from a region structure. the Gdk.Region Sets the clip mask for a graphics context from a region structure. The clip mask is interpreted relative to the clip origin. (See ). Property 2.12.0.0 Gdk.Colormap Sets the colormap for the GC to the given colormap. a Gdk.Colormap Fetches or changes the colormap of the GC. The depth of the colormap's visual must match the depth of the drawable for which the GC was created. Method 2.12.0.0 System.Void The GC to copy. Copy the set of values from one graphics context onto another graphics context. Copies the settings of the graphics context into this GC. Property 2.12.0.0 System.Boolean Sets whether or not this GC should geenrate exposure events. To be added: an object of type 'bool' Sets whether copying non-visible portions of a drawable using this graphics context generate exposure events for the corresponding regions of the destination drawable. (See ). Property 2.12.0.0 Gdk.Fill Set the fill mode for a graphics context. the new fill mode. Set the fill mode for a graphics context. Property 2.12.0.0 System.Obsolete Gdk.Font To be added a To be added Property 2.12.0.0 Gdk.Color Sets the foreground color for a graphics context. the new foreground color. Sets the foreground color for a graphics context to the given color. The color must have been allocated for this to work. Gdk.GC my_gc = new Gdk.GC (gdk_window); // // Create the color // Gdk.Color red_color = new Gdk.Color (0xff, 0, 0); // // Allocate it // Gdk.Colormap colormap = Gdk.Colormap.System; colormap.AllocColor (ref red_color, true, true); my_gc.Foreground = red_color; // // Draw diagonal, using the GC with the red color // gdk_window.DrawLine (my_gc, 0, 0, 100, 100); Property 2.12.0.0 Gdk.Function Determines how the current pixel values and the pixel values being drawn are combined to produce the final pixel values. a function. Determines how the current pixel values and the pixel values being drawn are combined to produce the final pixel values. Method 2.12.0.0 System.Void the structure in which to store the results. Retrieves the current values from a graphics context. Retrieves the current values from a graphics context. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 System.Void amount by which to offset the GC in the X direction amount by which to offset the GC in the Y direction Set the x and y offsets on the Gdk.GC Offset attributes such as the clip and tile-stipple origins of the GC so that drawing at x - x_offset, y - y_offset with the offset GC has the same effect as drawing at x, y with the original GC. Method 2.12.0.0 System.Obsolete Gdk.GC To be added a To be added Property 2.12.0.0 Gdk.Color Set the background color of a GC using an unallocated color. a Gdk.Color Set the background color of a GC using an unallocated color. The pixel value for the color will be determined using GdkRGB. If the colormap for the GC has not previously been initialized for GdkRGB, then for pseudo-color colormaps (colormaps with a small modifiable number of colors), a colorcube will be allocated in the colormap. Calling this function for a GC without a colormap is an error. Property 2.12.0.0 Gdk.Color Set the foreground color of a GC using an unallocated color. an object of type 'Gdk.Color' Set the foreground color of a GC using an unallocated color. The pixel value for the color will be determined using GdkRGB. If the colormap for the GC has not previously been initialized for GdkRGB, then for pseudo-color colormaps (colormaps with a small modifiable number of colors), a colorcube will be allocated in the colormap. Calling this function for a GC without a colormap is an error. Property 2.12.0.0 Gdk.Screen To be added a To be added Method 2.12.0.0 System.Void the x-coordinate of the origin. the y-coordinate of the origin. Sets the origin of the clip mask. Sets the origin of the clip mask. The coordinates are interpreted relative to the upper-left corner of the destination drawable of the current operation. Method 2.12.0.0 System.Void the dash offset. an array of dash lengths. the number of elemenst in dash_list. Sets the way dashed-lines are drawn. Sets the way dashed-lines are drawn. Lines will be drawn with alternating on and off segments of the lengths specified in dash_list. The manner in which the on and off segments are drawn is determined by the line_style value of the GC. (This can be changed with Gdk.GC.SetLineAttributes()) Method 2.12.0.0 System.Void the width of lines. the dash-style for lines. the manner in which the ends of lines are drawn. the way in which lines are joined together. Sets various attributes of how lines are drawn. Sets various attributes of how lines are drawn. See the corresponding members of Gdk.GC.Values for full explanations of the arguments. Method 2.12.0.0 System.Void the x-coordinate of the origin. the y-coordinate of the origin. Set the origin when using tiles or stipples with the GC. Set the origin when using tiles or stipples with the GC. The tile or stipple will be aligned such that the upper left corner of the tile or stipple will coincide with this point. Method 2.12.0.0 System.Void struct containing the new values mask indicating which struct fields are to be used Sets attributes of a graphics context in bulk. Sets attributes of a graphics context in bulk. For each flag set in values_mask, the corresponding field will be read from values and set as the new value for gc. If you're only setting a few values on gc, calling individual "setter" functions is likely more convenient. Property 2.12.0.0 Gdk.Pixmap Set the stipple bitmap for a graphics context. the new stipple bitmap. Set the stipple bitmap for a graphics context. The stipple will only be used if the fill mode is or . Property 2.12.0.0 Gdk.SubwindowMode Sets how drawing with this GC on a window will affect child windows of that window. the subwindow mode. Sets how drawing with this GC on a window will affect child windows of that window. Property 2.12.0.0 Gdk.Pixmap Set a tile pixmap for a graphics context. an object of type 'Gdk.Pixmap' Set a tile pixmap for a graphics context. This will only be used if the fill mode is GDK_TILED. Method 2.12.0.0 System.Obsolete System.Void To be added To be added gtk-sharp-2.12.40/doc/en/Gdk/EventType.xml0000664000175000017500000005754112767740535015060 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.EventTypeGType)) Specifies the type of the event. Do not confuse these events with the signals that GTK+ widgets emit. Although many of these events result in corresponding signals being emitted, the events are often transformed or filtered along the way. Field 2.12.0.0 Gdk.EventType A mouse button has been pressed. Field 2.12.0.0 Gdk.EventType A mouse button has been released. Field 2.12.0.0 Gdk.EventType A message has been received from another application. Field 2.12.0.0 Gdk.EventType The size, position or stacking order of the window has changed. Note that GTK+ discards these events for Gdk.WindowType.Child windows. Field 2.12.0.0 Gdk.EventType The window manager has requested that the toplevel window be hidden or destroyed, usually when the user clicks on a special icon in the title bar. Field 2.12.0.0 Gdk.EventType The window has been destroyed. Field 2.12.0.0 Gdk.EventType The mouse has entered the window while a drag is in progress. Field 2.12.0.0 Gdk.EventType The mouse has left the window while a drag is in progress. Field 2.12.0.0 Gdk.EventType The mouse has moved in the window while a drag is in progress. Field 2.12.0.0 Gdk.EventType The status of the drag operation initiated by the window has changed. Field 2.12.0.0 Gdk.EventType The drop operation initiated by the window has completed. Field 2.12.0.0 Gdk.EventType A drop operation onto the window has started. Field 2.12.0.0 Gdk.EventType The pointer has entered the window. Field 2.12.0.0 Gdk.EventType All or part of the window has become visible and needs to be redrawn. Field 2.12.0.0 Gdk.EventType The keyboard focus has entered or left the window. Field 2.12.0.0 Gdk.EventType A pointer or keyboard grab was broken. Field 2.12.0.0 Gdk.EventType A key has been pressed. Field 2.12.0.0 Gdk.EventType A key has been released. Field 2.12.0.0 Gdk.EventType The pointer has left the window. Field 2.12.0.0 Gdk.EventType The window has been mapped. Field 2.12.0.0 Gdk.EventType The pointer (usually a mouse) has moved. Field 2.12.0.0 Gdk.EventType Indicates that the source region was completely available when parts of a drawable were copied. This is not very useful. Field 2.12.0.0 Gdk.EventType A special code to indicate a null event. Field 2.12.0.0 Gdk.EventType The owner of the selection has changed. Field 2.12.0.0 Gdk.EventType A property on the window has been changed or deleted. Field 2.12.0.0 Gdk.EventType An input device has moved into contact with a sensing surface (e.g. a touchscreen or graphics tablet). Field 2.12.0.0 Gdk.EventType An input device has moved out of contact with a sensing surface. Field 2.12.0.0 Gdk.EventType The scroll wheel was turned. Field 2.12.0.0 Gdk.EventType The application has lost ownership of a selection. Field 2.12.0.0 Gdk.EventType A selection has been received. Field 2.12.0.0 Gdk.EventType Another application has requested a selection. Field 2.12.0.0 Gdk.EventType A setting has been modified. Field 2.12.0.0 Gdk.EventType A mouse button has been clicked 3 times in a short period of time. Note that each click also generates a ButtonPress event. Field 2.12.0.0 Gdk.EventType A mouse button has been double-clicked (clicked twice within a short period of time). Note that each click also generates a ButtonPress event. Field 2.12.0.0 Gdk.EventType The window has been unmapped. Field 2.12.0.0 Gdk.EventType The window visibility status has changed. Field 2.12.0.0 Gdk.EventType The state of a window has changed. See for the possible window states gtk-sharp-2.12.40/doc/en/Gdk/InputSource.xml0000664000175000017500000000651712767740535015412 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.InputSourceGType)) Describes the type of input device None. Field 2.12.0.0 Gdk.InputSource Device is a graphics tablet 'puck' or something similar. None Field 2.12.0.0 Gdk.InputSource Device is an 'eraser', usually the opposite end of the stylus. None Field 2.12.0.0 Gdk.InputSource Device is a mouse. None Field 2.12.0.0 Gdk.InputSource Device is a stylus for a graphics tablet or similar device. None gtk-sharp-2.12.40/doc/en/Gdk/Colormap.xml0000664000175000017500000003743012767740535014704 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object A structure that contains different colors. None. Constructor 2.12.0.0 System.Obsolete a Internal constructor This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 A if true, the newly created colormap will be a private colormap, and all colors in it will be allocated for the applications use. Creates a new colormap for the given visual. None. Method 2.12.0.0 System.Boolean The color to allocate. On return the pixel field will be filled in if allocation succeeds. If true, the color is allocated writeable (their values can later be changed using ). Writeable colors cannot be shared between applications. If true, GDK will attempt to do matching against existing colors if the color cannot be allocated as requested. Allocates a single color from a colormap. True if the allocation succeeded. None. Method 2.12.0.0 System.Int32 The color values to allocate. On return, the pixel values for allocated colors will be filled in. The number of colors in colors. If true, the colors are allocated writeable (their values can later be changed using ). Writeable colors cannot be shared between applications. If true, GDK will attempt to do matching against existing colors if the colors cannot be allocated as requested. An array of length ncolors. On return, this indicates whether the corresponding color in colors was sucessfully allocated or not. Allocates colors from a colormap. The number of colors that were not successfully allocated. None. Method 2.12.0.0 System.Obsolete System.Void a To be added To be added Method 2.12.0.0 System.Void The colors to free. The number of colors in colors. Frees previously allocated colors. None. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 System.Void Pixel value in hardware display format. with red, green, blue fields initialized. Locates the RGB color in the colormap corresponding to the given hardware pixel. Pixel must be a valid pixel in the colormap; it's a programmer error to call his function with a pixel which is not in the colormap. Hardware pixels are normally obtained from , or from a . (A contains image data in hardware format, a contains image data in a canonical 24-bit RGB format.) Method 2.12.0.0 System.Obsolete Gdk.Colormap To be added a To be added Property 2.12.0.0 Gdk.Screen Gets the screen for which this colormap was created. The screen for which this colormap was created. None. Property 2.12.0.0 System.Int32 The size of the The size of the Property 2.12.0.0 Gdk.Colormap Gets the system's default colormap for the default screen. The system's default colormap for the default screen. None. Property 2.12.0.0 System.Obsolete System.Int32 To be added a To be added Method 2.12.0.0 System.Obsolete System.Void To be added To be added Property 2.12.0.0 Gdk.Visual Returns the visual for which a given colormap was created. The of the colormap. None. gtk-sharp-2.12.40/doc/en/Gdk/Size.xml0000664000175000017500000002772012767740535014043 00000000000000 gdk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType A value type representing a height and width. The operators are also overridden so that plus (+) yields a new Size with widths and heights summed. minus (-) is imiplemented similarly. != and == are also implemented to check height and width values. Constructor 2.12.0.0 a Constructor based on . Initial height and width taken to be point.X and point.Y Constructor 2.12.0.0 a a Constructor with initial values for height and width. Field 2.12.0.0 Gdk.Size A static readonly Size Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. Property 2.12.0.0 System.Int32 Get/set the height value a Property 2.12.0.0 System.Boolean Checks if height and width == 0 a Method 2.12.0.0 Gdk.Size To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Gdk.Point To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 Gdk.Size To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 System.Int32 Gets/sets the width value a gtk-sharp-2.12.40/doc/en/Gdk/Gravity.xml0000664000175000017500000001577312767740535014563 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.GravityGType)) Defines the reference point of a window and the meaning of coordinates passed to . See Field 2.12.0.0 Gdk.Gravity The reference point is at the center of the window. Field 2.12.0.0 Gdk.Gravity The reference point is at the middle of the right edge. Field 2.12.0.0 Gdk.Gravity The reference point is in the middle of the top edge. Field 2.12.0.0 Gdk.Gravity The reference point is at the top right corner. Field 2.12.0.0 Gdk.Gravity The reference point is at the top left corner. Field 2.12.0.0 Gdk.Gravity The reference point is at the middle of the lower edge. Field 2.12.0.0 Gdk.Gravity The reference point is at the lower right corner. Field 2.12.0.0 Gdk.Gravity The reference point is at the lower left corner. Field 2.12.0.0 Gdk.Gravity The reference point is at the top left corner of the window itself, ignoring window manager decorations. Field 2.12.0.0 Gdk.Gravity The reference point is at the middle of the left edge. gtk-sharp-2.12.40/doc/en/Gdk/PropMode.xml0000664000175000017500000000532212767740535014650 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.PropModeGType)) Describes how existing data is combined with new data. None. Field 2.12.0.0 Gdk.PropMode The new data is appended to the existing data. Field 2.12.0.0 Gdk.PropMode The new data is prepended to the existing data. Field 2.12.0.0 Gdk.PropMode The new data replaces the existing data. gtk-sharp-2.12.40/doc/en/Gdk/OwnerChange.xml0000664000175000017500000000624312767740535015326 00000000000000 gdk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.OwnerChangeGType)) To be added To be added Field 2.12.0.0 Gdk.OwnerChange To be added To be added Field 2.12.0.0 Gdk.OwnerChange To be added To be added Field 2.12.0.0 Gdk.OwnerChange To be added To be added gtk-sharp-2.12.40/doc/en/Gdk/Drawable.xml0000664000175000017500000021062512767740535014650 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Functions for drawing points, lines, arcs, and text. To be added Constructor 2.12.0.0 This is a constructor used by derivative types of Drawable. This is not typically used by C# code. Constructor 2.12.0.0 System.Obsolete a Internal constructor This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 Gdk.Region Computes the region of a drawable that potentially can be written to by drawing primitives. A . You must call when done. Computes the region of a drawable that potentially can be written to by drawing primitives. This region will not take into account the clip region for the GC, and may also not take into account other factors such as if the window is obscured by other windows, but no area outside of this region will be affected by drawing primitives. You must call the Destroy method on the returned region when done. Property 2.12.0.0 Gdk.Colormap The color map for this Drawable. The current on the Drawable. You only need to set the color map if the drawable-creating function did not have a way to determine the colormap, and you then use drawable operations that require a colormap. The colormap for all drawables and graphics contexts you intend to use together should match. i.e. when using a #GdkGC to draw to a drawable, or copying one drawable to another, the colormaps should match. Method 2.12.0.0 Gdk.Image a a a a a a a Copies a portion of drawable into the client side image structure image. a To be added Property 2.12.0.0 System.Int32 Obtains the bit depth of the drawable. The bit depth. Obtains the bit depth of the drawable, that is, the number of bits that make up a pixel in the drawable's visual. Examples are 8 bits per pixel, 24 bits per pixel, etc. Property 2.12.0.0 Gdk.Display Gets the associated with the . The . Method 2.12.0.0 System.Void a true if the arc should be filled, producing a 'pie slice'. The x-coordinate of the upper left hand of the bounding box of the arc. The y-coordinate of the upper left hand of the bounding box of the arc. the width of the bounding rectangle. the height of the bounding rectangle. The starting angle of the arc in the clockwise direction in reference to the 3'oclock position in terms of 1/64th of a degree. The number of 1/64ths of a degree to sweep the arc in a clockwise direction relative to the starting angle. Draws an arc or a filled 'pie slice'. The arc is defined by the bounding rectangle of the entire ellipse, and the start and end angles of the part of the ellipse to be drawn. Draw the left side of a circle with a radius of 5 units. Gdk.Pixmap.DrawArc(gc, false, 0, 0, 10, 10, 90 * 64, 180 * 64); Method 2.12.0.0 System.Void A A , the source Drawable. A A A A A A Draws a portion of a drawable into another. Copies the x region of at coordinates (, ) to coordinates (, ) in . and/or may be given as -1, in which case the entire drawable will be copied. Most fields in are not used for this operation, but notably the clip mask or clip region will be honored. The source and destination drawables must have the same visual and colormap, or errors will result. (On X11, failure to match visual/colormap results in a BadMatch error from the X server.) A common cause of this problem is an attempt to draw a bitmap to a color drawable. The way to draw a bitmap is to set the bitmap as a clip mask on your #GdkGC, then use to draw a rectangle clipped to the bitmap. Method 2.12.0.0 System.Void A A A A A Low-level glyph drawing function. This is a low-level function; 99% of text rendering should be done using instead. A glyph is a character in a font. This function draws a sequence of glyphs. To obtain a sequence of glyphs you have to understand a lot about internationalized text handling, which you don't want to understand; thus, use instead of this function, handles the details. Method 2.12.0.0 System.Void a a a a a a To be added To be added Method 2.12.0.0 System.Void a a a a a a a a To be added Method 2.12.0.0 System.Void A A A A A A A A Draws a onto a drawable. The depth of the must match the depth of the . Method 2.12.0.0 System.Void a a a a a a a a a To be added Method 2.12.0.0 System.Void The base to use. the X position of the left of the layout (in pixels) the Y position of the top of the layout (in pixels) A Render a onto a If the layout's PangoContext has a transformation matrix set, then x and y specify the position of the top left corner of the bounding box (in device space) of the transformed layout. If you are using Gtk, the usual way to obtain a is . Method 2.12.0.0 System.Void A , the graphics context to use A , the X position of the start of string (in pixels) A , the Y position of the baseline (in pixels) A Render a onto the Drawable object. Method 2.12.0.0 System.Void A , the graphics context to use the X position of the start of string (in pixels) the Y position of the baseline (in pixels) To be added. the foreground color the background color Render a onto the Drawable object, overriding the layout's normal colors. Render a onto the Drawable object, overriding the layout's normal colors with and/or . and need not be allocated. Method 2.12.0.0 System.Void A , the graphics context to use the X position of the left of the layout (in pixels) the Y position of the top of the layout (in pixels) the layout to render the foreground color the background color Render a onto the Drawable object with the specified colors. Render a onto the Drawable object, overriding the layout's normal colors with and/or . and need not be allocated. Method 2.12.0.0 System.Void a a a a a Draws a line, using the foreground color and other attributes of the Method 2.12.0.0 System.Void a a Draws a series of lines connecting the given points. The way in which joins between lines are draw is determined by the value in the . This can be set with property. Method 2.12.0.0 System.Void A used for clipping. The to render Source X coordinate within pixbuf. Source Y coordinates within pixbuf. Destination X coordinate within drawable. Destination Y coordinate within drawable. Width of region to render, in pixels, or -1 to use pixbuf width. Height of region to render, in pixels, or -1 to use pixbuf height. Dithering mode for GdkRGB. X offset for dither. Y offset for dither. Renders a rectangular portion of a to a The destination drawable must have a colormap. All windows have a colormap, however, pixmaps only have colormap by default if they were created with a non-NULL window argument. Otherwise a colormap must be set on them on the property. On older X servers, rendering pixbufs with an alpha channel involves round trips to the X server, and may be somewhat slow. The clip mask of gc is ignored, but clip rectangles and clip regions work fine. Method 2.12.0.0 System.Void A A A Draws a point at (,). Method 2.12.0.0 System.Void A An array of objects. Draws a number of points using the given graphics context. Method 2.12.0.0 System.Void a a a Draws a Polygon connecting a set of points. Method 2.12.0.0 System.Obsolete System.Void a a a Draws a Polygon connecting a set of points. This method is obsolete. Use the overload which takes a for Method 2.12.0.0 System.Void a a a Draws a rectangular outline or filled rectangle, using the foreground color and other attributes of the . A rectangle drawn filled is 1 pixel smaller in both dimensions than a rectangle outlined. Calling Gdk.DrawRectangle (window, gc, TRUE, 0, 0, 20, 20) results in a filled rectangle 20 pixels wide and 20 pixels high. Calling Gdk.DrawRectangle (window, gc, FALSE, 0, 0, 20, 20) results in an outlined rectangle with corners at (0, 0), (0, 20), (20, 20), and (20, 0), which makes it 21 pixels wide and 21 pixels high. Method 2.12.0.0 System.Void a a a a a a Draws a rectangular outline or filled rectangle, using the foreground color and other attributes of the . A rectangle drawn filled is 1 pixel smaller in both dimensions than a rectangle outlined. Calling Gdk.DrawRectangle (window, gc, TRUE, 0, 0, 20, 20) results in a filled rectangle 20 pixels wide and 20 pixels high. Calling Gdk.DrawRectangle (window, gc, FALSE, 0, 0, 20, 20) results in an outlined rectangle with corners at (0, 0), (0, 20), (20, 20), and (20, 0), which makes it 21 pixels wide and 21 pixels high. Method 2.12.0.0 System.Void a a a a a a a a To be added Method 2.12.0.0 System.Void a a a a a a a a a a To be added Method 2.12.0.0 System.Void a a a a a a a a To be added Method 2.12.0.0 System.Void a a a a a a a a a a To be added Method 2.12.0.0 System.Void A A , a list of segments to draw. A , the number of segments. Draws a number of unconnected lines. TODO: Drawable.custom needs to be edited to make segs an array of Gdk.Segment objects. Method 2.12.0.0 System.Obsolete System.Void a a a a a Deprecated: use instead. To be added Method 2.12.0.0 System.Obsolete System.Void a a a a a Deprecated: use instead. Deprecated. Method 2.12.0.0 System.Obsolete System.UInt32 a a a a a Deprecated: draws a numbre of wide-char characters a Use instead. Method 2.12.0.0 System.Void a a a To be added To be added Method 2.12.0.0 System.Obsolete System.IntPtr a This method is deprecated, do not use. a To be added Method 2.12.0.0 Gdk.Image A , X coordinate of the upper left corner of the region to get as a drawable A , Y coordinate of the upper left corner of the region to get as a drawable. A , width of the rectangle A , height of the rectangle. Returns a client-side representing the server-side . A containing the contents of this Drawable object. A stores client-side image data (pixels). In contrast, and are server-side objects. This method obtains the pixels from a server-side drawable as a client-side . The format of a depends on the of the current display, which makes manipulating extremely difficult; therefore, in most cases you should use instead of this lower-level function. A contains image data in a canonicalized RGB format, rather than a display-dependent format. Of course, there's a convenience vs. speed tradeoff here, so you'll want to think about what makes sense for your application. , , , and define the region of the drawable to obtain as an image. You would usually copy image data to the client side if you intend to examine the values of individual pixels, for example to darken an image or add a red tint. It would be prohibitively slow to make a round-trip request to the windowing system for each pixel, so instead you get all of them at once, modify them, then copy them all back at once. If the X server or other windowing system backend is on the local machine, this function may use shared memory to avoid copying the image data. If the source drawable is a #GdkWindow and partially offscreen or obscured, then the obscured portions of the returned image will contain undefined data. Method 2.12.0.0 System.Void A A Fills and with the size of the Drawable. or can be if you only want the other one. On the X11 platform, if this Drawable object is also a , the returned size is the size reported in the most-recently-processed configure event, rather than the current size on the X server. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 System.Obsolete Gdk.Drawable To be added a To be added Property 2.12.0.0 Gdk.Screen Gets the associated with a a Method 2.12.0.0 System.Obsolete System.Void a a a This method is deprecated and should not be used with new code. This method is deprecated and should not be used in newly-written code. Method 2.12.0.0 System.Obsolete System.Void To be added To be added Property 2.12.0.0 Gdk.Region Computes the region of a drawable that is potentially visible. A This does not necessarily take into account if the window is obscured by other windows, but no area outside of this region is visible. You must call when done. Property 2.12.0.0 Gdk.Visual Gets the describing the pixel format of drawable. A gtk-sharp-2.12.40/doc/en/Gdk/Colorspace.xml0000664000175000017500000000273412767740535015221 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.ColorspaceGType)) To be added To be added Field 2.12.0.0 Gdk.Colorspace To be added gtk-sharp-2.12.40/doc/en/Gdk/PixbufFrameAction.xml0000664000175000017500000000502512767740535016471 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum To be added To be added Field 2.12.0.0 Gdk.PixbufFrameAction To be added Field 2.12.0.0 Gdk.PixbufFrameAction To be added Field 2.12.0.0 Gdk.PixbufFrameAction To be added gtk-sharp-2.12.40/doc/en/Gdk/WindowEdge.xml0000664000175000017500000001251712767740535015163 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.WindowEdgeGType)) Determines a window edge or corner. Field 2.12.0.0 Gdk.WindowEdge The right edge. Field 2.12.0.0 Gdk.WindowEdge The top edge. Field 2.12.0.0 Gdk.WindowEdge The top right corner. Field 2.12.0.0 Gdk.WindowEdge The top left corner. Field 2.12.0.0 Gdk.WindowEdge The lower edge. added Field 2.12.0.0 Gdk.WindowEdge The lower right corner. Field 2.12.0.0 Gdk.WindowEdge The lower left corner. Field 2.12.0.0 Gdk.WindowEdge The left edge. gtk-sharp-2.12.40/doc/en/Gdk/CairoHelper.xml0000664000175000017500000001652412767740535015326 00000000000000 gdk-sharp 2.12.0.0 System.Object Cairo backend API methods. Constructor 2.12.0.0 Do not use. Method 2.12.0.0 Cairo.Context a Gdk drawable. Creates a cairo context for a drawable. the cairo context. Method 2.12.0.0 System.Void a cairo context. a . Adds a rectangle to the current path of the context. Method 2.12.0.0 System.Void a cairo context. a . Adds a region to the current path of the context. Method 2.12.0.0 System.Void a cairo context. a color. Sets the source color for the Cairo context. Method 2.12.0.0 System.Void a cairo context. a pixbuf containing a pattern. x location in context of upper left corner of pixbuf. y location in context of upper left corner of pixbuf.. Sets the source pattern for a Cairo context. Method 2.12.0.0 System.Void A cairo context. The desired source pixmap. x offset for . y offset for . Sets the source pixmap for a context. The pattern has an extend mode of None and is aligned so the origin of is at the speficied offset. gtk-sharp-2.12.40/doc/en/Gdk/PangoRenderer.xml0000664000175000017500000002206012767740535015654 00000000000000 gdk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Pango.Renderer To be added To be added Constructor 2.12.0.0 a To be added To be added Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 a Internal constructor This is not typically used by C# code. Property 2.12.0.0 Gdk.Drawable To be added a To be added Property 2.12.0.0 Gdk.GC To be added a To be added Method 2.12.0.0 Gdk.PangoRenderer a To be added a To be added Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("screen") Gdk.Screen To be added a To be added Method 2.12.0.0 System.Void a a To be added To be added Method 2.12.0.0 System.Void a a To be added To be added gtk-sharp-2.12.40/doc/en/Gdk/PropertyState.xml0000664000175000017500000000425012767740535015747 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.PropertyStateGType)) Specifies the type of a property change for a . None. Field 2.12.0.0 Gdk.PropertyState The property value was deleted. Field 2.12.0.0 Gdk.PropertyState The property value was changed. gtk-sharp-2.12.40/doc/en/Gdk/KeymapKey.xml0000664000175000017500000000754012767740535015026 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 System.UInt32 To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Method 2.12.0.0 Gdk.KeymapKey To be added: an object of type 'IntPtr' To be added To be added: an object of type 'Gdk.KeymapKey' To be added Field 2.12.0.0 Gdk.KeymapKey To be added To be added gtk-sharp-2.12.40/doc/en/Gdk/CapStyle.xml0000664000175000017500000000703512767740535014652 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.CapStyleGType)) Determines how the end of lines are drawn. None. Field 2.12.0.0 Gdk.CapStyle The ends of the lines are drawn squared off and extending to the coordinates of the end point. Field 2.12.0.0 Gdk.CapStyle The same as Butt for lines of non-zero width. For zero width lines, the final point on the line will not be drawn. Field 2.12.0.0 Gdk.CapStyle The ends of the lines are drawn squared off and extending half the width of the line beyond the end point. Field 2.12.0.0 Gdk.CapStyle The ends of the lines are drawn as semicircles with the diameter equal to the line width and centered at the end point. gtk-sharp-2.12.40/doc/en/Gdk/Input.xml0000664000175000017500000001534312767740535014226 00000000000000 gdk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added To be added Constructor 2.12.0.0 To be added To be added Method 2.12.0.0 System.Obsolete System.Int32 a a a To be added a To be added Method 2.12.0.0 System.Obsolete System.Int32 a a a a a To be added a To be added Method 2.12.0.0 System.Obsolete System.Void a To be added To be added Method 2.12.0.0 System.Void a a a To be added To be added gtk-sharp-2.12.40/doc/en/Gdk/InputMode.xml0000664000175000017500000000571112767740535015031 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.InputModeGType)) An enumeration that describes the mode of an input device. None. Field 2.12.0.0 Gdk.InputMode The device is disabled and will not report any events. Field 2.12.0.0 Gdk.InputMode The device is enabled. The device's coordinate space maps to the entire screen. Field 2.12.0.0 Gdk.InputMode The device is enabled. The device's coordinate space is mapped to a single window. The manner in which this window is chosen is undefined, but it will typically be the same way in which the focus window for key events is determined. gtk-sharp-2.12.40/doc/en/Gdk/EventMask.xml0000664000175000017500000003524012767740535015022 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.EventMaskGType)) System.Flags A set of bit-flags to indicate which events a window is to receive. Most of these masks map onto one or more of the event types above. To be added Field 2.12.0.0 Gdk.EventMask The combination of all the above event masks. Field 2.12.0.0 Gdk.EventMask Receive pointer motion events while 1 button is pressed. Field 2.12.0.0 Gdk.EventMask Receive pointer motion events while 2 button is pressed. Field 2.12.0.0 Gdk.EventMask Receive pointer motion events while 3 button is pressed. Field 2.12.0.0 Gdk.EventMask Receive pointer motion events while any button is pressed. Field 2.12.0.0 Gdk.EventMask Receive button press events. Field 2.12.0.0 Gdk.EventMask Receive button release events. Field 2.12.0.0 Gdk.EventMask Receive window enter events. Field 2.12.0.0 Gdk.EventMask Receive expose events. Field 2.12.0.0 Gdk.EventMask Receive focus change events. Field 2.12.0.0 Gdk.EventMask Receive key press events. Field 2.12.0.0 Gdk.EventMask Receive key release events. Field 2.12.0.0 Gdk.EventMask Receive window leave events. Field 2.12.0.0 Gdk.EventMask Special mask which is used to reduce the number of .MotionNotify events received Field 2.12.0.0 Gdk.EventMask Receive all pointer motion events. Field 2.12.0.0 Gdk.EventMask Receive property change events. Field 2.12.0.0 Gdk.EventMask Receive proximity in events. Field 2.12.0.0 Gdk.EventMask Receive proximity out events. Field 2.12.0.0 Gdk.EventMask Receive scroll events. Field 2.12.0.0 Gdk.EventMask Receive events about window configuration change. Field 2.12.0.0 Gdk.EventMask Receive events about window configuration changes of child windows. Field 2.12.0.0 Gdk.EventMask Receive visibility change events. gtk-sharp-2.12.40/doc/en/Gdk/EventExpose.xml0000664000175000017500000000735412767740535015377 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gdk.Event Generated when all or part of a window becomes visible and needs to be redrawn. Constructor 2.12.0.0 raw unmanaged pointer. Internal constructor. None. Property 2.12.0.0 Gdk.Rectangle The bounding box of the The bounding box of the None. Property 2.12.0.0 System.Int32 The number of contiguous Expose Events following this one. The number of contiguous Expose Events following this one. The only use for this is "exposure compression", i.e. handling all contiguous Expose events in one go, though GDK performs some exposure compression so this is not normally needed Property 2.12.0.0 Gdk.Region The region that needs to be redrawn. The that needs to be redrawn. None. gtk-sharp-2.12.40/doc/en/Gdk/PixbufFormat.xml0000664000175000017500000001627212767740535015537 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque Represents a possible format for a . Mostly for internal use. Constructor 2.12.0.0 a , pointer to the underlying C data structure. Basic constructor. Property 2.12.0.0 System.String A description of the format. a Property 2.12.0.0 System.Boolean To be added a To be added Property 2.12.0.0 System.String[] The filename extensions typically used for files in the given format. a Property 2.12.0.0 System.Boolean To be added a To be added Property 2.12.0.0 System.Boolean To be added a To be added Property 2.12.0.0 System.Boolean Whether pixbufs can be saved in the given format. a Property 2.12.0.0 System.String To be added a To be added Property 2.12.0.0 System.String[] The MIME types supported by the format. a Property 2.12.0.0 System.String The name of the format. a gtk-sharp-2.12.40/doc/en/Gdk/EventWindowState.xml0000664000175000017500000000560212767740535016376 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gdk.Event Generated when the state of a toplevel window changes. Constructor 2.12.0.0 raw unmanaged pointer. Internal constructor. None. Property 2.12.0.0 Gdk.WindowState Mask specifying what flags have changed. Mask specifying what flags have changed. None. Property 2.12.0.0 Gdk.WindowState The new window state. The new window state. None. gtk-sharp-2.12.40/doc/en/Gdk/PixbufAniAnim.xml0000664000175000017500000000746112767740535015623 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gdk.PixbufAnimation Represents an ANI format animation internally. Do not use. Constructor 2.12.0.0 Protected constructor. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 a , pointer to underlying C data Constructor for use by internal code. Do not use. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gdk/WindowAttributesType.xml0000664000175000017500000001542612767740535017311 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.WindowAttributesTypeGType)) System.Flags Used to indicate which fields in the struct should be honored. For example, if you filled in the "cursor" and "x" fields of , pass Gdk.WindowAttributesType.X | Gdk.WindowAttributesType.Cursor to new Gdk.Window (). Fields in not covered by a bit in this enum are required; for example, the width/height, wclass, and window_type fields are required. Field 2.12.0.0 Gdk.WindowAttributesType Honor the colormap field. Field 2.12.0.0 Gdk.WindowAttributesType Honor the cursor field. Field 2.12.0.0 Gdk.WindowAttributesType Honor the override_redirect field. Field 2.12.0.0 Gdk.WindowAttributesType Honor the title field. Field 2.12.0.0 Gdk.WindowAttributesType Honor the TypeHint field. Field 2.12.0.0 Gdk.WindowAttributesType Honor the visual field. Field 2.12.0.0 Gdk.WindowAttributesType Honor the wmclass_class and wmclass_name fields. Field 2.12.0.0 Gdk.WindowAttributesType Honor the x coordinate field. Field 2.12.0.0 Gdk.WindowAttributesType Honor the y coordinate field. gtk-sharp-2.12.40/doc/en/Gdk/ScrollDirection.xml0000664000175000017500000000645412767740535016231 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.ScrollDirectionGType)) Specifies the direction for the . None. Field 2.12.0.0 Gdk.ScrollDirection The window is scrolled down. Field 2.12.0.0 Gdk.ScrollDirection The window is scrolled left. Field 2.12.0.0 Gdk.ScrollDirection The window is scrolled right. Field 2.12.0.0 Gdk.ScrollDirection The window is scrolled up. gtk-sharp-2.12.40/doc/en/Gdk/PixbufAlphaMode.xml0000664000175000017500000000406612767740535016137 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.PixbufAlphaModeGType)) Do not use. Field 2.12.0.0 Gdk.PixbufAlphaMode Do not use. Field 2.12.0.0 Gdk.PixbufAlphaMode Do not use. gtk-sharp-2.12.40/doc/en/Gdk/DisplayPointerHooks.xml0000664000175000017500000000446012767740535017077 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Method 2.12.0.0 Gdk.DisplayPointerHooks a To be added a To be added Field 2.12.0.0 Gdk.DisplayPointerHooks To be added To be added gtk-sharp-2.12.40/doc/en/Gdk/FontType.xml0000664000175000017500000000477612767740535014707 00000000000000 gdk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.FontTypeGType)) To be added To be added Field 2.12.0.0 Gdk.FontType Font Field 2.12.0.0 Gdk.FontType Fontset gtk-sharp-2.12.40/doc/en/Gdk/JoinStyle.xml0000664000175000017500000000543312767740535015046 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.JoinStyleGType)) Determines how the joins between segments of a polygon are drawn. None. Field 2.12.0.0 Gdk.JoinStyle The sides of the two lines are joined by a straight line which makes an equal angle with each line. None. Field 2.12.0.0 Gdk.JoinStyle The sides of each line are extended to meet at an angle. None. Field 2.12.0.0 Gdk.JoinStyle The sides of the two lines are joined by a circular arc. None. gtk-sharp-2.12.40/doc/en/Gdk/Screen.xml0000664000175000017500000007240512767740535014350 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Object representing a physical screen. To be added Constructor 2.12.0.0 To be added To be added Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 Gdk.Window The current active window for the screen. a . Returns if there is no current active window or the window manager doesn't support the necessary properties to determine the active window. Method 2.12.0.0 System.Void a To be added To be added Event 2.12.0.0 GLib.Signal("composited_changed") System.EventHandler Raised when the composited status of the screen changes. Property 2.12.0.0 Gdk.Screen The default screen of the default display. The default . Returns null if there iss no default display. Property 2.12.0.0 Gdk.Colormap To be added a To be added Property 2.12.0.0 Gdk.Display To be added a To be added Property 2.12.0.0 GLib.Property("font-options") Cairo.FontOptions The default font options for the screen. The default . If multiple accesses to this information are needed, you may want to consider cacheing the result. The get accessor needs to use reflection to create the FontOptions instance and could possibly cause performance issues if called frequently. Method 2.12.0.0 System.Int32 A representing the x coordinate on the virtual screen. A representing the y coordinate on the virtual screen. Gets the monitor number where the point is located. A indicating the monitor where the point is located. If the point isn't in any monitor, then the nearest monitor is returned. Method 2.12.0.0 System.Int32 A whose main monitor is claimed. Gets the monitor that contains most of the given window. A indicating the required monitor. If the window does not intersect any of the monitors, then the a close one is returned. Method 2.12.0.0 Gdk.Rectangle a To be added a To be added Method 2.12.0.0 System.Boolean a a To be added a To be added Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.Int32 The height of the screen in pixels. A with the number of pixels of the screen. Property 2.12.0.0 System.Int32 The height of the screen in millimeters. A with the height of the screen in millimeters. Property 2.12.0.0 System.Boolean Indicates if compositing is supported. If compositing is supported. Indicates if RGBA visuals with an alpha value can be expected to have their alpha channel drawn properly on screen. Method 2.12.0.0 Gdk.Visual[] To be added a To be added Method 2.12.0.0 System.String To be added a To be added Property 2.12.0.0 System.Int32 To be added a Returns an of the number of monitors attached to the current . The following example will print the number of monitors in the current display to the console. Display theDisplay = Display.OpenDefaultLibgtkOnly(); Screen defaultScreen = theDisplay.DefaultScreen; int numMonitors = defaultScreen.NMonitors; Console.WriteLine("You have {0} monitors.",numMonitors); Property 2.12.0.0 System.Int32 To be added a To be added Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCompositedChanged", Type=typeof(Gdk.Screen)) System.Void Default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSizeChanged", Type=typeof(Gdk.Screen)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 2.12.0.0 GLib.Property("resolution") System.Double The resolution for fonts on the screen. the scaling factor from pango units to cairo units. The default is -1. Property 2.12.0.0 Gdk.Colormap A Colormap to use for creating Drawables with an alpha channel. a or . The windowing system may not support this capability, in which case will be returned. Even if a non- value is returned, its possible that the drawable's alpha channel won't be honored when displaying on screen: in particular, for X an appropriate windowing manager and compositing manager must be running to provide appropriate display. Property 2.12.0.0 Gdk.Visual A Visual to use for creating Drawables with an alpha channel. a or . Returns if the capability is not available. See for caveats. Property 2.12.0.0 Gdk.Colormap To be added a To be added Property 2.12.0.0 Gdk.Visual To be added a To be added Property 2.12.0.0 Gdk.Window To be added a To be added Event 2.12.0.0 GLib.Signal("size_changed") System.EventHandler To be added To be added Property 2.12.0.0 Gdk.Colormap To be added a To be added Property 2.12.0.0 Gdk.Visual To be added a To be added Property 2.12.0.0 Gdk.Window[] To be added a To be added Property 2.12.0.0 System.Int32 The width of the screen in pixels. A with the number of pixels of the screen. Property 2.12.0.0 System.Int32 The width of the screen in millimeters. A with the width of the screen in millimeters. Property 2.12.0.0 Gdk.Window[] The current window stack for the screen. an array of representing the window stack. This property depends on optional Window Manager features. If the feature is not supported, an empty array will be returned. gtk-sharp-2.12.40/doc/en/Gdk/VisualType.xml0000664000175000017500000002001512767740535015224 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.VisualTypeGType)) Describe the how pixel values are converted into RGB values for display. Visuals are a very important concept that is often overlooked. Roughly, a visual defines the memory representation that a piece of hardware uses to store the contents of an image. X supports different kinds of visuals to suit the different kinds of hardware out there. Some of this information comes from Federico Mena's excellent "X Concepts" document from http://www.nuclecu.unam.mx/~federico/docs/x-concepts. Field 2.12.0.0 Gdk.VisualType DirectColor visuals use RGB encoding, with a correction palette. TrueColor visuals store explicit RGB values for every pixel, instead of storing a single value like indexed visuals. The values in a direct color visual go through an indirection step before being sent to the display. Each of the R/G/B values you specify is an index in separate tables, and those tables contain a translated value. So an RGB triplet gets translated into an R'G'B' triplet, i.e. the three tables together define an f(r, g, b) -> (r', g', b') function. For most purposes, your tables will be filled by the identity function and you will get linearly increasing intensity values for each of the RGB channels. Things can become quite interesting, however, when you modify the tables to have a nonlinear mapping. If you fill them using an exponential function, you can do color correction on hardware Field 2.12.0.0 Gdk.VisualType Grayscale visuals are used for displays that use a single channel of color information. Black and white or grayscale monitors (including amber and green monitors) may use this type of visual. These visuals can be either static gray or grayscale. Field 2.12.0.0 Gdk.VisualType An indexed color visual, where colors can change. Pseudo color visuals are those in which you can change the actual colors that the indexes correspond to. Each index maps to an RGB triplet that defines the color that will be displayed on the screen. You can change these RGB triplets for each index. Pseudo color visuals are very common in graphics cards. Graphics cards with 256 colors that you can change, for example, VGA cards, are of the pseudo color type. Field 2.12.0.0 Gdk.VisualType An indexed color visual, where colors can not be changed. Static color visuals are those in which you cannot change the actual colors that the indexes correspond to (a static palette). Remember the old CGA cards with four fixed colors in graphics mode? These could be considered of the static color type. Field 2.12.0.0 Gdk.VisualType Static gray visuals are those in which you cannot change the gray intensities of the hardware. Plain monochrome (B/W) displays or fixed 4-gray displays may be of the static gray kind. Grayscale visuals are those in which you can change the gray intensities used by the hardware. Exotic 12-bit grayscale displays (as used for medical visualization) that let you change the gray intensities may be of the grayscale type. Field 2.12.0.0 Gdk.VisualType True color visuals use the exact RGB values you specified for a pixel TrueColor visuals store explicit RGB values for every pixel, instead of storing a single value like indexed visuals. TrueColor visuals map the RGB into the screens RGB values without any changes. There is no transformation applied to it. gtk-sharp-2.12.40/doc/en/Gdk/InterpType.xml0000664000175000017500000001040512767740535015224 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.InterpTypeGType)) Interpolation mode for scaling operations. Bilinear is the best balance in most cases. Nearest provides faster (and low quality) scaling, while Hyper is slow but high-quality. Field 2.12.0.0 Gdk.InterpType Best quality/speed balance; use this mode by default. Bilinear interpolation. For enlargement, it is equivalent to point-sampling the ideal bilinear-interpolated image. For reduction, it is equivalent to laying down small tiles and integrating over the coverage area. Field 2.12.0.0 Gdk.InterpType This is the slowest and highest quality reconstruction function. It is derived from the hyperbolic filters in Wolberg's "Digital Image Warping", and is formally defined as the hyperbolic-filter sampling the ideal hyperbolic-filter interpolated image (the filter is designed to be idempotent for 1:1 pixel mapping). Field 2.12.0.0 Gdk.InterpType Nearest neighbor sampling; this is the fastest and lowest quality mode. Quality is normally unacceptable when scaling down, but may be OK when scaling up. Field 2.12.0.0 Gdk.InterpType This is an accurate simulation of the PostScript image operator without any interpolation enabled. Each pixel is rendered as a tiny parallelogram of solid color, the edges of which are implemented with antialiasing. It resembles nearest neighbor for enlargement, and bilinear for reduction. gtk-sharp-2.12.40/doc/en/Gdk/Fontset.xml0000664000175000017500000000765612767740535014561 00000000000000 gdk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added To be added Constructor 2.12.0.0 To be added To be added Method 2.12.0.0 System.Obsolete Gdk.Font a To be added a To be added Method 2.12.0.0 System.Obsolete Gdk.Font a a To be added a To be added gtk-sharp-2.12.40/doc/en/Gdk/PixbufFrame.xml0000664000175000017500000002402512767740535015334 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added Field 2.12.0.0 Gdk.PixbufFrameAction To be added Field 2.12.0.0 System.Boolean To be added Property 2.12.0.0 System.Obsolete("Replaced by Composited property.") Gdk.Pixbuf To be added A Property 2.12.0.0 Gdk.Pixbuf To be added. To be added. To be added. Field 2.12.0.0 System.Int32 To be added Field 2.12.0.0 System.Int32 To be added Field 2.12.0.0 System.Boolean To be added Method 2.12.0.0 Gdk.PixbufFrame A To be added A Property 2.12.0.0 System.Obsolete("Replaced by Pixbuf property.") Gdk.Pixbuf To be added A Property 2.12.0.0 Gdk.Pixbuf To be added. To be added. To be added. Property 2.12.0.0 System.Obsolete("Replaced by Revert property.") Gdk.Pixbuf To be added A Property 2.12.0.0 Gdk.Pixbuf To be added. To be added. To be added. Field 2.12.0.0 System.Int32 To be added Field 2.12.0.0 System.Int32 To be added Field 2.12.0.0 Gdk.PixbufFrame To be added gtk-sharp-2.12.40/doc/en/Gdk/ByteOrder.xml0000664000175000017500000000454212767740535015025 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.ByteOrderGType)) A set of values describing the possible byte-orders for storing pixel values in memory. Field 2.12.0.0 Gdk.ByteOrder The values are stored with the least-significant byte first. For instance, the 32-bit value 0xffeecc would be stored in memory as 0xcc, 0xee, 0xff, 0x00. Field 2.12.0.0 Gdk.ByteOrder The values are stored with the most-significant byte first. For instance, the 32-bit value 0xffeecc would be stored in memory as 0x00, 0xcc, 0xee, 0xff. gtk-sharp-2.12.40/doc/en/Gdk/PixbufError.xml0000664000175000017500000001110112767740535015362 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.PixbufErrorGType)) Possible errors that can be thrown by a . Field 2.12.0.0 Gdk.PixbufError An invalid option was specified. Field 2.12.0.0 Gdk.PixbufError The image file is corrupt. Field 2.12.0.0 Gdk.PixbufError The operation failed. Field 2.12.0.0 Gdk.PixbufError There is insufficient memory to hold this pixbuf data. Field 2.12.0.0 Gdk.PixbufError The given file type is not allowed. Field 2.12.0.0 Gdk.PixbufError The given operation is not supported. gtk-sharp-2.12.40/doc/en/Gdk/Status.xml0000664000175000017500000000724112767740535014410 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.StatusGType)) To be added To be added Field 2.12.0.0 Gdk.Status To be added Field 2.12.0.0 Gdk.Status To be added Field 2.12.0.0 Gdk.Status To be added Field 2.12.0.0 Gdk.Status To be added Field 2.12.0.0 Gdk.Status To be added gtk-sharp-2.12.40/doc/en/Gdk/Rectangle.xml0000664000175000017500000010732512767740535015035 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType Represents a rectangle with x, y, width and height. Constructor 2.12.0.0 a a Creates a rectangle from a point and a size. To be added. Constructor 2.12.0.0 X value. Y value Width of the rectangle. Height of the rectangle Initializes a rectangle from the given values. Property 2.12.0.0 System.Int32 The Y coordinate of the bottom of the rectangle. a To be added. Method 2.12.0.0 System.Boolean a Does hit testing for a point a To be added. Method 2.12.0.0 System.Boolean a Tests if a rectangle is contained in this rectangle. a The rectangle must be fully enclosed for this test to return true. That is, the intersection of this and must equal . Method 2.12.0.0 System.Boolean a a Does hit testing for a point a To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 Gdk.Rectangle a a a a Creates a rectangle given the left, right, top, and bottom. a To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Field 2.12.0.0 System.Int32 The rectangle height. Method 2.12.0.0 System.Void a Inflates this rectangle by a given size. To be added. Method 2.12.0.0 Gdk.Rectangle a A change in size. Changes the size of each side of the rectangle by the specified amount. a The rectangle's center is the same as the center of . Method 2.12.0.0 System.Void a a Inflates this rectangle by a given size. To be added. Method 2.12.0.0 Gdk.Rectangle a Change in the X size Change in the Y size Changes the size of each side of the rectangle by the specified amount. a The rectangle's center is the same as the center of . Method 2.12.0.0 System.Void a Modifies this rectangle to be the intersection with another rectangle To be added. Method 2.12.0.0 Gdk.Rectangle a a Gets the largest rectangle (if any) which is contained by both parameters. a To be added. Method 2.12.0.0 System.Boolean a a representing the intersection of this and the src2 Obtains the intersection of a this and another. Returns true if the two objects intersect. The result is the rectangular region occupied by both source rectanlges. Method 2.12.0.0 System.Boolean a Tests if there is any overlap of this rectangle and another a To be added. Property 2.12.0.0 System.Boolean Gets if the area of the rectangle is zero a This will return true if either the height or the width is zero. Property 2.12.0.0 System.Int32 The X coordinate of the left of the rectangle. a To be added. Property 2.12.0.0 Gdk.Point Gets the point represented by (X, Y) a To be added. Method 2.12.0.0 Gdk.Rectangle An , the underlying unmanaged C object. Makes a new rectangle. A Not for general developer use. Method 2.12.0.0 System.Void a Offsets this rectangle by the vector dr To be added Method 2.12.0.0 Gdk.Rectangle a a Returns a rectangle shifted by the vector dr a To be added. Method 2.12.0.0 System.Void a a Offsets this rectangle by (dx,dy) To be added. Method 2.12.0.0 Gdk.Rectangle a a a Returns the rectangle shifted by (dx,dy) a To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 GLib.Value To be added. To be added. To be added. To be added. Method 2.12.0.0 Gdk.Rectangle To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Int32 The X coordinate of the right of the rectangle. a To be added. Property 2.12.0.0 Gdk.Size Gets the size represented by (Width, Height) a To be added. Property 2.12.0.0 System.Int32 The Y coordinate of the top of the rectangle. a To be added. Method 2.12.0.0 System.String To be added. To be added. To be added. Method 2.12.0.0 Gdk.Rectangle a Obtains the union of a this and another. a representing the union of the two objects. The result is the smallest that contains both objects within its boundaries. Method 2.12.0.0 Gdk.Rectangle a a Gets the smallest rectangle that contains both parameters a To be added. Field 2.12.0.0 System.Int32 The rectangle width Field 2.12.0.0 System.Int32 The X element of the rectangle. Field 2.12.0.0 System.Int32 The Y element of the rectangle. Field 2.12.0.0 Gdk.Rectangle A zero initialized rectangle. gtk-sharp-2.12.40/doc/en/Gdk/EventSelection.xml0000664000175000017500000001166312767740535016057 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gdk.Event Generated when a selection is requested or ownership of a selection is taken over by another client application. To be added Constructor 2.12.0.0 raw unmanaged pointer. Internal constructor. Internal constructor, do not use. Property 2.12.0.0 Gdk.Atom The property in which to place the result of the conversation. The property in which to place the result of the conversion. None. Property 2.12.0.0 System.UInt32 The native window on which to place . The native window on which to place . None. Property 2.12.0.0 Gdk.Atom The selection. The selection. None. Property 2.12.0.0 Gdk.Atom The target to which the selection should be converted. The target to which the selection should be converted. None. Property 2.12.0.0 System.UInt32 The time of the event in milliseconds. The time of the event in milliseconds. None. gtk-sharp-2.12.40/doc/en/Gdk/SettingAction.xml0000664000175000017500000000534412767740535015702 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.SettingActionGType)) Specifies the kind of modification applied to a setting in a . None. Field 2.12.0.0 Gdk.SettingAction A setting was changed. Field 2.12.0.0 Gdk.SettingAction A setting was deleted. Field 2.12.0.0 Gdk.SettingAction A setting was added. gtk-sharp-2.12.40/doc/en/Gdk/FilterFunc.xml0000664000175000017500000000223612767740535015165 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate Gdk.FilterReturn To be added. To be added. Delegate for callbacks invoked by . To be added. gtk-sharp-2.12.40/doc/en/Gdk/AreaUpdatedArgs.xml0000664000175000017500000001005412767740535016115 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Int32 The height of the screen area that was updated. A Property 2.12.0.0 System.Int32 The width of the screen area that was updated. A Property 2.12.0.0 System.Int32 The X coordinate of the upper left point in the updated area. A Property 2.12.0.0 System.Int32 The Y coordinate of the upper left point in the updated area. A gtk-sharp-2.12.40/doc/en/Gdk/EventScroll.xml0000664000175000017500000001577712767740535015402 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gdk.Event Generated from button presses for the buttons 4 to 7. Wheel mice are usually configured to generate button press events for buttons 4 and 5 when the wheel is turned. Constructor 2.12.0.0 raw unmanaged pointer. Internal constructor. None. Property 2.12.0.0 Gdk.Device The device where the event originated. The device where the event originated. None. Property 2.12.0.0 Gdk.ScrollDirection The direction to scroll to. The direction to scroll to. None. Property 2.12.0.0 Gdk.ModifierType An enum representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. An enum representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. None. Property 2.12.0.0 System.UInt32 The time of the event in milliseconds. The time of the event in milliseconds. None. Property 2.12.0.0 System.Double The x coordinate of the pointer relative to the window. The x coordinate of the pointer relative to the window. None. Property 2.12.0.0 System.Double The x coordinate of the pointer relative to the root of the screen. The x coordinate of the pointer relative to the root of the screen. None. Property 2.12.0.0 System.Double The y coordinate of the pointer relative to the window. The y coordinate of the pointer relative to the window. None. Property 2.12.0.0 System.Double The y coordinate of the pointer relative to the root of the screen. The y coordinate of the pointer relative to the root of the screen. None. gtk-sharp-2.12.40/doc/en/Gdk/AxisUse.xml0000664000175000017500000001321412767740535014503 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.AxisUseGType)) An enumeration describing the way in which a device axis (valuator) maps onto the predefined valuator types that Gtk# understands. Documentation for this section has not yet been entered. Field 2.12.0.0 Gdk.AxisUse The axis is ignored. Field 2.12.0.0 Gdk.AxisUse A constant equal to the numerically highest axis value. Field 2.12.0.0 Gdk.AxisUse The axis is used for pressure information. Field 2.12.0.0 Gdk.AxisUse The axis is used for wheel information. Field 2.12.0.0 Gdk.AxisUse The axis is used as the x axis. Field 2.12.0.0 Gdk.AxisUse The axis is used for x tilt information. Field 2.12.0.0 Gdk.AxisUse The axis is used as the y axis. Field 2.12.0.0 Gdk.AxisUse The axis is used for y tilt information. gtk-sharp-2.12.40/doc/en/Gdk/CrossingMode.xml0000664000175000017500000000535012767740535015520 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.CrossingModeGType)) Specifies the crossing mode for None. Field 2.12.0.0 Gdk.CrossingMode Crossing because a grab is activated. Field 2.12.0.0 Gdk.CrossingMode Crossing because of pointer motion. Field 2.12.0.0 Gdk.CrossingMode Crossing because a grab is deactivated. gtk-sharp-2.12.40/doc/en/Gdk/PangoHelper.xml0000664000175000017500000001603612767740535015333 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added To be added Constructor 2.12.0.0 To be added To be added Method 2.12.0.0 Pango.Context To be added a To be added Method 2.12.0.0 Pango.Context a To be added a To be added Method 2.12.0.0 System.Obsolete System.Void a a To be added To be added Method 2.12.0.0 Gdk.Region a a a a a To be added a To be added Method 2.12.0.0 Gdk.Region a a a a a To be added a To be added gtk-sharp-2.12.40/doc/en/Gdk/VisibilityState.xml0000664000175000017500000000537212767740535016260 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.VisibilityStateGType)) Specifies the visiblity status of a window for a . Field 2.12.0.0 Gdk.VisibilityState The window is not visible at all. Field 2.12.0.0 Gdk.VisibilityState The window is partially visible. Field 2.12.0.0 Gdk.VisibilityState The window is completely visible. gtk-sharp-2.12.40/doc/en/Gdk/Keyval.xml0000664000175000017500000002156712767740535014367 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added To be added Constructor 2.12.0.0 To be added To be added Method 2.12.0.0 System.Void a a a To be added To be added Method 2.12.0.0 System.UInt32 a To be added a To be added Method 2.12.0.0 System.Boolean A representing a in either lower or upper case. Returns true if a is in lower case. True if the is in lower case, otherwise it returns false. To be added Method 2.12.0.0 System.Boolean A representing a in either lower or upper case. Returns true if a is in upper case. True if the is in upper case, otherwise it returns false. To be added Method 2.12.0.0 System.String a To be added a To be added Method 2.12.0.0 System.UInt32 A representing a in either lower or upper case. Convertes a to its lower case value. A representing a in lower case. The may be already lower case. Method 2.12.0.0 System.UInt32 a To be added a To be added Method 2.12.0.0 System.UInt32 A representing a in either lower or upper case. Convertes a to its upper case value. A representing a in upper case. The may be already upper case. gtk-sharp-2.12.40/doc/en/Gdk/EventSetting.xml0000664000175000017500000000541012767740535015540 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gdk.Event Generated when a setting is modified. None. Constructor 2.12.0.0 raw unmanaged pointer. Internal constructor. None. Property 2.12.0.0 Gdk.SettingAction What happened to the setting. What happened to the setting. None. Property 2.12.0.0 System.String The name of the setting. The name of the setting. None. gtk-sharp-2.12.40/doc/en/Gdk/Display.xml0000664000175000017500000012445212767740535014536 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Controls the keyboard/mouse pointer grabs and a set of GdkScreens. objects purpose are two fold: To grab/ungrab keyboard focus and mouse pointer To manage and provide information about the (s) available for this objects are the GDK representation of the X Display which can be described as a workstation consisting of a keyboard a pointing device (such as a mouse) and one or more screens. It is used to open and keep track of various objects currently instanciated by the application. It is also used to grab and release the keyboard and the mouse pointer. Constructor 2.12.0.0 To be added To be added Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 a Internal constructor This is not typically used by C# code. Method 2.12.0.0 System.Void a representing the type of ClientMessage events to receive. a to call to process the event. Adds a filter to be called when X ClientMessage events are received. To be added Method 2.12.0.0 System.Void Emits a short beep. To be added Method 2.12.0.0 System.Void Closes the connection windowing system for the given display, and cleans up associated resources. To be added Event 2.12.0.0 GLib.Signal("closed") Gdk.ClosedHandler This event is emitted when the connect to the windowing system is closed. None. Property 2.12.0.0 Gdk.Device Returns the core pointer device for the given display. The core pointer for the display. To be added Property 2.12.0.0 Gdk.Display Get the default for the display. the default object for display. To be added Property 2.12.0.0 System.UInt32 To be added a To be added Property 2.12.0.0 Gdk.Window To be added a To be added Property 2.12.0.0 Gdk.Screen The default screen.. The screen represending the DefaultScreen. To be added Property 2.12.0.0 System.UInt32 To be added a To be added Property 2.12.0.0 System.UInt32 Sets the double-click timeout. a , or null if there is no default display. Sets the double click time (two clicks within this time interval count as a double click). Applications should NOT set this, it is a global user-configured setting. Property 2.12.0.0 Gdk.Event To be added. To be added Method 2.12.0.0 System.Void To be added To be added Method 2.12.0.0 System.Void a a To be added To be added Method 2.12.0.0 System.Void a a To be added To be added Method 2.12.0.0 System.Void a a a To be added To be added Method 2.12.0.0 System.Void a a a To be added To be added Method 2.12.0.0 System.Obsolete System.Void a a a a Gets the current location of the pointer and the current modifier mask for a given display. None Method 2.12.0.0 System.Void a a a a To be added To be added Method 2.12.0.0 Gdk.Screen a representing the screen number Returns a screen object for one of the screens of the display. a To be added Method 2.12.0.0 Gdk.Window a a Obtains the window underneath the mouse pointer. a Obtains the window underneath the mouse pointer, returning the location of that window in win_x, win_y for screen. Returns NULL if the window under the mouse pointer is not known to GDK (for example, belongs to another application). Property 2.12.0.0 GLib.GType Gets the current location of the pointer and the current modifier mask for a given display. a To be added Method 2.12.0.0 System.Void a representing a a timestap. Release any keyboard grab. To be added Method 2.12.0.0 Gdk.Device[] Returns the list of available input devices attached to the display. a To be added Property 2.12.0.0 System.String The name of the display A representing the display name. Property 2.12.0.0 System.Int32 To be added a To be added Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideClosed", Type=typeof(Gdk.Display)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 Gdk.Display a - the name of the display to open Opens a display. a , or null if the display could not be opened. To be added Method 2.12.0.0 Gdk.Display Opens the default display specified by the command line arguments or the environment variables, setting it as the default display, it it was already set, then its just returned. A that is the default display just opened. Global.ParseArgs should be called first. This method is internal and shouldn't be used in any application. Method 2.12.0.0 Gdk.Event Gets a copy of the first in the display's event queue, without removing the event from the queue. (Note that this function will not get more events from the windowing system. It only checks the events that have already been moved to the GDK event queue.) a copy of the first on the event queue, or null if no events are in the queue. To be added Method 2.12.0.0 System.Boolean Test if the pointer is grabbed. a that is true if an active X pointer grab is in effect. To be added Method 2.12.0.0 System.Void a representing a a timestap. Release any pointer grab. To be added Method 2.12.0.0 System.Void a to be appended onto the front of the event queue. Appends the given event onto the front of the event queue for display. To be added Method 2.12.0.0 System.Boolean a To be added a To be added Method 2.12.0.0 Gdk.DisplayPointerHooks a the previous table This function allows for hooking into the operation of getting the current location of the pointer on a particular display. This is only useful for such low-level tools as an event recorder. Applications should never have any reason to use this facility. Method 2.12.0.0 System.Void a a a a To be added To be added Method 2.12.0.0 System.Boolean To be added a To be added Property 2.12.0.0 System.Boolean Indicates if Compositing is supported. If compositing is supported, , otherwise . Method 2.12.0.0 System.Boolean To be added a To be added Method 2.12.0.0 System.Boolean To be added a To be added Property 2.12.0.0 System.Boolean Indicates if input shapes are supported. If input shapes are supported, , otherwise . Use to alter the input shape if support is indicated. Method 2.12.0.0 System.Boolean To be added a To be added Property 2.12.0.0 System.Boolean Indicates if shaped windows are supported. If shaped windows are supported, , otherwise . Use to alter the shape if support is indicated. Method 2.12.0.0 System.Void To be added To be added Method 2.12.0.0 System.Void Screen to reposition pointer onto. X coordinate of pointer destination. Y coordinate of pointer destination. Warps the mouse pointer to a coordinate on a Screen. When grabs are in effect, the pointer will only be moved as far as the grab allows. Warping the pointer creates events as if the mouse were instantaneously moved to the destination by the user. gtk-sharp-2.12.40/doc/en/Gdk/WindowAttr.xml0000664000175000017500000003464212767740535015234 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType Attributes to use for a newly-created window. None. Property 2.12.0.0 System.Obsolete("Replaced by Colormap property.") Gdk.Colormap Colormap for the window. To be added: an object of type 'Gdk.Colormap' Replaced by . Property 2.12.0.0 Gdk.Colormap Colormap for the window. an object of type 'Gdk.Colormap' Property 2.12.0.0 System.Obsolete("Replaced by Cursor property.") Gdk.Cursor Cursor for the window (see ). Cursor for the window. (see ). Replaced by . Property 2.12.0.0 Gdk.Cursor Cursor for the window (see ). Cursor for the window. (see ). Field 2.12.0.0 System.Int32 Event mask. See . Field 2.12.0.0 System.Int32 Height of the window. None. Property 2.12.0.0 Gdk.EventMask Event mask. a See . Method 2.12.0.0 Gdk.WindowAttr raw unmanaged pointer. Internal method. A new WindowAttr. Internal method, do not use this. Field 2.12.0.0 System.Boolean True to bypass the window manager. None. Field 2.12.0.0 System.String Title of the window (for toplevel windows). None. Field 2.12.0.0 Gdk.WindowTypeHint Type Hints for the window. Property 2.12.0.0 System.Obsolete("Replaced by Visual property.") Gdk.Visual The for the window. a for the window. Replaced by . Property 2.12.0.0 Gdk.Visual The for the window. a for the window. Field 2.12.0.0 Gdk.WindowClass InputOutput (for a normal window) or InputOnly (for a invisible window that receives events). None. Field 2.12.0.0 System.Int32 Width of the window. None. Field 2.12.0.0 Gdk.WindowType Type of the window. None. Field 2.12.0.0 System.String Don't use. Don't use. Field 2.12.0.0 System.String Don't use. Don't use. Field 2.12.0.0 System.Int32 X coordinate relative to parent window. (see ). None. Field 2.12.0.0 System.Int32 Y coordinate relative to parent window (see ). None. Field 2.12.0.0 Gdk.WindowAttr A zeroed structure. None. gtk-sharp-2.12.40/doc/en/Gdk/GrabStatus.xml0000664000175000017500000001014412767740535015200 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.GrabStatusGType)) Returned by and to indicate success or the reason for the failure of the grab event. None. Field 2.12.0.0 Gdk.GrabStatus The resource is actively grabbed by another client. Field 2.12.0.0 Gdk.GrabStatus The resource is frozen by an active grab of another client. Field 2.12.0.0 Gdk.GrabStatus The resource was grabbed more recently than the specified time. Field 2.12.0.0 Gdk.GrabStatus The grab window or the confine_to window are not viewable. Field 2.12.0.0 Gdk.GrabStatus The resource was successfully grabbed. gtk-sharp-2.12.40/doc/en/Gdk/EventHelper.xml0000664000175000017500000005240012767740535015343 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object A utility class that contains methods that operate on Event classes. This class contains static methods. Constructor 2.12.0.0 This constructor is never used. This class contains only static methods, and this constructor should never be used. Method 2.12.0.0 Gdk.Event The to copy. Copies a . The copied . None. Method 2.12.0.0 System.Void to free. Frees a . This should only be called with events returned from functions such as , , and . Method 2.12.0.0 Gdk.Event Checks all open displays for a to process, fetching events from the windowing system if necessary. See . The next to be processed, or null if no events are pending. The returned should be freed with . None. Method 2.12.0.0 System.Boolean A The axis use to look for. The value found. Extract the axis value for a particular axis use from an event. True if the specified axis was found, otherwise false. None. Method 2.12.0.0 System.Boolean A Event window x coordinate. Event window y coordinate. Extract the event window relative x/y coordinates from an event. True if the event delivered event coordinates. None. Method 2.12.0.0 Gdk.Event The to wait for the events for. Waits for a GraphicsExpose or NoExpose event from the X server. This is used in the GtkText and GtkCList widgets in Gtk# to make sure any Graphics Expose events are handled before the widget is scrolled. A if a GraphicsExpose was received, or null if a NoExpose event was received. None. Method 2.12.0.0 System.Boolean A Root window x coordinate. Root window y coordinate. Extract the root window relative x/y coordinates from an event. True if the event delivered root window coordinates. None. Method 2.12.0.0 Gdk.Screen A Returns the screen for the event. The screen is typically the screen for , but for events such as mouse events, it is the screen where the pointer was when the event occurs. The for the event. To be added Method 2.12.0.0 System.Boolean A or null. The of the event. If the event contains a "state" field, puts that field in state. Otherwise stores an empty state (0). True if there was a state field in the event. To be added Method 2.12.0.0 System.UInt32 A Returns the time stamp from event, if there is one. Otherwise returns the current time. If event is null, returns the current time.. Time stamp field from event. None. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 Gdk.Event A Creates a new event of the given type. All fields are set to 0. A The returned event should be freed with . Method 2.12.0.0 Gdk.Event If there is an event waiting in the event queue of some open display, returns a copy of it. See . A copy of the first on some event queue, or null if no events are in any queues. The returned should be freed with . Method 2.12.0.0 System.Void A Appends a copy of the given event onto the front of the event queue for 's display, or the default queue if that window is null. See . None. Method 2.12.0.0 System.Void A MotionNotify event. Requests additional motion notify events. Method 2.12.0.0 System.Boolean The to send, which should be a . The window to send the X ClientMessage event to. Sends an X ClientMessage event to a given window (which must be on the default .) This could be used for communicating between different applications, though the amount of data is limited to 20 bytes. True on success. None. Method 2.12.0.0 System.Boolean The for the window where the message is to be sent. The to send, which should be a . The window to send the client message to. On X11, sends an X ClientMessage event to a given window. On Windows, sends a message registered with the name GDK_WIN32_CLIENT_MESSAGE. This could be used for communicating between different applications, though the amount of data is limited to 20 bytes on X11, and to just four bytes on Windows. True on success. None. Method 2.12.0.0 System.Void The to send, which should be a . Sends an X ClientMessage event to all toplevel windows on the default . Toplevel windows are determined by checking for the WM_STATE property, as described in the Inter-Client Communication Conventions Manual (ICCCM). If no windows are found with the WM_STATE property set, the message is sent to all children of the root window. None. Method 2.12.0.0 System.Void A A Sets the screen for event to screen. The event must have been allocated by GTK+, for instance, by . None. gtk-sharp-2.12.40/doc/en/Gdk/DeviceKey.xml0000664000175000017500000000706112767740535014775 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType Contains information about the mapping of one device macro button onto a normal X key event. To be added Field 2.12.0.0 System.UInt32 Keyval to generate when the macro button is pressed. If this is 0, no keypress will be generated. To be added Field 2.12.0.0 Gdk.ModifierType The modifiers set for the generated key event. To be added Method 2.12.0.0 Gdk.DeviceKey To be added: an object of type 'IntPtr' To be added To be added: an object of type 'Gdk.DeviceKey' To be added Field 2.12.0.0 Gdk.DeviceKey To be added To be added gtk-sharp-2.12.40/doc/en/Gdk/EventProperty.xml0000664000175000017500000000666312767740535015762 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gdk.Event Describes a property change on a window. Constructor 2.12.0.0 raw unmanaged pointer. Internal constructor. None. Property 2.12.0.0 Gdk.Atom The property that was changed. The property that was changed. None. Property 2.12.0.0 Gdk.PropertyState Whether the property was changed, or deleted. Whether the property was changed. None. Property 2.12.0.0 System.UInt32 The time of the event in milliseconds. The time of the event of milliseconds. None. gtk-sharp-2.12.40/doc/en/Gdk/EdgeTable.xml0000664000175000017500000001131312767740535014734 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Method 2.12.0.0 Gdk.EdgeTable To be added: an object of type 'IntPtr' To be added To be added: an object of type 'Gdk.EdgeTable' To be added Property 2.12.0.0 System.Obsolete("Replaced by Scanlines property.") Gdk.ScanLineList To be added a To be added Property 2.12.0.0 Gdk.ScanLineList To be added. To be added. To be added. Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 Gdk.EdgeTable To be added To be added gtk-sharp-2.12.40/doc/en/Gdk/ModifierType.xml0000664000175000017500000003200512767740535015521 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.ModifierTypeGType)) System.Flags An enum to indicate the state of modifier keys and mouse buttons in various event types. Typical modifier keys are Shift, Control, Meta, Super, Hyper, Alt, Compose, APple, CapsLock or ShiftLock. Like the X Window System, GDK supports 8 modifier keys and 5 mouse buttons. None. Field 2.12.0.0 Gdk.ModifierType The first mouse button. Field 2.12.0.0 Gdk.ModifierType The second mouse button. Field 2.12.0.0 Gdk.ModifierType The third mouse button. Field 2.12.0.0 Gdk.ModifierType The fourth mouse button. Field 2.12.0.0 Gdk.ModifierType The fifth mouse button. Field 2.12.0.0 Gdk.ModifierType The Control key. Field 2.12.0.0 Gdk.ModifierType Hyper key modifier. Field 2.12.0.0 Gdk.ModifierType A Lock Key (depending on the modifier mapping of the X server this may either be CapsLock or ShiftLock). Field 2.12.0.0 Gdk.ModifierType Meta key modifier. Field 2.12.0.0 Gdk.ModifierType The fourth modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifer, but normally it is the Alt key). Field 2.12.0.0 Gdk.ModifierType The fifth modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier). Field 2.12.0.0 Gdk.ModifierType The sixth modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier). Field 2.12.0.0 Gdk.ModifierType The seventh modifier key (it depends on the modifier mapping of the X server which key is interpreted as this modifier). Field 2.12.0.0 Gdk.ModifierType The eighth modifier key (it depends on the modifier mapping of the X servier which key is interpreted as this modifier). Field 2.12.0.0 Gdk.ModifierType A mask covering all modifier types. Field 2.12.0.0 Gdk.ModifierType No modifiers present. Field 2.12.0.0 Gdk.ModifierType Not used in GDK itself. GTK+ uses it to differentiate between (keyval, modifiers) pairs from key press and release events. Field 2.12.0.0 Gdk.ModifierType The Shift key. Field 2.12.0.0 Gdk.ModifierType Super key modifier. gtk-sharp-2.12.40/doc/en/Gdk/Visual.xml0000664000175000017500000003255712767740535014400 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Describes a particular video hardware display format. A Gdk.Visual describes a particular video hardware display format. It includes information about the number of bits used for each color, the way the bits are translated into an RGB value for display, and the way the bits are stored in memory. For example, a piece of display hardware might support 24-bit color, 16-bit color, or 8-bit color; meaning 24/16/8-bit pixel sizes. For a given pixel size, pixels can be in different formats; for example the "red" element of an RGB pixel may be in the top 8 bits of the pixel, or may be in the lower 4 bits. Usually you can avoid thinking about visuals in GTK+. Visuals are useful to interpret the contents of a , but you should avoid GdkImage precisely because its contents depend on the display hardware; use instead, for all but the most low-level purposes. Also, anytime you provide a , the visual is implied as part of the colormap (), so you won't have to provide a visual in addition. There are several standard visuals. The visual returned by is the system's default visual. return the visual most suited to displaying full-color image data. If you use the calls in , you should create your windows using this visual (and the colormap returned by ). A number of functions are provided for determining the "best" available visual. For the purposes of making this determination, higher bit depths are considered better, and for visuals of the same bit depth, is preferred at 8bpp, otherwise, the visual types are ranked in the order of (highest to lowest) , , , , then . Constructor 2.12.0.0 Default constructor. None. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 Gdk.Visual Visual with the most available colors for the default GDK screen. The best visual. Get the visual with the most available colors for the default GDK screen. Property 2.12.0.0 System.Int32 Best depth for the default Gdk screen. The best depth Get the best available depth for the default GDK screen. "Best" means "largest," i.e. 32 preferred over 24 preferred over 8 bits per pixel. Property 2.12.0.0 Gdk.VisualType Best visual type for the default Gdk screen The best visual type available. Return the best available visual type for the default GDK screen. Method 2.12.0.0 Gdk.Visual Required depth. Required visual type. Get the best visual given a visual type and a required depth. Best visual of the given type and depth. Get the best visual of the given at the given for the default GDK screen. Visuals with higher color depths are considered better. The return value should not be freed. may be returned if no visual that match the type and . Method 2.12.0.0 Gdk.Visual A bit depth Get the best visual with depth depth for the default GDK screen. Best visual for the given depth. Get the best visual with depth depth for the default GDK screen. Color visuals and visuals with mutable colormaps are preferred over grayscale or fixed-colormap visuals. The return value should not be freed. may be returned if no visual supports . Method 2.12.0.0 Gdk.Visual Required visual type. Get the best visual of the given visual_type for the default GDK screen. Best visual of the given type Get the best visual of the given for the default GDK screen. Visuals with higher color depths are considered better. The return value should not be freed. may be returned if no visual has type . Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 Gdk.Screen Gets the screen to which this visual belongs. The to which this visual belongs. None. Property 2.12.0.0 Gdk.Visual The system'sdefault visual for the default GDK screen. The system visual Get the system'sdefault visual for the default GDK screen. This is the visual for the root window of the display. gtk-sharp-2.12.40/doc/en/Gdk/DeviceAxis.xml0000664000175000017500000001120712767740535015146 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType Contains information about the range and mapping of a device axis. To be added Field 2.12.0.0 System.Double Maximal value that will be reported by this axis. To be added Field 2.12.0.0 System.Double Minimal value that will be reported by this axis. To be added Method 2.12.0.0 Gdk.DeviceAxis To be added: an object of type 'IntPtr' To be added To be added: an object of type 'Gdk.DeviceAxis' To be added Method 2.12.0.0 System.String To be added. To be added. To be added. Field 2.12.0.0 Gdk.AxisUse Specifies how the axis is used. To be added Field 2.12.0.0 Gdk.DeviceAxis To be added To be added gtk-sharp-2.12.40/doc/en/Gdk/Spawn.xml0000664000175000017500000001661712767740535014224 00000000000000 gdk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Process spawning methods Constructor 2.12.0.0 Do not use. No instance methods exist. Method 2.12.0.0 System.Boolean a a Spawns a process on a Screen using a commandline string. a Method 2.12.0.0 System.Boolean A screen to spawn on. The process working directory. Argument list, with program at index 0. List of environment variables. Spawning flags. Child setup callback. Returns the child process id. Spawns a process on a screen using argument and environment lists. If , the process was spawned successfully. Method 2.12.0.0 System.Boolean A screen to spawn on. The process working directory. Argument list, with program at index 0. List of environment variables. Spawning flags. Child setup callback. Returns the child process id. Returns a stdin pipe. Returns a stdout pipe. Returns a stderr pipe. Spawns a process on a screen using argument and environment lists. If , the process was spawned successfully. gtk-sharp-2.12.40/doc/en/Gdk/FilterReturn.xml0000664000175000017500000000551112767740535015550 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.FilterReturnGType)) Specifies the result of applying a to a native event. None. Field 2.12.0.0 Gdk.FilterReturn Event not handled, continue processing. Field 2.12.0.0 Gdk.FilterReturn Event handled, terminate processing. Field 2.12.0.0 Gdk.FilterReturn Native event translated into a GDK event and tored in the event structure that was passed in. gtk-sharp-2.12.40/doc/en/Gdk/InputFunction.xml0000664000175000017500000000242112767740535015725 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added. Delegate to invoke when a condition becomes true on a file descriptor. To be added gtk-sharp-2.12.40/doc/en/Gdk/EdgeTableEntry.xml0000664000175000017500000000304612767740535015762 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque To be added To be added Constructor 2.12.0.0 a To be added To be added gtk-sharp-2.12.40/doc/en/Gdk/PixbufAnimation.xml0000664000175000017500000003731112767740535016223 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object A base class for animations that are rendered using Constructor 2.12.0.0 System.Obsolete a Internal constructor This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 a Makes a new animation object from a . Useful for creating an animation from an image file that resides in memory. /* buffer containing an image */ System.Byte[] buffer = new System.Byte[256]; /* create a memory stream to the buffer */ System.IO.MemoryStream memorystream = new System.IO.MemoryStream(buffer); /* create an animation from the stream as if it was a file */ Gdk.PixbufAnimation pba = new Gdk.PixbufAnimation(memorystream); Constructor 2.12.0.0 A , the filename to load into this object. Public constructor; creates a new animation by loading it from a file. The file format is detected automatically. If the file's format does not support multi-frame images, then an animation with a single frame will be created. Possible errors are in the and domains. Constructor 2.12.0.0 The that contains the image. If the value is , the image will be looked up on the calling assembly. The name given as the resource in the assembly Constructor for images embedded in an assembly This method is used to construct a from an embedded resource in an assembly. Typically this is used when application developers want to distribute images in a single executable. If the assembly parameter is , the image will be looked up on the calling assembly. For example: Gdk.PixbufAnimation p = new PixbufAnimation (null, "anim.gif"); Compile with: mcs -resource:anim.gif sample.cs Method 2.12.0.0 Gdk.PixbufAnimationIter A Get an iterator for displaying an animation. The iterator provides the frames that should be displayed at a given time. It should be freed after use with g_object_unref(). A to move over the animation

would normally come from g_get_current_time() (FIXME: this function isn't bound into C#; this needs a look), and marks the beginning of animation playback. After creating an iterator, you should immediately display the pixbuf returned by . Then, you should install a timeout (with g_timeout_add() (FIXME)) or by some other mechanism ensure that you'll update the image after milliseconds. Each time the image is updated, you should reinstall the timeout with the new, possibly-changed delay time.

As a shortcut, if is , the result of g_get_current_time() will be used automatically.

To update the image (i.e. possibly change the result of gdk_pixbuf_animation_iter_get_pixbuf() to a new frame of the animation), call gdk_pixbuf_animation_iter_advance().

If you're using , in addition to updating the image after the delay time, you should also update it whenever you receive the area_updated signal and returns true. In this case, the frame currently being fed into the loader has received new data, so needs to be refreshed. The delay time for a frame may also be modified after an signal, for example if the delay time for a frame is encoded in the data after the frame itself. So your timeout should be reinstalled after any signal.

A delay time of -1 is possible, indicating "infinite."

Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.Int32 The height of the animation. A Property 2.12.0.0 System.Boolean If you load a file with and it turns out to be a plain, unanimated image, then this function will return TRUE. Use to retrieve the image. a Method 2.12.0.0 Gdk.PixbufAnimation the name of the resource Loads a pixbuf from a resource file. a This loads an animation from a resource in the calling assembly. This is equivalent to using the constructor with a assembly. Method 2.12.0.0 System.Obsolete Gdk.PixbufAnimation To be added a To be added Property 2.12.0.0 Gdk.Pixbuf Gets the image if this animation is actually a static, unanimaged file. A Method 2.12.0.0 System.Obsolete System.Void To be added To be added Property 2.12.0.0 System.Int32 The width of the animation. A
gtk-sharp-2.12.40/doc/en/Gdk/GCValues.xml0000664000175000017500000003640312767740535014600 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType Holds a set of values used to create or modify a graphics context. To be added Field 2.12.0.0 Gdk.Color The background color. To be added Field 2.12.0.0 Gdk.CapStyle The way the ends of lines are drawn. To be added Property 2.12.0.0 System.Obsolete("Replaced by ClipMask property.") Gdk.Pixmap The clip mask bitmap. To be added: an object of type 'Gdk.Pixmap' To be added Property 2.12.0.0 Gdk.Pixmap To be added. To be added. To be added. Field 2.12.0.0 System.Int32 The x origin of the clip mask. To be added Field 2.12.0.0 System.Int32 The y origin of the clip mask. To be added Field 2.12.0.0 Gdk.Fill The fill style. To be added Property 2.12.0.0 Gdk.Font To be added a To be added Field 2.12.0.0 Gdk.Color The foreground color. To be added Field 2.12.0.0 Gdk.Function The bitwise operation used when drawing. To be added Field 2.12.0.0 System.Int32 Whether graphics exposures are enabled. To be added Field 2.12.0.0 Gdk.JoinStyle The way joins between lines are drawn. To be added Field 2.12.0.0 Gdk.LineStyle The way dashed lines are drawn. To be added Field 2.12.0.0 System.Int32 The line width. To be added Method 2.12.0.0 Gdk.GCValues To be added: an object of type 'IntPtr' To be added To be added: an object of type 'Gdk.GCValues' To be added Property 2.12.0.0 System.Obsolete("Replaced by Stipple property.") Gdk.Pixmap The stipple bitmap. To be added: an object of type 'Gdk.Pixmap' To be added Property 2.12.0.0 Gdk.Pixmap To be added. To be added. To be added. Field 2.12.0.0 Gdk.SubwindowMode To be added To be added Property 2.12.0.0 System.Obsolete("Replaced by Tile property.") Gdk.Pixmap The tile pixmap. To be added: an object of type 'Gdk.Pixmap' To be added Property 2.12.0.0 Gdk.Pixmap To be added. To be added. To be added. Field 2.12.0.0 System.Int32 The x origin of the tile or stipple. To be added Field 2.12.0.0 System.Int32 The y origin of the tile or stipple. To be added Field 2.12.0.0 Gdk.GCValues To be added To be added gtk-sharp-2.12.40/doc/en/Gdk/SizePreparedHandler.xml0000664000175000017500000000315512767740535017020 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SizePreparedHandler instance to the event. The methods referenced by the SizePreparedHandler instance are invoked whenever the event is raised, until the SizePreparedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gdk/EventMotion.xml0000664000175000017500000001744112767740535015377 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gdk.Event Generated when the pointer moves. Constructor 2.12.0.0 raw unmanaged pointer. Internal constructor. None. Property 2.12.0.0 System.Double[] , translated to the axes of , or null if is the mouse. , translated to the axes of , or null if is the mouse. None. Property 2.12.0.0 Gdk.Device The device where the event originated. The device where the event originated. None. Property 2.12.0.0 System.Boolean True if this event is just a hint. True if the event is just a hint. None. Property 2.12.0.0 Gdk.ModifierType An enum representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. An enum representing the state of the modifier keys (e.g. Control, Shift, Alt) and the pointer buttons. None. Property 2.12.0.0 System.UInt32 The time of the event in milliseconds. The time of the event in milliseconds. None. Property 2.12.0.0 System.Double The x coordinate of the pointer relative to window. The x coordinate of the pointer relative to the window. None. Property 2.12.0.0 System.Double The x coordinate of the pointer relative to the root of the screen. The x coordinate of the pointer relative to the root of the screen. None. Property 2.12.0.0 System.Double The y coordinate of the pointer relative to the window. The y coordinate of the pointer relative to the window. None. Property 2.12.0.0 System.Double The y coordinate of the pointer relative to the root of the screen. The y coordinate of the pointer relative to the root of the screen. None. gtk-sharp-2.12.40/doc/en/Gdk/EventClient.xml0000664000175000017500000000734112767740535015346 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gdk.Event An event sent by another client application. Constructor 2.12.0.0 raw unmanaged pointer. Internal constructor. This constructor is internal and should not be used. Property 2.12.0.0 System.Array The data. If is 8, then this array is 20 characters, if it returns 16, then the array is 10 shorts, and if it returns 32, the array is 5 longs. None. Property 2.12.0.0 System.UInt16 The format of the the format of the data, given as the number of bits in each data element, i.e. 8, 16, or 32. None. Property 2.12.0.0 Gdk.Atom the type of the message, which can be defined by the application. the type of the message, which can be defined by the application. None. gtk-sharp-2.12.40/doc/en/Gdk/PixbufSimpleAnim.xml0000664000175000017500000001213212767740535016334 00000000000000 gdk-sharp 2.12.0.0 Gdk.PixbufAnimation Simple Pixbuf Animation. Constructor 2.12.0.0 System.Obsolete Do not use. Internal constructor. Do not use. Constructor 2.12.0.0 native object handle. Internal constructor. Do not use. Constructor 2.12.0.0 width of images in the animation. height of images in the animation. frame rate of the animation. Creates a Simple Pixbuf Animation instance. Method 2.12.0.0 System.Void a which matches the dimensions of the animation. Adds a frame to the animation. Property 2.12.0.0 GLib.GType Native Type. Do not use. Do not use. Method 2.12.0.0 GLib.GType To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gdk/DisplayOpenedArgs.xml0000664000175000017500000000451012767740535016476 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 Gdk.Display The opened display. The newly opened . None. gtk-sharp-2.12.40/doc/en/Gdk/NotifyType.xml0000664000175000017500000001161512767740535015237 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.NotifyTypeGType)) Specifies the kind of crossing for See the X11 protocol specification of LeaveNotify for full details of crossing event generation. None. Field 2.12.0.0 Gdk.NotifyType The window is entered from an ancestor or left towards an ancestor. Field 2.12.0.0 Gdk.NotifyType The window is entered from an inferior or left towards an inferior. Field 2.12.0.0 Gdk.NotifyType The window is entered from or left towards a window which is neither an ancestor nor an inferior. Field 2.12.0.0 Gdk.NotifyType The pointer moves between two windows which are not ancestors of each other and the window is part of the ancestor chain between one of these windows and their least common ancestor. Field 2.12.0.0 Gdk.NotifyType An unknown type. Field 2.12.0.0 Gdk.NotifyType The pointer moves between an ancestor and an inferior of the window. gtk-sharp-2.12.40/doc/en/Gdk/TimeCoord.xml0000664000175000017500000000647012767740535015015 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Field 2.12.0.0 System.Double[] To be added To be added Method 2.12.0.0 Gdk.TimeCoord To be added: an object of type 'IntPtr' To be added To be added: an object of type 'Gdk.TimeCoord' To be added Field 2.12.0.0 System.UInt32 To be added To be added Field 2.12.0.0 Gdk.TimeCoord To be added To be added gtk-sharp-2.12.40/doc/en/Gdk/DestroyNotify.xml0000664000175000017500000000167112767740535015750 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void A callback function called when a piece of user data is no longer being stored by GDK. None. gtk-sharp-2.12.40/doc/en/Gdk/Span.xml0000664000175000017500000000740012767740535014023 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Method 2.12.0.0 Gdk.Span To be added: an object of type 'IntPtr' To be added To be added: an object of type 'Gdk.Span' To be added Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 Gdk.Span To be added To be added gtk-sharp-2.12.40/doc/en/Gdk/SizePreparedArgs.xml0000664000175000017500000000564512767740535016345 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Int32 The height of the area the pixbuf loader has prepared for loading. a Property 2.12.0.0 System.Int32 The width of the area the pixbuf loader has prepared for loading. a gtk-sharp-2.12.40/doc/en/Gdk/FillRule.xml0000664000175000017500000000455412767740535014647 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.FillRuleGType)) The method for determining which pixels are included in a region, when creating a from a polygon. The fill rule is only relevant for polygons which overlap themselves. Field 2.12.0.0 Gdk.FillRule Areas which are overlapped an odd number of times are included in the region, while areas overlapped an even number of times are not. Field 2.12.0.0 Gdk.FillRule Overlapping areas are always included. gtk-sharp-2.12.40/doc/en/Gdk/WMDecoration.xml0000664000175000017500000001207412767740535015460 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum System.Flags These are hints originally defined by the Motif toolkit. The window manager can use them when determining how to decorate the window. The hint must be set before mapping the window. Field 2.12.0.0 Gdk.WMDecoration All decorations should be applied. Field 2.12.0.0 Gdk.WMDecoration A frame should be drawn around the window. Field 2.12.0.0 Gdk.WMDecoration A maximize button should be included. Field 2.12.0.0 Gdk.WMDecoration A button for opening a menu should be included. Field 2.12.0.0 Gdk.WMDecoration A minimize button should be included. Field 2.12.0.0 Gdk.WMDecoration The frame should have resize handles. Field 2.12.0.0 Gdk.WMDecoration A titlebar should be placed above the window. gtk-sharp-2.12.40/doc/en/Gdk/Atom.xml0000664000175000017500000001051712767740535014025 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque An opaque type representing a string as an index into a table of strings on the X server. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 Gdk.Atom an object of type an object of type Finds or creates an corresponding to a given string. an object of type If is , do not create a new atom, but just return the atom if it already exists. Property 2.12.0.0 System.String Determines the string corresponding to an atom. A newly-allocated string containing the string corresponding to the atom. None. Method 2.12.0.0 System.String To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gdk/PixbufRotation.xml0000664000175000017500000000765012767740535016106 00000000000000 gdk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.PixbufRotationGType)) Possible rotations which can be passed to . To make them easier to use, their numerical values are the actual degrees. Field 2.12.0.0 Gdk.PixbufRotation Rotate by 270 degrees. Field 2.12.0.0 Gdk.PixbufRotation Rotate by 90 degrees. Field 2.12.0.0 Gdk.PixbufRotation No rotation. Field 2.12.0.0 Gdk.PixbufRotation Rotate by 180 degrees. gtk-sharp-2.12.40/doc/en/Gdk/PangoAttrEmbossColor.xml0000664000175000017500000001040512767740535017170 00000000000000 gdk-sharp 2.12.0.0 GLib.Opaque To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Property 2.12.0.0 Pango.Color To be added. To be added. To be added. Method 2.12.0.0 Pango.Attribute To be added. To be added. To be added. To be added. Method 2.12.0.0 Gdk.PangoAttrEmbossColor To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gdk/ExtensionMode.xml0000664000175000017500000000515312767740535015706 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.ExtensionModeGType)) To be added To be added Field 2.12.0.0 Gdk.ExtensionMode To be added Field 2.12.0.0 Gdk.ExtensionMode To be added Field 2.12.0.0 Gdk.ExtensionMode To be added gtk-sharp-2.12.40/doc/en/Gdk/Property.xml0000664000175000017500000001766312767740535014762 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added To be added Constructor 2.12.0.0 To be added To be added Method 2.12.0.0 System.Obsolete("Replaced by corrected overload with data parameter") System.Byte a a a a a a To be added a To be added Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void a a To be added To be added Method 2.12.0.0 System.Boolean a a a a a a a a a a To be added a To be added gtk-sharp-2.12.40/doc/en/Gdk/Pixdata.xml0000664000175000017500000002660512767740535014524 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType Contains functions for inlined pixbuf handling. It allows for pixbuf data to be accessed in a raw form, serialized, and stored. At the time of this writing, gtk-sharp 0.98 has a bug where and use where Byte [] should be used making them function improperly. This problem should be fixed in a future release. Method 2.12.0.0 System.Boolean A describing the length of "stream". a Converts a serialized datastream, generated by , into pixdata. A . True if successful, false if there was an error. To be added Method 2.12.0.0 System.IntPtr The 'Gdk.Pixbuf' which the Gdk.Pixdata is to be derived from. Whether to use run-length encoding for the pixel data. Fils in the Gdk.Pixdata with data from an existing . If "ure_rle" is set to true, an pointing to the new run-length encoded pixel data is returned, otherwise, To be added Field 2.12.0.0 System.UInt32 The height of the image in pixels. To be added Field 2.12.0.0 System.Int32 The length of the raw structure. This is either set to less than one to disable length checks or set to the length of the raw GdkPixbuf header, which is currently 24, plus the length of the pixel data. Field 2.12.0.0 System.UInt32 The GdkPixbuf magic number. All valid Gdk.Pixdata objects must have this set to 0x47646b50, which is 'GdkP' in ASCII. Method 2.12.0.0 Gdk.Pixdata An pointing to a raw GdkPixdata. Creates a new Gdk.Pixdata from a pointer to a raw GdkPixdata. A new 'Gdk.Pixdata' synonymous with the "raw" parameter. To be added Field 2.12.0.0 System.UInt32 An enumeration containing three sets of flax for the . One used for colorspace, one for the width of the samples, and one for the encoding of the pixel data. Value Description 0x01 Each pixel has red, green, and blue samples. 0x02 Each pixel has red, green, and blue samples, and an alpha value. 0xFF A mask for the colortype flags. 0x01 << 16 Each sample has 8 bits. 0x0f << 16 A mask for the sample width flags. 0x01 << 24 The pixel data is in raw form. 0x02 << 24 The pixel data is run-length encoded. Runs may be up to 127 bytes long; their length is stored in a single byte preceding the pixel data for the run. If a run is constant, its length byte has the high bit set and the pixel data consists of a single pixel which must be repeated. 0x0f << 24 A mask for the encoding flags. Field 2.12.0.0 System.UInt32 The distance in bytes between rows. To be added Method 2.12.0.0 System.Byte[] Generates serialized pixdata that can then be stored and converted back into a with . the serialized pixdata. Field 2.12.0.0 System.UInt32 The width of the image in pixels. To be added Field 2.12.0.0 Gdk.Pixdata A blank Gdk.Pixdata, equivilent to Gdk.Pixdata Zero = new Gdk.Pixdata (); To be added gtk-sharp-2.12.40/doc/en/Gdk/ClosedHandler.xml0000664000175000017500000000304012767740535015625 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ClosedHandler instance to the event. The methods referenced by the ClosedHandler instance are invoked whenever the event is raised, until the ClosedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gdk/InputCondition.xml0000664000175000017500000000610312767740535016067 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.InputConditionGType)) System.Flags A set of flags used to specify conditions for which an input callback will be triggered. To be added Field 2.12.0.0 Gdk.InputCondition An exception was raised on the file descriptor. Field 2.12.0.0 Gdk.InputCondition The file descriptor has become available for reading. (Or, as is standard in Unix, a socket or pipe was closed at the other end; this is the case if a subsequent read on the file descriptor returns a count of zero.) Field 2.12.0.0 Gdk.InputCondition The file descriptor has become available for writing. gtk-sharp-2.12.40/doc/en/Gdk/EventDND.xml0000664000175000017500000001103612767740535014531 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gdk.Event Generated during DND operations. Constructor 2.12.0.0 raw unmanaged pointer. Internal constructor. This constructor is internal and should not be used. Property 2.12.0.0 Gdk.DragContext The for the current DND operation. The Gdk.DragContext for the current DND operation. None. Property 2.12.0.0 System.UInt32 The time of the event in milliseconds. The time of the event in milliseconds. None. Property 2.12.0.0 System.Int16 The x coordinate of the pointer relative to the root of the screen, only set for GDK_DRAG_MOTION and GDK_DROP_START (Find C# references for these). The x coordinate of the pointer relative to the root of the screen, only set for GDK_DRAG_MOTION and GDK_DROP_START (Find C# references for these). None. Property 2.12.0.0 System.Int16 The y coordinate of the pointer relative to the root of the screen, only set for GDK_DRAG_MOTION and GDK_DROP_START (Find C# references for these). The y coordinate of the pointer relative to the root of the screen, only set for GDK_DRAG_MOTION and GDK_DROP_START (Find C# references for these). None. gtk-sharp-2.12.40/doc/en/Gdk/Region.xml0000664000175000017500000004241212767740535014347 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque Represents an area of the screen. Constructor 2.12.0.0 To be added Constructor 2.12.0.0 a To be added Property 2.12.0.0 Gdk.Rectangle To be added a Method 2.12.0.0 Gdk.Region To be added a Method 2.12.0.0 System.Obsolete("Gdk.Region is now freed automatically") System.Void To be added Method 2.12.0.0 System.Boolean To be added a Method 2.12.0.0 System.Boolean a To be added a Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 Gdk.Rectangle[] To be added a Method 2.12.0.0 System.Void a To be added Method 2.12.0.0 System.Void a a To be added Method 2.12.0.0 System.Boolean a a To be added a Method 2.12.0.0 Gdk.Region a a To be added a Method 2.12.0.0 Gdk.Region a To be added a Method 2.12.0.0 Gdk.OverlapType a To be added a Method 2.12.0.0 System.Void a a To be added Method 2.12.0.0 System.Void a a a a To be added Method 2.12.0.0 System.Void a To be added Method 2.12.0.0 System.Void a To be added Method 2.12.0.0 System.Void a To be added Method 2.12.0.0 System.Void a To be added gtk-sharp-2.12.40/doc/en/Gdk/Selection.xml0000664000175000017500000003622312767740535015054 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Information exchange through the Window Server selection mechanism. The X selection mechanism provides a way to transfer arbitrary chunks of data between programs. A selection is a essentially a named clipboard, identified by a string interned as a GdkAtom. By claiming ownership of a selection, an application indicates that it will be responsible for supplying its contents. The most common selections are PRIMARY and CLIPBOARD. The contents of a selection can be represented in a number of formats, called targets. Each target is identified by an atom. A list of all possible targets supported by the selection owner can be retrieved by requesting the special target TARGETS. When a selection is retrieved, the data is accompanied by a type (an atom), and a format (an integer, representing the number of bits per item). See Properties and Atoms for more information. The functions in this section only contain the lowlevel parts of the selection protocol. A considerably more complicated implementation is needed on top of this. GTK+ contains such an implementation in the functions in gtkselection.h and programmers should use those functions instead of the ones presented here. If you plan to implement selection handling directly on top of the functions here, you should refer to the X Inter-client Communication Conventions Manual (ICCCM). Constructor 2.12.0.0 To be added To be added Field 2.12.0.0 Gdk.Atom The atom representing the clipboard. Method 2.12.0.0 System.Void The An atom identifying the selection to get the contents of. the form in which to retrieve the selection. the timestamp to use when retrieving the selection. The selection owner may refuse the request if it did not own the selection at the time indicated by the timestamp. Retrieves the contents of a selection in a given form. Method 2.12.0.0 Gdk.Window an atom indentifying a selection. Determines the owner of the given selection. If there is a selection owner for this window, and it is a window known to the current process, the that owns the selection, otherwise . Note that the return value may be owned by a different process if a foreign window was previously created for that window, but a new foreign window will never be created by this call. Method 2.12.0.0 Gdk.Window The where the selection is an atom indentifying a selection. Determine the owner of the given selection. if there is a selection owner for this window, and it is a window known to the current process, the that owns the selection, otherwise Note that the return value may be owned by a different process if a foreign window was previously created for that window, but a new foreign window will never be created by this call. Method 2.12.0.0 System.Boolean a or NULL to indicate that the the owner for the given should be unset. An identifying a selection. timestamp to use when setting the selection. If this is older than the timestamp given last time the owner was set for the given selection, the request will be ignored. If and the new owner is different from the current owner, the current owner will be sent a SelectionClear event. Sets the owner of the given selection. if the selection owner was successfully changed to owner, otherwise Method 2.12.0.0 System.Boolean The a or NULL to indicate that the the owner for the given should be unset. An atom identifying a selection. Timestamp to use when setting the selection. If this is older than the timestamp given last time the owner was set for the given selection, the request will be ignored. if TRUE, and the new owner is different from the current owner, the current owner will be sent a SelectionClear event. Sets the owner as the current owner of the selection selection. TRUE if the selection owner was successfully changed to owner, otherwise FALSE. Field 2.12.0.0 Gdk.Atom An Atom representing the PRIMARY selection. Field 2.12.0.0 Gdk.Atom The atom for the secondary selection Method 2.12.0.0 System.Void window to which to deliver response. selection that was requested. target that was selected. property in which the selection owner stored the data, or GDK_NONE to indicate that the request was rejected. timestamp. Sends a response to SelectionRequest event. To be added Method 2.12.0.0 System.Void The window to which to deliver response. selection that was requested. target that was selected. property in which the selection owner stored the data, or GDK_NONE to indicate that the request was rejected. timestamp. Send a response to SelectionRequest event. To be added gtk-sharp-2.12.40/doc/en/Gdk/SpanFunc.xml0000664000175000017500000000170312767740535014637 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added To be added gtk-sharp-2.12.40/doc/en/Gdk/EventConfigure.xml0000664000175000017500000001014112767740535016041 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gdk.Event Generated when a window size or position has changed. Constructor 2.12.0.0 the raw unmanaged pointer. Internal constructor. This constructor is internal, and should not be used. Property 2.12.0.0 System.Int32 The new height of the window. The new height of the window. None. Property 2.12.0.0 System.Int32 The new width of the window. The new width of the window. None. Property 2.12.0.0 System.Int32 The new x coordinate of the window, relative to its parent. The new x coordinate of the window, relative to its parent. None. Property 2.12.0.0 System.Int32 The new y coordinate of the window, relative to the parent. The new y coordinate of the window, relative to its parent. None. gtk-sharp-2.12.40/doc/en/Gdk/EventOwnerChange.xml0000664000175000017500000001302412767740535016323 00000000000000 gdk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gdk.Event To be added To be added Constructor 2.12.0.0 To be added. To be added. To be added. Method Gdk.EventOwnerChange To be added a a To be added Property 2.12.0.0 System.UInt32 To be added. To be added. To be added. Property 2.12.0.0 Gdk.OwnerChange To be added. To be added. To be added. Property 2.12.0.0 Gdk.Atom To be added. To be added. To be added. Property 2.12.0.0 System.UInt32 To be added. To be added. To be added. Property 2.12.0.0 System.UInt32 To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gdk/Device.xml0000664000175000017500000004001212767740535014315 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object This class contains a detailed description of an extended input device. None. Constructor 2.12.0.0 Internal constructor. None. Constructor 2.12.0.0 System.Obsolete a Internal constructor This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 Gdk.Device Returns the core pointer device for the default display. the core pointer device. None. Method 2.12.0.0 System.Boolean a a a To be added a To be added Method 2.12.0.0 Gdk.DeviceAxis a To be added a To be added Method 2.12.0.0 Gdk.DeviceKey a To be added a To be added Method 2.12.0.0 Gdk.TimeCoord[] a a a To be added a To be added Method 2.12.0.0 System.Void a a a To be added To be added Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.Boolean To be added a To be added Property 2.12.0.0 Gdk.InputMode To be added a To be added Property 2.12.0.0 System.String To be added a To be added Property 2.12.0.0 System.Int32 To be added a To be added Property 2.12.0.0 System.Int32 To be added a To be added Method 2.12.0.0 System.Void a a To be added To be added Method 2.12.0.0 System.Void a a a To be added To be added Method 2.12.0.0 System.Boolean To be added: an object of type 'Gdk.InputMode' To be added To be added: an object of type 'bool' To be added Property 2.12.0.0 Gdk.InputSource To be added a To be added gtk-sharp-2.12.40/doc/en/Gdk/WindowHints.xml0000664000175000017500000001544512767740535015407 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.WindowHintsGType)) System.Flags Used to indicate which fields of a struct should be paid attention to. Also, the presence/absence of Pos, UserPos, and UserSize is significant, though they don't directly refer to GdkGeometry fields. UserPos will be set automatically by GtkWindow if you call . UserPos and UserSize should be set if the user specified a size/position using a --geometry command-line argument; automatically sets these flags. Field 2.12.0.0 Gdk.WindowHints Aspect ratio fields are set. Field 2.12.0.0 Gdk.WindowHints Base size fields are set. Field 2.12.0.0 Gdk.WindowHints Max size fields are set. Field 2.12.0.0 Gdk.WindowHints Min size fields are set. Field 2.12.0.0 Gdk.WindowHints Indicates that the program has positioned the window. Field 2.12.0.0 Gdk.WindowHints Resize increment fields are set. Field 2.12.0.0 Gdk.WindowHints Indicates that the window's poition was explicitly set by the user. Field 2.12.0.0 Gdk.WindowHints Indicates that the window's size was explicitly set by the user. Field 2.12.0.0 Gdk.WindowHints Window gravity field is set. gtk-sharp-2.12.40/doc/en/Gdk/Char.xml0000664000175000017500000001423712767740535014005 00000000000000 gdk-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added To be added Constructor 2.12.0.0 To be added To be added Method 2.12.0.0 System.Obsolete System.Int32 a a To be added a To be added Method 2.12.0.0 System.Obsolete System.Int32 a a To be added a To be added Method 2.12.0.0 System.Obsolete System.Int32 a a To be added a To be added Method 2.12.0.0 System.Obsolete System.Int32 a a To be added a To be added gtk-sharp-2.12.40/doc/en/Gdk/EventFocus.xml0000664000175000017500000000432412767740535015205 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gdk.Event Describes a change of keyboard focus. Constructor 2.12.0.0 raw unmanaged pointer. Internal constructor. None. Property 2.12.0.0 System.Boolean True if the window has gained the keyboard focus, false if it has lost the focus. True if the window has gained the keyboard focus, false if it has lost the focus. None. gtk-sharp-2.12.40/doc/en/Gdk/WindowType.xml0000664000175000017500000001114312767740535015232 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.WindowTypeGType)) Describes the kind of window. None. Field 2.12.0.0 Gdk.WindowType Child window. This is used to implement child widgets, for example Field 2.12.0.0 Gdk.WindowType Useless/deprecated compatibility type. None. Field 2.12.0.0 Gdk.WindowType Foreign window. See . Field 2.12.0.0 Gdk.WindowType Root window; this window has no parent, covers the entire screen, and is created by the window system None. Field 2.12.0.0 Gdk.WindowType Override redirect temporary window. Used to implement Field 2.12.0.0 Gdk.WindowType Toplevel window. This is used to implement . gtk-sharp-2.12.40/doc/en/Gdk/Rgb.xml0000664000175000017500000003465412767740535013647 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Gdk's is a low-level module which renders RGB, grayscale, and indexed colormap images to a . It does this as efficiently as possible, handling issues such as colormaps, visuals, dithering, temporary buffers, and so on. Most code should use the higher-level GdkPixbuf features in place of this module; for example, gdk_pixbuf_render_to_drawable() uses GdkRGB in its implementation. GdkRGB allocates a color cube to use when rendering images. You can set the threshold for installing colormaps with the Gdk. property. The default is 5x5x5 (125). If a colorcube of this size or larger can be allocated in the default colormap, then that's done. Otherwise, GdkRGB creates its own private colormap. Setting it to 0 means that it always tries to use the default colormap, and setting it to 216 means that it always creates a private one if it cannot allocate the 6x6x6 colormap in the default. If you always want a private colormap (to avoid consuming too many colormap entries for other apps, say), you can use gdk_rgb_set_install(TRUE). Setting the value greater than 216 exercises a bug in older versions of GdkRGB. Note, however, that setting it to 0 doesn't let you get away with ignoring the colormap and visual - a colormap is always created in grayscale and direct color modes, and the visual is changed in cases where a "better" visual than the default is available. Constructor 2.12.0.0 Basic constructor. Property 2.12.0.0 Gdk.Colormap Get preferred colormap for using Gdk.RGB The preferred . Get the preferred colormap for rendering image data. Not a very useful function; historically, GDK could only render RGB image data to one colormap and visual, but in the current version it can render to any colormap and visual. So there's no need to call this function. Method 2.12.0.0 System.Boolean a To be added a To be added Method 2.12.0.0 System.Boolean Whether the visual in use by GdkRGB is dithereable. if the visual is ditherable. Determines whether the visual is ditherable. This function may be useful for presenting a user interface choice to the user about which dither mode is desired; if the display is not ditherable, it may make sense to gray out or hide the corresponding UI widget. Method 2.12.0.0 System.Void Tthe colormap for the graphics context and drawable you're using to draw. If you're drawing to a , use the property. Color should have its red, green, and blue fields initialized. Fetches a color to be used on the given colormap. This routine will fill in the pixel field with the best matching pixel from a color cube. The color is then ready to be used for drawing, e.g. you can use which expects the pixel to be initialized. In many cases, you can avoid this whole issue by setting the or , which do not expect pixel to be initialized in advance. If you use those functions, there's no need for using FindColor. Method 2.12.0.0 System.Obsolete System.Void a a To be added To be added Method 2.12.0.0 System.Obsolete System.Void a a To be added To be added Method 2.12.0.0 System.Obsolete System.Void To be added To be added Property 2.12.0.0 System.Boolean Whether to install a private colormap for Gdk.RGB a If the value is , it directs GdkRGB to always install a new "private" colormap rather than trying to find a best fit with the colors already allocated. Ordinarily, GdkRGB will install a colormap only if a sufficient cube cannot be allocated. A private colormap has more colors, leading to better quality display, but also leads to the dreaded "colormap flashing" effect. Property 2.12.0.0 System.Int32 The minimum number of colors for this colormap. a Sets the minimum number of colors for the color cube. Generally, GdkRGB tries to allocate the largest color cube it can. If it can't allocate a color cube at least as large as min_colors, it installs a private colormap. Property 2.12.0.0 System.Boolean Whether or not to be verbose to the console about actions. Useful for debugging. a Property 2.12.0.0 Gdk.Visual The preferred visual for GdkRGB operations. a Gets a "preferred visual" chosen by GdkRGB for rendering image data on the default screen. In previous versions of GDK, this was the only visual GdkRGB could use for rendering. In current versions, it's simply the visual GdkRGB would have chosen as the optimal one in those previous versions. GdkRGB can now render to drawables with any visual. Method 2.12.0.0 System.Obsolete System.UInt64 a To be added a To be added gtk-sharp-2.12.40/doc/en/Gdk/Pixmap.xml0000664000175000017500000006510012767740535014361 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gdk.Drawable Offscreen drawable. Pixmaps are offscreen drawables that reside on the server on the X11 platform. They can be drawn upon with the standard drawing primitives, then copied to another drawable (such as a ) with . The depth of a pixmap is the number of bits per pixels. Bitmaps are simply pixmaps with a depth of 1. (That is, they are monochrome bitmaps - each pixel can be either on or off). For client-side images, see the class. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 A , used to determine default values for the new pixmap. The width of the new pixmap in pixels. The height of the new pixmap in pixels. Create a new pixmap using a reference drawable for depth. Creates a new pixmap with a given size and depth. Constructor 2.12.0.0 A , used to determine default values for the new pixmap. Can be if is specified The width of the new pixmap in pixels. The height of the new pixmap in pixels. The depth (number of bits per pixel) of the new pixmap. If -1, and drawable is not , the depth of the new pixmap will be equal to that of drawable. Creates a new pixmap with the given size and depth. Create a new pixmap with a given size and depth. Method 2.12.0.0 Gdk.Pixmap a a a To be added a To be added Method 2.12.0.0 Gdk.Pixmap a a a a a Create a pixmap from an XPM file using a specific colormap. a To be added Method 2.12.0.0 Gdk.Pixmap a a a To be added a To be added Method 2.12.0.0 Gdk.Pixmap a a a a an array of , defining an image in XPM format Create a pixmap from XPM data using a colormap. a To be added Method 2.12.0.0 Gdk.Pixmap A , used to determine default values for the new pixmap. A string representing the XBM data. The width of the new pixmap in pixels. The height of the new pixmap in pixels. Creates a new bitmap from data in XBM format. The bitmap. None. Method 2.12.0.0 Gdk.Pixmap a a a a a a a To be added a To be added Method 2.12.0.0 Gdk.Pixmap a a To be added a To be added Method 2.12.0.0 Gdk.Pixmap a a a a Create a pixmap from an XPM file. a To be added Method 2.12.0.0 Gdk.Pixmap a a To be added a To be added Method 2.12.0.0 Gdk.Pixmap a a a an array of , defining an XPM image Create a pixmap from XPM data. a To be added Method 2.12.0.0 Gdk.Pixmap a native pixmap handle. Wraps a native window for the default display in a . This may fail if the pixmap has been destroyed. The newly-created wrapper for the native pixmap or if the pixmap has been destroyed. Wraps a native window for the default display in a GdkPixmap. This may fail if the pixmap has been destroyed. For example in the X backend, a native pixmap handle is an Xlib XID. Method 2.12.0.0 Gdk.Pixmap The where the pixmap is located. a native pixmap handle. Wraps a native pixmap in a . This may fail if the pixmap has been destroyed. The newly-created wrapper for the native pixmap or if the pixmap has been destroyed. Wraps a native pixmap in a GdkPixmap. This may fail if the pixmap has been destroyed. For example in the X backend, a native pixmap handle is an Xlib XID. Method 2.12.0.0 Gdk.Pixmap the desired screen. Native pixmap handle, for example, an xlib XID. Width of pixmap . Height of pixmap . Depth of pixmap . Wraps a native Pixmap for a screen. a wrapping the native ID, or if the native pixmap is destroyed. Use this method as an alternative to when the dimensions and screen are known, which saves a roundtrip to the server on X. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 Gdk.Pixmap a native pixmap handle. Looks up the that wraps the given native pixmap handle. the wrapper for the native window, or if there is none. Looks up the GdkPixmap that wraps the given native pixmap handle. For example in the X backend, a native pixmap handle is an Xlib XID. Method 2.12.0.0 Gdk.Pixmap a a To be added a To be added gtk-sharp-2.12.40/doc/en/Gdk/Geometry.xml0000664000175000017500000002045012767740535014715 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 System.Double To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 System.Double To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Method 2.12.0.0 Gdk.Geometry To be added: an object of type 'IntPtr' To be added To be added: an object of type 'Gdk.Geometry' To be added Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 Gdk.Gravity To be added To be added Field 2.12.0.0 Gdk.Geometry To be added To be added gtk-sharp-2.12.40/doc/en/Gdk/DisplayOpenedHandler.xml0000664000175000017500000000317312767740535017163 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DisplayOpenedHandler instance to the event. The methods referenced by the DisplayOpenedHandler instance are invoked whenever the event is raised, until the DisplayOpenedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gdk/ClosedArgs.xml0000664000175000017500000000442612767740535015155 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.12.0.0 System.Boolean Returns true if the display was closed due to an error. True if the display was closed due to an error. None. gtk-sharp-2.12.40/doc/en/Gdk/DragContext.xml0000664000175000017500000002706112767740535015351 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object This holds information about a drag in progress. It is used on both source and destination sides. None. Constructor 2.12.0.0 Default constructor. None. Constructor 2.12.0.0 System.Obsolete a Internal constructor This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 Gdk.DragAction The action chosen by the destination. The chosen by the destination. None. Property 2.12.0.0 Gdk.DragAction Various actions proposed by the source when the is Various actions proposed by the source when the is None. Property 2.12.0.0 Gdk.Window The destination window of this drag. The destination window of this drag. None. Property 2.12.0.0 Gdk.DragProtocol The DND protocol that governs this drag. The DND protocol which governs this drag. None. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.Boolean True if the context is used on the source side. True if the context is used on the source side. None. Method 2.12.0.0 System.Obsolete System.Void To be added To be added Property 2.12.0.0 Gdk.Window The source of this drag. The source of this drag. None. Property 2.12.0.0 System.UInt32 A timestamp, in milliseconds, recording the start time of this drag. A timestamp, in milliseconds, recording the start time of this drag. None. Property 2.12.0.0 Gdk.DragAction The action suggested by the source. The suggested by the source. None. Property 2.12.0.0 Gdk.Atom[] A list of targets offered by the source. A list of targets offered by the source. None. Method 2.12.0.0 System.Obsolete System.Void To be added To be added gtk-sharp-2.12.40/doc/en/Gdk/EventProximity.xml0000664000175000017500000000644612767740535016141 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gdk.Event Proximity events are generated when using GDK's wrapper for the XInput extension. Proximity events are generated when using GDK's wrapper for the XInput extension. The XInput extension is an add-on for standard X that allows you to use nonstandard devices such as graphics tablets. A proximity event indicates that the stylus has moved in or out of contact with the tablet, or perhaps that the user's finger has moved in or out of contact with a touch screen. Constructor 2.12.0.0 raw unmanaged pointer. Internal constructor. None. Property 2.12.0.0 Gdk.Device The device where the event originated. The device where the event originated. None. Property 2.12.0.0 System.UInt32 The time of the event in milliseconds. The time of the event in milliseconds. None. gtk-sharp-2.12.40/doc/en/Gdk/Pointer.xml0000664000175000017500000001343312767740535014545 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Class containing static methods for grabbing and ungrabbing the pointer as well as checking IsGrabbed status. Constructor 2.12.0.0 Default constructor. Class contains only static methods. Method 2.12.0.0 Gdk.GrabStatus a a a a a a Try to grab pointer. Returns enumeratioion value. a Method 2.12.0.0 System.Boolean a a a To be added a To be added Property 2.12.0.0 System.Boolean Readonly property indicating if pointer is grabbed. a Method 2.12.0.0 System.Void a Ungrab the pointer. gtk-sharp-2.12.40/doc/en/Gdk/ScanLineList.xml0000664000175000017500000000303412767740535015451 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque To be added To be added Constructor 2.12.0.0 a To be added To be added gtk-sharp-2.12.40/doc/en/Gdk/Font.xml0000664000175000017500000003335312767740535014036 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType System.Obsolete To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Property 2.12.0.0 Gdk.Display To be added a To be added Method 2.12.0.0 System.Boolean a To be added a To be added Method 2.12.0.0 Gdk.Font a To be added a To be added Method 2.12.0.0 Gdk.Font a a To be added a To be added Property 2.12.0.0 GLib.GType To be added a To be added Method 2.12.0.0 System.Int32 To be added a To be added Method 2.12.0.0 Gdk.Font a To be added a To be added Method 2.12.0.0 Gdk.Font a a To be added a To be added Method 2.12.0.0 Gdk.Font a To be added a To be added Method 2.12.0.0 GLib.Value To be added. To be added. To be added. To be added. Method 2.12.0.0 Gdk.Font To be added. To be added. To be added. To be added. Method 2.12.0.0 Gdk.Font To be added a To be added Field 2.12.0.0 Gdk.FontType To be added To be added Method 2.12.0.0 System.Void To be added To be added Field 2.12.0.0 Gdk.Font To be added To be added gtk-sharp-2.12.40/doc/en/Gdk/EventVisibility.xml0000664000175000017500000000730612767740535016260 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gdk.Event Generated when the window visibility status has changed. The type member is set to the event type constant name that uniquely identifies it. Constructor 2.12.0.0 raw unmanaged pointer. Internal constructor. None. Property 2.12.0.0 Gdk.VisibilityState The visibility state for the window. a The state member is set to the state of the window's visibility and can be VisibilityUnobscured, VisibilityPartiallyObscured, or VisibilityFullyObscured. The X server ignores all of a window's subwindows when determining the visibility state of the window and processes VisibilityNotify events according to the following: When the window changes state from partially obscured, fully obscured, or not viewable to viewable and completely unobscured, the X server generates the event with the state member of the EventVisibility structure set to Gdk.Visibility.Unobscured. When the window changes state from viewable and completely unob- scured or not viewable to viewable and partially obscured, the X server generates the event with the state member of the XVisibili- tyEvent structure set to Gdk.Visibility.Partial. When the window changes state from viewable and completely unobscured, viewable and partially obscured, or not viewable to viewable and fully obscured, the X server generates the event with the state member of the XVisibilityEvent structure set to Gdk.Visibility.FullyObscured. gtk-sharp-2.12.40/doc/en/Gdk/Event.xml0000664000175000017500000001564012767740535014210 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object GLib.IWrapper This object contains the fields that are common to all Event classes. Any Gdk.Event* can be safely cast to a Gdk.Event This class is equivalent to the GdkEventAny structure in the C API. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 Gdk.Event a Gets an Event or Event subclass for a native event pointer. a Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 System.IntPtr IntPtr for the unmanaged structure. The to the unmanaged GdkEvent structure. This property should rarely if ever need to be accessed. Method 2.12.0.0 Gdk.Event Native event pointer. Creates a managed event from a native pointer. A managed event instance. Property 2.12.0.0 System.Boolean true if the event was sent explicitly (e.g. using XSendEvent). true if the event was sent explicitly (e.g. using XSendEvent). None. Property 2.12.0.0 Gdk.EventType the type of the event. the type of the event. None. Property 2.12.0.0 Gdk.Window The window which received the event. The window which received the event. This is a not a . gtk-sharp-2.12.40/doc/en/Gdk/PixbufLoader.xml0000664000175000017500000010365612767740535015520 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object PixbufLoader is a 'passive' pixbuf loader. It's not actively read pix buf data, but 'listen' for incoming data instead. It's useful in a case where you want to read the image data in small chunks. Typical use of PixbufLoader is when you want to read a very large image data or reading image from a slow media (such as a slow network connection). You can see the "Images" section of GtkDemo to learn how to use PixbufLoader. using System; using System.IO; using Gtk; using Gdk; namespace GtkDemo { public class PixbufLoaderSample : Gtk.Window { static Gdk.PixbufLoader pixbufLoader; private uint timeout_id; private static Gtk.Image progressiveImage; private VBox vbox; BinaryReader imageStream; static void Main () { Application.Init (); new PixbufLoaderSample (); Application.Run (); } public PixbufLoaderSample () : base ("images") { this.DeleteEvent += new DeleteEventHandler (WindowDelete); this.BorderWidth = 8; vbox = new VBox (false, 8); vbox.BorderWidth = 8; this.Add (vbox); Label label = new Gtk.Label ("Progressive image loading"); label.UseMarkup = true; vbox.PackStart (label); Gtk.Frame frame = new Gtk.Frame (); frame.ShadowType = ShadowType.In; Alignment alignment = new Alignment (0.5f, 0.5f, 0f, 0f); alignment.Add (frame); vbox.PackStart (alignment, false, false, 0); // Create an empty image for now; the progressive loader // will create the pixbuf and fill it in. progressiveImage = new Gtk.Image (); frame.Add (progressiveImage); StartProgressiveLoading (); this.ShowAll (); } private void WindowDelete (object o, DeleteEventArgs args) { this.Hide (); this.Destroy (); args.RetVal = true; } private void StartProgressiveLoading () { /* This is obviously totally contrived (we slow down loading * on purpose to show how incremental loading works). * The real purpose of incremental loading is the case where * you are reading data from a slow source such as the network. * The timeout simply simulates a slow data source by inserting * pauses in the reading process. */ timeout_id = GLib.Timeout.Add (150, new GLib.TimeoutHandler (ProgressiveTimeout)); } private bool ProgressiveTimeout () { if (imageStream == null) { // note you need to provide your own image // at that location to run this sample imageStream = new BinaryReader (new StreamReader ("images/alphatest.png").BaseStream); pixbufLoader = new Gdk.PixbufLoader (); pixbufLoader.AreaPrepared += new EventHandler (ProgressivePreparedCallback); pixbufLoader.AreaUpdated += new AreaUpdatedHandler (ProgressiveUpdatedCallback); } if (imageStream.PeekChar () != -1) { byte[] bytes = imageStream.ReadBytes (256); pixbufLoader.Write (bytes, (uint) bytes.Length); return true; // leave the timeout active } else { imageStream.Close (); return false; // removes the timeout } } static void ProgressivePreparedCallback (object obj, EventArgs args) { Gdk.Pixbuf pixbuf = pixbufLoader.Pixbuf; pixbuf.Fill (0xaaaaaaff); progressiveImage.FromPixbuf = pixbuf; } static void ProgressiveUpdatedCallback (object obj, AreaUpdatedArgs args) { progressiveImage.QueueDraw (); } } } Constructor 2.12.0.0 Default constructor Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 The containing the image. Loads a Pixbuf in a buffer. See also Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 a containing the image. Loads a Pixbuf from a . See also Constructor 2.12.0.0 a To be added To be added Constructor 2.12.0.0 The that contains the image. If the value is , the image will be looked up on the calling assembly. The name given as the resource in the assembly. Loads a Pixbuf embedded in an assembly. See also Constructor 2.12.0.0 The containing the image. The required width of the pixbuf. The required height of the pixbuf. Loads a Pixbuf in a buffer with a specific size. See also Constructor 2.12.0.0 a containing the image. a specifying the required width. a specifying the required height. Loads a Pixbuf from a , creating it with a specific size. See also Constructor 2.12.0.0 a a a To be added To be added Constructor 2.12.0.0 The that contains the image. If the value is , the image will be looked up on the calling assembly. The name given as the resource in the assembly. The required width of the pixbuf. The required height of the pixbuf. Loads a Pixbuf embedded in an assembly with a specific size. See also Property 2.12.0.0 Gdk.PixbufAnimation To be added an object of type To be added Event 2.12.0.0 GLib.Signal("area_prepared") System.EventHandler Emitted when the area of the PixbufLoader is prepared. Event 2.12.0.0 GLib.Signal("area_updated") Gdk.AreaUpdatedHandler Emitted when the area of the PixbufLoader is updated with data. Method 2.12.0.0 System.Boolean Closes the loader. returns true on successful close and false on error. During the close, PixbufLoader will parse any data that has not been parsed. If the data is incomplete or corrupted, this method will return false. Event 2.12.0.0 GLib.Signal("closed") System.EventHandler Emitted when the PixbufLoader is closed. Property 2.12.0.0 Gdk.PixbufFormat To be added a To be added Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 Gdk.PixbufLoader the name of the resource Loads a pixbuf from a resource file. a This creates a pixbuf loader to load from a resource in the calling assembly. This is equivalent to using the constructor with a assembly. Method 2.12.0.0 Gdk.PixbufLoader a To be added a To be added Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideAreaPrepared", Type=typeof(Gdk.PixbufLoader)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideAreaUpdated", Type=typeof(Gdk.PixbufLoader)) System.Void a a a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideClosed", Type=typeof(Gdk.PixbufLoader)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSizePrepared", Type=typeof(Gdk.PixbufLoader)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 2.12.0.0 Gdk.Pixbuf The Pixbuf that is being loaded. an object of type Method 2.12.0.0 System.Void a a Set the size of the image that will be loaded. Event 2.12.0.0 GLib.Signal("size_prepared") Gdk.SizePreparedHandler Emitted when the PixbufLoader has prepared its size. Method 2.12.0.0 System.Boolean a Parses the bytes into the image data. a This is an overload to , which determines the length automatically. Method 2.12.0.0 System.Obsolete("Replaced by Write (byte[], ulong) for 64 bit portability") System.Boolean a a Writes a Pixbuf to a buffer. a This overload is obsolete and has been replaced by a ulong version for 64 bit compatibility. Method 2.12.0.0 System.Boolean array of bytes buffer to parse. number of bytes to parse. Parses the next count bytes of image data from buffer buf. returns true if data was parsed and loaded succesfully. If the return value is false, the PixbufLoader will be closed. gtk-sharp-2.12.40/doc/en/Gdk/ScanLineListBlock.xml0000664000175000017500000000306512767740535016430 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque To be added To be added Constructor 2.12.0.0 a To be added To be added gtk-sharp-2.12.40/doc/en/Gdk/Window.xml0000664000175000017500000034100012767740535014366 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gdk.Drawable Onscreen display area in the target window system. A is a rectangular region on the screen. It's a low-level object, used to implement high-level objects such as and on the GTK+ level. A is a toplevel window, the thing a user might think of as a "window" with a titlebar and so on; a may contain many s. For example, each has a associated with it. Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 a a a Basic constructor Constructor 2.12.0.0 A A A Basic constructor The type of the parameter in this auto-generated constructor is incorrect. You would normally want to use the overloaded constructor that takes a . Property 2.12.0.0 System.Boolean To be added a To be added Method 2.12.0.0 System.Void A Adds an event filter to this window, allowing you to intercept events before they reach GDK. This is a low-level operation and makes it easy to break GDK and/or GTK+, so you have to know what you're doing. Pass for this window to get all events for all windows, instead of events for a specific window. Method 2.12.0.0 System.Void a Adds an event filtering function for all Windows. It is possible to do significant damage to Gdk's built in event processing using this capability if used improperly. Method 2.12.0.0 Gdk.Window a a To be added a Property 2.12.0.0 Gdk.Color Sets the background color for the window. A Sets the background color of window. (However, when using GTK+, set the background of a widget with - if you're an application - or - if you're implementing a custom widget. The color must be allocated; Method 2.12.0.0 System.Void Emits a short beep. Method 2.12.0.0 System.Void A , the button being used to drag A , root window X coordinate of mouse click that began the drag A m root window Y coordinate of mouse click that began the drag A , timestamp of mouse click that began the drag Begins a window move operation (for a toplevel window). You might use this function to implement a "window move grip," for example. The function works best with window managers that support the Extended Window Manager Hints spec (see http://www.freedesktop.org), but has a fallback implementation for other window managers. Method 2.12.0.0 System.Void A A convenience wrapper around () which creates a rectangular region for you. See () for details. Method 2.12.0.0 System.Void A Indicates that you are beginning the process of redrawing @region.

A backing store (offscreen buffer) large enough to contain will be created. The backing store will be initialized with the background color or background pixmap for this window. Then, all drawing operations performed on this window will be diverted to the backing store. When you call , the backing store will be copied to this window, making it visible onscreen. Only the part of this window contained in will be modified; that is, drawing operations are clipped to .

The net result of all this is to remove flicker, because the user sees the finished product appear all at once when you call . If you draw to the window directly without calling , the user may see flicker as individual drawing operations are performed in sequence. The clipping and background-initializing features of are conveniences for the programmer, so you can avoid doing that work yourself.

When using GTK+, the widget system automatically places calls to and around emissions of the expose_event signal. That is, if you're writing an expose event handler, you can assume that the exposed area in #GdkEventExpose has already been cleared to the window background, is already set as the clip region, and already has a backing store. Therefore in most cases, application code need not call . (You can disable the automatic calls around expose events on a widget-by-widget basis by calling gtk_widget_set_double_buffered().)

If you call this function multiple times before calling the matching , the backing stores are pushed onto a stack. copies the topmost backing store onscreen, subtracts the topmost region from all other regions in the stack, and pops the stack. All drawing operations affect only the topmost backing store in the stack. One matching call to is required for each call to .

Method 2.12.0.0 System.Void A A A A A Begins a window resize operation (for a toplevel window). You might use this function to implement a "window resize grip," for example; in fact uses it. The function works best with window managers that support the Extended Window Manager Hints spec (see http://www.freedesktop.org), but has a fallback implementation for other window managers. Property 2.12.0.0 Gdk.Window[] Gets the children of window known to Gdk. The array of windows. This function only returns children created via GDK, so for example it's useless when used with the root window; it only returns windows an application created itself. Method 2.12.0.0 System.Void Clears the entire window to the background color or background pixmap. Method 2.12.0.0 System.Void a a To be added Method 2.12.0.0 System.Void A , x coordinate of rectangle to clear A , y coordinate of rectangle to clear A , width of rectangle to clear A , height of rectangle to clear Clears an area of this window to the background color or background pixmap. Method 2.12.0.0 System.Void A , x coordinate of rectangle to clear A , y coordinate of rectangle to clear A , width of rectangle to clear A , height of rectangle to clear Like , but also generates an expose event for the cleared area. This function has a stupid name because it dates back to the mists time, pre-GDK-1.0. Property 2.12.0.0 System.Boolean Sets Composited indicator of window. If window is composited. Composited windows are not automatically drawn to the screen, but are instead rendered to an offscreen buffer and an expose event is sent to the window's parent. Method 2.12.0.0 System.Void To be added To be added Method 2.12.0.0 System.Void a a a a a a To be added Property 2.12.0.0 Gdk.Cursor Sets the cursor for the window. Sets the mouse pointer for a . To make the cursor invisible, use pixmap constructor for the cursor to create a cursor with no pixels in it. Passing for the cursor argument to this property means that window will use the cursor of its parent window. Most windows should use this default. Property 2.12.0.0 System.Boolean For debugging use only. A Method 2.12.0.0 System.Void Attempt to deiconify (unminimize) this window. On X11 the window manager may choose to ignore the request to deiconify. When using GTK+, use instead of the variant. Or better yet, you probably want to use , which raises the window, focuses it, unminimizes it, and puts it on the current desktop. Method 2.12.0.0 System.Void Destroys the window system resources associated with this window and decrements this window's reference count. The window system resources for all children of this window are also destroyed, but the children's reference counts are not decremented. Note that a window will not be destroyed automatically when its reference count reaches zero. You must call this function yourself before that happens. Method 2.12.0.0 System.Void To be added To be added Method 2.12.0.0 System.Void Indicates that the backing store created by the most recent call to () should be copied onscreen and deleted, leaving the next-most-recent backing store or no backing store at all as the active paint region. See () for full details. It is an error to call this function without a matching () first. Property 2.12.0.0 Gdk.EventMask To be added A Method 2.12.0.0 System.Void A , timestamp of the event calling this method Sets keyboard focus to this window. If the window is not onscreen this will not work. In most cases, should be used on a , rather than calling this function. Property 2.12.0.0 System.Boolean To be added a To be added Method 2.12.0.0 Gdk.Window A For internal use only. Wraps a native window for the default display in a . This may fail if the window has been destroyed. A Method 2.12.0.0 Gdk.Window a a To be added a Property 2.12.0.0 Gdk.Rectangle Obtains the bounding box of the window. a Area includes window manager titlebar/borders if any. The frame position is given in root window coordinates. To get the position of the window itself (rather than the frame) in root window coordinates, use . Method 2.12.0.0 System.Void Temporarily freezes a window such that it won't receive expose events. The window will begin receiving expose events again when is called. If has been called more than once, must be called an equal number of times to begin processing exposes. Method 2.12.0.0 System.Void To be added Property 2.12.0.0 Gdk.WMFunction To be added A Method 2.12.0.0 System.Boolean a to put the decorations in Returns the decorations set on the window with . a , true if the window has decorations set, false otherwise. Method 2.12.0.0 System.Obsolete System.Boolean a a To be added a To be added Method 2.12.0.0 System.Void a a a a a To be added Method 2.12.0.0 System.Void a a a To be added Method 2.12.0.0 System.Int32 a a To be added a Method 2.12.0.0 Gdk.Window A A A To be added A Method 2.12.0.0 System.Void a a To be added Method 2.12.0.0 System.Void a a To be added Property 2.12.0.0 Gdk.Window To be added a To be added Method 2.12.0.0 System.Void For toplevel windows, withdraws them, so they will no longer be known to the window manager; for all windows, unmaps them, so they won't be displayed. Normally done automatically as part of . Method 2.12.0.0 System.Void Asks to iconify (minimize) the window. The window manager may choose to ignore the request, but normally will honor it. Using is preferred, if you have a widget. This function only makes sense when this window is a toplevel window. Property 2.12.0.0 Gdk.Pixbuf[] To be added a Property 2.12.0.0 System.String To be added A Method 2.12.0.0 System.Void a containing the mask. x offset within the Window. y offset within the Window. Applies an Input shape mask to the Window. Depends on optional features within the windowing environment. If those features aren't supporting the method has no effect. Method 2.12.0.0 System.Void a containing the desired input mask. x offset within the Window. y offset within the Window. Applies an Input shape region to the Window. Depends on optional features within the windowing environment. If those features aren't supporting the method has no effect. Method 2.12.0.0 System.Void A Function to use to decide if to recurse to a child. means never recurse. Adds a region to the update area for a window and some of its children

Adds to the update area for the window. The update area is the region that needs to be redrawn, or "dirty region." The call sends one or more expose events to the window, which together cover the entire update area. An application would normally redraw the contents of the whole window in response to those expose events.

GDK will call on your behalf whenever your program returns to the main loop and becomes idle, so normally there's no need to do that manually, you just need to invalidate regions that you know should be redrawn.

The parameter controls whether the region of each child window that intersects will also be invalidated. Only children for which returns will have the area invalidated.

Method 2.12.0.0 System.Void A A , whether to invalidate child windows A convenience wrapper around which invalidates a rectangular region. See for details. Method 2.12.0.0 System.Void A A Adds to the update area for the window. The update area is the region that needs to be redrawn, or "dirty region."

The call sends one or more expose events to the window, which together cover the entire update area. An application would normally redraw the contents of in response to those expose events.

GDK will call on your behalf whenever your program returns to the main loop and becomes idle, so normally there's no need to do that manually, you just need to invalidate regions that you know should be redrawn.

The parameter controls whether the region of each child window that intersects will also be invalidated. If , then the update area for child windows will remain unaffected. See if you need fine grained control over which children are invalidated.

Property 2.12.0.0 System.Boolean To be added a Property 2.12.0.0 System.Boolean To be added a Property 2.12.0.0 System.Boolean To be added a To be added Property 2.12.0.0 System.Boolean To be added a To be added Method 2.12.0.0 Gdk.Window A , a native window ID. For internal use only. Looks up the Window that wraps the given native window handle. A Method 2.12.0.0 Gdk.Window a a To be added a Method 2.12.0.0 System.Void

Lowers this window to the bottom of the Z-order (stacking order), so that other windows with the same parent window appear above this window. This is true whether or not the other windows are visible.

If this window is a toplevel, the window manager may choose to deny the request to move the window in the Z-order, only requests the restack, but does not guarantee it.

Note that raises the window again, so don't call this function before . (Try .)

Method 2.12.0.0 System.Void Maximizes the window. If the window was already maximized, then this function does nothing.

On X11, asks the window manager to maximize the window, if the window manager supports this operation. Not all window managers support this, and some deliberately ignore it or don't have a concept of "maximized"; so you can't rely on the maximization actually happening. But it will happen with most standard window managers, and GDK makes a best effort to get it to happen.

On Windows, reliably maximizes the window.

Method 2.12.0.0 System.Void Merges the union of all child window masks into the Input mask. Includes the current window input mask. To ignore the parent mask, use . Method 2.12.0.0 System.Void

Merges the shape masks for any child windows into the shape mask for this window. i.e. the union of all masks for this window and its children will become the new mask for this window. See .

This function is distinct from because it includes this window's shape mask in the set of shapes to be merged.

Property 2.12.0.0 System.Boolean To be added A Method 2.12.0.0 System.Void A A Repositions a window relative to its parent window.

For toplevel windows, window managers may ignore or modify the move; you should probably use on a widget anyway, instead of using GDK functions. For child windows, the move will reliably succeed.

If you're also planning to resize the window, use to both move and resize simultaneously, for a nicer visual effect.

Method 2.12.0.0 System.Void The region to be moved. The offset in the X direction. The offset in the Y direction. Moves a region by a specified offset. The portions of that not covered by its new position are invalidated. Method 2.12.0.0 System.Void a To be added Method 2.12.0.0 System.Void A , new X position relative to window's parent A , new Y position relative to window's parent A , new width A , new height Equivalent to calling and in succession, except that both operations are performed at once, avoiding strange visual effects. (i.e. the user may be able to see the window first move, then resize, if you don't use this method.) Property 2.12.0.0 System.Double Opacity Property. A double between 0 and 1. Property 2.12.0.0 System.Boolean To be added A Property 2.12.0.0 Gdk.Window To be added A Method 2.12.0.0 System.Void Calls for all windows in the application. Method 2.12.0.0 System.Void A , whether to process updates for child windows Sends one or more expose events to the window. The areas in each expose event will cover the entire update area for the window (see for details). Normally GDK calls on your behalf, so there's no need to call this function unless you want to force expose events to be delivered immediately and synchronously (vs. the usual case, where GDK delivers them in an idle handler). Occasionally this is useful to produce nicer scrolling behavior, for example. Method 2.12.0.0 System.Void Raises the window to the top of the Z-order (stacking order), so that other windows with the same parent window appear below this window. This is true whether or not the windows are visible. If this window is a toplevel, the window manager may choose to deny the request to move the window in the Z-order. This method only requests the restack; it does not guarantee a restack. Method 2.12.0.0 System.Void To be added Method 2.12.0.0 System.Void A Remove a filter previously added with . Method 2.12.0.0 System.Void a Removes an event filtering function for all Windows. Method 2.12.0.0 System.Void A , new parent to move this window into A , X location inside the new parent A , Y location inside the new parent Reparents this window into the given . The window being reparented will be unmapped as a side effect. Method 2.12.0.0 System.Void A A To be added Property 2.12.0.0 System.String To be added A Method 2.12.0.0 System.Void A , amount to scroll in the X direction A , amount to scroll in the Y direction Scroll the contents of this window, both pixels and children, by the given amount. The window itself does not move. Portions of the window that the scroll operation brings in from offscreen areas are invalidated. The invalidated region may be bigger than what would strictly be necessary. (For X11, a minimum area will be invalidated if the window has no subwindows, or if the edges of the window's parent do not extend beyond the edges of the window. In other cases, a multi-step process is used to scroll the window which may produce temporary visual artifacts and unnecessary invalidations.) Method 2.12.0.0 System.Void A A Sets the background pixmap of this window. May also be used to set a background of "None" on this window, by setting a background pixmap of . A background pixmap will be tiled, positioning the first tile at the origin of this window, or if is true, the tiling will be done based on the origin of the parent window (useful to align tiles in a parent with tiles in a child).

A background pixmap of means that the window will have no background. A window with no background will never have its background filled by the windowing system, instead the window will contain whatever pixels were already in the corresponding area of the display.

The windowing system will normally fill a window with its background when the window is obscured then exposed, or when you call .

Method 2.12.0.0 System.Void Sets the input mask to the union of all child window masks. Ignores the windows own mask. If you wish to add the child window masks to the parent, use . Method 2.12.0.0 System.Void Sets the shape mask of this window to the union of shape masks for all children of the window, ignoring the shape mask of the window itself. Contrast with which includes the shape mask of the window in the masks to be merged. Method 2.12.0.0 System.Void A "Decorations" are the features the window manager adds to a toplevel . This function sets the traditional Motif window manager hints that tell the window manager which decorations you would like your window to have. Usually you should use on a instead of using the GDK function directly.

The argument is the logical OR of the fields in the enumeration. If is included in the mask, the other bits indicate which decorations should be turned off. If is not included, then the other bits indicate which decorations should be turned on.

Most window managers honor a decorations hint of 0 to disable all decorations, but very few honor all possible combinations of bits.

Method 2.12.0.0 System.Void A A Sets the geometry hints for this window. Hints flagged in are set, hints not flagged in are unset. To unset all hints, use a of 0 and a of .

This function provides hints to the windowing system about acceptable sizes for a toplevel window. The purpose of this is to constrain user resizing, but the windowing system will typically (but is not required to) also constrain the current size of the window to the provided values and constrain programatic resizing via or .

Note that on X11, this effect has no effect on windows of type GDK_WINDOW_TEMP or windows where override_redirect has been turned on via since these windows are not resizable by the user.

Since you can't count on the windowing system doing the constraints for programmatic resizes, you should generally call yourself to determine appropriate sizes.

Method 2.12.0.0 System.Obsolete System.Void a a a a a a a To be added To be added Method 2.12.0.0 System.Void A A mask bitmap Sets the icon of this window as a pixmap or window. If using GTK+, investigate first, and then and . If those don't meet your needs, look at . Only if all those are too high-level do you want to fall back to this method. Method 2.12.0.0 System.Boolean A Set the bit gravity of the given window to static, and flag it so all children get static subwindow gravity. This is used if you are implementing scary features that involve deep knowledge of the windowing system. Don't worry about it unless you have to. A , true if the server supports static gravity Method 2.12.0.0 System.Void A , a shape mask A , X position of shape mask with respect to this window A , Y position of shape mask with respect to this window

Applies a shape mask to this window. Pixels in this window corresponding to set bits in the will be visible; pixels in this window corresponding to unset bits in the will be transparent. This gives a non-rectangular window.

If is , the shape mask will be unset, and the / parameters are not used.

On the X11 platform, this uses an X server extension which is widely available on most common platforms, but not available on very old X servers, and occasionally the implementation will be buggy. On servers without the shape extension, this function will do nothing.

This function works on both toplevel and child windows.

Method 2.12.0.0 System.Void A A A To be added Method 2.12.0.0 System.Void To be added Method 2.12.0.0 System.Void Shows a onscreen, but does not modify its stacking order. In contrast, will raise the window to the top of the window stack. On the X11 platform, in Xlib terms, this function calls XMapWindow() (it also updates some internal GDK state, which means that you can't really use XMapWindow() directly on a GDK window). Property 2.12.0.0 System.Boolean To be added a Property 2.12.0.0 System.Boolean To be added a Property 2.12.0.0 System.String Startup notification ID. A string. When using Gtk, consider using instead. Property 2.12.0.0 Gdk.WindowState To be added A Method 2.12.0.0 System.Void "Pins" a window such that it's on all workspaces and does not scroll with viewports, for window managers that have scrollable viewports. (When using , may be more useful.) On the X11 platform, this function depends on window manager support, so may have no effect with many window managers. However, GDK will do the best it can to convince the window manager to stick the window. For window managers that don't support this operation, there's nothing you can do to force it to happen. Method 2.12.0.0 System.Void To be added Property 2.12.0.0 System.String To be added A Property 2.12.0.0 Gdk.Window To be added A Property 2.12.0.0 Gdk.Window[] To be added a Property 2.12.0.0 Gdk.Window To be added A Property 2.12.0.0 Gdk.WindowTypeHint To be added A Method 2.12.0.0 System.Void To be added Method 2.12.0.0 System.Void To be added Method 2.12.0.0 System.Void Reverse operation for . Property 2.12.0.0 Gdk.Region To be added A Property 2.12.0.0 System.Boolean Indicates if the window needs the user's urgent attention. to set the hint, or to clear it. Property 2.12.0.0 System.IntPtr To be added a Property 2.12.0.0 Gdk.WindowType To be added A Method 2.12.0.0 System.Void Withdraws a window (unmaps it and asks the window manager to forget about it). This function is not really useful as automatically withdraws toplevel windows before hiding them.
gtk-sharp-2.12.40/doc/en/Gdk/PangoAttrEmbossed.xml0000664000175000017500000002020312767740535016477 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque To be added To be added Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Property 2.12.0.0 System.Obsolete("Replaced by explicit Pango.Attribute cast") Pango.Attribute To be added. To be added. To be added. Property 2.12.0.0 System.Boolean To be added. To be added. To be added. Method 2.12.0.0 System.Obsolete("Replaced by PangoAttrEmbossed(bool) constructor") Gdk.PangoAttrEmbossed To be added: an object of type 'bool' Obsolete: replaced by normal constructor To be added: an object of type 'Gdk.PangoAttrEmbossed' To be added Method 2.12.0.0 System.Obsolete("Replaced by PangoAttrEmbossed(IntPtr) constructor") Gdk.PangoAttrEmbossed To be added: an object of type 'IntPtr' Obsolete internal constructor To be added: an object of type 'Gdk.PangoAttrEmbossed' To be added Method 2.12.0.0 Pango.Attribute To be added. To be added. To be added. To be added. Method 2.12.0.0 Gdk.PangoAttrEmbossed To be added. To be added. To be added. To be added. Field 2.12.0.0 System.Obsolete("Gdk.PangoAttrEmbossed is a reference type now, use null") Gdk.PangoAttrEmbossed Obsolete: use gtk-sharp-2.12.40/doc/en/Gdk/ImageType.xml0000664000175000017500000000604412767740535015011 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.ImageTypeGType)) Specifies the type of a . None. Field 2.12.0.0 Gdk.ImageType Specifies that Shared should be tried first, and if that fails, then Normal will be used. Field 2.12.0.0 Gdk.ImageType The original X image type, which is quite slow since the image has to be transferred from the client to the server to display it. Field 2.12.0.0 Gdk.ImageType A faster image type, which uses shared memory to transfer the image data between the client and server. However this will only be available if the client and server are on the same machine and the shared memory extension is supported by the server. gtk-sharp-2.12.40/doc/en/Gdk/BRESINFO.xml0000664000175000017500000001264712767740535014342 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Method 2.12.0.0 Gdk.BRESINFO To be added: an object of type 'IntPtr' To be added To be added: an object of type 'Gdk.BRESINFO' To be added Field 2.12.0.0 Gdk.BRESINFO To be added To be added gtk-sharp-2.12.40/doc/en/Gdk/Keyboard.xml0000664000175000017500000001244612767740535014670 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added To be added Constructor 2.12.0.0 To be added To be added Method 2.12.0.0 Gdk.GrabStatus the which will own the grab (the grab window). if false then all keyboard events are reported with respect to window. If true then keyboard events for this application are reported as normal, but keyboard events outside this application are reported with respect to window. Both key press and key release events are always reported, independant of the event mask set by the application. a timestamp from a or if no timestamp is available. Grabs the keyboard so that all events are passed to this application until the keyboard is ungrabbed with . This overrides any previous keyboard grab by this client. a if the grab was successful. Documentation for this section has not yet been entered. Method 2.12.0.0 System.Boolean a a a To be added a To be added Method 2.12.0.0 System.Void a timestamp from a , or if no timestamp is available. Ungrabs the keyboard, if it is grabbed by this application. To be added gtk-sharp-2.12.40/doc/en/Gdk/EventKey.xml0000664000175000017500000001267512767740535014666 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gdk.Event Describes a key press or key release event. Constructor 2.12.0.0 raw unmanaged pointer. Internal constructor. None. Property 2.12.0.0 System.Byte The keyboard group. The keyboard group. None. Property 2.12.0.0 System.UInt16 The raw code of the key that was pressed or released. The raw code of the key that was pressed or released. None. Property 2.12.0.0 Gdk.Key The key that was pressed or released. The key that was pressed or released. None. Property 2.12.0.0 System.UInt32 The key that was pressed or released. The key that was pressed or released. None. Property 2.12.0.0 Gdk.ModifierType A enum representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. A enum representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. None. Property 2.12.0.0 System.UInt32 The time of the event in milliseconds. The time of the event in milliseconds. None. gtk-sharp-2.12.40/doc/en/Gdk/Drag.xml0000664000175000017500000003670712767740535014013 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added To be added Constructor 2.12.0.0 To be added To be added Method 2.12.0.0 System.Void a the timestamp for this operation. Aborts a drag without dropping. To be added Method 2.12.0.0 System.Void a the timestamp for this operation. Drops on the current destination. To be added Method 2.12.0.0 System.Boolean a To be added a To be added Method 2.12.0.0 System.Void a a window which may be at the pointer position, but should be ignored, since it is put up by the drag source as an icon. the x position of the pointer in root coordinates. the y position of the pointer in root coordinates. location to store the destination window in. location to store the DND protocol in. Finds the destination window and DND protocol to use at the given pointer position. This function is called by the drag source to obtain the dest_window and protocol parameters for . Method 2.12.0.0 System.Void a a window which may be at the pointer position, but should be ignored, since it is put up by the drag source as an icon. the screen where the destination window is sought. the x position of the pointer in root coordinates. the y position of the pointer in root coordinates. location to store the destination window in. location to store the DND protocol in. Finds the destination window and DND protocol to use at the given pointer position. This function is called by the drag source to obtain the dest_window and protocol parameters for . Method 2.12.0.0 System.UInt32 the X id of the destination window. location where the supported DND protocol is returned. Finds out the DND protocol supported by a window. the X id of the window where the drop should happen. This may be xid or the X id of a proxy window, or None if xid doesn't support Drag and Drop. To be added Method 2.12.0.0 System.UInt32 the where the destination window resides. the X id of the destination window. location where the supported DND protocol is returned. Finds out the DND protocol supported by a window. the X id of the window where the drop should happen. This may be xid or the X id of a proxy window, or None if xid doesn't support Drag and Drop. To be added Method 2.12.0.0 Gdk.Atom a Returns the selection atom for the current source window. the selection atom. To be added Method 2.12.0.0 System.Boolean a the new destination window, obtained by . the DND protocol in use, obtained by . the x position of the pointer in root coordinates. the y position of the pointer in root coordinates. the suggested action. the possible actions. the timestamp for this operation. Updates the drag context when the pointer moves or the set of actions changes. a This function is called by the drag source. Method 2.12.0.0 System.Void a the selected action which will be taken when a drop happens, or 0 to indicate that a drop will not be accepted. the timestamp for this operation. Selects one of the actions offered by the drag source. This function is called by the drag destination in response to called by the drag source. gtk-sharp-2.12.40/doc/en/Gdk/EventGrabBroken.xml0000664000175000017500000000742712767740535016151 00000000000000 gdk-sharp 2.12.0.0 Gdk.Event Indicates a grab was broken by another grab. Constructor 2.12.0.0 Native struct pointer. Internal constructor. This constructor is exposed for binding use and should not be used by application code. Property 2.12.0.0 Gdk.Window The Window which broke the grab. a , or . If the window which broke the grab is outside the application, the value will be . Property 2.12.0.0 System.Boolean Indicates if the broken grab was implicit. for an implicit grab. Property 2.12.0.0 System.Boolean Indicates a keyboard grab. for a keyboard grab or for mouse. Property Gdk.Window The event window. a . gtk-sharp-2.12.40/doc/en/Gdk/Pixbuf.xml0000664000175000017500000033232012767740535014361 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object In memory image handling and representation. The class is used to represent an image in memory, typically on the client side (this is different from that represents a server-side image). The in-memory representation uses either a three byte RGB representation or a four byte RGBA representation. Pixbufs can be created from a number of sources: image files in an assorted set of file formats (png, tiff, jpg, gif, xpm, pcx, ico, xpm, xbm); Drawables (which can be windows on the X server, or off-screen images in the X server) or in-memory images. A pixbuf can be rendered, scaled or composited into another pixbuf, into a window on the X server, or on a drawable in the X server. Various rendering methods are provided for this purpose. Pixbufs can also be saved to a number of different file formats. An example that composites two images next to each other. // Compile with: mcs -pkg:gtk-sharp PixmapComposite.cs // Usage: PixmapComposite.exe image-1.jpg image-2.jpg composite.jpg using Gdk; using System; public class PixmapComposite { public static void Main (string [] args) { // Check arguments, this takes three. if (args.Length < 3) throw new Exception ("USAGE: image1Filename image2Filename " + "compositeFilename"); // Figure out the output type string type = "jpeg"; if (args [2].ToLower ().EndsWith (".jpg")) type = "jpeg"; else if (args [2].ToLower ().EndsWith (".png")) type = "png"; else throw new Exception ("Only JPG and PNG images are supported for " + "the composite image"); // Init the system Gdk.Global.InitCheck(ref args); // Load the images Pixbuf image1 = new Pixbuf (args [0]); Pixbuf image2 = new Pixbuf (args [1]); // Create the composite image Colorspace colorspace = image1.Colorspace; bool hasAlpha = image1.HasAlpha; int bitsPerSample = image1.BitsPerSample; Pixbuf composite = new Pixbuf (colorspace, hasAlpha, bitsPerSample, image1.Width + image2.Width, image1.Height); // Composite the images on the central one image1.Composite (composite, 0, 0, image1.Width, image1.Height, 0.0, 0.0, 1.0, 1.0, InterpType.Hyper, 255); image2.Composite (composite, image1.Width, 0, image2.Width, image2.Height, image1.Width, 0.0, 1.0, 1.0, InterpType.Hyper, 255); // Write out the image as a JPG composite.Save (args [2], type); } } Constructor 2.12.0.0 System.Obsolete a Internal constructor This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. Constructor 2.12.0.0 a containing the image in one of the formats recognized by Pixbuf (png, tiff, jpeg, etc). Makes a new Pixbuf object from a containing an encoded image. Useful for creating a Pixbuf from an image file in memory. /* buffer containing an image */ System.Byte[] buffer = new System.Byte[256]; /* create a pixbuf from the buffer as if it was a file */ Gdk.Pixbuf pb = new Gdk.Pixbuf(buffer); Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 a containing the image Makes a new Pixbuf object from a . Useful for creating a Pixbuf from an image file that resides in a stream. /* buffer containing an image */ System.Byte[] buffer = new System.Byte[256]; /* create a memory stream to the buffer */ System.IO.MemoryStream memorystream = new System.IO.MemoryStream(buffer); /* create a pixbuf from the stream as if it was a file */ Gdk.Pixbuf pb = new Gdk.Pixbuf(memorystream); Constructor 2.12.0.0 Filename with the image Creates Pixbuf from image file. Creates a new pixbuf by loading an image from a file. The file format is detected automatically (multiple formats are supported: JPG, PNG, TIFF, XPM, XBM). If the file is not found, a will be thrown. Constructor 2.12.0.0 a Public constructor. Constructor 2.12.0.0 To be added. To be added. Constructor for pixbufs that that have embedded images created with the gdk-pixbuf-source program. This is used to create pixbufs from images that have been embedded using the gdk-pixbuf-csource command line tool. Constructor 2.12.0.0 The that contains the image. If the value is , the image will be looked up on the calling assembly. The name given as the resource in the assembly Constructor for images embedded in an assembly This method is used to construct a from an embedded resource in an assembly. Typically this is used when application developers want to distribute images in a single executable. If the assembly parameter is , the image will be looked up on the calling assembly. For example: Gdk.Pixbuf p = new Pixbuf (null, "image.jpg"); Compile with: mcs -resource:image.jpg sample.cs Constructor 2.12.0.0 a containing the image a specifying the required width a specifying the required height Makes a new Pixbuf object from a with a given size. Useful for creating a Pixbuf with a specific size from an image file in memory. /* buffer containing an image */ System.Byte[] buffer = new System.Byte[256]; /* create a pixbuf from the buffer as if it was a file */ Gdk.Pixbuf pb = new Gdk.Pixbuf(buffer, 10, 10); Constructor 2.12.0.0 The length in bytes of the data to be read. A serialized structure, generated with . If true, the "data" parameter will be copied and the copy will be used for the Pixbuf. If false, the data will be used as is and the Pixbuf will be dependent on it. Construct a pixbuf from a serialized structure None Constructor 2.12.0.0 The length in bytes of the data to be read. The raw data representing the serialized structure. If true, the "data" parameter will be copied and the copy will be used for the Pixbuf. If false, the data will be used as is and the Pixbuf will be dependent on it. Construct a pixbuf from a serialized structure. None Constructor 2.12.0.0 a containing the image a specifying the required width a specifying the required height Makes a new Pixbuf object from a with a given size. Useful for creating a Pixbuf with a specific size from an image file that resides in a stream. /* buffer containing an image */ System.Byte[] buffer = new System.Byte[256]; /* create a memory stream to the buffer */ System.IO.MemoryStream memorystream = new System.IO.MemoryStream(buffer); /* create a pixbuf from the stream as if it was a file */ Gdk.Pixbuf pb = new Gdk.Pixbuf(memorystream, 10, 10); Constructor 2.12.0.0 a a a To be added To be added Constructor 2.12.0.0 The that contains the image. If the value is , the image will be looked up on the calling assembly. The name given as the resource in the assembly The required width for the pixbuf The required height for the pixbuf Constructor for images embedded in an assembly when a specific size is required. This method is used to construct a from an embedded resource in an assembly with a specific size. Typically this is used when application developers want to distribute images in a single executable. If the assembly parameter is , the image will be looked up on the calling assembly. For example: Gdk.Pixbuf p = new Pixbuf (null, "image.jpg", 10, 10); Compile with: mcs -resource:image.jpg sample.cs Constructor 2.12.0.0 a a a a To be added To be added Constructor 2.12.0.0 The colorspace () Whether the image should have transparency information. Number of bits per color sample. Width of image in pixels. Height of image in pixels. Constructor Creates a new structure and allocates a buffer for it. The buffer has an optimal rowstride. Note that the buffer is not cleared; you will have to fill it completely yourself. Constructor 2.12.0.0 The containing . X coord in src_pixbuf Y coord in src_pixbuf Width of region in src_pixbuf Height of region in src_pixbuf Creates a sub-Pixbuf from an existing one. Creates a new pixbuf which represents a sub-region of . The new pixbuf shares its pixels with the original pixbuf, so writing to one affects both. The new pixbuf holds a reference to , so will not be finalized until the new pixbuf is finalized. Constructor 2.12.0.0 The data that contains the image in RGB or RGBA format. Whether the data contains an alpha channel (RGBA format). Currently only 8 is supported (1 byte per channel). Width of the image in pixels. Height of the image in pixels. The rowstride is the number of bytes consumed by a single row in the image. Public constructor. The image must be in RGB format or RGBA format, where each channel takes one byte. Constructor 2.12.0.0 The data that contains the image in RGB or RGBA format. The for the image data. Whether the data contains an alpha channel (RGBA format). Currently only 8 is supported (1 byte per channel). Width of the image in pixels. Height of the image in pixels. The rowstride is the number of bytes consumed by a single row in the image. Public constructor. The image must be in RGB format or RGBA format, where each channel takes one byte. Constructor 2.12.0.0 To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Constructor 2.12.0.0 The data that contains the image in RGB or RGBA format. The for the image data. Whether the data contains an alpha channel (RGBA format). Currently only 8 is supported (1 byte per channel). Width of the image in pixels. Height of the image in pixels. The rowstride is the number of bytes consumed by a single row in the image. A routine to invoke when the reference count to this image reaches zero. Public constructor; creates a new from an in-memory RGB or RGBA buffer. The image must be in RGB format or RGBA format, where each channel takes one byte. For performance reasons sometimes images have some padding at the end of each row, this is done to ensure that access to the data is aligned. The argument is the size in bytes of each row. If no padding is added the is just: * (3 + ). Method 2.12.0.0 Gdk.Pixbuf Whether to set a color to zero opacity. If this is , then the (r, g, b) arguments will be ignored. Red value to substitute Green value to substitute Blue value to substitute Adds an alpha channel to the Pixbuf A new pixbuf with an alpha channel. Takes an existing pixbuf and adds an alpha channel to it. If the existing pixbuf already had an alpha channel, the channel values are copied from the original; otherwise, the alpha channel is initialized to 255 (full opacity). If is , then the color specified by (, , ) will be assigned zero opacity. That is, if you pass (255, 255, 255) for the substitute color, all white pixels will become fully transparent. The original image is not modified, a copy of the image is made and returned. Method 2.12.0.0 Gdk.Pixbuf Applies an embedded orientation transform. Returns a new pixbuf, or the existing one if no transform exists. Property 2.12.0.0 GLib.Property("bits-per-sample") System.Int32 Number of bits per color sample in a pixbuf. The number of bits per color sample in the pixbuf None. Method 2.12.0.0 System.Object To be added. To be added. To be added. Property 2.12.0.0 GLib.Property("colorspace") Gdk.Colorspace The colorspace for this Pixbuf The colorspace used by this Pixbuf Currently Pixbuf only support the RGB colorspace. Method 2.12.0.0 System.Void The destination Pixbuf to render to. The left coordinate for region to render The top coordinate for region to render The width of the region to render The height of the region to render The offset in the X direction (currently rounded to an integer) The offset in the Y direction (currently rounded to an integer) The scale factor in the X direction The scale factor in the Y direction The interpolation type for the transformation. Overall alpha for source image (0..255) Scale and Compose a Pixbuf Creates a transformation of the Pixbuf by scaling by and then translating by and , then composites the rectangle (, , , ) of the resulting image onto the destination image. Method 2.12.0.0 System.Void The destination Pixbuf to render to. The left coordinate for region to render The top coordinate for region to render The width of the region to render The height of the region to render The offset in the X direction (currently rounded to an integer) The offset in the Y direction (currently rounded to an integer) The scale factor in the X direction The scale factor in the Y direction The interpolation type for the transformation. Overall alpha for source image (0..255) The X offset for the checkboard (origin of checkboard is at -check_x, -check_y) The Y offset for the checkboard The size of checks in the checkboard (must be a power of two) The color of check at upper left The color of the other check Scale and Compose a Pixbuf with control over the checks Creates a transformation of the Pixbuf by scaling by and then translating by and , then composites the rectangle ( ,, , ) of the resulting image with a checkboard of the colors and and renders it onto the destination image. The and encode the color in 32-bit RGB format. Method 2.12.0.0 Gdk.Pixbuf The width of destination image The height of destination image The interpolation type for the transformation. Overall alpha for source image (0..255) The size of checks in the checkboard (must be a power of two) The color of check at upper left The color of the other check Scaling with checkboard rendering The new Pixbuf, or if not enough memory could be allocated for it. Creates a new Pixbuf by scaling to x and compositing the result with a checkboard of colors and . The colors must be in RGB format. Method 2.12.0.0 Gdk.Pixbuf Copies the Pixbuf A copy of the data in the Pixbuf, or on failure Method 2.12.0.0 System.Void Source X coordinate within src_pixbuf. Source Y coordinate within src_pixbuf Width of the area to copy. Height of the area to copy. Destination Pixbuf. X coordinate within dest_pixbuf. Y coordinate within dest_pixbuf. Copies a region from one Pixbuf to another Copies a rectangular area from src_pixbuf to dest_pixbuf. Conversion of pixbuf formats is done automatically. Method 2.12.0.0 System.Obsolete("Replaced by static FromDrawable method") Gdk.Pixbuf A A A A A A A A Generates a new Pixbuf object from a . A Method 2.12.0.0 System.Int32 To be added a Method 2.12.0.0 System.Void RGBA value for the pixel to set (0xffffffff is opaque white, 0x00000000 transparent black) Fills a pixbuf with a single color Clears a pixbuf to the given RGBA value, converting the RGBA value into the pixbuf's pixel format. The alpha will be ignored if the Pixbuf does not have an alpha channel. Method 2.12.0.0 Gdk.Pixbuf to flip horizontally, to flip vertically. Flips a pixbuf horizontally or vertically. A . Property 2.12.0.0 Gdk.PixbufFormat[] To be added a Method 2.12.0.0 Gdk.Pixbuf a a a a a a a a Creates a new Pixbuf object from a . a Method 2.12.0.0 Gdk.Pixbuf Source Gdk.Pixdata Whether to make a private copy of the data Creates a Pixbuf from a Pixdata The return value is an initialized Pixbuf class This creates a Pixbuf from a class that implements the Gdk.Pixdata interface. Method 2.12.0.0 Gdk.PixbufFormat a a a To be added a To be added Method 2.12.0.0 Gdk.Pixbuf Destination pixbuf, or if a new pixbuf should be created.. A colormap (if src does not have one set) (A Source X coordinate within drawable. Source Y coordinate within drawable. Destination X coordinate in pixbuf, or 0 if dest is . Destination Y coordinate in pixbuf, or 0 if dest is . Width in pixels of region to get. Height in pixels of region to get. Gets image from a Gdk.Drawable The value of the Pixbuf (the same one that was passed) or on error. See the remarks below for details on the possible ways on which this function might fail. Transfers image data from a and converts it to an RGB(A) representation inside a . In other words, copies image data from a server-side drawable to a client-side RGB(A) buffer. This allows you to efficiently read individual pixels on the client side. If the has no colormap ( returns ), then a suitable colormap must be specified. Typically a or a pixmap created by passing a to the constructor will already have a colormap associated with it. If the has a colormap, the argument will be ignored. If the is a bitmap (1 bit per pixel pixmap), then a colormap is not required; pixels with a value of 1 are assumed to be white, and pixels with a value of 0 are assumed to be black. For taking screenshots, the property returns the correct colormap to use. If the specified destination pixbuf is , then this function will create an RGB Pixbuf with 8 bits per channel and no alpha, with the same size specified by the width and height arguments. In this case, the and arguments must be specified as 0. If the specified destination pixbuf is not and it contains alpha information, then the filled pixels will be set to full opacity (alpha = 255). If the specified is a pixmap, then the requested source rectangle must be completely contained within the pixmap, otherwise the function will return . For pixmaps only (not for windows) passing -1 for or is allowed, to mean the full width or height of the pixmap. If the specified is a window, and the window is off the screen, then there is no image data in the obscured/offscreen regions to be placed in the pixbuf. The contents of portions of the corresponding to the offscreen region are undefined. If the window you are obtaining data from is partially obscured by other windows, then the contents of the Pixbuf areas corresponding to the obscured regions are undefined. If the target drawable is not mapped (typically because it's iconified/minimized or not on the current workspace), then will be returned. If memory can't be allocated for the return value, will be returned instead. (In short, there are several ways this function can fail, and if it fails it returns ; so check the return value.) This function calls internally and converts the resulting image to a , so the documentation for is also relevant. Method 2.12.0.0 Gdk.Pixbuf Source . A colormap (if src does not have one set) (A Source X coordinate within drawable. Source Y coordinate within drawable. Destination X coordinate in pixbuf, or 0 if dest is . Destination Y coordinate in pixbuf, or 0 if dest is . Width in pixels of region to get. Height in pixels of region to get. Gets an image from a Gdk.Image The value of the Pixbuf (the same one that was passed) or on error. See the remarks below for details on the possible ways on which this function might fail. Transfers image data from a and converts it to an RGB(A) representation inside a . In other words, copies image data from the Image (which might be potentially shared using shared memory between the client and the server) to a client-side RGB(A) buffer (the Pixbuf). This allows you to efficiently read individual pixels on the client side. If the has no colormap ( returns ), then a suitable colormap must be specified. Typically a or a pixmap created by passing a to the constructor will already have a colormap associated with it. If the has a colormap, the argument will be ignored. If the is a bitmap (1 bit per pixel pixmap), then a colormap is not required; pixels with a value of 1 are assumed to be white, and pixels with a value of 0 are assumed to be black. For taking screenshots, the property returns the correct colormap to use. If the specified destination pixbuf is , then this function will create an RGB Pixbuf with 8 bits per channel and no alpha, with the same size specified by the width and height arguments. In this case, the and arguments must be specified as 0. If the specified destination pixbuf is not and it contains alpha information, then the filled pixels will be set to full opacity (alpha = 255). If the specified is a pixmap, then the requested source rectangle must be completely contained within the pixmap, otherwise the function will return . For pixmaps only (not for windows) passing -1 for or is allowed, to mean the full width or height of the pixmap. If the specified is a window, and the window is off the screen, then there is no image data in the obscured/offscreen regions to be placed in the pixbuf. The contents of portions of the corresponding to the offscreen region are undefined. If the window you are obtaining data from is partially obscured by other windows, then the contents of the Pixbuf areas corresponding to the obscured regions are undefined. If the target image is not mapped (typically because it's iconified/minimized or not on the current workspace), then will be returned. If memory can't be allocated for the return value, will be returned instead. (In short, there are several ways this function can fail, and if it fails it returns ; so check the return value.) Method 2.12.0.0 System.String the key to lookup Looks up an option in the Pixbuf The value associated with the Looks up key in the list of options that may have been attached to the pixbuf when it was loaded. Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.12.0.0 GLib.Property("has-alpha") System.Boolean Returns whether the Pixbuf contains an alpha channel if the image contains an Alpha channel, otherwise. The Pixbuf object handles images in either the RGB format, or the RGBA format. The alpha channel value is a value between 0 and 255 and controls the opacity of a given pixel. Property 2.12.0.0 GLib.Property("height") System.Int32 Height of the image The height in pixels of the image See also the , and for more information about the layout of the image. Method 2.12.0.0 Gdk.Pixbuf the name of the resource Loads a pixbuf from a resource file. a This loads a pixbuf from a resource in the calling assembly. This is equivalent to using the constructor with a assembly. Property 2.12.0.0 GLib.Property("n-channels") System.Int32 The number of channels on a Pixbuf Returns the number of channels on a Pixbuf The possible values are 3 (for RGB encoding) and 4 (for RGB with an alpha transparency channel encoding). Property 2.12.0.0 System.IntPtr The pixels contained by this Pixbuf object. a , pointer to the underlying C data Method 2.12.0.0 System.Obsolete Gdk.Pixbuf To be added a To be added Method 2.12.0.0 System.Void a a a , threshold value for opacity. Creates pixmap and mask bitmaps for a given alpha threshold. This is merely a convenience function; applications that need to render pixbufs with dither offsets or to given drawables should use or and . The pixmap that is created is created for the colormap returned by . You normally will want to instead use the actual colormap for a widget, and use , If the pixbuf does not have an alpha channel, then will be set to . Method 2.12.0.0 System.Void a a a a , threshold value for opacity. Creates pixmap and mask bitmaps for a given alpha threshold using a specified colormap. This is merely a convenience function; applications that need to render pixbufs with dither offsets or to given drawables should use or and . The pixmap that is created uses the specified by . This colormap must match the colormap of the window where the pixmap will eventually be used or an error will result. If the pixbuf does not have an alpha channel, then will be set to . Method 2.12.0.0 System.Void The destination, a 1-bit-depth . Source X coordinate. Source Y coordinate. Destination X coordinate. Destination Y coordinate. The width of the region to modify, or -1 to use . The height of the region to reder or -1 to use Value below this will be painted as zero; all other values will be painted as one. Render pixbuf alpha channel as a bi-level clip mask to a This function is designed to threshold and render the alpha values from a rectangular of this into the destination which can then be used as a clipping mask for a . Method 2.12.0.0 System.Void Destination drawable. GC used for rendering. Source X coordinate within pixbuf. Source Y coordinate within pixbuf. Destination X coordinate within drawable. Destination Y coordinate within drawable. Width of region to render, in pixels, or -1 to use pixbuf width Height of region to render, in pixels, or -1 to use pixbuf height Dithering mode for GdkRGB. X offset for dither. Y offset for dither. Renders the image into a Drawable Renders a rectangular portion of the Pixbuf into the while using the specified . This is done using GdkRGB, so the specified drawable must have the visual and colormap. Note that this function will ignore the opacity information for images with an alpha channel; the GC must already have the clipping mask set if you want transparent regions to show through. For an explanation of dither offsets, see the GdkRGB documentation. In brief, the dither offset is important when re-rendering partial regions of an image to a rendered version of the full image, or for when the offsets to a base position change, as in scrolling. The dither matrix has to be shifted for consistent visual results. If you do not have any of these cases, the dither offsets can be both zero. Method 2.12.0.0 System.Void A A A A A A A A A A A A Obsolete; do not use. Use instead. Renders a rectangular portion of a pixbuf to a drawable. The destination drawable must have a colormap. All windows have a colormap, however, pixmaps only have colormap by default if they were created with a non-NULL window argument. Otherwise a colormap must be set on them with . On older X servers, rendering pixbufs with an alpha channel involves round trips to the X server, and may be somewhat slow. Method 2.12.0.0 Gdk.Pixbuf The angle to rotate by. Rotates a pixbuf by a multiple of 90 degrees, and returns the result in a new pixbuf. A . Property 2.12.0.0 GLib.Property("rowstride") System.Int32 Rowstride of the Pixbuf The rowstride property for the Pixbuf Queries the rowstride of a pixbuf. The rowstring is the number of bytes occupied by a row of pixels. Sometimes for alignment purposes, the rowstride might be bigger than the actual width of the image. Applications that manually process data from the image would scan lines by adding the value of the Rowstride. Method 2.12.0.0 System.Void Target Pixbuf where the resulting image is stored saturation factor whether to pixelation will take place Saturation and pixelation of a Pixbuf Modifies saturation and optionally pixelates the Pixbuf, placing the result in . may be the same Pixbuf with no ill effects. If is 1.0 then saturation is not changed. If it's less than 1.0, saturation is reduced (the image is darkened); if greater than 1.0, saturation is increased (the image is brightened). If is , then pixels are faded in a checkerboard pattern to create a pixelated image. src and dest must have the same image format, size, and rowstride. Method 2.12.0.0 System.Boolean a , name of the file to save a , file format to save in ("jpeg" and "png" are supported). Saves pixbuf to a file. a The Gtk+ version of this call supports a text string of arguments, which Gtk# currently does not include. (TODO: explain the difference between Save and Savev, in light of this API difference.) Method 2.12.0.0 System.Byte[] an image type, such as png, jpeg, or ico Saves to a buffer. a Throws a if the save is not successful. Method 2.12.0.0 System.Byte[] an image type, such as png, jpeg, or ico an array of option keys. an array of option values. Saves to a buffer. a >The and should contain key/value pairs. See for more details. Throws a if the save is not successful. Method 2.12.0.0 System.Void a an image type, such as png, jpeg, or ico Save using a callback delegate. Throws a if the save is not successful. Method 2.12.0.0 System.Void a an image type, such as png, jpeg, or ico an array of option keys an array of option values Save using a callback delegate. The and should contain key/value pairs. See for more details. Throws a if the save is not successful. Method 2.12.0.0 System.Boolean Name of the file where the image will be saved The file type to save (one of "ani", "bmp", "gif", "ico", "jpeg", "pcx", "png", "pnm", "ras", "tga", "tiff" "wbmp", "xpm" or "xbm") Options that are passed to the save module. Values for each key Saves pixbuf to a file. A Method 2.12.0.0 System.Void The destination Pixbuf where the results are rendered The left coordinate for region to render The top coordinate for region to render The width of the region to render The height of the region to render The offset in the X direction (currently rounded to an integer) The offset in the Y direction (currently rounded to an integer) The scale factor in the X direction The scale factor in the Y direction The interpolation type for the transformation. Scale transformation. Creates a transformation of the Pixbuf by scaling to and then translating by and , then renders the rectangle (, , , ) of the resulting image onto the destination image replacing the previous contents. Try to use , this function is the industrial-strength power tool you can fall back to if is not powerful enough. Method 2.12.0.0 Gdk.Pixbuf The width of destination image The height of destination image The interpolation type for the transformation Scales a Pixbuf A new Pixbuf object, or if no memory is available for the transformation. Create a new GdkPixbuf containing a copy of src scaled to x . It leaves the current Pixbuf unaffected. should be if you want maximum speed (but when scaling down is usually unusably ugly). The default should be which offers reasonable quality and speed. You can scale a sub-portion of the Pixbuf by creating a sub-pixbuf using a Pixbuf constructor. For more complicated scale/compositions see and Method 2.12.0.0 System.Obsolete System.Void To be added To be added Property 2.12.0.0 GLib.Property("width") System.Int32 The width of the image The width in pixels of the image This is the width of the image in pixels. See the property as well. gtk-sharp-2.12.40/doc/en/Gdk/Keymap.xml0000664000175000017500000004225612767740535014360 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Object for keyboard code manipulation Defines translations from keyboard states to a `keyval`. Two phase translation: determine keyboard group and level for keyboard state, then lookup the keycode/group/level triplet in the keymap and get the corresponding keyval. Keycode is the hardware/keyboard code for that key. Keygroup is used for language and horizontal tracking [ "group 1" is english, "group 2" is hebrew]. Keylevel is used to track letter case/alternate representation and vertical movement [ level 0 is "a", level 1 is "A" ; alternately, level 0 is "1" and level 1 is "!" ]. Constructor 2.12.0.0 To be added To be added Constructor 2.12.0.0 System.Obsolete a Internal constructor This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.12.0.0 Gdk.Keymap To be added To be added: an object of type 'Gdk.Keymap' To be added Property 2.12.0.0 Pango.Direction Member that represents the current direction of the keymap. An object of type 'Pango.Direction', current keymap direction. None Event 2.12.0.0 GLib.Signal("direction_changed") System.EventHandler An event handler that raised when the direction of a keymap has been changed. None Method 2.12.0.0 System.Void An object of type , a keyboard code. An object of type , return reference for the list of keys. An object of type , return reference for the list of corresponding keyvals for Stores in a reference to a list of the keys bound to . The nth Gdk.KeymapKey in is associated with the nth keyval in . When a keycode is pressed by the user, the keyval from is selected. Method 2.12.0.0 Gdk.KeymapKey[] An object of type , such as GDK_a, GDK_up, GDK_RETURN, etc. Gets a list of keycode/group/level combinations that generate a . the list of key sequences. Method 2.12.0.0 Gdk.Keymap a To be added a To be added Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 System.Boolean Requests Bidi layout status. If , bi-directional layout is in use. To be added. Event 2.12.0.0 GLib.Signal("keys_changed") System.EventHandler To be added To be added Method 2.12.0.0 System.UInt32 An object of type 'Gdk.KeymapKey', initalized keycode/group/level triplet. Looks up a keyval mapped to a keycode/group/level triplet. If no keyval is bound to `key`, the method returns 0. An object of type 'uint', a keyval or 0 if none was found. None Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDirectionChanged", Type=typeof(Gdk.Keymap)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideKeysChanged", Type=typeof(Gdk.Keymap)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.12.0.0 System.Boolean An object of type , a keyboard code. An object of type , a modifier state. An object of type , active keyboard group. An object of type , return reference for `keyval`. An object of type , return reference for `effective group`. An object of type , return reference for the new level. An object of type , return reference for modifiers used to determine group/level. Translates the contents of a Gdk.KeymapKey into a keyval/group/level. Modifiers affecting the translation are returned in `consumed_modifiers`. `effective_group` is the group used in translation. Key level is determined by `state`. An object of type , return if keys were found and returned. gtk-sharp-2.12.40/doc/en/Gdk/GCValuesMask.xml0000664000175000017500000002765512767740535015425 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum System.Flags A set of flags used to indicate which fields structure are set. None. Field 2.12.0.0 Gdk.GCValuesMask The is set. Field 2.12.0.0 Gdk.GCValuesMask The is set. Field 2.12.0.0 Gdk.GCValuesMask The is set. Field 2.12.0.0 Gdk.GCValuesMask The is set. Field 2.12.0.0 Gdk.GCValuesMask The is set. Field 2.12.0.0 Gdk.GCValuesMask The is set. Field 2.12.0.0 Gdk.GCValuesMask The is set. Field 2.12.0.0 Gdk.GCValuesMask The is set. Field 2.12.0.0 Gdk.GCValuesMask The is set. Field 2.12.0.0 Gdk.GCValuesMask The is set. Field 2.12.0.0 Gdk.GCValuesMask The is set. Field 2.12.0.0 Gdk.GCValuesMask The is set. Field 2.12.0.0 Gdk.GCValuesMask The is set. Field 2.12.0.0 Gdk.GCValuesMask The is set. Field 2.12.0.0 Gdk.GCValuesMask The is set. Field 2.12.0.0 Gdk.GCValuesMask The is set. Field 2.12.0.0 Gdk.GCValuesMask The is set. Field 2.12.0.0 Gdk.GCValuesMask The is set. gtk-sharp-2.12.40/doc/en/Gdk/RgbCmap.xml0000664000175000017500000001345212767740535014441 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque A private data structure which maps color indices to actual RGB colors. Constructor 2.12.0.0 a Internal constructor. Constructor 2.12.0.0 An array of colors in the form 0xRRGGBB. Constructs a new with the given colors. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Property 2.12.0.0 System.Int32 The number of colors in the colormap. The number of colors in the colormap. Method 2.12.0.0 System.Obsolete("Replaced by RgbCmap(IntPtr) constructor") Gdk.RgbCmap a Obsolete internal constructor. a Field 2.12.0.0 System.Obsolete("Gdk.RgbCmap is a reference type now, use null") Gdk.RgbCmap Obsolete: use gtk-sharp-2.12.40/doc/en/Gdk/DragAction.xml0000664000175000017500000001141412767740535015135 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.DragActionGType)) System.Flags Used in to indicate what the destination should do with the dropped data. None. Field 2.12.0.0 Gdk.DragAction Ask t user what to do with the data. Field 2.12.0.0 Gdk.DragAction Copy the data. Field 2.12.0.0 Gdk.DragAction The default action. The same as the Copy action. Field 2.12.0.0 Gdk.DragAction Add a link to the data. Note that this is only useful if source and destination agree on what it means. Field 2.12.0.0 Gdk.DragAction Move the data, i.e. first copy it, then delete it from the source using the DELETE targetof the X selection protocol. Field 2.12.0.0 Gdk.DragAction Special action which tells the source that the destination will do something that the source doesn't understand. gtk-sharp-2.12.40/doc/en/Gdk/PixbufDestroyNotify.xml0000664000175000017500000000206712767740535017126 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. Delegate class for code to be run when a object is destroyed. gtk-sharp-2.12.40/doc/en/Gdk/PixdataDumpType.xml0000664000175000017500000001300212767740535016177 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum System.Flags To be added To be added Field 2.12.0.0 Gdk.PixdataDumpType To be added Field 2.12.0.0 Gdk.PixdataDumpType To be added Field 2.12.0.0 Gdk.PixdataDumpType To be added Field 2.12.0.0 Gdk.PixdataDumpType To be added Field 2.12.0.0 Gdk.PixdataDumpType To be added Field 2.12.0.0 Gdk.PixdataDumpType To be added Field 2.12.0.0 Gdk.PixdataDumpType To be added Field 2.12.0.0 Gdk.PixdataDumpType To be added gtk-sharp-2.12.40/doc/en/Gdk/WindowClass.xml0000664000175000017500000000434512767740535015364 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gdk.WindowClassGType)) Describes the class of a window. Field 2.12.0.0 Gdk.WindowClass Window for events only. These windows are invisible; they are used to trap events, but can not be drawn on. None. Field 2.12.0.0 Gdk.WindowClass A "normal" window for graphics and events. None. gtk-sharp-2.12.40/doc/en/Gdk/Segment.xml0000664000175000017500000001066612767740535014534 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType Represents a line segment defined as [(x1,y1),(x2,y2)] Method 2.12.0.0 Gdk.Segment an object of type 'IntPtr' Returns a new object. an object of type 'Gdk.Segment' Passig IntPtr.Zero returns Gdk.Segment.Zero Field 2.12.0.0 System.Int32 First x-value for the line segment. Field 2.12.0.0 System.Int32 Second x-value for the line segment. Field 2.12.0.0 System.Int32 First y-value for the line segment. Field 2.12.0.0 System.Int32 Second y-value for the line segment. Field 2.12.0.0 Gdk.Segment References a static field defined as new Gdk.Segment (); gtk-sharp-2.12.40/doc/en/Gdk/EventButton.xml0000664000175000017500000002323412767740535015402 00000000000000 gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gdk.Event Used for button press and button release events. Used for button press and button release events. The type field will be one of , , , and Double and triple-clicks result in a sequence of events being received. For double-clicks the order of events will be: Note that the first click is received just like a normal button press, while the second click results in a being received just after the . Triple-clicks are very similar to double-clicks, except that is inserted after the third click. The order of the events is: For a double click to occur, the second button press must occur within 1/4 of a second of the first. For a triple click to occur, the third button press must also occur within 1/2 second of the first button press. Constructor 2.12.0.0 a to a Internal constructor This constructor is internal and should not be used. Property 2.12.0.0 System.Double[] x, y translated to the axes of device, or null if device is the mouse. a Property 2.12.0.0 System.UInt32 The button which was pressed or released, numbered from 1 to 5. Normally button 1 is the left mouse button, 2 is the middle button, and 3 is the right button. On 2-button mice, the middle button can often be simulated by pressing both mouse buttons together. a Property 2.12.0.0 Gdk.Device The device where the event originated. a Property 2.12.0.0 Gdk.ModifierType A bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. a Property 2.12.0.0 System.UInt32 The time of the event in milliseconds. a Property 2.12.0.0 System.Double The x coordinate of the pointer relative to the window. a Property 2.12.0.0 System.Double The x coordinate of the pointer relative to the root of the screen. a Property 2.12.0.0 System.Double The y coordinate of the pointer relative to the window. a Property 2.12.0.0 System.Double The y coordinate of the pointer relative to the root of the screen. a gtk-sharp-2.12.40/doc/en/ns-Gnome.xml0000664000175000017500000000077312767740535014106 00000000000000 GNU Network Object Model Environment. The Gnome classes gives applications a unified look and feel by providing common widgets, such as an About dialog, Popup dialogs, and a Druid (First time setup of your application). Futhermore classes are provided to help you draw structured graphics on the screen. gtk-sharp-2.12.40/doc/en/GConf.PropertyEditors/0000775000175000017500000000000012767740535016123 500000000000000gtk-sharp-2.12.40/doc/en/GConf.PropertyEditors/PropertyEditorRadioButton.xml0000664000175000017500000001345712767740535023745 00000000000000 gconf-sharp-peditors 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. GConf.PropertyEditors.PropertyEditorEnum To be added To be added Constructor 2.24.0.0 To be added: an object of type 'string' To be added: an object of type 'Gtk.RadioButton' To be added To be added Constructor 2.24.0.0 To be added: an object of type 'string' To be added: an object of type 'Gtk.RadioButton' To be added: an object of type 'Type' To be added To be added Constructor 2.24.0.0 To be added: an object of type 'string' To be added: an object of type 'Gtk.RadioButton' To be added: an object of type 'Type' To be added: an object of type 'int []' To be added To be added Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/GConf.PropertyEditors/PropertyEditorOptionMenu.xml0000664000175000017500000001340412767740535023600 00000000000000 gconf-sharp-peditors 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. GConf.PropertyEditors.PropertyEditorEnum To be added To be added Constructor 2.24.0.0 To be added: an object of type 'string' To be added: an object of type 'Gtk.OptionMenu' To be added To be added Constructor 2.24.0.0 To be added: an object of type 'string' To be added: an object of type 'Gtk.OptionMenu' To be added: an object of type 'Type' To be added To be added Constructor 2.24.0.0 To be added: an object of type 'string' To be added: an object of type 'Gtk.OptionMenu' To be added: an object of type 'Type' To be added: an object of type 'int []' To be added To be added Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/GConf.PropertyEditors/PropertyEditorFileEntry.xml0000664000175000017500000000670612767740535023413 00000000000000 gconf-sharp-peditors 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. GConf.PropertyEditors.PropertyEditor To be added To be added Constructor 2.24.0.0 To be added: an object of type 'string' To be added: an object of type 'Gnome.FileEntry' To be added To be added Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/GConf.PropertyEditors/EditorShell.xml0000664000175000017500000001673512767740535021017 00000000000000 gconf-sharp-peditors 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Object To be added To be added Constructor 2.24.0.0 To be added: an object of type 'Glade.XML' To be added To be added Constructor 2.24.0.0 To be added: an object of type 'Glade.XML' To be added: an object of type 'GConf.ChangeSet' To be added To be added Method 2.24.0.0 System.Void To be added: an object of type 'GConf.PropertyEditors.PropertyEditor' To be added To be added Method 2.24.0.0 System.Void To be added: an object of type 'string' To be added: an object of type 'string' To be added To be added Method 2.24.0.0 System.Void To be added: an object of type 'string' To be added: an object of type 'string' To be added: an object of type 'Type' To be added To be added Method 2.24.0.0 System.Void To be added: an object of type 'string' To be added: an object of type 'string' To be added: an object of type 'Type' To be added: an object of type 'int []' To be added To be added Method 2.24.0.0 System.Void To be added: an object of type 'string' To be added: an object of type 'string' To be added To be added gtk-sharp-2.12.40/doc/en/GConf.PropertyEditors/EditorNotSupportedException.xml0000664000175000017500000000304512767740535024263 00000000000000 gconf-sharp-peditors 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Exception To be added To be added Constructor 2.24.0.0 To be added To be added gtk-sharp-2.12.40/doc/en/GConf.PropertyEditors/PropertyEditor.xml0000664000175000017500000001733012767740535021564 00000000000000 gconf-sharp-peditors 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Object To be added To be added Constructor 2.24.0.0 To be added: an object of type 'string' To be added: an object of type 'Gtk.Widget' To be added To be added Property 2.24.0.0 GConf.ChangeSet To be added. To be added. To be added. Property 2.24.0.0 GConf.Client To be added. To be added. To be added. Method 2.24.0.0 System.Void To be added To be added Property 2.24.0.0 Gtk.Widget To be added To be added: an object of type 'Gtk.Widget' To be added Method 2.24.0.0 System.Object To be added To be added: an object of type 'object' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Method 2.24.0.0 System.Void To be added: an object of type 'object' To be added To be added Method 2.24.0.0 System.Void To be added To be added Method 2.24.0.0 System.Void To be added: an object of type 'object' To be added: an object of type 'GConf.NotifyEventArgs' To be added To be added gtk-sharp-2.12.40/doc/en/GConf.PropertyEditors/PropertyEditorEntry.xml0000664000175000017500000000663212767740535022611 00000000000000 gconf-sharp-peditors 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. GConf.PropertyEditors.PropertyEditor To be added To be added Constructor 2.24.0.0 To be added: an object of type 'string' To be added: an object of type 'Gtk.Entry' To be added To be added Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/GConf.PropertyEditors/InvalidGladeKeyException.xml0000664000175000017500000000334012767740535023440 00000000000000 gconf-sharp-peditors 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Exception To be added To be added Constructor 2.24.0.0 To be added: an object of type 'string' To be added To be added gtk-sharp-2.12.40/doc/en/GConf.PropertyEditors/PropertyEditorEnum.xml0000664000175000017500000001330512767740535022407 00000000000000 gconf-sharp-peditors 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. GConf.PropertyEditors.PropertyEditor To be added To be added Constructor 2.24.0.0 To be added: an object of type 'string' To be added: an object of type 'Gtk.Widget' To be added To be added Constructor 2.24.0.0 To be added: an object of type 'string' To be added: an object of type 'Gtk.Widget' To be added: an object of type 'Type' To be added To be added Constructor 2.24.0.0 To be added: an object of type 'string' To be added: an object of type 'Gtk.Widget' To be added: an object of type 'Type' To be added: an object of type 'int []' To be added To be added Method 2.24.0.0 System.Void To be added. To be added. To be added. Method 2.24.0.0 System.Int32 To be added: an object of type 'object' To be added To be added: an object of type 'int' To be added gtk-sharp-2.12.40/doc/en/GConf.PropertyEditors/PropertyEditorToggleButton.xml0000664000175000017500000000676112767740535024130 00000000000000 gconf-sharp-peditors 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. GConf.PropertyEditors.PropertyEditorBool To be added To be added Constructor 2.24.0.0 To be added: an object of type 'string' To be added: an object of type 'Gtk.ToggleButton' To be added To be added Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/GConf.PropertyEditors/PropertyEditorBool.xml0000664000175000017500000000657212767740535022406 00000000000000 gconf-sharp-peditors 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. GConf.PropertyEditors.PropertyEditor To be added To be added Constructor 2.24.0.0 To be added: an object of type 'string' To be added: an object of type 'Gtk.Widget' To be added To be added Method 2.24.0.0 System.Void To be added: an object of type 'Gtk.Widget' To be added To be added Method 2.24.0.0 System.Void To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/GConf.PropertyEditors/PropertyEditorSpinButton.xml0000664000175000017500000000670312767740535023614 00000000000000 gconf-sharp-peditors 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. GConf.PropertyEditors.PropertyEditor To be added To be added Constructor 2.24.0.0 To be added: an object of type 'string' To be added: an object of type 'Gtk.SpinButton' To be added To be added Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Vte/0000775000175000017500000000000012767740535012510 500000000000000gtk-sharp-2.12.40/doc/en/Vte/CommitArgs.xml0000664000175000017500000000551312767740535015223 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 0.16.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 0.16.0.0 System.String To be added a To be added Property 0.16.0.0 System.UInt32 To be added a To be added gtk-sharp-2.12.40/doc/en/Vte/TerminalEraseBinding.xml0000664000175000017500000000725712767740535017213 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Vte.TerminalEraseBindingGType)) Controls what string or control sequence the terminal sends to its child when the user presses the backspace or delete keys. Field 0.16.0.0 Vte.TerminalEraseBinding Send an ASCII backspace character (0x08). Field 0.16.0.0 Vte.TerminalEraseBinding Send an ASCII delete character (0x7F). Field 0.16.0.0 Vte.TerminalEraseBinding For backspace, attempt to determine the right value from the terminal's IO settings. For delete, use the control sequence. Field 0.16.0.0 Vte.TerminalEraseBinding Send the "7" control sequence. gtk-sharp-2.12.40/doc/en/Vte/Terminal.xml0000664000175000017500000036563612767740535014750 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Widget A terminal widget implementation. A is a terminal emulator implemented as a . using System; using System.Collections; using Gtk; using Gnome; using Vte; class T { static void Main (string[] args) { new T (args); } T (string[] args) { Program program = new Program ("vte-sharp-test", "0.0", Modules.UI, args); App app = new App ("vte-sharp-test", "Test for vte widget"); app.SetDefaultSize (600, 450); app.DeleteEvent += new DeleteEventHandler (OnAppDelete); HBox hbox = new HBox (); Terminal term = new Terminal (); term.EncodingChanged += new EventHandler (OnEncodingChanged); term.CursorBlinks = true; term.MouseAutohide = true; term.ScrollOnKeystroke = true; term.DeleteBinding = TerminalEraseBinding.Auto; term.BackspaceBinding = TerminalEraseBinding.Auto; term.Encoding = "UTF-8"; term.FontFromString = "Monospace 12"; term.TextDeleted += new EventHandler (OnTextDeleted); term.ChildExited += new EventHandler (OnChildExited); VScrollbar vscroll = new VScrollbar (term.Adjustment); hbox.PackStart (term); hbox.PackStart (vscroll); Gdk.Color white = new Gdk.Color (); Gdk.Color.Parse ("white", ref white); Gdk.Color black = new Gdk.Color (); Gdk.Color.Parse ("black", ref black); term.SetColors (black, white, white, 16); string[] argv = Environment.GetCommandLineArgs (); // wants an array of "variable=value" string[] envv = new string [Environment.GetEnvironmentVariables ().Count]; int i = 0; foreach (DictionaryEntry e in Environment.GetEnvironmentVariables ()) { if (e.Key == "" || e.Value == "") continue; string tmp = String.Format ("{0}={1}", e.Key, e.Value); envv[i] = tmp; i ++; } int pid = term.ForkCommand ( Environment.GetEnvironmentVariable ("SHELL"), argv, envv, Environment.CurrentDirectory, false, true, true); Console.WriteLine ("Child pid: {0}", pid); app.Contents = hbox; app.ShowAll (); program.Run (); } private void OnTextDeleted (object o, EventArgs args) { Console.WriteLine ("text deleted"); } private void OnEncodingChanged (object o, EventArgs args) { Console.WriteLine ("encoding changed"); } private void OnTextInserted (object o, EventArgs args) { Console.WriteLine ("text inserted"); } private void OnChildExited (object o, EventArgs args) { // optionally we could just reset instead of quitting Console.WriteLine ("child exited"); Application.Quit (); } private void OnAppDelete (object o, DeleteEventArgs args) { Application.Quit (); } } Constructor 0.16.0.0 Default Constructor Constructor 0.16.0.0 System.Obsolete a Internal Constructor. This should not be called by normal applications. Constructor 0.16.0.0 a Internal Constructor. This should not be called by normal user code. Property 0.16.0.0 Gtk.Adjustment An accessor function provided for the benefit of language bindings. the contents of terminal's adjustment field Property 0.16.0.0 System.Boolean Controls whether or not the terminal will attempt to draw bold text by repainting text with a different offset. if the terminal should attempt to draw bold text Property 0.16.0.0 System.Boolean Controls whether or not the terminal will beep when the child outputs the "bl" sequence. a if the terminal should beep Property 0.16.0.0 Gdk.Pixbuf Sets a background image for the widget. to use, or to cancel Text which would otherwise be drawn using the default background color will instead be drawn over the specified image. If necessary, the image will be tiled to cover the widget's entire visible area. Property 0.16.0.0 System.String Sets a background image for the widget. a If specified by , the terminal will make its in-memory copy of the image darker for its own use. This is a convenience wrapper for . If your application intends to create multiple terminal widgets using the same background, performing this step yourself and just using will reduce memory consumption. Property 0.16.0.0 System.Double Adjust the brightness of the background image. a If a background image has been set using , , or , the terminal will adjust the brightness of the image before drawing the image. To do so, the terminal will create a copy of the background image (or snapshot of the root window) and modify its pixel values. If your application intends to create multiple terminal widgets with the same settings, performing this step yourself and just using will save memory. Property 0.16.0.0 Gdk.Color To be added a To be added Property 0.16.0.0 System.Boolean Sets the terminal's background image to the pixmap stored in the root window, adjusted so that if there are no windows below your application, the widget will appear to be transparent. if the terminal should fake transparency Property 0.16.0.0 Vte.TerminalEraseBinding Modifies the terminal's backspace key binding, which controls what string or control sequence the terminal sends to its child when the user presses the backspace key. a for the backspace key Property 0.16.0.0 System.Int64 An accessor function provided for the benefit of language bindings. the contents of terminal's char_ascent field Property 0.16.0.0 System.Int64 An accessor function provided for the benefit of language bindings. the contents of terminal's char_descent field Property 0.16.0.0 System.Int64 An accessor function provided for the benefit of language bindings. the contents of terminal's char_height field Event 0.16.0.0 GLib.Signal("char-size-changed") Vte.CharSizeChangedHandler Emitted whenever selection of a new font causes the values of the char_width or char_height fields to change. Property 0.16.0.0 System.Int64 An accessor function provided for the benefit of language bindings. a the contents of terminal's char_width field Event 0.16.0.0 GLib.Signal("child-exited") System.EventHandler This signal is emitted when the terminal detects that a child started using has exited. Event 0.16.0.0 GLib.Signal("copy-clipboard") System.EventHandler To be added. To be added. Event 0.16.0.0 GLib.Signal("paste-clipboard") System.EventHandler To be added. To be added. Property 0.16.0.0 Gdk.Color Sets the background color for text which does not have a specific background color assigned. the new background color Only has effect when no background image is set and when the terminal is not transparent. Property 0.16.0.0 Gdk.Color Sets the color used to draw bold text in the default foreground color. the new bold color Property 0.16.0.0 Gdk.Color To be added. To be added. To be added. Property 0.16.0.0 Gdk.Color Sets the color used to draw dim text in the default foreground color. the new dim color Property 0.16.0.0 Gdk.Color Sets the foreground color used to draw normal text the new foreground color Property 0.16.0.0 Gdk.Color To be added. To be added. To be added. Property 0.16.0.0 System.Int64 An accessor function provided for the benefit of language bindings. the contents of terminal's column_count field Event 0.16.0.0 GLib.Signal("commit") Vte.CommitHandler Emitted whenever the terminal receives input from the user and prepares to send it to the child process. The signal is emitted even when there is no child process. Event 0.16.0.0 GLib.Signal("contents-changed") System.EventHandler Emitted whenever the visible appearance of the terminal has changed. Used primarily by . Method 0.16.0.0 System.Void Places the selected text in the terminal in the GDK_SELECTION_CLIPBOARD selection. Method 0.16.0.0 System.Void Places the selected text in the terminal in the GDK_SELECTION_PRIMARY selection. Property 0.16.0.0 System.Boolean Sets whether or not the cursor will blink. if the cursor should blink The length of the blinking cycle is controlled by the "gtk-cursor-blink-time" GTK+ setting. Event 0.16.0.0 GLib.Signal("cursor-moved") System.EventHandler Emitted whenever the cursor moves to a new character cell. Used primarily by . Event 0.16.0.0 GLib.Signal("decrease-font-size") System.EventHandler Emitted when the user hits the '-' key while holding the Control key. Property 0.16.0.0 System.String To be added. To be added. To be added. Event 0.16.0.0 GLib.Signal("deiconify-window") System.EventHandler Emitted at the child application's request. Property 0.16.0.0 Vte.TerminalEraseBinding Modifies the terminal's delete key binding, which controls what string or control sequence the terminal sends to its child when the user presses the delete key. a for the delete key Property 0.16.0.0 System.String Sets what type of terminal the widget attempts to emulate by scanning for control sequences defined in the system's termcap file. the name of a terminal description Unless you are interested in this feature, always use "xterm". Event 0.16.0.0 GLib.Signal("emulation-changed") System.EventHandler Emitted when the terminal emulation type is changed. Property 0.16.0.0 System.String The encoding the terminal will expect data from the child to be encoded with. a valid gconv target For certain terminal types, applications executing in the terminal can change the encoding. The default encoding is defined by the application's locale settings. Event 0.16.0.0 GLib.Signal("encoding-changed") System.EventHandler Emitted when the terminals encoding type is changed. Event 0.16.0.0 GLib.Signal("eof") System.EventHandler To be added Method 0.16.0.0 System.Void a Interprets as if it were data received from a child process. This can either be used to drive the terminal without a child process, or just to mess with your users. Method 0.16.0.0 System.Void a Sends a block of UTF-8 text to the child as if it were entered by the user at the keyboard. Method 0.16.0.0 System.Void To be added. To be added. To be added. Property 0.16.0.0 Pango.FontDescription The font used for rendering all text displayed by the terminal, overriding any fonts set using . The of the desired font. The terminal will immediately attempt to load the desired font, retrieve its metrics, and attempts to resize itself to keep the same number of rows and columns. Property 0.16.0.0 System.String A convenience function which converts name into a PangoFontDescription and passes it to . A string describing the font. Method 0.16.0.0 System.Int32 the name of a binary to run the argument list to be passed to a list of environment variables to be added to the environment before starting the name of a directory the command should start in, or if the session should be logged to the lastlog if the session should be logged to the utmp/utmpx log if the session should be logged to the wtmp/wtmpx log Starts the specified command under a newly-allocated control pseudo-terminal. the ID of the new process TERM is automatically set to reflect the terminal widget's emulation setting. If lastlog, utmp, or wtmp are , logs the session to the specified system log files. Method 0.16.0.0 System.Void long which will hold the column long which will hold the row Reads the location of the insertion cursor and returns it. The row coordinate is absolute. Method 0.16.0.0 System.Void a in which to store left/right-edge padding a in which to store top/bottom-edge ypadding Determines the amount of additional space the widget is using to pad the edges of its visible area. This is necessary for cases where characters in the selected font do not themselves include a padding area and the text itself would be contiguous with the window border. Applications which use the widget's row_count, column_count, char_height, and char_width fields to set geometry hints using gtk_window_set_geometry_hints() will need to add this value to the base size. The values returned in xpad and ypad are the total padding used in each direction, and do not need to be doubled. Method 0.16.0.0 System.String a callback user data to be passed to the callback location for storing text attributes Extracts a view of the visible part of the terminal. a If is not , characters will only be read if returns after being passed the column and row, respectively. A structure is added to attributes for each byte added to the returned string detailing the character's position, colors, and other characteristics. Method 0.16.0.0 System.String To be added. To be added. To be added. To be added. To be added. To be added. Method 0.16.0.0 System.String first row to search for data first column to search for data last row to search for data last column to search for data a callback user data to be passed to the callback location for storing text attributes Extracts a view of the visible part of the string. a If is not , characters will only be read if returns after being passed the column and row, respectively. A structure is added to attributes for each byte added to the returned string detailing the character's position, colors, and other characteristics. The entire scrollback buffer is scanned, so it is possible to read the entire contents of the buffer using this function. Property 0.16.0.0 GLib.GType GType Property. a Returns the native value for . Property 0.16.0.0 System.Boolean Checks if the terminal currently contains selected text. if part of the text in the terminal is selected. Note that this is different from determining if the terminal is the owner of any items. Event 0.16.0.0 GLib.Signal("iconify-window") System.EventHandler Emitted at the child application's request. Property 0.16.0.0 System.String An accessor function provided for the benefit of language bindings. the contents of terminal's icon_title field Event 0.16.0.0 GLib.Signal("icon-title-changed") System.EventHandler Emitted when the terminal's icon_title field is modified. Method 0.16.0.0 System.Void a Appends menu items for various input methods to the given menu. The user can select one of these items to modify the input method used by the terminal. Event 0.16.0.0 GLib.Signal("increase-font-size") System.EventHandler Emitted when the user hits the '+' key while holding the Control key. Method 0.16.0.0 System.Boolean a Determines if a character is considered to be part of a word if is considered to be a word character according to the current value of . Event 0.16.0.0 GLib.Signal("lower-window") System.EventHandler Emitted at the child application's request. Method 0.16.0.0 System.Int32 a regular expression Adds a regular expression to the list of matching expressions. an integer associated with this expression When the user moves the mouse cursor over a section of displayed text which matches this expression, the text will be highlighted. Method 0.16.0.0 System.String the text column the text row pointer to an integer Checks if the text in and around the specified position matches any of the regular expressions previously set using . a string which matches one of the previously set regular expressions If a match exists, the text string is returned and if is not , the number associated with the matched regular expression will be stored in tag. If more than one regular expression has been set with , then expressions are checked in the order in which they were added. Method 0.16.0.0 System.Void Clears the list of regular expressions the terminal uses to highlight text when the user moves the mouse cursor. Method 0.16.0.0 System.Void the tag of the regex to remove Removes the regular expression which is associated with the given from the list of expressions which the terminal will highlight when the user moves the mouse cursor over matching text. Method 0.16.0.0 System.Void a a To be added To be added Method 0.16.0.0 System.Void a a To be added To be added Event 0.16.0.0 GLib.Signal("maximize-window") System.EventHandler Emitted at the child application's request. Property 0.16.0.0 System.Boolean The value of the terminal's mouse autohide setting. if the autohide should be enabled When autohiding is enabled, the mouse cursor will be hidden when the user presses a key and shown when the user moves the mouse. Event 0.16.0.0 GLib.Signal("move-window") Vte.MoveWindowHandler Emitted at the child application's request. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCharSizeChanged", Type=typeof(Vte.Terminal)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideChildExited", Type=typeof(Vte.Terminal)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideClipboardCopied", Type=typeof(Vte.Terminal)) System.Void To be added. To be added. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideClipboardPasted", Type=typeof(Vte.Terminal)) System.Void To be added. To be added. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCommit", Type=typeof(Vte.Terminal)) System.Void a Representing the input data to commit. This can be a single character or a string. a The length of P0. Default handler for the event. Override this method in a subclass to provide a default handler for the event. P0 can contain control characters. Every key the user presses will emmit a commit signal. About the only thing that will send a sring in P0 will be if the users pasts in some text. Also you must call the parent or base class OnCommit or things will get ugly. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideContentsChanged", Type=typeof(Vte.Terminal)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCursorMoved", Type=typeof(Vte.Terminal)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDecreaseFontSize", Type=typeof(Vte.Terminal)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDeiconifyWindow", Type=typeof(Vte.Terminal)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideEmulationChanged", Type=typeof(Vte.Terminal)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideEncodingChanged", Type=typeof(Vte.Terminal)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideEof", Type=typeof(Vte.Terminal)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideIconifyWindow", Type=typeof(Vte.Terminal)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideIconTitleChanged", Type=typeof(Vte.Terminal)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideIncreaseFontSize", Type=typeof(Vte.Terminal)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideLowerWindow", Type=typeof(Vte.Terminal)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideMaximizeWindow", Type=typeof(Vte.Terminal)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideMoveWindow", Type=typeof(Vte.Terminal)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRaiseWindow", Type=typeof(Vte.Terminal)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRefreshWindow", Type=typeof(Vte.Terminal)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideResizeWindow", Type=typeof(Vte.Terminal)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRestoreWindow", Type=typeof(Vte.Terminal)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionChanged", Type=typeof(Vte.Terminal)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideStatusLineChanged", Type=typeof(Vte.Terminal)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextDeleted", Type=typeof(Vte.Terminal)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextInserted", Type=typeof(Vte.Terminal)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextModified", Type=typeof(Vte.Terminal)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextScrolled", Type=typeof(Vte.Terminal)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideWindowTitleChanged", Type=typeof(Vte.Terminal)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 0.16.0.0 System.UInt16 To be added. To be added. To be added. Method 0.16.0.0 System.Void Sends the contents of the GDK_SELECTION_CLIPBOARD selection to the terminal's child. If necessary, the data is converted from UTF-8 to the terminal's current encoding. Method 0.16.0.0 System.Void Sends the contents of the GDK_SELECTION_PRIMARY selection to the terminal's child. If necessary, the data is converted from UTF-8 to the terminal's current encoding. The terminal will call also paste the GDK_SELECTION_PRIMARY selection when the user clicks with the the second mouse button. Property 0.16.0.0 System.Int32 To be added. To be added. To be added. Event 0.16.0.0 GLib.Signal("raise-window") System.EventHandler Emitted at the child application's request. Event 0.16.0.0 GLib.Signal("refresh-window") System.EventHandler Emitted at the child application's request. Method 0.16.0.0 System.Void to reset tabstops to empty the terminal's scrollback buffer Resets as much of the terminal's internal state as possible. Resets as much of the terminal's internal state as possible, discarding any unprocessed input data, resetting character attributes, cursor state, national character set state, status line, terminal modes (insert/delete), selection state, and encoding. Event 0.16.0.0 GLib.Signal("resize-window") Vte.ResizeWindowHandler Emitted at the child application's request. Event 0.16.0.0 GLib.Signal("restore-window") System.EventHandler Emitted at the child application's request. Property 0.16.0.0 System.Int64 An accessor function provided for the benefit of language bindings. the contents of terminal's row_count field Property 0.16.0.0 System.Boolean To be added a To be added Property 0.16.0.0 System.Int64 Sets the length of the scrollback buffer used by the terminal. the length of the history buffer The size of the scrollback buffer will be set to the larger of this value and the number of visible rows the widget can display, so 0 can safely be used to disable scrollback. Note that this setting only affects the normal screen buffer. For terminal types which have an alternate screen buffer, no scrollback is allowed. Property 0.16.0.0 System.Boolean Controls whether or not the terminal will forcibly scroll to the bottom of the viewable history when the user presses a key. if the terminal should scroll on keystrokes Modifier keys do not trigger this behavior. Property 0.16.0.0 System.Boolean Controls whether or not the terminal will forcibly scroll to the bottom of the viewable history when the new data is received from the child. if the terminal should scroll on output Method 0.16.0.0 System.Void To be added. To be added. Event 0.16.0.0 GLib.Signal("selection-changed") System.EventHandler Emitted whenever the contents of terminal's selection changes. Method 0.16.0.0 System.Void To be added. To be added. Method 0.16.0.0 System.Void the new foreground color, or the new background color, or the color palette the number of entries in Change the colors of the The terminal widget uses a 28-color model comprised of the default foreground and background colors, the bold foreground color, the dim foreground color, an eight color palette, and bold versions of the eight color palette, and a dim version of the the eight color palette. must be either 0, 8, 16, or 24. If is and is greater than 0, the new foreground color is taken from palette[7]. If is and is greater than 0, the new background color is taken from palette[0]. If is 8 or 16, the third (dim) and possibly second (bold) 8-color palette is extrapolated from the new background color and the items in palette. Method 0.16.0.0 System.Void Reset the terminal palette to reasonable compiled-in defaults. Method 0.16.0.0 System.Void To be added. To be added. To be added. To be added. Method 0.16.0.0 System.Void To be added. To be added. To be added. To be added. Method 0.16.0.0 System.Void the desired number of columns the desired number of rows Attempts to change the terminal's size in terms of rows and columns. If the attempt succeeds, the widget will resize itself to the proper size. Property 0.16.0.0 System.String Some terminal emulations specify a status line which is separate from the main display area, and define a means for applications to move the cursor to the status line and back. The current contents of the terminal's status line. For terminals like "xterm", this will usually be the empty string. The string must not be modified or freed by the caller. Event 0.16.0.0 GLib.Signal("status-line-changed") System.EventHandler Emitted whenever the contents of the status line are modified or cleared. Event 0.16.0.0 GLib.Signal("text-deleted") System.EventHandler An internal signal used for communication between the terminal and its accessibility peer. May not be emitted under certain circumstances. Event 0.16.0.0 GLib.Signal("text-inserted") System.EventHandler An internal signal used for communication between the terminal and its accessibility peer. May not be emitted under certain circumstances. Event 0.16.0.0 GLib.Signal("text-modified") System.EventHandler An internal signal used for communication between the terminal and its accessibility peer. May not be emitted under certain circumstances. Event 0.16.0.0 GLib.Signal("text-scrolled") Vte.TextScrolledHandler An internal signal used for communication between the terminal and its accessibility peer. May not be emitted under certain circumstances. Property 0.16.0.0 System.Boolean Whether a is using Xft to draw text. if the terminal is using Xft to render, if the terminal is using Pango or Xlib. This function allows an application to determine which mode the widget is in. This setting cannot be changed by the caller, but in practice usually matches the behavior of Gtk itself. Property 0.16.0.0 System.Boolean Controls whether or not the terminal will present a visible bell to the user when the child outputs the "bl" sequence. if visible bell is enabled, if not The terminal will clear itself to the default foreground color and then repaint itself. Property 0.16.0.0 System.String An accessor function provided for the benefit of language bindings. the contents of terminal's window_title field the contents of terminal's window_title field Event 0.16.0.0 GLib.Signal("window-title-changed") System.EventHandler Emitted when the terminal's window_title field is modified. Property 0.16.0.0 System.String When the user double-clicks to start selection, the terminal will extend the selection on word boundaries. a specification When the user double-clicks to start selection, the terminal will extend the selection on word boundaries. It will treat characters passed in as parts of words, and all other characters as word separators. Ranges of characters can be specified by separating them with a hyphen. As a special case, if set to or the empty string, the terminal will treat all graphic non-punctuation characters as word characters. gtk-sharp-2.12.40/doc/en/Vte/CommitHandler.xml0000664000175000017500000000307012767740535015700 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CommitHandler instance to the event. The methods referenced by the CommitHandler instance are invoked whenever the event is raised, until the CommitHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Vte/TerminalAntiAlias.xml0000664000175000017500000000450712767740535016521 00000000000000 vte-sharp 0.16.0.0 System.Enum GLib.GType(typeof(Vte.TerminalAntiAliasGType)) To be added. To be added. Field 0.16.0.0 Vte.TerminalAntiAlias To be added. Field 0.16.0.0 Vte.TerminalAntiAlias To be added. Field 0.16.0.0 Vte.TerminalAntiAlias To be added. gtk-sharp-2.12.40/doc/en/Vte/ResizeWindowArgs.xml0000664000175000017500000000560712767740535016430 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 0.16.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 0.16.0.0 System.UInt32 To be added a To be added Property 0.16.0.0 System.UInt32 To be added a To be added gtk-sharp-2.12.40/doc/en/Vte/ChildExitedHandler.xml0000664000175000017500000000316212767740535016640 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ChildExitedHandler instance to the event. The methods referenced by the ChildExitedHandler instance are invoked whenever the event is raised, until the ChildExitedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Vte/TextScrolledHandler.xml0000664000175000017500000000320012767740535017057 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the TextScrolledHandler instance to the event. The methods referenced by the TextScrolledHandler instance are invoked whenever the event is raised, until the TextScrolledHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Vte/TerminalAccessibleFactory.xml0000664000175000017500000000755012767740535020242 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Atk.ObjectFactory To be added To be added Constructor 0.16.0.0 To be added To be added Constructor 0.16.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 0.16.0.0 a Internal constructor This is not typically used by C# code. Property 0.16.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Vte/CharAttributes.xml0000664000175000017500000001345212767740535016103 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Field 0.16.0.0 Gdk.Color To be added To be added Property 0.16.0.0 System.Int64 To be added a To be added Field 0.16.0.0 Gdk.Color To be added To be added Method 0.16.0.0 Vte.CharAttributes a To be added a To be added Property 0.16.0.0 System.Int64 To be added a To be added Property 0.16.0.0 System.Boolean To be added a To be added Property 0.16.0.0 System.Boolean To be added a To be added Field 0.16.0.0 Vte.CharAttributes To be added To be added gtk-sharp-2.12.40/doc/en/Vte/MoveWindowHandler.xml0000664000175000017500000000315012767740535016545 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the MoveWindowHandler instance to the event. The methods referenced by the MoveWindowHandler instance are invoked whenever the event is raised, until the MoveWindowHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Vte/MoveWindowArgs.xml0000664000175000017500000000556512767740535016100 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 0.16.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 0.16.0.0 System.UInt32 To be added a To be added Property 0.16.0.0 System.UInt32 To be added a To be added gtk-sharp-2.12.40/doc/en/Vte/CharSizeChangedArgs.xml0000664000175000017500000000564212767740535016760 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 0.16.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 0.16.0.0 System.UInt32 To be added a To be added Property 0.16.0.0 System.UInt32 To be added a To be added gtk-sharp-2.12.40/doc/en/Vte/CharSizeChangedHandler.xml0000664000175000017500000000324412767740535017435 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CharSizeChangedHandler instance to the event. The methods referenced by the CharSizeChangedHandler instance are invoked whenever the event is raised, until the CharSizeChangedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Vte/Reaper.xml0000664000175000017500000001542712767740535014401 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object A singleton object which catches SIGCHLD signals and converts them into GObject-style "child-exited" signals. Because an application may need to be notified when child processes exit, and because there is only one SIGCHLD handler, the widget relies on a to watch for SIGCHLD notifications and retrieve the exit status of child processes which have exited. Constructor 0.16.0.0 To be added To be added Constructor 0.16.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 0.16.0.0 a Internal constructor This is not typically used by C# code. Event 0.16.0.0 GLib.Signal("child-exited") Vte.ChildExitedHandler To be added To be added Method 0.16.0.0 Vte.Reaper Finds the address of the global object, creating the object if necessary. a To be added Property 0.16.0.0 GLib.GType GType Property. a Returns the native value for . Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideChildExited", Type=typeof(Vte.Reaper)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. gtk-sharp-2.12.40/doc/en/Vte/ResizeWindowHandler.xml0000664000175000017500000000320012767740535017074 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ResizeWindowHandler instance to the event. The methods referenced by the ResizeWindowHandler instance are invoked whenever the event is raised, until the ResizeWindowHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Vte/TextScrolledArgs.xml0000664000175000017500000000443312767740535016407 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 0.16.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 0.16.0.0 System.Int32 To be added a To be added gtk-sharp-2.12.40/doc/en/Vte/ChildExitedArgs.xml0000664000175000017500000000554412767740535016165 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 0.16.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 0.16.0.0 System.Int32 To be added a To be added Property 0.16.0.0 System.Int32 To be added a To be added gtk-sharp-2.12.40/doc/en/Vte/TerminalAccessible.xml0000664000175000017500000015511612767740535016714 00000000000000 vte-sharp 0.16.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Accessible Atk.Action Atk.Component Atk.Text Accessibility peer of . To be added Constructor 0.16.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 0.16.0.0 a Internal constructor This is not typically used by C# code. Constructor 0.16.0.0 a Creates a new accessibility peer for the terminal widget. Method 0.16.0.0 System.UInt32 a To be added a To be added Method 0.16.0.0 System.Boolean a a To be added a To be added Property 0.16.0.0 System.Double To be added. To be added. To be added. Event 0.16.0.0 GLib.Signal("bounds_changed") Atk.BoundsChangedHandler To be added To be added Property 0.16.0.0 System.Int32 Gets the offset position of the caret (cursor). a To be added Property 0.16.0.0 System.Int32 To be added a To be added Method 0.16.0.0 System.Boolean a a a To be added a To be added Property 0.16.0.0 Atk.Attribute[] To be added a To be added Method 0.16.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 0.16.0.0 Atk.TextRange a a a a To be added a To be added Method 0.16.0.0 System.Char position Gets the specified text. the character at . Method 0.16.0.0 System.Void a a a a a a To be added To be added Method 0.16.0.0 System.String To be added. To be added. To be added. To be added. Method 0.16.0.0 System.Void a a a a a To be added To be added Method 0.16.0.0 System.String To be added. To be added. To be added. To be added. Method 0.16.0.0 System.String To be added. To be added. To be added. To be added. Method 0.16.0.0 System.String To be added. To be added. To be added. To be added. Method 0.16.0.0 System.Int32 a a a To be added a To be added Method 0.16.0.0 System.Void a a a To be added To be added Method 0.16.0.0 Atk.TextRectangle To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added a a a a To be added Method 0.16.0.0 Atk.Attribute[] To be added. To be added. To be added. To be added. To be added. To be added. Method GLib.SList To be added a a a a To be added Method 0.16.0.0 System.String a a a To be added a To be added Method 0.16.0.0 System.Void a a To be added To be added Method 0.16.0.0 System.String a a To be added a To be added Method 0.16.0.0 System.String a a a a To be added a To be added Method 0.16.0.0 System.String a a a a To be added a To be added Method 0.16.0.0 System.String a a a a To be added a To be added Method 0.16.0.0 System.Boolean To be added a To be added Property 0.16.0.0 GLib.GType GType Property. a Returns the native value for . Property 0.16.0.0 Atk.Layer To be added a To be added Property 0.16.0.0 System.Int32 To be added a To be added Property 0.16.0.0 System.Int32 To be added. To be added. To be added. Property 0.16.0.0 System.Int32 To be added a To be added Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideBoundsChanged", Type=typeof(Vte.TerminalAccessible)) System.Void a To be added To be added Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextAttributesChanged", Type=typeof(Vte.TerminalAccessible)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextCaretMoved", Type=typeof(Vte.TerminalAccessible)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextChanged", Type=typeof(Vte.TerminalAccessible)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextSelectionChanged", Type=typeof(Vte.TerminalAccessible)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 0.16.0.0 Atk.Object a a a To be added a To be added Method 0.16.0.0 System.Void a To be added To be added Method 0.16.0.0 System.Boolean a To be added a To be added Method 0.16.0.0 System.Boolean a To be added a To be added Method 0.16.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Method 0.16.0.0 System.Boolean a a a a a To be added a To be added Method 0.16.0.0 System.Boolean a a a To be added a To be added Method 0.16.0.0 System.Boolean a a a To be added a To be added Method 0.16.0.0 System.Boolean a a To be added a To be added Event 0.16.0.0 GLib.Signal("text_attributes_changed") System.EventHandler To be added To be added Event 0.16.0.0 GLib.Signal("text_caret_moved") Atk.TextCaretMovedHandler To be added To be added Event 0.16.0.0 GLib.Signal("text_changed") Atk.TextChangedHandler To be added To be added Event 0.16.0.0 GLib.Signal("text_selection_changed") System.EventHandler To be added To be added gtk-sharp-2.12.40/doc/en/GLib/0000775000175000017500000000000012767740535012567 500000000000000gtk-sharp-2.12.40/doc/en/GLib/Object.xml0000664000175000017500000007502512767740535014450 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object GLib.IWrapper System.IDisposable Base class for all of Gtk#. Constructor 2.12.0.0 Protected constructor. Chain to this constructor causes a native type to be registered and a native object instance to be constructed. Constructor 2.12.0.0 System.Obsolete The to register with the GLib type system. Creates a new instance, using the GLib-provided type. This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code. This is typically used to construct a new object that must be registered with the C-based GObject type system. An is usually registered from the static constructor for the class. Constructor 2.12.0.0 The pointer to the native C object. Constructs the object from a C-based pointer to the GLib object. This constructor is used to associate a C-based GLib object with its equivalent object in the managed world. This method is called by the generated classes by the Gtk# framework. Method 2.12.0.0 System.Void a to invoke when a GObject property changes Request property-change notifications for all GObject properties This connects to the GObject "notify" signal with no detail argument, to receive notifications when any property changes. Method 2.12.0.0 System.Void the property to watch (the underlying GObject property name, not the managed wrapper property) a to invoke when changes Request property-change notifications This connects to the GObject "notify" signal with a detail argument of , to receive notifications when that property changes. Property 2.12.0.0 System.Obsolete("Replaced by GLib.Signal marshaling mechanism.") System.ComponentModel.EventHandlerList To be added a To be added Property 2.12.0.0 System.Obsolete("Replaced by GLib.Signal marshaling mechanism.") System.Collections.Hashtable To be added a To be added Property 2.12.0.0 System.Obsolete("Replaced by GLib.Signal marshaling mechanism.") System.ComponentModel.EventHandlerList To be added a To be added Property 2.12.0.0 System.Obsolete("Replaced by GLib.Signal marshaling mechanism.") System.Collections.Hashtable To be added a To be added Method 2.12.0.0 System.Void an array of (GObject) property names the values for the properties identified by Creates the GObject underlying a managed subclass This is the method used by managed subclasses (as opposed to classes that are just wrappers around C-based objects) to create their underlying GObject. It will be invoked for you automatically by when you chain to your subclass's base class constructor. Property 2.12.0.0 System.Collections.Hashtable Stores and Accesses arbitrary data on the Object. a This property is obsolete and should not be used unless you explicitly retain a reference to the . Otherwise the Data hashtable will be lost when the Garbage Collector releases your managed object wrapper. There are much better alternatives to this anyway. Consider using a Hashtable on your class that is keyed by or a subclass with an object property for the data you want to store instead. There are many better ways to accompish the role of this property. Method 2.12.0.0 System.Void Disposes of the raw object. Only override this if the Raw object should not be unreferenced when the object is garbage collected. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void a a To be added To be added Method 2.12.0.0 System.Int32 To be added. To be added. To be added. Method 2.12.0.0 GLib.Object a To be added a To be added Method 2.12.0.0 GLib.Object a a Used to obtain a CLI typed object associated with a given raw object pointer. a This method is primarily used to wrap object references that are returned by either the signal system or raw class methods that return GObject references. Method 2.12.0.0 GLib.Value a To be added a To be added Property 2.12.0.0 GLib.GType To be added a To be added Property 2.12.0.0 System.IntPtr The raw GObject reference associated with this object. an object of type Subclasses can use Raw property for read/write access. Method 2.12.0.0 GLib.GType To be added a To be added Method 2.12.0.0 GLib.GType To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void the name of a property on the underlying GObject. Emits a GObject "notify" signal for the property specified by . This method is used to notify consumers of the underlying GObject that something about the GObject property specified by has changed. Method 2.12.0.0 System.Void a a a To be added To be added Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. Property 2.12.0.0 System.Collections.Hashtable Data hash to persistently store managed objects. a This data hash is persistent until the native object is destroyed and can therefore outlast a GLib.Object wrapper class. Property 2.12.0.0 System.IntPtr The raw GObject reference associated with this wrapper. an object of type Only subclasses of Object can access this read/write property. For public read-only access, use the Handle property. This property should only be used from constructors to set a native object pointer instantiated by the constructor. The constructor should chain to base (IntPtr.Zero) on the base class to ensure that no other native objects are instantiated for the class. Property 2.12.0.0 System.Int32 To be added a To be added Method 2.12.0.0 GLib.GType a To be added a To be added Method 2.12.0.0 System.Void the Cancels property-change notifications This disconnects from generic property change notifications. (This only affects notifications created with the corresponding generic version of . It does not remove notifications for specific properties.) Method 2.12.0.0 System.Void the property the Cancels property-change notifictions for the indicated property This disconnects from notifications for . Method 2.12.0.0 System.Void a a To be added To be added Property 2.12.0.0 System.String To be added a To be added gtk-sharp-2.12.40/doc/en/GLib/Signal+EmissionHook.xml0000664000175000017500000000200612767740535017047 00000000000000 glib-sharp 2.12.0.0 System.Delegate System.Boolean To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/GLib/Global.xml0000664000175000017500000000333012767740535014430 00000000000000 glib-sharp 2.12.0.0 System.Object To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/GLib/MissingIntPtrCtorException.xml0000664000175000017500000000477312767740535020525 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Exception Exception for Wrapper Classes that are missing IntPtr Constructors This exception is thrown when is unable to wrap a native object handle in a managed class because the managed class doesn't not expose a public MyClass (IntPtr) constructor. All managed subclasses must expose a constructor that takes a native object handle to enable automated wrapping of native instances. Constructor 2.12.0.0 a message to report in the exception trace. Public Constructor. gtk-sharp-2.12.40/doc/en/GLib/IgnoreClassInitializersAttribute.xml0000664000175000017500000000305612767740535021721 00000000000000 glib-sharp 2.12.0.0 System.Attribute System.AttributeUsage(System.AttributeTargets.Assembly) IgnoreClassInitializers Attribute. Add this attribute to an assembly which implements GLib.Object subclasses to avoid some reflection memory overhead if your classes do not utilize the . Constructor 2.12.0.0 Public Constructor. gtk-sharp-2.12.40/doc/en/GLib/Signal.xml0000664000175000017500000002271012767740535014450 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Signal Binding Used by GLib.Object subclasses to bind events to native GObject properties. Method 2.12.0.0 System.Void a Adds a delegate to the signal. Method 2.12.0.0 System.UInt64 To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Object System.ParamArray To be added. To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Delegate Gets the handler to invoke for a signal. a Only use this property within a marshaling callback. Method 2.12.0.0 GLib.Signal a The signal name to look up. Gets the signal marshaler for a property on an object. a This overload is used for events, which are marshaled internally. Method 2.12.0.0 GLib.Signal a The signal name to look up. The callback which marshals signal arguments and invokes handlers. Gets the signal marshaler for a property on an object. a If the desired event is an , there is a convenience overload that doesn't require a marshaling callback. Method 2.12.0.0 GLib.Signal To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void a Removes a delegate from the signal. gtk-sharp-2.12.40/doc/en/GLib/Source.xml0000664000175000017500000000316712767740535014500 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added To be added Method 2.12.0.0 System.Boolean an object of type To be added an object of type To be added gtk-sharp-2.12.40/doc/en/GLib/ListBase+FilenameString.xml0000664000175000017500000000142712767740535017646 00000000000000 glib-sharp 2.12.0.0 System.Object Type for Filename encoded string element marshaling. Use this type as a List constructor element_type parameter to use filename-encoded string marshaling. gtk-sharp-2.12.40/doc/en/GLib/Boxed.xml0000664000175000017500000001076312767740535014301 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object System.Obsolete An abstract base class to derive structures and marshal them. This class is not used by the generator as of 1.0 and will be removed in future versions. Constructor 2.12.0.0 an object of type Internal Constructor This is not typically called directly. Constructor 2.12.0.0 an object of type Constructs a Boxed type from a raw ref. Property 2.12.0.0 System.IntPtr Do not use. a Do not use. Property 2.12.0.0 System.Object Do not use. a Do not use. Method 2.12.0.0 System.IntPtr To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/GLib/Markup.xml0000664000175000017500000000371212767740535014473 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Object Wrapper for glib markup Method 2.12.0.0 System.String some valid Utf8 text Escapes text so that the markup parser will parse it verbatim. escaped text Less than, greater than, ampersand, etc. are replaced with the corresponding entities. This function would typically be used when writing out a file to be parsed with the markup parser. Note that this function does not protect whitespace and line endings from being processed according to the XML rules for normalization of line endings and attribute values. gtk-sharp-2.12.40/doc/en/GLib/GString.xml0000664000175000017500000001060712767740535014612 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object GLib.IWrapper Internal class for marshaling strings to and from GStrings. This class is used by the code generator to map GStrings onto managed string parameters and return values. It should not be used by application code. Constructor 2.12.0.0 a Creates a native GString from a managed string. Method 2.12.0.0 System.Void To be added. To be added. Property 2.12.0.0 System.IntPtr A pointer to the native GString associated with this object. a Method 2.12.0.0 System.String a Converts a GString pointer to a managed string. a This method does not free the GString. gtk-sharp-2.12.40/doc/en/GLib/ValueArray.xml0000664000175000017500000003153712767740535015315 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object GLib.IWrapper System.Collections.ICollection System.ICloneable System.IDisposable To be added To be added Constructor 2.12.0.0 a To be added To be added Method 2.12.0.0 System.Void a To be added To be added Property 2.12.0.0 System.IntPtr To be added a To be added Method 2.12.0.0 System.Object To be added a To be added Method 2.12.0.0 System.Void a a To be added To be added Property 2.12.0.0 System.Int32 To be added a To be added Method 2.12.0.0 System.Void To be added To be added Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Collections.IEnumerator To be added a To be added Property 2.12.0.0 System.IntPtr To be added a To be added Method 2.12.0.0 System.Void a a To be added To be added Property 2.12.0.0 System.Boolean To be added a To be added Property 2.12.0.0 System.Object a To be added a To be added Method 2.12.0.0 System.Void a To be added To be added Method 2.12.0.0 System.Void a To be added To be added Property 2.12.0.0 System.Object To be added a To be added gtk-sharp-2.12.40/doc/en/GLib/SpawnFlags.xml0000664000175000017500000001332612767740535015303 00000000000000 glib-sharp 2.12.0.0 System.Enum System.Flags SpawnFlags enumeration. Provides process spawning configuration information. Field 2.12.0.0 GLib.SpawnFlags Indicates if the child process should inherit the parent's stdin. Field 2.12.0.0 GLib.SpawnFlags Indicates if child should not be reaped automatically. Caller must call on the returned process to avoid zombies. Field 2.12.0.0 GLib.SpawnFlags Indicates if the first element should be dropped from the argv that is passed to the process. Normally the first element of the argv is the program name to be invoked, and the entire argv is passed to the process, including the program name. Using this flag causes the program name to be dropped from the vector. Field 2.12.0.0 GLib.SpawnFlags Indicates if parent file descriptors should remain open for the child. Without this flag, all descriptors except for stdin, stdout, and stderr are closed. Field 2.12.0.0 GLib.SpawnFlags Indicates if the user's PATH variable should be used to locate the executable. Without this flag, a fully-qualified path to the executable must be provided in the command or argument vector. Setting this flag can create security issues, so it should be used with caution. Field 2.12.0.0 GLib.SpawnFlags Indicates if stderr should be redirected to /dev/null, ignoring the output. If this flag is set, users of must pass for the stderr parameter. Field 2.12.0.0 GLib.SpawnFlags Indicates if stdout should be redirected to /dev/null, ignoring the output. If this flag is set, users of must pass for the stdout parameter. gtk-sharp-2.12.40/doc/en/GLib/PropertyAttribute.xml0000664000175000017500000001141612767740535016744 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Attribute Attribute used to label a property Constructor 2.12.0.0 the (C/GObject) name of the property Attribute constructor Constructor 2.12.0.0 To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. Property 2.12.0.0 System.String The (C/GObject) name of the property a Property 2.12.0.0 System.String To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/GLib/ExceptionManager.xml0000664000175000017500000000545112767740535016467 00000000000000 glib-sharp 2.12.0.0 System.Object Exception management class. Method 2.12.0.0 System.Void Exception. If , the exception terminates the application. Raise Unhandled Exception method. This method is generally only useful to language bindings. If is set, or a user event handler requests application exit, this method does not return. Event 2.12.0.0 GLib.UnhandledExceptionHandler UnhandledException event. Attach a delegate to this event to receive notification of Exceptions throw within managed callback delegates. If the contain information regarding whether the Exception is terminal and can be used to request termination of the application via the property. gtk-sharp-2.12.40/doc/en/GLib/List.xml0000664000175000017500000002351712767740535014154 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.ListBase A list class used by Gtk is managed wrapper for the underlying C list implementation used by Gtk+. Various functions on the Gtk+ API take lists or return lists in this form. The list deals with objects, these are pointers into unmanaged resources. For example to create a list of widgets, you would use the following sample: GLib.List MakeList (Gtk.Widget a, Gtk.Widget b) { GLib.List l = new GLib.List ((IntPtr) 0, typeof (Gtk.Widget)); l.Append (a.Handle); l.Append (b.Handle); } The argument to the constructor, allows the list enumerator code to return properly wrapped or demarshalled objects from the unmanaged world into the managed world. Constructor 2.12.0.0 A handle to a . Constructs a List objects are constructed by passing an unmanaged reference to an existing , or they can use "(IntPtr) 0" as an initial value. Using this constructor will not track the type information of the classes or structures kept in the list. If you plan on tracking the type information, use the method. Constructor 2.12.0.0 a Constructs a list of objects of a given type. Gtk.Widget a = new Gtk.Widget((IntPtr) 0); Gtk.Widget b = new Gtk.Widget((IntPtr) 0); GLib.List l = new GLib.List (typeof (Gtk.Widget)); l.Append (a.Handle); l.Append (b.Handle); Constructor 2.12.0.0 A handle to a GLib.list To be added. Internal constructor objects are constructed by passing an unmanaged reference to an existing , or they can use "(IntPtr) 0" as an initial value. Using this constructor will track the type information of the classes or structures kept in the list. This information is used by the List enumerator when returning data. Constructor 2.12.0.0 Array on elements to build the list. The Type of the elements. Indicates if the list reference must be released on finalization. Indicates if the list members must be released on finalization. Public constructor. Constructs a native GList containing a set of member objects. Constructor 2.12.0.0 Pointer to the native list. The type of the elements contained in the list. if the native list needs to be released on Dispose. if the list elements need to be released on Dispose. Creates a List. This type is only recommended for marshaling GList parameters and return values in bindings. Constructor 2.12.0.0 An array of list member objects. The type of the members. Indicates if the list reference must be released on finalization. Indicates if the list members must be released on finalization. Public constructor. Constructs a native GList containing a set of member objects. Method 2.12.0.0 System.Object To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/GLib/NotifyHandler.xml0000664000175000017500000000346112767740535016003 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Represents a method that will handle a property notification event The handler is provided an value that contains the event data (). gtk-sharp-2.12.40/doc/en/GLib/IOStatus.xml0000664000175000017500000000513612767740535014751 00000000000000 glib-sharp 2.12.0.0 System.Enum IOStatus enumeration. Status results for IO channel operations. Field 2.12.0.0 GLib.IOStatus Resource was temporarily unavailable. Field 2.12.0.0 GLib.IOStatus End of file reached. Field 2.12.0.0 GLib.IOStatus An error occurred. Field 2.12.0.0 GLib.IOStatus Operation completed normally. gtk-sharp-2.12.40/doc/en/GLib/EnumWrapper.xml0000664000175000017500000000637112767740535015505 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object System.Obsolete("Replaced by direct enum type casts to/from GLib.Value") Enum wrapper Constructor 2.12.0.0 an object of type an object of type Creates a new instance. Field 2.12.0.0 System.Boolean Indicates if the enum has the . Method 2.12.0.0 System.Int32 To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/GLib/TimeoutHandler.xml0000664000175000017500000000205212767740535016154 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Boolean Delegate used for Timeouts in the GLib main loop. To be added. Return to restart the timeout. Returning clears the timeout. gtk-sharp-2.12.40/doc/en/GLib/TypeInitializerAttribute.xml0000664000175000017500000000617312767740535020251 00000000000000 glib-sharp 2.12.0.0 System.Attribute System.AttributeUsage(System.AttributeTargets.Class) TypeInitializer Attribute. Replaces the to allow for more efficient reflection memory usage. Constructor 2.12.0.0 The Type to be Initialized. The method name to invoke. Public Constructor. Property 2.12.0.0 System.String MethodName property. The name of a method to invoke at type initialization time. The signature of the method should be void MethodName (GLib.GType, System.Type) and the method should be private static. Property 2.12.0.0 System.Type Type Property. The Type which contains the method identified in . gtk-sharp-2.12.40/doc/en/GLib/SignalAttribute.xml0000664000175000017500000000530312767740535016333 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Attribute System.AttributeUsage(System.AttributeTargets.Event, Inherited=false) Marks events generated from signals This attribute indentifies events generated from signals and allows obtaining its original name. [GLib.Signal("destroy")] public event System.EventHandler Destroyed { add; remove; } Constructor 2.12.0.0 a containing the C name of the signal. Public Constructor. Property 2.12.0.0 System.String The C name of the signal. the C name of the signal as a gtk-sharp-2.12.40/doc/en/GLib/GInterfaceInitHandler.xml0000664000175000017500000000205612767740535017365 00000000000000 glib-sharp 2.12.0.0 System.Delegate System.Void A native Iface struct pointer to populate. User data provided at registration time. Always IntPtr.Zero. GInterface Initialization Handler. Only useful for binding authors, and generated binding code. gtk-sharp-2.12.40/doc/en/GLib/GInterfaceAdapter.xml0000664000175000017500000000613012767740535016541 00000000000000 glib-sharp 2.12.0.0 System.Object GInterfaceAdapter abstract class. The members of this abstract base class are used internally to register GInterfaces with the native type system. They are not useful to application authors. Constructor 2.12.0.0 Protected Constructor. Property 2.12.0.0 GLib.GType GType Property. The native GInterface type value. Property 2.12.0.0 System.IntPtr Handle property. a pointer to a native object. Property 2.12.0.0 GLib.GInterfaceInitHandler InitHandler Property. The Initialization Handler for the Adapter. gtk-sharp-2.12.40/doc/en/GLib/PrintFunc.xml0000664000175000017500000000173112767740535015143 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added To be added gtk-sharp-2.12.40/doc/en/GLib/SignalArgs.xml0000664000175000017500000001041312767740535015262 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.EventArgs Arguments and return value for signals. Constructor 2.12.0.0 Creates a SignalArgs object with no return value and no arguments. Constructor 2.12.0.0 an object of type Creates a SignalArgs object with a return value and no arguments. Constructor 2.12.0.0 To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Object[] A list of arguments. an object of type [] Property 2.12.0.0 System.Object The return value. an object of type gtk-sharp-2.12.40/doc/en/GLib/Signal+EmissionHookMarshaler.xml0000664000175000017500000000677512767740535020727 00000000000000 glib-sharp 2.12.0.0 System.Object To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. To be added. Property 2.12.0.0 GLib.Signal+EmissionHookNative To be added. To be added. To be added. Property 2.12.0.0 GLib.Signal+EmissionHook To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/GLib/Process.xml0000664000175000017500000003771012767740535014657 00000000000000 glib-sharp 2.12.0.0 System.Object Process class. Methods for spawning child processes. Method 2.12.0.0 System.Void Closes a process. Processes spawned with must use this method to ensure zombie processes are not stranded. Field 2.12.0.0 System.Int32 2147483647 IgnorePipe field. Pass this value to to ignore a pipe parameter. Field 2.12.0.0 System.Int32 0 RequestPipe field. Pass this value to to request a request a pipe descriptor be returned in the parameter. Method 2.12.0.0 System.Boolean The directory in which to execute the process, or to use the current directory of the parent process. A string array containing the program name in the first element. An array of environment values in the form 'var=value', or . Process spawning configuration flags. A child process setup callback, or . Returns the child process. Spawns a child process asynchronously. A boolean value indicating spawning success. The method does not wait for the child process to complete before returning. This is a convenience method for the more detailed method. This method throws if an error occurs creating the process. ... try { GLib.Process proc; GLib.Process.SpawnAsync (null, new string[] {"echo", "[Async echo is running]"}, null, GLib.SpawnFlags.SearchPath, null, out proc); } catch (GException e) { Console.WriteLine ("Exception in Spawn operation: " + e); } ... Method 2.12.0.0 System.Boolean The directory in which to execute the process, or to use the current directory of the parent process. A string array containing the program name in the first element. An array of environment values in the form 'var=value', or . Process spawning configuration flags. A child process setup callback, or . Returns the spawned process. Returns the stdin pipe descriptor if caller passes anything but . Returns the stdout pipe descriptor if caller passes anything but . Returns the stderr pipe descriptor if caller passes anything but . Spawns a child process and returns requested pipe descriptors. A boolean value indicating operation success. This method throws if an error occurs creating the process. using GLib; using System; public class SpawnTest { public static void Main (string[] args) { new SpawnTest (); } MainLoop main_loop; IOChannel channel; public SpawnTest () { main_loop = new MainLoop (); try { Process proc; int stdin = Process.IgnorePipe; int stdout = Process.RequestPipe; int stderr = Process.IgnorePipe; GLib.Process.SpawnAsyncWithPipes (null, new string[] {"pwd"}, null, SpawnFlags.SearchPath, null, out proc, ref stdin, ref stdout, ref stderr); channel = new IOChannel (stdout); channel.AddWatch (0, IOCondition.In | IOCondition.Hup, new IOFunc (ReadStdout)); } catch (Exception e) { Console.WriteLine ("Exception in Spawn: " + e); } main_loop.Run (); } bool ReadStdout (IOChannel source, IOCondition condition) { if ((condition & IOCondition.In) == IOCondition.In) { string txt; if (source.ReadToEnd (out txt) == IOStatus.Normal) Console.WriteLine ("[SpawnTest output] " + txt); } if ((condition & IOCondition.Hup) == IOCondition.Hup) { source.Dispose (); main_loop.Quit (); return true; } return true; } } Method 2.12.0.0 System.Boolean The command line with arguments. Spawns a child process asynchronously. A boolean value indicating spawning success. This method does not wait for the child process to complete before returning. It is a convenience method for the more detailed method. ... try { GLib.Process.SpawnCommandLineAsync ("echo \"[Async echo process running]\""); } catch (GException e) { Console.WriteLine ("Exception in Spawn operation: " + e); } ... Method 2.12.0.0 System.Boolean The command line with arguments. Returns the stdout output of the child process as a string. Returns the stderr output of the child process as a string. Returns the exit code returned by the process. Spawns a child process synchronously. A boolean value indicating spawning success. The method waits for the child process to complete prior to returning. This is a convenience method for the more detailed method. ... try { string stdout, stderr; int exit_status; GLib.Process.SpawnCommandLineSync ("pwd", out stdout, out stderr, out exit_status); Console.Write ("pwd exit_status=" + exit_status + " output: " + stdout); } catch (GException e) { Console.WriteLine ("Exception in Spawn operation: " + e); } ... Method 2.12.0.0 System.Boolean The directory in which to execute the process, or to use the current directory of the parent process. A string array containing the program name in the first element. An array of environment values in the form 'var=value', or . Process spawning configuration flags. A child process setup callback, or . Returns the stdout output of the child process as a string. Returns the stderr output of the child process as a string. Returns the exit code of the child process. Spawns a child process synchronously. A boolean value indicating spawning success. The method waits for the child process to complete prior to returning. ... try { string stdout, stderr; int exit_status; GLib.Process.SpawnSync ("/usr", new string[] {"pwd"}, null, GLib.SpawnFlags.SearchPath, null, out stdout, out stderr, out exit_status); Console.Write ("pwd exit_status=" + exit_status + " output: " + stdout); } catch (GException e) { Console.WriteLine ("Exception in Spawn operation: " + e); } ... gtk-sharp-2.12.40/doc/en/GLib/TypeConverter.xml0000664000175000017500000000370312767740535016045 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Fundamental type converter Utilities for converting between and Method 2.12.0.0 System.Obsolete("Replaced by explicit (GType) cast") GLib.GType a Obsolete: Replaced by cast. a gtk-sharp-2.12.40/doc/en/GLib/UnwrappedObject.xml0000664000175000017500000000503312767740535016326 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object System.Obsolete("Replaced by direct object-type casts to/from GLib.Value") To be added To be added Constructor 2.12.0.0 an object of type To be added To be added Method 2.12.0.0 System.IntPtr To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/GLib/SeekType.xml0000664000175000017500000000406012767740535014762 00000000000000 glib-sharp 2.12.0.0 System.Enum SeekType enumeration. Base positions for seek operations. Field 2.12.0.0 GLib.SeekType Current position in the file. Field 2.12.0.0 GLib.SeekType End of the file. Field 2.12.0.0 GLib.SeekType Start of the file. gtk-sharp-2.12.40/doc/en/GLib/IdleHandler.xml0000664000175000017500000000231312767740535015403 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Boolean Delegate to invoke during idle time To be added. The handler specified by the delegate will be invoked during the GLib main loop execution. If the handler returns the handler is kept for another round of Idle execution, if is returned, the handler is removed. gtk-sharp-2.12.40/doc/en/GLib/ClassInitializerAttribute.xml0000664000175000017500000000420612767740535020370 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Attribute System.Obsolete("Replaced by TypeInitializerAttribute") Identifies a class initialization method to call when GTypes are registered. Constructor 2.12.0.0 Constructs an attribute. gtk-sharp-2.12.40/doc/en/GLib/GSourceFunc.xml0000664000175000017500000000154112767740535015415 00000000000000 glib-sharp 2.12.0.0 System.Delegate System.Boolean GSource callback delegate. A boolean value. Typically, when the delegate returns , the delegate remains connected to the event source. When is returned, the delegate is removed. gtk-sharp-2.12.40/doc/en/GLib/DestroyHelper.xml0000664000175000017500000000407412767740535016027 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Helper methods for unmanaged memory Property 2.12.0.0 GLib.DestroyNotify A that frees a . a gtk-sharp-2.12.40/doc/en/GLib/Marshaller.xml0000664000175000017500000006464412767740535015341 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Marshalling utilities Utility class for internal wrapper use Method 2.12.0.0 System.Obsolete("Use GLib.Argv instead to avoid leaks.") System.IntPtr a Obsolete. a Replaced by Method 2.12.0.0 System.Obsolete("Use GLib.Argv instead to avoid leaks.") System.String[] a a Obsolete. a Replaced by Method 2.12.0.0 System.UInt32 a Marshals a UTF16 char to a UCS4 character represented as an uint. a Method 2.12.0.0 System.IntPtr a Marshals DateTime structures to native time_t values. a Method 2.12.0.0 System.String A native filename-encoded string pointer. Marshals a native filename-encoded string to a managed string. A managed string. The native pointer is not freed after marshaling. Use with const strings. Method 2.12.0.0 System.String A native filename-encoded string pointer. Marshals a native filename-encoded string to a managed string. A managed string. The native pointer is freed after marshaling. Method 2.12.0.0 System.Void a Free a native pointer allocated by GLib. Method 2.12.0.0 System.Void An array of native memory addresses. Frees an array of native memory locations. Method 2.12.0.0 System.Char a Marshals a UCS4 character represented as an uint to a UTF16 char. a Method 2.12.0.0 System.Array To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Array The list to be marshaled. The type of the list elements. Marshals a native list to a typed array. An array of . Method 2.12.0.0 System.IntPtr Size in bytes to be allocated. Allocates a block of heap memory using the glib allocator. A pointer to the block. Method 2.12.0.0 System.String[] Pointer to a null-terminated string array. Indicates if the memory is owned and should be released. Marshals a native null-terminated string array to a managed string array. an array of managed strings. Method 2.12.0.0 System.Array To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String[] Pointer to a null-terminated string array. Marshal a null-terminated string array to a managed array. A string array. Method 2.12.0.0 System.String a Marshals a utf8 string from native memory and frees the native string. a Method 2.12.0.0 System.String[] a Marshals an array of utf8 string from native memory and frees the native strings. a Method 2.12.0.0 System.Void Pointer to a native null-terminated string array. Frees a string array, including its member strings. Method 2.12.0.0 System.IntPtr[] an array of strings. Marshals a managed string array to a native null-terminated array. An array of native string pointers. Method 2.12.0.0 System.String System.ParamArray a -style format string arguments for Wrapper for marshalling between String.Format-style methods and printf-style ones a This is a wrapper for marshalling between managed String.Format-style methods and unmanaged printf-style ones. The managed function should take a format, and a array of , and pass that to . will format the data, and then make sure that any percent signs in the result are doubled so that they can safely be passed to an unmanaged method that expects a printf-style string (and following arguments). Method 2.12.0.0 System.IntPtr A managed string to be marshaled. Marshals a string to a filename encoded native pointer. A pointer to a newly allocated native string. Method 2.12.0.0 System.IntPtr a Marshal a string to a native Utf8 string using GLib memory allocation. a Method 2.12.0.0 System.IntPtr the structure to marshal Marshals a structure to newly-allocated memory. a pointer to the newly-allocated memory This is like except that it allocates the memory for the unmanaged copy itself. You should free the memory with when you are done with it. Method 2.12.0.0 System.DateTime a Marshals native time_t values to DateTime values. a Method 2.12.0.0 System.String a Marshals a native Utf8 string to a managed string. a Method 2.12.0.0 System.String[] a Marshals an array of native Utf8 strings to an array of managed strings. a gtk-sharp-2.12.40/doc/en/GLib/Signal+EmissionHookNative.xml0000664000175000017500000000252512767740535020224 00000000000000 glib-sharp 2.12.0.0 System.Delegate GLib.CDeclCallback System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/GLib/GTypeAttribute.xml0000664000175000017500000000566612767740535016162 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Attribute System.AttributeUsage(System.AttributeTargets.Enum) Identifies a property that can be read to find the GType of a managed type Constructor 2.12.0.0 the containing the GType property Creates an attribute. Property 2.12.0.0 System.Type The class containing the GType property a gtk-sharp-2.12.40/doc/en/GLib/GType.xml0000664000175000017500000006127012767740535014267 00000000000000 glib-sharp 2.12.0.0 System.ValueType The GLib Runtime type identification and management system. The GType API is the foundation of the GObject system. It provides the facilities for registering and managing all fundamental data types, user-defined object and interface types. Constructor 2.12.0.0 a Constructor for GType. Primarily used in generated wrappers for gtk objects. Generated code from gnome/generated/About.cs: [DllImport("gnomeui-2")] static extern IntPtr gnome_about_get_type(); public static new GLib.GType GType { get { IntPtr raw_ret = gnome_about_get_type(); GLib.GType ret = new GLib.GType(raw_ret); return ret; } } Field 2.12.0.0 GLib.GType The for values. Field 2.12.0.0 GLib.GType The for "boxed" struct values. Field 2.12.0.0 GLib.GType The for values. Field 2.12.0.0 GLib.GType The for values. Field 2.12.0.0 GLib.GType The for GType-registered enum values. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Field 2.12.0.0 GLib.GType The for GType-registered flag values. Field 2.12.0.0 GLib.GType The for values. Method 2.12.0.0 GLib.GType To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Field 2.12.0.0 GLib.GType The for values. Field 2.12.0.0 GLib.GType The for values. Field 2.12.0.0 GLib.GType The for unmanaged interface values. Field 2.12.0.0 GLib.GType An invalid . Field 2.12.0.0 GLib.GType To be added. To be added. Method 2.12.0.0 System.Type a Looks up the corresponding to an unmanaged GType a Field 2.12.0.0 GLib.GType A corresponding to . Field 2.12.0.0 GLib.GType The for values. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Type To be added. To be added. To be added. To be added. Method 2.12.0.0 GLib.GType To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Field 2.12.0.0 GLib.GType To be added. To be added. Field 2.12.0.0 GLib.GType The for pointer values. Method 2.12.0.0 System.Void a a Registers a to mapping. Field 2.12.0.0 GLib.GType The for values. Method 2.12.0.0 System.String To be added. To be added. To be added. Field 2.12.0.0 GLib.GType The for values. Field 2.12.0.0 GLib.GType The for values. Field 2.12.0.0 GLib.GType The for values. Field 2.12.0.0 GLib.GType To be added. To be added. Property 2.12.0.0 System.IntPtr Read only property retrieves the representing the GType object in question. a gtk-sharp-2.12.40/doc/en/GLib/DefaultSignalHandlerAttribute.xml0000664000175000017500000001071712767740535021143 00000000000000 glib-sharp 2.12.0.0 System.Attribute Identifies a virtual class method on a GLib.Object subclass. When a virtual method tagged with this attribute is overridden in a subclass, the method is automatically hooked into the native object's vtable. For the most part, this is an internal implementation detail, but it can be used by binding code to manually identify GObject virtual methods that can be overridden by subclasses. The following code identifies the ForAll method as an overridable native method on the class. When a managed subclass of Container overrides the ForAll method, at type registration time, the OverrideForall method is invoked to connect up a delegate to the native GtkContainerClass::forall vtable slot. static void Forall_cb (IntPtr container, bool include_internals, IntPtr cb, IntPtr data) { Container obj = GLib.Object.GetObject (container, false) as Container; CallbackInvoker invoker = new CallbackInvoker (cb, data); obj.ForAll (include_internals, invoker); } static void OverrideForall (GLib.GType gtype) { if (ForallCallback == null) ForallCallback = new ForallDelegate (Forall_cb); gtksharp_container_override_forall (gtype, ForallCallback); } [GLib.DefaultSignalHandler (Type=typeof(Gtk.Container), ConnectionMethod="OverrideForall")] protected virtual void ForAll (bool include_internals, CallbackInvoker invoker) { gtksharp_container_base_forall (Handle, include_internals, invoker.Callback, invoker.Data); } Constructor 2.12.0.0 Public Constructor. Property 2.12.0.0 System.String The method to invoke to hook into the native object's vtable. a representing the method name to invoke. This method is invoked during type registration to hook up a callback delegate into the native object's vtable for virtual methods. Property 2.12.0.0 System.Type The Type of the object which exposes the virtual method. a The type registration code reflects on this type for the to invoke. gtk-sharp-2.12.40/doc/en/GLib/MainContext.xml0000664000175000017500000001165412767740535015471 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Manages events in the main context. Constructor 2.12.0.0 Create a new instance. This is the default constructor for . Property 2.12.0.0 System.Int32 Nesting level of the currently executing main loop. A count of main loop levels. Method 2.12.0.0 System.Boolean Runs a single iteration for the given main loop. an object of type This is a convenience overload for with passed in. Method 2.12.0.0 System.Boolean an object of type Runs a single iteration for the given main loop. an object of type This involves checking to see if any event sources are ready to be processed, then if no events sources are ready and is , waiting for a source to become ready, then dispatching the highest priority events sources that are ready. Note that even when is , it is still possible for g_main_context_iteration() to return , since the the wait may be interrupted for other reasons than an event source becoming ready. Method 2.12.0.0 System.Boolean Checks if any sources have pending events for the given context. an object of type gtk-sharp-2.12.40/doc/en/GLib/ConnectBeforeAttribute.xml0000664000175000017500000000555112767740535017637 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Attribute Identifies a delegate to run before the default signal handler. Use this attribute to attach an event handler to an object and cause it to be invoked before the default signal handler of the object. While this mechanism can be used to pierce the object's encapsulation and change the behavior of the object without subclassing it, the cleaner approach would be to subclass the object and override the virtual method for the default signal handler. In the following example, the ButtonClicked method will be invoked before the virtual method is executed. public class Example { public static int Main (string[] args) { Gtk.Button btn = new Gtk.Button ("Click me"); btn.Clicked = new EventHandler (ButtonClicked); } [GLib.ConnectBefore] private void ButtonClicked (object o, EventArgs args) { Console.WriteLine ("Got Clicked"); } } Constructor 2.12.0.0 Public Constructor. gtk-sharp-2.12.40/doc/en/GLib/MainLoop.xml0000664000175000017500000001022212767740535014744 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Allows having a mainloop without requiring Gtk. Constructor 2.12.0.0 Default constructor Method 2.12.0.0 System.Void To be added. To be added. Property 2.12.0.0 System.Boolean Whether this mainloop has started or not. a Method 2.12.0.0 System.Void Stop the mainloop. Method 2.12.0.0 System.Void Start the mainloop. gtk-sharp-2.12.40/doc/en/GLib/Signal+Flags.xml0000664000175000017500000001036712767740535015505 00000000000000 glib-sharp 2.12.0.0 System.Enum System.Flags To be added. To be added. Field 2.12.0.0 GLib.Signal+Flags To be added. Field 2.12.0.0 GLib.Signal+Flags To be added. Field 2.12.0.0 GLib.Signal+Flags To be added. Field 2.12.0.0 GLib.Signal+Flags To be added. Field 2.12.0.0 GLib.Signal+Flags To be added. Field 2.12.0.0 GLib.Signal+Flags To be added. Field 2.12.0.0 GLib.Signal+Flags To be added. gtk-sharp-2.12.40/doc/en/GLib/SList.xml0000664000175000017500000001754412767740535014302 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.ListBase Wrapper class for GSList. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 the of the list elements. Public Constructor. Constructor 2.12.0.0 Pointer to the C object. To be added. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 An array of list member objects. The type of the members. Indicates if the list reference must be released on finalization. Indicates if the list members must be released on finalization. Public constructor. Constructs a native GList containing a set of member objects. Constructor 2.12.0.0 Pointer to the native list. The type if the elements contained in the list. if the native list should be released on Dispose. if the elements should be released on Dispose. Creates an SList. This type should only be used for marshaling GSList parameters and return values in bindings. Constructor 2.12.0.0 An array of list member objects. The type of the members. Indicates if the list reference must be released on finalization. Indicates if the list members must be released on finalization. Public constructor. Constructs a native GList containing a set of member objects. Method 2.12.0.0 System.Object To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/GLib/SpawnChildSetupFunc.xml0000664000175000017500000000201412767740535017117 00000000000000 glib-sharp 2.12.0.0 System.Delegate System.Void Child process setup callback delegate. Pass this delegate one of the Spawn methods on to perform process setup. Note that using this capability can cause portability issues if you are targetting a win32 environment. In POSIX environments, the function is run in the child's environment, but on win32 this is not possible, so it runs in the parent environment. gtk-sharp-2.12.40/doc/en/GLib/IWrapper.xml0000664000175000017500000000272012767740535014763 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Interface to identify a handle accessible wrapped type. This interface is used by the code generator, but it not typically used by application code. Property 2.12.0.0 System.IntPtr A pointer to the native type instance. an object of type gtk-sharp-2.12.40/doc/en/GLib/TypeFundamentals.xml0000664000175000017500000003205112767740535016515 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum The built-in types available in . Field 2.12.0.0 GLib.TypeFundamentals To be added Field 2.12.0.0 GLib.TypeFundamentals To be added Field 2.12.0.0 GLib.TypeFundamentals To be added Field 2.12.0.0 GLib.TypeFundamentals To be added Field 2.12.0.0 GLib.TypeFundamentals To be added Field 2.12.0.0 GLib.TypeFundamentals To be added Field 2.12.0.0 GLib.TypeFundamentals To be added Field 2.12.0.0 GLib.TypeFundamentals To be added Field 2.12.0.0 GLib.TypeFundamentals To be added Field 2.12.0.0 GLib.TypeFundamentals To be added Field 2.12.0.0 GLib.TypeFundamentals To be added Field 2.12.0.0 GLib.TypeFundamentals To be added Field 2.12.0.0 GLib.TypeFundamentals To be added Field 2.12.0.0 GLib.TypeFundamentals To be added Field 2.12.0.0 GLib.TypeFundamentals To be added Field 2.12.0.0 GLib.TypeFundamentals To be added Field 2.12.0.0 GLib.TypeFundamentals To be added Field 2.12.0.0 GLib.TypeFundamentals To be added Field 2.12.0.0 GLib.TypeFundamentals To be added Field 2.12.0.0 GLib.TypeFundamentals To be added Field 2.12.0.0 GLib.TypeFundamentals To be added gtk-sharp-2.12.40/doc/en/GLib/Signal+InvocationHint.xml0000664000175000017500000000434112767740535017400 00000000000000 glib-sharp 2.12.0.0 System.ValueType To be added. To be added. Field 2.12.0.0 System.UInt32 To be added. To be added. Field 2.12.0.0 GLib.Signal+Flags To be added. To be added. Field 2.12.0.0 System.UInt32 To be added. To be added. gtk-sharp-2.12.40/doc/en/GLib/DestroyNotify.xml0000664000175000017500000000341512767740535016056 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate GLib.CDeclCallback System.Void To be added. A callback invoked to free user-provided data. This is mostly for internal use. You should not need to use it unless you are binding additional unmanaged API. gtk-sharp-2.12.40/doc/en/GLib/IOCondition.xml0000664000175000017500000000740412767740535015414 00000000000000 glib-sharp 2.12.0.0 System.Enum System.Flags IOCondition enumeration. Flags to configure watches on an event source. Field 2.12.0.0 GLib.IOCondition Error condition. Field 2.12.0.0 GLib.IOCondition Hung up. The connection has been broken. Field 2.12.0.0 GLib.IOCondition There is data to read. Field 2.12.0.0 GLib.IOCondition Invalid request. Field 2.12.0.0 GLib.IOCondition Data can be written without blocking. Field 2.12.0.0 GLib.IOCondition There is urgent data to be read. gtk-sharp-2.12.40/doc/en/GLib/PtrArray.xml0000664000175000017500000003501712767740535015003 00000000000000 glib-sharp 2.12.0.0 System.Object GLib.IWrapper System.Collections.ICollection System.ICloneable System.IDisposable To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. To be added. To be added. Constructor 2.12.0.0 To be added. To be added. To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. Method 2.12.0.0 System.Object To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Int32 To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Field 2.12.0.0 System.Type To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Collections.IEnumerator To be added. To be added. To be added. Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. Property 2.12.0.0 System.Boolean To be added. To be added. To be added. Property 2.12.0.0 System.Object To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Property 2.12.0.0 System.Object To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/GLib/SignalCallback.xml0000664000175000017500000002622612767740535016073 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object System.IDisposable System.Obsolete("Replaced by GLib.Signal.") Base Class for GSignal to C# event marshalling. Constructor 2.12.0.0 a a a To be added To be added Field 2.12.0.0 System.Type To be added To be added Field 2.12.0.0 System.Delegate To be added To be added Field 2.12.0.0 System.UInt32 To be added To be added Field 2.12.0.0 System.Collections.Hashtable To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 System.Int32 To be added To be added Field 2.12.0.0 GLib.Object To be added To be added Method 2.12.0.0 System.Void an object of type To be added To be added Method 2.12.0.0 System.Void a a a To be added To be added Method 2.12.0.0 System.Void To be added To be added Method 2.12.0.0 System.Void To be added To be added Method 2.12.0.0 System.Void an object of type To be added To be added Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void an object of type To be added To be added gtk-sharp-2.12.40/doc/en/GLib/ListBase.xml0000664000175000017500000003562212767740535014747 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object GLib.IWrapper System.Collections.ICollection System.ICloneable System.IDisposable Base class for GList and GSList. Method 2.12.0.0 System.Void an object of type Appends an element to the end of the list. Method 2.12.0.0 System.Void An item to be appended to the list. Appends an item to the List. Method 2.12.0.0 System.Void an object of type Appends an element to the end of the list. This is a convenience overload to append a to the end of a list. Method 2.12.0.0 System.Object Clones the list. a copy of the list as an . Produces a copy of the list. Method 2.12.0.0 System.Void an to copy to. the index to start copying at in . Copies the list to a typed array. Property 2.12.0.0 System.Int32 The number of elements in the list. the number of elements in the list as an Method 2.12.0.0 System.Void Disposes the list. If is set, this frees the native list. Method 2.12.0.0 System.Void a Disposes the list. If the property is set, the underlying native list is freed. Field 2.12.0.0 System.Type The of the elements of the list. subclasses are handled automatically, so it is not necessary to set this field for lists of . Method 2.12.0.0 System.Void Empties the list. Empties, and frees the list, as well as all of its children Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Collections.IEnumerator Gets an to enumerate the list elements. a Property 2.12.0.0 System.IntPtr A raw list reference for marshaling situations. an object of type Property 2.12.0.0 System.Boolean Indicates if the list is synchronized. always Always returns false. Property 2.12.0.0 System.Object a representing the 0 indexed offset to the member. Indexer for list members. the list member at as an . Property 2.12.0.0 System.Obsolete("Replaced by owned parameter on ctor.") System.Boolean Indicates if the native handle is owned by the Managed list class. an object of type Identifies the list as one that needs to be freed. Only set this to true if you want the object to release the associated native list when it is disposed. Method 2.12.0.0 System.Void an object of type Prepends an element to the front of the list. This is faster than . Property 2.12.0.0 System.Object Synchronization root. always Always returns since this type is never synchronized. gtk-sharp-2.12.40/doc/en/GLib/ObjectManager.xml0000664000175000017500000001366212767740535015742 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Manages GType to GLib.Object mapping and activation. Constructor 2.12.0.0 Do Not Use. Method 2.12.0.0 GLib.Object an object of type Activates an object wrapper for a native object. an object of type This should not need to be used by external code. Method 2.12.0.0 System.Obsolete("Replaced by GType.Register (GType, Type)") System.Void a a Obsolete. Replaced by . Method 2.12.0.0 System.Obsolete("Replaced by GType.Register (GType, Type)") System.Void an object of type an object of type Obsolete. Use the GType overload. Method 2.12.0.0 System.Obsolete("Replaced by GType.Register (GType, Type)") System.Void an object of type an object of type an object of type Obsolete. Use the GType overload. gtk-sharp-2.12.40/doc/en/GLib/SpawnError.xml0000664000175000017500000002564712767740535015351 00000000000000 glib-sharp 2.12.0.0 System.Enum SpawnError enumeration. Error codes returned by process spawing methods. Field 2.12.0.0 GLib.SpawnError execv() returned EACCESS. Field 2.12.0.0 GLib.SpawnError Changing to working directory failed. Field 2.12.0.0 GLib.SpawnError Some other failure. Error message output will have additional info. Field 2.12.0.0 GLib.SpawnError Fork failed due to lack of memory. Field 2.12.0.0 GLib.SpawnError execv() returned EINVAL. Field 2.12.0.0 GLib.SpawnError execv() returned EIO. Field 2.12.0.0 GLib.SpawnError execv() returned EISDIR. Field 2.12.0.0 GLib.SpawnError execv() returned ELIBBAD. Field 2.12.0.0 GLib.SpawnError execv() returned ELOOP. Field 2.12.0.0 GLib.SpawnError execv() returned EMFILE. Field 2.12.0.0 GLib.SpawnError execv() returned ENAMETOOLONG. Field 2.12.0.0 GLib.SpawnError execv() returned ENFILE. Field 2.12.0.0 GLib.SpawnError execv() returned ENOENT. Field 2.12.0.0 GLib.SpawnError execv() returned ENOEXEC. Field 2.12.0.0 GLib.SpawnError execv() returned ENOMEM. Field 2.12.0.0 GLib.SpawnError execv() returned ENOTDIR. Field 2.12.0.0 GLib.SpawnError execv() returned EPERM. Field 2.12.0.0 GLib.SpawnError Read or select on pipe failed. Field 2.12.0.0 GLib.SpawnError execv() returned ETOOBIG. Field 2.12.0.0 GLib.SpawnError execv() returned ETXTBUSY. gtk-sharp-2.12.40/doc/en/GLib/LogLevelFlags.xml0000664000175000017500000002052212767740535015720 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum System.Flags To be added To be added Field 2.12.0.0 GLib.LogLevelFlags To be added Field 2.12.0.0 GLib.LogLevelFlags To be added Field 2.12.0.0 GLib.LogLevelFlags To be added Field 2.12.0.0 GLib.LogLevelFlags To be added Field 2.12.0.0 GLib.LogLevelFlags To be added Field 2.12.0.0 GLib.LogLevelFlags To be added Field 2.12.0.0 GLib.LogLevelFlags To be added Field 2.12.0.0 GLib.LogLevelFlags To be added Field 2.12.0.0 GLib.LogLevelFlags To be added Field 2.12.0.0 GLib.LogLevelFlags To be added Field 2.12.0.0 GLib.LogLevelFlags To be added Field 2.12.0.0 GLib.LogLevelFlags To be added Field 2.12.0.0 GLib.LogLevelFlags To be added gtk-sharp-2.12.40/doc/en/GLib/Opaque.xml0000664000175000017500000003337112767740535014472 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object GLib.IWrapper System.IDisposable To be added To be added Constructor 2.12.0.0 Creates a new instance. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.12.0.0 GLib.Opaque Native opaque structure pointer to copy. Copies an existing opaque type. A copied reference, or the original if the type doesn't support copying. Method 2.12.0.0 System.Void Disposes the raw object. Method 2.12.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.Void The raw pointer. Overridden in generated subclasses to free the raw data. Method 2.12.0.0 System.Int32 To be added. To be added. To be added. Method 2.12.0.0 System.Obsolete("Use more explicit overload. This method always returns null") GLib.Opaque an object of type Used to obtain a CLI typed object associated with a given raw object pointer. an object of type This method is primarily used to wrap object references that are returned by either the signal system or raw class methods that return opaque struct references. Method 2.12.0.0 GLib.Opaque a a a Used to obtain a CLI typed object associated with a given raw pointer. a This method is primarily used to wrap object references that are returned by either the signal system or raw class methods that return opaque type pointers. Property 2.12.0.0 System.IntPtr The raw Opaque reference associated with this object. an object of type Subclasses can use Raw property for read/write access. Property 2.12.0.0 System.Boolean Whether or not this wrapper owns the raw object. if the wrapper owns the raw object and will / it when the wrapper is disposed. By default, this is set to for opaque objects created with the no-argument constructor, and for opaque objects created with the constructor. Methods that return an opaque object can override this by setting the property accordingly to obey the memory-management conventions of the underlying C code. Property 2.12.0.0 System.IntPtr To be added. To be added. To be added. Property 2.12.0.0 System.IntPtr The raw Opaque reference associated with this wrapper. an object of type Only subclasses of Opaque can access this read/write property. Method 2.12.0.0 System.Void The raw pointer. Overridden in generated subclasses that perform refcounting. Method 2.12.0.0 System.Void The raw pointer. Overridden in generated subclasses that perform refcounting. gtk-sharp-2.12.40/doc/en/GLib/InitiallyUnowned.xml0000664000175000017500000000550112767740535016530 00000000000000 glib-sharp 2.12.0.0 GLib.Object Floating reference base class. Subclasses of this type instantiate with an unowned native GObject reference. Constructor 2.12.0.0 System.Obsolete Native type. Do not use. Constructor 2.12.0.0 To be added. Internal constructor. Do not use in application code. Exposed for language binding use. Property 2.12.0.0 GLib.GType Native type identifier. the GInitiallyUnowned native GType. For internal use. gtk-sharp-2.12.40/doc/en/GLib/IOChannel.xml0000664000175000017500000005764512767740535015052 00000000000000 glib-sharp 2.12.0.0 System.Object GLib.IWrapper System.IDisposable IO Channel class. Provides methods to read and write data to an IO channel. Constructor 2.12.0.0 A UNIX file descriptor. Public constructor. Constructs a channel for a UNIX file descriptor or pipe. Constructor 2.12.0.0 Path to a file. One of "r", "w", "a", "r+", "w+", "a+", with the same meaning as fopen. Public constructor. Constructs a channel for a file with a given mode. Method 2.12.0.0 System.UInt32 Priority level. Default priority is 0. System defined values range from -100 (High priority) to 300 (Low priority). Conditions to notify. Notification callback delegate. Adds a notification watch to the mainloop at a given priority. A source ID which can be removed with . The following example spawns a process to run the pwd command and writes the output to the console using an IOChannel watch: using GLib; using System; public class SpawnTest { public static void Main (string[] args) { new SpawnTest (); } MainLoop main_loop; IOChannel channel; public SpawnTest () { main_loop = new MainLoop (); try { Process proc; int stdin = Process.IgnorePipe; int stdout = Process.RequestPipe; int stderr = Process.IgnorePipe; GLib.Process.SpawnAsyncWithPipes (null, new string[] {"pwd"}, null, SpawnFlags.SearchPath, null, out proc, ref stdin, ref stdout, ref stderr); channel = new IOChannel (stdout); channel.AddWatch (0, IOCondition.In | IOCondition.Hup, new IOFunc (ReadStdout)); } catch (Exception e) { Console.WriteLine ("Exception in Spawn: " + e); } main_loop.Run (); } bool ReadStdout (IOChannel source, IOCondition condition) { if ((condition & IOCondition.In) == IOCondition.In) { string txt; if (source.ReadToEnd (out txt) == IOStatus.Normal) Console.WriteLine ("[SpawnTest output] " + txt); } if ((condition & IOCondition.Hup) == IOCondition.Hup) { source.Dispose (); main_loop.Quit (); return true; } return true; } } Property 2.12.0.0 GLib.IOCondition BufferCondition property. Indicates if there is data to read or room to output to the channel. Property 2.12.0.0 System.Boolean Buffered property. A boolean value indicating if buffering is active. Buffering can only be altered when the is . All other encodings must be buffered. It can only be cleared after the buffer has been flushed. Property 2.12.0.0 System.UInt64 BufferSize property. The buffer size, or 0 to pick a reasonable size. Property 2.12.0.0 System.Boolean CloseOnUnref property. A boolean indicating if the channel should be closed on disposal. Method 2.12.0.0 System.Void Disposes the channel. Property 2.12.0.0 System.String Encoding property. Specifies the native encoding of the channel. Use for binary channels. The default encoding is UTF8. Method 2.12.0.0 GLib.IOChannelError Error number. Converts an error number to an Error value. The error. Property 2.12.0.0 GLib.IOFlags Flags property. The IO Flags for the channel. Method 2.12.0.0 GLib.IOStatus Flushes the write buffer for the channel. Status of the operation. Method 2.12.0.0 GLib.IOChannel Native channel pointer. Wraps a native channel. A managed channel instance. Provided for language binding use. Property 2.12.0.0 System.IntPtr Handle property. A point to the native channel. Provided for language binding use. Method 2.12.0.0 System.Void Init method. Provided for subclassers to initialize derived channels. Property 2.12.0.0 System.Char[] LineTerminator property. The chars representing line termination in the channel. This property is represented as an array of chars to allow for null char terminators. Method 2.12.0.0 GLib.IOStatus Buffer to store the read data. Length of data read. Reads data from the channel. An operation status value. Method fills the buffer with as many complete utf8 characters as possible. Provided primarily for binary data reading in null encodings. Use for text stream reading to strings. Method 2.12.0.0 GLib.IOStatus Returns the next line in the channel. Reads a line from the channel. An operation status value. Method 2.12.0.0 GLib.IOStatus Returns the text read. Location of line terminator. Reads the next line in the channel. An operation status value. Method 2.12.0.0 GLib.IOStatus Returns the text read. Reads to the end of the channel. An operation status value. Method 2.12.0.0 GLib.IOStatus Returns the UCS4 character. Reads a UCS4 character from the channel. An operation status value. Method 2.12.0.0 GLib.IOStatus Byte offset. Base position. Seeks to a position in the channel. An operation status value. Method 2.12.0.0 GLib.IOStatus A boolean indicating if buffer should be flushed. Shuts down a channel. An operation status value. Property 2.12.0.0 System.Int32 UnixFd property. An integer representing the descriptor value. Method 2.12.0.0 GLib.IOStatus Data buffer to write. Returns the number of bytes written. Writes binary data to a channel. An operation status value. Method 2.12.0.0 GLib.IOStatus Text to write. Returns unwritten text. Writes text to the channel. An operation status value. Method 2.12.0.0 GLib.IOStatus A UCS4 character. Writes a UCS4 character to the channel. An operation status value. gtk-sharp-2.12.40/doc/en/GLib/GInterfaceAttribute.xml0000664000175000017500000000444512767740535017133 00000000000000 glib-sharp 2.12.0.0 System.Attribute System.AttributeUsage(System.AttributeTargets.Interface) GInterface Attribute. Identifies an implementation interface corresponding to a native GInterface and provides access to the Adapter type for the interface. Constructor 2.12.0.0 Adapter type containing registration information. Public Constructor. Property 2.12.0.0 System.Type Adapter Property. A subclass containing registration information for the GInterface. gtk-sharp-2.12.40/doc/en/GLib/Timeout.xml0000664000175000017500000000652012767740535014662 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Allows the installation of Timeout Handlers on the GLib main loop. It's in a way very similar to a System.Windows.Forms.Timer class. You can use timeouts to invoke routines at specified intervals of time. The diferance between GLib.Timeout and System.Windows.Forms.Timer is that Timeouts are always invoked on the thread that owns the Gtk mainloop Use the method to install timeout handlers into the mainloop. void StartClock () { GLib.Timeout.Add(1000, new GLib.TimeoutHandler(update_status)); } bool update_status () { time_label.Text=DateTime.Now.ToString (); //returning true means that the timeout routine should be invoked //again after the timeout period expires. Returning false would //terminate the timeout. return true; } Method 2.12.0.0 System.UInt32 the interval in milliseconds between invocations of . a delegate of type to invoke every . Adds a delegate to the mainloop. an id representing the event source of the installed timeout handler. The delegate is invoked after the time period specified by . The delegate is invoked repeatedly until it returns . Invocation of the delegate may be delayed by other event processing, so this mechanism cannot be depended on for accurate timing. The interval to the next timeout is calculated at completion of the preceding timeout. There is no attempt made to "catch up" if an invocation is delayed. gtk-sharp-2.12.40/doc/en/GLib/NotifyArgs.xml0000664000175000017500000000524012767740535015317 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The method results in the invocation of delegates which pass event data via this class. Constructor 2.12.0.0 Public Constructor. Property 2.12.0.0 System.String The property that changed a gtk-sharp-2.12.40/doc/en/GLib/LogFunc.xml0000664000175000017500000000232612767740535014571 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added. To be added To be added gtk-sharp-2.12.40/doc/en/GLib/Idle.xml0000664000175000017500000000705512767740535014115 00000000000000 glib-sharp 2.12.0.0 This function is thread safe. System.Object Idle handlers for GLib-based main-loops GLib provides an implementation of a "main loop" (an event-based main loop that dispatches requests). The Idle handler class is used to register a routine to be called when the main loop is idle. Method 2.12.0.0 System.UInt32 The delegate method that will be invoked. Installs an idle handler for the main loop. The handler code assigned to this idle handler. This function installs the as a handler to be invoked when the GLib mainloop is idle. If the handler returns the handler is kept for another round of Idle execution, if is returned, the handler is removed. This method can be invoked from a different thread than the one running the Gtk main loop. The delegate will be invoked within the context of the Gtk main loop. The thread-safety of this routine can be used to queue work by a thread to be performed in the context of the main Gtk thread. Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Method 2.12.0.0 System.Boolean an to remove. Removes an Idle handler from the Main Loop. The function will return true (a ) if the delegate was found and removed . gtk-sharp-2.12.40/doc/en/GLib/ConnectFlags.xml0000664000175000017500000000336412767740535015605 00000000000000 glib-sharp 2.12.0.0 System.Enum System.Flags ConnectFlags enumeration. Signal connection flags. Field 2.12.0.0 GLib.ConnectFlags Handler runs after virtual method invocation. Field 2.12.0.0 GLib.ConnectFlags Swaps instance and data parameters. gtk-sharp-2.12.40/doc/en/GLib/IOFlags.xml0000664000175000017500000001142512767740535014520 00000000000000 glib-sharp 2.12.0.0 System.Enum System.Flags IOFlags enumeration. Flags for configuring IO channel usage. Field 2.12.0.0 GLib.IOFlags Enables Append mode. Field 2.12.0.0 GLib.IOFlags Mask for all flags. Field 2.12.0.0 GLib.IOFlags Enables read support. Field 2.12.0.0 GLib.IOFlags Enables seek support. Field 2.12.0.0 GLib.IOFlags Enables write support. Field 2.12.0.0 GLib.IOFlags Mask for all flags. Field 2.12.0.0 GLib.IOFlags Enables non-blocking mode. Field 2.12.0.0 GLib.IOFlags Enables non-blocking and append mode. gtk-sharp-2.12.40/doc/en/GLib/Value.xml0000664000175000017500000011303412767740535014307 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType System.IDisposable An arbitrary data type similar to a CORBA Any which is used to get and set properties on Objects. Constructor 2.12.0.0 To be added. Public constructor. Constructs a native GValue from an interface adapter object, wrapping its underlying managed interface. Constructor 2.12.0.0 a Constructs an initialized value for a given type. Constructor 2.12.0.0 an object of type Constructs a Value from a specified object. Constructor 2.12.0.0 an object of type Constructs a Value from a specified boolean. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 an object of type Constructs a Value from a specified double. Constructor 2.12.0.0 an object of type Constructs a Value from a specified integer. Constructor 2.12.0.0 a Constructs a value for a 64 bit integer. Constructor 2.12.0.0 an object of type Constructs a Value from a specified pointer. Constructor 2.12.0.0 a Constructs a Value from any object, including a managed type. Constructor 2.12.0.0 To be added. To be added. To be added. Constructor 2.12.0.0 an object of type Constructs a Value from a specified float. Constructor 2.12.0.0 an object of type Constructs a Value from a specified string. Constructor 2.12.0.0 a Constructs a Value from a specified string array. Constructor 2.12.0.0 an object of type Constructs a Value from a specified ushort. Constructor 2.12.0.0 an object of type Constructs a Value from a specified uint. Constructor 2.12.0.0 a Constructs a value for a 64 bit unsigned integer. Constructor 2.12.0.0 System.Obsolete("Replaced by Value(object) constructor") an value the (C/GType) name of 's type Constructs a Value from an object of a given type Constructor 2.12.0.0 a a Constructs a value initialized for a given property name. Constructor 2.12.0.0 an object the (C/GType) name of 's type Constructs a Value from an object of a given type Constructor 2.12.0.0 System.Obsolete a a a Constructs a value initialized to a given enumerated type property. Constructor 2.12.0.0 System.Obsolete a a a Constructs a value for an Opaque type. Method 2.12.0.0 System.Void Disposes the underlying value Field 2.12.0.0 GLib.Value An unitialized value. Method 2.12.0.0 System.Void a Initializes a value to a given type. Method 2.12.0.0 GLib.Boxed a Extracts a boxed type value from a . The boxed type value. Method 2.12.0.0 System.Obsolete("Replaced by Enum cast") GLib.EnumWrapper a Extracts an enumeration value from a . The enumeration value. Method 2.12.0.0 GLib.Object a Extracts an object value from a . The object value. Method 2.12.0.0 GLib.Opaque a Extracts an opaque object value from a . The opaque object value. Method 2.12.0.0 System.Obsolete("Replaced by GLib.Object cast") GLib.UnwrappedObject a Extracts an unwrapped object value from a . The unwrapped object value. Method 2.12.0.0 System.Boolean a Extracts a boolean value from a . The boolean value. Method 2.12.0.0 System.Byte To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Double a Extracts a double-precision floating-point value from a . The double-precision floating-point value. Method 2.12.0.0 System.Enum a Extracts an enum value from a . The enum value. Note that casting a to any enum type will invoke this operator. Method 2.12.0.0 System.Int32 a Extracts an integer value from a . The integer value. Method 2.12.0.0 System.Int64 a Extracts a long integer value from a . The long integer value. Method 2.12.0.0 System.IntPtr a Extracts an untyped pointer value from a . The untyped pointer value. Method 2.12.0.0 System.SByte To be added. To be added. To be added. To be added. Method 2.12.0.0 System.Single a Extracts a floating-point value from a . The floating-point value. Method 2.12.0.0 System.String a Extracts a string value from a . The string value. Method 2.12.0.0 System.String[] a Extracts a string array from a . The string array value. Method 2.12.0.0 System.UInt16 a Extracts an unsigned short value from a . The unsigned short value. Method 2.12.0.0 System.UInt32 a Extracts an unsigned integer value from a . The unsigned integer value. Method 2.12.0.0 System.UInt64 a Extracts an unsigned long integer value from a . The unsigned long integer value. Property 2.12.0.0 System.Object Accesses the value. a gtk-sharp-2.12.40/doc/en/GLib/Log.xml0000664000175000017500000003220212767740535013751 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Message logging functions. //Some common logging methods. // Print the messages for the NULL domain LogFunc logFunc = new LogFunc (Log.PrintLogFunction); Log.SetLogHandler (null, LogLevelFlags.All, logFunc); // Print messages and stack trace for Gtk critical messages logFunc = new LogFunc (Log.PrintTraceLogFunction); Log.SetLogHandler ("Gtk", LogLevelFlags.Critical, logFunc); //Some common logging methods. // Print the messages for the NULL domain LogFunc logFunc = new LogFunc (Log.PrintLogFunction); Log.SetLogHandler (null, LogLevelFlags.All, logFunc); // Print messages and stack trace for Gtk critical messages logFunc = new LogFunc (Log.PrintTraceLogFunction); Log.SetLogHandler ("Gtk", LogLevelFlags.Critical, logFunc); Constructor 2.12.0.0 To be added To be added Method 2.12.0.0 System.Void an object of type an object of type an object of type To be added To be added Method 2.12.0.0 System.Void an object of type an object of type an object of type To be added To be added Method 2.12.0.0 System.Void an object of type an object of type an object of type To be added To be added Method 2.12.0.0 System.Void an object of type an object of type To be added To be added Method 2.12.0.0 GLib.LogLevelFlags an object of type To be added an object of type To be added Method 2.12.0.0 GLib.LogLevelFlags an object of type an object of type To be added an object of type To be added Method 2.12.0.0 System.UInt32 an object of type an object of type an object of type To be added an object of type To be added Method 2.12.0.0 GLib.PrintFunc an object of type To be added an object of type To be added Method 2.12.0.0 GLib.PrintFunc an object of type To be added an object of type To be added Method 2.12.0.0 System.Void System.ParamArray To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/GLib/UnhandledExceptionHandler.xml0000664000175000017500000000200112767740535020301 00000000000000 glib-sharp 2.12.0.0 System.Delegate System.Void Event arguments. Reports unhandled exceptions. Attach to event to receive notification of exceptions in managed callback delegates. gtk-sharp-2.12.40/doc/en/GLib/GException.xml0000664000175000017500000000610112767740535015274 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Exception Exception emitted by GError receipt from native methods. When a native method takes a GError parameter to report failures in method invocation, if the GError parameter is set after method invocation this Exception is thrown to report the error. Constructor 2.12.0.0 a handle to the native GError pointer. Internal constructor. This constructor is public so that generated code in assemblies outside of glib-sharp.dll can access it, but it should not be necessary to use it from application code. Method 2.12.0.0 System.Void To be added. To be added. Property 2.12.0.0 System.String To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/GLib/DelegateWrapper.xml0000664000175000017500000000365712767740535016317 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Wrapper class for delegates. Constructor 2.12.0.0 System.Obsolete("Callback wrappers should be manually managed for persistence.") a The is the object that creates the instance of the DelegateWrapper derived class or null if created from a static method. Note that the instances will never be disposed if they are created in a static method. gtk-sharp-2.12.40/doc/en/GLib/IOChannelError.xml0000664000175000017500000001236612767740535016053 00000000000000 glib-sharp 2.12.0.0 System.Enum IOChannelError enumeration. Error results for IOChannel operations. Field 2.12.0.0 GLib.IOChannelError Operation failed. Field 2.12.0.0 GLib.IOChannelError File too large. Field 2.12.0.0 GLib.IOChannelError Invalid argument. Field 2.12.0.0 GLib.IOChannelError IO error. Field 2.12.0.0 GLib.IOChannelError File is a directory. Field 2.12.0.0 GLib.IOChannelError No space left on device. Field 2.12.0.0 GLib.IOChannelError No such device or address. Field 2.12.0.0 GLib.IOChannelError Value too large for defined data table. Field 2.12.0.0 GLib.IOChannelError Broken pipe. gtk-sharp-2.12.40/doc/en/GLib/UnhandledExceptionArgs.xml0000664000175000017500000000455112767740535017634 00000000000000 glib-sharp 2.12.0.0 System.UnhandledExceptionEventArgs UnhandledExceptionArgs event arguments. Event arguments for events. Constructor 2.12.0.0 Exception. If , the application is terminating. Public constructor. Property 2.12.0.0 System.Boolean ExitApplication property. If , the application will exit. Indicates if an application wants to exit after event propagation is complete. gtk-sharp-2.12.40/doc/en/GLib/CDeclCallbackAttribute.xml0000664000175000017500000000434112767740535017506 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Attribute Identifies a native callback delegate. Constructor 2.12.0.0 Creates a Delegates marked with this attribute are manually updated on win32 builds to add a modopt in IL which forces Cdecl calling convention. It should be applied to any manually written native callbacks in .custom files or manual implementations of callback delegates. gtk-sharp-2.12.40/doc/en/GLib/FileUtils.xml0000664000175000017500000000445512767740535015141 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object A simple file IO utility class Contains a single static method GetFileContents(string filename) which returns the contents of a text file as a string. Method 2.12.0.0 System.String The file GetFileContents() should retrieve its result from. An object of type Returns a string containing the contents of the text file passed as the 'filename' parameter. Returns the contents of a text file. An object of type using System; class Test { public static void Main(string[] args) { Console.WriteLine(GLib.FileUtils.GetFileContents(args[0])); } } gtk-sharp-2.12.40/doc/en/GLib/Thread.xml0000664000175000017500000000443512767740535014446 00000000000000 glib-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added To be added Method 2.12.0.0 System.Void Initializes GLib thread awareness. This must be called before GLib's thread safety features are used. Initializing GLib thread awareness more than once causes undefined behaviour and must be avoided by checking to see if it has already been done with . To be added Property 2.12.0.0 System.Boolean Checks to see if GLib thread support has been initialized with . To be added. To be added. gtk-sharp-2.12.40/doc/en/GLib/Argv.xml0000664000175000017500000001261512767740535014135 00000000000000 glib-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Argv marshaling class. Argv class is used to get the arguments passed to the program from the command line. $mono hello.exe 1 2 3 4 Then you application [hello.exe] will be able to access these arguments passed from the command line, [1,2,3,4 in this case] using the Glib.Argv class. Constructor 2.12.0.0 a Creates an Argv marshaler. Constructor 2.12.0.0 a a Public constructor If is , the native argv will also contain a leading string containing the program name reported in the first element of the array returned by . Method 2.12.0.0 System.Void To be added. To be added. Method 2.12.0.0 System.String[] a Gets a string array containing a specified number of arguments. a Property 2.12.0.0 System.IntPtr Native pointer to the argument array. a gtk-sharp-2.12.40/doc/en/GLib/IOFunc.xml0000664000175000017500000000220312767740535014351 00000000000000 glib-sharp 2.12.0.0 System.Delegate System.Boolean The raising the notification. The condition prompting the notification. Callback delegate for IO channel notifications. If , the delegate is removed from the main loop. Use an instance of this delegate to add watch notifications for IO channels. gtk-sharp-2.12.40/doc/en/ns-GLib.xml0000664000175000017500000000057112767740535013652 00000000000000 General-purpose utilities. GLib is a general-purpose utility library, which provides many useful data types, type conversions, string utilities, file utilities and so on. gtk-sharp-2.12.40/doc/en/index.xml0000664000175000017500000031223512767740535013531 00000000000000 [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 eb 6c 55 75 52 9c bf 72 44 f7 a6 ea 05 62 84 f9 ea e0 3b cf f2 cc 13 2c 9c 49 0a b3 09 ea b0 b5 6b ce 44 9d f5 03 d9 c0 a8 1e 52 05 85 cd be 70 e2 fb 90 43 4b ac 04 fa 62 22 a8 00 98 b7 a1 a7 b3 af 99 1a 41 23 24 bb 43 25 f6 b8 65 bb 64 eb f6 d1 c2 06 d5 73 2d df bc 70 a7 38 9e e5 3e 0c 24 6e 32 79 74 1a d0 05 03 e4 98 42 e1 9b f3 7b 19 8b 40 21 26 cb 36 89 c2 ea 64 96 a4 7c b4 ] GLib.IgnoreClassInitializers System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 eb 6c 55 75 52 9c bf 72 44 f7 a6 ea 05 62 84 f9 ea e0 3b cf f2 cc 13 2c 9c 49 0a b3 09 ea b0 b5 6b ce 44 9d f5 03 d9 c0 a8 1e 52 05 85 cd be 70 e2 fb 90 43 4b ac 04 fa 62 22 a8 00 98 b7 a1 a7 b3 af 99 1a 41 23 24 bb 43 25 f6 b8 65 bb 64 eb f6 d1 c2 06 d5 73 2d df bc 70 a7 38 9e e5 3e 0c 24 6e 32 79 74 1a d0 05 03 e4 98 42 e1 9b f3 7b 19 8b 40 21 26 cb 36 89 c2 ea 64 96 a4 7c b4 ] GLib.IgnoreClassInitializers System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 eb 6c 55 75 52 9c bf 72 44 f7 a6 ea 05 62 84 f9 ea e0 3b cf f2 cc 13 2c 9c 49 0a b3 09 ea b0 b5 6b ce 44 9d f5 03 d9 c0 a8 1e 52 05 85 cd be 70 e2 fb 90 43 4b ac 04 fa 62 22 a8 00 98 b7 a1 a7 b3 af 99 1a 41 23 24 bb 43 25 f6 b8 65 bb 64 eb f6 d1 c2 06 d5 73 2d df bc 70 a7 38 9e e5 3e 0c 24 6e 32 79 74 1a d0 05 03 e4 98 42 e1 9b f3 7b 19 8b 40 21 26 cb 36 89 c2 ea 64 96 a4 7c b4 ] GLib.IgnoreClassInitializers System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 eb 6c 55 75 52 9c bf 72 44 f7 a6 ea 05 62 84 f9 ea e0 3b cf f2 cc 13 2c 9c 49 0a b3 09 ea b0 b5 6b ce 44 9d f5 03 d9 c0 a8 1e 52 05 85 cd be 70 e2 fb 90 43 4b ac 04 fa 62 22 a8 00 98 b7 a1 a7 b3 af 99 1a 41 23 24 bb 43 25 f6 b8 65 bb 64 eb f6 d1 c2 06 d5 73 2d df bc 70 a7 38 9e e5 3e 0c 24 6e 32 79 74 1a d0 05 03 e4 98 42 e1 9b f3 7b 19 8b 40 21 26 cb 36 89 c2 ea 64 96 a4 7c b4 ] GLib.IgnoreClassInitializers System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 eb 6c 55 75 52 9c bf 72 44 f7 a6 ea 05 62 84 f9 ea e0 3b cf f2 cc 13 2c 9c 49 0a b3 09 ea b0 b5 6b ce 44 9d f5 03 d9 c0 a8 1e 52 05 85 cd be 70 e2 fb 90 43 4b ac 04 fa 62 22 a8 00 98 b7 a1 a7 b3 af 99 1a 41 23 24 bb 43 25 f6 b8 65 bb 64 eb f6 d1 c2 06 d5 73 2d df bc 70 a7 38 9e e5 3e 0c 24 6e 32 79 74 1a d0 05 03 e4 98 42 e1 9b f3 7b 19 8b 40 21 26 cb 36 89 c2 ea 64 96 a4 7c b4 ] GLib.IgnoreClassInitializers System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 eb 6c 55 75 52 9c bf 72 44 f7 a6 ea 05 62 84 f9 ea e0 3b cf f2 cc 13 2c 9c 49 0a b3 09 ea b0 b5 6b ce 44 9d f5 03 d9 c0 a8 1e 52 05 85 cd be 70 e2 fb 90 43 4b ac 04 fa 62 22 a8 00 98 b7 a1 a7 b3 af 99 1a 41 23 24 bb 43 25 f6 b8 65 bb 64 eb f6 d1 c2 06 d5 73 2d df bc 70 a7 38 9e e5 3e 0c 24 6e 32 79 74 1a d0 05 03 e4 98 42 e1 9b f3 7b 19 8b 40 21 26 cb 36 89 c2 ea 64 96 a4 7c b4 ] GLib.IgnoreClassInitializers System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 eb 6c 55 75 52 9c bf 72 44 f7 a6 ea 05 62 84 f9 ea e0 3b cf f2 cc 13 2c 9c 49 0a b3 09 ea b0 b5 6b ce 44 9d f5 03 d9 c0 a8 1e 52 05 85 cd be 70 e2 fb 90 43 4b ac 04 fa 62 22 a8 00 98 b7 a1 a7 b3 af 99 1a 41 23 24 bb 43 25 f6 b8 65 bb 64 eb f6 d1 c2 06 d5 73 2d df bc 70 a7 38 9e e5 3e 0c 24 6e 32 79 74 1a d0 05 03 e4 98 42 e1 9b f3 7b 19 8b 40 21 26 cb 36 89 c2 ea 64 96 a4 7c b4 ] GLib.IgnoreClassInitializers System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 eb 6c 55 75 52 9c bf 72 44 f7 a6 ea 05 62 84 f9 ea e0 3b cf f2 cc 13 2c 9c 49 0a b3 09 ea b0 b5 6b ce 44 9d f5 03 d9 c0 a8 1e 52 05 85 cd be 70 e2 fb 90 43 4b ac 04 fa 62 22 a8 00 98 b7 a1 a7 b3 af 99 1a 41 23 24 bb 43 25 f6 b8 65 bb 64 eb f6 d1 c2 06 d5 73 2d df bc 70 a7 38 9e e5 3e 0c 24 6e 32 79 74 1a d0 05 03 e4 98 42 e1 9b f3 7b 19 8b 40 21 26 cb 36 89 c2 ea 64 96 a4 7c b4 ] GLib.IgnoreClassInitializers System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 eb 6c 55 75 52 9c bf 72 44 f7 a6 ea 05 62 84 f9 ea e0 3b cf f2 cc 13 2c 9c 49 0a b3 09 ea b0 b5 6b ce 44 9d f5 03 d9 c0 a8 1e 52 05 85 cd be 70 e2 fb 90 43 4b ac 04 fa 62 22 a8 00 98 b7 a1 a7 b3 af 99 1a 41 23 24 bb 43 25 f6 b8 65 bb 64 eb f6 d1 c2 06 d5 73 2d df bc 70 a7 38 9e e5 3e 0c 24 6e 32 79 74 1a d0 05 03 e4 98 42 e1 9b f3 7b 19 8b 40 21 26 cb 36 89 c2 ea 64 96 a4 7c b4 ] GLib.IgnoreClassInitializers System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 eb 6c 55 75 52 9c bf 72 44 f7 a6 ea 05 62 84 f9 ea e0 3b cf f2 cc 13 2c 9c 49 0a b3 09 ea b0 b5 6b ce 44 9d f5 03 d9 c0 a8 1e 52 05 85 cd be 70 e2 fb 90 43 4b ac 04 fa 62 22 a8 00 98 b7 a1 a7 b3 af 99 1a 41 23 24 bb 43 25 f6 b8 65 bb 64 eb f6 d1 c2 06 d5 73 2d df bc 70 a7 38 9e e5 3e 0c 24 6e 32 79 74 1a d0 05 03 e4 98 42 e1 9b f3 7b 19 8b 40 21 26 cb 36 89 c2 ea 64 96 a4 7c b4 ] GLib.IgnoreClassInitializers System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 eb 6c 55 75 52 9c bf 72 44 f7 a6 ea 05 62 84 f9 ea e0 3b cf f2 cc 13 2c 9c 49 0a b3 09 ea b0 b5 6b ce 44 9d f5 03 d9 c0 a8 1e 52 05 85 cd be 70 e2 fb 90 43 4b ac 04 fa 62 22 a8 00 98 b7 a1 a7 b3 af 99 1a 41 23 24 bb 43 25 f6 b8 65 bb 64 eb f6 d1 c2 06 d5 73 2d df bc 70 a7 38 9e e5 3e 0c 24 6e 32 79 74 1a d0 05 03 e4 98 42 e1 9b f3 7b 19 8b 40 21 26 cb 36 89 c2 ea 64 96 a4 7c b4 ] GLib.IgnoreClassInitializers System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 eb 6c 55 75 52 9c bf 72 44 f7 a6 ea 05 62 84 f9 ea e0 3b cf f2 cc 13 2c 9c 49 0a b3 09 ea b0 b5 6b ce 44 9d f5 03 d9 c0 a8 1e 52 05 85 cd be 70 e2 fb 90 43 4b ac 04 fa 62 22 a8 00 98 b7 a1 a7 b3 af 99 1a 41 23 24 bb 43 25 f6 b8 65 bb 64 eb f6 d1 c2 06 d5 73 2d df bc 70 a7 38 9e e5 3e 0c 24 6e 32 79 74 1a d0 05 03 e4 98 42 e1 9b f3 7b 19 8b 40 21 26 cb 36 89 c2 ea 64 96 a4 7c b4 ] GLib.IgnoreClassInitializers System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 eb 6c 55 75 52 9c bf 72 44 f7 a6 ea 05 62 84 f9 ea e0 3b cf f2 cc 13 2c 9c 49 0a b3 09 ea b0 b5 6b ce 44 9d f5 03 d9 c0 a8 1e 52 05 85 cd be 70 e2 fb 90 43 4b ac 04 fa 62 22 a8 00 98 b7 a1 a7 b3 af 99 1a 41 23 24 bb 43 25 f6 b8 65 bb 64 eb f6 d1 c2 06 d5 73 2d df bc 70 a7 38 9e e5 3e 0c 24 6e 32 79 74 1a d0 05 03 e4 98 42 e1 9b f3 7b 19 8b 40 21 26 cb 36 89 c2 ea 64 96 a4 7c b4 ] GLib.IgnoreClassInitializers System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 eb 6c 55 75 52 9c bf 72 44 f7 a6 ea 05 62 84 f9 ea e0 3b cf f2 cc 13 2c 9c 49 0a b3 09 ea b0 b5 6b ce 44 9d f5 03 d9 c0 a8 1e 52 05 85 cd be 70 e2 fb 90 43 4b ac 04 fa 62 22 a8 00 98 b7 a1 a7 b3 af 99 1a 41 23 24 bb 43 25 f6 b8 65 bb 64 eb f6 d1 c2 06 d5 73 2d df bc 70 a7 38 9e e5 3e 0c 24 6e 32 79 74 1a d0 05 03 e4 98 42 e1 9b f3 7b 19 8b 40 21 26 cb 36 89 c2 ea 64 96 a4 7c b4 ] GLib.IgnoreClassInitializers System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 eb 6c 55 75 52 9c bf 72 44 f7 a6 ea 05 62 84 f9 ea e0 3b cf f2 cc 13 2c 9c 49 0a b3 09 ea b0 b5 6b ce 44 9d f5 03 d9 c0 a8 1e 52 05 85 cd be 70 e2 fb 90 43 4b ac 04 fa 62 22 a8 00 98 b7 a1 a7 b3 af 99 1a 41 23 24 bb 43 25 f6 b8 65 bb 64 eb f6 d1 c2 06 d5 73 2d df bc 70 a7 38 9e e5 3e 0c 24 6e 32 79 74 1a d0 05 03 e4 98 42 e1 9b f3 7b 19 8b 40 21 26 cb 36 89 c2 ea 64 96 a4 7c b4 ] GLib.IgnoreClassInitializers System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) To be added. To be added. Untitled gtk-sharp-2.12.40/doc/en/ns-Vte.xml0000664000175000017500000000030612767740535013567 00000000000000 A terminal widget implementation. gtk-sharp-2.12.40/doc/en/ns-Gnome.Vfs.xml0000664000175000017500000000353512767740535014642 00000000000000 Library for dealing with various virtual file systems. GnomeVFS is a filesystem abstraction library allowing applications plugable transparent access to a variety of "real" filesystems, from WebDAV to digital cameras, to the local filesystem. It also contains a number of other convenient file utilities such as a comphrehensive MIME database / Application registry, and a copy engine. Use of GnomeVFS ensures that an application or component will be usable by Nautilus or other GnomeVFS applications for handling the display of data from various URIs, as well. From a user's perspective GnomeVFS enabled applications provide consistent access to their data, whether it be stored on remote servers or on their local harddisk, or even a peripheral device such as a Rio or a digital camera. Rather than having to work around the distinction between storage you can work off of and storage you can only "download" from or "upload" to, GnomeVFS allows users to store their documents and data wherever it is most convenient. Besides providing transparent access to data methods that you might otherwise have to implement, GnomeVFS provides a number of convenience libraries for processing URIs, detecting the MIME type of files, and even figuring out which applications or components to launch to view a file or what icon to use. Writing a GnomeVFS module may also be an appropriate solution to some data access problems as it allows the developer to implement a relatively small number of functions to gain general filesystem semantics (and of course, writing a GnomeVFS module benefits other applications too!). gtk-sharp-2.12.40/doc/en/ns-Rsvg.xml0000664000175000017500000000160212767740535013752 00000000000000 Library for rendering of SVG vector graphics. The Gnome Scalable Vector Graphics Library (RSVG) is a library for rendering SVG and SVGZ files. RSVG is released under the GNU Library General Public License (GNU LGPL), which allows for flexible licensing of client applications. RSVG depends on the following libraries: gtk-sharp-2.12.40/doc/en/Gnome/0000775000175000017500000000000012767740535013017 500000000000000gtk-sharp-2.12.40/doc/en/Gnome/PixmapEntry.xml0000664000175000017500000002374612767740535015755 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gnome.FileEntry System.Obsolete To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.24.0.0 To be added: an object of type 'string' To be added: an object of type 'string' To be added: an object of type 'bool' To be added To be added Method 2.24.0.0 System.Void To be added: an object of type 'string' To be added: an object of type 'string' To be added: an object of type 'bool' To be added To be added Property 2.24.0.0 GLib.Property("do_preview") System.Boolean To be added To be added: an object of type 'bool' To be added Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.Boolean To be added To be added: an object of type 'bool' To be added Method 2.24.0.0 Gtk.Widget To be added To be added: an object of type 'Gtk.Widget' To be added Method 2.24.0.0 Gtk.Widget To be added To be added: an object of type 'Gtk.Widget' To be added Method 2.24.0.0 System.Void To be added: an object of type 'int' To be added: an object of type 'int' To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/IconUnselectedArgs.xml0000664000175000017500000000567412767740535017216 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.24.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.24.0.0 Gdk.Event To be added To be added: an object of type 'Gdk.Event' To be added Property 2.24.0.0 System.Int32 To be added To be added: an object of type 'int' To be added gtk-sharp-2.12.40/doc/en/Gnome/PaperSelector.xml0000664000175000017500000001235612767740535016240 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gtk.HBox Constructor Internal constructor a This is not typically used by C# code. Constructor To be added a To be added Constructor To be added a a To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property GLib.Property("config") Gnome.PrintConfig To be added. To be added. To be added. Property GLib.Property("height") System.Double To be added. To be added. To be added. Property GLib.Property("width") System.Double To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/Global.xml0000664000175000017500000001333712767740535014670 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Global API elements for Constructor 2.24.0.0 Default constructor Method 2.24.0.0 System.Void To be added To be added Method 2.24.0.0 System.Void To be added To be added Method 2.24.0.0 System.Void a a To be added To be added Method 2.24.0.0 Gnome.Client To be added a To be added Method 2.24.0.0 System.Void To be added To be added Method 2.24.0.0 System.Boolean a a To be added a To be added gtk-sharp-2.12.40/doc/en/Gnome/FontSelection.xml0000664000175000017500000001235712767740535016245 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gtk.HBox Constructor Internal constructor a This is not typically used by C# code. Constructor To be added To be added Property Gnome.FontFace To be added a To be added Property System.Double To be added a To be added Property Gnome.Font To be added a To be added Event Gnome.FontSetHandler To be added To be added GLib.Signal("font_set") Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gnome/DialogType.xml0000664000175000017500000000431212767740535015522 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gnome.DialogTypeGType)) The dialogs used by the session manager to handle user interactions. To be added. Field 2.24.0.0 Gnome.DialogType Used when an error has occurred. Field 2.24.0.0 Gnome.DialogType Used for all other (non-error) interactions. gtk-sharp-2.12.40/doc/en/Gnome/NextClickedArgs.xml0000664000175000017500000000453712767740535016504 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.24.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.24.0.0 Gtk.Widget To be added To be added: an object of type 'Gtk.Widget' To be added gtk-sharp-2.12.40/doc/en/Gnome/PrintUnit.xml0000664000175000017500000002154512767740535015424 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Gnome.PrintUnit To be added To be added Method Gnome.PrintUnit To be added a a To be added Method GLib.List To be added a a To be added Method Gnome.PrintUnit To be added a a To be added Method System.Void To be added a To be added Method System.String To be added a a a a To be added Property Gnome.PrintUnit To be added a To be added Method Gnome.PrintUnit To be added a a To be added Method Gnome.PrintUnit To be added a a To be added Property GLib.GType GType Property. a Returns the native value for . Property System.UInt32 To be added a To be added Property System.UInt32 To be added a To be added Field System.Double To be added To be added Method GLib.Value To be added. To be added. To be added. To be added. Method Gnome.PrintUnit To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/TriggerList.xml0000664000175000017500000001233512767740535015724 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Property 2.24.0.0 Gnome.Trigger To be added To be added: an object of type 'Gnome.Trigger' To be added Method 2.24.0.0 Gnome.TriggerList To be added: an object of type 'IntPtr' To be added To be added: an object of type 'Gnome.TriggerList' To be added Field 2.24.0.0 System.String To be added To be added Field 2.24.0.0 System.Int32 To be added To be added Field 2.24.0.0 System.Int32 To be added To be added Property 2.24.0.0 Gnome.TriggerList To be added To be added: an object of type 'Gnome.TriggerList' To be added Field 2.24.0.0 Gnome.TriggerList To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/Gconf.xml0000664000175000017500000000647212767740535014526 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added To access GConf keys the class should be used. Constructor 2.24.0.0 To be added To be added Method 2.24.0.0 System.String a a To be added a To be added Method 2.24.0.0 System.String a To be added a To be added gtk-sharp-2.12.40/doc/en/Gnome/PrintFilter.xml0000664000175000017500000006112012767740535015723 00000000000000 gnome-sharp 2.20.0.0 GLib.Object Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Constructor To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. To be added. Event GLib.Signal("changed") System.EventHandler To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. To be added. Property GLib.Property("context") Gnome.PrintContext To be added. To be added. To be added. Method System.UInt32 To be added. To be added. To be added. Method System.UInt32 To be added. To be added. To be added. Method System.UInt32 To be added. To be added. To be added. Property GLib.Property("description") System.String To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Int32 To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. Method Gnome.PrintFilter To be added. To be added. To be added. To be added. Method Gnome.PrintFilter To be added. To be added. To be added. To be added. Method Gnome.PrintFilter To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. To be added. Property GLib.Property("name") System.String To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. Event GLib.Signal("predecessor_added") Gnome.PredecessorAddedHandler To be added. To be added. Event GLib.Signal("predecessor_removed") Gnome.PredecessorRemovedHandler To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Void To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. Event GLib.Signal("successor_added") Gnome.SuccessorAddedHandler To be added. To be added. Event GLib.Signal("successor_removed") Gnome.SuccessorRemovedHandler To be added. To be added. Property GLib.Property("suppress_empty_pages") System.Boolean To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/TriggerType.xml0000664000175000017500000000667112767740535015740 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gnome.TriggerTypeGType)) These are the different types of triggers that can be activated by an application. To be added. Field 2.24.0.0 Gnome.TriggerType The trigger causes a command to be executed. Field 2.24.0.0 Gnome.TriggerType The trigger causes a function to be executed. Field 2.24.0.0 Gnome.TriggerType The trigger causes a sound to be played. Field 2.24.0.0 Gnome.TriggerType A null trigger type. Should never be used. gtk-sharp-2.12.40/doc/en/Gnome/PanelAppletBackgroundType.xml0000664000175000017500000000464212767740535020536 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gnome.PanelAppletBackgroundType To be added To be added Field Gnome.PanelAppletBackgroundType To be added To be added Field Gnome.PanelAppletBackgroundType To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/PrintContentSelector.xml0000664000175000017500000000637012767740535017617 00000000000000 gnome-sharp 2.20.0.0 Gtk.Frame Constructor To be added. To be added. Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Property GLib.Property("current") System.UInt32 To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Property GLib.Property("total") System.UInt32 To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/PrintLayoutSelector.xml0000664000175000017500000001270012767740535017454 00000000000000 gnome-sharp 2.20.0.0 Gtk.VBox Constructor To be added. To be added. Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Property GLib.Property("input_height") System.Double To be added. To be added. To be added. Property GLib.Property("input_width") System.Double To be added. To be added. To be added. Property GLib.Property("meta") Gnome.PrintMeta To be added. To be added. To be added. Property GLib.Property("output_height") System.Double To be added. To be added. To be added. Property GLib.Property("output_width") System.Double To be added. To be added. To be added. Property GLib.Property("total") System.UInt32 To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/SuccessorRemovedHandler.xml0000664000175000017500000000150512767740535020253 00000000000000 gnome-sharp 2.20.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/IconTheme.xml0000664000175000017500000001421412767740535015336 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.IconTheme To be added To be added Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 a Internal constructor This is not typically used by C# code. Property 2.24.0.0 System.Boolean To be added a To be added Method 2.24.0.0 System.Void To be added. To be added. Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.24.0.0 System.String a a a a To be added a To be added gtk-sharp-2.12.40/doc/en/Gnome/Url.xml0000664000175000017500000000732512767740535014232 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added To be added Constructor 2.24.0.0 To be added To be added Method 2.24.0.0 System.Int32 To be added a To be added Method 2.24.0.0 System.Boolean a To be added a To be added Method 2.24.0.0 System.Boolean a a To be added a To be added gtk-sharp-2.12.40/doc/en/Gnome/MoveCursorArgs.xml0000664000175000017500000000573212767740535016411 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.24.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.24.0.0 System.Boolean To be added To be added: an object of type 'bool' To be added Property 2.24.0.0 Gtk.DirectionType To be added To be added: an object of type 'Gtk.DirectionType' To be added gtk-sharp-2.12.40/doc/en/Gnome/IconLookupResultFlags.xml0000664000175000017500000000447212767740535017726 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gnome.IconLookupResultFlagsGType)) System.Flags To be added To be added Field 2.24.0.0 Gnome.IconLookupResultFlags To be added Field 2.24.0.0 Gnome.IconLookupResultFlags To be added gtk-sharp-2.12.40/doc/en/Gnome/PrintRangeType.xml0000664000175000017500000000367012767740535016402 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gnome.PrintRangeType To be added Field Gnome.PrintRangeType To be added Field Gnome.PrintRangeType To be added GLib.GType(typeof(Gnome.PrintRangeTypeGType)) gtk-sharp-2.12.40/doc/en/Gnome/ChangeSizeArgs.xml0000664000175000017500000000371512767740535016324 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.SignalArgs Constructor To be added To be added Property System.UInt32 To be added a To be added gtk-sharp-2.12.40/doc/en/Gnome/ThemeFile.xml0000664000175000017500000003224312767740535015327 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque To be added To be added Constructor 2.24.0.0 a To be added To be added Constructor 2.24.0.0 a To be added To be added Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Obsolete System.Void a a a To be added To be added Method 2.24.0.0 System.Obsolete System.Void a To be added To be added Method 2.24.0.0 System.Obsolete("Gnome.ThemeFile is now freed automatically") System.Void To be added To be added Method 2.24.0.0 System.Void To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete System.Boolean a a a To be added a To be added Method 2.24.0.0 System.Obsolete System.Boolean a a a To be added a To be added Method 2.24.0.0 System.Obsolete System.Boolean a a a a To be added a To be added Method 2.24.0.0 System.Obsolete System.Boolean a a a To be added a To be added Method 2.24.0.0 System.Obsolete System.Int32 To be added a To be added Method 2.24.0.0 System.Obsolete System.String To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/ColorPicker.xml0000664000175000017500000004617212767740535015707 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Button System.Obsolete A button for selecting a color. ColorPicker provides a button for selecting a color. When pressed, a dialog is opened allowing the user to select a color. Constructor 2.24.0.0 Create a new ColorPicker widget. To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.24.0.0 GLib.Property("alpha") System.UInt32 The alpha value for the color in the widget. The current value of the channel. To be added Property 2.24.0.0 GLib.Property("blue") System.UInt32 The blue value for the color in the widget. The current value of the channel. To be added Event 2.24.0.0 GLib.Signal("color_set") Gnome.ColorSetHandler Emitted when a color is selected in the color dialog. To be added Property 2.24.0.0 GLib.Property("dither") System.Boolean Whether the sample is dithered or simply a solid color. Current dither settings for the widget. To be added Method 2.24.0.0 System.Void Location to store the red value. Location to store the green value. Location to store the blue value. Location to store the alpha value. Get the doubles for the current color in the widget. To be added Method 2.24.0.0 System.Void Location to store the red value. Location to store the green value. Location to store the blue value. Location to store the alpha value. Get the UInt16s for the current color in the widget. To be added Method 2.24.0.0 System.Void Location to store the red value. Location to store the green value. Location to store the blue value. Location to store the alpha value. Get the bytes for the current color in the widget. To be added Property 2.24.0.0 GLib.Property("green") System.UInt32 The green value for the color in the widget. The current value of the channel. To be added Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideColorSet", Type=typeof(Gnome.ColorPicker)) System.Void a a a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 2.24.0.0 GLib.Property("red") System.UInt32 The red value for the color in the widget. The current value of the channel. To be added Method 2.24.0.0 System.Void The red value to set. The green value to set. The blue value to set. The alpha value to set. Set the color in the widget. To be added Method 2.24.0.0 System.Void The red value to set. The green value to set. The blue value to set. The alpha value to set. Set the color in the widget. To be added Method 2.24.0.0 System.Void The red value to set. The green value to set. The blue value to set. The alpha value to set. Set the color in the widget. To be added Property 2.24.0.0 GLib.Property("title") System.String The title to be displayed on the color selection dialog. Current text to be used for the color selection dialog. To be added Property 2.24.0.0 GLib.Property("use_alpha") System.Boolean Enable/Disable support for an alpha channel for the color. Curren rule for the use of the alpha channel. To be added gtk-sharp-2.12.40/doc/en/Gnome/SuccessorAddedArgs.xml0000664000175000017500000000232512767740535017173 00000000000000 gnome-sharp 2.20.0.0 GLib.SignalArgs Constructor To be added. To be added. Property Gnome.PrintFilter To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/PanelAppletFactory.xml0000664000175000017500000000340212767740535017215 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method System.Void To be added a To be added gtk-sharp-2.12.40/doc/en/Gnome/ClientFlags.xml0000664000175000017500000000616412767740535015663 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gnome.ClientFlagsGType)) System.Flags Flags indicating the status of a client (as seen by the session manager). Used as return values by . Field 2.24.0.0 Gnome.ClientFlags The client is connected to the session manager. Field 2.24.0.0 Gnome.ClientFlags The client has been restarted (i.e. it has been running with the same client id previously). Field 2.24.0.0 Gnome.ClientFlags There may be a configuration file from which the client's state should be restored (applies only to the master client). gtk-sharp-2.12.40/doc/en/Gnome/ConnectedArgs.xml0000664000175000017500000000450212767740535016201 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.24.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.24.0.0 System.Boolean To be added To be added: an object of type 'bool' To be added gtk-sharp-2.12.40/doc/en/Gnome/BackClickedArgs.xml0000664000175000017500000000453712767740535016426 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.24.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.24.0.0 Gtk.Widget To be added To be added: an object of type 'Gtk.Widget' To be added gtk-sharp-2.12.40/doc/en/Gnome/PrintTransport.xml0000664000175000017500000001426012767740535016475 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Object Method System.Int32 To be added a To be added Method System.Int32 To be added a To be added Constructor Internal constructor a This is not typically used by C# code. Constructor To be added a To be added Method System.Int32 To be added a a a To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.Int32 To be added a a To be added Method System.Int32 To be added. To be added. To be added. To be added. Method System.Boolean To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/Print.xml0000664000175000017500000013561312767740535014566 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added using System; using Gtk; using GtkSharp; using Gnome; class PrintSample { TextView tv; static void Main () { new PrintSample (); } PrintSample () { Application.Init (); Gtk.Window win = new Gtk.Window ("Print sample"); win.SetDefaultSize (400, 300); win.DeleteEvent += new DeleteEventHandler (OnWinDelete); VBox vbox = new VBox (false, 0); win.Add (vbox); tv = new TextView (); tv.Buffer.Text = "Hello World"; vbox.PackStart (tv, true, true, 0); Button print = new Button (Gtk.Stock.Print); print.Clicked += new EventHandler (OnPrintClicked); vbox.PackStart (print, false, true, 0); win.ShowAll (); Application.Run (); } void MyPrint (PrintContext gpc) { Print.Beginpage (gpc, "demo"); Print.Moveto (gpc, 1, 700); Print.Show (gpc, tv.Buffer.Text); Print.Showpage (gpc); } void OnPrintClicked (object o, EventArgs args) { PrintJob pj = new PrintJob (PrintConfig.Default ()); PrintDialog dialog = new PrintDialog (pj, "Print Test", 0); int response = dialog.Run (); Console.WriteLine ("response: " + response); if (response == (int) PrintButtons.Cancel) { Console.WriteLine ("Canceled"); dialog.Hide (); dialog.Dispose (); return; } PrintContext ctx = pj.Context; MyPrint (ctx); pj.Close (); switch (response) { case (int) PrintButtons.Print: pj.Print (); break; case (int) PrintButtons.Preview: new PrintJobPreview (pj, "Print Test").Show (); break; } dialog.Hide (); dialog.Dispose (); } void OnWinDelete (object o, DeleteEventArgs args) { Application.Quit (); } } System.Object Constructor To be added To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a a a a a To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a a a To be added Method System.Int32 To be added a a a a To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a a a a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a a a To be added Method System.Int32 To be added a a a a To be added Method System.Void To be added a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a a a To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a a a a a To be added Method System.Boolean To be added a a a a a a To be added Method System.Int32 To be added a a a a a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a a a a a To be added Method System.Int32 To be added a a a a To be added Method System.Int32 To be added a a a a a To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a a a To be added Method System.Int32 To be added a a a a a a To be added Method System.Int32 To be added a a a a a a a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a a a a To be added Method System.Boolean To be added a a a a To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a a a a a a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a a To be added Method Pango.Context To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method Pango.FontMap To be added. To be added. To be added. Method System.Byte To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method Pango.FontMap To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method Pango.Layout To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/PanelAppletFactoryCallback.xml0000664000175000017500000000313312767740535020633 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added To be added To be added. System.Delegate System.Boolean gtk-sharp-2.12.40/doc/en/Gnome/PrintConfigDialog.xml0000664000175000017500000000745012767740535017031 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gtk.Dialog Method System.Void To be added To be added Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor Internal constructor a This is not typically used by C# code. Constructor To be added a To be added Property GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gnome/Authentication.xml0000664000175000017500000000457212767740535016450 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 System.Object To be added. To be added. Constructor 2.24.0.0 To be added. To be added. Method 2.24.0.0 System.Boolean To be added. To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/ModuleInfo.xml0000664000175000017500000000763212767740535015532 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque To be added To be added Constructor 2.24.0.0 To be added. To be added. To be added. Property 2.24.0.0 System.String To be added. To be added. To be added. Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 System.String To be added. To be added. To be added. Property 2.24.0.0 System.String To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/ColorSetHandler.xml0000664000175000017500000000313612767740535016514 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ColorSetHandler instance to the event. The methods referenced by the ColorSetHandler instance are invoked whenever the event is raised, until the ColorSetHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gnome/Canvas.xml0000664000175000017500000015167612767740535014714 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Layout Main canvas widget The is an engine for structured graphics that offers a rich imaging model, high performance rendering, and a powerful, high level API. It offers a choice of two rendering back-ends, one based on Xlib for extremely fast display, and another based on Libart, a sophisticated, antialiased, alpha-compositing engine. This widget can be used for flexible display of graphics and for creating interactive user interface elements. To create a new GnomeCanvas widget call or for an anti-aliased mode canvas. A widget contains one or more objects. Items consist of graphing elements like lines, ellipses, polygons, images, text, and curves. These items are organized using objects, which are themselves derived from . Since a group is an item it can be contained within other groups, forming a tree of canvas items. Certain operations, like translating and scaling, can be performed on all items in a group. There is a special root group created by a GnomeCanvas. This is the top level group under which all items in a canvas are contained. To get the root group from a canvas, use property. There are several different coordinate systems used by widgets. The primary system is a logical, abstract coordinate space called world coordinates. World coordinates are expressed as unbounded double floating point numbers. When it comes to rendering to a screen the canvas pixel coordinate system (also referred to as just canvas coordinates) is used. This system uses integers to specify screen pixel positions. A user defined scaling factor and offset are used to convert between world coordinates and canvas coordinates. Each item in a canvas has its own coordinate system called item coordinates. This system is specified in world coordinates but they are relative to an item (0.0, 0.0 would be the top left corner of the item). The final coordinate system of interest is window coordinates. These are like canvas coordinates but are offsets from within a window a canvas is displayed in. This last system is rarely used, but is useful when manually handling GDK events (such as drag and drop) which are specified in window coordinates (the events processed by the canvas are already converted for you). Along with different coordinate systems comes functions to convert between them. converts world to canvas pixel coordinates and from canvas to world. is like but returns the pixel coordinates as doubles which is useful to avoid precision loss from integer rounding. To get the affine transform matrix for converting from world coordinates to canvas coordinates call . converts from window to world coordinates and converts in the other direction. There are no functions for converting between canvas and window coordinates, since this is just a matter of subtracting the canvas scrolling offset. To convert to/from item coordinates use the functions defined for objects. To set the canvas zoom factor (canvas pixels per world unit, the scaling factor) use the property, setting this to 1.0 will cause the two coordinate systems to correspond (e.g., [5, 6] in pixel units would be [5.0, 6.0] in world units). Defining the scrollable area of a canvas widget is done by calling and to get the current region can be used. If the window is larger than the canvas scrolling region it can optionally be centered in the window. Use the property to enable or disable this behavior. To scroll to a particular canvas pixel coordinate use (typically not used since scrollbars are usually set up to handle the scrolling), and to get the current canvas pixel scroll offset call . Constructor 2.24.0.0 Creates a new empty canvas in non-antialiased mode. Creates a new empty canvas in non-antialiased mode. If you wish to use the item inside this canvas, then you must push the gdk_imlib visual and colormap before calling this function, and they can be popped afterwards. Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 if an antialiased canvas should be created. Constructs a canvas with or without antialiasing. Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.24.0.0 GLib.Property("aa") System.Boolean Whether to enable anti-aliasing mode to enable anti-aliasing Note that this parameter can only be set at the time of object construction. The same effect can be achieved by calling to create new non-aa canvas or for an anti-aliased canvas. Method 2.24.0.0 System.Void Canvas pixel X coordinate. Canvas pixel Y coordinate. Return value for the X world coordinate Return value for the Y world coordinate Converts canvas pixel coordinates to world coordinates. Method 2.24.0.0 Art.PathStrokeCapType a cap type, represented in GDK format Convert from GDK line cap specifier to the libart format. The line cap specifier in libart format. Property 2.24.0.0 System.Boolean Whether the canvas is set to center the scrolling region in the window if the former is smaller than the canvas' allocation. Whether the scroll region is being centered in the canvas window. When the scrolling region of the canvas is smaller than the canvas window, e.g. the allocation of the canvas, it can be either centered on the window or simply made to be on the upper-left corner on the window. Property 2.24.0.0 Gdk.RgbDither The type of dithering used to render an antialiased canvas. The type of dithering used to render an antialiased canvas. Event 2.24.0.0 GLib.Signal("draw_background") Gnome.DrawBackgroundHandler Emitted to draw the background for non-antialiased mode canvas widgets. The default method uses the canvas widget's style to draw the background. Property 2.24.0.0 GLib.Property("focused_item") Gnome.CanvasItem To be added. To be added. To be added. Method 2.24.0.0 System.Void X coordinate of first point in the line Y cooordinate of first point in the line X coordinate of second point (endpoint) of the line Y coordinate of second point (endpoint) of the line Width of the line Whether the butt points should project out by width/2 distance Return value of the X coordinate of first butt point Return value of the Y coordinate of first butt point Return value of the X coordinate of second butt point Return value of the Y coordinate of second butt point Computes the butt points of a line segment. Method 2.24.0.0 System.Boolean X color specification, or for"transparent". Return value the allocated color. Allocates a color based on the specified X color specification. if spec is non-NULL and the color is allocated. If spec is , then returns . To be added Method 2.24.0.0 System.UInt64 RGBA color specification. Allocates a color from the RGBA value passed into this function. Allocated pixel value corresponding to the specified color. Allocates a color from , the RGBA value passed into this function. The alpha opacity value is discarded, since normal X colors do not support it. Method 2.24.0.0 Gnome.CanvasItem X position in world coordinates. Y position in world coordinates. Looks for the item that is under the specified position. The requested item, or if no item is at the specified coordinates. Method 2.24.0.0 System.Boolean X coordinate of the first point Y coordinate of the first point X coordinate of the second (angle) point Y coordinate of the second (angle) point X coordinate of the third point Y coordinate of the third point Width of the line The return value of the X coordinate of the first miter point The return value of the Y coordinate of the first miter point The return value of the X coordinate of the second miter point The return value of the Y coordinate of the second miter point Given three points forming an angle, computes the coordinates of the inside and outside points of the mitered corner formed by a line of a given width at that angle. if the angle is less than 11 degrees (this is the same threshold as X uses. If this occurs, the return points are not modified. Otherwise, returns . Method 2.24.0.0 System.Void Return value for the horizontal scrolling offset Return value for the vertical scrolling offset Queries the scrolling offsets of a canvas. The values are returned in canvas pixel units. Method 2.24.0.0 System.Void Return value for the leftmost limit of the scrolling region Return value for the upper limit of the scrolling region Return value for the rightmost limit of the scrolling region Return value for the lower limit of the scrolling region Queries the scrolling region of a canvas. Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.24.0.0 Art.PathStrokeJoinType a join type, represented in GDK format Convert from GDK line join specifier to libart. The line join specifier in libart format. Method 2.24.0.0 Gnome.Canvas Creates a new empty canvas in antialiased mode. You should push the visual and colormap before calling this functions, and they can be popped afterwards. A newly-created antialiased canvas. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDrawBackground", Type=typeof(Gnome.Canvas)) System.Void a a a a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRenderBackground", Type=typeof(Gnome.Canvas)) System.Void To be added. Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 2.24.0.0 System.Double Gets or Sets the number of pixels that correspond to one canvas unit. a The anchor point for zooming, i.e. the point that stays fixed and all others zoom inwards or outwards from it, depends on whether the canvas is set to center the scrolling region or not. You can control this using the function. If the canvas is set to center the scroll region, then the center of the canvas window is used as the anchor point for zooming. Otherwise, the upper-left corner of the canvas window is used as the anchor point. Event 2.24.0.0 GLib.Signal("render_background") Gnome.RenderBackgroundHandler This signal is emitted for antialiased mode canvas widgets to render the background. The buf data structure contains both a pointer to a packed 24-bit RGB array and the coordinates. Method 2.24.0.0 System.Void the canvas buffer to render over the vector path to render the rgba color to render Render the over the . Method 2.24.0.0 System.Void Leftmost coordinate of the rectangle to be redrawn. Upper coordinate of the rectangle to be redrawn. Rightmost coordinate of the rectangle to be redrawn, plus 1. Lower coordinate of the rectangle to be redrawn, plus 1. Convenience function that informs a canvas that the specified rectangle needs to be repainted. Convenience function that informs a canvas that the specified rectangle needs to be repainted. This function converts the rectangle to a microtile array and feeds it to . The rectangle includes and , but not and . To be used only by item implementations. Method 2.24.0.0 System.Void Microtile array that specifies the area to be redrawn. Informs a canvas that the specified area, given as a microtile array, needs to be repainted. To be used only by item implementations. Method 2.24.0.0 Gnome.CanvasGroup Queries the root group of a canvas. The root group of the specified canvas. Method 2.24.0.0 System.Void Horizontal scrolling offset in canvas pixel units. Vertical scrolling offset in canvas pixel units. Makes a canvas scroll to the specified offsets, given in canvas pixel units. Makes a canvas scroll to the specified offsets, given in canvas pixel units. The canvas will adjust the view so that it is not outside the scrolling region. This function is typically not used, as it is better to hook scrollbars to the canvas layout's scrolling adjusments. Method 2.24.0.0 System.Void Leftmost limit of the scrolling region. Upper limit of the scrolling region. Rightmost limit of the scrolling region. Lower limit of the scrolling region. Sets the scrolling region of a canvas to the specified rectangle. To be added Property 2.24.0.0 Gdk.GC Sets the stipple origin of the specified GC as is appropriate for the canvas, so that it will be aligned with other stipple patterns used by canvas items. To be added. This is typically only needed by item implementations. Method 2.24.0.0 System.Void The canvas item needing update Left coordinate of the new bounding box Top coordinate of the new bounding box Right coordinate of the new bounding box Bottom coordinate of the new bounding box Sets the bounding box to the new value, requesting full repaint. Method 2.24.0.0 System.Void Forces an immediate update and redraw of a canvas. Forces an immediate update and redraw of a canvas. If the canvas does not have any pending update or redraw requests, then no action is taken. This is typically only used by applications that need explicit control of when the display is updated, like games. It is not needed by normal applications. Method 2.24.0.0 System.Void The existing svp The new svp Sets the svp to the new value, requesting repaint on what has changed. Method 2.24.0.0 System.Void the existing svp the new svp a clip path Sets the svp to the new value, clipping if necessary, and requesting repaint on what has changed. Method 2.24.0.0 System.Void World X coordinate. World Y coordinate. Return value for the X pixel coordinate Return value for the Y pixel coordinate Converts world coordinates into canvas pixel coordinates. Method 2.24.0.0 System.Void To be added. To be added. To be added. Method 2.24.0.0 System.Void World X coordinate. World Y coordinate. Return value for the X pixel coordinate Return value for the Y pixel coordinate Converts world coordinates into canvas pixel coordinates. This version returns coordinates in floating point coordinates, for greater precision. Method 2.24.0.0 System.Void World X coordinate. World Y coordinate. Return value for the X window-relative coordinate. Return value for the Y window-relative coordinate. Converts world coordinates into window-relative coordinates. Method 2.24.0.0 System.Void World X coordinate. World Y coordinate. Return value for the X window-relative coordinate. Return value for the Y window-relative coordinate. Converts world coordinates into window-relative coordinates. gtk-sharp-2.12.40/doc/en/Gnome/ContextMenuItemCallback.xml0000664000175000017500000000276012767740535020173 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/Scores.xml0000664000175000017500000003340612767740535014725 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Dialog System.Obsolete To be added To be added Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.24.0.0 a a a a a To be added To be added Property 2.24.0.0 Gdk.Color To be added To be added: an object of type 'Gdk.Color' To be added Method 2.24.0.0 System.Single a a a a To be added a To be added Property 2.24.0.0 System.Int32 To be added a To be added Property 2.24.0.0 Gdk.Color To be added a To be added Method 2.24.0.0 Gtk.Widget an object of type Filename of a logo pixmap to display an object of type Name of the application, as in . an object of type Level of the game or NULL. To be added: an object of type 'int' Does all the work of displaying the best scores. It calls to retrieve the info, creates the window, and shows it. To be added: an object of type 'Gtk.Widget' To be added Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 System.String To be added a To be added Property 2.24.0.0 System.String To be added a To be added Property 2.24.0.0 Gtk.Widget To be added a To be added Method 2.24.0.0 System.Void a a To be added To be added Method 2.24.0.0 System.Void a a a To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/PanelApplet.xml0000664000175000017500000004563412767740535015702 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gtk.EventBox Method System.Void To be added a a a To be added Method System.Void To be added a To be added Method System.Void To be added a To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a To be added Method System.Void To be added a a To be added Method Gnome.PanelAppletBackgroundType To be added a a a To be added Method System.String To be added a a To be added Method System.Void To be added a a To be added Method System.Void To be added a To be added Method System.String To be added a a To be added Method System.Void To be added a a To be added Method System.Boolean To be added a a To be added Method System.Double To be added a a To be added Method System.Void To be added a a To be added Method System.Void To be added a a To be added Method System.Void To be added To be added Constructor To be added a To be added System.Obsolete Constructor To be added a To be added Constructor To be added To be added Property GLib.GType To be added a To be added Property System.Boolean To be added a To be added Property System.String To be added a To be added Property System.UInt32 To be added a To be added Property Gnome.PanelAppletFlags To be added a To be added Property System.String To be added a To be added Property System.String To be added a To be added Event Gnome.ChangeBackgroundHandler To be added To be added GLib.Signal("change_background") Event Gnome.MoveFocusOutOfAppletHandler To be added To be added GLib.Signal("move_focus_out_of_applet") Event Gnome.ChangeSizeHandler To be added To be added GLib.Signal("change_size") Method System.Void To be added. To be added. To be added. Property Gtk.Widget To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/CancelClickedArgs.xml0000664000175000017500000000456112767740535016750 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.24.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.24.0.0 Gtk.Widget To be added To be added: an object of type 'Gtk.Widget' To be added gtk-sharp-2.12.40/doc/en/Gnome/Druid.xml0000664000175000017500000006063512767740535014542 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Container System.Obsolete Widget for sequentially stepping through some pages. The druid is a multi-page widget, which lets the developer guide the user through a complex operation by breaking it up into simple steps, showing some helpful text in the process. It is composed of several s. The widget which ultimately holds all of the druid's pages and information. This is the widget which the application developer then places inside an outer widget, such as a dialog box for ultimate display. Constructor 2.24.0.0 Creates a new GnomeDruid widget. You need to add this druid to a dialog yourself, it is not a dialog. Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.24.0.0 a a To be added To be added Constructor 2.24.0.0 a a a To be added To be added Constructor 2.24.0.0 a a a To be added To be added Constructor 2.24.0.0 a a a a To be added To be added Method 2.24.0.0 System.Void The to be appended. This will append a onto the end of the internal list. Since is just a container, you will need to also call Show() on the page, otherwise the page will not be shown. Property 2.24.0.0 Gtk.Button The druid's "Back" button. a Event 2.24.0.0 GLib.Signal("cancel") System.EventHandler Emitted when the "Cancel" button of the druid is clicked. Property 2.24.0.0 Gtk.Button The druid's "Cancel" button. a Method 2.24.0.0 Gtk.Widget a a a Creates a new toplevel window with the title of (which can be ) and a parent of (which also can be ). a The druid will be placed inside this window. The window and the druid will both be shown. When the druid gets destroyed, so will the window that is created here. Property 2.24.0.0 Gtk.Button The druid's "Finish" button. a Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Event 2.24.0.0 GLib.Signal("help") System.EventHandler Used to specify if the "Help" button on the druid is visible. If set to true, the "Help" button is shown in the lower left corner of the widget. Property 2.24.0.0 Gtk.Button The druid's "Help" button. a Method 2.24.0.0 System.Void The prior to the page to be inserted. The to insert. This will insert a page after back_page into the list of internal pages that the druid has. If back_page is not present in the list or null, page will be prepended to the list. Since is just a container, you will need to also call Show() on the page, otherwise the page will not be shown. Property 2.24.0.0 Gtk.Button The druid's "Next" button. a Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCancel", Type=typeof(Gnome.Druid)) System.Void Run when the druid is canceled. Override this method if you want to add non-standard behaviour to occur when the druid is canceled Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideHelp", Type=typeof(Gnome.Druid)) System.Void Run when the user requests help from the druid's interface. Override this method to offer some help to the user when requested. Property 2.24.0.0 Gnome.DruidPage This will make the currently showing page in the druid. an object of type must already be in the druid. Method 2.24.0.0 System.Void The page to be inserted. This will prepend a into the internal list of pages that the druid has. Since is just a container, you will need to also call Show() on the page, otherwise the page will not be shown. Method 2.24.0.0 System.Void true if the back button is sensitive. true if the next button is sensitive. true if the cancel button is sensitive. true if the help button is sensitive. Sets the sensitivity of druid's control-buttons. If the variables are true, then the buttons will be clickable. This function is used primarily by the actual GnomeDruidPage widgets. Property 2.24.0.0 GLib.Property("show_finish") System.Boolean This will make the given the currently showing page in the druid. an object of type The page must already be in the druid. Property 2.24.0.0 GLib.Property("show_help") System.Boolean Used to specify if the druid is currently showing the last page of the sequence. an object of type If set to true, the druid will display "Finish", rather than "Next". gtk-sharp-2.12.40/doc/en/Gnome/PredecessorAddedArgs.xml0000664000175000017500000000233512767740535017501 00000000000000 gnome-sharp 2.20.0.0 GLib.SignalArgs Constructor To be added. To be added. Property Gnome.PrintFilter To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/PrintDialog.xml0000664000175000017500000003413612767740535015704 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gtk.Dialog Method System.Void To be added a To be added Method System.Void To be added a a To be added Constructor Internal constructor a This is not typically used by C# code. Property Gnome.PrintConfig To be added a To be added Property Gnome.PrintRangeType To be added a To be added Method System.Void To be added a a a a a To be added Method System.Void To be added a a a a To be added Method System.Void To be added a a To be added Constructor To be added a a a To be added Constructor To be added a a To be added Method System.Int32 To be added a a a To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.Void To be added a a To be added Method System.Int32 To be added a To be added Property GLib.Property("content_selector") Gnome.PrintContentSelector To be added. To be added. To be added. Property GLib.Property("flags") System.Int32 To be added. To be added. To be added. Property GLib.Property("notebook") Gtk.Notebook To be added. To be added. To be added. Property GLib.Property("page_selector") Gnome.PrintPageSelector To be added. To be added. To be added. Property GLib.Property("print_config") Gnome.PrintConfig To be added. To be added. To be added. Property GLib.Property("title") System.String To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/ChangeBackgroundHandler.xml0000664000175000017500000000306112767740535020144 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added To be added System.Delegate System.Void gtk-sharp-2.12.40/doc/en/Gnome/PrintMeta.xml0000664000175000017500000002425112767740535015370 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gnome.PrintContext Constructor Internal constructor a This is not typically used by C# code. Constructor To be added To be added Property System.Byte To be added a To be added Property System.Int32 To be added a To be added Property System.Int32 To be added a To be added Method System.Int32 To be added a a a a a To be added Method System.Int32 To be added a a a To be added Method System.Int32 To be added a a a a a a To be added Method System.Int32 To be added a a a a To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.Int32 To be added. To be added. To be added. To be added. To be added. Method System.Void To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. Method System.Int32 To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/TextChangedHandler.xml0000664000175000017500000000366112767740535017163 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the TextChangedHandler instance to the event. The methods referenced by the TextChangedHandler instance are invoked whenever the event is raised, until the TextChangedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gnome/AppBarMsg.xml0000664000175000017500000000323512767740535015300 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque To be added To be added Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. gtk-sharp-2.12.40/doc/en/Gnome/HRef.xml0000664000175000017500000001334612767740535014314 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Button System.Obsolete To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.24.0.0 To be added: an object of type 'string' To be added: an object of type 'string' To be added To be added Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 GLib.Property("text") System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 GLib.Property("url") System.String To be added To be added: an object of type 'string' To be added gtk-sharp-2.12.40/doc/en/Gnome/UIPixmapType.xml0000664000175000017500000000635412767740535016027 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum These values identify the type of pixmap used in an item. To be added. Field 2.24.0.0 Gnome.UIPixmapType Use a pixmap from inline xpm data. Field 2.24.0.0 Gnome.UIPixmapType Use a pixmap from the specified filename. Field 2.24.0.0 Gnome.UIPixmapType No pixmap specified. Field 2.24.0.0 Gnome.UIPixmapType Use a stock pixmap . gtk-sharp-2.12.40/doc/en/Gnome/MoveCursorHandler.xml0000664000175000017500000000316312767740535017066 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the MoveCursorHandler instance to the event. The methods referenced by the MoveCursorHandler instance are invoked whenever the event is raised, until the MoveCursorHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gnome/FontSetHandler.xml0000664000175000017500000000360012767740535016340 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the FontSetHandler instance to the event. The methods referenced by the FontSetHandler instance are invoked whenever the event is raised, until the FontSetHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gnome/SuccessorAddedHandler.xml0000664000175000017500000000147312767740535017657 00000000000000 gnome-sharp 2.20.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/ThumbnailSize.xml0000664000175000017500000000423112767740535016237 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gnome.ThumbnailSizeGType)) To be added To be added Field 2.24.0.0 Gnome.ThumbnailSize To be added Field 2.24.0.0 Gnome.ThumbnailSize To be added gtk-sharp-2.12.40/doc/en/Gnome/BackClickedHandler.xml0000664000175000017500000000320012767740535017071 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the BackClickedHandler instance to the event. The methods referenced by the BackClickedHandler instance are invoked whenever the event is raised, until the BackClickedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gnome/Modules.xml0000664000175000017500000000516012767740535015073 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added To be added Constructor 2.24.0.0 To be added To be added Property 2.24.0.0 Gnome.ModuleInfo To be added To be added: an object of type 'Gnome.ModuleInfo' To be added Property 2.24.0.0 Gnome.ModuleInfo To be added To be added: an object of type 'Gnome.ModuleInfo' To be added gtk-sharp-2.12.40/doc/en/Gnome/CancelClickedHandler.xml0000664000175000017500000000323012767740535017421 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CancelClickedHandler instance to the event. The methods referenced by the CancelClickedHandler instance are invoked whenever the event is raised, until the CancelClickedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gnome/CanvasEventHandler.xml0000664000175000017500000000335312767740535017200 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Called when a canvas receives events from a such as enter/leave, mouse movements, etc. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CanvasEventHandler instance to the event. The methods referenced by the CanvasEventHandler instance are invoked whenever the event is raised, until the CanvasEventHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gnome/PrintSvg.xml0000664000175000017500000000216012767740535015234 00000000000000 gnome-sharp 2.20.0.0 System.Object Constructor To be added. To be added. Property GLib.GType To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/IconSelectedHandler.xml0000664000175000017500000000321312767740535017317 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the IconSelectedHandler instance to the event. The methods referenced by the IconSelectedHandler instance are invoked whenever the event is raised, until the IconSelectedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gnome/BonoboUIVerb.xml0000664000175000017500000000445212767740535015761 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Constructor 2.24.0.0 a a To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/About.xml0000664000175000017500000003406212767740535014540 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Dialog System.Obsolete Display author, documenter and translator credits for an application. The widget is used as the standard way of displaying credits in an application. Typically, it will be called when a user selects the About... option from the Help menu. With one simple function call, the application can then display all of the appropriate information. NOTE: The widget is destroyed automatically when the close event is called. Therefore, it is not possible to use the same more than once. Compile the following example with: mcs GnomeAboutSample.cs -r gtk-sharp -r gnome-sharp -r gdk-sharp using System; using Gtk; using GtkSharp; using Gnome; class GnomeAboutSample { About ab; Program program; static void Main(string[] args) { new GnomeAboutSample(args); } GnomeAboutSample (string[] args) { program = new Program("GnomeAboutSample", "0.1", Gnome.Modules.UI , args); App app = new App("sample", "sample"); app.SetDefaultSize (250, 250); app.DeleteEvent += new DeleteEventHandler (on_app_delete); Button btn = new Button ("Show About"); btn.Clicked += new EventHandler (on_btn_clicked); app.Contents = btn; app.ShowAll(); program.Run(); } private void on_btn_clicked (object obj, EventArgs args) { string[] authors = {"The Author", "Co-Author"}; string[] documenters = {"The Documenters", "Another Documenter"}; Gdk.Pixbuf pixbuf = new Gdk.Pixbuf ("MonoIcon.png"); ab = new Gnome.About ("GnomeAboutTest", "0.1", "Copyright", "Comments", authors, documenters, "translator", pixbuf); ab.Close += new EventHandler (OnAboutClose); ab.Response += new ResponseHandler (OnAboutResponse); ab.Run (); } private void OnAboutClose (object o, EventArgs args) { Console.WriteLine ("Close Event"); } private void OnAboutResponse(object o, ResponseArgs args) { Console.WriteLine (args.ResponseId); } private void on_app_delete (object o, DeleteEventArgs args) { program.Quit (); } } Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.24.0.0 To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Property 2.24.0.0 GLib.Property("comments") System.String A short miscellaneous string. an object of type Method 2.24.0.0 System.Void a a a a a a a a Construct a credits box for an . The array cannot be empty. Property 2.24.0.0 GLib.Property("copyright") System.String The copyright statement of the application. an object of type Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 GLib.Property("logo") Gdk.Pixbuf The logo for the application. an object of type Property 2.24.0.0 GLib.Property("name") System.String The name of the application. an object of type Property 2.24.0.0 GLib.Property("translator_credits") System.String The translator for the current locale. an object of type Property 2.24.0.0 GLib.Property("version") System.String The version string of the application. an object of type gtk-sharp-2.12.40/doc/en/Gnome/DateEditFlags.xml0000664000175000017500000000671412767740535016131 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gnome.DateEditFlagsGType)) System.Flags Flags specifying how behaves To be added. Field 2.24.0.0 Gnome.DateEditFlags To be added. Field 2.24.0.0 Gnome.DateEditFlags Time will be displayed. Field 2.24.0.0 Gnome.DateEditFlags 24-hour format is desired for the time display. Field 2.24.0.0 Gnome.DateEditFlags The week starts on Monday gtk-sharp-2.12.40/doc/en/Gnome/UIInfoType.xml0000664000175000017500000001773112767740535015465 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum These values identify the item type that a particular structure specifies. One should be careful when using Gnome.App.Create[Custom|Interp|WithData] methods with arrays containing BuilderData items, since their structures completely override the ones generated or supplied by the above methods. Field 2.24.0.0 Gnome.UIInfoType Specifies the builder data for the following entries, see code for further info. Field 2.24.0.0 Gnome.UIInfoType No more items, use it at the end of an array. Field 2.24.0.0 Gnome.UIInfoType Create a list of help topics, used in the Help menu. Field 2.24.0.0 Gnome.UIInfoType Almost like Subtree, but inserts items into the current menu or whatever, instead of making a submenu. Field 2.24.0.0 Gnome.UIInfoType Normal item, or radio item if it is inside a radioitems group. Field 2.24.0.0 Gnome.UIInfoType A configurable menu item. Field 2.24.0.0 Gnome.UIInfoType Radio item group. Field 2.24.0.0 Gnome.UIInfoType Separator line (menus) or blank space (toolbars). Field 2.24.0.0 Gnome.UIInfoType Item that defines a subtree/submenu. Field 2.24.0.0 Gnome.UIInfoType Item that defines a subtree/submenu, same as Subtree, but the texts should be looked up in the libgnome catalog. Field 2.24.0.0 Gnome.UIInfoType Toggle (check box) item. gtk-sharp-2.12.40/doc/en/Gnome/Program.xml0000664000175000017500000006645312767740535015106 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object To be added To be added Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.24.0.0 System.ParamArray To be added. To be added. To be added. To be added. To be added. To be added. To be added. Property 2.24.0.0 GLib.Property("app-datadir") System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 GLib.Property("app-id") System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 GLib.Property("app-libdir") System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 GLib.Property("app-prefix") System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 GLib.Property("app-sysconfdir") System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 GLib.Property("app-version") System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 GLib.Property("create-directories") System.Boolean To be added To be added: an object of type 'bool' To be added Property 2.24.0.0 GLib.Property("enable-sound") System.Boolean To be added To be added: an object of type 'bool' To be added Property 2.24.0.0 GLib.Property("espeaker") System.String To be added To be added: an object of type 'string' To be added Method 2.24.0.0 Gnome.Program To be added To be added: an object of type 'Gnome.Program' To be added Property 2.24.0.0 GLib.Property("gnome-datadir") System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 GLib.Property("gnome-libdir") System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 GLib.Property("gnome-path") System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 GLib.Property("gnome-prefix") System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 GLib.Property("gnome-sysconfdir") System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 GLib.Property("goption-context") System.IntPtr To be added. To be added. To be added. Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 GLib.Property("human-readable-name") System.String To be added To be added: an object of type 'string' To be added Method 2.24.0.0 Gnome.Program a a a a a a a a To be added a To be added Method 2.24.0.0 System.String To be added: an object of type 'Gnome.FileDomain' To be added: an object of type 'string' To be added: an object of type 'bool' To be added: an object of type 'GLib.SList' To be added To be added: an object of type 'string' To be added Method 2.24.0.0 Gnome.ModuleInfo To be added: an object of type 'string' To be added To be added: an object of type 'Gnome.ModuleInfo' To be added Method 2.24.0.0 System.Void To be added: an object of type 'Gnome.ModuleInfo' To be added To be added Method 2.24.0.0 System.Boolean To be added: an object of type 'Gnome.ModuleInfo' To be added To be added: an object of type 'bool' To be added Method 2.24.0.0 System.Obsolete System.Void To be added To be added Property 2.24.0.0 GLib.Property("popt-context") System.IntPtr To be added To be added: an object of type 'IntPtr' To be added Method 2.24.0.0 System.Obsolete System.Void To be added To be added Method 2.24.0.0 System.Void To be added To be added Method 2.24.0.0 System.Void To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/PrintButtons.xml0000664000175000017500000000366012767740535016141 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gnome.PrintButtons To be added Field Gnome.PrintButtons To be added Field Gnome.PrintButtons To be added GLib.GType(typeof(Gnome.PrintButtonsGType)) gtk-sharp-2.12.40/doc/en/Gnome/PrintJob.xml0000664000175000017500000002347112767740535015217 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Object Method System.Int32 To be added a To be added Method System.Int32 To be added a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a To be added Method System.Int32 To be added a a a a To be added Constructor Internal constructor a This is not typically used by C# code. Constructor To be added a To be added Property Gnome.PrintConfig To be added a To be added GLib.Property("config") Property Gnome.PrintContext To be added a To be added GLib.Property("context") Property System.Int32 To be added a To be added Constructor To be added To be added Method System.Boolean To be added a a a a To be added Method System.Boolean To be added a a a To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property System.String To be added a To be added gtk-sharp-2.12.40/doc/en/Gnome/ChangeSizeHandler.xml0000664000175000017500000000302312767740535016775 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added To be added System.Delegate System.Void gtk-sharp-2.12.40/doc/en/Gnome/GdkHelper.xml0000664000175000017500000001340312767740535015327 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added To be added Constructor 2.24.0.0 To be added To be added Method 2.24.0.0 Gdk.Pixbuf a To be added a To be added Method 2.24.0.0 Gnome.GdkPixbufAsyncHandle a a a To be added a To be added Method 2.24.0.0 Gdk.Pixbuf To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Void a To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/IconUnselectedHandler.xml0000664000175000017500000000324312767740535017665 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the IconUnselectedHandler instance to the event. The methods referenced by the IconUnselectedHandler instance are invoked whenever the event is raised, until the IconUnselectedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gnome/NextClickedHandler.xml0000664000175000017500000000320012767740535017147 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the NextClickedHandler instance to the event. The methods referenced by the NextClickedHandler instance are invoked whenever the event is raised, until the NextClickedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gnome/PasswordDialogQualityFunc.xml0000664000175000017500000000212412767740535020567 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 System.Delegate System.Double To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/IconTextItem.xml0000664000175000017500000005673412767740535016054 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gnome.CanvasItem System.Obsolete To be added To be added Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 To be added: an object of type 'Gnome.CanvasGroup' To be added To be added Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.24.0.0 System.Void To be added: an object of type 'int' To be added: an object of type 'int' To be added: an object of type 'int' To be added: an object of type 'string' To be added: an object of type 'string' To be added: an object of type 'bool' To be added: an object of type 'bool' To be added To be added Property 2.24.0.0 Gtk.Editable To be added To be added: an object of type 'Gtk.Editable' To be added Event 2.24.0.0 GLib.Signal("editing_started") System.EventHandler To be added To be added Event 2.24.0.0 GLib.Signal("editing_stopped") System.EventHandler To be added To be added Method 2.24.0.0 System.Void To be added: an object of type 'bool' To be added To be added Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Event 2.24.0.0 GLib.Signal("height_changed") System.EventHandler To be added To be added Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideEditingStarted", Type=typeof(Gnome.IconTextItem)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideEditingStopped", Type=typeof(Gnome.IconTextItem)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideHeightChanged", Type=typeof(Gnome.IconTextItem)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionStarted", Type=typeof(Gnome.IconTextItem)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSelectionStopped", Type=typeof(Gnome.IconTextItem)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextChanged", Type=typeof(Gnome.IconTextItem)) System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideWidthChanged", Type=typeof(Gnome.IconTextItem)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 System.Void To be added: an object of type 'bool' To be added To be added Event 2.24.0.0 GLib.Signal("selection_started") System.EventHandler To be added To be added Event 2.24.0.0 GLib.Signal("selection_stopped") System.EventHandler To be added To be added Method 2.24.0.0 System.Void To be added: an object of type 'int' To be added: an object of type 'int' To be added To be added Method 2.24.0.0 System.Void To be added To be added Method 2.24.0.0 System.Void To be added: an object of type 'bool' To be added To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Event 2.24.0.0 GLib.Signal("text_changed") Gnome.TextChangedHandler To be added To be added Event 2.24.0.0 GLib.Signal("width_changed") System.EventHandler To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/UIInfoConfigurableTypes.xml0000664000175000017500000005050312767740535020163 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum This enum gives an identifier for each menu shortcut that can possible be redefined. A user can redefine the accelerator keys for each menu item (if the application supports this). If an application is not using one of these accelerators, then no shortcut redefinition is possible unless the application specifically implements it (moral: use standard menu items). Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "About..." menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "Clear" menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "Close" menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "Close window" menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "Copy" menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "Cut" menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "End game" menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "Find..." menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "FindAgain" menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "Hint" menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "New" menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "New game" menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "New window" menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "Open" menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "Paste" menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "Pause game" menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "Preferences..." menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "Print" menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "Print setup..." menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "Properties..." menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "Quit" menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "Redo" menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "Redo move" menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "Replace..." menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "Restart game" menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "Revert" menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "Save" menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "Save As..." menu Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "Scores..." menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "Select all" menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "Undo" menu. Field 2.24.0.0 Gnome.UIInfoConfigurableTypes The "Undo move" menu. gtk-sharp-2.12.40/doc/en/Gnome/CanvasText.xml0000664000175000017500000007651612767740535015560 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gnome.CanvasItem Text canvas item A canvas item for displaying text. See for a more advanced text display and editing canvas item. using System; using Gtk; using GtkSharp; using Gnome; class CanvasTest { public CanvasTest() { Application.Init(); Window window1 = new Window("Hello Canvas!"); window1.DeleteEvent += new DeleteEventHandler (delete_event); Canvas canvas1 = Canvas.NewAa(); int Width = 100; int Height = 100; canvas1.SetScrollRegion(0, 0, Width, Height); canvas1.WidthRequest = Width; canvas1.HeightRequest = Height; CanvasGroup root = canvas1.Root(); // Draw Background CanvasRect background = new CanvasRect(root); background.X1 = 0; background.X2 = Width; background.Y1 = 0; background.Y2 = Height; background.FillColor = "#ffffff"; background.Show(); // Here we go CanvasText hello = new CanvasText(root); hello.X = 40; hello.Y = 10; hello.FillColor = "#000000"; hello.Text = "Hello, Canvas!"; hello.Show(); canvas1.Show(); window1.Add(canvas1); window1.ShowAll(); Application.Run(); } public static void Main() { new CanvasTest(); } void delete_event (object obj, DeleteEventArgs args) { Application.Quit (); } } Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 an object of type To be added To be added Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.24.0.0 GLib.Property("anchor") Gtk.AnchorType Anchor position for the text. an object of type To be added Property 2.24.0.0 GLib.Property("attributes") Pango.AttrList Reference to a Pango attribute list. an object of type To be added Property 2.24.0.0 GLib.Property("clip") System.Boolean Use clipping rectangle? an object of type To be added Property 2.24.0.0 GLib.Property("clip_height") System.Double Height of clip rectangle. an object of type To be added Property 2.24.0.0 GLib.Property("clip_width") System.Double Width of clip rectangle. an object of type To be added Property 2.24.0.0 GLib.Property("family") System.String Name of the font family. an object of type e.g. Sans, Helvetica, Times, Monospace Property 2.24.0.0 GLib.Property("fill_color") System.String X color specification for text. an object of type To be added Property 2.24.0.0 GLib.Property("fill_color_gdk") Gdk.Color An allocated Gdk.Color specification for text. an object of type To be added Property 2.24.0.0 GLib.Property("fill_color_rgba") System.UInt32 RGBA value used for AA color an object of type The color should be specified in the format 0xRRGGBBAA (R: red, G: green, B: blue, A: alpha) Property 2.24.0.0 GLib.Property("fill_stipple") Gdk.Drawable Stipple pattern for filling the text. an object of type To be added Property 2.24.0.0 GLib.Property("font") System.String Font description as a string. an object of type See for a description of the format of the string representation. Property 2.24.0.0 GLib.Property("font_desc") Pango.FontDescription Font description as a Pango.FontDescription class. an object of type To be added Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 GLib.Property("justification") Gtk.Justification Justification for multiline text. an object of type To be added Property 2.24.0.0 GLib.Property("markup") System.String Pango marked up text to render. an object of type To be added Property 2.24.0.0 GLib.Property("rise") System.Int32 Offset of text above the baseline. an object of type This property specifies the offset of the text below the baseline if Rise is negative. Property 2.24.0.0 GLib.Property("scale") System.Double Size of font, relative to default size. an object of type To be added Property 2.24.0.0 GLib.Property("size") System.Int32 Size (in pixels) of font. an object of type To be added Property 2.24.0.0 GLib.Property("size_points") System.Double Size (in points) of font. an object of type To be added Property 2.24.0.0 GLib.Property("stretch") Pango.Stretch Pango stretch of font to use. an object of type To be added Property 2.24.0.0 GLib.Property("strikethrough") System.Boolean Whether to strike through the text. an object of type To be added Property 2.24.0.0 GLib.Property("style") Pango.Style Pango style of font to use. an object of type To be added Property 2.24.0.0 GLib.Property("text") System.String The text to display. an object of type To be added Property 2.24.0.0 GLib.Property("text_height") System.Double Used to query the height of the rendered text. an object of type To be added Property 2.24.0.0 GLib.Property("text_width") System.Double Used to query the width of the rendered text. an object of type 'double' To be added Property 2.24.0.0 GLib.Property("underline") Pango.Underline Pango underline style for text. an object of type To be added Property 2.24.0.0 GLib.Property("variant") Pango.Variant Pango variant of font to use. an object of type To be added Property 2.24.0.0 GLib.Property("weight") System.Int32 Pango weight of font to use. an object of type To be added Property 2.24.0.0 GLib.Property("x") System.Double X coordinate of anchor point. an object of type To be added Property 2.24.0.0 GLib.Property("x_offset") System.Double Horizontal offset distance from anchor position. an object of type To be added Property 2.24.0.0 GLib.Property("y") System.Double Y coordinate of anchor point. an object of type To be added Property 2.24.0.0 GLib.Property("y_offset") System.Double Vertical offset distance from anchor position. an object of type 'double' To be added gtk-sharp-2.12.40/doc/en/Gnome/AppBar.xml0000664000175000017500000005005512767740535014633 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.HBox An application status and progress widget. An widget sits (usually) at the bottom of an application window and contains a (for indicating time consuming tasks and their completion status) and/or a for sending short one-line message to the user. It is also possible (in theory) for the user to edit the contents of the status bar, should the application developer choose to allow that. However, note that this is not really working in the present implementation, so developers are recommended to avoid using interactive s and use proper editable widgets instead. Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.24.0.0 an object of type an object of type an object of type Creates a new instance. Method 2.24.0.0 System.Void Remove any prompt from the . Method 2.24.0.0 System.Void Remove all status messages from , and display default status message (if present). Property 2.24.0.0 System.String What to show when showing nothing else is on the stack; defaults to the empty string. an object of type Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 GLib.Property("has_progress") System.Boolean Whether or not the contains a . an object of type Property 2.24.0.0 GLib.Property("has_status") System.Boolean Whether or not the contains a . an object of type Property 2.24.0.0 GLib.Property("interactivity") Gnome.PreferencesType Whether or not the user can edit the text in the portion of a instance. an object of type Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePromptCleared", Type=typeof(Gnome.AppBar)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideUserResponse", Type=typeof(Gnome.AppBar)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 System.Void Remove current status message, and display previous status message, if any. It is fine to call this with an empty stack. Property 2.24.0.0 Gtk.ProgressBar Retrieves the widget for further manipulation. an object of type Property 2.24.0.0 System.Single Sets progress bar to . an object of type Event 2.24.0.0 GLib.Signal("clear_prompt") System.EventHandler Emitted when the prompt is cleared. Method 2.24.0.0 System.Void an object of type Push a new status message onto the stack and display it. Method 2.24.0.0 System.Void Refresh the by redrawing the item on the top of the stack, or the default value if the stack is empty. Useful to force the message from a previous call to to disappear. Property 2.24.0.0 System.String Get the response to the prompt, if any. an object of type Method 2.24.0.0 System.Void an object of type an object of type Put a prompt in the appbar and wait for a response. When the user responds or cancels, a signal is emitted. Method 2.24.0.0 System.Void an object of type To be added To be added Property 2.24.0.0 Gtk.Widget Retrieves the widget. an object of type Event 2.24.0.0 GLib.Signal("user_response") System.EventHandler Emitted when the user responds to an that is interactive. gtk-sharp-2.12.40/doc/en/Gnome/PrintReturnCode.xml0000664000175000017500000001020712767740535016550 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gnome.PrintReturnCode To be added Field Gnome.PrintReturnCode To be added Field Gnome.PrintReturnCode To be added Field Gnome.PrintReturnCode To be added Field Gnome.PrintReturnCode To be added Field Gnome.PrintReturnCode To be added Field Gnome.PrintReturnCode To be added Field Gnome.PrintReturnCode To be added Field Gnome.PrintReturnCode To be added gtk-sharp-2.12.40/doc/en/Gnome/IconList.xml0000664000175000017500000012430412767740535015211 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gnome.Canvas System.Obsolete To be added To be added Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.24.0.0 To be added: an object of type 'uint' To be added: an object of type 'Gtk.Adjustment' To be added: an object of type 'int' To be added To be added Method 2.24.0.0 System.Int32 To be added: an object of type 'string' To be added: an object of type 'string' To be added To be added: an object of type 'int' To be added Method 2.24.0.0 System.Int32 To be added: an object of type 'Gdk.Pixbuf' To be added: an object of type 'string' To be added: an object of type 'string' To be added To be added: an object of type 'int' To be added Method 2.24.0.0 System.Void To be added To be added Property 2.24.0.0 System.Int32 To be added To be added: an object of type 'int' To be added Method 2.24.0.0 System.Void To be added: an object of type 'uint' To be added: an object of type 'Gtk.Adjustment' To be added: an object of type 'int' To be added To be added Method 2.24.0.0 System.Int32 To be added: an object of type 'IntPtr' To be added To be added: an object of type 'int' To be added Method 2.24.0.0 System.Int32 To be added: an object of type 'string' To be added To be added: an object of type 'int' To be added Method 2.24.0.0 System.Void To be added: an object of type 'int' To be added To be added Method 2.24.0.0 System.Void To be added To be added Method 2.24.0.0 System.Int32 To be added: an object of type 'int' To be added: an object of type 'int' To be added To be added: an object of type 'int' To be added Method 2.24.0.0 System.IntPtr To be added: an object of type 'int' To be added To be added: an object of type 'IntPtr' To be added Method 2.24.0.0 System.String To be added: an object of type 'int' To be added To be added: an object of type 'string' To be added Method 2.24.0.0 Gnome.CanvasPixbuf To be added: an object of type 'int' To be added To be added: an object of type 'Gnome.CanvasPixbuf' To be added Method 2.24.0.0 Gnome.IconTextItem To be added: an object of type 'int' To be added To be added: an object of type 'Gnome.IconTextItem' To be added Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 System.Int32 To be added To be added: an object of type 'int' To be added Event 2.24.0.0 GLib.Signal("focus_icon") Gnome.IconFocusedHandler To be added To be added Event 2.24.0.0 GLib.Signal("select_icon") Gnome.IconSelectedHandler To be added To be added Event 2.24.0.0 GLib.Signal("unselect_icon") Gnome.IconUnselectedHandler To be added To be added Property 2.24.0.0 System.Int32 To be added To be added: an object of type 'int' To be added Method 2.24.0.0 System.Void To be added: an object of type 'int' To be added: an object of type 'string' To be added: an object of type 'string' To be added To be added Method 2.24.0.0 System.Void To be added: an object of type 'int' To be added: an object of type 'Gdk.Pixbuf' To be added: an object of type 'string' To be added: an object of type 'string' To be added To be added Property 2.24.0.0 System.Int32 To be added To be added: an object of type 'int' To be added Event 2.24.0.0 GLib.Signal("move_cursor") Gnome.MoveCursorHandler To be added To be added Method 2.24.0.0 System.Void To be added: an object of type 'int' To be added: an object of type 'double' To be added To be added Property 2.24.0.0 System.UInt32 To be added To be added: an object of type 'uint' To be added Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideIconFocused", Type=typeof(Gnome.IconList)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideIconSelected", Type=typeof(Gnome.IconList)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideIconUnselected", Type=typeof(Gnome.IconList)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideMoveCursor", Type=typeof(Gnome.IconList)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextChanged", Type=typeof(Gnome.IconList)) System.Boolean a a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideToggleCursorSelection", Type=typeof(Gnome.IconList)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 System.Void To be added: an object of type 'int' To be added To be added Property 2.24.0.0 System.Int32 To be added To be added: an object of type 'int' To be added Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added: an object of type 'int' To be added To be added Property 2.24.0.0 System.Int32[] To be added a To be added Property 2.24.0.0 Gtk.SelectionMode To be added To be added: an object of type 'Gtk.SelectionMode' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Method 2.24.0.0 System.Void To be added: an object of type 'int' To be added: an object of type 'IntPtr' To be added To be added Event 2.24.0.0 GLib.Signal("text_changed") Gnome.TextChangedHandler To be added To be added Property 2.24.0.0 System.Int32 To be added To be added: an object of type 'int' To be added Method 2.24.0.0 System.Void To be added To be added Event 2.24.0.0 GLib.Signal("toggle_cursor_selection") System.EventHandler To be added To be added Method 2.24.0.0 System.Int32 To be added To be added: an object of type 'int' To be added Method 2.24.0.0 System.Void To be added: an object of type 'int' To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/ThemeFileLineFunc.xml0000664000175000017500000000263412767740535016754 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added. To be added. To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/Client.xml0000664000175000017500000011535512767740535014711 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Object To be added To be added Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Method 2.24.0.0 System.Void To be added To be added Event 2.24.0.0 GLib.Signal("connect") Gnome.ConnectedHandler To be added To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Event 2.24.0.0 GLib.Signal("die") System.EventHandler To be added To be added Method 2.24.0.0 System.Obsolete System.Void To be added To be added Method 2.24.0.0 System.Void To be added To be added Event 2.24.0.0 GLib.Signal("disconnect") System.EventHandler To be added To be added Property 2.24.0.0 Gnome.ClientFlags To be added To be added: an object of type 'Gnome.ClientFlags' To be added Method 2.24.0.0 System.Void To be added To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Method 2.24.0.0 Gnome.ModuleInfo To be added To be added: an object of type 'Gnome.ModuleInfo' To be added Method 2.24.0.0 Gnome.Client To be added To be added: an object of type 'Gnome.Client' To be added Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideConnected", Type=typeof(Gnome.Client)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDie", Type=typeof(Gnome.Client)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDisconnected", Type=typeof(Gnome.Client)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSaveComplete", Type=typeof(Gnome.Client)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideSaveYourself", Type=typeof(Gnome.Client)) System.Boolean a a a a a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideShutdownCancelled", Type=typeof(Gnome.Client)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.UInt32 To be added To be added: an object of type 'uint' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Method 2.24.0.0 System.Void To be added: an object of type 'Gnome.DialogType' To be added: an object of type 'Gnome.InteractFunction' To be added To be added Method 2.24.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete("Replaced by overload with no IntPtr arg") System.Void To be added: an object of type 'Gnome.DialogType' To be added: an object of type 'Gtk.CallbackMarshal' To be added: an object of type 'IntPtr' To be added: an object of type 'Gtk.DestroyNotify' To be added To be added Method 2.24.0.0 System.Void To be added To be added Method 2.24.0.0 System.Void To be added: an object of type 'Gnome.SaveStyle' To be added: an object of type 'bool' To be added: an object of type 'Gnome.InteractStyle' To be added: an object of type 'bool' To be added: an object of type 'bool' To be added To be added Property 2.24.0.0 Gnome.RestartStyle To be added The condition upon which to restart or not the program. To be added Method 2.24.0.0 System.Void To be added: an object of type 'Gtk.Dialog' To be added To be added Event 2.24.0.0 GLib.Signal("save_complete") System.EventHandler To be added To be added Method 2.24.0.0 System.Void To be added: an object of type 'Gtk.Dialog' To be added To be added Event 2.24.0.0 GLib.Signal("save_yourself") Gnome.SaveYourselfHandler To be added To be added Method 2.24.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Void To be added: an object of type 'string' To be added: an object of type 'string' To be added To be added Method 2.24.0.0 System.Void To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Void The number of arguments to pass (including the application path). The array with the arguments. To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. To be added. To be added. Event 2.24.0.0 GLib.Signal("shutdown_cancelled") System.EventHandler To be added To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added gtk-sharp-2.12.40/doc/en/Gnome/SaveStyle.xml0000664000175000017500000000560512767740535015406 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gnome.SaveStyleGType)) Which pieces of data a client should save when receiving a "SaveYourself" call from the session manager. To be added. Field 2.24.0.0 Gnome.SaveStyle Save both global and local data. Field 2.24.0.0 Gnome.SaveStyle Save data (to somewhere persistent) that affects and is visible to all users of this application. Field 2.24.0.0 Gnome.SaveStyle Save data that only applies to this instance of the application. gtk-sharp-2.12.40/doc/en/Gnome/GdkPixbufAsyncHandle.xml0000664000175000017500000000332412767740535017460 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque To be added To be added Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. gtk-sharp-2.12.40/doc/en/Gnome/SuccessorRemovedArgs.xml0000664000175000017500000000233512767740535017574 00000000000000 gnome-sharp 2.20.0.0 GLib.SignalArgs Constructor To be added. To be added. Property Gnome.PrintFilter To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/GdkPixbufLoadCallback.xml0000664000175000017500000000246412767740535017567 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added. To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/TextChangedArgs.xml0000664000175000017500000000405412767740535016477 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The following events invoke delegates which pass event data via this class: Constructor 2.24.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. gtk-sharp-2.12.40/doc/en/Gnome/FontPreview.xml0000664000175000017500000000766412767740535015746 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gtk.Image Constructor Internal constructor a This is not typically used by C# code. Constructor To be added To be added Property Gnome.Font To be added a To be added Property System.UInt32 To be added a To be added Property System.String To be added a To be added Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gnome/Thumbnail.xml0000664000175000017500000001460612767740535015413 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added To be added Constructor 2.24.0.0 To be added To be added Method 2.24.0.0 System.Boolean a a To be added a To be added Method 2.24.0.0 System.Boolean a a a To be added a To be added Method 2.24.0.0 System.String a To be added a To be added Method 2.24.0.0 System.String a a To be added a To be added Method 2.24.0.0 Gdk.Pixbuf a a a To be added a To be added gtk-sharp-2.12.40/doc/en/Gnome/CanvasClipgroup.xml0000664000175000017500000001535112767740535016566 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gnome.CanvasGroup Canvas group that implements clipping A canvas group object that clips the view of its children to a shape defined by a . Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 The that this belongs to. Create new Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 GLib.Property("path") System.IntPtr Pointer to a GnomeCanvasPathDef structure. Pointer to a GnomeCanvasPathDef structure. Pointer to a structure. This can be created by a call to the constructor. Property 2.24.0.0 GLib.Property("wind") Art.WindRule Winding rule for defining the clipping intersection rule Winding rule for defining the clipping intersection rule gtk-sharp-2.12.40/doc/en/Gnome/TriggerActionFunction.xml0000664000175000017500000000307712767740535017737 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void The human-readable message that was passed to . May be null. The severity level of the event. May be null. The section in which the event belongs. Can be used as a target for of instances. To be added. gtk-sharp-2.12.40/doc/en/Gnome/PrintUnitBase.xml0000664000175000017500000000444612767740535016220 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gnome.PrintUnitBase To be added Field Gnome.PrintUnitBase To be added Field Gnome.PrintUnitBase To be added Field Gnome.PrintUnitBase To be added System.Flags gtk-sharp-2.12.40/doc/en/Gnome/EdgePosition.xml0000664000175000017500000000722512767740535016060 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gnome.EdgePositionGType)) Used to pass around information about the position of a GnomeDruidPage within the overall GnomeDruid. This enables the correct "surrounding" content for the page to be drawn. Field 2.24.0.0 Gnome.EdgePosition The current page is at the end of the druid. Field 2.24.0.0 Gnome.EdgePosition Used internally to indicate the last value of the enumeration. This should not be passed in to any function expecting a GnomeEdgePosition value. Field 2.24.0.0 Gnome.EdgePosition The current page is neither the first nor the last page (usually not required). Field 2.24.0.0 Gnome.EdgePosition The current page is at the beginning of the druid. gtk-sharp-2.12.40/doc/en/Gnome/FontSetArgs.xml0000664000175000017500000000602112767740535015657 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The following events invoke delegates which pass event data via this class: Constructor 2.24.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property Gnome.Font To be added a To be added Property 2.24.0.0 System.String To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/ThemeFileSectionFunc.xml0000664000175000017500000000231212767740535017462 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/CanvasWidget.xml0000664000175000017500000002467112767740535016052 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gnome.CanvasItem Widget canvas item A canvas item for placing arbitrary objects onto a canvas. Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 The that this item belongs to. Creates a new Widget container Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.24.0.0 GLib.Property("anchor") Gtk.AnchorType Anchor position for widget. anchor position for the widget Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 GLib.Property("height") System.Double Height of widget (units specified by property). the height of the widget Property 2.24.0.0 GLib.Property("size_pixels") System.Boolean Whether the widget size is specified in pixels or canvas units. whether the widget size is specified in pixels or canvas units. Property 2.24.0.0 GLib.Property("widget") Gtk.Widget The embedded widget the embedded widget Property 2.24.0.0 GLib.Property("width") System.Double Width of widget (units specified by property). the width of the widget Property 2.24.0.0 GLib.Property("x") System.Double X coordinate of anchor point. X coordinate of anchor point. Property 2.24.0.0 GLib.Property("y") System.Double Y coordinate of anchor point. Y coordinate of anchor point. gtk-sharp-2.12.40/doc/en/Gnome/RFont.xml0000664000175000017500000002124112767740535014511 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Object Method Art.SVP To be added a a To be added Method Art.Bpath To be added a a To be added Method Art.Point To be added a a a a To be added Method Pango.Font To be added a a To be added Method Art.DRect To be added a a a To be added Method Art.Point To be added a a a To be added Constructor Internal constructor a This is not typically used by C# code. Property Gnome.FontFace To be added a To be added Property Gnome.Font To be added a To be added Property Pango.FontDescription To be added a To be added Method System.Double To be added a a To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/PosGlyphList.xml0000664000175000017500000000226512767740535016067 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Opaque Constructor To be added a To be added gtk-sharp-2.12.40/doc/en/Gnome/PrintUnitSelector.xml0000664000175000017500000001367512767740535017132 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gtk.HBox Method System.Void To be added a To be added Method System.Void To be added a To be added Constructor Internal constructor a This is not typically used by C# code. Constructor To be added a To be added Property Gnome.PrintUnit To be added a To be added Property System.UInt32 To be added a To be added Event System.EventHandler To be added To be added GLib.Signal("modified") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete gtk-sharp-2.12.40/doc/en/Gnome/Sound.xml0000664000175000017500000001203612767740535014553 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added To be added Constructor 2.24.0.0 To be added To be added Method 2.24.0.0 System.Int32 To be added a To be added Method 2.24.0.0 System.Void a To be added To be added Method 2.24.0.0 System.Void a To be added To be added Method 2.24.0.0 System.Int32 a a To be added a To be added Method 2.24.0.0 System.Void To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/GtkHelper.xml0000664000175000017500000000650412767740535015353 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added To be added Constructor 2.24.0.0 To be added To be added Method 2.24.0.0 Gnome.ModuleInfo To be added a To be added Method 2.24.0.0 System.Obsolete System.Void a a a To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/CanvasEventArgs.xml0000664000175000017500000000523012767740535016513 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Details of events coming from CanvasItems. See . Contains mouse button clicks, motion, enter/leave, and key press events from CanvasItems. Use these to create user interactive items. The x and y coordinates of the event structure have been converted to canvas world coordinates. To signify that an event has been handled, and stop it from being further emitted, set to true. Constructor 2.24.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.24.0.0 Gdk.Event To be added To be added: an object of type 'Gdk.Event' To be added gtk-sharp-2.12.40/doc/en/Gnome/RenderBackgroundHandler.xml0000664000175000017500000000327112767740535020201 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the RenderBackgroundHandler instance to the event. The methods referenced by the RenderBackgroundHandler instance are invoked whenever the event is raised, until the RenderBackgroundHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gnome/FontPicker.xml0000664000175000017500000003777612767740535015551 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Button System.Obsolete To be added To be added Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.24.0.0 System.Void To be added: an object of type 'bool' To be added To be added Method 2.24.0.0 System.Void To be added: an object of type 'bool' To be added: an object of type 'int' To be added To be added Property 2.24.0.0 GLib.Property("font") System.IntPtr To be added To be added: an object of type 'IntPtr' To be added Property 2.24.0.0 GLib.Property("font_name") System.String To be added To be added: an object of type 'string' To be added Event 2.24.0.0 GLib.Signal("font_set") Gnome.FontSetHandler To be added To be added Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 GLib.Property("label-font-size") System.Int32 To be added To be added: an object of type 'int' To be added Property 2.24.0.0 GLib.Property("mode") Gnome.FontPickerMode To be added To be added: an object of type 'Gnome.FontPickerMode' To be added Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideFontSet", Type=typeof(Gnome.FontPicker)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 2.24.0.0 GLib.Property("preview_text") System.String To be added To be added: an object of type 'string' To be added Method 2.24.0.0 System.Boolean a To be added a To be added Property 2.24.0.0 GLib.Property("show-size") System.Boolean To be added To be added: an object of type 'bool' To be added Property 2.24.0.0 GLib.Property("title") System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 GLib.Property("use-font-in-label") System.Boolean To be added To be added: an object of type 'bool' To be added Method 2.24.0.0 Gtk.Widget To be added To be added: an object of type 'Gtk.Widget' To be added Method 2.24.0.0 System.Void To be added: an object of type 'Gtk.Widget' To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/PaperSelectorFlags.xml0000664000175000017500000000330512767740535017207 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gnome.PaperSelectorFlags To be added Field Gnome.PaperSelectorFlags To be added GLib.GType(typeof(Gnome.PaperSelectorFlagsGType)) System.Flags gtk-sharp-2.12.40/doc/en/Gnome/IconSelection.xml0000664000175000017500000002576012767740535016231 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.VBox An icon listing/chooser display. To be added Constructor 2.24.0.0 Creates a new icon selection widget, it uses GnomeIconList for the listing of icons. To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.24.0.0 System.Void Adds the default pixmap directory into the selection widget. It doesn't show the icons in the selection until you do ShowIcons. Method 2.24.0.0 System.Void Directory with pixmaps Adds the icons from the directory dir to the selection widget. It doesn't show the icons in the selection until you do ShowIcons. Property 2.24.0.0 Gtk.Widget The Gtk.VBox widget that is used to pack the different elements of the selection into. To be added: an object of type 'Gtk.Widget' To be added Method 2.24.0.0 System.Void Set to 'true' to clear even the icons that were not shown yet. Clear the currently shown icons, the ones that weren't shown yet are not cleared unless the not_shown parameter is given, in which case even those are cleared. To be added Method 2.24.0.0 System.String To be added: an object of type 'bool' Gets the currently selected icon name. The name of the icon that is currently selected. If full_path is true, it returns the full path to the icon, if none is selected it returns NULL. Property 2.24.0.0 Gtk.Widget The IconList widget that is used for the display of icons To be added: an object of type 'Gtk.Widget' To be added Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.24.0.0 System.Void icon filename Selects the icon filename. This icon must have already been added and shown. see also ShowIcons Method 2.24.0.0 System.Void Shows the icons inside the widget that were added with AddDefaults and AddDirectory. Before this function is called the icons aren't actually added to the listing and can't be picked by the user. Method 2.24.0.0 System.Void Stop the loading of images when we are in the loop in ShowIcons, otherwise it does nothing and is harmless, it should be used say if the dialog was hidden or when we want to quickly stop loading the images to do something else without destroying the icon selection object. The remaining icons can be shown by ShowIcons. To be added gtk-sharp-2.12.40/doc/en/Gnome/Stock.xml0000664000175000017500000005055512767740535014556 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Prebuilt menu/toolbar items and corresponding icons to extend . To be added Constructor 2.24.0.0 To be added To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added a To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added gtk-sharp-2.12.40/doc/en/Gnome/ColorSetArgs.xml0000664000175000017500000001014312767740535016027 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.24.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.24.0.0 System.UInt32 The value of the alpha channel. To be added: an object of type 'uint' To be added Property 2.24.0.0 System.UInt32 The value of the blue channel. To be added: an object of type 'uint' To be added Property 2.24.0.0 System.UInt32 The value of the green channel. To be added: an object of type 'uint' To be added Property 2.24.0.0 System.UInt32 The value of the red channel. To be added: an object of type 'uint' To be added gtk-sharp-2.12.40/doc/en/Gnome/CanvasRect.xml0000664000175000017500000001163612767740535015521 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gnome.CanvasRE Rectangle canvas item A canvas item for drawing rectangles and squares. The parameters are defined in the parent classes including which is shared with items as well. Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 The that this item belongs to. Creates a new rectangle Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gnome/IconDataPoint.xml0000664000175000017500000000657212767740535016167 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Method 2.24.0.0 Gnome.IconDataPoint a To be added a To be added Field 2.24.0.0 System.Int32 To be added To be added Field 2.24.0.0 System.Int32 To be added To be added Field 2.24.0.0 Gnome.IconDataPoint To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/UIInfo.xml0000664000175000017500000001610612767740535014616 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Field 2.24.0.0 System.UInt32 To be added To be added Field 2.24.0.0 Gdk.ModifierType To be added To be added Field 2.24.0.0 System.String Tooltip text displayed for the UI element. To be added Field 2.24.0.0 System.String To be added To be added Method 2.24.0.0 Gnome.UIInfo To be added: an object of type 'IntPtr' To be added To be added: an object of type 'Gnome.UIInfo' To be added Field 2.24.0.0 Gnome.UIPixmapType To be added To be added Field 2.24.0.0 Gnome.UIInfoType To be added To be added Property 2.24.0.0 System.Obsolete("Replaced by Widget property.") Gtk.Widget To be added To be added: an object of type 'Gtk.Widget' To be added Property 2.24.0.0 Gtk.Widget To be added. To be added. To be added. Field 2.24.0.0 Gnome.UIInfo To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/UIBuilderData.xml0000664000175000017500000001133212767740535016077 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Property 2.24.0.0 Gnome.UISignalConnectFunc To be added. To be added. To be added. Property 2.24.0.0 Gtk.DestroyNotify To be added. To be added. To be added. Field 2.24.0.0 System.Boolean To be added To be added Method 2.24.0.0 Gnome.UIBuilderData To be added: an object of type 'IntPtr' To be added To be added: an object of type 'Gnome.UIBuilderData' To be added Property 2.24.0.0 Gtk.CallbackMarshal To be added. To be added. To be added. Field 2.24.0.0 Gnome.UIBuilderData To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/Entry.xml0000664000175000017500000006464612767740535014602 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Combo Gtk.Editable System.Obsolete A single-line text entry widget. Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.24.0.0 an object of type Creates a new instance. Event 2.24.0.0 GLib.Signal("activate") System.EventHandler Emitted when the is activated. This usually occurs when the user presses the "enter" or "return" key. Method 2.24.0.0 System.Void an object of type an object of type Adds a history item of the given text to the tail of the history list. If save is , the history item will be saved in the config file (assuming that is not ). Duplicates are automatically removed from the history list. The history list is automatically saved if needed. Event 2.24.0.0 GLib.Signal("changed") System.EventHandler Emitted when the text is changed. Method 2.24.0.0 System.Void Clears the history. Method 2.24.0.0 System.Void To be added To be added Method 2.24.0.0 System.Void To be added To be added Method 2.24.0.0 System.Void Delete the text contained in the selection. Method 2.24.0.0 System.Void an object of type an object of type Delete the text between and . Method 2.24.0.0 System.String an object of type an object of type Gets the text between and . an object of type Method 2.24.0.0 System.Boolean an object of type an object of type Determines the position of the beggining and end of a selection. an object of type Property 2.24.0.0 GLib.Property("gtk_entry") Gtk.Entry The internal of the . an object of type Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 GLib.Property("history_id") System.String The history id of the widget. an object of type Method 2.24.0.0 System.Void an object of type an object of type To be added To be added Property 2.24.0.0 System.Boolean Whether the is editable by the user. an object of type Property 2.24.0.0 System.UInt32 Internal limit on number of history items saved to the config file. an object of type Zero is an acceptable value, but the same thing is accomplished by setting the to . Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideActivated", Type=typeof(Gnome.Entry)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideChanged", Type=typeof(Gnome.Entry)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextDeleted", Type=typeof(Gnome.Entry)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextInserted", Type=typeof(Gnome.Entry)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 System.Void To be added To be added Property 2.24.0.0 System.Int32 The position of the cursor in the entry. an object of type Method 2.24.0.0 System.Void an object of type an object of type Adds a history item of the given text to the head of the history list. If save is , the history item will be saved in the config file (assuming that is not ). Duplicates are automatically removed from the history list. The history list is automatically saved if needed. Method 2.24.0.0 System.Void an object of type an object of type Select the text between and . Event 2.24.0.0 GLib.Signal("delete_text") Gtk.TextDeletedHandler Emitted when text is deleted from the entry. Event 2.24.0.0 GLib.Signal("insert_text") Gtk.TextInsertedHandler Emitted when text is inserted into the entry. gtk-sharp-2.12.40/doc/en/Gnome/CanvasBpath.xml0000664000175000017500000001465312767740535015664 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gnome.CanvasShape Bezier path canvas item A canvas item type for creating a "path" from curve and line segments. Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 The that this item belongs to. Creates a new Bezier path Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.24.0.0 GLib.Property("bpath") System.IntPtr Pointer to a GnomeCanvasPathDef structure. Pointer to a GnomeCanvasPathDef structure. Pointer to a structure. This can be created by a call to the constructor. Property 2.24.0.0 Gnome.CanvasPathDef The Path definition for this shape. a describing the shape. Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gnome/PasswordDialogDetails.xml0000664000175000017500000000250212767740535017710 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 GLib.Opaque To be added. To be added. Constructor 2.24.0.0 To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/FontFamily.xml0000664000175000017500000000222212767740535015527 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method System.String[] To be added a To be added gtk-sharp-2.12.40/doc/en/Gnome/CanvasPixbuf.xml0000664000175000017500000003603412767740535016060 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gnome.CanvasItem Pixbuf image canvas item A canvas item for drawing pixbuf images. Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 an object of type Creates a new CanvasPixbuf from . Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.24.0.0 GLib.Property("anchor") Gtk.AnchorType Anchor (handle) position within the pixbuf, defaults to (top left hand corner). The anchor is the point of reference for positioning the image. Anchor (handle) position within the pixbuf Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 GLib.Property("height") System.Double Pixbuf height. The height of this item Property 2.24.0.0 GLib.Property("height_in_pixels") System.Boolean The unit used by the property. The unit used by the property. Property 2.24.0.0 GLib.Property("height_set") System.Boolean Whether or not the should be used Whether or not the should be used Property 2.24.0.0 GLib.Property("pixbuf") Gdk.Pixbuf The pixbuf image to draw. The pixbuf image Property 2.24.0.0 GLib.Property("width") System.Double Pixbuf width. The width of the pixbuf Property 2.24.0.0 GLib.Property("width_in_pixels") System.Boolean The unit used by the property The unit used by the property Property 2.24.0.0 GLib.Property("width_set") System.Boolean Whether or not the should be used Whether or not the should be used Property 2.24.0.0 GLib.Property("x") System.Double The X coordinate of the position to place the pixbuf the X coordinate of the position to place the pixbuf Property 2.24.0.0 GLib.Property("x_in_pixels") System.Boolean The unit used by the property The unit used by the property Property 2.24.0.0 GLib.Property("y") System.Double The Y coordinate of the position to place the pixbuf The Y coordinate of the position to place the pixbuf Property 2.24.0.0 GLib.Property("y_in_pixels") System.Boolean The unit used by the property The unit used by the property gtk-sharp-2.12.40/doc/en/Gnome/DruidPageStandard.xml0000664000175000017500000005033412767740535017013 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gnome.DruidPage System.Obsolete A widget used to implement the middle pages in a druid's sequence. This widget provides similar functionality to that in . It is used for pages that are not the initial or terminal pages of a druid. The main difference between an edge and a standard druid page (in a display sense) is that standard pages do not have a left-side watermark and the body of the contents section is a bit more arbitrary (it is a widget), rather than just displaying text (which is the common case for edge pages). Constructor 2.24.0.0 Construct a new . Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.24.0.0 The title of the druid page. The logo to put on the druid page. The watermark to put at the top of the druid page. Constructs a new and allows the caller to fill in some of the values at the same time. Method 2.24.0.0 System.Void The text to place above the item. The to be included. The text to be placed below the item in a smaller font. Add a to a 's VBox. Convenience function to add a to a 's VBox. This function creates a new contents section that has the question text followed by the item widget and then the addition_info text, all stacked vertically from top to bottom. The item widget could be something like a set of radio checkbuttons requesting a choice from the user. Property 2.24.0.0 Gdk.Color The color of the page border. The color. Property 2.24.0.0 GLib.Property("background_gdk") Gdk.Color The background color of the top section of the druid page. an object of type Property 2.24.0.0 GLib.Property("background_set") System.Boolean To be added an object of type To be added Property 2.24.0.0 Gdk.Color The color of the main contents section background. an object of type Property 2.24.0.0 GLib.Property("contents_background_gdk") Gdk.Color To be added. To be added. To be added. Property 2.24.0.0 GLib.Property("contents_background_set") System.Boolean To be added. To be added. To be added. Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 GLib.Property("logo") Gdk.Pixbuf Sets a as the logo in the top right corner. an object of type If , then no logo will be displayed. Property 2.24.0.0 Gdk.Color The background color to render the logo image against. The color. Property 2.24.0.0 GLib.Property("logo_background_gdk") Gdk.Color The background of the logo. an object of type Property 2.24.0.0 GLib.Property("logo_background_set") System.Boolean Sets a as the watermark on top of the top strip on the druid. an object of type If set to null, the top watermark is reset to the normal color. Property 2.24.0.0 GLib.Property("title") System.String The page title. The page title. Property 2.24.0.0 Gdk.Color The color of the title text. an object of type To be added. Property 2.24.0.0 GLib.Property("title_foreground_gdk") Gdk.Color Sets the color of the main contents section's background. an object of type Property 2.24.0.0 GLib.Property("title_foreground_set") System.Boolean To be added an object of type To be added Property 2.24.0.0 GLib.Property("top_watermark") Gdk.Pixbuf Sets a as the watermark on the top strip on the druid. an object of type If , it is reset to the normal color. Property 2.24.0.0 Gtk.VBox The page's The page's gtk-sharp-2.12.40/doc/en/Gnome/RestartStyle.xml0000664000175000017500000000706512767740535016136 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gnome.RestartStyleGType)) The various ways in which the session manager can restart a client. Set by calling . Field 2.24.0.0 Gnome.RestartStyle Restart even if the client was exited before the user logged out of the previous session. Field 2.24.0.0 Gnome.RestartStyle Restart if the client was running when the previous session exited. Field 2.24.0.0 Gnome.RestartStyle Restart the client immediately whenever it crashes or exits. Field 2.24.0.0 Gnome.RestartStyle Do not restart the client. gtk-sharp-2.12.40/doc/en/Gnome/CanvasPolygon.xml0000664000175000017500000001617412767740535016255 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gnome.CanvasShape Polygon canvas item A canvas item for drawing polygon (multi sided) shapes. Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 The that this item belongs to. Creates a new polygon Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 GLib.Property("points") Gnome.CanvasPoints a pointer. This can be created by a call to the constructor. a pointer. Method 2.24.0.0 System.Double FIXME Vertices of the polygon. X coordinates are in the even indices, and Y coordinates are in the odd indices. Number of points in the polygon. X coordinate of the point. Y coordinate of the point. Computes the distance between a point and a polygon. The distance from the point to the polygon, or zero if the point is inside the polygon. gtk-sharp-2.12.40/doc/en/Gnome/StringCallback.xml0000664000175000017500000000203412767740535016343 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/IconData.xml0000664000175000017500000002032612767740535015146 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Property 2.24.0.0 Gnome.IconDataPoint To be added a To be added Field 2.24.0.0 System.String To be added To be added Method 2.24.0.0 System.Obsolete Gnome.IconData To be added a To be added Method 2.24.0.0 System.Obsolete System.Void To be added To be added Field 2.24.0.0 System.Boolean To be added To be added Field 2.24.0.0 System.Int32 To be added To be added Method 2.24.0.0 Gnome.IconData a To be added a To be added Field 2.24.0.0 System.Int32 To be added To be added Field 2.24.0.0 System.Int32 To be added To be added Field 2.24.0.0 System.Int32 To be added To be added Field 2.24.0.0 System.Int32 To be added To be added Field 2.24.0.0 Gnome.IconData To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/URLError.xml0000664000175000017500000001216312767740535015140 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum The errors that can be returned due to bad parameters being pass to . To be added Field 2.24.0.0 Gnome.URLError To be added. Field 2.24.0.0 Gnome.URLError To be added To be added Field 2.24.0.0 Gnome.URLError To be added To be added Field 2.24.0.0 Gnome.URLError To be added To be added Field 2.24.0.0 Gnome.URLError The parsing of the handler failed. Field 2.24.0.0 Gnome.URLError To be added To be added Field 2.24.0.0 Gnome.URLError To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/DateEdit.xml0000664000175000017500000004543312767740535015155 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.HBox To be added To be added Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 a To be added To be added Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.24.0.0 a a To be added To be added Constructor 2.24.0.0 a a To be added To be added Constructor 2.24.0.0 a a a To be added To be added Method 2.24.0.0 System.Void a a To be added To be added Property 2.24.0.0 System.Obsolete System.DateTime To be added a To be added Event 2.24.0.0 GLib.Signal("date_changed") System.EventHandler To be added To be added Property 2.24.0.0 GLib.Property("dateedit_flags") Gnome.DateEditFlags To be added To be added: an object of type 'Gnome.DateEditFlags' To be added Property 2.24.0.0 System.Int32 To be added To be added: an object of type 'int' To be added Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 GLib.Property("initial_time") System.UInt64 To be added a To be added Property 2.24.0.0 GLib.Property("lower_hour") System.Int32 To be added To be added: an object of type 'int' To be added Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDateChanged", Type=typeof(Gnome.DateEdit)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTimeChanged", Type=typeof(Gnome.DateEdit)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 System.Void To be added: an object of type 'Gnome.DateEditFlags' To be added To be added Method 2.24.0.0 System.Void To be added: an object of type 'int' To be added: an object of type 'int' To be added To be added Property 2.24.0.0 GLib.Property("time") System.DateTime To be added a To be added Event 2.24.0.0 GLib.Signal("time_changed") System.EventHandler To be added To be added Property 2.24.0.0 GLib.Property("upper_hour") System.Int32 To be added To be added: an object of type 'int' To be added gtk-sharp-2.12.40/doc/en/Gnome/PrintConfig.xml0000664000175000017500000004313012767740535015704 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Object Method Gnome.PrintConfig To be added a a a To be added Method Gnome.PrintConfig To be added a To be added Method Gnome.PrintConfig To be added a To be added Method Gnome.PrintConfig To be added a To be added Method System.Void To be added To be added Method Gnome.PrintConfig To be added a To be added Method System.String To be added a a To be added Constructor Internal constructor a This is not typically used by C# code. Method System.Boolean To be added a a a To be added Method System.Boolean To be added a a a a To be added Method System.Boolean To be added a a a To be added Method System.Boolean To be added a a a To be added Method System.Boolean To be added a a a To be added Method System.String To be added a a To be added Method System.Boolean To be added a a a To be added Method System.Boolean To be added a a a To be added Method System.Boolean To be added a a a To be added Method System.Boolean To be added a a a a To be added Method System.Boolean To be added a a a To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor To be added To be added Method System.Boolean To be added a a a To be added Method System.Boolean To be added a a a a To be added Method System.Boolean To be added a a a a To be added Method System.Boolean To be added a a a To be added gtk-sharp-2.12.40/doc/en/Gnome/UISignalConnectFunc.xml0000664000175000017500000000323012767740535017260 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void The user data that was part of the instance. The name of the emitted signal. The user data that was part of the relevant instance. Are called as a result of signals being emitted from a menu or tool bar item Delegates of this type are given as the first element of a instance. gtk-sharp-2.12.40/doc/en/Gnome/PredecessorAddedHandler.xml0000664000175000017500000000150512767740535020160 00000000000000 gnome-sharp 2.20.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/PrintJobPreview.xml0000664000175000017500000001141312767740535016552 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gtk.Window Constructor Internal constructor a This is not typically used by C# code. Constructor To be added a a To be added Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property GLib.GType GType Property. a Returns the native value for . Property System.UInt64 To be added a To be added GLib.Property("nx") Property System.UInt64 To be added a To be added GLib.Property("ny") Property GLib.Property("job") Gnome.PrintJob To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/PreparedHandler.xml0000664000175000017500000000313412767740535016522 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the PreparedHandler instance to the event. The methods referenced by the PreparedHandler instance are invoked whenever the event is raised, until the PreparedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gnome/ClientState.xml0000664000175000017500000001232312767740535015701 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gnome.ClientStateGType)) The state which the is in To be added Field 2.24.0.0 Gnome.ClientState The client is in state disconnected Field 2.24.0.0 Gnome.ClientState The client is in state frozen Field 2.24.0.0 Gnome.ClientState The client is in state idle Field 2.24.0.0 Gnome.ClientState The client is in state registering Field 2.24.0.0 Gnome.ClientState The client is in state saving phase 1 Field 2.24.0.0 Gnome.ClientState The client is in state saving phase 2 Field 2.24.0.0 Gnome.ClientState The client is in state waiting for phase 2 gtk-sharp-2.12.40/doc/en/Gnome/ReplyCallback.xml0000664000175000017500000000202112767740535016164 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/SaveYourselfHandler.xml0000664000175000017500000000321112767740535017403 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the SaveYourselfHandler instance to the event. The methods referenced by the SaveYourselfHandler instance are invoked whenever the event is raised, until the SaveYourselfHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gnome/ThemeFileParseError.xml0000664000175000017500000000523412767740535017334 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum To be added To be added Field 2.24.0.0 Gnome.ThemeFileParseError To be added Field 2.24.0.0 Gnome.ThemeFileParseError To be added Field 2.24.0.0 Gnome.ThemeFileParseError To be added gtk-sharp-2.12.40/doc/en/Gnome/CanvasShape.xml0000664000175000017500000004470212767740535015664 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gnome.CanvasItem Base class for canvas item shapes Provides a base class for canvas item shapes, including: , , , and . Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.24.0.0 a a To be added To be added Property 2.24.0.0 GLib.Property("cap_style") Gdk.CapStyle Cap (end point) style for the Bezier path. Cap style used by the Bezier path Property 2.24.0.0 GLib.Property("dash") Art.VpathDash To be added a To be added Property 2.24.0.0 GLib.Property("fill_color") System.String X color specification for fill color, or pointer for no color (transparent). X color specification Property 2.24.0.0 GLib.Property("fill_color_gdk") Gdk.Color Allocated for fill. the to fill Property 2.24.0.0 GLib.Property("fill_color_rgba") System.UInt32 Fill color with an alpha component (in the format 0xRRGGBBAA). the fill color Property 2.24.0.0 GLib.Property("fill_stipple") Gdk.Drawable Stipple pattern for fill. Stipple pattern Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 GLib.Property("join_style") Gdk.JoinStyle Vertex join style for the Bezier path. Verty join style used by the Bezier path Property 2.24.0.0 GLib.Property("miterlimit") System.Double Minimum angle between segments, where miter join rule is applied. Minimum angle between segments, where miter join rule is applied. Property 2.24.0.0 GLib.Property("outline_color") System.String X color specification for outline color, or pointer for no color (transparent). X color specification Property 2.24.0.0 GLib.Property("outline_color_gdk") Gdk.Color Allocated for outline. the color of the outline Property 2.24.0.0 GLib.Property("outline_color_rgba") System.UInt32 Outline color with an alpha component (in the format 0xRRGGBBAA). outline color Property 2.24.0.0 GLib.Property("outline_stipple") Gdk.Drawable Stipple pattern for outline. Stipple pattern used by the outline Property 2.24.0.0 Gnome.CanvasPathDef The used a or if none is set for the shape. It does not request updates, as it is meant to be used from item implementations, from inside update queue. Property 2.24.0.0 GLib.Property("width_pixels") System.UInt32 Width of the outline in pixels. The outline will not be scaled when the canvas zoom factor is changed. width of the outline Property 2.24.0.0 GLib.Property("width_units") System.Double Width of the outline in canvas units. The outline will be scaled when the canvas zoom factor is changed. width of the outline Property 2.24.0.0 GLib.Property("wind") System.UInt32 Winding rule for the Bezier path winding rule used by the Bezier path gtk-sharp-2.12.40/doc/en/Gnome/PrintContext.xml0000664000175000017500000010050112767740535016117 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Object Method System.Int32 To be added a To be added Method System.Int32 To be added a To be added Constructor Internal constructor a This is not typically used by C# code. Constructor To be added a To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method Gnome.PrintReturnCode To be added a a To be added Method Gnome.PrintReturnCode To be added a To be added Method Gnome.PrintReturnCode To be added a To be added Method Gnome.PrintReturnCode To be added a To be added Method Gnome.PrintReturnCode To be added a To be added Method Gnome.PrintReturnCode To be added a To be added Method Gnome.PrintReturnCode To be added a a a To be added Method Gnome.PrintReturnCode To be added a a a To be added Method Gnome.PrintReturnCode To be added a a a a a a a To be added Method Gnome.PrintReturnCode To be added a To be added Method Gnome.PrintReturnCode To be added a To be added Method Gnome.PrintReturnCode To be added a a a To be added Method Gnome.PrintReturnCode To be added a a a To be added Method Gnome.PrintReturnCode To be added a a a a a a a To be added Method Gnome.PrintReturnCode To be added a a a a To be added Method Gnome.PrintReturnCode To be added a a To be added Method Gnome.PrintReturnCode To be added a a To be added Method Gnome.PrintReturnCode To be added a a To be added Method Gnome.PrintReturnCode To be added a a To be added Method Gnome.PrintReturnCode To be added a a To be added Method Gnome.PrintReturnCode To be added a a To be added Method Gnome.PrintReturnCode To be added a To be added Method Gnome.PrintReturnCode To be added a To be added Method Gnome.PrintReturnCode To be added a a a To be added Method Gnome.PrintReturnCode To be added a a To be added Method Gnome.PrintReturnCode To be added a a a To be added Method Gnome.PrintReturnCode To be added a To be added Method Gnome.PrintReturnCode To be added a To be added Method Gnome.PrintReturnCode To be added a To be added Method Gnome.PrintReturnCode To be added a a To be added Method Gnome.PrintReturnCode To be added a a a To be added Method Gnome.PrintReturnCode To be added a a a a a To be added Method Gnome.PrintReturnCode To be added a a a a a To be added Method Gnome.PrintReturnCode To be added a a a a a To be added Method Gnome.PrintReturnCode To be added a a a a a To be added Method Gnome.PrintReturnCode To be added a a a a a To be added Method Gnome.PrintReturnCode To be added a a a a a To be added Property GLib.Property("config") Gnome.PrintConfig To be added. To be added. To be added. Property GLib.Property("filter") Gnome.PrintFilter To be added. To be added. To be added. Property GLib.Property("transport") Gnome.PrintTransport To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/MoveFocusOutOfAppletArgs.xml0000664000175000017500000000402412767740535020327 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.SignalArgs Constructor To be added To be added Property Gtk.DirectionType To be added a To be added gtk-sharp-2.12.40/doc/en/Gnome/Help.xml0000664000175000017500000001570012767740535014354 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Display application and Gnome system help. These functions provide a way to display help files that are either installed as part of the main Gnome installation or that are specific to the current application. Constructor 2.24.0.0 Creates a new instance. This is the default constructor for . Method 2.24.0.0 System.Boolean a a a a a To be added a To be added Method 2.24.0.0 System.Boolean a a a To be added a To be added Method 2.24.0.0 System.Boolean a a To be added a To be added Method 2.24.0.0 System.Boolean a a a a a To be added a To be added gtk-sharp-2.12.40/doc/en/Gnome/PrintFilterError.xml0000664000175000017500000000142612767740535016740 00000000000000 gnome-sharp 2.20.0.0 System.Enum Field Gnome.PrintFilterError Syntax error. PrintFilter error enumeration. gtk-sharp-2.12.40/doc/en/Gnome/InteractFunction.xml0000664000175000017500000000363512767740535016747 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void The instance doing the interaction. A unique key. The that should be used to do the interaction. Used when the wishes to interact with the user at the session manager's convenience (usually during shutdown and restarts). All other s are blocked from interacting with the user until the key is released via a call to . Although the function is not obliged to respect the passed in , it is bad form not to do so. gtk-sharp-2.12.40/doc/en/Gnome/PrintPageSelector.xml0000664000175000017500000000742012767740535017056 00000000000000 gnome-sharp 2.20.0.0 Gtk.Frame Constructor To be added. To be added. Constructor System.Obsolete To be added. To be added. To be added. Constructor To be added. To be added. To be added. Property GLib.Property("current") System.UInt32 To be added. To be added. To be added. Property GLib.GType To be added. To be added. To be added. Property GLib.Property("total_in") System.UInt32 To be added. To be added. To be added. Property GLib.Property("total_out") System.UInt32 To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/Pgl.xml0000664000175000017500000001541212767740535014206 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Object Method Art.DRect To be added a a a To be added Method System.Void To be added a To be added Method System.Boolean To be added a a a a To be added Constructor To be added To be added Method Gnome.PosGlyphList To be added a a a a To be added Method System.Byte To be added a a a a a a a a To be added Method System.Byte To be added a a a a a a a a To be added gtk-sharp-2.12.40/doc/en/Gnome/RenderBackgroundArgs.xml0000664000175000017500000000463312767740535017523 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.24.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.24.0.0 Gnome.CanvasBuf To be added To be added: an object of type 'Gnome.CanvasBuf' To be added gtk-sharp-2.12.40/doc/en/Gnome/DruidPageEdge.xml0000664000175000017500000004141112767740535016113 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gnome.DruidPage System.Obsolete A widget used to implement first and last pages in a druid's sequence. A druid can be thought of as having a page that starts the sequence, one or more pages that end the sequences (there can be multiple end pages if the flow of pages diverges at some point) and some pages that are in between the start and end pages. The widget is for the first and last pages in a druid's sequence of pages. Pages in the "middle" of a sequence should use . Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 Position in druid. Creates a new widget. Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.24.0.0 Position in druid. Use an antialiased canvas. The title. The introduction text. The logo in the upper right corner. The watermark on the left. The top watermark. Creates a new widget with the values given. It is acceptable for any of the reference values to be null. Property 2.24.0.0 Gdk.Color The color of the page border. The color. Method 2.24.0.0 System.Void an object of type an object of type an object of type an object of type an object of type an object of type an object of type Constructs a new widget. Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 Gdk.Pixbuf The logo to display in the top right corner. the logo, as a If set to , then no logo will be displayed. Property 2.24.0.0 Gdk.Color The background color to render the logo image against. The color. Property 2.24.0.0 System.UInt32 The position of the page within the druid. a Property 2.24.0.0 System.String The current text of the page. The text. Property 2.24.0.0 Gdk.Color The background color of the main text area. The color. Property 2.24.0.0 Gdk.Color The color of the text in the body of the page. The color. Property 2.24.0.0 System.String The page title. The page title. Property 2.24.0.0 Gdk.Color The color of the title text. The color. Property 2.24.0.0 Gdk.Pixbuf The watermark image to display on the top strip on the druid. The watermark, as a If set to , then no top watermark will be displayed. Property 2.24.0.0 Gdk.Pixbuf The watermark image to display on the left strip on the druid. The watermark, as a If set to , then no left-side watermark will be displayed. gtk-sharp-2.12.40/doc/en/Gnome/CanvasPoints.xml0000664000175000017500000002115712767740535016077 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque A structure to manage an array of points (X and Y coordinates). To be added Constructor 2.24.0.0 array of coordinates (num_points * 2 in size), X coordinates are stored in the even-numbered indices, and Y coordinates are stored in the odd-numbered indices. Creates canvas points from x and y coordinates stored in array. // LineExample.cs - Displays triangle using gnome canvas // Compile: mcs -r gtk-sharp.dll -r gnome-sharp.dll LineExample.cs namespace GnomeSamples { using System; using Gtk; using Gnome; public class LineExample { public static int Main (string[] args) { Application.Init (); Gtk.Window win = new Gtk.Window ("Canvas line example"); win.DeleteEvent += new DeleteEventHandler (Window_Delete); Canvas canvas = new Canvas (); win.Add (canvas); CanvasLine line = new CanvasLine (canvas.Root ()); line.Points = new CanvasPoints (new double[]{40,0, 0,80, 80,80, 40,0}); win.ShowAll (); Application.Run (); return 0; } static void Window_Delete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } } } Constructor 2.24.0.0 a To be added To be added Constructor 2.24.0.0 a To be added To be added Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Obsolete("Gnome.CanvasPoints is now freed automatically") System.Void To be added To be added Method 2.24.0.0 System.Void To be added. To be added. To be added. Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.24.0.0 System.Obsolete("Gnome.CanvasPoints is now refcounted automatically") Gnome.CanvasPoints To be added To be added: an object of type 'Gnome.CanvasPoints' To be added Method 2.24.0.0 System.Void To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/GlyphList.xml0000664000175000017500000003333112767740535015403 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Opaque Method System.Void To be added a To be added Method Gnome.GlyphList To be added a To be added Method Gnome.GlyphList To be added a To be added Method System.Void To be added a a To be added Method System.Void To be added To be added Method System.Void To be added a To be added Method System.Void To be added a To be added Method System.Void To be added a To be added Method System.Boolean To be added a a To be added Method System.Void To be added a To be added Method System.Void To be added a a To be added Method System.Void To be added a To be added Constructor To be added a To be added Constructor To be added To be added Method Gnome.GlyphList To be added a a a a a a To be added Method Gnome.GlyphList To be added a a a a a a To be added Method System.Void To be added a To be added Method System.Void To be added a To be added Method Art.DRect To be added a a a a To be added Property GLib.GType GType Property. a Returns the native value for . Method System.Int32 To be added a a To be added Method System.Void To be added. To be added. Method System.Void To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/PrintPaper.xml0000664000175000017500000001503212767740535015546 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Gnome.PrintPaper To be added To be added Method Gnome.PrintPaper To be added a a To be added Method Gnome.PrintPaper To be added a a a a To be added Method System.Void To be added a To be added Method Gnome.PrintPaper To be added a a a To be added Property GLib.List To be added a To be added Property Gnome.PrintPaper To be added a To be added Method Gnome.PrintPaper To be added a a To be added Property System.UInt32 To be added a To be added Field System.Double To be added To be added Field System.Double To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/CanvasGroup.xml0000664000175000017500000001661412767740535015721 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gnome.CanvasItem Canvas item group A canvas item that groups other canvas items. A canvas group is used for organization, determining drawing stacking order, and for applying transforms on all items in the group. The GnomeCanvas widget contains a toplevel root group which can be obtained with the property. Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 a To be added To be added Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.24.0.0 a a To be added To be added Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 GLib.Property("x") System.Double Y coordinate of the group's origin Y coordinate of the group's origin Property 2.24.0.0 GLib.Property("y") System.Double X coordinate of the group's origin. X coordinate of the group's origin. gtk-sharp-2.12.40/doc/en/Gnome/IconLookupFlags.xml0000664000175000017500000000712412767740535016524 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gnome.IconLookupFlagsGType)) System.Flags To be added To be added Field 2.24.0.0 Gnome.IconLookupFlags To be added To be added Field 2.24.0.0 Gnome.IconLookupFlags To be added Field 2.24.0.0 Gnome.IconLookupFlags To be added Field 2.24.0.0 Gnome.IconLookupFlags To be added gtk-sharp-2.12.40/doc/en/Gnome/DrawBackgroundHandler.xml0000664000175000017500000000324112767740535017654 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DrawBackgroundHandler instance to the event. The methods referenced by the DrawBackgroundHandler instance are invoked whenever the event is raised, until the DrawBackgroundHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gnome/CanvasEllipse.xml0000664000175000017500000001202012767740535016205 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gnome.CanvasRE Canvas item for drawing ellipses and circles A canvas item for drawing ellipses and circles. The parameters are defined in the parent classes including which is shared with items as well. Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 The that this belongs to. Create a new object Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gnome/PasswordDialog.xml0000664000175000017500000004645012767740535016414 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk.Dialog To be added. To be added. Constructor 2.24.0.0 System.Obsolete To be added. To be added. To be added. Constructor 2.24.0.0 To be added. To be added. To be added. Constructor 2.24.0.0 To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Boolean To be added. To be added. To be added. Property 2.24.0.0 GLib.Property("anonymous") System.Boolean To be added. To be added. To be added. Property 2.24.0.0 GLib.Property("domain") System.String To be added. To be added. To be added. Property 2.24.0.0 GLib.GType To be added. To be added. To be added. Property 2.24.0.0 GLib.Property("message") System.String To be added. To be added. To be added. Property 2.24.0.0 GLib.Property("message-markup") System.String To be added. To be added. To be added. Property 2.24.0.0 GLib.Property("new-password") System.String To be added. To be added. To be added. Property 2.24.0.0 GLib.Property("password") System.String To be added. To be added. To be added. Property 2.24.0.0 Gnome.PasswordDialogQualityFunc To be added. To be added. To be added. Property 2.24.0.0 GLib.Property("readonly-domain") System.Boolean To be added. To be added. To be added. Property 2.24.0.0 GLib.Property("readonly-username") System.Boolean To be added. To be added. To be added. Property 2.24.0.0 Gnome.PasswordDialogRemember To be added. To be added. To be added. Property 2.24.0.0 GLib.Property("remember-mode") Gnome.PasswordDialogRemember To be added. To be added. To be added. Method 2.24.0.0 System.Boolean To be added. To be added. To be added. Property 2.24.0.0 GLib.Property("show-domain") System.Boolean To be added. To be added. To be added. Property 2.24.0.0 GLib.Property("show-new-password") System.Boolean To be added. To be added. To be added. Property 2.24.0.0 GLib.Property("show-new-password-quality") System.Boolean To be added. To be added. To be added. Property 2.24.0.0 GLib.Property("show-password") System.Boolean To be added. To be added. To be added. Property 2.24.0.0 GLib.Property("show-remember") System.Boolean To be added. To be added. To be added. Property 2.24.0.0 GLib.Property("show-username") System.Boolean To be added. To be added. To be added. Property 2.24.0.0 GLib.Property("show-userpass-buttons") System.Boolean To be added. To be added. To be added. Property 2.24.0.0 GLib.Property("username") System.String To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/PasswordDialogRemember.xml0000664000175000017500000000654112767740535020070 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gnome.PasswordDialogRememberGType)) To be added To be added Field 2.24.0.0 Gnome.PasswordDialogRemember To be added To be added Field 2.24.0.0 Gnome.PasswordDialogRemember To be added To be added Field 2.24.0.0 Gnome.PasswordDialogRemember To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/PrintDialogRangeFlags.xml0000664000175000017500000000553412767740535017636 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gnome.PrintDialogRangeFlags To be added Field Gnome.PrintDialogRangeFlags To be added Field Gnome.PrintDialogRangeFlags To be added Field Gnome.PrintDialogRangeFlags To be added Field Gnome.PrintDialogRangeFlags To be added GLib.GType(typeof(Gnome.PrintDialogRangeFlagsGType)) System.Flags gtk-sharp-2.12.40/doc/en/Gnome/FinishClickedArgs.xml0000664000175000017500000000456112767740535017003 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.24.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.24.0.0 Gtk.Widget To be added To be added: an object of type 'Gtk.Widget' To be added gtk-sharp-2.12.40/doc/en/Gnome/IconFocusedArgs.xml0000664000175000017500000000450112767740535016477 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.24.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.24.0.0 System.Int32 To be added To be added: an object of type 'int' To be added gtk-sharp-2.12.40/doc/en/Gnome/CanvasBpathPriv.xml0000664000175000017500000000327312767740535016521 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque To be added To be added Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. gtk-sharp-2.12.40/doc/en/Gnome/PrintPreview.xml0000664000175000017500000001061112767740535016116 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gnome.PrintContext Constructor Internal constructor a This is not typically used by C# code. Constructor To be added a a To be added Constructor To be added a a a a To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.Void To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/Trigger.xml0000664000175000017500000001000112767740535015054 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Property 2.24.0.0 Gnome.TriggerActionFunction To be added. To be added. To be added. Field 2.24.0.0 System.String To be added To be added Method 2.24.0.0 Gnome.Trigger To be added: an object of type 'IntPtr' To be added To be added: an object of type 'Gnome.Trigger' To be added Field 2.24.0.0 Gnome.TriggerType To be added To be added Field 2.24.0.0 Gnome.Trigger To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/CanvasItem.xml0000664000175000017500000011464412767740535015525 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Object Base class for all canvas items This is the base class for all canvas items. Canvas items are the drawing elements of a GnomeCanvas. Example items include lines, ellipses, polygons, images, text, curves and even arbitrary GTK+ widgets. Canvas items use the GObject property system to query and set parameters. Properties are inherited so, for example, a has a property that is inherited from its parent class object . So be sure to check the parent classes of objects when looking for item properties. To create a new canvas item use the constructor which takes a parent , of the item to create, and a terminated list of name/value GObject properties to set for the new item. There are several methods to change the drawing stacking order of an item. Call to raise an item a specified number of positions or to lower it. To raise an item to the top call . The methods will put it at the bottom. To show an item call . Note that canvas item's are shown by default and so do not need to be explicitly shown after creation (contrary to GTK+ widget behavior). Call to hide an item. To move an item relative to its current position (item coordinates) call or for more complex transforms. can be used to set an item's transform to specific values (not offsets). To convert between world and item coordinate systems call , and to convert in the other direction call . To get the transform for converting from item to world coordinates use or for converting item to canvas coordinates, . Handling user input for interactive items is accomplished through a few functions and the signals. To grab the mouse cursor call , it can be ungrabbed with (see of the GTK+ library for details). To grab keyboard focus call . Received events will be signaled via the "event" signal. Some other useful functions include a reparenting routine, , and a function to query the bounding box of an item (a minumum rectangular area containing all parts of the item), . Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.24.0.0 a a To be added To be added Method 2.24.0.0 System.Void The affine transformation set as the current transformation for the item. Makes the item's affine transformation matrix be equal to the specified matrix. Method 2.24.0.0 System.Void The affine transform to combine with the items current transform Combines the specified affine transformation matrix with the item's current transformation. Property 2.24.0.0 Gnome.Canvas To be added To be added: an object of type 'Gnome.Canvas' To be added Event 2.24.0.0 GLib.Signal("event") Gnome.CanvasEventHandler Signals mouse button clicks, motion, enter/leave, and key press events on canvas items. Use this to create user interactive items. The x and y coordinates in the field have been converted to canvas world coordinates. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDraw", Type=typeof(Gnome.CanvasItem)) System.Void a a a a a To be added To be added Method 2.24.0.0 System.Void Return value for the leftmost edge of the bounding box Return value for the upper edge of the bounding box Return value for the rightmost edge of the bounding box Return value for the lower edge of the bounding box Queries the bounding box of a canvas item. The bounds are returned in the coordinate system of the item's parent. Method 2.24.0.0 System.Int32 a a a To be added a To be added Method 2.24.0.0 System.Void Makes the specified item take the keyboard focus, so all keyboard events will be sent to it. If the canvas widget itself did not have the focus, it grabs it as well. Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.24.0.0 System.Void Hides a canvas item. If the item was already hidden, then no action is taken. Method 2.24.0.0 System.Void To be added. To be added. To be added. Method 2.24.0.0 System.Void X coordinate to convert (input/output value). Y coordinate to convert (input/output value). Converts a coordinate pair from item-relative coordinates to world coordinates. The parameters and are used as both in and out parameters. Method 2.24.0.0 System.Void To be added. To be added. To be added. Method 2.24.0.0 System.Void Number of steps to lower the item. Lowers the item in its parent's stack by the specified number of positions. If the number of positions is greater than the distance to the bottom of the stack, then the item is put at the bottom. Method 2.24.0.0 System.Void Lowers an item to the bottom of its parent's stack. Method 2.24.0.0 System.Void Horizontal offset. Vertical offset. Moves a canvas item by creating an affine transformation matrix for translation by using the specified values. This happens in item local coordinate system, so if you have nontrivial transform, it most probably does not do, what you want. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCanvasEvent", Type=typeof(Gnome.CanvasItem)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Property 2.24.0.0 GLib.Property("parent") Gnome.CanvasItem The parent item the parent item Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePoint", Type=typeof(Gnome.CanvasItem)) System.Double a a a a a To be added a To be added Method 2.24.0.0 System.Void Number of steps to raise the item. Raises the item in its parent's stack by the specified number of positions. If the number of positions is greater than the distance to the top of the stack, then the item is put at the top. Method 2.24.0.0 System.Void Raises an item to the top of its parent's stack. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideRealize", Type=typeof(Gnome.CanvasItem)) System.Void To be added To be added Method 2.24.0.0 System.Void a Renders the CanvasItem when using an anti-aliased GnomeCanvas. To be added Method 2.24.0.0 System.Void A canvas group. Changes the parent of the specified item to be the new group. The item keeps its group-relative coordinates as for its old parent, so the item may change its absolute position within the canvas. Method 2.24.0.0 System.Void The svp that needs to be redrawn Request redraw of if in aa mode, or the entire item in in xlib mode. This item must contain . Method 2.24.0.0 System.Void To be used only by item implementations. Requests that the canvas queue an update for the specified item. Method 2.24.0.0 System.Void Resets the bounding box of a canvas item to an empty rectangle. Method 2.24.0.0 System.Void Shows a canvas item. If the item was already shown, then no action is taken. Method 2.24.0.0 System.Void The timestamp for ungrabbing the mouse. Ungrabs the item, which must have been grabbed in the canvas, and ungrabs the mouse. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideUpdate", Type=typeof(Gnome.CanvasItem)) System.Void a a a To be added To be added Method 2.24.0.0 System.Void the existing SVP the new SVP Sets the svp to the new value, requesting repaint on what's changed Method 2.24.0.0 System.Void the old SVP the new SVP a clip path Sets the svp to the new value, clipping if necessary, and requesting repaint on what's changed. Method 2.24.0.0 System.Void X coordinate to convert (input/output value). Y coordinate to convert (input/output value). Converts a coordinate pair from world coordinates to item-relative coordinates. The parameters and are used as both in and out parameters. gtk-sharp-2.12.40/doc/en/Gnome/IconEntry.xml0000664000175000017500000004110212767740535015371 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.VBox To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.24.0.0 To be added: an object of type 'string' To be added: an object of type 'string' Creates a new icon entry control. To be added Event 2.24.0.0 GLib.Signal("browse") System.EventHandler To be added To be added Property 2.24.0.0 GLib.Property("browse_dialog_title") System.String To be added To be added: an object of type 'string' To be added Event 2.24.0.0 GLib.Signal("changed") System.EventHandler To be added To be added Method 2.24.0.0 System.Void To be added: an object of type 'string' To be added: an object of type 'string' To be added To be added Property 2.24.0.0 GLib.Property("filename") System.String To be added To be added: an object of type 'string' To be added Method 2.24.0.0 Gtk.Widget To be added To be added: an object of type 'Gtk.Widget' To be added Method 2.24.0.0 Gtk.Widget To be added To be added: an object of type 'Gtk.Widget' To be added Method 2.24.0.0 Gtk.Widget To be added To be added: an object of type 'Gtk.Widget' To be added Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 GLib.Property("history_id") System.String Unique identifier for the icon entry. This will be used to save the history list. To be added: an object of type 'string' To be added Property 2.24.0.0 System.String To be added To be added: an object of type 'string' To be added Property 2.24.0.0 System.UInt32 To be added a To be added Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideBrowse", Type=typeof(Gnome.IconEntry)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideChanged", Type=typeof(Gnome.IconEntry)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Property 2.24.0.0 GLib.Property("pick_dialog") Gtk.Dialog To be added To be added: an object of type 'Gtk.Dialog' To be added Property 2.24.0.0 GLib.Property("pixmap_subdir") System.String To be added To be added: an object of type 'string' To be added Method 2.24.0.0 System.Boolean a To be added a To be added gtk-sharp-2.12.40/doc/en/Gnome/CanvasPathDef.xml0000664000175000017500000007316412767740535016143 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque To be added To be added Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 a To be added To be added Constructor 2.24.0.0 To be added: an object of type 'int' To be added To be added Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.24.0.0 System.Boolean To be added To be added: an object of type 'bool' To be added Method 2.24.0.0 System.Boolean To be added To be added: an object of type 'bool' To be added Method 2.24.0.0 System.Boolean To be added To be added: an object of type 'bool' To be added Method 2.24.0.0 System.Boolean To be added To be added: an object of type 'bool' To be added Method 2.24.0.0 Art.Bpath To be added To be added: an object of type 'Art.Bpath' To be added Method 2.24.0.0 Gnome.CanvasPathDef To be added To be added: an object of type 'Gnome.CanvasPathDef' To be added Method 2.24.0.0 Gnome.CanvasPathDef To be added To be added: an object of type 'Gnome.CanvasPathDef' To be added Method 2.24.0.0 System.Void To be added To be added Method 2.24.0.0 System.Void To be added To be added Method 2.24.0.0 Gnome.CanvasPathDef To be added: an object of type 'GLib.SList' To be added To be added: an object of type 'Gnome.CanvasPathDef' To be added Method 2.24.0.0 System.Void To be added: an object of type 'Gnome.CanvasPathDef' To be added To be added Method 2.24.0.0 System.Void To be added: an object of type 'Art.Point' To be added To be added Method 2.24.0.0 System.Void To be added: an object of type 'double' To be added: an object of type 'double' To be added: an object of type 'double' To be added: an object of type 'double' To be added: an object of type 'double' To be added: an object of type 'double' To be added To be added Method 2.24.0.0 Gnome.CanvasPathDef To be added To be added: an object of type 'Gnome.CanvasPathDef' To be added Method 2.24.0.0 System.Void To be added: an object of type 'int' To be added To be added Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added To be added Method 2.24.0.0 Art.Bpath To be added To be added: an object of type 'Art.Bpath' To be added Property 2.24.0.0 GLib.GType To be added. To be added. To be added. Property 2.24.0.0 System.Boolean To be added a To be added Property 2.24.0.0 System.Boolean To be added a To be added Method 2.24.0.0 Art.Bpath To be added To be added: an object of type 'Art.Bpath' To be added Method 2.24.0.0 System.Int32 To be added To be added: an object of type 'int' To be added Method 2.24.0.0 System.Void To be added: an object of type 'double' To be added: an object of type 'double' To be added To be added Method 2.24.0.0 System.Void To be added: an object of type 'double' To be added: an object of type 'double' To be added To be added Method 2.24.0.0 System.Void To be added: an object of type 'double' To be added: an object of type 'double' To be added To be added Method 2.24.0.0 Gnome.CanvasPathDef To be added: an object of type 'Art.Bpath' To be added To be added: an object of type 'Gnome.CanvasPathDef' To be added Method 2.24.0.0 Gnome.CanvasPathDef To be added: an object of type 'Art.Bpath' To be added To be added: an object of type 'Gnome.CanvasPathDef' To be added Method 2.24.0.0 Gnome.CanvasPathDef To be added: an object of type 'Art.Bpath' To be added To be added: an object of type 'Gnome.CanvasPathDef' To be added Method 2.24.0.0 Gnome.CanvasPathDef To be added To be added: an object of type 'Gnome.CanvasPathDef' To be added Method 2.24.0.0 System.Obsolete("Gnome.CanvasPathDef is now refcounted automatically") System.Void To be added To be added Method 2.24.0.0 System.Void To be added. To be added. To be added. Method 2.24.0.0 System.Void To be added To be added Method 2.24.0.0 Gnome.CanvasPathDef[] To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete("Gnome.CanvasPathDef is now refcounted automatically") System.Void To be added To be added Method 2.24.0.0 System.Void To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/CanvasRichText.xml0000664000175000017500000006330412767740535016355 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gnome.CanvasItem To be added To be added Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 To be added: an object of type 'Gnome.CanvasGroup' Add a new RichTextItem to the given . To be added Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.24.0.0 GLib.Property("anchor") Gtk.AnchorType Anchor point for text. To be added: an object of type 'Gtk.AnchorType' To be added Property 2.24.0.0 Gtk.TextBuffer The that is displayed on the . To be added: an object of type 'Gtk.TextBuffer' To be added Method 2.24.0.0 System.Void Copy the selected text. This method copies the highlighted text from the into the clipboard. If nothing is highlighted in the text, the contents of the clipboard are still replaced with the null string. Property 2.24.0.0 GLib.Property("cursor_blink") System.Boolean Whether the cursor blinks or not. To be added: an object of type 'bool' To be added Property 2.24.0.0 GLib.Property("cursor_visible") System.Boolean Whether the cursor is visible or not. To be added: an object of type 'bool' To be added Method 2.24.0.0 System.Void Cut the selected text. This method copies the highlighted text from the into the clipboard. If none of the text is selected, the contents of the clipboard are still set to the null string. Property 2.24.0.0 GLib.Property("direction") Gtk.DirectionType The direction for the text. To be added: an object of type 'Gtk.DirectionType' To be added Property 2.24.0.0 GLib.Property("editable") System.Boolean Whether the text is editable or not. To be added: an object of type 'bool' To be added Method 2.24.0.0 Gtk.TextIter a a To be added a To be added Method 2.24.0.0 Gdk.Rectangle a To be added a To be added Property 2.24.0.0 GLib.Property("grow_height") System.Boolean Whether the box height should grow if the text does not fit. To be added: an object of type 'bool' To be added Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 GLib.Property("height") System.Double The height of the text box. To be added: an object of type 'double' To be added Property 2.24.0.0 GLib.Property("indent") System.Int32 The number of pixels to indent. To be added: an object of type 'int' To be added Property 2.24.0.0 GLib.Property("justification") Gtk.Justification The justification for the text. To be added: an object of type 'Gtk.Justification' To be added Property 2.24.0.0 GLib.Property("left_margin") System.Int32 The number of pixels in the left margin. To be added: an object of type 'int' To be added Method 2.24.0.0 System.Void Paste the contents of the clipboard into the text buffer at the current cursor location. To be added Property 2.24.0.0 GLib.Property("pixels_above_lines") System.Int32 The number of pixels above each line. To be added: an object of type 'int' To be added Property 2.24.0.0 GLib.Property("pixels_below_lines") System.Int32 The number of pixels below each line. To be added: an object of type 'int' To be added Property 2.24.0.0 GLib.Property("pixels_inside_wrap") System.Int32 The number of pixels inside the wrap. To be added: an object of type 'int' To be added Property 2.24.0.0 GLib.Property("right_margin") System.Int32 The number of pixels in the right margin. To be added: an object of type 'int' To be added Property 2.24.0.0 GLib.Property("text") System.String The text to be displayed. To be added: an object of type 'string' To be added Property 2.24.0.0 GLib.Property("visible") System.Boolean Whether the item is visible or not. To be added: an object of type 'bool' To be added Property 2.24.0.0 GLib.Property("width") System.Double The width of the text box. To be added: an object of type 'double' To be added Property 2.24.0.0 GLib.Property("wrap_mode") Gtk.WrapMode How the text in the widget should wrap. To be added: an object of type 'Gtk.WrapMode' To be added Property 2.24.0.0 GLib.Property("x") System.Double The X position. To be added: an object of type 'double' To be added Property 2.24.0.0 GLib.Property("y") System.Double The Y position. To be added: an object of type 'double' To be added gtk-sharp-2.12.40/doc/en/Gnome/DrawBackgroundArgs.xml0000664000175000017500000001124712767740535017200 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.24.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.24.0.0 Gdk.Drawable To be added To be added: an object of type 'Gdk.Drawable' To be added Property 2.24.0.0 System.Int32 To be added To be added: an object of type 'int' To be added Property 2.24.0.0 System.Int32 To be added To be added: an object of type 'int' To be added Property 2.24.0.0 System.Int32 To be added To be added: an object of type 'int' To be added Property 2.24.0.0 System.Int32 To be added To be added: an object of type 'int' To be added gtk-sharp-2.12.40/doc/en/Gnome/IconFocusedHandler.xml0000664000175000017500000000317712767740535017170 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the IconFocusedHandler instance to the event. The methods referenced by the IconFocusedHandler instance are invoked whenever the event is raised, until the IconFocusedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gnome/ChangeBackgroundArgs.xml0000664000175000017500000000560312767740535017467 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.SignalArgs Constructor To be added To be added Property Gnome.PanelAppletBackgroundType To be added a To be added Property Gdk.Color To be added a To be added Property Gdk.Pixmap To be added a To be added gtk-sharp-2.12.40/doc/en/Gnome/ConnectedHandler.xml0000664000175000017500000000314512767740535016664 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the ConnectedHandler instance to the event. The methods referenced by the ConnectedHandler instance are invoked whenever the event is raised, until the ConnectedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gnome/PrintConfigOption.xml0000664000175000017500000000655612767740535017110 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.ValueType Field Gnome.PrintConfigOption To be added To be added Field System.String To be added To be added Field System.String To be added To be added Field System.Int32 To be added To be added Method Gnome.PrintConfigOption To be added a a To be added gtk-sharp-2.12.40/doc/en/Gnome/Popup.xml0000664000175000017500000004341012767740535014566 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Create and display popup and context menus. using System; using Gtk; using GtkSharp; using Gnome; class PopupSample { Program program; static void Main (string[] args) { new PopupSample (args); } PopupSample (string[] args) { program = new Program ("PopupSample", "0.0", Modules.UI, args); App app = new App ("PopupSample", "Gnome.Popup sample"); app.SetDefaultSize (400, 300); app.DeleteEvent += new DeleteEventHandler (OnAppDelete); Menu menu = new Menu (); MenuItem hello = new MenuItem ("Hello"); hello.Activated += new EventHandler (OnHelloActivated); hello.Show (); menu.Append (hello); Label label = new Label ("Right Click me"); EventBox eventbox = new EventBox (); eventbox.Add (label); app.Contents = eventbox; Popup.MenuAttach (menu, eventbox, IntPtr.Zero); app.ShowAll (); program.Run (); } private void OnHelloActivated (object o, EventArgs args) { Console.WriteLine ("Hello Activated"); } private void OnAppDelete (object o, DeleteEventArgs args) { program.Quit (); } } Constructor 2.24.0.0 Creates a new instance. The default constructor for . Method 2.24.0.0 System.Obsolete System.Void a a Appends the menu items in to the menu. Method 2.24.0.0 System.Obsolete System.Void a a a Attaches the specified menu to the specified . The menu can then be activated by pressing mouse button 3 over the widget. When a menu item callback is invoked, the specified will be passed to it. This function requires the widget to have its own window (i.e. ), This function will try to set the flag on the event mask for the widget if it does not have it yet. If this is the case, then the widget must not be realized for it to work. The popup menu can be attached to different widgets at the same time. A reference count is kept on the popup menu; when all the widgets it is attached to are destroyed, the popup menu will be destroyed as well. Under the current implementation, setting a popup menu for a widget and then reparenting that widget will cause Bad Things to happen. Method 2.24.0.0 System.Obsolete System.Void a a a a a You can use this function to pop up a menu. When a menu item callback is invoked, the specified user_data will be passed to it. The parameter is the same as for , i.e. you can use it to specify a function to position the menu explicitly. If you want the default position (near the mouse), pass . The event parameter is needed to figure out the mouse button that activated the menu and the time at which this happened. If you pass in , then no button and the current time will be used as defaults. Method 2.24.0.0 System.Obsolete System.Void a a a a a a Obsolete. Replaced by overload with no argument. Method 2.24.0.0 System.Obsolete System.Int32 a a a a a You can use this function to pop up a menu modally. a Same as , but modal. Method 2.24.0.0 System.Obsolete System.Int32 a a To be added. a a a Obsolete. Replaced by overload with no argument. a Method 2.24.0.0 System.Obsolete Gtk.AccelGroup a This function is used to retrieve the accelgroup that was created by . a If you want to specify the accelgroup that the popup menu accelerators use, then use . Method 2.24.0.0 System.Obsolete Gtk.Widget a Creates a popup menu out of the specified array. a This method behaves just like , except that it creates an for you and attaches it to the menu object. Use to get the that is created. Method 2.24.0.0 System.Obsolete Gtk.Widget a a Creates a popup menu out of the specified array. a Use to pop the menu up, or attach it to a window with . gtk-sharp-2.12.40/doc/en/Gnome/CanvasRE.xml0000664000175000017500000002000612767740535015121 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gnome.CanvasShape Base class for rectangle and ellipse items This forms a base class for rectangle and ellipse canvas items. Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.24.0.0 a a To be added To be added Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 GLib.Property("x1") System.Double Leftmost coordinate of rectangle or ellipse. Leftmost coordinate of rectangle or ellipse. Property 2.24.0.0 GLib.Property("x2") System.Double Rightmost coordinate of rectangle or ellipse. Rightmost coordinate of rectangle or ellipse. Property 2.24.0.0 GLib.Property("y1") System.Double Topmost coordinate of rectangle or ellipse. Topmost coordinate of rectangle or ellipse. Property 2.24.0.0 GLib.Property("y2") System.Double Bottommost coordinate of rectangle or ellipse. Bottommost coordinate of rectangle or ellipse. gtk-sharp-2.12.40/doc/en/Gnome/CanvasShapePriv.xml0000664000175000017500000000327312767740535016523 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque To be added To be added Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. gtk-sharp-2.12.40/doc/en/Gnome/Font.xml0000664000175000017500000006504412767740535014400 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Object Method Pango.FontDescription To be added a a To be added Method System.Double To be added a a a To be added Method System.Int32 To be added a a To be added Method Pango.Font To be added a a a To be added Method Art.Bpath To be added a a To be added Method System.Double To be added a a To be added Method Art.DRect To be added a a a To be added Method Art.Point To be added a a a a To be added Method System.Double To be added a a a To be added Method System.Double To be added a a To be added Method Art.Point To be added a a a To be added Constructor Internal constructor a This is not typically used by C# code. Property System.Double To be added a To be added GLib.Property("Ascender") Property System.Boolean To be added a To be added GLib.Property("IsFixedPitch") Property System.String To be added a To be added GLib.Property("FamilyName") Property System.String To be added a To be added GLib.Property("FullName") Property System.Double To be added a To be added GLib.Property("UnderlinePosition") Property System.String To be added a To be added GLib.Property("FontName") Property System.Double To be added a To be added GLib.Property("Descender") Property System.Double To be added a To be added GLib.Property("CapHeight") Property System.IntPtr To be added a To be added GLib.Property("FontBBox") Property System.String To be added a To be added GLib.Property("Weight") Property System.Double To be added a To be added GLib.Property("Size") Property System.Double To be added a To be added GLib.Property("XHeight") Property System.Double To be added a To be added GLib.Property("ItalicAngle") Property System.String To be added a To be added GLib.Property("Version") Property System.Double To be added a To be added GLib.Property("UnderlineThickness") Property Gnome.FontFace To be added a To be added Method Gnome.Font To be added a a a a a To be added Method Gnome.Font To be added a a To be added Method Gnome.Font To be added a a a To be added Method Gnome.Font To be added a a To be added Method Gnome.Font To be added a a a To be added Method Gnome.RFont To be added a a To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Method System.String[] To be added a To be added Method System.String[] To be added a a To be added Property System.Byte To be added a To be added Property System.Byte To be added a To be added Property System.Byte To be added a To be added Constructor To be added To be added Method Gnome.Font To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/Config.xml0000664000175000017500000010023112767740535014663 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object This class manages, in a persist way, the configuration information of the application. The handling is done in a independent way of the selected locale. Constructor 2.24.0.0 To be added To be added Method 2.24.0.0 System.Obsolete System.String a a To be added a To be added Method 2.24.0.0 System.Obsolete System.Void a a To be added To be added Method 2.24.0.0 System.Obsolete System.Void a a To be added To be added Method 2.24.0.0 System.Obsolete System.Void a a To be added To be added Method 2.24.0.0 System.Obsolete System.Void Clears any cached information, including any information that has not been written to file. All non saved configuration data is lost. Method 2.24.0.0 System.Obsolete System.Void a a To be added To be added Method 2.24.0.0 System.Obsolete System.Boolean a a a To be added a To be added Method 2.24.0.0 System.Obsolete System.Double a a a To be added a To be added Method 2.24.0.0 System.Obsolete System.Int32 a a a To be added a To be added Method 2.24.0.0 System.Obsolete System.String The path to the required item. If the default value for the item is returned its set to a otherwise its a . a Gets the value associated with the path as a , if its not present, the default value will be used. Returns the value in the configuration path or the default value if its not present, as a . To be added Method 2.24.0.0 System.Obsolete System.String a a a To be added a To be added Method 2.24.0.0 System.Obsolete System.Void a a a a a To be added To be added Method 2.24.0.0 System.Obsolete System.Boolean a a To be added a To be added Method 2.24.0.0 System.Obsolete System.IntPtr a a To be added a To be added Method 2.24.0.0 System.Obsolete System.IntPtr a a To be added a To be added Method 2.24.0.0 System.Obsolete System.IntPtr a a a To be added a To be added Method 2.24.0.0 System.Obsolete System.Int32 a a To be added a To be added Method 2.24.0.0 System.Obsolete System.Void To be added To be added Method 2.24.0.0 System.Obsolete System.Void a To be added To be added Method 2.24.0.0 System.Obsolete System.Void a a a To be added To be added Method 2.24.0.0 System.Obsolete System.Void a a a To be added To be added Method 2.24.0.0 System.Obsolete System.Void a a a To be added To be added Method 2.24.0.0 System.Obsolete System.Void a a a To be added To be added Method 2.24.0.0 System.Obsolete System.Void a a a To be added To be added Method 2.24.0.0 System.Obsolete System.Void a a a a To be added To be added Method 2.24.0.0 System.Obsolete System.Boolean Flushes all the configuration data to disk. Returns if its able to write to disk, otherwise its . Nothing is saved on disk till this method gets invoked, or SyncFile_. Method 2.24.0.0 System.Obsolete System.Boolean The path of the target file. a Flushes all the configuration data to disk, for a given file. Returns if its able to write to disk, otherwise its . Nothing is saved on disk till this method gets invoked, or Sync(). gtk-sharp-2.12.40/doc/en/Gnome/FontWeight.xml0000664000175000017500000001421112767740535015536 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gnome.FontWeight To be added Field Gnome.FontWeight To be added Field Gnome.FontWeight To be added Field Gnome.FontWeight To be added Field Gnome.FontWeight To be added Field Gnome.FontWeight To be added Field Gnome.FontWeight To be added Field Gnome.FontWeight To be added Field Gnome.FontWeight To be added Field Gnome.FontWeight To be added Field Gnome.FontWeight To be added Field Gnome.FontWeight To be added Field Gnome.FontWeight To be added Field Gnome.FontWeight To be added Field Gnome.FontWeight To be added gtk-sharp-2.12.40/doc/en/Gnome/IconSelectedArgs.xml0000664000175000017500000000565212767740535016647 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.24.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.24.0.0 Gdk.Event To be added To be added: an object of type 'Gdk.Event' To be added Property 2.24.0.0 System.Int32 To be added To be added: an object of type 'int' To be added gtk-sharp-2.12.40/doc/en/Gnome/PreferencesType.xml0000664000175000017500000000543312767740535016571 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gnome.PreferencesTypeGType)) Flags if something should be done. To be added. Field 2.24.0.0 Gnome.PreferencesType Do something always. Field 2.24.0.0 Gnome.PreferencesType Never do something. Field 2.24.0.0 Gnome.PreferencesType Do something only when the user wants it to be done. gtk-sharp-2.12.40/doc/en/Gnome/Triggers.xml0000664000175000017500000000651212767740535015253 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added To be added Constructor 2.24.0.0 To be added To be added Method 2.24.0.0 System.Void a a To be added To be added Method 2.24.0.0 System.Void a a a To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/PredecessorRemovedArgs.xml0000664000175000017500000000234512767740535020102 00000000000000 gnome-sharp 2.20.0.0 GLib.SignalArgs Constructor To be added. To be added. Property Gnome.PrintFilter To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/GPGC.xml0000664000175000017500000000222512767740535014202 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Opaque Constructor To be added a To be added gtk-sharp-2.12.40/doc/en/Gnome/Window.xml0000664000175000017500000002205112767740535014730 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Convenience functions for setting window attributes. This module is a convenience wrapper for some similar functions in Gtk. This allows all Gnome applications to have a consistent way of setting their window and dialog titles. It is possible that in the future, a configurable way of setting window titles may be added. Constructor 2.24.0.0 To be added To be added Method 2.24.0.0 System.Obsolete System.Void To be added To be added Method 2.24.0.0 System.Obsolete System.Void a To be added To be added Method 2.24.0.0 System.Obsolete System.Void a To be added To be added Method 2.24.0.0 System.Obsolete System.Void a To be added To be added Method 2.24.0.0 System.Obsolete System.Void a a To be added To be added Method 2.24.0.0 System.Obsolete System.Void a a To be added To be added Method 2.24.0.0 System.Obsolete System.Void a a a a Set the title of a toplevel window. This is done by appending the window-specific name (less the extension, if any) to the application name. So it appears as "<appname> : <docname>". The parameters to this function are appropriate in that it identifies application windows as containing certain files that are being worked on at the time (for example, a word processor file, a spreadsheet or an image). gtk-sharp-2.12.40/doc/en/Gnome/HelpError.xml0000664000175000017500000000441412767740535015366 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gnome.HelpErrorGType)) The different error codes which can be thrown by . To be added. Field 2.24.0.0 Gnome.HelpError Something went wrong internally. This is most likely caused by a resource problem or bad installation. Field 2.24.0.0 Gnome.HelpError Help file does not exist. gtk-sharp-2.12.40/doc/en/Gnome/SaveYourselfArgs.xml0000664000175000017500000001144012767740535016725 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.24.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.24.0.0 System.Boolean To be added To be added: an object of type 'bool' To be added Property 2.24.0.0 Gnome.InteractStyle To be added To be added: an object of type 'Gnome.InteractStyle' To be added Property 2.24.0.0 System.Int32 To be added To be added: an object of type 'int' To be added Property 2.24.0.0 Gnome.SaveStyle To be added To be added: an object of type 'Gnome.SaveStyle' To be added Property 2.24.0.0 System.Boolean To be added To be added: an object of type 'bool' To be added gtk-sharp-2.12.40/doc/en/Gnome/User.xml0000664000175000017500000000644312767740535014406 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added To be added Constructor 2.24.0.0 To be added To be added Method 2.24.0.0 System.String To be added a To be added Method 2.24.0.0 System.String To be added a To be added Method 2.24.0.0 System.String To be added a To be added gtk-sharp-2.12.40/doc/en/Gnome/IconListMode.xml0000664000175000017500000000540612767740535016017 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gnome.IconListModeGType)) How icons should be displayed To be added. Field 2.24.0.0 Gnome.IconListMode Display only icons Field 2.24.0.0 Gnome.IconListMode Display text below the icons Field 2.24.0.0 Gnome.IconListMode Display text to the right of the icons gtk-sharp-2.12.40/doc/en/Gnome/FileEntry.xml0000664000175000017500000010676412767740535015400 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.VBox Gtk.Editable System.Obsolete A widget for selecting a file or directory. A contains a and a browse dialog. Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.24.0.0 an object of type an object of type Creates a new . Event 2.24.0.0 GLib.Signal("activate") System.EventHandler Emitted when the is activated. Event 2.24.0.0 GLib.Signal("browse_clicked") System.EventHandler Emitted when the browse button is clicked. Property 2.24.0.0 GLib.Property("browse_dialog_title") System.String Title of the browse dialog. an object of type Event 2.24.0.0 GLib.Signal("changed") System.EventHandler Emitted when the text is changed into the . Method 2.24.0.0 System.Void an object of type an object of type Construct a . Method 2.24.0.0 System.Void To be added Method 2.24.0.0 System.Void To be added Property 2.24.0.0 GLib.Property("default_path") System.String Set the default path of browse dialog. an object of type The default path is only used if the entry is empty or if the current path of the entry is not an absolute path, in which case the default path is prepended to it before the dialog is started. Method 2.24.0.0 System.Void To be added Method 2.24.0.0 System.Void an object of type an object of type Deletes the text of the between and . Property 2.24.0.0 System.Boolean To be added a To be added Property 2.24.0.0 GLib.Property("directory_entry") System.Boolean Whether this is a directory only entry. an object of type If , then will check for the file being a directory, and the browse dialog will have the file list disabled. Property 2.24.0.0 GLib.Property("filechooser_action") Gtk.FileChooserAction To be added a To be added Property 2.24.0.0 GLib.Property("filename") System.String The value of the internal . an object of type Method 2.24.0.0 System.String an object of type an object of type Gets the text of the between and . an object of type Method 2.24.0.0 System.String an object of type Gets the full absolute path of the file from the entry. an object of type If is , nothing is tested and the path is returned. If is , then the path is only returned if the path actually exists. In case the entry is a directory entry (see ), then if the path exists and is a directory then it is returned; if not, it is assumed it was a file so we try to strip it, and try again. It allocates memory for the returned string. Method 2.24.0.0 System.Boolean an object of type an object of type To be added an object of type Property 2.24.0.0 GLib.Property("gnome_entry") Gnome.Entry The associated . an object of type Property 2.24.0.0 GLib.Property("gtk_entry") Gtk.Entry The associated . an object of type Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 GLib.Property("history_id") System.String The ID for the associated history. an object of type Method 2.24.0.0 System.Void an object of type an object of type Inserts into the at . Property 2.24.0.0 System.Boolean Whether the should be editable by the user. an object of type Property 2.24.0.0 GLib.Property("modal") System.Boolean Whether the browse dialog is modal. an object of type Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideActivated", Type=typeof(Gnome.FileEntry)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideBrowseClicked", Type=typeof(Gnome.FileEntry)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideChanged", Type=typeof(Gnome.FileEntry)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextDeleted", Type=typeof(Gnome.FileEntry)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideTextInserted", Type=typeof(Gnome.FileEntry)) System.Void a a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 System.Void To be added Property 2.24.0.0 System.Int32 The cursor position in the . an object of type Method 2.24.0.0 System.Void an object of type an object of type Select the text of the between and . Event 2.24.0.0 GLib.Signal("delete_text") Gtk.TextDeletedHandler Emitted when text is deleted into the . Event 2.24.0.0 GLib.Signal("insert_text") Gtk.TextInsertedHandler Emitted when text is inserted into the . Property 2.24.0.0 System.String Set the title of the browse dialog. an object of type The new title will go into effect the next time the browse button is pressed. Property 2.24.0.0 GLib.Property("use_filechooser") System.Boolean To be added a To be added gtk-sharp-2.12.40/doc/en/Gnome/PredecessorRemovedHandler.xml0000664000175000017500000000151712767740535020563 00000000000000 gnome-sharp 2.20.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/PanelAppletFlags.xml0000664000175000017500000000551012767740535016644 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum System.Flags Field Gnome.PanelAppletFlags To be added To be added Field Gnome.PanelAppletFlags To be added To be added Field Gnome.PanelAppletFlags To be added To be added Field Gnome.PanelAppletFlags To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/FontDialog.xml0000664000175000017500000000733712767740535015521 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added Gtk.Dialog Constructor Internal constructor a This is not typically used by C# code. Constructor To be added a To be added Property Gtk.Widget To be added a To be added Property Gtk.Widget To be added a To be added Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Property GLib.GType GType Property. a Returns the native value for . gtk-sharp-2.12.40/doc/en/Gnome/GdkPixbufDoneCallback.xml0000664000175000017500000000212312767740535017565 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/PreparedArgs.xml0000664000175000017500000000450412767740535016043 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.24.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.24.0.0 Gtk.Widget To be added To be added: an object of type 'Gtk.Widget' To be added gtk-sharp-2.12.40/doc/en/Gnome/CanvasLine.xml0000664000175000017500000005122712767740535015513 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gnome.CanvasItem Line canvas item A canvas item for drawing lines. This canvas item uses a structure so one or multiple joined lined segments can be drawn with a single item. // LineExample.cs - Displays triangle using gnome canvas // Compile: mcs -r gtk-sharp.dll -r gnome-sharp.dll LineExample.cs namespace GnomeSamples { using System; using Gtk; using Gnome; public class LineExample { public static int Main (string[] args) { Application.Init (); Gtk.Window win = new Gtk.Window ("Canvas line example"); win.DeleteEvent += new DeleteEventHandler (Window_Delete); Canvas canvas = new Canvas (); win.Add (canvas); CanvasLine line = new CanvasLine (canvas.Root ()); line.Points = new CanvasPoints (new double[]{40,0, 0,80, 80,80, 40,0}); win.ShowAll (); Application.Run (); return 0; } static void Window_Delete (object obj, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } } } Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 The that this item belongs to. Creates a new line Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Property 2.24.0.0 GLib.Property("arrow_shape_a") System.Double Distance from tip of arrowhead to center. Distance from tip of arrowhead to center. Property 2.24.0.0 GLib.Property("arrow_shape_b") System.Double Distance from tip of arrowhead to trailing point, measured along the shaft. Distance from tip of arrowhead to trailing point, measured along shaft. Property 2.24.0.0 GLib.Property("arrow_shape_c") System.Double Distance of arrowhead trailing points from outside edge of shaft. Distance of arrowhead trailing points from outside edge of shaft. Property 2.24.0.0 GLib.Property("cap_style") Gdk.CapStyle Determines how the ends of lines are drawn (the line cap style). the line cap style Property 2.24.0.0 GLib.Property("fill_color") System.String X color specification for line. X color specification for the line Property 2.24.0.0 GLib.Property("fill_color_gdk") Gdk.Color The to draw the line with. the line color Property 2.24.0.0 GLib.Property("fill_color_rgba") System.UInt32 Line color with an alpha component (in the format 0xRRGGBBAA). the line color Property 2.24.0.0 GLib.Property("fill_stipple") Gdk.Drawable Stipple pattern for the line. Stipple pattern for the line. Property 2.24.0.0 GLib.Property("first_arrowhead") System.Boolean Specifies whether to draw an arrowhead on the first point of the line. whether to draw an arrowhead on the first point of the line. Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 GLib.Property("join_style") Gdk.JoinStyle Vertex join style for line segments Vertex join style ( to join by extending each line to meet at an angle, to join by a circular arc, and to join by a straight line which makes an equal angle with each line) Property 2.24.0.0 GLib.Property("last_arrowhead") System.Boolean Specifies whether to draw an arrowhead on the last point of the line. whether to draw an arrowhead on the last point of the line. To be added Property 2.24.0.0 GLib.Property("line_style") Gdk.LineStyle Line dash style. Line dash style Property 2.24.0.0 GLib.Property("points") Gnome.CanvasPoints a pointer. This can be created by a call to the constructor. a pointer. Property 2.24.0.0 GLib.Property("smooth") System.Boolean Specifies whether to smooth the line using parabolic splines. Whether to smooth the line using parabolic splines Property 2.24.0.0 GLib.Property("spline_steps") System.UInt32 Specifies the number of steps to use when rendering curves. the number of steps to use when rendering curves. Property 2.24.0.0 GLib.Property("width_pixels") System.UInt32 Width of the line in pixels. The line width will not be scaled when the canvas zoom factor changes. width of the line in pixels. To be added Property 2.24.0.0 GLib.Property("width_units") System.Double Width of the line in canvas units. The line width will be scaled when the canvas zoom factor changes. width of the line in canvas units gtk-sharp-2.12.40/doc/en/Gnome/ThumbnailFactory.xml0000664000175000017500000002423212767740535016737 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 a To be added To be added Constructor 2.24.0.0 a Internal constructor This is not typically used by C# code. Method 2.24.0.0 System.Boolean a a a To be added a To be added Method 2.24.0.0 System.Void a a To be added To be added Method 2.24.0.0 Gdk.Pixbuf a a To be added a To be added Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.24.0.0 System.Boolean a a To be added a To be added Method 2.24.0.0 System.String a a To be added a To be added Method 2.24.0.0 System.Void a a a To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/FontPickerMode.xml0000664000175000017500000000665712767740535016350 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gnome.FontPickerModeGType)) button mode (or what to show). To be added. Field 2.24.0.0 Gnome.FontPickerMode To be added To be added Field 2.24.0.0 Gnome.FontPickerMode To be added To be added Field 2.24.0.0 Gnome.FontPickerMode To be added To be added Field 2.24.0.0 Gnome.FontPickerMode To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/DruidPage.xml0000664000175000017500000004417412767740535015337 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Bin System.Obsolete A widget representing a single page inside a druid. The functions in this page are mostly only for the information of developers -- they should never need to call them directly. Typically, a druid will connect to the various signals described here as a way of controlling the behaviour of druids that do not just proceed in a front-to-back fashion (for example, where the subsequent pages depend upon the choice made at some point). Constructor 2.24.0.0 Creates a new . Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Method 2.24.0.0 System.Boolean Emit the event. an object of type It is called by exclusively. It is expected that non-linear Druids will override this signal and return if it handles changing pages. Event 2.24.0.0 GLib.Signal("back") Gnome.BackClickedHandler Emitted when the "Back" button of the page is clicked. Method 2.24.0.0 System.Boolean Emit the event. an object of type It is called by gnome-druid exclusively. It is expected that a Druid will override this signal and return if it does not want to exit. Event 2.24.0.0 GLib.Signal("cancel") Gnome.CancelClickedHandler Emitted when the "Cancel" button of the page is clicked. Method 2.24.0.0 System.Void Emit the event. To be added Event 2.24.0.0 GLib.Signal("finish") Gnome.FinishClickedHandler Emitted when the "Finish" button of the page is clicked. Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.24.0.0 System.Boolean Emit the event. an object of type It is called by gnome-druid exclusively. It is expected that non-linear Druids will override this signal and return if it handles changing pages. Event 2.24.0.0 GLib.Signal("next") Gnome.NextClickedHandler Emitted when the "Next" button of the page is clicked. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideBackClicked", Type=typeof(Gnome.DruidPage)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideCancelClicked", Type=typeof(Gnome.DruidPage)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideFinishClicked", Type=typeof(Gnome.DruidPage)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideNextClicked", Type=typeof(Gnome.DruidPage)) System.Boolean a Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverridePrepared", Type=typeof(Gnome.DruidPage)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 System.Void Emit the event. It is called by exclusively. This function is called immediately prior to a druid page being shown so that it can "prepare" for display. Event 2.24.0.0 GLib.Signal("prepare") Gnome.PreparedHandler Emitted immediately prior to a druid page being shown. gtk-sharp-2.12.40/doc/en/Gnome/CanvasBuf.xml0000664000175000017500000001343712767740535015341 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Field 2.24.0.0 System.UInt32 To be added To be added Field 2.24.0.0 System.Int32 To be added To be added Method 2.24.0.0 System.Void To be added To be added Property 2.24.0.0 System.Boolean To be added a To be added Property 2.24.0.0 System.Boolean To be added a To be added Method 2.24.0.0 Gnome.CanvasBuf To be added: an object of type 'IntPtr' To be added To be added: an object of type 'Gnome.CanvasBuf' To be added Field 2.24.0.0 Art.IRect To be added To be added Field 2.24.0.0 Gnome.CanvasBuf To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/InteractStyle.xml0000664000175000017500000000554112767740535016260 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gnome.InteractStyleGType)) Indicates how a "SaveYourself" command should interact with the user. To be added. Field 2.24.0.0 Gnome.InteractStyle The client can interact with the user for any reason. Field 2.24.0.0 Gnome.InteractStyle The client should only interact when there are errors. Field 2.24.0.0 Gnome.InteractStyle The client should never interact with the user. gtk-sharp-2.12.40/doc/en/Gnome/App.xml0000664000175000017500000013723412767740535014213 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gtk.Window The main application widget. The widget and associated functions provides the easiest way to create an almost complete Gnome# application. Simply create an instance of the widget, append any menus, toolbar(s) and a statusbar, as required (this will probably be done with some functions from the following pages). Then fill in the main contents with a call to and start the main loop (with ). Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.24.0.0 an object of type an object of type Creates a new instance. Property 2.24.0.0 Gtk.AccelGroup The 's a Property 2.24.0.0 GLib.Property("app_id") System.String To be added a To be added Method 2.24.0.0 System.Void an object of type an object of type To be added To be added Property 2.24.0.0 Gtk.Widget The content area of the main window of the . an object of type Method 2.24.0.0 System.Void an object of type To be added To be added Method 2.24.0.0 System.Void an object of type an object of type To be added To be added Method 2.24.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete("Replaced by overload with no IntPtr arg") System.Void an object of type an object of type an object of type an object of type To be added To be added Method 2.24.0.0 System.Void an object of type an object of type To be added To be added Method 2.24.0.0 System.Void an object of type To be added To be added Method 2.24.0.0 System.Void an object of type an object of type To be added To be added Method 2.24.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete("Replaced by overload with no IntPtr arg") System.Void an object of type an object of type an object of type an object of type To be added To be added Method 2.24.0.0 System.Void an object of type an object of type To be added To be added Method 2.24.0.0 System.Void an object of type Specify whether should automatically save the dock's layout configuration via gnome-config whenever it changes or not. To be added Method 2.24.0.0 System.Void an object of type an object of type an object of type an object of type an object of type To be added To be added Method 2.24.0.0 System.Void an object of type an object of type an object of type an object of type an object of type an object of type To be added To be added Method 2.24.0.0 System.Void an object of type an object of type an object of type an object of type an object of type an object of type To be added To be added Method 2.24.0.0 System.Void an object of type an object of type an object of type To be added To be added Method 2.24.0.0 System.Void an object of type an object of type an object of type an object of type To be added To be added Method 2.24.0.0 System.Void an object of type an object of type an object of type an object of type To be added To be added Method 2.24.0.0 Gtk.Widget a a a To be added a To be added Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.24.0.0 System.String an object of type To be added an object of type To be added Method 2.24.0.0 System.Void an object of type an object of type To be added To be added Method 2.24.0.0 System.Void an object of type an object of type an object of type To be added To be added Method 2.24.0.0 System.Void To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete("Replaced by overload with no IntPtr arg") System.Void an object of type an object of type an object of type an object of type an object of type To be added To be added Method 2.24.0.0 System.Void an object of type an object of type an object of type To be added To be added Method 2.24.0.0 System.Void an object of type an object of type To be added To be added Method 2.24.0.0 System.Void an object of type To be added To be added Method 2.24.0.0 System.Void an object of type an object of type To be added To be added Property 2.24.0.0 Gtk.MenuBar Sets the of the application window. an object of type Property 2.24.0.0 System.String The application name a Property 2.24.0.0 System.String The application's install prefix a Method 2.24.0.0 System.Void an object of type an object of type an object of type To be added To be added Method 2.24.0.0 System.Void an object of type an object of type To be added To be added Method 2.24.0.0 System.Void an object of type an object of type Sets the of the application window, but uses as its container. Property 2.24.0.0 Gtk.Widget The status bar of the application window. an object of type Property 2.24.0.0 Gtk.Toolbar Sets the main toolbar of the application window. an object of type Method 2.24.0.0 System.Void an object of type To be added To be added gtk-sharp-2.12.40/doc/en/Gnome/Score.xml0000664000175000017500000000763212767740535014544 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added To be added Constructor 2.24.0.0 To be added To be added Method 2.24.0.0 System.Obsolete System.Int32 a a a a a To be added a To be added Method 2.24.0.0 System.Obsolete System.Int32 a To be added a To be added gtk-sharp-2.12.40/doc/en/Gnome/FileDomain.xml0000664000175000017500000002213112767740535015467 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum GLib.GType(typeof(Gnome.FileDomainGType)) The types of files a GNOME application needs to access. Many of the files that a GNOME application needs to access will be installed in standard locations. For example, GNOME help files will be in one location, while help files specific to the current application might be in another location. The different types of files are given in this enum. User applications make use of the App* types, which specify locations relative to AppDatadir. Field 2.24.0.0 Gnome.FileDomain Application specific config files. Field 2.24.0.0 Gnome.FileDomain Application specific data files. Field 2.24.0.0 Gnome.FileDomain Application specific help files. Field 2.24.0.0 Gnome.FileDomain Application specific libraries. Field 2.24.0.0 Gnome.FileDomain Application specific pixmap files. Field 2.24.0.0 Gnome.FileDomain Application specific sound files. Field 2.24.0.0 Gnome.FileDomain Config files in the main GNOME installation. Field 2.24.0.0 Gnome.FileDomain Data files in the main GNOME installation. Field 2.24.0.0 Gnome.FileDomain Help files in the main GNOME installation. Field 2.24.0.0 Gnome.FileDomain Libraries in the main GNOME installation. Field 2.24.0.0 Gnome.FileDomain Pixmap files in the main GNOME installation. Field 2.24.0.0 Gnome.FileDomain Sound files in the main GNOME installation. Field 2.24.0.0 Gnome.FileDomain An unknown file domain (should never be used). gtk-sharp-2.12.40/doc/en/Gnome/MoveFocusOutOfAppletHandler.xml0000664000175000017500000000310512767740535021007 00000000000000 gnome-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added. To be added. To be added To be added System.Delegate System.Void gtk-sharp-2.12.40/doc/en/Gnome/Icon.xml0000664000175000017500000001351012767740535014351 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added To be added Constructor 2.24.0.0 To be added To be added Method 2.24.0.0 System.String A icon theme to be used. An optional thumbnail factory used to look up thumbnails. The uri of the file. Optionally the name of a custom icon to try. information about the file. The mime type of the icon. flags that affect the result of the lookup. Optionally the result flags of the lookups are stored here. Locate an icon that can be used to represent the file passed. The filename of the looked up icon. To be added. Method 2.24.0.0 System.String a a a a a a To be added a To be added gtk-sharp-2.12.40/doc/en/Gnome/FontFace.xml0000664000175000017500000006446612767740535015166 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added GLib.Object Method Gnome.FontFace To be added a a To be added Method Gnome.FontFace To be added a a To be added Method Gnome.Font To be added a a a a To be added Method Art.Point To be added a a a a To be added Method System.Double To be added a a a To be added Method System.Int32 To be added a a To be added Method Art.Bpath To be added a a To be added Method System.Double To be added a a To be added Method Art.DRect To be added a a a To be added Method Gnome.Font To be added a a To be added Method Art.Point To be added a a a To be added Constructor Internal constructor a This is not typically used by C# code. Property System.Double To be added a To be added GLib.Property("Ascender") Property System.Boolean To be added a To be added GLib.Property("IsFixedPitch") Property System.String To be added a To be added GLib.Property("FamilyName") Property System.String To be added a To be added GLib.Property("FullName") Property System.Double To be added a To be added GLib.Property("UnderlinePosition") Property System.String To be added a To be added GLib.Property("FontName") Property System.Double To be added a To be added GLib.Property("Descender") Property System.Double To be added a To be added GLib.Property("CapHeight") Property System.IntPtr To be added a To be added GLib.Property("FontBBox") Property System.String To be added a To be added GLib.Property("Weight") Property System.Double To be added a To be added GLib.Property("XHeight") Property System.Double To be added a To be added GLib.Property("ItalicAngle") Property System.String To be added a To be added GLib.Property("Version") Property System.Double To be added a To be added GLib.Property("UnderlineThickness") Property System.Int32 To be added a To be added Property Gnome.FontWeight To be added a To be added Property Art.DRect To be added a To be added Property System.String To be added a To be added Property System.String To be added a To be added Property System.String To be added a To be added Property System.String To be added a To be added Method Gnome.FontFace To be added a a a a To be added Method Gnome.FontFace To be added a a a To be added Method Gnome.FontFace To be added a a To be added Method Gnome.FontFace To be added a a To be added Method System.String To be added a a To be added Property System.Boolean To be added a To be added Property System.Boolean To be added a To be added Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete Constructor To be added To be added Method Gnome.FontFace To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome/FinishClickedHandler.xml0000664000175000017500000000323012767740535017454 00000000000000 gnome-sharp 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the FinishClickedHandler instance to the event. The methods referenced by the FinishClickedHandler instance are invoked whenever the event is raised, until the FinishClickedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gnome/PrintDialogFlags.xml0000664000175000017500000000324312767740535016654 00000000000000 gnome-sharp 2.20.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. To be added To be added System.Enum Field Gnome.PrintDialogFlags To be added Field Gnome.PrintDialogFlags To be added GLib.GType(typeof(Gnome.PrintDialogFlagsGType)) System.Flags gtk-sharp-2.12.40/doc/en/ns-GConf.xml0000664000175000017500000000130312767740535014023 00000000000000 GConf is a process-transparent configuration database with a model-view-controller architecture. GConf is a system for storing configuration information, that is, key-value pairs. GConf provides a notification service so applications can be notified when a key's value is changed. GConf also allows for pluggable storage mechanisms (text files, databases, etc.); allows administrators to install default values; and allows application authors to document their configuration keys for the benefit of administrators. gtk-sharp-2.12.40/doc/en/ns-Glade.xml0000664000175000017500000000103012767740535014040 00000000000000 User interface loading at runtime. The Glade classes give applications the ability to load user interfaces from XML files at runtime. These interface files can be created with the Glade user interface builder. The Glade classes are also capable of automatically connecting handlers to the signals defined in the interface file. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/0000775000175000017500000000000012767740535013554 500000000000000gtk-sharp-2.12.40/doc/en/Gnome.Vfs/XdgMimeCache.xml0000664000175000017500000000250112767740535016472 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 GLib.Opaque To be added. To be added. Constructor 2.24.0.0 To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/VolumePreUnmountArgs.xml0000664000175000017500000000641312767740535020343 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The following events invoke delegates which pass event data via this class: Constructor 2.24.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.24.0.0 Gnome.Vfs.Volume the about to be unmounted. a To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/DNSSDBrowseHandle.xml0000664000175000017500000000246612767740535017377 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 GLib.Opaque To be added. To be added. Constructor 2.24.0.0 To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Global.xml0000664000175000017500000012516412767740535015427 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Object To be added. To be added. Constructor 2.24.0.0 To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. To be added. Property 2.24.0.0 System.Obsolete GLib.List To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Property 2.24.0.0 Gnome.Vfs.VolumeMonitor To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/FileInfo.xml0000664000175000017500000005715212767740535015723 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Class containing all metadata pertaining to a . To be added Constructor 2.24.0.0 To be added. To be added. Constructor 2.24.0.0 a Create a new FileInfo instance representing . To be added Constructor 2.24.0.0 To be added. To be added. To be added. Constructor 2.24.0.0 representing the uri. Create a new FileInfo instance representing the text uri. To be added Constructor 2.24.0.0 a for the FileInfo metadata. Create a new FileInfo instance representing with the specified . To be added Constructor 2.24.0.0 representing the uri. for the FileInfo metadata. Create a new FileInfo instance representing the text uri with the specified . To be added Property 2.24.0.0 System.DateTime Last time the file was accessed. a To be added Property 2.24.0.0 System.Int64 Size measured in units of 512-byte blocks. a To be added Method 2.24.0.0 System.Void To be added. To be added. Property 2.24.0.0 System.DateTime Last time the file was changed. a To be added Property 2.24.0.0 System.Int64 Device id of the file. Only valid if the . a To be added Method 2.24.0.0 System.Void To be added. To be added. Property 2.24.0.0 Gnome.Vfs.FileFlags for this file. a To be added Property 2.24.0.0 System.UInt32 UNIX group id. a To be added Property 2.24.0.0 System.IntPtr To be added. To be added. To be added. Property 2.24.0.0 System.Boolean Indicates whether the property is set. a To be added Property 2.24.0.0 System.Boolean Indicates whether the property is set. a To be added Property 2.24.0.0 System.Int64 Inode number of the file. Only valid if the . a To be added Property 2.24.0.0 System.UInt32 Optimal buffer size for reading/writing the file. a To be added Property 2.24.0.0 System.Boolean Indicates whether the represents a file on the local filesystem. a To be added Property 2.24.0.0 System.Boolean Indicates whether the sticky bit is set. a To be added Property 2.24.0.0 System.Boolean Indicates whether the file is a symlink. a To be added Property 2.24.0.0 System.UInt32 Link count. a To be added Property 2.24.0.0 System.String MIME type. Only valid if the FileInfo was created with . representation of the MIME type. To be added Property 2.24.0.0 System.DateTime Last time the file was modified. a To be added Property 2.24.0.0 System.String Base name of the file (no path). a To be added Property 2.24.0.0 Gnome.Vfs.FilePermissions File permissions. a To be added Property 2.24.0.0 System.Int64 Size in bytes. a To be added Property 2.24.0.0 System.String If , this specifies the file the link points to. a To be added Method 2.24.0.0 System.String To be added. To be added. To be added. Property 2.24.0.0 Gnome.Vfs.FileType File type (i.e. regular, directory, block device...). a To be added Property 2.24.0.0 System.UInt32 UNIX user id. a To be added Property 2.24.0.0 Gnome.Vfs.FileInfoFields Properties which are actually valid in this class. a To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/ModuleCallbackQuestionIn.xml0000664000175000017500000000732412767740535021105 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.ValueType To be added. To be added. Field 2.24.0.0 System.String To be added. To be added. Method 2.24.0.0 Gnome.Vfs.ModuleCallbackQuestionIn To be added. To be added. To be added. To be added. Field 2.24.0.0 System.String To be added. To be added. Field 2.24.0.0 System.String To be added. To be added. Field 2.24.0.0 Gnome.Vfs.ModuleCallbackQuestionIn To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Open.xml0000664000175000017500000001100612767740535015115 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Object To be added. To be added. Constructor 2.24.0.0 To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/ACL.xml0000664000175000017500000001505612767740535014624 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 GLib.Object To be added. To be added. Constructor 2.24.0.0 To be added. To be added. Constructor 2.24.0.0 System.Obsolete To be added. To be added. To be added. Constructor 2.24.0.0 To be added. To be added. To be added. Property 2.24.0.0 GLib.List To be added. To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. To be added. Property 2.24.0.0 GLib.GType To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/XferOverwriteMode.xml0000664000175000017500000000735112767740535017644 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum To be added To be added Field 2.24.0.0 Gnome.Vfs.XferOverwriteMode To be added To be added Field 2.24.0.0 Gnome.Vfs.XferOverwriteMode To be added To be added Field 2.24.0.0 Gnome.Vfs.XferOverwriteMode To be added To be added Field 2.24.0.0 Gnome.Vfs.XferOverwriteMode To be added To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Escape.xml0000664000175000017500000001210412767740535015414 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Object To be added. To be added. Constructor 2.24.0.0 To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/AsyncReadCallback.xml0000664000175000017500000000422312767740535017505 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added. To be added. To be added. Delegate used for notifying when an asynchronous operation has finished. To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/VolumeUnmountedArgs.xml0000664000175000017500000000637612767740535020215 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The following events invoke delegates which pass event data via this class: Constructor 2.24.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.24.0.0 Gnome.Vfs.Volume the that was unmounted. a To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Module.xml0000664000175000017500000000640212767740535015445 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Object To be added. To be added. Constructor 2.24.0.0 To be added. To be added. Method 2.24.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/XferErrorMode.xml0000664000175000017500000000477412767740535016755 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum To be added To be added Field 2.24.0.0 Gnome.Vfs.XferErrorMode To be added To be added Field 2.24.0.0 Gnome.Vfs.XferErrorMode To be added To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Url.xml0000664000175000017500000000543712767740535014771 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Object To be added. To be added. Constructor 2.24.0.0 To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Monitor.xml0000664000175000017500000001676712767740535015666 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Monitor changes to files and directories. To be added Constructor 2.24.0.0 Create a new instance. To be added Method 2.24.0.0 Gnome.Vfs.Result representation of a . whether the to monitor is a file or directory. Watch the file or directory at uri for changes (or the creation/deletion of the file) and fire an event when there is a change. If a directory monitor is added, an event is fired when any file in the directory changes. a To be added Method 2.24.0.0 Gnome.Vfs.Result Stop monitoring any files and directories. a To be added Event 2.24.0.0 Gnome.Vfs.MonitorHandler File data has changed. To be added Event 2.24.0.0 Gnome.Vfs.MonitorHandler A file has been created. To be added Event 2.24.0.0 Gnome.Vfs.MonitorHandler A file has been deleted. To be added Event 2.24.0.0 Gnome.Vfs.MonitorHandler A file metadata has changed. To be added Event 2.24.0.0 Gnome.Vfs.MonitorHandler To be added To be added Event 2.24.0.0 Gnome.Vfs.MonitorHandler To be added To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/FileInfoOptions.xml0000664000175000017500000001653412767740535017276 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum System.Flags Packed boolean bitfield representing options that can be passed into a constructor. To be added Field 2.24.0.0 Gnome.Vfs.FileInfoOptions default flags. To be added Field 2.24.0.0 Gnome.Vfs.FileInfoOptions automatically follow symbolic links and retrieve the properties of their target (recommended). To be added Field 2.24.0.0 Gnome.Vfs.FileInfoOptions only use fast MIME type detection (extensions). To be added Field 2.24.0.0 Gnome.Vfs.FileInfoOptions force slow MIME type detection where available (sniffing, algorithmic detection, etc). To be added Field 2.24.0.0 Gnome.Vfs.FileInfoOptions tries to get data similar to what would return access(2) on a local file system (ie is the file readable, writable and/or executable). Can be really slow on remote file systems. To be added Field 2.24.0.0 Gnome.Vfs.FileInfoOptions To be added. Field 2.24.0.0 Gnome.Vfs.FileInfoOptions detect the MIME type. To be added Field 2.24.0.0 Gnome.Vfs.FileInfoOptions To be added. Field 2.24.0.0 Gnome.Vfs.FileInfoOptions To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/OpenMode.xml0000664000175000017500000001055612767740535015733 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum System.Flags Mode in which files are opened. If is not used, the file will be have to be accessed sequentially. Field 2.24.0.0 Gnome.Vfs.OpenMode To be added To be added Field 2.24.0.0 Gnome.Vfs.OpenMode To be added To be added Field 2.24.0.0 Gnome.Vfs.OpenMode To be added To be added Field 2.24.0.0 Gnome.Vfs.OpenMode To be added. Field 2.24.0.0 Gnome.Vfs.OpenMode To be added To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Unescape.xml0000664000175000017500000000557712767740535015777 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Object To be added. To be added. Constructor 2.24.0.0 To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/VolumeMonitor.xml0000664000175000017500000005064512767740535017047 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Abstraction for Removable devices. The VolumeMonitor offers a simple way to get removable devices: name, icon, type, etc and operations: Eject, Mount, Unmount and others. In order to use, you need to execute the static method . This method give you a pointer to VolumeMonitor, this is a singleton, which means that it will exists and be valid until // This example show how to get all connected drives using System; using Gnome.Vfs; namespace TestGnomeVFS { public class Test() { public static void Main() { Vfs.Initialize(); VolumeMonitor vMonitor = VolumeMonitor.Get(); Drive[] drv = vMonitor.ConnectedDrives; foreach Drive d in drv) { Console.WriteLine(d.DisplayName); } Vfs.Shutdown(); } } } Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 a Internal constructor This is not typically used by C# code. Property 2.24.0.0 Gnome.Vfs.Drive[] Returns an array of connected s. a To be added Event 2.24.0.0 GLib.Signal("drive_connected") Gnome.Vfs.DriveConnectedHandler a new was connected. To be added Event 2.24.0.0 GLib.Signal("drive_disconnected") Gnome.Vfs.DriveDisconnectedHandler a was disconnected. To be added Method 2.24.0.0 Gnome.Vfs.VolumeMonitor Returns a pointer to the VolumeMonitor singleton. VolumeMonitor is a singleton, this means it is guaranteed to exist and be valid until is called. a To be added Method 2.24.0.0 Gnome.Vfs.Drive a Looks for a whose id is . a To be added Method 2.24.0.0 Gnome.Vfs.Volume a Looks for a whose id is . a To be added Method 2.24.0.0 Gnome.Vfs.Volume a Looks for a which contains . a To be added Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 Gnome.Vfs.Volume[] Returns an array of mounted s. a To be added Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDriveConnected", Type=typeof(Gnome.Vfs.VolumeMonitor)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDriveDisconnected", Type=typeof(Gnome.Vfs.VolumeMonitor)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideVolumeMounted", Type=typeof(Gnome.Vfs.VolumeMonitor)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideVolumePreUnmount", Type=typeof(Gnome.Vfs.VolumeMonitor)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideVolumeUnmounted", Type=typeof(Gnome.Vfs.VolumeMonitor)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Event 2.24.0.0 GLib.Signal("volume_mounted") Gnome.Vfs.VolumeMountedHandler a was mounted. To be added Event 2.24.0.0 GLib.Signal("volume_pre_unmount") Gnome.Vfs.VolumePreUnmountHandler a is about to be unmounted. To be added Event 2.24.0.0 GLib.Signal("volume_unmounted") Gnome.Vfs.VolumeUnmountedHandler a was unmounted. To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/VolumeType.xml0000664000175000017500000000637712767740535016344 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum The type of . To be added Field 2.24.0.0 Gnome.Vfs.VolumeType a Volume obtained via the "Connect To Server" function of Nautilus. To be added Field 2.24.0.0 Gnome.Vfs.VolumeType a Volume with a local mountpoint. To be added Field 2.24.0.0 Gnome.Vfs.VolumeType a Volume mounted via Gnome.Vfs directly. To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/DNSSDResolveHandle.xml0000664000175000017500000000247312767740535017553 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 GLib.Opaque To be added. To be added. Constructor 2.24.0.0 To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Handle.xml0000664000175000017500000000377312767740535015423 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque A handle to an asynchronous operation. To be added Constructor 2.24.0.0 To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/XferProgressStatus.xml0000664000175000017500000000741212767740535020057 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum To be added To be added Field 2.24.0.0 Gnome.Vfs.XferProgressStatus To be added To be added Field 2.24.0.0 Gnome.Vfs.XferProgressStatus To be added To be added Field 2.24.0.0 Gnome.Vfs.XferProgressStatus To be added To be added Field 2.24.0.0 Gnome.Vfs.XferProgressStatus To be added To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/MimeApplication.xml0000664000175000017500000003647712767740535017312 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque To be added To be added Constructor 2.24.0.0 To be added. To be added. To be added. Constructor 2.24.0.0 To be added. To be added. To be added. Property 2.24.0.0 System.String To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.MimeApplication To be added a To be added Property 2.24.0.0 System.String To be added. To be added. To be added. Property 2.24.0.0 System.String To be added. To be added. To be added. Method 2.24.0.0 System.Boolean To be added. To be added. To be added. To be added. Property 2.24.0.0 System.String To be added. To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. To be added. Property 2.24.0.0 System.String To be added. To be added. To be added. Property 2.24.0.0 System.String To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result a To be added a To be added Method 2.24.0.0 Gnome.Vfs.Result a a To be added a To be added Method 2.24.0.0 System.Void a To be added To be added Property 2.24.0.0 System.String To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.MimeApplication a To be added a To be added Method 2.24.0.0 System.Boolean To be added. To be added. To be added. Property 2.24.0.0 System.String To be added. To be added. To be added. Method 2.24.0.0 System.Boolean To be added. To be added. To be added. Method 2.24.0.0 System.Boolean To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/MonitorHandler.xml0000664000175000017500000000341212767740535017143 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Delegate used for notification of changes in monitored files and/or directories. See . To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/ModuleCallbackSaveAuthentication.xml0000664000175000017500000003021212767740535022575 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gnome.Vfs.ModuleCallback To be added To be added Constructor 2.24.0.0 To be added To be added Property 2.24.0.0 System.String To be added a To be added Event 2.24.0.0 Gnome.Vfs.ModuleCallbackHandler To be added. To be added. Property 2.24.0.0 System.String To be added a To be added Property 2.24.0.0 System.String To be added a To be added Property 2.24.0.0 System.String To be added a To be added Property 2.24.0.0 System.String To be added a To be added Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. Property 2.24.0.0 System.Int32 To be added a To be added Property 2.24.0.0 System.String To be added a To be added Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. Property 2.24.0.0 System.String To be added a To be added Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. Property 2.24.0.0 System.String To be added a To be added Property 2.24.0.0 System.String To be added a To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/VfsStreamAsyncResult.xml0000664000175000017500000001471212767740535020332 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object System.IAsyncResult implementation tracking a pending asynchronous operation. To wait until the operation has finished, you cannot use the since that will also block the Gnome.Vfs thread. Instead, use like this: while (!asyncResult.IsCompleted) { GLib.MainContext.Iteration (); } Property 2.24.0.0 System.Object Gets the user-provided state object supplied at the time the asynchronous operation was started. a To be added Property 2.24.0.0 System.Threading.WaitHandle Retrieving this property will throw a . Instead use "while (!asyncResult.IsCompleted) { GLib.MainContext.Iteration(); }" to wait for the operation to finish. a To be added Property 2.24.0.0 System.Boolean Returns whether the asynchronous operation completed synchronously. a To be added Property 2.24.0.0 System.Exception Retrieves the that occurred during the asynchronous operation. a To be added Property 2.24.0.0 System.Boolean Indicates whether the asynchronous operation has finished. a If an error occurred during the operation, contains the exception that was thrown. Property 2.24.0.0 System.Int32 Returns the number of bytes read or written during the operation. a To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/VolumeUnmountedHandler.xml0000664000175000017500000000501412767740535020662 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the VolumeUnmountedHandler instance to the event. The methods referenced by the VolumeUnmountedHandler instance are invoked whenever the event is raised, until the VolumeUnmountedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/ModuleCallbackAuthentication.xml0000664000175000017500000002363512767740535021771 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gnome.Vfs.ModuleCallback To be added To be added Constructor 2.24.0.0 To be added To be added Property 2.24.0.0 Gnome.Vfs.ModuleCallbackAuthentication+AuthenticationType To be added a To be added Event 2.24.0.0 Gnome.Vfs.ModuleCallbackHandler To be added. To be added. Property 2.24.0.0 System.String To be added a To be added Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. Property 2.24.0.0 System.Boolean To be added a To be added Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. Property 2.24.0.0 System.String To be added a To be added Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. Property 2.24.0.0 System.String To be added a To be added Property 2.24.0.0 System.String To be added a To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/DvdArgumentType.xml0000664000175000017500000001252112767740535017301 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Enum To be added. To be added. Field 2.24.0.0 Gnome.Vfs.DvdArgumentType To be added. Field 2.24.0.0 Gnome.Vfs.DvdArgumentType To be added. Field 2.24.0.0 Gnome.Vfs.DvdArgumentType To be added. Field 2.24.0.0 Gnome.Vfs.DvdArgumentType To be added. Field 2.24.0.0 Gnome.Vfs.DvdArgumentType To be added. Field 2.24.0.0 Gnome.Vfs.DvdArgumentType To be added. Field 2.24.0.0 Gnome.Vfs.DvdArgumentType To be added. Field 2.24.0.0 Gnome.Vfs.DvdArgumentType To be added. Field 2.24.0.0 Gnome.Vfs.DvdArgumentType To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/AsyncCloseCallback.xml0000664000175000017500000000177012767740535017703 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/MimeEquivalence.xml0000664000175000017500000000430012767740535017264 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Enum To be added. To be added. Field 2.24.0.0 Gnome.Vfs.MimeEquivalence To be added. Field 2.24.0.0 Gnome.Vfs.MimeEquivalence To be added. Field 2.24.0.0 Gnome.Vfs.MimeEquivalence To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Context.xml0000664000175000017500000001213712767740535015646 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 GLib.Opaque To be added. To be added. Constructor 2.24.0.0 To be added. To be added. Constructor 2.24.0.0 To be added. To be added. To be added. Method 2.24.0.0 System.Boolean To be added. To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Obsolete("Gnome.Vfs.Context is now freed automatically") System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Context To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/XdgAliasList.xml0000664000175000017500000000243512767740535016552 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 GLib.Opaque To be added. To be added. Constructor 2.24.0.0 To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/FileInfoFields.xml0000664000175000017500000003366512767740535017055 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum System.Flags Flags indicating what properties in a class are valid. Name is always assumed valid (how else would you have gotten a instance otherwise?). To be added Field 2.24.0.0 Gnome.Vfs.FileInfoFields the access properties (, and ) are valid. To be added Field 2.24.0.0 Gnome.Vfs.FileInfoFields To be added. Field 2.24.0.0 Gnome.Vfs.FileInfoFields property is valid. To be added Field 2.24.0.0 Gnome.Vfs.FileInfoFields property is valid. To be added Field 2.24.0.0 Gnome.Vfs.FileInfoFields property is valid. To be added Field 2.24.0.0 Gnome.Vfs.FileInfoFields property is valid. To be added Field 2.24.0.0 Gnome.Vfs.FileInfoFields property is valid. To be added Field 2.24.0.0 Gnome.Vfs.FileInfoFields To be added. Field 2.24.0.0 Gnome.Vfs.FileInfoFields property is valid. To be added Field 2.24.0.0 Gnome.Vfs.FileInfoFields property is valid. To be added Field 2.24.0.0 Gnome.Vfs.FileInfoFields property is valid. To be added Field 2.24.0.0 Gnome.Vfs.FileInfoFields property is valid. To be added Field 2.24.0.0 Gnome.Vfs.FileInfoFields property is valid. To be added Field 2.24.0.0 Gnome.Vfs.FileInfoFields no properties are valid. To be added Field 2.24.0.0 Gnome.Vfs.FileInfoFields property is valid. To be added Field 2.24.0.0 Gnome.Vfs.FileInfoFields To be added. Field 2.24.0.0 Gnome.Vfs.FileInfoFields property is valid. To be added Field 2.24.0.0 Gnome.Vfs.FileInfoFields property is valid. To be added Field 2.24.0.0 Gnome.Vfs.FileInfoFields property is valid. To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/DNSSDBrowseCallback.xml0000664000175000017500000000220012767740535017662 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/DriveDisconnectedArgs.xml0000664000175000017500000000571712767740535020441 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.24.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.24.0.0 Gnome.Vfs.Drive The disconnected . a To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/XdgMimeCallback.xml0000664000175000017500000000131012767740535017160 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Delegate System.Void To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/MimeAction.xml0000664000175000017500000001360312767740535016246 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType System.Obsolete To be added To be added Field 2.24.0.0 Gnome.Vfs.MimeActionType To be added To be added Method 2.24.0.0 System.Void To be added To be added Method 2.24.0.0 Gnome.Vfs.Result a To be added a To be added Method 2.24.0.0 Gnome.Vfs.Result a a To be added a To be added Method 2.24.0.0 Gnome.Vfs.MimeAction a To be added a To be added Field 2.24.0.0 Gnome.Vfs.MimeAction To be added To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/AsyncCreateAsChannelCallback.xml0000664000175000017500000000222512767740535021612 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/UriHideOptions.xml0000664000175000017500000001361112767740535017125 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum System.Flags Enumeration indicating which parts of a should be hidden when translated to a . To be added Field 2.24.0.0 Gnome.Vfs.UriHideOptions hide the fragment identifier. To be added Field 2.24.0.0 Gnome.Vfs.UriHideOptions hide the host name. To be added Field 2.24.0.0 Gnome.Vfs.UriHideOptions hide the host port. To be added Field 2.24.0.0 Gnome.Vfs.UriHideOptions don't hide anything. To be added Field 2.24.0.0 Gnome.Vfs.UriHideOptions hide the password. To be added Field 2.24.0.0 Gnome.Vfs.UriHideOptions hide the method (e.g. http, file). To be added Field 2.24.0.0 Gnome.Vfs.UriHideOptions hide the user name. To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/AsyncSeekCallback.xml0000664000175000017500000000176412767740535017530 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/VolumePreUnmountHandler.xml0000664000175000017500000000503112767740535021017 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the VolumePreUnmountHandler instance to the event. The methods referenced by the VolumePreUnmountHandler instance are invoked whenever the event is raised, until the VolumePreUnmountHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Format.xml0000664000175000017500000000523312767740535015451 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Object To be added. To be added. Constructor 2.24.0.0 To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/ModuleCallbackStatusMessage.xml0000664000175000017500000001762712767740535021606 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gnome.Vfs.ModuleCallback To be added To be added Constructor 2.24.0.0 To be added To be added Event 2.24.0.0 Gnome.Vfs.ModuleCallbackHandler To be added. To be added. Property 2.24.0.0 System.String To be added a To be added Property 2.24.0.0 System.Int32 To be added a To be added Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. Property 2.24.0.0 System.String To be added a To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/FileType.xml0000664000175000017500000001414712767740535015746 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum The type of file represented by a instance. To be added Field 2.24.0.0 Gnome.Vfs.FileType To be added To be added Field 2.24.0.0 Gnome.Vfs.FileType To be added To be added Field 2.24.0.0 Gnome.Vfs.FileType To be added To be added Field 2.24.0.0 Gnome.Vfs.FileType To be added To be added Field 2.24.0.0 Gnome.Vfs.FileType To be added To be added Field 2.24.0.0 Gnome.Vfs.FileType To be added To be added Field 2.24.0.0 Gnome.Vfs.FileType To be added To be added Field 2.24.0.0 Gnome.Vfs.FileType To be added To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/XferOptions.xml0000664000175000017500000002362412767740535016505 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum System.Flags To be added To be added Field 2.24.0.0 Gnome.Vfs.XferOptions To be added To be added Field 2.24.0.0 Gnome.Vfs.XferOptions To be added To be added Field 2.24.0.0 Gnome.Vfs.XferOptions To be added To be added Field 2.24.0.0 Gnome.Vfs.XferOptions To be added To be added Field 2.24.0.0 Gnome.Vfs.XferOptions To be added To be added Field 2.24.0.0 Gnome.Vfs.XferOptions To be added To be added Field 2.24.0.0 Gnome.Vfs.XferOptions To be added To be added Field 2.24.0.0 Gnome.Vfs.XferOptions To be added To be added Field 2.24.0.0 Gnome.Vfs.XferOptions To be added To be added Field 2.24.0.0 Gnome.Vfs.XferOptions To be added To be added Field 2.24.0.0 Gnome.Vfs.XferOptions To be added. Field 2.24.0.0 Gnome.Vfs.XferOptions To be added To be added Field 2.24.0.0 Gnome.Vfs.XferOptions To be added To be added Field 2.24.0.0 Gnome.Vfs.XferOptions To be added To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Async+Priority.xml0000664000175000017500000000423712767740535017116 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Enum To be added. To be added. Field 2.24.0.0 Gnome.Vfs.Async+Priority To be added. Field 2.24.0.0 Gnome.Vfs.Async+Priority To be added. Field 2.24.0.0 Gnome.Vfs.Async+Priority To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/AsyncFindDirectoryCallback.xml0000664000175000017500000000202212767740535021372 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/DriveConnectedHandler.xml0000664000175000017500000000431512767740535020413 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DriveConnectedHandler instance to the event. The methods referenced by the DriveConnectedHandler instance are invoked whenever the event is raised, until the DriveConnectedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/File.xml0000664000175000017500000000710412767740535015077 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Object To be added. To be added. Constructor 2.24.0.0 To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/MimeActionType.xml0000664000175000017500000000617612767740535017117 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum To be added To be added Field 2.24.0.0 Gnome.Vfs.MimeActionType To be added To be added Field 2.24.0.0 Gnome.Vfs.MimeActionType To be added To be added Field 2.24.0.0 Gnome.Vfs.MimeActionType To be added To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Make.xml0000664000175000017500000002402712767740535015100 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Object To be added. To be added. Constructor 2.24.0.0 To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete System.String To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Volume.xml0000664000175000017500000003730012767740535015470 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Abstraction for a mounted file system or a network location. To be added Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 a Internal constructor This is not typically used by C# code. Property 2.24.0.0 System.String The which represents this Volume (i.e. file:///media/cdrecorder). a To be added Method 2.24.0.0 System.Int32 a To be added a To be added Property 2.24.0.0 System.String The location of the actual device if applicable (i.e. /dev/hdc). a To be added Property 2.24.0.0 Gnome.Vfs.DeviceType The type of device this Volume represents. a To be added Property 2.24.0.0 System.String User readable string representing this Volume (i.e. "Harddrive"). a To be added Property 2.24.0.0 Gnome.Vfs.Drive Returns the on which this Volume resides. a To be added Method 2.24.0.0 System.Void To be added. To be added. To be added. Property 2.24.0.0 System.String The type of the file system (i.e. ext3). a To be added Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 System.String To be added. To be added. To be added. Property 2.24.0.0 System.Boolean Returns whether this Volume supports handling trash items. a To be added Property 2.24.0.0 System.String The icon name used to represent this Volume. a To be added Property 2.24.0.0 System.UInt64 Internal Volume Id. a To be added Property 2.24.0.0 System.Boolean Returns whether the Volume is mounted. a To be added Property 2.24.0.0 System.Boolean Returns whether this Volume allows write access. a To be added Property 2.24.0.0 System.Boolean Returns whether the Volume should be visible to the user. a To be added Method 2.24.0.0 System.Void To be added. To be added. To be added. Property 2.24.0.0 Gnome.Vfs.VolumeType Returns the type of Volume. a To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Read.xml0000664000175000017500000000723512767740535015100 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Object To be added. To be added. Constructor 2.24.0.0 To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/MimeMonitor.xml0000664000175000017500000001521612767740535016462 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object To be added To be added Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 a Internal constructor This is not typically used by C# code. Event 2.24.0.0 GLib.Signal("data_changed") System.EventHandler To be added To be added Method 2.24.0.0 Gnome.Vfs.MimeMonitor To be added a To be added Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideDataChanged", Type=typeof(Gnome.Vfs.MimeMonitor)) System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Is.xml0000664000175000017500000000506112767740535014573 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Object To be added. To be added. Constructor 2.24.0.0 To be added. To be added. Method 2.24.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Boolean To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/XferProgressInfo.xml0000664000175000017500000002566012767740535017474 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType To be added To be added Field 2.24.0.0 System.Int64 To be added To be added Field 2.24.0.0 System.Int64 To be added To be added Field 2.24.0.0 System.Int32 To be added To be added Field 2.24.0.0 System.String To be added To be added Property 2.24.0.0 System.UInt64 To be added a To be added Field 2.24.0.0 System.Int64 To be added To be added Property 2.24.0.0 System.UInt64 To be added a To be added Method 2.24.0.0 Gnome.Vfs.XferProgressInfo a To be added a To be added Field 2.24.0.0 Gnome.Vfs.XferPhase To be added To be added Field 2.24.0.0 System.String To be added To be added Field 2.24.0.0 Gnome.Vfs.XferProgressStatus To be added To be added Field 2.24.0.0 System.String To be added To be added Field 2.24.0.0 System.Boolean To be added To be added Field 2.24.0.0 System.Int64 To be added To be added Field 2.24.0.0 Gnome.Vfs.Result To be added To be added Field 2.24.0.0 Gnome.Vfs.XferProgressInfo To be added To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/DriveDisconnectedHandler.xml0000664000175000017500000000436112767740535021114 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the DriveDisconnectedHandler instance to the event. The methods referenced by the DriveDisconnectedHandler instance are invoked whenever the event is raised, until the DriveDisconnectedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Address.xml0000664000175000017500000002110412767740535015601 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 GLib.Opaque To be added. To be added. Constructor 2.24.0.0 To be added. To be added. To be added. Constructor 2.24.0.0 To be added. To be added. To be added. Constructor 2.24.0.0 To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Address To be added. To be added. To be added. Method 2.24.0.0 System.Boolean To be added. To be added. To be added. To be added. Property 2.24.0.0 System.Int32 To be added. To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. To be added. Property 2.24.0.0 GLib.GType To be added. To be added. To be added. Property 2.24.0.0 System.UInt32 To be added. To be added. To be added. Method 2.24.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Unlink.xml0000664000175000017500000000564012767740535015463 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Object To be added. To be added. Constructor 2.24.0.0 To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/XdgParentList.xml0000664000175000017500000000244212767740535016750 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 GLib.Opaque To be added. To be added. Constructor 2.24.0.0 To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/VolumeMountedArgs.xml0000664000175000017500000000635012767740535017642 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The following events invoke delegates which pass event data via this class: Constructor 2.24.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.24.0.0 Gnome.Vfs.Volume the that was mounted. a To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/DNSSDServiceStatus.xml0000664000175000017500000000325712767740535017625 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Enum To be added. To be added. Field 2.24.0.0 Gnome.Vfs.DNSSDServiceStatus To be added. Field 2.24.0.0 Gnome.Vfs.DNSSDServiceStatus To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/XferProgressCallback.xml0000664000175000017500000000317612767740535020273 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Int32 To be added. To be added To be added. To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/AsyncOpenCallback.xml0000664000175000017500000000176412767740535017542 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Vfs.xml0000664000175000017500000002516612767740535014766 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Common VFS tasks, including initialization & shutdown of the GNOME Virtual File System. To be added Method 2.24.0.0 System.String a Formats the file size parameter in a way that is easy for the user to read. Gives the size in bytes, kilobytes, megabytes or gigabytes, choosing whatever is appropriate. a To be added Method 2.24.0.0 System.Boolean If Gnome.Vfs is not already initialized, initialize it. This must be called prior to performing any other Gnome.Vfs operations, and may be called multiple times without error. true if Gnome.Vfs was succesfully initialized or was already initialized. To be added Property 2.24.0.0 System.Boolean Returns whether Gnome.Vfs has already been initialized. a Gnome.Vfs must be initialized prior to using any methods or operations. Method 2.24.0.0 Gnome.Vfs.Result source . destination . If true, move target to new_uri even if there is already a file at new_uri. If there is a file, it will be discarded. Move a file from source to dest. This will only work if source and dest are on the same file system. Otherwise, it is necessary to use the more general function. a To be added Method 2.24.0.0 System.String a value. Returns a string representation of , useful for debugging purposes, but probably not appropriate for passing to the user. a To be added Method 2.24.0.0 System.Void Cease all active Gnome.Vfs operations and unload the Mime database from memory. To be added Method 2.24.0.0 System.Void a Throws a with the appropriate description if the is not . To be added Method 2.24.0.0 System.Void to which the pertains. return value. Throws a with the appropriate description if the is not . Throws a if is passed. Otherwise a is thrown. Method 2.24.0.0 System.Void representing the in question. return value. Throws a with the appropriate description if the is not . Throws a if is passed. Otherwise a is thrown. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/DriveConnectedArgs.xml0000664000175000017500000000566112767740535017737 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.SignalArgs Event data. The event invokes delegates which pass event data via this class. Constructor 2.24.0.0 Public Constructor. Create a new instance with this constructor if you need to invoke a delegate. Property 2.24.0.0 Gnome.Vfs.Drive The connected . a To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Sync.xml0000664000175000017500000004640712767740535015145 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object File Operations; basic POSIX-style file operations. using Gnome.Vfs; using System; using System.Text; namespace Test.Gnome.Vfs { public class TestSync { static void Main (string[] args) { if (args.Length != 1) { Console.WriteLine ("Usage: TestSync <uri>"); return; } Gnome.Vfs.Vfs.Initialize (); Gnome.Vfs.Uri uri = new Gnome.Vfs.Uri (args[0]); Handle handle = Sync.Open (uri, OpenMode.Read); UTF8Encoding utf8 = new UTF8Encoding (); byte[] buffer = new byte[1024]; Result result = Result.Ok; while (result == Result.Ok) { ulong bytesRead; result = Sync.Read (handle, out buffer[0], (ulong)buffer.Length, out bytesRead); Console.WriteLine ("result read '{0}' = {1}", uri, result); if (bytesRead == 0) break; Console.WriteLine ("read ({0} bytes) : '{1}'", bytesRead, utf8.GetString (buffer, 0, (int)bytesRead)); } string test; result = Sync.FileControl (handle, "file:test", out test); Console.WriteLine ("result filecontrol '{0}' = {1}", uri, result); Console.WriteLine ("result file:test = {0}", test); result = Sync.Close (handle); Console.WriteLine ("result close '{0}' = {1}", uri, result); Gnome.Vfs.Vfs.Shutdown (); } } } Method 2.24.0.0 Gnome.Vfs.Result a Close file associated with . a To be added Method 2.24.0.0 Gnome.Vfs.Handle for the file to create. . Whether the file should be created in "exclusive" mode: i.e. if this flag is true, the operation will fail if a file with the same name already exists. Bitmap representing the for the newly created file (Unix style). Create according to . a To be added Method 2.24.0.0 Gnome.Vfs.Handle representing the to create. . Whether the file should be created in "exclusive" mode: i.e. if this flag is true, the operation will fail if a file with the same name already exists. Bitmap representing the for the newly created file (Unix style). Create uri according to . a To be added Method 2.24.0.0 Gnome.Vfs.Result a to the file to affect. operation to execute. data needed to execute the operation. Execute a backend dependent operation specified by the string operation. a This is typically used for specialized vfs backends that need additional operations that gnome-vfs doesn't have. Compare it to the unix call ioctl(). The format of data depends on the operation. Operation that are backend specific are normally namespaced by their module name. Method 2.24.0.0 Gnome.Vfs.Handle to open. . Open according to . a To be added Method 2.24.0.0 Gnome.Vfs.Handle representing the to open. . Open uri according to . a To be added Method 2.24.0.0 Gnome.Vfs.Result of the file to read data from. array that must be at least as large as the specified number of bytes to read. The array needs to be passed as "out buffer[0]". The number of bytes to read. The number of bytes actually read. Read specified number of bytes from the uri . a As with Unix system calls, the number of bytes read can effectively be less than the specified number of bytes on return and will be stored in bytes_read. Method 2.24.0.0 Gnome.Vfs.Result for which the current position must be changed. value representing the starting position. number of bytes to skip from the position specified by (a positive value means to move forward; a negative one to move backwards). Set the current position for reading/writing through . a To be added Method 2.24.0.0 Gnome.Vfs.Result for which the current position must be retrieved. Contains the position on return. Return the current position on . This is the point in the file pointed to by that reads and writes will occur on. a To be added Method 2.24.0.0 Gnome.Vfs.Result to the file to be truncated. length of the new file. Truncate the file pointed at by to the specified length. Data past the new length will be discarded. a To be added Method 2.24.0.0 Gnome.Vfs.Result representation of . length of the new file. Truncate the file represented by uri to the specified length. Data past the new length will be discarded. a To be added Method 2.24.0.0 Gnome.Vfs.Result of the file to write data to. array containing the data to be written. number of bytes to write. number of bytes actually written. Write number of bytes from buffer byte array into the file pointed to be . a As with Unix system calls, the number of bytes written can effectively be less than the specified number or bytes on return and will be stored in bytes_written. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/ModuleCallbackQuestionOut.xml0000664000175000017500000000521212767740535021300 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.ValueType To be added. To be added. Field 2.24.0.0 System.Int32 To be added. To be added. Method 2.24.0.0 Gnome.Vfs.ModuleCallbackQuestionOut To be added. To be added. To be added. To be added. Field 2.24.0.0 Gnome.Vfs.ModuleCallbackQuestionOut To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/XferOverwriteAction.xml0000664000175000017500000001057712767740535020201 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum To be added To be added Field 2.24.0.0 Gnome.Vfs.XferOverwriteAction To be added To be added Field 2.24.0.0 Gnome.Vfs.XferOverwriteAction To be added To be added Field 2.24.0.0 Gnome.Vfs.XferOverwriteAction To be added To be added Field 2.24.0.0 Gnome.Vfs.XferOverwriteAction To be added To be added Field 2.24.0.0 Gnome.Vfs.XferOverwriteAction To be added To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/ResolveHandle.xml0000664000175000017500000000244212767740535016753 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 GLib.Opaque To be added. To be added. Constructor 2.24.0.0 To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Truncate.xml0000664000175000017500000001240412767740535016004 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Object To be added. To be added. Constructor 2.24.0.0 To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/ModuleCallbackFullAuthentication.xml0000664000175000017500000003641412767740535022613 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gnome.Vfs.ModuleCallback To be added To be added Constructor 2.24.0.0 To be added To be added Property 2.24.0.0 System.Boolean To be added a To be added Property 2.24.0.0 System.String To be added a To be added Event 2.24.0.0 Gnome.Vfs.ModuleCallbackHandler To be added. To be added. Property 2.24.0.0 System.String To be added a To be added Property 2.24.0.0 System.String To be added a To be added Property 2.24.0.0 System.String To be added a To be added Property 2.24.0.0 Gnome.Vfs.ModuleCallbackFullAuthenticationFlags To be added a To be added Property 2.24.0.0 System.String To be added a To be added Property 2.24.0.0 System.String To be added a To be added Property 2.24.0.0 System.String To be added a To be added Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. Property 2.24.0.0 System.Int32 To be added a To be added Property 2.24.0.0 System.String To be added a To be added Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. Property 2.24.0.0 System.Boolean To be added a To be added Property 2.24.0.0 System.String To be added a To be added Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. Property 2.24.0.0 System.String To be added a To be added Property 2.24.0.0 System.String To be added a To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Xfer.xml0000664000175000017500000001645012767740535015130 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object To be added To be added Constructor 2.24.0.0 To be added To be added Method 2.24.0.0 Gnome.Vfs.Result a a a a To be added a To be added Method 2.24.0.0 Gnome.Vfs.Result a a a a a a To be added a To be added Method 2.24.0.0 Gnome.Vfs.Result a a a a a a To be added a To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/SeekPosition.xml0000664000175000017500000000621512767740535016636 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum Used to specify the start position for seek operations. To be added Field 2.24.0.0 Gnome.Vfs.SeekPosition Current position. To be added Field 2.24.0.0 Gnome.Vfs.SeekPosition End of the file. To be added Field 2.24.0.0 Gnome.Vfs.SeekPosition Start of the file. To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Application.xml0000664000175000017500000005332712767740535016473 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Object To be added. To be added. Constructor 2.24.0.0 To be added. To be added. Method 2.24.0.0 System.Obsolete System.Boolean To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete System.Void To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete System.Void To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete System.Boolean To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete GLib.List To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete System.Boolean To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete GLib.List To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete Gnome.Vfs.MimeApplication To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete GLib.List To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete System.String To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete System.Void To be added. To be added. Method 2.24.0.0 System.Obsolete System.Void To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete System.Void To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete System.Void To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete System.Void To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete System.Void To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete System.Void To be added. To be added. Method 2.24.0.0 System.Obsolete System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete Gnome.Vfs.Result To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/XferPhase.xml0000664000175000017500000003047612767740535016115 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum To be added To be added Field 2.24.0.0 Gnome.Vfs.XferPhase To be added To be added Field 2.24.0.0 Gnome.Vfs.XferPhase To be added To be added Field 2.24.0.0 Gnome.Vfs.XferPhase To be added To be added Field 2.24.0.0 Gnome.Vfs.XferPhase To be added To be added Field 2.24.0.0 Gnome.Vfs.XferPhase To be added To be added Field 2.24.0.0 Gnome.Vfs.XferPhase To be added To be added Field 2.24.0.0 Gnome.Vfs.XferPhase To be added To be added Field 2.24.0.0 Gnome.Vfs.XferPhase To be added To be added Field 2.24.0.0 Gnome.Vfs.XferPhase To be added To be added Field 2.24.0.0 Gnome.Vfs.XferPhase To be added To be added Field 2.24.0.0 Gnome.Vfs.XferPhase To be added To be added Field 2.24.0.0 Gnome.Vfs.XferPhase To be added To be added Field 2.24.0.0 Gnome.Vfs.XferPhase To be added To be added Field 2.24.0.0 Gnome.Vfs.XferPhase To be added To be added Field 2.24.0.0 Gnome.Vfs.XferPhase To be added To be added Field 2.24.0.0 Gnome.Vfs.XferPhase To be added To be added Field 2.24.0.0 Gnome.Vfs.XferPhase To be added To be added Field 2.24.0.0 Gnome.Vfs.XferPhase To be added To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/FileFlags.xml0000664000175000017500000000644712767740535016065 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum System.Flags Enumeration representing special flags a class can have. To be added Field 2.24.0.0 Gnome.Vfs.FileFlags whether the file is on a local filesystem. To be added Field 2.24.0.0 Gnome.Vfs.FileFlags no flags. To be added Field 2.24.0.0 Gnome.Vfs.FileFlags whether the file is a symlink. To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/MimeType.xml0000664000175000017500000002641412767740535015756 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object File Types; functions for getting information about files based on their MIME type. To be added Constructor 2.24.0.0 a Construct a new MimeType for this . To be added Constructor 2.24.0.0 representation of the mime type. Construct a new MimeType for the specified mime type. To be added Constructor 2.24.0.0 a array containing the first part of a file. the size of the buffer. Tries to guess the mime type of the data in the buffer using the magic patterns. To be added Property 2.24.0.0 System.Boolean Indicates whether files of this mime type might conceivably be executable. Default for known types is false. Default for unknown types is true. a To be added Property 2.24.0.0 Gnome.Vfs.MimeAction Query the mime database for default associated with a particular mime type. a To be added Property 2.24.0.0 Gnome.Vfs.MimeActionType Query the mime database for the to be performed on a particular mime type by default. a To be added Property 2.24.0.0 System.String Query the mime database for a description of the specified mime type. a To be added Method 2.24.0.0 System.String representation of the . Shortcut for determining the mime type of a file. Use this if you just want to know what mime type a file has and do not want to create a new instance of MimeType. representation of the mime type. To be added Property 2.24.0.0 System.String Query the mime database for an icon representing the specified mime type. The filename of the icon as listed in the mime database. This is usually a filename without path information, e.g. "i-chardev.png", and sometimes does not have an extension, e.g. "i-regular" if the icon is supposed to be image type agnostic between icon themes. Icons are generic, and not theme specific. These will not necessarily match with the icons a user sees in Nautilus, you have been warned. This property is deprecated. You should use to lookup icons. Property 2.24.0.0 System.String The name of the mime type. This is the same as what the method returns. a To be added Method 2.24.0.0 System.String To be added. To be added. To be added. Field 2.24.0.0 System.String The value returned for the mime type when a file did not match any entries in the mime database. May be treated as a file of an unknown type. To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Daemon.xml0000664000175000017500000000214612767740535015424 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Object To be added. To be added. Constructor 2.24.0.0 To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/XdgMimeDestroy.xml0000664000175000017500000000130412767740535017120 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Delegate System.Void To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/DNSSDService.xml0000664000175000017500000000702712767740535016420 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.ValueType To be added. To be added. Field 2.24.0.0 System.String To be added. To be added. Field 2.24.0.0 System.String To be added. To be added. Method 2.24.0.0 Gnome.Vfs.DNSSDService To be added. To be added. To be added. To be added. Field 2.24.0.0 System.String To be added. To be added. Field 2.24.0.0 Gnome.Vfs.DNSSDService To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/AsyncCallback.xml0000664000175000017500000000342512767740535016714 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Delegate used for notifying when an asynchronous operation has finished. See for examples. To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Mime.xml0000664000175000017500000017453312767740535015122 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Object Mime related static methods. Constructor 2.24.0.0 To be added. To be added. Method 2.24.0.0 System.Obsolete Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete System.Void To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 Gnome.Vfs.MimeApplication[] A mime type to query, for example 'text/plain'. Gets all the applications registered for a MIME type. an array of . Method 2.24.0.0 GLib.List To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete GLib.List To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete GLib.List To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete Gnome.Vfs.MimeAction To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete Gnome.Vfs.MimeActionType To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.MimeApplication To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.MimeApplication To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete System.IntPtr To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 GLib.List To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete System.String To be added. To be added. To be added. This method is deprecated. You should use to lookup icons. Method 2.24.0.0 System.Obsolete GLib.List To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete GLib.List To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete GLib.List To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete GLib.List To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete GLib.List To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Obsolete System.Void To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete System.Void To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete System.Void To be added. To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Obsolete GLib.List To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete GLib.List To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete System.Void To be added. To be added. Method 2.24.0.0 System.Obsolete Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Obsolete System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Obsolete System.String To be added. To be added. To be added. To be added. Method 2.24.0.0 System.String To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.MimeEquivalence To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Boolean To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Boolean To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/AsyncCreateCallback.xml0000664000175000017500000000177412767740535020045 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Check.xml0000664000175000017500000001134212767740535015234 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Object To be added. To be added. Constructor 2.24.0.0 To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/MonitorType.xml0000664000175000017500000000503112767740535016506 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum Type of to monitor. To be added Field 2.24.0.0 Gnome.Vfs.MonitorType a directory. To be added Field 2.24.0.0 Gnome.Vfs.MonitorType a file. To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/AsyncWriteCallback.xml0000664000175000017500000000424112767740535017724 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added. To be added. To be added. Delegate used for notifying when an asynchronous operation has finished. To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/VolumeMountedHandler.xml0000664000175000017500000000476212767740535020330 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. Event handler. The following events utilize this delegate: Event data is passed via the parameter. To attach a to an event, add the VolumeMountedHandler instance to the event. The methods referenced by the VolumeMountedHandler instance are invoked whenever the event is raised, until the VolumeMountedHandler is removed from the event. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/VolumeOpCallback.xml0000664000175000017500000000211312767740535017376 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Uri.xml0000664000175000017500000010467412767740535014771 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Opaque Functions for manipulating Uris. To be added Constructor 2.24.0.0 a To be added To be added Constructor 2.24.0.0 representation of a Uri. Create a new Uri instance from the representation. To be added Method 2.24.0.0 Gnome.Vfs.Uri a Create a new Uri obtained by appending the specified filename. This will take care of adding an appropriate directory separator between the end of Uri and the start of the filename if necessary. a To be added Method 2.24.0.0 Gnome.Vfs.Uri a Create a new Uri obtained by appending the path. This will take care of adding an appropriate directory separator between the end of the Uri and the start of the path if necessary as well as escaping the path as necessary. a To be added Method 2.24.0.0 Gnome.Vfs.Uri a Create a new Uri obtained by appending the Uri fragment. This will take care of adding an appropriate directory separator between the end of the Uri and the start of the fragment if necessary. a To be added Method 2.24.0.0 Gnome.Vfs.Uri Creates a duplicate of the Uri. a To be added Method 2.24.0.0 System.Boolean To be added. To be added. To be added. To be added. Property 2.24.0.0 System.Boolean Check if the Uri points to an existing entity. a To be added Method 2.24.0.0 System.String Extract the name of the directory in which the file pointed to by the Uri is stored as a newly allocated string. The string will end with a path character. a To be added Method 2.24.0.0 System.String Retrieve base file name for the Uri, ignoring any trailing path separators. a This matches the XPG definition of basename, but not g_basename. This is often useful when you want the name of something that's pointed to by a Uri, and don't care whether the Uri has a directory or file form. If the Uri points to the root of a domain, the host name is returned. If there's no host name, it returns a single path character. Method 2.24.0.0 System.String Retrieve base file name for the Uri, ignoring any trailing path separators. a This matches the XPG definition of basename, but not g_basename. This is often useful when you want the name of something that's pointed to by a Uri, and don't care whether the Uri has a directory or file form. If the Uri points to the root (including the root of any domain), it returns a single path character. Method 2.24.0.0 System.Void To be added. To be added. Property 2.24.0.0 System.String Retrieve the optional fragment identifier. a To be added Method 2.24.0.0 Gnome.Vfs.FileInfo Returns the for this Uri. a To be added Method 2.24.0.0 Gnome.Vfs.FileInfo for the metadata. Returns the for this Uri with the specified . a To be added Method 2.24.0.0 System.Int32 To be added. To be added. To be added. Method 2.24.0.0 System.String a Returns a local path for a file:/// Uri. a Only use with Uris. Method 2.24.0.0 System.String a Returns a file:/// Uri for the local path. a To be added Property 2.24.0.0 System.Boolean Check if Uri has a parent or not. a To be added Property 2.24.0.0 System.String Retrieve the Uris host name. a To be added Property 2.24.0.0 System.UInt32 Retrieve the host port number. The host port number used. If the value is zero, the default port value for the specified toplevel access method is used. To be added Property 2.24.0.0 System.Boolean Check if the Uri is a local (native) file system. a To be added Method 2.24.0.0 System.Boolean a a flag to turn recursive check on. Check if the possible_child Uri is contained by this Uri. If recursive is false, just try the immediate parent directory, else search up through the hierarchy. a To be added Method 2.24.0.0 System.String a a Returns a full Uri given a full base Uri, and a secondary Uri which may be relative. a To be added Property 2.24.0.0 Gnome.Vfs.MimeType The Uris . a To be added Property 2.24.0.0 Gnome.Vfs.Uri Retrieve the Uris parent. a To be added Method 2.24.0.0 Gnome.Vfs.Uri[] a Extracts a list of Uris from a standard text/uri-list, such as one you would get on a drop operation. a To be added Property 2.24.0.0 System.String Retrieve the password. a To be added Property 2.24.0.0 System.String Retrieve the full path name. a To be added Method 2.24.0.0 System.Void To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Uri representing a possibly relative Uri reference. Create a new Uri from relative_reference, relative to this Uri. a To be added Method 2.24.0.0 Gnome.Vfs.Uri To be added. To be added. To be added. To be added. Property 2.24.0.0 System.String Retrieve the scheme. a To be added Method 2.24.0.0 Gnome.Vfs.Result information that must be set for the file. bitmask for which fields should actually be modified. Set file information; only the information for which the corresponding bit in is set is actually modified. a To be added Method 2.24.0.0 System.String To be added. To be added. To be added. Method 2.24.0.0 System.String hide the specified fields. Translate the Uri into a printable string hiding the fields specified by . a To be added Method 2.24.0.0 Gnome.Vfs.Result length of the new file. Truncate the Uri to be the specified length in bytes. Data past the specified length will be discarded. a To be added Method 2.24.0.0 Gnome.Vfs.Result Unlink this Uri (i.e. delete the file). a To be added Method 2.24.0.0 System.Void To be added. To be added. To be added. Property 2.24.0.0 System.String Retrieve the user name. a To be added Property 2.24.0.0 System.Int64 Returns the amount of free space on a . a Only works for Uris with the file: . gtk-sharp-2.12.40/doc/en/Gnome.Vfs/ModuleCallbackAuthenticationAuthType.xml0000664000175000017500000000362012767740535023445 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Enum To be added. To be added. Field 2.24.0.0 Gnome.Vfs.ModuleCallbackAuthenticationAuthType To be added. Field 2.24.0.0 Gnome.Vfs.ModuleCallbackAuthenticationAuthType To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/AsyncHandle.xml0000664000175000017500000000243012767740535016406 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 GLib.Opaque To be added. To be added. Constructor 2.24.0.0 To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/VfsException.xml0000664000175000017500000000571712767740535016645 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Exception Custom Vfs class. To be added Constructor 2.24.0.0 return value from an operation. Create a new VfsException based on the specified . To be added Property 2.24.0.0 Gnome.Vfs.Result the error code from the underlying operation. a To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/ModuleCallback.xml0000664000175000017500000003026412767740535017065 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Abstract class used by modules for asking an application for necessary information (authentication for example). using GLib; using Gnome.Vfs; using System; using System.Text; namespace Test.Gnome.Vfs { public class TestCallback { private static MainLoop loop; static void Main (string[] args) { if (args.Length != 1) { Console.WriteLine ("Usage: TestCallback <uri>"); return; } Gnome.Vfs.Vfs.Initialize (); Gnome.Vfs.Uri uri = new Gnome.Vfs.Uri (args[0]); Handle handle; // Test 1: Attempt to access a URI requiring authentication w/o a callback registered. try { handle = Sync.Open (uri, OpenMode.Read); Sync.Close (handle); Console.WriteLine ("Uri '{0}' doesn't require authentication", uri); return; } catch (VfsException ex) { if (ex.Result != Result.ErrorAccessDenied) throw ex; } // Test 2: Attempt an open that requires authentication. ModuleCallbackFullAuthentication cb = new ModuleCallbackFullAuthentication (); cb.Callback += new ModuleCallbackHandler (OnAuthenticate); cb.SetDefault (); handle = Sync.Open (uri, OpenMode.Read); Sync.Close (handle); // Test 3: This call should not require any new authentication. Console.WriteLine ("File info: \n{0}", uri.GetFileInfo ()); // Test 4: Attempt a call to the parent uri. FileInfo[] entries = Directory.GetEntries (uri.Parent); Console.WriteLine ("Directory '{0}' has {1} entries", uri.Parent, entries.Length); // Test 5: Pop the authentication callback and try again. cb.Pop (); try { handle = Sync.Open (uri, OpenMode.Read); } catch (VfsException ex) { if (ex.Result != Result.ErrorAccessDenied) throw ex; } Gnome.Vfs.Vfs.Shutdown (); } private static void OnAuthenticate (ModuleCallback cb) { ModuleCallbackFullAuthentication fcb = cb as ModuleCallbackFullAuthentication; Console.Write ("Enter your username ({0}): ", fcb.Username); string username = Console.ReadLine (); Console.Write ("Enter your password : "); string passwd = Console.ReadLine (); if (username.Length > 0) fcb.Username = username; fcb.Password = passwd; } } } Constructor 2.24.0.0 To be added To be added Event 2.24.0.0 Gnome.Vfs.ModuleCallbackHandler Event which is called when a gnome-vfs module requires additional information from an application such as authentication. Implementations of have properties such as which can be retrieved and set from the handler. These properties are only valid during the callback activation. Method 2.24.0.0 System.Void Remove the temporary handler set with . If another temporary handler was previously set on the same thread, it becomes the current handler. Otherwise, the default handler, if any, becomes current. The temporary handlers are treated as a first-in first-out stack. Method 2.24.0.0 System.Void Remove the temporary async handler most recently set with . If another temporary async handler was previously set on the same thread, it becomes the current handler. Otherwise, the default async handler, if any, becomes current. The temporary async handlers are treated as a first-in first-out stack. Method 2.24.0.0 System.Void Set this ModuleCallback as a temporary handler. will be called on the same thread as the gnome-vfs operation that invokes it. The temporary handler is set per-thread. removes the most recently set temporary handler. The temporary handlers are treated as a first-in first-out stack. Use this function to set a temporary callback handler for a single call or a few calls. You can use to set a callback function that will establish a permanent global setting for all threads instead. Method 2.24.0.0 System.Void Set as a temprary async handler. will be called from a callback on the main thread. It will be passed a response function which should be called to signal completion of the callback. The callback function itself may return in the meantime. The temporary async handler is set per-thread. removes the most recently set temporary temporary handler. The temporary async handlers are treated as a first-in first-out stack. Use this function to set a temporary async callback handler for a single call or a few calls. You can use to set an async callback function that will establish a permanent global setting for all threads instead. Method 2.24.0.0 System.Void Set this as the default handler. will be called on the same thread as the gnome-vfs operation that invokes it. The default value is shared for all threads, but setting it is thread-safe. Use this function if you want to set a handler to be used by your whole application. You can use to set a callback function that will temporarily override the default on the current thread instead. Or you can also use to set an async callback function. Method 2.24.0.0 System.Void Set the default async callback. will be called from a callback on the main thread. It will be passed a response function which should be called to signal completion of the callback. The callback function itself may return in the meantime. The default value is shared for all threads, but setting it is thread-safe. Use this function if you want to globally set a callback handler for use with async operations. You can use to set an async callback function that will temporarily override the default on the current thread instead. Or you can also use to set a regular callback function. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Directory.xml0000664000175000017500000003737712767740535016203 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Basic directory operations: creating, reading and removing directories. using GLib; using Gnome.Vfs; using System; using System.Text; namespace Test.Gnome.Vfs { public class TestInfo { private static MainLoop loop; static void Main (string[] args) { if (args.Length != 1) { Console.WriteLine ("Usage: TestDirectory <uri>"); return; } Gnome.Vfs.Vfs.Initialize (); FileInfo[] entries = Gnome.Vfs.Directory.GetEntries (args[0]); Console.WriteLine ("Directory {0} contains {1} entries:", args[0], entries.Length); foreach (FileInfo info in entries) { Console.WriteLine (info.Name); } Gnome.Vfs.Directory.GetEntries (args[0], FileInfoOptions.Default, 20, (int)Gnome.Vfs.Async.Priority.Default, new AsyncDirectoryLoadCallback (OnDirectoryLoad)); loop = new MainLoop (); loop.Run (); Gnome.Vfs.Vfs.Shutdown (); } private static void OnDirectoryLoad (Result result, FileInfo[] entries, uint entries_read) { Console.WriteLine ("DirectoryLoad: {0}", result); if (result != Result.Ok && result != Result.ErrorEof) { loop.Quit (); return; } Console.WriteLine ("read {0} entries", entries_read); foreach (FileInfo info in entries) { Console.WriteLine (info.Name); } if (result == Result.ErrorEof) loop.Quit (); } } } Method 2.24.0.0 Gnome.Vfs.Result of the directory to be created. Unix-style permissions for the newly created directory. Create a directory at . Only succeeds if a file or directory does not already exist at . a To be added Method 2.24.0.0 Gnome.Vfs.Result URI of the directory to be created. Unix-style permissions for the newly created directory. Create a directory at uri. Only succeeds if a file or directory does not already exist at the uri. a To be added Method 2.24.0.0 Gnome.Vfs.Result of the directory to be removed. Delete . must be an empty directory. a To be added Method 2.24.0.0 Gnome.Vfs.Result URI of the directory to be removed. Remove uri. Uri must be an empty directory. a To be added Method 2.24.0.0 Gnome.Vfs.FileInfo[] a Load a directory from . a containing the files in the directory. To be added Method 2.24.0.0 Gnome.Vfs.FileInfo[] representing the URI of the directory to be loaded. Load a directory from uri. a containing the files in the directory. To be added Method 2.24.0.0 Gnome.Vfs.FileInfo[] a for loading the directory. Load a directory from with the specified . a containing the files in the directory. To be added Method 2.24.0.0 Gnome.Vfs.FileInfo[] representing the URI of the directory to be loaded. for loading the directory. Load a directory from uri with the specified . a containing the files in the directory. To be added Method 2.24.0.0 System.Void a for loading the directory. the number of entries to read in the directory per notification. a value from to (normally should be ) indicating the priority to assign this job in allocating threads from the thread pool. a to be called when the specified number of entries have been read or the operation is complete. Asynchronously load a directory from with the specified . To be added Method 2.24.0.0 System.Void representing the URI of the directory to be loaded. for loading the directory. the number of entries to read in the directory per notification. a value from to (normally should be ) indicating the priority to assign this job in allocating threads from the thread pool. a to be called when the specified number of entries have been read or the operation is complete. Asynchronously load a directory from uri with the specified . To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/AsyncDirectoryLoadCallback.xml0000664000175000017500000000375512767740535021407 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added. Delegate used for notifying when a specified number of entries have been read from a directory. Used in . To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Drive.xml0000664000175000017500000005523012767740535015274 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Container for (floppy drive, CD reader, ...). To be added Constructor 2.24.0.0 To be added To be added Constructor 2.24.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.24.0.0 a Internal constructor This is not typically used by C# code. Property 2.24.0.0 System.String The which represents this Drive (i.e. file:///media/cdrecorder). a To be added Method 2.24.0.0 System.Int32 a To be added a To be added Property 2.24.0.0 System.String The location of the actual device if applicable (i.e. /dev/hdc). a To be added Property 2.24.0.0 Gnome.Vfs.DeviceType The type of device this Drive represents. a To be added Property 2.24.0.0 System.String User readable string representing this Drive (i.e. "CD-RW/DVD-ROM Drive"). a To be added Method 2.24.0.0 System.Void To be added. To be added. To be added. Property 2.24.0.0 GLib.GType GType Property. a Returns the native value for . Property 2.24.0.0 System.String To be added. To be added. To be added. Property 2.24.0.0 System.String The icon name used to represent this Drive. a To be added Property 2.24.0.0 System.UInt64 Internal Drive Id. a To be added Property 2.24.0.0 System.Boolean Returns whether the Drive is connected. a To be added Property 2.24.0.0 System.Boolean Returns whether the Drive is mounted. a To be added Property 2.24.0.0 System.Boolean Returns whether the Drive should be visible to the user. a To be added Method 2.24.0.0 System.Void To be added. To be added. To be added. Property 2.24.0.0 System.Obsolete Gnome.Vfs.Volume If , this points to the mounted . a To be added Property 2.24.0.0 GLib.List To be added. To be added. To be added. Method 2.24.0.0 System.Boolean To be added. To be added. To be added. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideVolumeMounted", Type=typeof(Gnome.Vfs.Drive)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideVolumePreUnmount", Type=typeof(Gnome.Vfs.Drive)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 GLib.DefaultSignalHandler(ConnectionMethod="OverrideVolumeUnmounted", Type=typeof(Gnome.Vfs.Drive)) System.Void a Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method 2.24.0.0 System.Void To be added. To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. To be added. Event 2.24.0.0 GLib.Signal("volume_mounted") Gnome.Vfs.VolumeMountedHandler Drive has been mounted. To be added Event 2.24.0.0 GLib.Signal("volume_pre_unmount") Gnome.Vfs.VolumePreUnmountHandler Drive is about to be unmounted. To be added Event 2.24.0.0 GLib.Signal("volume_unmounted") Gnome.Vfs.VolumeUnmountedHandler Drive has been unmounted. To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/DNSSDResolveCallback.xml0000664000175000017500000000324612767740535020053 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Delegate System.Void To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/ModuleCallbackFullAuthenticationFlags.xml0000664000175000017500000001266612767740535023573 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum System.Flags To be added To be added Field 2.24.0.0 Gnome.Vfs.ModuleCallbackFullAuthenticationFlags To be added. Field 2.24.0.0 Gnome.Vfs.ModuleCallbackFullAuthenticationFlags To be added To be added Field 2.24.0.0 Gnome.Vfs.ModuleCallbackFullAuthenticationFlags To be added To be added Field 2.24.0.0 Gnome.Vfs.ModuleCallbackFullAuthenticationFlags To be added To be added Field 2.24.0.0 Gnome.Vfs.ModuleCallbackFullAuthenticationFlags To be added To be added Field 2.24.0.0 Gnome.Vfs.ModuleCallbackFullAuthenticationFlags To be added To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/ModuleCallbackFillAuthentication.xml0000664000175000017500000003013012767740535022564 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gnome.Vfs.ModuleCallback To be added To be added Constructor 2.24.0.0 To be added To be added Property 2.24.0.0 System.String To be added a To be added Event 2.24.0.0 Gnome.Vfs.ModuleCallbackHandler To be added. To be added. Property 2.24.0.0 System.String To be added a To be added Property 2.24.0.0 System.String To be added a To be added Property 2.24.0.0 System.String To be added a To be added Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. Property 2.24.0.0 System.Int32 To be added a To be added Property 2.24.0.0 System.String To be added a To be added Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. Property 2.24.0.0 System.String To be added a To be added Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. Property 2.24.0.0 System.String To be added a To be added Property 2.24.0.0 System.String To be added a To be added Property 2.24.0.0 System.Boolean To be added a To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Create.xml0000664000175000017500000001447012767740535015427 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Object To be added. To be added. Constructor 2.24.0.0 To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/ModuleCallbackAuthentication+AuthenticationType.xml0000664000175000017500000000363312767740535025602 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Enum To be added. To be added. Field 2.24.0.0 Gnome.Vfs.ModuleCallbackAuthentication+AuthenticationType To be added. Field 2.24.0.0 Gnome.Vfs.ModuleCallbackAuthentication+AuthenticationType To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/DeviceType.xml0000664000175000017500000003002412767740535016256 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum Enumeration used in and to represent the device type. To be added Field 2.24.0.0 Gnome.Vfs.DeviceType To be added To be added Field 2.24.0.0 Gnome.Vfs.DeviceType To be added To be added Field 2.24.0.0 Gnome.Vfs.DeviceType To be added To be added Field 2.24.0.0 Gnome.Vfs.DeviceType To be added To be added Field 2.24.0.0 Gnome.Vfs.DeviceType To be added To be added Field 2.24.0.0 Gnome.Vfs.DeviceType To be added To be added Field 2.24.0.0 Gnome.Vfs.DeviceType To be added To be added Field 2.24.0.0 Gnome.Vfs.DeviceType To be added To be added Field 2.24.0.0 Gnome.Vfs.DeviceType To be added To be added Field 2.24.0.0 Gnome.Vfs.DeviceType To be added To be added Field 2.24.0.0 Gnome.Vfs.DeviceType To be added To be added Field 2.24.0.0 Gnome.Vfs.DeviceType To be added To be added Field 2.24.0.0 Gnome.Vfs.DeviceType To be added To be added Field 2.24.0.0 Gnome.Vfs.DeviceType To be added To be added Field 2.24.0.0 Gnome.Vfs.DeviceType To be added To be added Field 2.24.0.0 Gnome.Vfs.DeviceType To be added To be added Field 2.24.0.0 Gnome.Vfs.DeviceType To be added To be added Field 2.24.0.0 Gnome.Vfs.DeviceType To be added To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Result.xml0000664000175000017500000010316612767740535015503 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum Enumeration containing result codes for gnome-vfs operations. To be added Field 2.24.0.0 Gnome.Vfs.Result Access denied. To be added Field 2.24.0.0 Gnome.Vfs.Result Bad file handle. To be added Field 2.24.0.0 Gnome.Vfs.Result Invalid parameters. To be added Field 2.24.0.0 Gnome.Vfs.Result Operation cancelled. To be added Field 2.24.0.0 Gnome.Vfs.Result Data corrupted. To be added Field 2.24.0.0 Gnome.Vfs.Result To be added. Field 2.24.0.0 Gnome.Vfs.Result Directory busy. To be added Field 2.24.0.0 Gnome.Vfs.Result Directory not empty. To be added Field 2.24.0.0 Gnome.Vfs.Result End of file. To be added Field 2.24.0.0 Gnome.Vfs.Result File exists. To be added Field 2.24.0.0 Gnome.Vfs.Result Generic error. To be added Field 2.24.0.0 Gnome.Vfs.Result Host has no address. To be added Field 2.24.0.0 Gnome.Vfs.Result Host not found. To be added Field 2.24.0.0 Gnome.Vfs.Result Operation in progress. To be added Field 2.24.0.0 Gnome.Vfs.Result Internal error. To be added Field 2.24.0.0 Gnome.Vfs.Result Operation interrupted. To be added Field 2.24.0.0 Gnome.Vfs.Result To be added. Field 2.24.0.0 Gnome.Vfs.Result Host name not valid. To be added Field 2.24.0.0 Gnome.Vfs.Result Open mode not valid. To be added Field 2.24.0.0 Gnome.Vfs.Result Invalid . To be added Field 2.24.0.0 Gnome.Vfs.Result I/O error. To be added Field 2.24.0.0 Gnome.Vfs.Result Is a directory. To be added Field 2.24.0.0 Gnome.Vfs.Result Error launching command. To be added Field 2.24.0.0 Gnome.Vfs.Result To be added. Field 2.24.0.0 Gnome.Vfs.Result Login failed. To be added Field 2.24.0.0 Gnome.Vfs.Result Looping links encountered. To be added Field 2.24.0.0 Gnome.Vfs.Result To be added. Field 2.24.0.0 Gnome.Vfs.Result Name too long. To be added Field 2.24.0.0 Gnome.Vfs.Result No default action associated. To be added Field 2.24.0.0 Gnome.Vfs.Result No handler for URL scheme. To be added Field 2.24.0.0 Gnome.Vfs.Result Could not find master browser. To be added Field 2.24.0.0 Gnome.Vfs.Result Not enough memory. To be added Field 2.24.0.0 Gnome.Vfs.Result No space left on device. To be added Field 2.24.0.0 Gnome.Vfs.Result Not a directory. To be added Field 2.24.0.0 Gnome.Vfs.Result To be added. Field 2.24.0.0 Gnome.Vfs.Result File not found. To be added Field 2.24.0.0 Gnome.Vfs.Result File not open. To be added Field 2.24.0.0 Gnome.Vfs.Result Operation not permitted. To be added Field 2.24.0.0 Gnome.Vfs.Result Not on the same file system. To be added Field 2.24.0.0 Gnome.Vfs.Result Unsupported operation. To be added Field 2.24.0.0 Gnome.Vfs.Result Error parsing command line. To be added Field 2.24.0.0 Gnome.Vfs.Result Protocol error. To be added Field 2.24.0.0 Gnome.Vfs.Result Read-only file system. To be added Field 2.24.0.0 Gnome.Vfs.Result Read only file system. To be added Field 2.24.0.0 Gnome.Vfs.Result Service not available. To be added Field 2.24.0.0 Gnome.Vfs.Result Request obsoletes service's data. To be added Field 2.24.0.0 Gnome.Vfs.Result To be added. Field 2.24.0.0 Gnome.Vfs.Result File too big. To be added Field 2.24.0.0 Gnome.Vfs.Result Too many links. To be added Field 2.24.0.0 Gnome.Vfs.Result Too many open files. To be added Field 2.24.0.0 Gnome.Vfs.Result Format not valid. To be added Field 2.24.0.0 Gnome.Vfs.Result Number of errors. To be added Field 2.24.0.0 Gnome.Vfs.Result No error. To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/FilePermissions.xml0000664000175000017500000003124612767740535017337 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum System.Flags File permissions. These are the same as the Unix ones, but we wrap them into a nicer VFS-like enum. To be added Field 2.24.0.0 Gnome.Vfs.FilePermissions To be added To be added Field 2.24.0.0 Gnome.Vfs.FilePermissions To be added To be added Field 2.24.0.0 Gnome.Vfs.FilePermissions To be added To be added Field 2.24.0.0 Gnome.Vfs.FilePermissions group has all permissions. To be added Field 2.24.0.0 Gnome.Vfs.FilePermissions group has execution permission. To be added Field 2.24.0.0 Gnome.Vfs.FilePermissions group has read permission. To be added Field 2.24.0.0 Gnome.Vfs.FilePermissions group has write permission. To be added Field 2.24.0.0 Gnome.Vfs.FilePermissions others have all permissions. To be added Field 2.24.0.0 Gnome.Vfs.FilePermissions others have execution permission. To be added Field 2.24.0.0 Gnome.Vfs.FilePermissions others have read permission. To be added Field 2.24.0.0 Gnome.Vfs.FilePermissions others have write permission. To be added Field 2.24.0.0 Gnome.Vfs.FilePermissions GID bit. To be added Field 2.24.0.0 Gnome.Vfs.FilePermissions sticky bit. To be added Field 2.24.0.0 Gnome.Vfs.FilePermissions UID bit. To be added Field 2.24.0.0 Gnome.Vfs.FilePermissions owner has all permissions. To be added Field 2.24.0.0 Gnome.Vfs.FilePermissions owner has execution permission. To be added Field 2.24.0.0 Gnome.Vfs.FilePermissions owner has read permission. To be added Field 2.24.0.0 Gnome.Vfs.FilePermissions owner has write permission. To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Resolve.xml0000664000175000017500000000722412767740535015642 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Object To be added. To be added. Constructor 2.24.0.0 To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. To be added. Method 2.24.0.0 System.Boolean To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/ModuleCallbackFullAuthenticationOutFlags.xml0000664000175000017500000000261612767740535024255 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Enum System.Flags To be added. To be added. Field 2.24.0.0 Gnome.Vfs.ModuleCallbackFullAuthenticationOutFlags To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Async.xml0000664000175000017500000004717312767740535015307 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Asynchronous File Operations; POSIX-style file operations that run outside your main loop. The members of this class are all static methods and use the class to reference asynchronous operations in progress. using GLib; using Gnome.Vfs; using System; using System.Text; using System.Threading; namespace Test.Gnome.Vfs { public class TestAsync { private static MainLoop loop; private static Handle handle; static void Main (string[] args) { if (args.Length != 1) { Console.WriteLine ("Usage: TestAsync <uri>"); return; } Gnome.Vfs.Vfs.Initialize (); Gnome.Vfs.Uri uri = new Gnome.Vfs.Uri (args[0]); handle = Async.Open (uri, OpenMode.Read, (int)Async.Priority.Default, new Gnome.Vfs.AsyncCallback (OnOpen)); loop = new MainLoop (); loop.Run (); Gnome.Vfs.Vfs.Shutdown (); } private static void OnOpen (Handle handle, Result result) { Console.WriteLine ("Uri opened: {0}", result); if (result != Result.Ok) { loop.Quit (); return; } byte[] buffer = new byte[1024]; Async.Read (handle, out buffer[0], (uint)buffer.Length, new AsyncReadCallback (OnRead)); } private static void OnRead (Handle handle, Result result, byte[] buffer, ulong bytes_requested, ulong bytes_read) { Console.WriteLine ("Read: {0}", result); if (result != Result.Ok && result != Result.ErrorEof) { loop.Quit (); return; } UTF8Encoding utf8 = new UTF8Encoding (); Console.WriteLine ("read ({0} bytes) : '{1}'", bytes_read, utf8.GetString (buffer, 0, (int)bytes_read)); if (bytes_read != 0) Async.Read (handle, out buffer[0], (uint)buffer.Length, new AsyncReadCallback (OnRead)); else Async.Close (handle, new Gnome.Vfs.AsyncCallback (OnClose)); } private static void OnClose (Handle handle, Result result) { Console.WriteLine ("Close: {0}", result); loop.Quit (); } } } Method 2.24.0.0 System.Void of the async operation to be cancelled Cancel an asynchronous operation and close all its callbacks. Its possible to still receive another call or two on the callback. To be added Method 2.24.0.0 System.Void a to close a to be called when the operation is complete Close a handle opened with . When the close has completed, will be called with the of the operation. To be added Method 2.24.0.0 Gnome.Vfs.Handle the to create a file at. mode to leave the file opened in after creation (or to leave the file closed after creation). Whether the file should be created in "exclusive" mode: i.e. if this flag is nonzero, operation will fail if a file with the same name already exists. Bitmap representing the permissions for the newly created file (Unix style). a value from to (normally should be ) indicating the priority to assign this job in allocating threads from the thread pool. a to be called when the operation is complete. Create a file at according to mode , with permissions . When the create has been completed will be called with the . a To be added Method 2.24.0.0 Gnome.Vfs.Handle the URI to create a file at. mode to leave the file opened in after creation (or to leave the file closed after creation). Whether the file should be created in "exclusive" mode: i.e. if this flag is nonzero, operation will fail if a file with the same name already exists. Bitmap representing the permissions for the newly created file (Unix style). a value from to (normally should be ) indicating the priority to assign this job in allocating threads from the thread pool. a to be called when the operation is complete. Create a file at uri according to mode , with permissions . When the create has been completed will be called with the . a To be added Method 2.24.0.0 Gnome.Vfs.Handle to open. . a value from to (normally should be ) indicating the priority to assign this job in allocating threads from the thread pool. a to be called when the operation is complete. Open according to mode . Once the file has been successfully opened, will be called with the . a To be added Method 2.24.0.0 Gnome.Vfs.Handle of the URI to open. . a value from to (normally should be ) indicating the priority to assign this job in allocating threads from the thread pool. a to be called when the operation is complete. Open uri according to mode . Once the file has been successfully opened, will be called with the . a To be added Method 2.24.0.0 System.Void for the file to be read. allocated array of to read into. Needs to be passed as "out buffer[0]". number of bytes to read. a to be called when the operation is complete. Read number of bytes from the file pointed to by into byte array buffer. When the operation is complete, will be called with the of the operation. To be added Method 2.24.0.0 System.Void for which the current position must be changed. value representing the starting position. number of bytes to skip from the position specified by (a positive value means to move forward; a negative one to move backwards). a to be called when the operation is complete. Set the current position for reading/writing through . When the operation is complete, will be called with the of the operation. To be added Method 2.24.0.0 System.Void for the file to be written. array containing data to be written. Needs to be passed as "out buffer[0]". number of bytes to write. a to be called when the operation is complete. Write number of bytes from buffer byte array into the file pointed to be . When the operation is complete, will be called with the of the operation. To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/XferErrorAction.xml0000664000175000017500000000615212767740535017276 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum To be added To be added Field 2.24.0.0 Gnome.Vfs.XferErrorAction To be added To be added Field 2.24.0.0 Gnome.Vfs.XferErrorAction To be added To be added Field 2.24.0.0 Gnome.Vfs.XferErrorAction To be added To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/SetFileInfoMask.xml0000664000175000017500000001450412767740535017205 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum System.Flags Packed boolean bitfield representing the aspects of the file to be changed in a call. To be added Field 2.24.0.0 Gnome.Vfs.SetFileInfoMask To be added. Field 2.24.0.0 Gnome.Vfs.SetFileInfoMask change the name. To be added Field 2.24.0.0 Gnome.Vfs.SetFileInfoMask don't set any file info fields. To be added Field 2.24.0.0 Gnome.Vfs.SetFileInfoMask change the file's owner. To be added Field 2.24.0.0 Gnome.Vfs.SetFileInfoMask change the permissions. To be added Field 2.24.0.0 Gnome.Vfs.SetFileInfoMask To be added. Field 2.24.0.0 Gnome.Vfs.SetFileInfoMask To be added. Field 2.24.0.0 Gnome.Vfs.SetFileInfoMask change the file's time stamp(s). To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/Move.xml0000664000175000017500000000701012767740535015122 00000000000000 gnome-vfs-sharp 2.20.0.0 2.24.0.0 System.Object To be added. To be added. Constructor 2.24.0.0 To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 Gnome.Vfs.Result To be added. To be added. To be added. To be added. To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/ModuleCallbackHandler.xml0000664000175000017500000000312412767740535020356 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added To be added gtk-sharp-2.12.40/doc/en/Gnome.Vfs/VfsStream.xml0000664000175000017500000004702512767740535016140 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.IO.Stream implementation using the Gnome.Vfs library. The VfsStream class hides the Gnome.Vfs API from the developer. It uses the class and associated enums to access the representation of the passed in the constructor. This class is particularly useful if you want to develop an application that wants to use Gnome.Vfs where available, but can't depend on it being available always. On platforms where Gnome.Vfs is not available, the application can fallback to a regular . This doesn't affect how the rest of the application deals with the stream since both implement the abstract class. Constructor 2.24.0.0 representing the to open. specifying how to open the . Construct a new instance of the VfsStream with the specified . The underlying file will be accessed synchronously using the class. Constructor 2.24.0.0 representing the to open. specifying how to open the . whether to access the file (a)sychronously. Construct a new instance of the VfsStream with the specified . Based the async parameter, the file will be accessed (a)synchronously. The underlying file will be accessed either by using the or class. Method 2.24.0.0 System.IAsyncResult To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.IAsyncResult To be added. To be added. To be added. To be added. To be added. To be added. To be added. To be added. Property 2.24.0.0 System.Boolean To be added. To be added. To be added. Property 2.24.0.0 System.Boolean To be added. To be added. To be added. Property 2.24.0.0 System.Boolean To be added. To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. Method 2.24.0.0 System.Int32 To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. Property 2.24.0.0 System.Boolean value indicating whether the current stream is (a)synchronous. a To be added Property 2.24.0.0 System.Int64 To be added. To be added. To be added. Property 2.24.0.0 System.Int64 To be added. To be added. To be added. Method 2.24.0.0 System.Int32 To be added. To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Int32 To be added. To be added. To be added. Method 2.24.0.0 System.Int64 To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. To be added. Property 2.24.0.0 System.String Gets the representing the which this stream reads and writes from. a To be added Method 2.24.0.0 System.Void To be added. To be added. To be added. To be added. To be added. Method 2.24.0.0 System.Void To be added. To be added. To be added. gtk-sharp-2.12.40/doc/en/Gnome.Vfs/MimeApplicationArgumentType.xml0000664000175000017500000000640012767740535021636 00000000000000 gnome-vfs-sharp [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.20.0.0 2.24.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Enum To be added To be added Field 2.24.0.0 Gnome.Vfs.MimeApplicationArgumentType To be added To be added Field 2.24.0.0 Gnome.Vfs.MimeApplicationArgumentType To be added To be added Field 2.24.0.0 Gnome.Vfs.MimeApplicationArgumentType To be added To be added gtk-sharp-2.12.40/doc/en/Gtk.DotNet/0000775000175000017500000000000012767740535013673 500000000000000gtk-sharp-2.12.40/doc/en/Gtk.DotNet/Graphics.xml0000664000175000017500000001053612767740535016102 00000000000000 gtk-dotnet [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4] 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Gdk to System.Drawing.Graphics interoperability. Method 2.12.0.0 System.Drawing.Graphics a Gets a context for a a Use this method to obtain a System.Drawing.Graphics context from a Gtk drawable. Both pixmaps () and windows () are drawables (). The following example shows how to create a custom widget that renders a mesh. This example overrides the OnExposeEvent method and uses calls to do the actual drawing: using System.Drawing; using Gtk; class PrettyGraphic : DrawingArea { public PrettyGraphic () { SetSizeRequest (200, 200); } protected override bool OnExposeEvent (Gdk.EventExpose args) { using (Graphics g = Gtk.DotNet.Graphics.FromDrawable (args.Window)){ Pen p = new Pen (Color.Blue, 1.0f); for (int i = 0; i < 600; i += 60) for (int j = 0; j < 600; j += 60) g.DrawLine (p, i, 0, 0, j); } return true; } } Method 2.12.0.0 System.Drawing.Graphics a a Gets a context for a a To be added gtk-sharp-2.12.40/doc/en/Glade/0000775000175000017500000000000012767740535012766 500000000000000gtk-sharp-2.12.40/doc/en/Glade/Global.xml0000664000175000017500000002666712767740535014651 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Global API elements for Global class collects certain, commonly used funtions of the underlying libglade API which is necessary to glade-sharp to load the .glade files. All members of this class are static functions. Glade-sharp uses the functions to load Register custom properties to a widget Read enums/flags from strings present in .glade files Register widget with XML tree, read widget name from widget pointer Constructor 2.12.0.0 Default constructor The Global class has only static functions, and no methods, which make it redundant for us to normally create this object. Method 2.12.0.0 System.Int32 a a This helper routine is designed to be used by widget build routines to convert the string representations of enumeration values found in the XML descriptions to the integer values that can be used to configure the widget. a The string is composed of string names or nicknames for various flags separated by '|'. Method 2.12.0.0 System.UInt32 a a This helper routine is designed to be used by widget build routines to convert the string representations of flags values found in the XML descriptions to the integer values that can be used to configure the widget. a The string is composed of string names or nicknames for various flags separated by '|'. Method 2.12.0.0 System.String a Used to get the name of a widget that was generated by a object. a Get Widget Name of current widget. Method 2.12.0.0 Glade.XML a This function is used to get the object that built this widget. a Method 2.12.0.0 System.String a Checks the version of a module. a Method 2.12.0.0 System.Void the of the widget. the name of the custom property the to call when the property is found. This method provides a way to register handlers for custom properties. Some properties are not (yet) handled through the GObject property code, so can not be handled by the generic code. This function provides a way to register handlers for these properties. Such handlers will apply for the GType type and all its descendants. Method 2.12.0.0 System.Void the of a widget. the used to construct the widget. the used to construct the children or null. the to find the internal children or null. This method registers new construction methods for a widget type. Method 2.12.0.0 System.Obsolete("Replaced by Glade.XML.CustomHandler static property.") System.Void the to use when a custom widget is found. this method allows you to override the default behaviour when a Custom widget is found in an interface. gtk-sharp-2.12.40/doc/en/Glade/SignalInfo.xml0000664000175000017500000001120412767740535015457 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType The structure is used as part of the output of libglade's XML parser. Property 2.12.0.0 System.Boolean To be added a To be added Field 2.12.0.0 System.String To be added Field 2.12.0.0 System.String To be added Method 2.12.0.0 Glade.SignalInfo an object of type Internal method an object of type This is an internal method and should not be used by user code. Field 2.12.0.0 System.String To be added Field 2.12.0.0 Glade.SignalInfo Returns an empty gtk-sharp-2.12.40/doc/en/Glade/ChildInfo.xml0000664000175000017500000001145312767740535015273 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType This structure is used as part of the output of libglade's XML parser. Information about child widgets. Property 2.12.0.0 Glade.WidgetInfo A child widget. a Field 2.12.0.0 System.String To be added Method 2.12.0.0 Glade.ChildInfo an object of type Internal method an object of type This is an internal method and should not be used by user code. Field 2.12.0.0 System.UInt32 The number of properties this widget has. Property 2.12.0.0 Glade.Property The widget's properties. a Field 2.12.0.0 Glade.ChildInfo Returns an empty gtk-sharp-2.12.40/doc/en/Glade/Interface.xml0000664000175000017500000001637212767740535015341 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType The structures described here are the output of libglade's XML parser. These structures are really only useful for people who are extending libglade to handle other widget sets, but it could also be useful for other applications that need to read glade XML files. If you only wish to use libglade, you don't need to worry about these functions and structures. Method 2.12.0.0 System.Void Frees the resources of this interface. Method 2.12.0.0 System.Void a This function dumps the contents of a into a file as XML. It is intended mainly as a debugging tool. Method 2.12.0.0 Glade.Interface an object of type Internal method an object of type This is an internal method and should not be used by user code. Field 2.12.0.0 System.UInt32 To be added Field 2.12.0.0 System.UInt32 The number of Top Level Widget Definitions in the Interface. Field 2.12.0.0 System.String To be added Property 2.12.0.0 System.Obsolete("Replaced by Toplevels property") Glade.WidgetInfo The top-level widgets. an object of type Property 2.12.0.0 Glade.WidgetInfo[] The Top Level Widgets in the interface. an array of structures. Field 2.12.0.0 Glade.Interface Returns an empty gtk-sharp-2.12.40/doc/en/Glade/XML.xml0000664000175000017500000013325212767740535014076 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. GLib.Object Allows dynamic loading of user interfaces from XML descriptions This object represents an `instantiation' of an XML interface description. When one of these objects is created, the XML file is read, and the interface is created. The object can also be used to connect handlers to the named signals in the description. The easiest way to use this feature is to let it automatically connect signal handlers for you. This can be achieved by using the method. searches the specified or for method names matching those defined in the XML interface description file and connects them to the appropriate signals. It also searches for fields having the attached and tries to bind them to widgets of the same name defined in the XML description. The following examples supposes that an XML interface description of a simple application exists in the file "gui.glade". The application consists of a main window ("MyWindow") which contains a button and a text entry ("MyEntry"). The handler for the button clicked signal is named "OnMyButtonClicked" and the handler for the window delete event is named "OnMyWindowDeleteEvent". using System; using Gtk; using Glade; public class GladeApp { // declare the widgets you will use from glade [Glade.WidgetAttribute] Gtk.Entry MyEntry; public static void Main (string[] args) { new GladeApp (args); } public GladeApp (string[] args) { Application.Init(); Glade.XML gxml = new Glade.XML ("gui.glade", "MyWindow", null); gxml.Autoconnect (this); Application.Run(); } // Connect the Signals defined in Glade public void OnMyWindowDeleteEvent (object o, DeleteEventArgs args) { Application.Quit (); args.RetVal = true; } public void OnMyButtonClicked(object o, EventArgs args) { Console.WriteLine("In entry: " + MyEntry.Text); } } Constructor 2.12.0.0 System.Obsolete a Protected Constructor. Chain to this constructor if you have manually registered a native value for your subclass. Constructor 2.12.0.0 Pointer to the C object. Internal constructor This is an internal constructor, and should not be used by user code. Constructor 2.12.0.0 a a Creates an Glade.XML object from a resource and root object. This is a convenience overload for with the 1st and 4th arguments being . Constructor 2.12.0.0 a the widget node to start building from, or . the translation domain for the XML file ( is the default) Creates an object from a Constructor 2.12.0.0 the filename the widget node to start building from, or . the translation domain for the XML file ( is the default) Creates an from a file Constructor 2.12.0.0 an , or to use the current assembly the name of the resource in the widget node to start building from, or . the translation domain for the XML file ( is the default) Creates an object from an Constructor 2.12.0.0 a string containing the content of the glade XML file the length of the widget node to start building from, or . the translation domain for the XML file ( is the default) Creates an object from a buffer Method 2.12.0.0 System.Void an with handler methods Automatically connect signals Connects the signals definied in the glade file with static handler methods provided by the given object, . Method 2.12.0.0 System.Void a with handler methods Automatically connect signals Connects the signals defined in the glade file with static handler methods provided by the given , . Method 2.12.0.0 System.Void The object whose fields are to be bound to the object Binds the widgets declared in the Glade interface specification, to argument's suitable fields. These fields should be marked with the attributes. Any signal declared in the interface specification should be connected using (for detailed control of signal connection) or , the mirror image of this method. Method 2.12.0.0 System.Void an object of type To be added Method 2.12.0.0 Gtk.Widget the structure for the widget. This function is not intended for people who just use libglade. the newly created widget. This function is not intended for people who just use libglade. Instead it is for people extending it (it is designed to be called in the child build routine defined for the parent widget). It first checks the type of the widget from the class tag, then calls the corresponding widget creation routine. This routine sets up all the settings specific to that type of widget. Then general widget settings are performed on the widget. Then it sets up accelerators for the widget, and extracts any signal information for the widget. Then it checks to see if there are any child widget nodes for this widget, and if so calls the widget's build routine, which will create the children with this function and add them to the widget in the appropriate way. Finally it returns the widget. Method 2.12.0.0 System.Boolean the XML filename the root widget node, or the translation domain, or This routine can be used by bindings (such as gtk--) to help construct a object, if it is needed. if construction succeeded Method 2.12.0.0 System.Boolean XML buffer. buffer size. root name. domain. Constructs an instance from a buffer. boolean representing success. Property 2.12.0.0 Glade.XMLCustomWidgetHandler Allows you to override the default behaviour when a Custom widget is found in an interface. a Setting this property allows you to override the default behaviour when a Custom widget is found in an interface. This could be used by a language binding to call some other function, or to limit what functions can be called to create custom widgets Method 2.12.0.0 Gtk.AccelGroup This function is used to get the current . If there isn't one, a new one is created and bound to the current toplevel window (if a toplevel has been set). the current Property 2.12.0.0 System.String the filename of the object the filename that this Glade XML object is created from Method 2.12.0.0 Glade.XML a a a Returns a new from a resource in the current assembly. a Reads the contents of the resource in the current assembly and parses it. If the assembly is null, the current assembly will be used. It must be in correct Glade format Method 2.12.0.0 Glade.XML a a a a Returns a new from a resource in an assembly. a Reads the contents of the resource in the given assembly and parses it. If the assembly is null, the current assembly will be used. It must be in correct Glade format Method 2.12.0.0 Glade.XML a a a Creates a new from a stream. a Reads the contents of the stream and parses it. It must be in correct Glade format Method 2.12.0.0 Gtk.Widget the name of the widget to retrieve from the xml file Retrieves a widget stored in the by name the widget specified by or if no Widgets of that name exists Method 2.12.0.0 System.String a built from Glade Gets the name of a Glade-built widget the name of the Method 2.12.0.0 Gtk.Widget[] The beginning of a widget name. Retrieves a of widgets whose name share the same prefix. An array of widgets whose name starts with . Method 2.12.0.0 Glade.XML a Get the parent widget the object that built , or if is not built from Glade Property 2.12.0.0 GLib.GType GType Property. a Returns the native value for . Method 2.12.0.0 System.Void the parent widget the structure for the child This function is intended to be called by the build_children callback for container widgets. This function is intended to be called by the build_children callback for container widgets. If the build_children callback encounters a child with the internal-child attribute set, then it should call this function to handle it and then continue on to the next child. Method 2.12.0.0 System.Void the property the widget to set the property on. the name of the property. the name of the widget used as the value for the property. Used to set properties on s Some widgets have properties of type . These are represented as the widget name in the glade file. When constructing the interface, the widget specified as the value for a property may not exist yet. Rather than setting the property directly, this function should be used. It will perform the name to conversion, and if the widget is yet to be constructed, defer setting the property until the widget is constructed. Property 2.12.0.0 Gtk.Widget To be added. To be added. To be added. To be added. Method 2.12.0.0 System.String a filename This function resolves a relative pathname, using the directory of the XML file as a base. The absolute filename This function resolves a relative pathname, using the directory of the XML file as a base. If the pathname is absolute, then the original filename is returned. Method 2.12.0.0 System.Void the widget to set parameters on the structure for Sets the common parameters on a widget, and is responsible for inserting it into the object's internal structures. Sets the common parameters on , and is responsible for inserting it into the object's internal structures. It will also add the children to this widget. Usually this function is only called by , but is exposed for difficult cases, such as setting up buttons and the like. Method 2.12.0.0 System.Obsolete("Replaced by CustomHandler property.") System.Void the custom widget handler Deprecated: Replaced by the property. Deprecated: Replaced by the property. Method 2.12.0.0 System.Void the container widget. the contained child the name of the property its stringified value This sets the packing property on container of widget with to Method 2.12.0.0 System.Boolean a " /> a a GParamSpec needs to be wrapped a Method 2.12.0.0 System.Void Automatically connect signals This method uses gmodule's introspective features to look at the application's symbol table. From here it tries to match the signal handler names given in the interface description with symbols in the application and connects the signals. Method 2.12.0.0 System.Void the function used to connect the signals. This function is similar to except that it will try to connect all signals in the interface, not just a single named handler. It can be thought of the interpeted language binding version of , except that it does not require gmodule to function correctly. Method 2.12.0.0 System.Void the name of the signal handler that we want to connect. the function to use to connect the signals. This function is similar to , except that it allows you to give an arbitrary function that will be used for actually connecting the signals. This is mainly useful for writers of interpreted language bindings, or applications where you need more control over the signal connection process. Property 2.12.0.0 Gtk.Window This is used while the tree is being built to set the toplevel window that is currently being built. an object of type This is used while the tree is being built to set the toplevel window that is currently being built. It is mainly used to enable 's to be bound to the correct window, but could have other uses. gtk-sharp-2.12.40/doc/en/Glade/BuildChildrenFunc.xml0000664000175000017500000000242612767740535016760 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added. event handler. this delegate is used for custom methods to built the internal children of a widget. gtk-sharp-2.12.40/doc/en/Glade/ApplyCustomPropFunc.xml0000664000175000017500000000250312767740535017365 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added. To be added. Event handler. gtk-sharp-2.12.40/doc/en/Glade/WidgetAttribute.xml0000664000175000017500000001272412767740535016545 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Attribute System.AttributeUsage(System.AttributeTargets.Field) Marks a widget for auto-binding This attribute when attached to a field value is used by the Autoconnect functionality in to bind a widget created by Glade to the field. The attribute can be applied to any widgets (widgets derive from the class) and it can be applied to static and instance fields. By default the runtime will match the tagged field name with the name that was given to the widget on the Glade user interface designer. An optional string argument can be provided on the constructor to bind the widget to a different name. For the binding to take place, the method has to be invoked on either the class or the instance. Constructor 2.12.0.0 Flags a to be auto-connected This will bind the widget whose name in the Glade designer is the same as the field name. If you want to target a different widget in the glade file, use the attribute instead. For the binding to take place, the method has to be invoked on either the class or the instance. Constructor 2.12.0.0 The name of the widget in the Glade file that this widget should be mapped to Flags a to be auto-connected This will bind the widget whose name in the Glade designer is to the field that the attribute is attached to. If the field name is the same as the widget name in the Glade designer, you can avoid the name parameter. For the binding to take place, the method has to be invoked on either the class or the instance. Property 2.12.0.0 System.String The name of the widget targetted The name of the widget targeted in the Glade definition file. Property 2.12.0.0 System.Boolean Whether a specific binding was requested This returns if a specific widget name was requested to be bound, or if the runtime has to use the field name as the Glade name. gtk-sharp-2.12.40/doc/en/Glade/WidgetInfo.xml0000664000175000017500000003156612767740535015502 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType The structures described here are the output of libglade's XML parser. These structures are really only useful for people who are extending libglade to handle other widget sets, but it could also be useful for other applications that need to read glade XML files. If you only wish to use libglade, you don't need to worry about these functions and structures. Property 2.12.0.0 Glade.AccelInfo Details about accelerators. a Property 2.12.0.0 Glade.AtkActionInfo To be added a Property 2.12.0.0 Glade.Property To be added a Property 2.12.0.0 Glade.ChildInfo Details about child widgets. a Field 2.12.0.0 System.String To be added Field 2.12.0.0 System.UInt32 The number of accelerators this widget has. Field 2.12.0.0 System.String This widget's name. Field 2.12.0.0 System.UInt32 To be added Field 2.12.0.0 System.UInt32 The number of AtkProperties this widget has. Field 2.12.0.0 System.UInt32 The number of children this widget has. Method 2.12.0.0 Glade.WidgetInfo an object of type Internal method an object of type This is an internal method and should not be used by user code. Field 2.12.0.0 System.UInt32 The number of properties this widget has. Field 2.12.0.0 System.UInt32 To be added Field 2.12.0.0 System.UInt32 The number of signals this widget connects to. Property 2.12.0.0 Glade.WidgetInfo This widget's parent widget. a Property 2.12.0.0 Glade.Property To be added a Property 2.12.0.0 Glade.AtkRelationInfo Details about this widget's relations. a Property 2.12.0.0 Glade.SignalInfo To be added a Field 2.12.0.0 Glade.WidgetInfo Returns an empty gtk-sharp-2.12.40/doc/en/Glade/AtkActionInfo.xml0000664000175000017500000000704312767740535016125 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType This structure is used as part of the output of libglade's XML parser. Field 2.12.0.0 System.String An action name. Field 2.12.0.0 System.String A description of the action. Method 2.12.0.0 Glade.AtkActionInfo an object of type Internal method an object of type This is an internal method and should not be used by user code. Field 2.12.0.0 Glade.AtkActionInfo Returns an empty gtk-sharp-2.12.40/doc/en/Glade/Standard.xml0000664000175000017500000001004312767740535015166 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Some standard methods used by glade to build widgets. Constructor 2.12.0.0 Default constructor Method 2.12.0.0 System.Void a a a This is the standard child building function. It simply calls on each child to add them to the parent, and process any packing properties using the generic container packing properties interfaces. Method 2.12.0.0 Gtk.Widget a a a This is the standard widget building function. a It processes all the widget properties using the standard object properties interfaces. This function will be sufficient for most widget types, thus reducing the amount of work needed to wrap a library. gtk-sharp-2.12.40/doc/en/Glade/NewFunc.xml0000664000175000017500000000242312767740535014776 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate Gtk.Widget To be added. To be added. To be added. Event handler. To be added. this delegate is called used for custom methods to create widgets. gtk-sharp-2.12.40/doc/en/Glade/Property.xml0000664000175000017500000000674412767740535015267 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType The structure is used as part of the output of libglade's XML parser. A name-value pair. Field 2.12.0.0 System.String The name of the property. Method 2.12.0.0 Glade.Property an object of type Internal method an object of type This is an internal method and should not be used by user code. Field 2.12.0.0 System.String The value of the property. Field 2.12.0.0 Glade.Property Returns an empty gtk-sharp-2.12.40/doc/en/Glade/Parser.xml0000664000175000017500000001026512767740535014670 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Object Glade's parser used to turn XML into its internal format. Parser class loads / parses the .glade files from memory [buffer], or a file in disk. This class has the helper functions to load the UI description from file/buffer, and turn it into a GladeInterface, which has metadata about the .glade file, its connections and properties etc. Constructor 2.12.0.0 Default constructor Method 2.12.0.0 Glade.Interface a a This function is similar to , except that it parses XML data from a buffer in memory. a This could be used to embed an interface into the executable, for instance. Generally, user code will not need to call this function. Instead, it should go through the interfaces. Method 2.12.0.0 Glade.Interface a a This function parses a Glade XML interface file to a object (which is libglade's internal representation of the interface data). a Generally, user code will not need to call this function. Instead, it should go through the interfaces. gtk-sharp-2.12.40/doc/en/Glade/HandlerNotFoundException.xml0000664000175000017500000002455112767740535020350 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.SystemException Exception thrown when signal autoconnection fails. This class is the expression thrown, when signal autoconnection fails. This happens when you donot have the functions assigned in your callback section of the .glade file, present in your CIL assembly. You can rectify this exception by adding the corresponding function in your code, and recompiling the application. Constructor 2.12.0.0 a a Protected constructor. Constructor 2.12.0.0 a a a a Public constructor. Constructor 2.12.0.0 a a a a a Public constructor. Constructor 2.12.0.0 Message content. Name of missing handler. Name of signal connection which failed. Managed event information. Delegate type. Public constructor. Property 2.12.0.0 System.Type The type of delegate that was supposed to be connected to the signal. a Property 2.12.0.0 System.Reflection.EventInfo Information about the event. a Method 2.12.0.0 System.Void To be added. To be added. To be added. To be added. Property 2.12.0.0 System.String The name of the handler that was supposed to be connected. a Property 2.12.0.0 System.String The name of the signal that was supposed to be connected. a gtk-sharp-2.12.40/doc/en/Glade/AtkRelationInfo.xml0000664000175000017500000000702212767740535016462 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType This structure is used as part of the output of libglade's XML parser. Method 2.12.0.0 Glade.AtkRelationInfo an object of type Internal method an object of type This is an internal method and should not be used by user code. Field 2.12.0.0 System.String To be added Field 2.12.0.0 System.String To be added Field 2.12.0.0 Glade.AtkRelationInfo Returns an empty gtk-sharp-2.12.40/doc/en/Glade/AccelInfo.xml0000664000175000017500000001020312767740535015247 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.ValueType The structure is used as part of the output of libglade's XML parser. Field 2.12.0.0 System.UInt32 The key code for the accelerator. Field 2.12.0.0 Gdk.ModifierType The modifier keys for the accelerator. Method 2.12.0.0 Glade.AccelInfo an object of type Internal method an object of type This is an internal method and should not be used by user code. Field 2.12.0.0 System.String The signal to which this accelerator should be connected. Field 2.12.0.0 Glade.AccelInfo Returns an empty gtk-sharp-2.12.40/doc/en/Glade/XMLCustomWidgetHandler.xml0000664000175000017500000000532312767740535017730 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate Gtk.Widget To be added. To be added. To be added. To be added. To be added. To be added. To be added. Event handler. To be added. this delegate is used for custom methods to call when a custom widget is found. public class View{ private Glade.XML gui; //Our gui made with glade public View(){ // You have to made the handler before creating the view Glade.XML.CustomHandler = CreationCustomWidget; // creation of the view gui=new Glade.XML("/home/alex/glade/projet.glade","View",""); // the handlers of the view are defined in this instance gui.Autoconnect(this); } // Basic handler public void OnDeleteWindow(object o,DeleteEventArgs arg){ Application.Quit } // func_name: the name of the function (written in the field "creation function name" in glade) // so we can distinguish between the custom widget we want to create // name, string1, etc parameters set in glade public Widget CreationCustomWidget(Glade.XML xml, string func_name, string name, string string1, string string2, int int1, int int2){ Button b = new Button("Hello Button"); b.Show(); return b; } } gtk-sharp-2.12.40/doc/en/Glade/XMLConnectFunc.xml0000664000175000017500000000325112767740535016217 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate System.Void To be added. To be added. To be added. To be added. To be added. To be added. Event handler. this delegate is used for custom methods to connect the signals to methods. gtk-sharp-2.12.40/doc/en/Glade/FindInternalChildFunc.xml0000664000175000017500000000252612767740535017572 00000000000000 glade-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. System.Delegate Gtk.Widget To be added. To be added. To be added. Event handler. To be added. this delegate is used for custom methods to find the internal children of a widget. gtk-sharp-2.12.40/doc/gtk-sharp-docs.source0000664000175000017500000000030312767740470015332 00000000000000 gtk-sharp-2.12.40/doc/Makefile.am0000664000175000017500000000433212767740470013324 00000000000000ASSEMBLIES = \ glib-sharp.dll \ pango-sharp.dll \ atk-sharp.dll \ gdk-sharp.dll \ gtk-sharp.dll \ glade-sharp.dll \ gnome-vfs-sharp.dll \ art-sharp.dll \ gnome-sharp.dll \ gconf-sharp.dll \ gconf-sharp-peditors.dll \ gtkhtml-sharp.dll \ rsvg2-sharp.dll \ vte-sharp.dll \ gtk-dotnet.dll UPDATE_ASSEMBLIES = $(addprefix -assembly:lib/, $(ASSEMBLIES)) UPDATER = $(MONODOCER) -path:en -pretty $(UPDATE_ASSEMBLIES) if ENABLE_MONODOC SOURCESDIR=$(prefix)/lib/monodoc/sources TARGETS=gtk-sharp-docs.zip gtk-sharp-docs.tree gtk-sharp-docs.source else SOURCESDIR=$(datadir) TARGETS= endif monodocdir=$(SOURCESDIR) monodoc_DATA=$(TARGETS) assemble: gtk-sharp-docs.zip gtk-sharp-docs.tree gtk-sharp-docs.tree: gtk-sharp-docs.zip gtk-sharp-docs.zip: $(srcdir)/en/*/*.xml $(srcdir)/en/*.xml $(MDASSEMBLER) --ecma $(srcdir)/en -o gtk-sharp-docs get-assemblies: echo "assumes gnome-sharp and gtk-sharp checkouts in same parent" mkdir -p lib cp $(top_builddir)/*/*.dll lib cp $(top_builddir)/*/*.dll.config lib cp $(top_builddir)/../gnome-sharp/*/*.dll lib cp $(top_builddir)/../gnome-sharp/*/*.dll.config lib cp $(top_builddir)/../gnome-sharp/gconf/*/*.dll lib cp $(top_builddir)/../gnome-sharp/gconf/*/*.dll.config lib cp $(top_builddir)/../gnome-desktop-sharp/gtkhtml/gtkhtml-sharp.dll.config lib cp $(top_builddir)/../gnome-desktop-sharp/gtkhtml/gtkhtml-sharp.dll lib cp $(top_builddir)/../gnome-desktop-sharp/rsvg/rsvg2-sharp.dll.config lib cp $(top_builddir)/../gnome-desktop-sharp/rsvg/rsvg2-sharp.dll lib cp $(top_builddir)/../gnome-desktop-sharp/vte/vte-sharp.dll.config lib cp $(top_builddir)/../gnome-desktop-sharp/vte/vte-sharp.dll lib update: get-assemblies $(UPDATER) update-delete: get-assemblies $(UPDATER) --delete CLEANFILES = gtk-sharp-docs.zip gtk-sharp-docs.tree lib EXTRA_DIST = \ gtk-sharp-docs.source NAMESPACES=GLib Pango Atk Gdk Gtk Gtk.DotNet Glade Art Gnome.Vfs Gnome GConf GConf.PropertyEditors Rsvg Vte dist-hook: mkdir -p $(distdir)/en cp $(srcdir)/en/*.xml $(distdir)/en/ for i in $(NAMESPACES); do \ mkdir -p $(distdir)/en/$$i; \ cp $(srcdir)/en/$$i/*.xml $(distdir)/en/$$i; \ done push: scp gtk-sharp-docs* root@www.go-mono.com:/usr/lib/monodoc/sources/ gtk-sharp-2.12.40/parser/0000775000175000017500000000000012767740534012076 500000000000000gtk-sharp-2.12.40/parser/gapi-parser.cs0000664000175000017500000001230412767740470014556 00000000000000// gapi-parser.cs - parsing driver application. // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Parsing { using System; using System.Collections; using System.IO; using System.Runtime.InteropServices; using System.Xml; public class Parser { [DllImport ("libc")] static extern int system (string command); public static int Main (string[] args) { if (args.Length != 1) { Console.WriteLine ("Usage: gapi2-parser "); return 0; } XmlDocument src_doc = new XmlDocument (); try { using (Stream stream = File.OpenRead (args [0])) src_doc.Load (stream); } catch (XmlException e) { Console.WriteLine ("Couldn't open source file."); Console.WriteLine (e); return 1; } XmlNode root = src_doc.DocumentElement; if (root.Name != "gapi-parser-input") { Console.WriteLine ("Improperly formatted input file: " + args [0]); return 1; } foreach (XmlNode apinode in root.ChildNodes) { if (apinode.Name != "api") continue; string outfile = (apinode as XmlElement).GetAttribute ("filename"); string prefile = outfile + ".pre"; if (File.Exists (prefile)) File.Delete (prefile); foreach (XmlNode libnode in apinode.ChildNodes) { if (libnode.Name != "library") continue; string lib = (libnode as XmlElement).GetAttribute ("name"); foreach (XmlNode nsnode in libnode.ChildNodes) { if (nsnode.Name != "namespace") continue; string ns = (nsnode as XmlElement).GetAttribute ("name"); ArrayList files = new ArrayList (); Hashtable excludes = new Hashtable (); foreach (XmlNode srcnode in nsnode.ChildNodes) { if (!(srcnode is XmlElement)) continue; XmlElement elem = srcnode as XmlElement; switch (srcnode.Name) { case "dir": string dir = elem.InnerXml; Console.Write (" ", dir); DirectoryInfo di = new DirectoryInfo (dir); foreach (FileInfo file in di.GetFiles ("*.c")) files.Add (dir + Path.DirectorySeparatorChar + file.Name); foreach (FileInfo file in di.GetFiles ("*.h")) files.Add (dir + Path.DirectorySeparatorChar + file.Name); break; case "file": string incfile = elem.InnerXml; Console.Write (" ", incfile); files.Add (incfile); break; case "exclude": string excfile = elem.InnerXml; Console.Write (" ", excfile); excludes [excfile] = 1; break; case "directory": string dir_path = elem.GetAttribute ("path"); Console.Write (" "); break; default: Console.WriteLine ("Invalid source: " + srcnode.Name); break; } } Console.WriteLine (); if (files.Count == 0) continue; ArrayList realfiles = new ArrayList (); foreach (string file in files) { string trimfile = file.TrimEnd (); if (excludes.Contains (trimfile)) continue; realfiles.Add (trimfile); } string[] filenames = (string[]) realfiles.ToArray (typeof (string)); string pp_args = String.Join (" ", filenames); system ("gapi_pp.pl " + pp_args + " | gapi2xml.pl " + ns + " " + prefile + " " + lib); } } XmlDocument final = new XmlDocument (); final.Load (prefile); XmlTextWriter writer = new XmlTextWriter (outfile, null); writer.Formatting = Formatting.Indented; final.Save (writer); File.Delete (prefile); } return 0; } } } gtk-sharp-2.12.40/parser/gapi_pp.pl0000775000175000017500000001531312767740470013777 00000000000000#!/usr/bin/perl # # gapi_pp.pl : A source preprocessor for the extraction of API info from a # C library source directory. # # Authors: Mike Kestner # Martin Willemoes Hansen # # Copyright (c) 2001 Mike Kestner # Copyright (c) 2003 Martin Willemoes Hansen # Copyright (c) 2003-2004 Novell, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of version 2 of the GNU General Public # License as published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public # License along with this program; if not, write to the # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. $private_regex = '^#if.*(ENABLE_BACKEND|ENABLE_ENGINE)'; $eatit_regex = '^#if(.*(__cplusplus|DEBUG|DISABLE_COMPAT|ENABLE_BROKEN)|\s+0\s*$)'; $ignoreit_regex = '^\s+\*|#ident|#error|#\s*include|#\s*else|#\s*undef|G_(BEGIN|END)_DECLS|GDKVAR|GTKVAR|GTKMAIN_C_VAR|GTKTYPEUTILS_VAR|VARIABLE|GTKTYPEBUILTIN'; foreach $arg (@ARGV) { if (-d $arg && -e $arg) { @hdrs = (@hdrs, `ls $arg/*.h`); @srcs = (@srcs, `ls $arg/*.c`); } elsif (-f $arg && -e $arg) { @hdrs = (@hdrs, $arg) if ($arg =~ /\.h$/); @srcs = (@srcs, $arg) if ($arg =~ /\.c$/); } else { die "unable to process arg: $arg"; } } foreach $fname (@hdrs) { if ($fname =~ /test|private|internals|gtktextlayout|gtkmarshalers/) { @privhdrs = (@privhdrs, $fname); next; } open(INFILE, $fname) || die "Could open $fname\n"; $braces = 0; $deprecated = -1; $ifdeflevel = 0; $prepend = ""; while ($line = ) { $braces++ if ($line =~ /{/ and $line !~ /}/); $braces-- if ($line =~ /}/ and $line !~ /{/); next if ($line =~ /$ignoreit_regex/); $line =~ s/\/\*[^<].*?\*\///g; next if ($line !~ /\S/); $line = $prepend . $line; $prepend = ""; while ($line =~ /(.*)\\$/) { $line = $1 . ; } if ($line =~ /#\s*define\s+\w+\s+\"/) { $def = $line; while ($def !~ /\".*\"/) {$def .= ($line = );} print $def; } elsif ($line =~ /#\s*define\s+\w+\s*\D+/) { $def = $line; while ($line =~ /\\\n/) {$def .= ($line = );} if ($def =~ /_CHECK_\w*CAST|INSTANCE_GET_INTERFACE/) { $def =~ s/\\\n//g; print $def; } } elsif ($line =~ /^\s*\/\*[^<]/) { while ($line !~ /\*\//) {$line = ;} } elsif ($line =~ /^extern/) { while ($line !~ /;/) {$line = ;} } elsif ($line =~ /^#ifndef\s+\w+_H_*\b/) { while ($line !~ /#define|#endif/) {$line = ;} } elsif ($line =~ /$private_regex/) { $nested = 0; while ($line = ) { last if (!$nested && ($line =~ /#else|#endif/)); if ($line =~ /#if/) { $nested++; } elsif ($line =~ /#endif/) { $nested-- } next if ($line !~ /^struct/); print "private$line"; do { $line = ; print $line; } until ($line =~ /^\}/); } } elsif ($line =~ /$eatit_regex/) { $nested = 0; while ($line = ) { last if (!$nested && ($line =~ /#else|#endif/)); if ($line =~ /#if/) { $nested++; } elsif ($line =~ /#endif/) { $nested-- } } } elsif ($line =~ /^#\s*ifn?\s*\!?def/) { $ifdeflevel++; #print "#ifn?def ($ifdeflevel): $line\n"; if ($line =~ /#ifndef.*DISABLE_DEPRECATED/) { $deprecated = $ifdeflevel; } elsif ($line =~ /#if !defined.*DISABLE_DEPRECATED/) { $deprecated = $ifdeflevel; } } elsif ($line =~ /^#\s*endif/) { #print "#endif ($ifdeflevel): $line\n"; if ($deprecated == $ifdeflevel) { $deprecated = -1; } $ifdeflevel--; } elsif ($line =~ /typedef struct\s*\{?\s*$/) { while ($line !~ /{/) { chomp ($line); $line .= ; } my $first_line = $line; my @lines = (); $line = ; while ($line !~ /^}\s*(\w+);/) { if ($line =~ /\(.*\).*\(/) { while ($line !~ /;/) { chomp ($line); $nxt = ; $nxt =~ s/^\s+/ /; $line .= $nxt; } } push @lines, $line; $line = ; } $line =~ /^}\s*(\w+);/; my $name = $1; print "typedef struct _$name $name;\n"; print "struct _$name {\n"; foreach $line (@lines) { if ($line =~ /(\s*.+\;)/) { $field = $1; $field =~ s/(\w+) const/const $1/; print "$field\n"; } } print "};\n"; } elsif ($line =~ /^enum\s+\{/) { while ($line !~ /^};/) {$line = ;} } elsif ($line =~ /^(typedef\s+)?union/) { next if ($line =~ /^typedef\s+union\s+\w+\s+\w+;/); while ($line !~ /^};/) {$line = ;} } elsif ($line =~ /(\s+)union\s*{/) { # this is a hack for now, but I need it for the fields to work $indent = $1; $do_print = 1; while ($line !~ /^$indent}\s*\w+;/) { $line = ; next if ($line !~ /;/); print $line if $do_print; $do_print = 0; } } else { if ($braces or $line =~ /;|\/\*/) { if ($deprecated == -1) { print $line; } else { print "deprecated$line"; } } else { $prepend = $line; $prepend =~ s/\n/ /g; } } } } foreach $fname (@srcs, @privhdrs) { open(INFILE, $fname) || die "Could open $fname\n"; if ($fname =~ /builtins_ids/) { while ($line = ) { next if ($line !~ /\{/); chomp($line); $builtin = "BUILTIN" . $line; $builtin .= ; print $builtin; } next; } while ($line = ) { next if ($line !~ /^(struct|\w+_class_init|\w+_base_init|\w+_get_type\b|G_DEFINE_TYPE_WITH_CODE)/); if ($line =~ /^G_DEFINE_TYPE_WITH_CODE/) { my $macro; my $parens = 0; do { chomp ($line); $line =~ s/(.*)\\$/\1/; $line =~ s/^\s+(.*)/ \1/; $macro .= $line; foreach $chr (split (//, $line)) { if ($chr eq "(") { $parens++; } elsif ($chr eq ")") { $parens--; } } $line = ; } while ($parens > 0); print "$macro\n"; next if ($line !~ /^(struct|\w+_class_init|\w+_base_init)/); } if ($line =~ /^struct/) { # need some of these to parse out parent types print "private"; if ($line =~ /;/) { print $line; next; } } $comment = 0; $begin = 0; $end = 0; do { # Following ifs strips out // and /* */ C comments if ($line =~ /\/\*/) { $comment = 1; $begin = 1; } if ($comment != 1) { $line =~ s/\/\/.*//; print $line; } if ($line =~ /\*\//) { $comment = 0; $end = 1; } if ($begin == 1 && $end == 1) { $line =~ s/\/\*.*\*\///; print $line; } $begin = 0; $end = 0; } until (($line = ) =~ /^}/); print $line; } } gtk-sharp-2.12.40/parser/Makefile.in0000664000175000017500000005075512767740507014077 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = parser ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = gapi-2.0.pc gapi2-fixup gapi2-parser CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(assemblydir)" "$(DESTDIR)$(bindir)" \ "$(DESTDIR)$(assemblydir)" "$(DESTDIR)$(pkgconfigdir)" SCRIPTS = $(assembly_SCRIPTS) $(bin_SCRIPTS) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac DATA = $(assembly_DATA) $(pkgconfig_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/gapi-2.0.pc.in \ $(srcdir)/gapi2-fixup.in $(srcdir)/gapi2-parser.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ assemblydir = $(prefix)/lib/gtk-sharp-2.0 pkgconfigdir = $(libdir)/pkgconfig assembly_DATA = gapi-fixup.exe gapi-parser.exe pkgconfig_DATA = gapi-2.0.pc bin_SCRIPTS = gapi2-fixup gapi2-parser assembly_SCRIPTS = gapi_pp.pl gapi2xml.pl CLEANFILES = gapi-fixup.exe gapi-parser.exe DISTCLEANFILES = gapi2-fixup gapi2-parser gapi-2.0.pc sources = \ gapi-fixup.cs \ gapi-parser.cs EXTRA_DIST = \ $(sources) \ gapi2-parser.in \ gapi_pp.pl \ gapi2xml.pl \ gapi-2.0.pc.in all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign parser/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign parser/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): gapi-2.0.pc: $(top_builddir)/config.status $(srcdir)/gapi-2.0.pc.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ gapi2-fixup: $(top_builddir)/config.status $(srcdir)/gapi2-fixup.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ gapi2-parser: $(top_builddir)/config.status $(srcdir)/gapi2-parser.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ install-assemblySCRIPTS: $(assembly_SCRIPTS) @$(NORMAL_INSTALL) @list='$(assembly_SCRIPTS)'; test -n "$(assemblydir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(assemblydir)'"; \ $(MKDIR_P) "$(DESTDIR)$(assemblydir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n' \ -e 'h;s|.*|.|' \ -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) { files[d] = files[d] " " $$1; \ if (++n[d] == $(am__install_max)) { \ print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ else { print "f", d "/" $$4, $$1 } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(assemblydir)$$dir'"; \ $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(assemblydir)$$dir" || exit $$?; \ } \ ; done uninstall-assemblySCRIPTS: @$(NORMAL_UNINSTALL) @list='$(assembly_SCRIPTS)'; test -n "$(assemblydir)" || exit 0; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 's,.*/,,;$(transform)'`; \ dir='$(DESTDIR)$(assemblydir)'; $(am__uninstall_files_from_dir) install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n' \ -e 'h;s|.*|.|' \ -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) { files[d] = files[d] " " $$1; \ if (++n[d] == $(am__install_max)) { \ print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ else { print "f", d "/" $$4, $$1 } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 's,.*/,,;$(transform)'`; \ dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir) mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-assemblyDATA: $(assembly_DATA) @$(NORMAL_INSTALL) @list='$(assembly_DATA)'; test -n "$(assemblydir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(assemblydir)'"; \ $(MKDIR_P) "$(DESTDIR)$(assemblydir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(assemblydir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(assemblydir)" || exit $$?; \ done uninstall-assemblyDATA: @$(NORMAL_UNINSTALL) @list='$(assembly_DATA)'; test -n "$(assemblydir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(assemblydir)'; $(am__uninstall_files_from_dir) install-pkgconfigDATA: $(pkgconfig_DATA) @$(NORMAL_INSTALL) @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ done uninstall-pkgconfigDATA: @$(NORMAL_UNINSTALL) @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(SCRIPTS) $(DATA) installdirs: for dir in "$(DESTDIR)$(assemblydir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(assemblydir)" "$(DESTDIR)$(pkgconfigdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-assemblyDATA install-assemblySCRIPTS \ install-pkgconfigDATA install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-binSCRIPTS install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-assemblyDATA uninstall-assemblySCRIPTS \ uninstall-binSCRIPTS uninstall-pkgconfigDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-assemblyDATA \ install-assemblySCRIPTS install-binSCRIPTS install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-pkgconfigDATA install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \ uninstall-am uninstall-assemblyDATA uninstall-assemblySCRIPTS \ uninstall-binSCRIPTS uninstall-pkgconfigDATA .PRECIOUS: Makefile gapi-fixup.exe: $(srcdir)/gapi-fixup.cs $(CSC) -out:gapi-fixup.exe $(srcdir)/gapi-fixup.cs gapi-parser.exe: $(srcdir)/gapi-parser.cs $(CSC) -out:gapi-parser.exe $(srcdir)/gapi-parser.cs # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/parser/gapi-2.0.pc.in0000664000175000017500000000014612767740470014164 00000000000000prefix=${pcfiledir}/../.. Name: GAPI Description: GObject .NET API Wrapping Tool Version: @VERSION@ gtk-sharp-2.12.40/parser/gapi2-fixup.in0000775000175000017500000000010312767740470014475 00000000000000#!/bin/sh @RUNTIME@ @prefix@/lib/gtk-sharp-2.0/gapi-fixup.exe "$@" gtk-sharp-2.12.40/parser/gapi-fixup.cs0000664000175000017500000001364212767740470014423 00000000000000// gapi-fixup.cs - xml alteration engine. // // Author: Mike Kestner // // Copyright (c) 2003 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Parsing { using System; using System.IO; using System.Xml; using System.Xml.XPath; public class Fixup { public static int Main (string[] args) { if (args.Length < 2) { Console.WriteLine ("Usage: gapi-fixup --metadata= --api= --symbols="); return 0; } string api_filename = ""; XmlDocument api_doc = new XmlDocument (); XmlDocument meta_doc = new XmlDocument (); XmlDocument symbol_doc = new XmlDocument (); foreach (string arg in args) { if (arg.StartsWith("--metadata=")) { string meta_filename = arg.Substring (11); try { Stream stream = File.OpenRead (meta_filename); meta_doc.Load (stream); stream.Close (); } catch (XmlException e) { Console.WriteLine ("Invalid meta file."); Console.WriteLine (e); return 1; } } else if (arg.StartsWith ("--api=")) { api_filename = arg.Substring (6); try { Stream stream = File.OpenRead (api_filename); api_doc.Load (stream); stream.Close (); } catch (XmlException e) { Console.WriteLine ("Invalid api file."); Console.WriteLine (e); return 1; } } else if (arg.StartsWith ("--symbols=")) { string symbol_filename = arg.Substring (10); try { Stream stream = File.OpenRead (symbol_filename); symbol_doc.Load (stream); stream.Close (); } catch (XmlException e) { Console.WriteLine ("Invalid api file."); Console.WriteLine (e); return 1; } } else { Console.WriteLine ("Usage: gapi-fixup --metadata= --api="); return 1; } } XPathNavigator meta_nav = meta_doc.CreateNavigator (); XPathNavigator api_nav = api_doc.CreateNavigator (); XPathNodeIterator rmv_iter = meta_nav.Select ("/metadata/remove-node"); while (rmv_iter.MoveNext ()) { string path = rmv_iter.Current.GetAttribute ("path", ""); XPathNodeIterator api_iter = api_nav.Select (path); bool matched = false; while (api_iter.MoveNext ()) { XmlElement api_node = ((IHasXmlNode)api_iter.Current).GetNode () as XmlElement; api_node.ParentNode.RemoveChild (api_node); matched = true; } if (!matched) Console.WriteLine ("Warning: matched no nodes", path); } XPathNodeIterator add_iter = meta_nav.Select ("/metadata/add-node"); while (add_iter.MoveNext ()) { string path = add_iter.Current.GetAttribute ("path", ""); XPathNodeIterator api_iter = api_nav.Select (path); bool matched = false; while (api_iter.MoveNext ()) { XmlElement api_node = ((IHasXmlNode)api_iter.Current).GetNode () as XmlElement; foreach (XmlNode child in ((IHasXmlNode)add_iter.Current).GetNode().ChildNodes) api_node.AppendChild (api_doc.ImportNode (child, true)); matched = true; } if (!matched) Console.WriteLine ("Warning: matched no nodes", path); } XPathNodeIterator attr_iter = meta_nav.Select ("/metadata/attr"); while (attr_iter.MoveNext ()) { string path = attr_iter.Current.GetAttribute ("path", ""); string attr_name = attr_iter.Current.GetAttribute ("name", ""); XPathNodeIterator api_iter = api_nav.Select (path); bool matched = false; while (api_iter.MoveNext ()) { XmlElement node = ((IHasXmlNode)api_iter.Current).GetNode () as XmlElement; node.SetAttribute (attr_name, attr_iter.Current.Value); matched = true; } if (!matched) Console.WriteLine ("Warning: matched no nodes", path); } XPathNodeIterator move_iter = meta_nav.Select ("/metadata/move-node"); while (move_iter.MoveNext ()) { string path = move_iter.Current.GetAttribute ("path", ""); XPathExpression expr = api_nav.Compile (path); string parent = move_iter.Current.Value; XPathNodeIterator parent_iter = api_nav.Select (parent); bool matched = false; while (parent_iter.MoveNext ()) { XmlNode parent_node = ((IHasXmlNode)parent_iter.Current).GetNode (); XPathNodeIterator path_iter = parent_iter.Current.Clone ().Select (expr); while (path_iter.MoveNext ()) { XmlNode node = ((IHasXmlNode)path_iter.Current).GetNode (); parent_node.AppendChild (node.Clone ()); node.ParentNode.RemoveChild (node); } matched = true; } if (!matched) Console.WriteLine ("Warning: matched no nodes", path); } if (symbol_doc != null) { XPathNavigator symbol_nav = symbol_doc.CreateNavigator (); XPathNodeIterator iter = symbol_nav.Select ("/api/*"); while (iter.MoveNext ()) { XmlNode sym_node = ((IHasXmlNode)iter.Current).GetNode (); XPathNodeIterator parent_iter = api_nav.Select ("/api"); if (parent_iter.MoveNext ()) { XmlNode parent_node = ((IHasXmlNode)parent_iter.Current).GetNode (); parent_node.AppendChild (api_doc.ImportNode (sym_node, true)); } } } api_doc.Save (api_filename); return 0; } } } gtk-sharp-2.12.40/parser/gapi2-parser.in0000775000175000017500000000016112767740470014642 00000000000000#!/bin/sh export PATH=@prefix@/lib/gtk-sharp-2.0:$PATH @RUNTIME@ @prefix@/lib/gtk-sharp-2.0/gapi-parser.exe "$@" gtk-sharp-2.12.40/parser/gapi2xml.pl0000775000175000017500000010014412767740470014100 00000000000000#!/usr/bin/perl # # gapi2xml.pl : Generates an XML representation of GObject based APIs. # # Author: Mike Kestner # # Copyright (c) 2001-2003 Mike Kestner # Copyright (c) 2003-2004 Novell, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of version 2 of the GNU General Public # License as published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public # License along with this program; if not, write to the # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. ############################################################## $debug=$ENV{'GAPI_DEBUG'}; use XML::LibXML; if (!$ARGV[2]) { die "Usage: gapi_pp.pl | gapi2xml.pl \n"; } $ns = $ARGV[0]; $libname = $ARGV[2]; ############################################################## # Check if the filename provided exists. We parse existing files into # a tree and append the namespace to the root node. If the file doesn't # exist, we create a doc tree and root node to work with. ############################################################## if (-e $ARGV[1]) { #parse existing file and get root node. $doc = XML::LibXML->new->parse_file($ARGV[1]); $root = $doc->getDocumentElement(); } else { $doc = XML::LibXML::Document->new(); $root = $doc->createElement('api'); $doc->setDocumentElement($root); $warning_node = XML::LibXML::Comment->new ("\n\n This file was automatically generated.\n Please DO NOT MODIFY THIS FILE, modify .metadata files instead.\n\n"); $root->appendChild($warning_node); } $ns_elem = $doc->createElement('namespace'); $ns_elem->setAttribute('name', $ns); $ns_elem->setAttribute('library', $libname); $root->appendChild($ns_elem); ############################################################## # First we parse the input for typedefs, structs, enums, and class_init funcs # and put them into temporary hashes. ############################################################## while ($line = ) { if ($line =~ /typedef\s+(struct\s+\w+\s+)\*+(\w+);/) { $ptrs{$2} = $1; } elsif ($line =~ /typedef\s+(struct\s+\w+)\s+(\w+);/) { next if ($2 =~ /Private$/); # fixme: siiigh $2 = "GdkDrawable" if ($1 eq "_GdkDrawable"); $types{$2} = $1; } elsif ($line =~ /typedef\s+struct/) { $sdef = $line; while ($line = ) { $sdef .= $line; last if ($line =~ /^(deprecated)?}/); } $sdef =~ s!/\*.*?(\*/|\n)!!g; $sdef =~ s/\n\s*//g; $types{$1} = $sdef if ($sdef =~ /.*\}\s*(\w+);/); } elsif ($line =~ /typedef\s+(unsigned\s+\w+)\s+(\**)(\w+);/) { $types{$3} = $1 . $2; } elsif ($line =~ /typedef\s+(\w+)\s+(\**)(\w+);/) { $types{$3} = $1 . $2; } elsif ($line =~ /typedef\s+enum\s+(\w+)\s+(\w+);/) { $etypes{$1} = $2; } elsif ($line =~ /^((deprecated)?typedef\s+)?\benum\b/) { $edef = $line; while ($line = ) { $edef .= $line; last if ($line =~ /^(deprecated)?}\s*(\w+)?;/); } $edef =~ s/\n\s*//g; $edef =~ s|/\*.*?\*/||g; if ($edef =~ /typedef.*}\s*(\w+);/) { $ename = $1; } elsif ($edef =~ /^(deprecated)?enum\s+(\w+)\s*{/) { $ename = $2; } else { print "Unexpected enum format\n$edef"; next; } $edefs{$ename} = $edef; } elsif ($line =~ /typedef\s+\w+\s*\**\s*\(\*\s*(\w+)\)\s*\(/) { $fname = $1; $fdef = ""; while ($line !~ /;/) { $fdef .= $line; $line = ; } $fdef .= $line; $fdef =~ s/\n\s+//g; $fpdefs{$fname} = $fdef; } elsif ($line =~ /^(private|deprecated)?struct\s+(\w+)/) { next if ($line =~ /;/); $sname = $2; $sdef = $line; while ($line = ) { $sdef .= $line; last if ($line =~ /^(deprecated)?}/); } $sdef =~ s!/\*[^<].*?(\*/|\n)!!g; $sdef =~ s/\n\s*//g; $sdefs{$sname} = $sdef if (!exists ($sdefs{$sname})); } elsif ($line =~ /^(\w+)_(class|base)_init\b/) { $class = StudlyCaps($1); $pedef = $line; while ($line = ) { $pedef .= $line; last if ($line =~ /^(deprecated)?}/); } $pedefs{lc($class)} = $pedef; } elsif ($line =~ /^(\w+)_get_type\b/) { $class = StudlyCaps($1); $pedef = $line; while ($line = ) { $pedef .= $line; if ($line =~ /g_boxed_type_register_static/) { $boxdef = $line; while ($line !~ /;/) { $boxdef .= ($line = ); } $boxdef =~ s/\n\s*//g; $boxdef =~ /\(\"(\w+)\"/; my $boxtype = $1; $boxtype =~ s/($ns)Type(\w+)/$ns$2/; $boxdefs{$boxtype} = $boxdef; } elsif ($line =~ /g_(enum|flags)_register_static/) { $pedef =~ /^(\w+_get_type)/; $enum_gtype{$class} = $1; } last if ($line =~ /^(deprecated)?}/); } $typefuncs{lc($class)} = $pedef; } elsif ($line =~ /^G_DEFINE_TYPE_WITH_CODE\s*\(\s*(\w+)/) { $typefuncs{lc($1)} = $line; } elsif ($line =~ /^(deprecated)?(const|G_CONST_RETURN)?\s*(struct\s+)?\w+\s*\**(\s*(const|G_CONST_RETURN)\s*\**)?\s*(\w+)\s*\(/) { $fname = $6; $fdef = ""; while ($line !~ /;/) { $fdef .= $line; $line = ; } $fdef .= $line; $fdef =~ s/\n\s*//g; if ($fdef !~ /^_/) { $fdefs{$fname} = $fdef; } } elsif ($line =~ /CHECK_(\w*)CAST/) { $cast_macro = $line; while ($line =~ /\\$/) { $line = ; $cast_macro .= $line; } $cast_macro =~ s/\\\n\s*//g; $cast_macro =~ s/\s+/ /g; if ($cast_macro =~ /G_TYPE_CHECK_(\w+)_CAST.*,\s*(\w+),\s*(\w+)\)/) { if ($1 eq "INSTANCE") { $objects{$2} = $3 . $objects{$2}; } else { $objects{$2} .= ":$3"; } } elsif ($cast_macro =~ /G_TYPE_CHECK_(\w+)_CAST.*,\s*([a-zA-Z0-9]+)_(\w+)_get_type\s*\(\),\s*(\w+)\)/) { $typename = uc ("$2_type_$3"); if ($1 eq "INSTANCE") { $objects{$typename} = $4 . $objects{$typename}; } else { $objects{$typename} .= ":$4"; } } elsif ($cast_macro =~ /GTK_CHECK_CAST.*,\s*(\w+),\s*(\w+)/) { $objects{$1} = $2 . $objects{$1}; } elsif ($cast_macro =~ /GTK_CHECK_CLASS_CAST.*,\s*(\w+),\s*(\w+)/) { $objects{$1} .= ":$2"; } elsif ($cast_macro =~ /GST_IMPLEMENTS_INTERFACE_CHECK_INSTANCE_CAST.*,\s*(\w+),\s*(\w+)/) { $objects{$1} = $2 . $objects{$1}; } } elsif ($line =~ /INSTANCE_GET_INTERFACE.*,\s*(\w+),\s*(\w+)/) { $ifaces{$1} = $2; } elsif ($line =~ /^BUILTIN\s*\{\s*\"(\w+)\".*GTK_TYPE_BOXED/) { $boxdefs{$1} = $line; } elsif ($line =~ /^BUILTIN\s*\{\s*\"(\w+)\".*GTK_TYPE_(ENUM|FLAGS)/) { # ignoring these for now. } elsif ($line =~ /^(deprecated)?\#define/) { my $test_ns = uc ($ns); if ($line =~ /^deprecated\#define\s+(\w+)\s+\"(.*)\"/) { $defines{"deprecated$1"} = $2; } elsif ($line =~ /\#define\s+(\w+)\s+\"(.*)\"/) { $defines{$1} = $2; } } elsif ($line !~ /\/\*/) { print $line; } } ############################################################## # Produce the enum definitions. ############################################################## %enums = (); foreach $cname (sort(keys(%edefs))) { $ecnt++; $def = $edefs{$cname}; $cname = $etypes{$cname} if (exists($etypes{$cname})); $enums{lc($cname)} = $cname; $enum_elem = addNameElem($ns_elem, 'enum', $cname, $ns); if ($def =~ /^deprecated/) { $enum_elem->setAttribute("deprecated", "1"); $def =~ s/deprecated//g; } if ($enum_gtype{$cname}) { $enum_elem->setAttribute("gtype", $enum_gtype{$cname}); } if ($def =~ /<setAttribute('type', "flags"); } else { $enum_elem->setAttribute('type', "enum"); } $def =~ /\{(.*\S)\s*\}/; @vals = split(/,\s*/, $1); $vals[0] =~ s/^\s+//; @nameandval = split(/=/, $vals[0]); @v0 = split(/_/, $nameandval[0]); if (@vals > 1) { $done = 0; for ($idx = 0, $regex = ""; $idx < @v0; $idx++) { $regex .= ($v0[$idx] . "_"); foreach $val (@vals) { $done = 1 if ($val !~ /$regex/); } last if $done; } $common = join("_", @v0[0..$idx-1]); } else { $common = join("_", @v0[0..$#v0-1]); } foreach $val (@vals) { $val =~ s/=\s*\(\s*(.*\S)\s*\)\s*/= \1/; if ($val =~ /$common\_?(\w+)\s*=\s*(.*)$/) { $name = $1; $enumval = $2; if ($enumval =~ /^(\d+|0x[0-9A-Fa-f]+)u?\s*<<\s*(\d+)$/) { $enumval = "$1 << $2"; } elsif ($enumval =~ /^$common\_?(\w+)$/) { $enumval = StudlyCaps(lc($1)) } } elsif ($val =~ /$common\_?(\w+)/) { $name = $1; $enumval = ""; } else { die "Unexpected enum value: $val for common value $common\n"; } $val_elem = addNameElem($enum_elem, 'member'); $val_elem->setAttribute('cname', "$common\_$name"); $val_elem->setAttribute('name', StudlyCaps(lc($name))); if ($enumval) { $val_elem->setAttribute('value', $enumval); } } } ############################################################## # Parse the callbacks. ############################################################## foreach $cbname (sort(keys(%fpdefs))) { next if ($cbname =~ /^_/); $cbcnt++; $fdef = $cb = $fpdefs{$cbname}; $cb_elem = addNameElem($ns_elem, 'callback', $cbname, $ns); $cb =~ /typedef\s+(.*)\(.*\).*\((.*)\);/; $ret = $1; $params = $2; addReturnElem($cb_elem, $ret); if ($params && ($params ne "void")) { addParamsElem($cb_elem, split(/,/, $params)); } } ############################################################## # Parse the interfaces list. ############################################################## foreach $type (sort(keys(%ifaces))) { $iface = $ifaces{$type}; ($inst, $dontcare) = split(/:/, delete $objects{$type}); $initfunc = $pedefs{lc($inst)}; $ifacetype = delete $types{$iface}; delete $types{$inst}; $ifacecnt++; $iface_el = addNameElem($ns_elem, 'interface', $inst, $ns); $elem_table{lc($inst)} = $iface_el; $classdef = $sdefs{$1} if ($ifacetype =~ /struct\s+(\w+)/); if ($initfunc) { parseInitFunc($iface_el, $initfunc, $classdef); } else { warn "Don't have an init func for $inst.\n" if $debug; addVirtualMethods ($classdef, $classdef, $iface_el); } } ############################################################## # Parse the classes by walking the objects list. ############################################################## foreach $type (sort(keys(%objects))) { ($inst, $class) = split(/:/, $objects{$type}); $class = $inst . "Class" if (!$class); $initfunc = $pedefs{lc($inst)}; $typefunc = $typefuncs{lc($inst)}; $insttype = delete $types{$inst}; $classtype = delete $types{$class}; $instdef = $classdef = ""; $instdef = $sdefs{$1} if ($insttype =~ /struct\s+(\w+)/); $classdef = $sdefs{$1} if ($classtype =~ /struct\s+(\w+)/); $classdef =~ s/deprecated//g; $instdef =~ s/\s+(\*+)([^\/])/\1 \2/g; warn "Strange Class $inst\n" if (!$instdef && $debug); $classcnt++; $obj_el = addNameElem($ns_elem, 'object', $inst, $ns); $elem_table{lc($inst)} = $obj_el; # Check if the object is deprecated if ($instdef =~ /^deprecatedstruct/) { $obj_el->setAttribute("deprecated", "1"); $instdef =~ s/deprecated//g; } # Extract parent and fields from the struct if ($instdef =~ /^struct/) { $instdef =~ /\{(.*)\}/; $fieldstr = $1; $fieldstr =~ s|/\*[^<].*?\*/||g; @fields = split(/;/, $fieldstr); addFieldElems($obj_el, 'private', @fields); $obj_el->setAttribute('parent', $obj_el->firstChild->getAttribute('type')); $obj_el->removeChild($obj_el->firstChild); } elsif ($instdef =~ /privatestruct/) { # just get the parent for private structs $instdef =~ /\{\s*(\w+)/; $obj_el->setAttribute('parent', "$1"); } # Get the props from the class_init func. if ($initfunc) { parseInitFunc($obj_el, $initfunc, $classdef); } else { warn "Don't have an init func for $inst.\n" if $debug; } # Get the interfaces from the class_init func. if ($typefunc) { if ($typefunc =~ /G_DEFINE_TYPE_WITH_CODE/) { parseTypeFuncMacro($obj_el, $typefunc); } else { parseTypeFunc($obj_el, $typefunc); } } else { warn "Don't have a GetType func for $inst.\n" if $debug; } } ############################################################## # Parse the remaining types. ############################################################## foreach $key (sort (keys (%types))) { $lasttype = $type = $key; while ($type && ($types{$type} !~ /struct/)) { $lasttype = $type; $type = $types{$type}; } if ($types{$type} =~ /struct\s+(\w+)/) { $type = $1; if (exists($sdefs{$type})) { $def = $sdefs{$type}; } else { $def = "privatestruct"; } } elsif ($types{$type} =~ /struct/ && $type =~ /^$ns/) { $def = $types{$type}; } else { $elem = addNameElem($ns_elem, 'alias', $key, $ns); $elem->setAttribute('type', $lasttype); warn "alias $key to $lasttype\n" if $debug; next; } # fixme: hack if ($key eq "GdkBitmap") { $struct_el = addNameElem($ns_elem, 'object', $key, $ns); } elsif (exists($boxdefs{$key})) { $struct_el = addNameElem($ns_elem, 'boxed', $key, $ns); } else { $struct_el = addNameElem($ns_elem, 'struct', $key, $ns); } if ($def =~ /^deprecated/) { $struct_el->setAttribute("deprecated", "1"); $def =~ s/deprecated//g; } $elem_table{lc($key)} = $struct_el; $def =~ s/\s+/ /g; if ($def =~ /privatestruct/) { $struct_el->setAttribute('opaque', 'true'); } else { $def =~ /\{(.+)\}/; addFieldElems($struct_el, 'public', split(/;/, $1)); } } # really, _really_ opaque structs that aren't even defined in sources. Lovely. foreach $key (sort (keys (%ptrs))) { next if $ptrs{$key} !~ /struct\s+(\w+)/; $type = $1; $struct_el = addNameElem ($ns_elem, 'struct', $key, $ns); $struct_el->setAttribute('opaque', 'true'); $elem_table{lc($key)} = $struct_el; } addFuncElems(); addStaticFuncElems(); # This should probably be done in a more generic way foreach $define (sort (keys (%defines))) { next if $define !~ /[A-Z]_STOCK_/; if ($stocks{$ns}) { $stock_el = $stocks{$ns}; } else { $stock_el = addNameElem($ns_elem, "object", $ns . "Stock", $ns); $stocks{$ns} = $stock_el; } $string_el = addNameElem ($stock_el, "static-string", $define); $string_name = lc($define); $string_name =~ s/\w+_stock_//; $string_el->setAttribute('name', StudlyCaps($string_name)); $string_el->setAttribute('value', $defines{$define}); } ############################################################## # Output the tree ############################################################## if ($ARGV[1]) { open(XMLFILE, ">$ARGV[1]") || die "Couldn't open $ARGV[1] for writing.\n"; print XMLFILE $doc->toString(); close(XMLFILE); } else { print $doc->toString(); } ############################################################## # Generate a few stats from the parsed source. ############################################################## $scnt = keys(%sdefs); $fcnt = keys(%fdefs); $tcnt = keys(%types); print "structs: $scnt enums: $ecnt callbacks: $cbcnt\n"; print "funcs: $fcnt types: $tcnt classes: $classcnt\n"; print "props: $propcnt childprops: $childpropcnt signals: $sigcnt\n\n"; sub addFieldElems { my ($parent, $defaultaccess, @fields) = @_; my $access = $defaultaccess; foreach $field (@fields) { if ($field =~ m!/\*< (public|private) >.*\*/(.*)$!) { $access = $1; $field = $2; } next if ($field !~ /\S/); $field =~ s/\s+(\*+)/\1 /g; $field =~ s/(const\s+)?(\w+)\*\s+const\*/const \2\*/g; $field =~ s/(\w+)\s+const\s*\*/const \1\*/g; $field =~ s/const /const\-/g; $field =~ s/struct /struct\-/g; $field =~ s/.*\*\///g; next if ($field !~ /\S/); if ($field =~ /(\S+\s+\*?)\(\*\s*(.+)\)\s*\((.*)\)/) { $elem = addNameElem($parent, 'callback', $2); addReturnElem($elem, $1); addParamsElem($elem, $3); } elsif ($field =~ /(unsigned )?(\S+)\s+(.+)/) { my $type = $1 . $2; $symb = $3; foreach $tok (split (/,\s*/, $symb)) { if ($tok =~ /(\w+)\s*\[(.*)\]/) { $elem = addNameElem($parent, 'field', $1, ""); $elem->setAttribute('array_len', "$2"); } elsif ($tok =~ /(\w+)\s*\:\s*(\d+)/) { $elem = addNameElem($parent, 'field', $1, ""); $elem->setAttribute('bits', "$2"); } else { $elem = addNameElem($parent, 'field', $tok, ""); } $elem->setAttribute('type', "$type"); if ($access ne $defaultaccess) { $elem->setAttribute('access', "$access"); } } } else { die "$field\n"; } } } sub addFuncElems { my ($obj_el, $inst, $prefix); $fcnt = keys(%fdefs); foreach $mname (sort (keys (%fdefs))) { next if ($mname =~ /^_/); $obj_el = ""; $prefix = $mname; $prepend = undef; while ($prefix =~ /(\w+)_/) { $prefix = $key = $1; $key =~ s/_//g; # FIXME: lame Gdk API hack if ($key eq "gdkdraw") { $key = "gdkdrawable"; $prepend = "draw_"; } if (exists ($elem_table{$key})) { $prefix .= "_"; $obj_el = $elem_table{$key}; $inst = $key; last; } elsif (exists ($enums{$key}) && ($mname =~ /_get_type/)) { delete $fdefs{$mname}; last; } } next if (!$obj_el); $mdef = delete $fdefs{$mname}; if ($mname =~ /$prefix(new)/) { $el = addNameElem($obj_el, 'constructor', $mname); if ($mdef =~ /^deprecated/) { $el->setAttribute("deprecated", "1"); $mdef =~ s/deprecated//g; } $drop_1st = 0; } else { $el = addNameElem($obj_el, 'method', $mname, $prefix, $prepend); if ($mdef =~ /^deprecated/) { $el->setAttribute("deprecated", "1"); $mdef =~ s/deprecated//g; } $mdef =~ /(.*?)\w+\s*\(/; addReturnElem($el, $1); $mdef =~ /\(\s*(const)?\s*(\w+)/; if (lc($2) ne $inst) { $el->setAttribute("shared", "true"); $drop_1st = 0; } else { $drop_1st = 1; } } parseParms ($el, $mdef, $drop_1st); # Don't add "free" to this regexp; that will wrongly catch all boxed types if ($mname =~ /$prefix(new|destroy|ref|unref)/ && ($obj_el->nodeName eq "boxed" || $obj_el->nodeName eq "struct") && $obj_el->getAttribute("opaque") ne "true") { $obj_el->setAttribute("opaque", "true"); for my $field ($obj_el->getElementsByTagName("field")) { if (!$field->getAttribute("access")) { $field->setAttribute("access", "public"); $field->setAttribute("writeable", "true"); } } } } } sub parseParms { my ($el, $mdef, $drop_1st) = @_; $fmt_args = 0; if ($mdef =~ /G_GNUC_PRINTF.*\((\d+,\s*\d+)\s*\)/) { $fmt_args = $1; $mdef =~ s/\s*G_GNUC_PRINTF.*\)//; } if (($mdef =~ /\((.*)\)/) && ($1 ne "void")) { @parms = (); $parm = ""; $pcnt = 0; foreach $char (split(//, $1)) { if ($char eq "(") { $pcnt++; } elsif ($char eq ")") { $pcnt--; } elsif (($pcnt == 0) && ($char eq ",")) { @parms = (@parms, $parm); $parm = ""; next; } $parm .= $char; } if ($parm) { @parms = (@parms, $parm); } # @parms = split(/,/, $1); ($dump, @parms) = @parms if $drop_1st; if (@parms > 0) { addParamsElem($el, @parms); } if ($fmt_args != 0) { $fmt_args =~ /(\d+),\s*(\d+)/; $fmt = $1; $args = $2; ($params_el, @junk) = $el->getElementsByTagName ("parameters"); (@params) = $params_el->getElementsByTagName ("parameter"); $offset = 1 + $drop_1st; $params[$fmt-$offset]->setAttribute ("printf_format", "true"); $params[$args-$offset]->setAttribute ("printf_format_args", "true"); } } } sub addStaticFuncElems { my ($global_el, $ns_prefix); @mnames = sort (keys (%fdefs)); $mcount = @mnames; return if ($mcount == 0); $ns_prefix = ""; $global_el = ""; for ($i = 0; $i < $mcount; $i++) { $mname = $mnames[$i]; $prefix = $mname; next if ($prefix =~ /^_/); if ($ns_prefix eq "") { my (@toks) = split(/_/, $prefix); for ($j = 0; $j < @toks; $j++) { if (join ("", @toks[0 .. $j]) eq lc($ns)) { $ns_prefix = join ("_", @toks[0 .. $j]); last; } } next if ($ns_prefix eq ""); } next if ($mname !~ /^$ns_prefix/); if ($mname =~ /($ns_prefix)_([a-zA-Z]+)_\w+/) { $classname = $2; $key = $prefix = $1 . "_" . $2 . "_"; $key =~ s/_//g; $cnt = 1; if (exists ($enums{$key})) { $cnt = 1; } elsif ($classname ne "set" && $classname ne "get" && $classname ne "scan" && $classname ne "find" && $classname ne "add" && $classname ne "remove" && $classname ne "free" && $classname ne "register" && $classname ne "execute" && $classname ne "show" && $classname ne "parse" && $classname ne "paint" && $classname ne "string") { while ($mnames[$i+$cnt] =~ /$prefix/) { $cnt++; } } if ($cnt == 1) { $mdef = delete $fdefs{$mname}; if (!$global_el) { $global_el = $doc->createElement('class'); $global_el->setAttribute('name', "Global"); $global_el->setAttribute('cname', $ns . "Global"); $ns_elem->appendChild($global_el); } $el = addNameElem($global_el, 'method', $mname, $ns_prefix); if ($mdef =~ /^deprecated/) { $el->setAttribute("deprecated", "1"); $mdef =~ s/deprecated//g; } $mdef =~ /(.*?)\w+\s*\(/; addReturnElem($el, $1); $el->setAttribute("shared", "true"); parseParms ($el, $mdef, 0); next; } else { $class_el = $doc->createElement('class'); $class_el->setAttribute('name', StudlyCaps($classname)); $class_el->setAttribute('cname', StudlyCaps($prefix)); $ns_elem->appendChild($class_el); for ($j = 0; $j < $cnt; $j++) { $mdef = delete $fdefs{$mnames[$i+$j]}; $el = addNameElem($class_el, 'method', $mnames[$i+$j], $prefix); if ($mdef =~ /^deprecated/) { $el->setAttribute("deprecated", "1"); $mdef =~ s/deprecated//g; } $mdef =~ /(.*?)\w+\s*\(/; addReturnElem($el, $1); $el->setAttribute("shared", "true"); parseParms ($el, $mdef, 0); } $i += ($cnt - 1); next; } } } } sub addNameElem { my ($node, $type, $cname, $prefix, $prepend) = @_; my $elem = $doc->createElement($type); $node->appendChild($elem); if (defined $prefix) { my $match; if ($cname =~ /$prefix(\w+)/) { $match = $1; } else { $match = $cname; } if ($prepend) { $name = $prepend . $match; } else { $name = $match; } $elem->setAttribute('name', StudlyCaps($name)); } if ($cname) { $elem->setAttribute('cname', $cname); } return $elem; } sub addParamsElem { my ($parent, @params) = @_; my $parms_elem = $doc->createElement('parameters'); $parent->appendChild($parms_elem); my $parm_num = 0; foreach $parm (@params) { $parm_num++; $parm =~ s/\s+(\*+)/\1 /g; my $out = $parm =~ s/G_CONST_RETURN/const/g; $parm =~ s/(const\s+)?(\w+)\*\s+const\*/const \2\*/g; $parm =~ s/(\*+)\s*const\s+/\1 /g; $parm =~ s/(\w+)\s+const\s*\*/const \1\*/g; $parm =~ s/const\s+/const-/g; $parm =~ s/unsigned\s+/unsigned-/g; if ($parm =~ /(.*)\(\s*\**\s*(\w+)\)\s+\((.*)\)/) { my $ret = $1; my $cbn = $2; my $params = $3; my $type = $parent->getAttribute('name') . StudlyCaps($cbn); $cb_elem = addNameElem($ns_elem, 'callback', $type, $ns); addReturnElem($cb_elem, $ret); if ($params && ($params ne "void")) { addParamsElem($cb_elem, split(/,/, $params)); my $data_parm = $cb_elem->lastChild()->lastChild(); if ($data_parm && $data_parm->getAttribute('type') eq "gpointer") { $data_parm->setAttribute('name', 'data'); } } $parm_elem = $doc->createElement('parameter'); $parm_elem->setAttribute('type', $type); $parm_elem->setAttribute('name', $cbn); $parms_elem->appendChild($parm_elem); next; } elsif ($parm =~ /\.\.\./) { $parm_elem = $doc->createElement('parameter'); $parms_elem->appendChild($parm_elem); $parm_elem->setAttribute('ellipsis', 'true'); next; } $parm_elem = $doc->createElement('parameter'); $parms_elem->appendChild($parm_elem); my $name = ""; if ($parm =~ /struct\s+(\S+)\s+(\S+)/) { $parm_elem->setAttribute('type', $1); $name = $2; }elsif ($parm =~ /(unsigned )?(\S+)\s+(\S+)/) { $parm_elem->setAttribute('type', $1 . $2); $name = $3; } elsif ($parm =~ /(\S+)/) { $parm_elem->setAttribute('type', $1); $name = "arg" . $parm_num; } if ($name =~ /(\w+)\[.*\]/) { $name = $1; $parm_elem->setAttribute('array', "true"); } if ($out) { $parm_elem->setAttribute('pass_as', "out"); } $parm_elem->setAttribute('name', $name); } } sub addReturnElem { my ($parent, $ret) = @_; $ret =~ s/(\w+)\s+const\s*\*/const \1\*/g; $ret =~ s/const|G_CONST_RETURN/const-/g; $ret =~ s/\s+//g; $ret =~ s/(const-)?(\w+)\*(const-)\*/const-\2\*\*/g; my $ret_elem = $doc->createElement('return-type'); $parent->appendChild($ret_elem); $ret_elem->setAttribute('type', $ret); if ($parent->getAttribute('name') eq "Copy" && $ret =~ /\*$/) { $ret_elem->setAttribute('owned', 'true'); } return $ret_elem; } sub addPropElem { my ($spec, $node, $is_child) = @_; my ($name, $mode, $docs); $spec =~ /g_param_spec_(\w+)\s*\((.*)\s*\)\s*\)/; my $type = $1; my @params = split(/,/, $2); $name = $params[0]; if ($defines{$name}) { $name = $defines{$name}; } else { $name =~ s/\s*\"//g; } $mode = $params[$#params]; if ($type =~ /boolean|float|double|^u?int|pointer|unichar/) { $type = "g$type"; } elsif ($type =~ /string/) { $type = "gchar*"; } elsif ($type =~ /boxed|object/) { $type = $params[$#params-1]; $type =~ s/TYPE_//; $type =~ s/\s+//g; $type = StudlyCaps(lc($type)); } elsif ($type =~ /enum|flags/) { $type = $params[$#params-2]; $type =~ s/TYPE_//; $type =~ s/\s+//g; $type = StudlyCaps(lc($type)); } $prop_elem = $doc->createElement($is_child ? "childprop" : "property"); $node->appendChild($prop_elem); $prop_elem->setAttribute('name', StudlyCaps($name)); $prop_elem->setAttribute('cname', $name); $prop_elem->setAttribute('type', $type); $prop_elem->setAttribute('readable', "true") if ($mode =~ /READ/); $prop_elem->setAttribute('writeable', "true") if ($mode =~ /WRIT/); $prop_elem->setAttribute('construct', "true") if ($mode =~ /CONSTRUCT(?!_)/); $prop_elem->setAttribute('construct-only', "true") if ($mode =~ /CONSTRUCT_ONLY/); } sub parseTypeToken { my ($tok) = @_; if ($tok =~ /G_TYPE_(\w+)/) { my $type = $1; if ($type eq "NONE") { return "void"; } elsif ($type eq "INT") { return "gint32"; } elsif ($type eq "UINT") { return "guint32"; } elsif ($type eq "ENUM" || $type eq "FLAGS") { return "gint32"; } elsif ($type eq "STRING") { return "gchar*"; } elsif ($type eq "OBJECT") { return "GObject*"; } else { return "g" . lc ($type); } } else { $tok =~ s/_TYPE//; $tok =~ s/\|.*STATIC_SCOPE//; $tok =~ s/\W+//g; return StudlyCaps (lc($tok)); } } sub addSignalElem { my ($spec, $class, $node) = @_; $spec =~ s/\n\s*//g; $class =~ s/\n\s*//g; $sig_elem = $doc->createElement('signal'); $node->appendChild($sig_elem); if ($spec =~ /\(\"([\w\-]+)\"/) { $sig_elem->setAttribute('name', StudlyCaps($1)); $sig_elem->setAttribute('cname', $1); } $sig_elem->setAttribute('when', $1) if ($spec =~ /_RUN_(\w+)/); my $method = ""; $sig_elem->setAttribute('manual', 'true') if ($spec =~ /G_TYPE_POINTER/); if ($spec =~ /_OFFSET\s*\(\w+,\s*(\w+)\)/) { $method = $1; $sig_elem->setAttribute('field_name', $1); } else { @args = split(/,/, $spec); my $rettype = parseTypeToken ($args[7]); addReturnElem($sig_elem, $rettype); $parmcnt = $args[8]; $parmcnt =~ s/.*(\d+).*/\1/; $parms_elem = $doc->createElement('parameters'); $sig_elem->appendChild($parms_elem); $parm_elem = $doc->createElement('parameter'); $parms_elem->appendChild($parm_elem); $parm_elem->setAttribute('name', "inst"); $parm_elem->setAttribute('type', "$inst*"); for (my $idx = 0; $idx < $parmcnt; $idx++) { my $argtype = parseTypeToken ($args[9+$idx]); $parm_elem = $doc->createElement('parameter'); $parms_elem->appendChild($parm_elem); $parm_elem->setAttribute('name', "p$idx"); $parm_elem->setAttribute('type', $argtype); } return $class; } if ($class =~ /;\s*(\/\*< (public|protected|private) >\s*\*\/)?(G_CONST_RETURN\s+)?(\w+\s*\**)\s*\(\s*\*\s*$method\)\s*\((.*?)\);/) { $ret = $4; $parms = $5; addReturnElem($sig_elem, $ret); if ($parms && ($parms ne "void")) { addParamsElem($sig_elem, split(/,/, $parms)); } $class =~ s/;\s*(\/\*< (public|protected|private) >\s*\*\/)?(G_CONST_RETURN\s+)?\w+\s*\**\s*\(\s*\*\s*$method\)\s*\(.*?\);/;/; } else { die "ERROR: Failed to parse method $method from class definition:\n$class"; } return $class; } sub addVirtualMethods { my ($class, $orig_class, $node) = @_; $class =~ s/\n\s*//g; $class =~ s/\/\*.*?\*\///g; my $idx = 0; my $ins_sibling = $node->firstChild; while ($ins_sibling && ($ins_sibling->nodeName eq "field" || $ins_sibling->nodeName eq "property")) { $ins_sibling = $ins_sibling->nextSibling (); } while ($class =~ /;\s*(G_CONST_RETURN\s+)?(\S+\s*\**)\s*\(\s*\*\s*(\w+)\)\s*\((.*?)\);/) { $ret = $1 . $2; $cname = $3; $parms = $4; $orig_class =~ /;\s*(G_CONST_RETURN\s+)?(\S+\s*\**)\s*\(\s*\*\s*(\w+)\)\s*\((.*?)\);/; while ($ins_sibling && $3 ne $cname) { $ins_sibling = $ins_sibling->nextSibling (); $orig_class =~ s/;(.*?\));/;/; $orig_class =~ /;\s*(G_CONST_RETURN\s+)?(\S+\s*\**)\s*\(\s*\*\s*(\w+)\)\s*\((.*?)\);/; } if ($cname !~ /reserved/) { $vm_elem = $doc->createElement('virtual_method'); if ($ins_sibling) { $node->insertBefore($vm_elem, $ins_sibling); } else { $node->appendChild($vm_elem); } $vm_elem->setAttribute('name', StudlyCaps($cname)); $vm_elem->setAttribute('cname', $cname); addReturnElem($vm_elem, $ret); if ($parms && ($parms ne "void")) { addParamsElem($vm_elem, split(/,/, $parms)); } } $class =~ s/;\s*(G_CONST_RETURN\s+)?\S+\s*\**\s*\(\s*\*\s*\w+\)\s*\(.*?\);/;/; $orig_class =~ s/;.*?\);/;/; } } sub addImplementsElem { my ($spec, $node) = @_; $spec =~ s/\n\s*//g; if ($spec =~ /,\s*(\w+)_TYPE_(\w+),/) { $impl_elem = $doc->createElement('interface'); $name = StudlyCaps (lc ("$1_$2")); $impl_elem->setAttribute ("cname", "$name"); $node->appendChild($impl_elem); } } sub parseInitFunc { my ($obj_el, $initfunc, $classdef) = @_; my $orig_classdef = $classdef; my @init_lines = split (/\n/, $initfunc); my $linenum = 0; while ($linenum < @init_lines) { my $line = $init_lines[$linenum]; if ($line =~ /#define/) { # FIXME: This ignores the bool helper macro thingie. } elsif ($line =~ /g_object_(class|interface)_install_prop/) { my $prop = $line; while ($prop !~ /\)\s*;/) { $prop .= $init_lines[++$linenum]; } addPropElem ($prop, $obj_el, 0); $propcnt++; } elsif ($line =~ /gtk_container_class_install_child_property/) { my $prop = $line; do { $prop .= $init_lines[++$linenum]; } until ($init_lines[$linenum] =~ /\)\s*;/); addPropElem ($prop, $obj_el, 1); $childpropcnt++; } elsif ($line =~ /\bg.*_signal_new/) { my $sig = $line; do { $sig .= $init_lines[++$linenum]; } until ($init_lines[$linenum] =~ /;/); $classdef = addSignalElem ($sig, $classdef, $obj_el); $sigcnt++; } $linenum++; } addVirtualMethods ($classdef, $orig_classdef, $obj_el); } sub parseTypeFuncMacro { my ($obj_el, $typefunc) = @_; $impls_node = undef; while ($typefunc =~ /G_IMPLEMENT_INTERFACE\s*\(\s*(\w+)/) { $iface = $1; if (not $impls_node) { $impls_node = $doc->createElement ("implements"); $obj_el->appendChild ($impls_node); } addImplementsElem ($prop, $impl_node); if ($iface =~ /(\w+)_TYPE_(\w+)/) { $impl_elem = $doc->createElement('interface'); $name = StudlyCaps (lc ("$1_$2")); $impl_elem->setAttribute ("cname", "$name"); $impls_node->appendChild($impl_elem); } $typefunc =~ s/G_IMPLEMENT_INTERFACE\s*\(.*?\)//; } } sub parseTypeFunc { my ($obj_el, $typefunc) = @_; my @type_lines = split (/\n/, $typefunc); my $linenum = 0; $impl_node = undef; while ($linenum < @type_lines) { my $line = $type_lines[$linenum]; if ($line =~ /#define/) { # FIXME: This ignores the bool helper macro thingie. } elsif ($line =~ /g_type_add_interface_static/) { my $prop = $line; do { $prop .= $type_lines[++$linenum]; } until ($type_lines[$linenum] =~ /;/); if (not $impl_node) { $impl_node = $doc->createElement ("implements"); $obj_el->appendChild ($impl_node); } addImplementsElem ($prop, $impl_node); } $linenum++; } } ############################################################## # Converts a dash or underscore separated name to StudlyCaps. ############################################################## %num2txt = ('1', "One", '2', "Two", '3', "Three", '4', "Four", '5', "Five", '6', "Six", '7', "Seven", '8', "Eight", '9', "Nine", '0', "Zero"); sub StudlyCaps { my ($symb) = @_; $symb =~ s/^([a-z])/\u\1/; $symb =~ s/^(\d)/\1_/; $symb =~ s/[-_]([a-z])/\u\1/g; $symb =~ s/[-_](\d)/\1/g; $symb =~ s/^2/Two/; $symb =~ s/^3/Three/; return $symb; } gtk-sharp-2.12.40/parser/Makefile.am0000664000175000017500000000125512767740470014054 00000000000000assemblydir = $(prefix)/lib/gtk-sharp-2.0 pkgconfigdir = $(libdir)/pkgconfig assembly_DATA = gapi-fixup.exe gapi-parser.exe pkgconfig_DATA = gapi-2.0.pc bin_SCRIPTS = gapi2-fixup gapi2-parser assembly_SCRIPTS = gapi_pp.pl gapi2xml.pl CLEANFILES = gapi-fixup.exe gapi-parser.exe DISTCLEANFILES = gapi2-fixup gapi2-parser gapi-2.0.pc sources = \ gapi-fixup.cs \ gapi-parser.cs EXTRA_DIST = \ $(sources) \ gapi2-parser.in \ gapi_pp.pl \ gapi2xml.pl \ gapi-2.0.pc.in gapi-fixup.exe: $(srcdir)/gapi-fixup.cs $(CSC) -out:gapi-fixup.exe $(srcdir)/gapi-fixup.cs gapi-parser.exe: $(srcdir)/gapi-parser.cs $(CSC) -out:gapi-parser.exe $(srcdir)/gapi-parser.cs gtk-sharp-2.12.40/atk/0000775000175000017500000000000012767740534011361 500000000000000gtk-sharp-2.12.40/atk/RowInsertedHandler.cs0000664000175000017500000000105512767740470015373 00000000000000// This file was auto-generated at one time, but is hardcoded here as part of the fix // for the AtkTable interface; see https://bugzilla.novell.com/show_bug.cgi?id=512477 // The generated code may have been modified as part of this fix; see atk-table.patch namespace Atk { using System; public delegate void RowInsertedHandler(object o, RowInsertedArgs args); public class RowInsertedArgs : GLib.SignalArgs { public int Row{ get { return (int) Args[0]; } } public int NumInserted{ get { return (int) Args[1]; } } } } gtk-sharp-2.12.40/atk/atk-api.raw0000664000175000017500000035273212767740470013355 00000000000000 gtk-sharp-2.12.40/atk/atk-sharp.dll.config.in0000664000175000017500000000031312654353766015540 00000000000000 gtk-sharp-2.12.40/atk/Misc.custom0000664000175000017500000000562312767740470013435 00000000000000// Misc.custom - Atk Misc class customizations // // Author: Mike Kestner // // Copyright (c) 2008 Novell, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int atksharp_misc_override_threads_enter (IntPtr type, ThreadDelegate cb); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void ThreadDelegate (IntPtr raw); static ThreadDelegate ThreadsEnterCallback; static void ThreadsEnter_cb (IntPtr raw) { try { Atk.Misc __obj = GLib.Object.GetObject (raw, false) as Atk.Misc; __obj.OnThreadsEnter (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } static void OverrideThreadsEnter (GLib.GType gtype) { if (ThreadsEnterCallback == null) ThreadsEnterCallback = new ThreadDelegate (ThreadsEnter_cb); atksharp_misc_override_threads_enter (gtype.Val, ThreadsEnterCallback); } [GLib.DefaultSignalHandler (Type=typeof (Atk.Misc), ConnectionMethod="OverrideThreadsEnter")] protected virtual void OnThreadsEnter () { } [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int atksharp_misc_override_threads_leave (IntPtr type, ThreadDelegate cb); static ThreadDelegate ThreadsLeaveCallback; static void ThreadsLeave_cb (IntPtr raw) { try { Atk.Misc __obj = GLib.Object.GetObject (raw, false) as Atk.Misc; __obj.OnThreadsLeave (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } static void OverrideThreadsLeave (GLib.GType gtype) { if (ThreadsLeaveCallback == null) ThreadsLeaveCallback = new ThreadDelegate (ThreadsLeave_cb); atksharp_misc_override_threads_leave (gtype.Val, ThreadsLeaveCallback); } [GLib.DefaultSignalHandler (Type=typeof (Atk.Misc), ConnectionMethod="OverrideThreadsLeave")] protected virtual void OnThreadsLeave () { } [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_misc_set_singleton_instance (IntPtr misc); public static void SetSingletonInstance (Misc misc) { atksharp_misc_set_singleton_instance (misc.Handle); } gtk-sharp-2.12.40/atk/RowDeletedHandler.cs0000664000175000017500000000105112767740470015160 00000000000000// This file was auto-generated at one time, but is hardcoded here as part of the fix // for the AtkTable interface; see https://bugzilla.novell.com/show_bug.cgi?id=512477 // The generated code may have been modified as part of this fix; see atk-table.patch namespace Atk { using System; public delegate void RowDeletedHandler(object o, RowDeletedArgs args); public class RowDeletedArgs : GLib.SignalArgs { public int Row{ get { return (int) Args[0]; } } public int NumDeleted{ get { return (int) Args[1]; } } } } gtk-sharp-2.12.40/atk/TextAdapter.custom0000664000175000017500000000437712767740470014774 00000000000000// TextAdapter.custom - Atk TextAdapter class customizations // // Author: Brad Taylor // // Copyright (c) 2008 Novell, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public void EmitTextChanged (TextChangedDetail detail, int position, int length) { GLib.Signal.Emit (GLib.Object.GetObject (Handle), "text_changed::" + detail.ToString ().ToLower (), position, length); } [DllImport("libatk-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void atk_attribute_set_free(IntPtr raw); [DllImport("libatk-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr atk_text_get_run_attributes(IntPtr raw, int offset, out int start_offset, out int end_offset); public Atk.Attribute[] GetRunAttributes(int offset, out int start_offset, out int end_offset) { IntPtr raw_ret = atk_text_get_run_attributes(Handle, offset, out start_offset, out end_offset); Atk.Attribute[] ret = GLib.Marshaller.ListPtrToArray (raw_ret, typeof(GLib.SList), false, false); atk_attribute_set_free(raw_ret); return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr atk_text_get_default_attributes(IntPtr raw); public Atk.Attribute[] DefaultAttributes { get { IntPtr raw_ret = atk_text_get_default_attributes(Handle); Atk.Attribute[] ret = GLib.Marshaller.ListPtrToArray (raw_ret, typeof(GLib.SList), false, false); atk_attribute_set_free(raw_ret); return ret; } } gtk-sharp-2.12.40/atk/Global.custom0000664000175000017500000000266012767740470013740 00000000000000// Global.custom - Atk Global class customizations // // Author: Mike Kestner // // Copyright (c) 2008 Novell, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern uint atk_add_global_event_listener (GLib.Signal.EmissionHookNative hook, IntPtr event_type); public static uint AddGlobalEventListener (GLib.Signal.EmissionHook hook, string event_type) { IntPtr native_event_type = GLib.Marshaller.StringToPtrGStrdup (event_type); uint id = atk_add_global_event_listener (new GLib.Signal.EmissionHookMarshaler (hook).Callback, native_event_type); GLib.Marshaller.Free (native_event_type); return id; } gtk-sharp-2.12.40/atk/NoOpObject.custom0000664000175000017500000005347312767740470014552 00000000000000// This file's code was originally part of the generated NoOpObject implementation // of the Atk.Table interface, but as part of https://bugzilla.novell.com/show_bug.cgi?id=512477 // it was pulled out here so that the SelectedRows/Columns properties could be manually implemented. [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int atk_table_get_n_rows(IntPtr raw); public int NRows { get { int raw_ret = atk_table_get_n_rows(Handle); int ret = raw_ret; return ret; } } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool atk_table_add_row_selection(IntPtr raw, int row); public bool AddRowSelection(int row) { bool raw_ret = atk_table_add_row_selection(Handle, row); bool ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int atk_table_get_column_extent_at(IntPtr raw, int row, int column); public int GetColumnExtentAt(int row, int column) { int raw_ret = atk_table_get_column_extent_at(Handle, row, column); int ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr atk_table_get_column_header(IntPtr raw, int column); public Atk.Object GetColumnHeader(int column) { IntPtr raw_ret = atk_table_get_column_header(Handle, column); Atk.Object ret = GLib.Object.GetObject(raw_ret) as Atk.Object; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool atk_table_is_selected(IntPtr raw, int row, int column); public bool IsSelected(int row, int column) { bool raw_ret = atk_table_is_selected(Handle, row, column); bool ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr atk_table_get_summary(IntPtr raw); [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void atk_table_set_summary(IntPtr raw, IntPtr accessible); public Atk.Object Summary { get { IntPtr raw_ret = atk_table_get_summary(Handle); Atk.Object ret = GLib.Object.GetObject(raw_ret) as Atk.Object; return ret; } set { atk_table_set_summary(Handle, value == null ? IntPtr.Zero : value.Handle); } } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr atk_table_get_column_description(IntPtr raw, int column); public string GetColumnDescription(int column) { IntPtr raw_ret = atk_table_get_column_description(Handle, column); string ret = GLib.Marshaller.Utf8PtrToString (raw_ret); return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool atk_table_add_column_selection(IntPtr raw, int column); public bool AddColumnSelection(int column) { bool raw_ret = atk_table_add_column_selection(Handle, column); bool ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void atk_table_set_row_header(IntPtr raw, int row, IntPtr header); public void SetRowHeader(int row, Atk.Object header) { atk_table_set_row_header(Handle, row, header == null ? IntPtr.Zero : header.Handle); } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr atk_table_get_row_description(IntPtr raw, int row); public string GetRowDescription(int row) { IntPtr raw_ret = atk_table_get_row_description(Handle, row); string ret = GLib.Marshaller.Utf8PtrToString (raw_ret); return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr atk_table_ref_at(IntPtr raw, int row, int column); public Atk.Object RefAt(int row, int column) { IntPtr raw_ret = atk_table_ref_at(Handle, row, column); Atk.Object ret = GLib.Object.GetObject(raw_ret, true) as Atk.Object; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void atk_table_set_column_description(IntPtr raw, int column, IntPtr description); public void SetColumnDescription(int column, string description) { IntPtr native_description = GLib.Marshaller.StringToPtrGStrdup (description); atk_table_set_column_description(Handle, column, native_description); GLib.Marshaller.Free (native_description); } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int atk_table_get_index_at(IntPtr raw, int row, int column); public int GetIndexAt(int row, int column) { int raw_ret = atk_table_get_index_at(Handle, row, column); int ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr atk_table_get_row_header(IntPtr raw, int row); public Atk.Object GetRowHeader(int row) { IntPtr raw_ret = atk_table_get_row_header(Handle, row); Atk.Object ret = GLib.Object.GetObject(raw_ret) as Atk.Object; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool atk_table_is_column_selected(IntPtr raw, int column); public bool IsColumnSelected(int column) { bool raw_ret = atk_table_is_column_selected(Handle, column); bool ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int atk_table_get_selected_rows(IntPtr raw, out int [] selected); public int [] SelectedRows { get { int [] selected = null; int raw_ret = atk_table_get_selected_rows(Handle, out selected); return raw_ret == 0 ? new int[0] : selected; } } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void atk_table_set_row_description(IntPtr raw, int row, IntPtr description); public void SetRowDescription(int row, string description) { IntPtr native_description = GLib.Marshaller.StringToPtrGStrdup (description); atk_table_set_row_description(Handle, row, native_description); GLib.Marshaller.Free (native_description); } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool atk_table_is_row_selected(IntPtr raw, int row); public bool IsRowSelected(int row) { bool raw_ret = atk_table_is_row_selected(Handle, row); bool ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int atk_table_get_row_extent_at(IntPtr raw, int row, int column); public int GetRowExtentAt(int row, int column) { int raw_ret = atk_table_get_row_extent_at(Handle, row, column); int ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int atk_table_get_selected_columns(IntPtr raw, out int [] selected); public int [] SelectedColumns { get { int [] selected = null; int raw_ret = atk_table_get_selected_columns(Handle, out selected); return raw_ret == 0 ? new int[0] : selected; } } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int atk_table_get_column_at_index(IntPtr raw, int index_); public int GetColumnAtIndex(int index_) { int raw_ret = atk_table_get_column_at_index(Handle, index_); int ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int atk_table_get_row_at_index(IntPtr raw, int index_); public int GetRowAtIndex(int index_) { int raw_ret = atk_table_get_row_at_index(Handle, index_); int ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr atk_table_get_caption(IntPtr raw); [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void atk_table_set_caption(IntPtr raw, IntPtr caption); public Atk.Object Caption { get { IntPtr raw_ret = atk_table_get_caption(Handle); Atk.Object ret = GLib.Object.GetObject(raw_ret) as Atk.Object; return ret; } set { atk_table_set_caption(Handle, value == null ? IntPtr.Zero : value.Handle); } } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int atk_table_get_n_columns(IntPtr raw); public int NColumns { get { int raw_ret = atk_table_get_n_columns(Handle); int ret = raw_ret; return ret; } } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool atk_table_remove_row_selection(IntPtr raw, int row); public bool RemoveRowSelection(int row) { bool raw_ret = atk_table_remove_row_selection(Handle, row); bool ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool atk_table_remove_column_selection(IntPtr raw, int column); public bool RemoveColumnSelection(int column) { bool raw_ret = atk_table_remove_column_selection(Handle, column); bool ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void atk_table_set_column_header(IntPtr raw, int column, IntPtr header); public void SetColumnHeader(int column, Atk.Object header) { atk_table_set_column_header(Handle, column, header == null ? IntPtr.Zero : header.Handle); } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void ColumnReorderedVMDelegate (IntPtr table); static ColumnReorderedVMDelegate ColumnReorderedVMCallback; static void columnreordered_cb (IntPtr table) { try { NoOpObject table_managed = GLib.Object.GetObject (table, false) as NoOpObject; table_managed.OnColumnReordered (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } private static void OverrideColumnReordered (GLib.GType gtype) { if (ColumnReorderedVMCallback == null) ColumnReorderedVMCallback = new ColumnReorderedVMDelegate (columnreordered_cb); OverrideVirtualMethod (gtype, "column_reordered", ColumnReorderedVMCallback); } [GLib.DefaultSignalHandler(Type=typeof(Atk.NoOpObject), ConnectionMethod="OverrideColumnReordered")] protected virtual void OnColumnReordered () { GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (1); using (var val0 = new GLib.Value (this)) { inst_and_params.Append (val0); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); } } [GLib.Signal("column_reordered")] public event System.EventHandler ColumnReordered { add { GLib.Signal sig = GLib.Signal.Lookup (this, "column_reordered"); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (this, "column_reordered"); sig.RemoveDelegate (value); } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void ColumnDeletedVMDelegate (IntPtr table, int column, int num_deleted); static ColumnDeletedVMDelegate ColumnDeletedVMCallback; static void columndeleted_cb (IntPtr table, int column, int num_deleted) { try { NoOpObject table_managed = GLib.Object.GetObject (table, false) as NoOpObject; table_managed.OnColumnDeleted (column, num_deleted); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } private static void OverrideColumnDeleted (GLib.GType gtype) { if (ColumnDeletedVMCallback == null) ColumnDeletedVMCallback = new ColumnDeletedVMDelegate (columndeleted_cb); OverrideVirtualMethod (gtype, "column_deleted", ColumnDeletedVMCallback); } [GLib.DefaultSignalHandler(Type=typeof(Atk.NoOpObject), ConnectionMethod="OverrideColumnDeleted")] protected virtual void OnColumnDeleted (int column, int num_deleted) { GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (3); using (var val0 = new GLib.Value (this)) { inst_and_params.Append (val0); using (var val1 = new GLib.Value (column)) { inst_and_params.Append (val1); using (var val2 = new GLib.Value (num_deleted)) { inst_and_params.Append (val2); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); } } } } [GLib.Signal("column_deleted")] public event Atk.ColumnDeletedHandler ColumnDeleted { add { GLib.Signal sig = GLib.Signal.Lookup (this, "column_deleted", typeof (Atk.ColumnDeletedArgs)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (this, "column_deleted", typeof (Atk.ColumnDeletedArgs)); sig.RemoveDelegate (value); } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void RowReorderedVMDelegate (IntPtr table); static RowReorderedVMDelegate RowReorderedVMCallback; static void rowreordered_cb (IntPtr table) { try { NoOpObject table_managed = GLib.Object.GetObject (table, false) as NoOpObject; table_managed.OnRowReordered (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } private static void OverrideRowReordered (GLib.GType gtype) { if (RowReorderedVMCallback == null) RowReorderedVMCallback = new RowReorderedVMDelegate (rowreordered_cb); OverrideVirtualMethod (gtype, "row_reordered", RowReorderedVMCallback); } [GLib.DefaultSignalHandler(Type=typeof(Atk.NoOpObject), ConnectionMethod="OverrideRowReordered")] protected virtual void OnRowReordered () { GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (1); using (var val0 = new GLib.Value (this)) { inst_and_params.Append (val0); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); } } [GLib.Signal("row_reordered")] public event System.EventHandler RowReordered { add { GLib.Signal sig = GLib.Signal.Lookup (this, "row_reordered"); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (this, "row_reordered"); sig.RemoveDelegate (value); } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void ColumnInsertedVMDelegate (IntPtr table, int column, int num_inserted); static ColumnInsertedVMDelegate ColumnInsertedVMCallback; static void columninserted_cb (IntPtr table, int column, int num_inserted) { try { NoOpObject table_managed = GLib.Object.GetObject (table, false) as NoOpObject; table_managed.OnColumnInserted (column, num_inserted); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } private static void OverrideColumnInserted (GLib.GType gtype) { if (ColumnInsertedVMCallback == null) ColumnInsertedVMCallback = new ColumnInsertedVMDelegate (columninserted_cb); OverrideVirtualMethod (gtype, "column_inserted", ColumnInsertedVMCallback); } [GLib.DefaultSignalHandler(Type=typeof(Atk.NoOpObject), ConnectionMethod="OverrideColumnInserted")] protected virtual void OnColumnInserted (int column, int num_inserted) { GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (3); using (var val0 = new GLib.Value (this)) { inst_and_params.Append (val0); using (var val1 = new GLib.Value (column)) { inst_and_params.Append (val1); using (var val2 = new GLib.Value (num_inserted)) { inst_and_params.Append (val2); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); } } } } [GLib.Signal("column_inserted")] public event Atk.ColumnInsertedHandler ColumnInserted { add { GLib.Signal sig = GLib.Signal.Lookup (this, "column_inserted", typeof (Atk.ColumnInsertedArgs)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (this, "column_inserted", typeof (Atk.ColumnInsertedArgs)); sig.RemoveDelegate (value); } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void ModelChangedVMDelegate (IntPtr table); static ModelChangedVMDelegate ModelChangedVMCallback; static void modelchanged_cb (IntPtr table) { try { NoOpObject table_managed = GLib.Object.GetObject (table, false) as NoOpObject; table_managed.OnModelChanged (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } private static void OverrideModelChanged (GLib.GType gtype) { if (ModelChangedVMCallback == null) ModelChangedVMCallback = new ModelChangedVMDelegate (modelchanged_cb); OverrideVirtualMethod (gtype, "model_changed", ModelChangedVMCallback); } [GLib.DefaultSignalHandler(Type=typeof(Atk.NoOpObject), ConnectionMethod="OverrideModelChanged")] protected virtual void OnModelChanged () { GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (1); using (var val0 = new GLib.Value (this)) { inst_and_params.Append (val0); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); } } [GLib.Signal("model_changed")] public event System.EventHandler ModelChanged { add { GLib.Signal sig = GLib.Signal.Lookup (this, "model_changed"); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (this, "model_changed"); sig.RemoveDelegate (value); } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void RowInsertedVMDelegate (IntPtr table, int row, int num_inserted); static RowInsertedVMDelegate RowInsertedVMCallback; static void rowinserted_cb (IntPtr table, int row, int num_inserted) { try { NoOpObject table_managed = GLib.Object.GetObject (table, false) as NoOpObject; table_managed.OnRowInserted (row, num_inserted); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } private static void OverrideRowInserted (GLib.GType gtype) { if (RowInsertedVMCallback == null) RowInsertedVMCallback = new RowInsertedVMDelegate (rowinserted_cb); OverrideVirtualMethod (gtype, "row_inserted", RowInsertedVMCallback); } [GLib.DefaultSignalHandler(Type=typeof(Atk.NoOpObject), ConnectionMethod="OverrideRowInserted")] protected virtual void OnRowInserted (int row, int num_inserted) { GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (3); using (var val0 = new GLib.Value (this)) { inst_and_params.Append (val0); using (var val1 = new GLib.Value (row)) { inst_and_params.Append (val1); using (var val2 = new GLib.Value (num_inserted)) { inst_and_params.Append (val2); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); } } } } [GLib.Signal("row_inserted")] public event Atk.RowInsertedHandler RowInserted { add { GLib.Signal sig = GLib.Signal.Lookup (this, "row_inserted", typeof (Atk.RowInsertedArgs)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (this, "row_inserted", typeof (Atk.RowInsertedArgs)); sig.RemoveDelegate (value); } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void RowDeletedVMDelegate (IntPtr table, int row, int num_deleted); static RowDeletedVMDelegate RowDeletedVMCallback; static void rowdeleted_cb (IntPtr table, int row, int num_deleted) { try { NoOpObject table_managed = GLib.Object.GetObject (table, false) as NoOpObject; table_managed.OnRowDeleted (row, num_deleted); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } private static void OverrideRowDeleted (GLib.GType gtype) { if (RowDeletedVMCallback == null) RowDeletedVMCallback = new RowDeletedVMDelegate (rowdeleted_cb); OverrideVirtualMethod (gtype, "row_deleted", RowDeletedVMCallback); } [GLib.DefaultSignalHandler(Type=typeof(Atk.NoOpObject), ConnectionMethod="OverrideRowDeleted")] protected virtual void OnRowDeleted (int row, int num_deleted) { GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray (3); using (var val0 = new GLib.Value (this)) { inst_and_params.Append (val0); using (var val1 = new GLib.Value (row)) { inst_and_params.Append (val1); using (var val2 = new GLib.Value (num_deleted)) { inst_and_params.Append (val2); g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret); } } } } [GLib.Signal("row_deleted")] public event Atk.RowDeletedHandler RowDeleted { add { GLib.Signal sig = GLib.Signal.Lookup (this, "row_deleted", typeof (Atk.RowDeletedArgs)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (this, "row_deleted", typeof (Atk.RowDeletedArgs)); sig.RemoveDelegate (value); } } [DllImport("libatk-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void atk_attribute_set_free(IntPtr raw); [DllImport("libatk-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr atk_text_get_run_attributes(IntPtr raw, int offset, out int start_offset, out int end_offset); public Atk.Attribute[] GetRunAttributes(int offset, out int start_offset, out int end_offset) { IntPtr raw_ret = atk_text_get_run_attributes(Handle, offset, out start_offset, out end_offset); Atk.Attribute[] ret = GLib.Marshaller.ListPtrToArray (raw_ret, typeof(GLib.SList), false, false); atk_attribute_set_free(raw_ret); return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr atk_text_get_default_attributes(IntPtr raw); public Atk.Attribute[] DefaultAttributes { get { IntPtr raw_ret = atk_text_get_default_attributes(Handle); Atk.Attribute[] ret = GLib.Marshaller.ListPtrToArray (raw_ret, typeof(GLib.SList), false, false); atk_attribute_set_free(raw_ret); return ret; } } gtk-sharp-2.12.40/atk/Makefile.in0000664000175000017500000006325212767740506013355 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = atk ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = atk-sharp.dll.config CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(gapidir)" DATA = $(gapi_DATA) $(noinst_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in \ $(srcdir)/atk-sharp.dll.config.in \ $(top_srcdir)/Makefile.include DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = . glue pkg = atk METADATA = Atk.metadata SYMBOLS = references = $(top_builddir)/glib/glib-sharp.dll glue_includes = atk/atk.h sources = \ ColumnDeletedHandler.cs \ ColumnInsertedHandler.cs \ RowDeletedHandler.cs \ RowInsertedHandler.cs \ TableAdapter.cs \ Table.cs \ TextChangedDetail.cs customs = \ Global.custom \ Hyperlink.custom \ Misc.custom \ NoOpObject.custom \ Object.custom \ ObjectFactory.custom \ SelectionAdapter.custom \ TextAdapter.custom \ Util.custom add_dist = SNK = gtk-sharp.snk API = $(pkg)-api.xml RAW_API = $(pkg)-api.raw ASSEMBLY_NAME = $(pkg)-sharp ASSEMBLY = $(ASSEMBLY_NAME).dll TARGET = $(pkg:=-sharp.dll) $(pkg:=-sharp.dll.config) $(POLICY_ASSEMBLIES) noinst_DATA = $(TARGET) TARGET_API = $(pkg:=-api.xml) gapidir = $(datadir)/gapi-2.0 gapi_DATA = $(TARGET_API) CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(POLICY_ASSEMBLIES) generated-stamp generated/*.cs $(API) glue/generated.c $(SNK) AssemblyInfo.cs $(POLICY_CONFIGS) DISTCLEANFILES = $(ASSEMBLY).config POLICY_ASSEMBLIES = $(addsuffix .$(ASSEMBLY), $(addprefix policy., $(POLICY_VERSIONS))) POLICY_CONFIGS = $(addsuffix .config, $(addprefix policy., $(POLICY_VERSIONS))) EXTRA_DIST = $(RAW_API) $(SYMBOLS) $(ASSEMBLY).config.in $(METADATA) $(customs) $(sources) $(add_dist) build_symbols = $(addprefix --symbols=$(srcdir)/, $(SYMBOLS)) build_customs = $(addprefix $(srcdir)/, $(customs)) api_includes = $(addprefix -I:, $(INCLUDE_API)) build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs build_references = $(addprefix -r:, $(references)) $(MONO_CAIRO_LIBS) all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.include $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign atk/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign atk/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_srcdir)/Makefile.include $(am__empty): $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): atk-sharp.dll.config: $(top_builddir)/config.status $(srcdir)/atk-sharp.dll.config.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-gapiDATA: $(gapi_DATA) @$(NORMAL_INSTALL) @list='$(gapi_DATA)'; test -n "$(gapidir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(gapidir)'"; \ $(MKDIR_P) "$(DESTDIR)$(gapidir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(gapidir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(gapidir)" || exit $$?; \ done uninstall-gapiDATA: @$(NORMAL_UNINSTALL) @list='$(gapi_DATA)'; test -n "$(gapidir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(gapidir)'; $(am__uninstall_files_from_dir) # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(DATA) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(gapidir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-data-local install-gapiDATA install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-gapiDATA uninstall-local .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am \ install-data-local install-dvi install-dvi-am install-exec \ install-exec-am install-gapiDATA install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs installdirs-am \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-am uninstall uninstall-am uninstall-gapiDATA \ uninstall-local .PRECIOUS: Makefile $(API): $(METADATA) $(RAW_API) $(SYMBOLS) $(top_builddir)/parser/gapi-fixup.exe cp $(srcdir)/$(RAW_API) $(API) chmod u+w $(API) @if test -n '$(METADATA)'; then \ echo "$(RUNTIME) $(top_builddir)/parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA) $(build_symbols)"; \ $(RUNTIME) $(top_builddir)/parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA) $(build_symbols); \ fi generated-stamp: $(API) $(INCLUDE_API) $(top_builddir)/generator/gapi_codegen.exe $(build_customs) rm -f generated/* && \ $(RUNTIME) $(top_builddir)/generator/gapi_codegen.exe --generate $(API) \ $(api_includes) \ --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \ --gluelib-name=$(pkg)sharpglue-2 --glue-filename=glue/generated.c \ --glue-includes=$(glue_includes) \ && touch generated-stamp $(SNK): $(top_srcdir)/$(SNK) cp $(top_srcdir)/$(SNK) . AssemblyInfo.cs: $(top_builddir)/AssemblyInfo.cs cp $(top_builddir)/AssemblyInfo.cs . policy.%.config: $(top_builddir)/policy.config sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$*/" $(top_builddir)/policy.config > $@ $(POLICY_ASSEMBLIES) : policy.%.$(ASSEMBLY): policy.%.config $(SNK) $(AL) -link:policy.$*.config -version:$* -out:$@ -keyfile:$(SNK) $(ASSEMBLY): generated-stamp $(SNK) $(build_sources) $(references) @rm -f $(ASSEMBLY).mdb $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -unsafe -out:$(ASSEMBLY) -target:library $(build_references) $(GENERATED_SOURCES) $(build_sources) install-data-local: @if test -n '$(pkg)'; then \ echo "$(GACUTIL) -i $(ASSEMBLY) -f $(GACUTIL_FLAGS)"; \ $(GACUTIL) -i $(ASSEMBLY) -f $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) -i policy.$$i.$(ASSEMBLY) -f $(GACUTIL_FLAGS)"; \ $(GACUTIL) -i policy.$$i.$(ASSEMBLY) -f $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi uninstall-local: @if test -n '$(pkg)'; then \ echo "$(GACUTIL) -u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) -u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/atk/TableAdapter.cs0000664000175000017500000010724512767740470014170 00000000000000// This file was auto-generated at one time, but is hardcoded here as part of the fix // for the AtkTable interface; see https://bugzilla.novell.com/show_bug.cgi?id=512477 // The generated code may have been modified as part of this fix; see atk-table.patch namespace Atk { using System; using System.Runtime.InteropServices; #region Autogenerated code public class TableAdapter : GLib.GInterfaceAdapter, Atk.Table { static TableIface iface; struct TableIface { public IntPtr gtype; public IntPtr itype; public RefAtDelegate ref_at; public GetIndexAtDelegate get_index_at; public GetColumnAtIndexDelegate get_column_at_index; public GetRowAtIndexDelegate get_row_at_index; public GetNColumnsDelegate get_n_columns; public GetNRowsDelegate get_n_rows; public GetColumnExtentAtDelegate get_column_extent_at; public GetRowExtentAtDelegate get_row_extent_at; public GetCaptionDelegate get_caption; public GetColumnDescriptionDelegate get_column_description; public GetColumnHeaderDelegate get_column_header; public GetRowDescriptionDelegate get_row_description; public GetRowHeaderDelegate get_row_header; public GetSummaryDelegate get_summary; public SetCaptionDelegate set_caption; public SetColumnDescriptionDelegate set_column_description; public SetColumnHeaderDelegate set_column_header; public SetRowDescriptionDelegate set_row_description; public SetRowHeaderDelegate set_row_header; public SetSummaryDelegate set_summary; public GetSelectedColumnsDelegate get_selected_columns; public GetSelectedRowsDelegate get_selected_rows; public IsColumnSelectedDelegate is_column_selected; public IsRowSelectedDelegate is_row_selected; public IsSelectedDelegate is_selected; public AddRowSelectionDelegate add_row_selection; public RemoveRowSelectionDelegate remove_row_selection; public AddColumnSelectionDelegate add_column_selection; public RemoveColumnSelectionDelegate remove_column_selection; public IntPtr row_inserted; public IntPtr column_inserted; public IntPtr row_deleted; public IntPtr column_deleted; public IntPtr row_reordered; public IntPtr column_reordered; public IntPtr model_changed; } static TableAdapter () { GLib.GType.Register (_gtype, typeof(TableAdapter)); iface.ref_at = new RefAtDelegate (RefAtCallback); iface.get_index_at = new GetIndexAtDelegate (GetIndexAtCallback); iface.get_column_at_index = new GetColumnAtIndexDelegate (GetColumnAtIndexCallback); iface.get_row_at_index = new GetRowAtIndexDelegate (GetRowAtIndexCallback); iface.get_n_columns = new GetNColumnsDelegate (GetNColumnsCallback); iface.get_n_rows = new GetNRowsDelegate (GetNRowsCallback); iface.get_column_extent_at = new GetColumnExtentAtDelegate (GetColumnExtentAtCallback); iface.get_row_extent_at = new GetRowExtentAtDelegate (GetRowExtentAtCallback); iface.get_caption = new GetCaptionDelegate (GetCaptionCallback); iface.get_column_description = new GetColumnDescriptionDelegate (GetColumnDescriptionCallback); iface.get_column_header = new GetColumnHeaderDelegate (GetColumnHeaderCallback); iface.get_row_description = new GetRowDescriptionDelegate (GetRowDescriptionCallback); iface.get_row_header = new GetRowHeaderDelegate (GetRowHeaderCallback); iface.get_summary = new GetSummaryDelegate (GetSummaryCallback); iface.set_caption = new SetCaptionDelegate (SetCaptionCallback); iface.set_column_description = new SetColumnDescriptionDelegate (SetColumnDescriptionCallback); iface.set_column_header = new SetColumnHeaderDelegate (SetColumnHeaderCallback); iface.set_row_description = new SetRowDescriptionDelegate (SetRowDescriptionCallback); iface.set_row_header = new SetRowHeaderDelegate (SetRowHeaderCallback); iface.set_summary = new SetSummaryDelegate (SetSummaryCallback); iface.get_selected_columns = new GetSelectedColumnsDelegate (GetSelectedColumnsCallback); iface.get_selected_rows = new GetSelectedRowsDelegate (GetSelectedRowsCallback); iface.is_column_selected = new IsColumnSelectedDelegate (IsColumnSelectedCallback); iface.is_row_selected = new IsRowSelectedDelegate (IsRowSelectedCallback); iface.is_selected = new IsSelectedDelegate (IsSelectedCallback); iface.add_row_selection = new AddRowSelectionDelegate (AddRowSelectionCallback); iface.remove_row_selection = new RemoveRowSelectionDelegate (RemoveRowSelectionCallback); iface.add_column_selection = new AddColumnSelectionDelegate (AddColumnSelectionCallback); iface.remove_column_selection = new RemoveColumnSelectionDelegate (RemoveColumnSelectionCallback); } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr RefAtDelegate (IntPtr table, int row, int column); static IntPtr RefAtCallback (IntPtr table, int row, int column) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; Atk.Object __result = __obj.RefAt (row, column); return __result == null ? IntPtr.Zero : __result.OwnedHandle; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate int GetIndexAtDelegate (IntPtr table, int row, int column); static int GetIndexAtCallback (IntPtr table, int row, int column) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; int __result = __obj.GetIndexAt (row, column); return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate int GetColumnAtIndexDelegate (IntPtr table, int index_); static int GetColumnAtIndexCallback (IntPtr table, int index_) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; int __result = __obj.GetColumnAtIndex (index_); return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate int GetRowAtIndexDelegate (IntPtr table, int index_); static int GetRowAtIndexCallback (IntPtr table, int index_) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; int __result = __obj.GetRowAtIndex (index_); return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate int GetNColumnsDelegate (IntPtr table); static int GetNColumnsCallback (IntPtr table) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; int __result = __obj.NColumns; return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate int GetNRowsDelegate (IntPtr table); static int GetNRowsCallback (IntPtr table) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; int __result = __obj.NRows; return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate int GetColumnExtentAtDelegate (IntPtr table, int row, int column); static int GetColumnExtentAtCallback (IntPtr table, int row, int column) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; int __result = __obj.GetColumnExtentAt (row, column); return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate int GetRowExtentAtDelegate (IntPtr table, int row, int column); static int GetRowExtentAtCallback (IntPtr table, int row, int column) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; int __result = __obj.GetRowExtentAt (row, column); return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr GetCaptionDelegate (IntPtr table); static IntPtr GetCaptionCallback (IntPtr table) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; Atk.Object __result = __obj.Caption; return __result == null ? IntPtr.Zero : __result.Handle; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr GetColumnDescriptionDelegate (IntPtr table, int column); static IntPtr GetColumnDescriptionCallback (IntPtr table, int column) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; string __result = __obj.GetColumnDescription (column); return GLib.Marshaller.StringToPtrGStrdup (__result); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr GetColumnHeaderDelegate (IntPtr table, int column); static IntPtr GetColumnHeaderCallback (IntPtr table, int column) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; Atk.Object __result = __obj.GetColumnHeader (column); return __result == null ? IntPtr.Zero : __result.Handle; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr GetRowDescriptionDelegate (IntPtr table, int row); static IntPtr GetRowDescriptionCallback (IntPtr table, int row) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; string __result = __obj.GetRowDescription (row); return GLib.Marshaller.StringToPtrGStrdup (__result); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr GetRowHeaderDelegate (IntPtr table, int row); static IntPtr GetRowHeaderCallback (IntPtr table, int row) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; Atk.Object __result = __obj.GetRowHeader (row); return __result == null ? IntPtr.Zero : __result.Handle; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr GetSummaryDelegate (IntPtr table); static IntPtr GetSummaryCallback (IntPtr table) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; Atk.Object __result = __obj.Summary; return __result == null ? IntPtr.Zero : __result.Handle; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void SetCaptionDelegate (IntPtr table, IntPtr caption); static void SetCaptionCallback (IntPtr table, IntPtr caption) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; __obj.Caption = GLib.Object.GetObject(caption) as Atk.Object; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void SetColumnDescriptionDelegate (IntPtr table, int column, IntPtr description); static void SetColumnDescriptionCallback (IntPtr table, int column, IntPtr description) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; __obj.SetColumnDescription (column, GLib.Marshaller.Utf8PtrToString (description)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void SetColumnHeaderDelegate (IntPtr table, int column, IntPtr header); static void SetColumnHeaderCallback (IntPtr table, int column, IntPtr header) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; __obj.SetColumnHeader (column, GLib.Object.GetObject(header) as Atk.Object); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void SetRowDescriptionDelegate (IntPtr table, int row, IntPtr description); static void SetRowDescriptionCallback (IntPtr table, int row, IntPtr description) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; __obj.SetRowDescription (row, GLib.Marshaller.Utf8PtrToString (description)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void SetRowHeaderDelegate (IntPtr table, int row, IntPtr header); static void SetRowHeaderCallback (IntPtr table, int row, IntPtr header) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; __obj.SetRowHeader (row, GLib.Object.GetObject(header) as Atk.Object); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void SetSummaryDelegate (IntPtr table, IntPtr accessible); static void SetSummaryCallback (IntPtr table, IntPtr accessible) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; __obj.Summary = GLib.Object.GetObject(accessible) as Atk.Object; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate int GetSelectedColumnsDelegate (IntPtr table, out IntPtr selected_ptr); static int GetSelectedColumnsCallback (IntPtr table, out IntPtr selected_ptr) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; int [] selected = __obj.SelectedColumns; if (selected.Length > 0) { selected_ptr = GLib.Marshaller.Malloc ((ulong)(sizeof(int) * selected.Length)); Marshal.Copy (selected, 0, selected_ptr, selected.Length); } else { selected_ptr = IntPtr.Zero; } return selected.Length; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate int GetSelectedRowsDelegate (IntPtr table, out IntPtr selected); static int GetSelectedRowsCallback (IntPtr table, out IntPtr selected_ptr) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; int [] selected = __obj.SelectedRows; if (selected.Length > 0) { selected_ptr = GLib.Marshaller.Malloc ((ulong)(sizeof (int) * selected.Length)); Marshal.Copy (selected, 0, selected_ptr, selected.Length); } else { selected_ptr = IntPtr.Zero; } return selected.Length; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate bool IsColumnSelectedDelegate (IntPtr table, int column); static bool IsColumnSelectedCallback (IntPtr table, int column) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; bool __result = __obj.IsColumnSelected (column); return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate bool IsRowSelectedDelegate (IntPtr table, int row); static bool IsRowSelectedCallback (IntPtr table, int row) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; bool __result = __obj.IsRowSelected (row); return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate bool IsSelectedDelegate (IntPtr table, int row, int column); static bool IsSelectedCallback (IntPtr table, int row, int column) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; bool __result = __obj.IsSelected (row, column); return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate bool AddRowSelectionDelegate (IntPtr table, int row); static bool AddRowSelectionCallback (IntPtr table, int row) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; bool __result = __obj.AddRowSelection (row); return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate bool RemoveRowSelectionDelegate (IntPtr table, int row); static bool RemoveRowSelectionCallback (IntPtr table, int row) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; bool __result = __obj.RemoveRowSelection (row); return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate bool AddColumnSelectionDelegate (IntPtr table, int column); static bool AddColumnSelectionCallback (IntPtr table, int column) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; bool __result = __obj.AddColumnSelection (column); return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate bool RemoveColumnSelectionDelegate (IntPtr table, int column); static bool RemoveColumnSelectionCallback (IntPtr table, int column) { try { Atk.TableImplementor __obj = GLib.Object.GetObject (table, false) as Atk.TableImplementor; bool __result = __obj.RemoveColumnSelection (column); return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } } static void Initialize (IntPtr ifaceptr, IntPtr data) { TableIface native_iface = (TableIface) Marshal.PtrToStructure (ifaceptr, typeof (TableIface)); native_iface.ref_at = iface.ref_at; native_iface.get_index_at = iface.get_index_at; native_iface.get_column_at_index = iface.get_column_at_index; native_iface.get_row_at_index = iface.get_row_at_index; native_iface.get_n_columns = iface.get_n_columns; native_iface.get_n_rows = iface.get_n_rows; native_iface.get_column_extent_at = iface.get_column_extent_at; native_iface.get_row_extent_at = iface.get_row_extent_at; native_iface.get_caption = iface.get_caption; native_iface.get_column_description = iface.get_column_description; native_iface.get_column_header = iface.get_column_header; native_iface.get_row_description = iface.get_row_description; native_iface.get_row_header = iface.get_row_header; native_iface.get_summary = iface.get_summary; native_iface.set_caption = iface.set_caption; native_iface.set_column_description = iface.set_column_description; native_iface.set_column_header = iface.set_column_header; native_iface.set_row_description = iface.set_row_description; native_iface.set_row_header = iface.set_row_header; native_iface.set_summary = iface.set_summary; native_iface.get_selected_columns = iface.get_selected_columns; native_iface.get_selected_rows = iface.get_selected_rows; native_iface.is_column_selected = iface.is_column_selected; native_iface.is_row_selected = iface.is_row_selected; native_iface.is_selected = iface.is_selected; native_iface.add_row_selection = iface.add_row_selection; native_iface.remove_row_selection = iface.remove_row_selection; native_iface.add_column_selection = iface.add_column_selection; native_iface.remove_column_selection = iface.remove_column_selection; Marshal.StructureToPtr (native_iface, ifaceptr, false); GCHandle gch = (GCHandle) data; gch.Free (); } public TableAdapter () { InitHandler = new GLib.GInterfaceInitHandler (Initialize); } TableImplementor implementor; public TableAdapter (TableImplementor implementor) { if (implementor == null) throw new ArgumentNullException ("implementor"); this.implementor = implementor; } public TableAdapter (IntPtr handle) { this.handle = handle; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr atk_table_get_type(); private static GLib.GType _gtype = new GLib.GType (atk_table_get_type ()); public override GLib.GType GType { get { return _gtype; } } IntPtr handle; public override IntPtr Handle { get { if (handle != IntPtr.Zero) return handle; return implementor == null ? IntPtr.Zero : implementor.Handle; } } public static Table GetObject (IntPtr handle, bool owned) { GLib.Object obj = GLib.Object.GetObject (handle, owned); return GetObject (obj); } public static Table GetObject (GLib.Object obj) { if (obj == null) return null; else if (obj is TableImplementor) return new TableAdapter (obj as TableImplementor); else if (obj as Table == null) return new TableAdapter (obj.Handle); else return obj as Table; } public TableImplementor Implementor { get { return implementor; } } [GLib.Signal("column_reordered")] public event System.EventHandler ColumnReordered { add { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "column_reordered"); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "column_reordered"); sig.RemoveDelegate (value); } } [GLib.Signal("column_deleted")] public event Atk.ColumnDeletedHandler ColumnDeleted { add { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "column_deleted", typeof (Atk.ColumnDeletedArgs)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "column_deleted", typeof (Atk.ColumnDeletedArgs)); sig.RemoveDelegate (value); } } [GLib.Signal("row_reordered")] public event System.EventHandler RowReordered { add { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "row_reordered"); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "row_reordered"); sig.RemoveDelegate (value); } } [GLib.Signal("column_inserted")] public event Atk.ColumnInsertedHandler ColumnInserted { add { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "column_inserted", typeof (Atk.ColumnInsertedArgs)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "column_inserted", typeof (Atk.ColumnInsertedArgs)); sig.RemoveDelegate (value); } } [GLib.Signal("model_changed")] public event System.EventHandler ModelChanged { add { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "model_changed"); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "model_changed"); sig.RemoveDelegate (value); } } [GLib.Signal("row_inserted")] public event Atk.RowInsertedHandler RowInserted { add { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "row_inserted", typeof (Atk.RowInsertedArgs)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "row_inserted", typeof (Atk.RowInsertedArgs)); sig.RemoveDelegate (value); } } [GLib.Signal("row_deleted")] public event Atk.RowDeletedHandler RowDeleted { add { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "row_deleted", typeof (Atk.RowDeletedArgs)); sig.AddDelegate (value); } remove { GLib.Signal sig = GLib.Signal.Lookup (GLib.Object.GetObject (Handle), "row_deleted", typeof (Atk.RowDeletedArgs)); sig.RemoveDelegate (value); } } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int atk_table_get_n_rows(IntPtr raw); public int NRows { get { int raw_ret = atk_table_get_n_rows(Handle); int ret = raw_ret; return ret; } } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool atk_table_add_row_selection(IntPtr raw, int row); public bool AddRowSelection(int row) { bool raw_ret = atk_table_add_row_selection(Handle, row); bool ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int atk_table_get_column_extent_at(IntPtr raw, int row, int column); public int GetColumnExtentAt(int row, int column) { int raw_ret = atk_table_get_column_extent_at(Handle, row, column); int ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr atk_table_get_column_header(IntPtr raw, int column); public Atk.Object GetColumnHeader(int column) { IntPtr raw_ret = atk_table_get_column_header(Handle, column); Atk.Object ret = GLib.Object.GetObject(raw_ret) as Atk.Object; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool atk_table_is_selected(IntPtr raw, int row, int column); public bool IsSelected(int row, int column) { bool raw_ret = atk_table_is_selected(Handle, row, column); bool ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr atk_table_get_summary(IntPtr raw); [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void atk_table_set_summary(IntPtr raw, IntPtr accessible); public Atk.Object Summary { get { IntPtr raw_ret = atk_table_get_summary(Handle); Atk.Object ret = GLib.Object.GetObject(raw_ret) as Atk.Object; return ret; } set { atk_table_set_summary(Handle, value == null ? IntPtr.Zero : value.Handle); } } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr atk_table_get_column_description(IntPtr raw, int column); public string GetColumnDescription(int column) { IntPtr raw_ret = atk_table_get_column_description(Handle, column); string ret = GLib.Marshaller.Utf8PtrToString (raw_ret); return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool atk_table_add_column_selection(IntPtr raw, int column); public bool AddColumnSelection(int column) { bool raw_ret = atk_table_add_column_selection(Handle, column); bool ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void atk_table_set_row_header(IntPtr raw, int row, IntPtr header); public void SetRowHeader(int row, Atk.Object header) { atk_table_set_row_header(Handle, row, header == null ? IntPtr.Zero : header.Handle); } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr atk_table_get_row_description(IntPtr raw, int row); public string GetRowDescription(int row) { IntPtr raw_ret = atk_table_get_row_description(Handle, row); string ret = GLib.Marshaller.Utf8PtrToString (raw_ret); return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr atk_table_ref_at(IntPtr raw, int row, int column); public Atk.Object RefAt(int row, int column) { IntPtr raw_ret = atk_table_ref_at(Handle, row, column); Atk.Object ret = GLib.Object.GetObject(raw_ret, true) as Atk.Object; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void atk_table_set_column_description(IntPtr raw, int column, IntPtr description); public void SetColumnDescription(int column, string description) { IntPtr native_description = GLib.Marshaller.StringToPtrGStrdup (description); atk_table_set_column_description(Handle, column, native_description); GLib.Marshaller.Free (native_description); } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int atk_table_get_index_at(IntPtr raw, int row, int column); public int GetIndexAt(int row, int column) { int raw_ret = atk_table_get_index_at(Handle, row, column); int ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr atk_table_get_row_header(IntPtr raw, int row); public Atk.Object GetRowHeader(int row) { IntPtr raw_ret = atk_table_get_row_header(Handle, row); Atk.Object ret = GLib.Object.GetObject(raw_ret) as Atk.Object; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool atk_table_is_column_selected(IntPtr raw, int column); public bool IsColumnSelected(int column) { bool raw_ret = atk_table_is_column_selected(Handle, column); bool ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int atk_table_get_selected_rows(IntPtr raw, out IntPtr selected); private static readonly int [] empty_int_array = new int[0]; public int [] SelectedRows { get { IntPtr selected_ptr; int len = atk_table_get_selected_rows(Handle, out selected_ptr); int [] selected = null; if (len > 0) { selected = new int [len]; Marshal.Copy (selected_ptr, selected, 0, len); } if (selected_ptr != IntPtr.Zero) { GLib.Marshaller.Free (selected_ptr); } return selected == null ? empty_int_array : selected; } } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void atk_table_set_row_description(IntPtr raw, int row, IntPtr description); public void SetRowDescription(int row, string description) { IntPtr native_description = GLib.Marshaller.StringToPtrGStrdup (description); atk_table_set_row_description(Handle, row, native_description); GLib.Marshaller.Free (native_description); } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool atk_table_is_row_selected(IntPtr raw, int row); public bool IsRowSelected(int row) { bool raw_ret = atk_table_is_row_selected(Handle, row); bool ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int atk_table_get_row_extent_at(IntPtr raw, int row, int column); public int GetRowExtentAt(int row, int column) { int raw_ret = atk_table_get_row_extent_at(Handle, row, column); int ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int atk_table_get_selected_columns(IntPtr raw, out IntPtr selected); public int [] SelectedColumns{ get { IntPtr selected_ptr; int len = atk_table_get_selected_columns(Handle, out selected_ptr); int [] selected = null; if (len > 0) { selected = new int [len]; Marshal.Copy (selected_ptr, selected, 0, len); } if (selected_ptr != IntPtr.Zero) { GLib.Marshaller.Free (selected_ptr); } return selected == null ? empty_int_array : selected; } } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int atk_table_get_column_at_index(IntPtr raw, int index_); public int GetColumnAtIndex(int index_) { int raw_ret = atk_table_get_column_at_index(Handle, index_); int ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int atk_table_get_row_at_index(IntPtr raw, int index_); public int GetRowAtIndex(int index_) { int raw_ret = atk_table_get_row_at_index(Handle, index_); int ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr atk_table_get_caption(IntPtr raw); [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void atk_table_set_caption(IntPtr raw, IntPtr caption); public Atk.Object Caption { get { IntPtr raw_ret = atk_table_get_caption(Handle); Atk.Object ret = GLib.Object.GetObject(raw_ret) as Atk.Object; return ret; } set { atk_table_set_caption(Handle, value == null ? IntPtr.Zero : value.Handle); } } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int atk_table_get_n_columns(IntPtr raw); public int NColumns { get { int raw_ret = atk_table_get_n_columns(Handle); int ret = raw_ret; return ret; } } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool atk_table_remove_row_selection(IntPtr raw, int row); public bool RemoveRowSelection(int row) { bool raw_ret = atk_table_remove_row_selection(Handle, row); bool ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool atk_table_remove_column_selection(IntPtr raw, int column); public bool RemoveColumnSelection(int column) { bool raw_ret = atk_table_remove_column_selection(Handle, column); bool ret = raw_ret; return ret; } [DllImport("libatk-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void atk_table_set_column_header(IntPtr raw, int column, IntPtr header); public void SetColumnHeader(int column, Atk.Object header) { atk_table_set_column_header(Handle, column, header == null ? IntPtr.Zero : header.Handle); } #endregion } } gtk-sharp-2.12.40/atk/SelectionAdapter.custom0000664000175000017500000000202512767740470015761 00000000000000// SelectionAdapter.custom - Atk SelectionAdapter class customizations // // Author: Andrés G. Aragoneses // // Copyright (c) 2008 Novell, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public void EmitSelectionChanged () { GLib.Signal.Emit (GLib.Object.GetObject (Handle), "selection_changed"); } gtk-sharp-2.12.40/atk/Table.cs0000664000175000017500000000560212767740470012661 00000000000000// This file was auto-generated at one time, but is hardcoded here as part of the fix // for the AtkTable interface; see https://bugzilla.novell.com/show_bug.cgi?id=512477 // The generated code may have been modified as part of this fix; see atk-table.patch namespace Atk { using System; #region Autogenerated code public interface Table : GLib.IWrapper { event System.EventHandler ColumnReordered; event Atk.ColumnDeletedHandler ColumnDeleted; event System.EventHandler RowReordered; event Atk.ColumnInsertedHandler ColumnInserted; event System.EventHandler ModelChanged; event Atk.RowInsertedHandler RowInserted; event Atk.RowDeletedHandler RowDeleted; int NRows { get; } bool AddRowSelection(int row); int GetColumnExtentAt(int row, int column); Atk.Object GetColumnHeader(int column); bool IsSelected(int row, int column); Atk.Object Summary { get; set; } string GetColumnDescription(int column); bool AddColumnSelection(int column); void SetRowHeader(int row, Atk.Object header); string GetRowDescription(int row); Atk.Object RefAt(int row, int column); void SetColumnDescription(int column, string description); int GetIndexAt(int row, int column); Atk.Object GetRowHeader(int row); bool IsColumnSelected(int column); int [] SelectedRows { get; } void SetRowDescription(int row, string description); bool IsRowSelected(int row); int GetRowExtentAt(int row, int column); int [] SelectedColumns { get; } int GetColumnAtIndex(int index_); int GetRowAtIndex(int index_); Atk.Object Caption { get; set; } int NColumns { get; } bool RemoveRowSelection(int row); bool RemoveColumnSelection(int column); void SetColumnHeader(int column, Atk.Object header); } [GLib.GInterface (typeof (TableAdapter))] public interface TableImplementor : GLib.IWrapper { Atk.Object RefAt (int row, int column); int GetIndexAt (int row, int column); int GetColumnAtIndex (int index_); int GetRowAtIndex (int index_); int NColumns { get; } int NRows { get; } int GetColumnExtentAt (int row, int column); int GetRowExtentAt (int row, int column); Atk.Object Caption { get; set; } string GetColumnDescription (int column); Atk.Object GetColumnHeader (int column); string GetRowDescription (int row); Atk.Object GetRowHeader (int row); Atk.Object Summary { get; set; } void SetColumnDescription (int column, string description); void SetColumnHeader (int column, Atk.Object header); void SetRowDescription (int row, string description); void SetRowHeader (int row, Atk.Object header); int [] SelectedColumns { get; } int [] SelectedRows { get; } bool IsColumnSelected (int column); bool IsRowSelected (int row); bool IsSelected (int row, int column); bool AddRowSelection (int row); bool RemoveRowSelection (int row); bool AddColumnSelection (int column); bool RemoveColumnSelection (int column); } #endregion } gtk-sharp-2.12.40/atk/Util.custom0000664000175000017500000002325512767740470013460 00000000000000// Util.custom - Atk Util class customizations // // Author: Mike Kestner // // Copyright (c) 2008 Novell, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate uint AddGlobalEventListenerNativeDelegate (GLib.Signal.EmissionHookNative hook, IntPtr event_type); static AddGlobalEventListenerDelegate add_global_event_listener_handler; static AddGlobalEventListenerNativeDelegate add_global_event_listener_callback; static uint AddGlobalEventListenerCallback (GLib.Signal.EmissionHookNative hook, IntPtr event_type) { try { return add_global_event_listener_handler (new GLib.Signal.EmissionHookMarshaler (hook, IntPtr.Zero).Invoker, GLib.Marshaller.Utf8PtrToString (event_type)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return 0; } public delegate uint AddGlobalEventListenerDelegate (GLib.Signal.EmissionHook hook, string event_type); [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_util_override_add_global_event_listener (AddGlobalEventListenerNativeDelegate cb); public static AddGlobalEventListenerDelegate AddGlobalEventListenerHandler { set { add_global_event_listener_handler = value; if (add_global_event_listener_callback == null) add_global_event_listener_callback = new AddGlobalEventListenerNativeDelegate (AddGlobalEventListenerCallback); atksharp_util_override_add_global_event_listener (add_global_event_listener_callback); } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void RemoveListenerNativeDelegate (uint listener_id); static RemoveListenerDelegate remove_global_event_listener_handler; static RemoveListenerNativeDelegate remove_global_event_listener_callback; static void RemoveGlobalEventListenerCallback (uint listener_id) { try { remove_global_event_listener_handler (listener_id); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_util_override_remove_global_event_listener (RemoveListenerNativeDelegate cb); public delegate void RemoveListenerDelegate (uint listener_id); public static RemoveListenerDelegate RemoveGlobalEventListenerHandler { set { remove_global_event_listener_handler = value; if (remove_global_event_listener_callback == null) remove_global_event_listener_callback = new RemoveListenerNativeDelegate (RemoveGlobalEventListenerCallback); atksharp_util_override_remove_global_event_listener (remove_global_event_listener_callback); } } class KeySnoopFuncInvoker { AtkSharp.KeySnoopFuncNative native_cb; IntPtr data; internal KeySnoopFuncInvoker (AtkSharp.KeySnoopFuncNative native_cb, IntPtr data) { this.native_cb = native_cb; this.data = data; } internal KeySnoopFunc Handler { get { return new KeySnoopFunc (InvokeNative); } } int InvokeNative (KeyEventStruct evnt) { IntPtr native_evnt = GLib.Marshaller.StructureToPtrAlloc (evnt); int result = native_cb (native_evnt, data); evnt = KeyEventStruct.New (native_evnt); Marshal.FreeHGlobal (native_evnt); return result; } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate uint AddKeyEventListenerNativeDelegate (AtkSharp.KeySnoopFuncNative native_func, IntPtr data); static AddKeyEventListenerDelegate add_key_event_listener_handler; static AddKeyEventListenerNativeDelegate add_key_event_listener_callback; static uint AddKeyEventListenerCallback (AtkSharp.KeySnoopFuncNative func, IntPtr data) { try { return add_key_event_listener_handler (new KeySnoopFuncInvoker (func, data).Handler); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return 0; } [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_util_override_add_key_event_listener (AddKeyEventListenerNativeDelegate cb); public delegate uint AddKeyEventListenerDelegate (KeySnoopFunc listener); public static AddKeyEventListenerDelegate AddKeyEventListenerHandler { set { add_key_event_listener_handler = value; if (add_key_event_listener_callback == null) add_key_event_listener_callback = new AddKeyEventListenerNativeDelegate (AddKeyEventListenerCallback); atksharp_util_override_add_key_event_listener (add_key_event_listener_callback); } } static RemoveListenerDelegate remove_key_event_listener_handler; static RemoveListenerNativeDelegate remove_key_event_listener_callback; static void RemoveKeyEventListenerCallback (uint listener_id) { try { remove_key_event_listener_handler (listener_id); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_util_override_remove_key_event_listener (RemoveListenerNativeDelegate cb); public static RemoveListenerDelegate RemoveKeyEventListenerHandler { set { remove_key_event_listener_handler = value; if (remove_key_event_listener_callback == null) remove_key_event_listener_callback = new RemoveListenerNativeDelegate (RemoveKeyEventListenerCallback); atksharp_util_override_remove_key_event_listener (remove_key_event_listener_callback); } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr GetRootNativeDelegate (); static GetRootDelegate get_root_handler; static GetRootNativeDelegate get_root_callback; static IntPtr GetRootCallback () { try { return get_root_handler ().Handle; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return IntPtr.Zero; } [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_util_override_get_root (GetRootNativeDelegate cb); public delegate Atk.Object GetRootDelegate (); public static GetRootDelegate GetRootHandler { set { get_root_handler = value; if (value == null) atksharp_util_override_get_root (null); else { if (get_root_callback == null) get_root_callback = new GetRootNativeDelegate (GetRootCallback); atksharp_util_override_get_root (get_root_callback); } } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr GetToolkitNameNativeDelegate (); static GetToolkitNameDelegate get_toolkit_name_handler; static GetToolkitNameNativeDelegate get_toolkit_name_callback; static string toolkit_name; static IntPtr toolkit_name_native; static IntPtr GetToolkitNameCallback () { try { string name = get_toolkit_name_handler (); if (name != toolkit_name) { GLib.Marshaller.Free (toolkit_name_native); toolkit_name_native = GLib.Marshaller.StringToPtrGStrdup (name); toolkit_name = name; } return toolkit_name_native; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return IntPtr.Zero; } [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_util_override_get_toolkit_name (GetToolkitNameNativeDelegate cb); public delegate string GetToolkitNameDelegate (); public static GetToolkitNameDelegate GetToolkitNameHandler { set { get_toolkit_name_handler = value; if (get_toolkit_name_callback == null) get_toolkit_name_callback = new GetToolkitNameNativeDelegate (GetToolkitNameCallback); atksharp_util_override_get_toolkit_name (get_toolkit_name_callback); } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr GetToolkitVersionNativeDelegate (); static GetToolkitVersionDelegate get_toolkit_version_handler; static GetToolkitVersionNativeDelegate get_toolkit_version_callback; static string toolkit_version; static IntPtr toolkit_version_native; static IntPtr GetToolkitVersionCallback () { try { string version = get_toolkit_version_handler (); if (version != toolkit_version) { GLib.Marshaller.Free (toolkit_version_native); toolkit_version_native = GLib.Marshaller.StringToPtrGStrdup (version); toolkit_version = version; } return toolkit_version_native; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return IntPtr.Zero; } [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_util_override_get_toolkit_version (GetToolkitVersionNativeDelegate cb); public delegate string GetToolkitVersionDelegate (); public static GetToolkitVersionDelegate GetToolkitVersionHandler { set { get_toolkit_version_handler = value; if (get_toolkit_version_callback == null) get_toolkit_version_callback = new GetToolkitVersionNativeDelegate (GetToolkitVersionCallback); atksharp_util_override_get_toolkit_version (get_toolkit_version_callback); } } gtk-sharp-2.12.40/atk/ObjectFactory.custom0000664000175000017500000001250412767740470015274 00000000000000// ObjectFactory.custom - Atk ObjectFactory class customizations // // Authors: Mike Gorse // Mike Kestner // // Copyright (c) 2008-2009 Novell, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. static Hashtable instances = new Hashtable (); protected override IntPtr Raw { get { return base.Raw; } set { base.Raw = value; if (value != IntPtr.Zero) instances [LookupGType (GetType ())] = this; } } static Hashtable marshalers = new Hashtable (); static Marshaler GetMarshaler (GLib.GType gtype) { Marshaler marshaler = marshalers [gtype] as Marshaler; if (marshaler == null) { marshaler = new Marshaler (gtype); marshalers [gtype] = marshaler; } return marshaler; } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr CreateAccessibleDelegate (IntPtr raw); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void InvalidateDelegate (IntPtr raw); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr GetAccessibleTypeDelegate (IntPtr raw); class Marshaler { GLib.GType gtype; CreateAccessibleDelegate create_cb; InvalidateDelegate invalidate_cb; GetAccessibleTypeDelegate gettype_cb; public Marshaler (GLib.GType gtype) { this.gtype = gtype; } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_object_ref (IntPtr handle); IntPtr CreateAccessible_cb (IntPtr raw) { try { Atk.ObjectFactory obj = instances [gtype] as Atk.ObjectFactory; if (obj == null) return IntPtr.Zero; Atk.Object ret = obj.OnCreateAccessible (GLib.Object.GetObject (raw, false)); if (ret != null) g_object_ref (ret.Handle); return ret == null ? IntPtr.Zero : ret.Handle; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return IntPtr.Zero; } void Invalidate_cb (IntPtr raw) { try { Atk.ObjectFactory obj = GLib.Object.GetObject (raw, false) as Atk.ObjectFactory; obj.OnInvalidate (); instances.Remove (gtype); marshalers.Remove (gtype); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } } IntPtr GetAccessibleType_cb (IntPtr raw) { try { Atk.ObjectFactory obj = instances [gtype] as Atk.ObjectFactory; if (obj == null) return GLib.GType.Invalid.Val; return obj.OnGetAccessibleType ().Val; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return GLib.GType.Invalid.Val; } [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_object_factory_override_create_accessible (IntPtr type, CreateAccessibleDelegate cb); public void ConnectCreateAccessible () { create_cb = new CreateAccessibleDelegate (CreateAccessible_cb); atksharp_object_factory_override_create_accessible (gtype.Val, create_cb); } [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_object_factory_override_invalidate (IntPtr type, InvalidateDelegate cb); public void ConnectInvalidate () { invalidate_cb = new InvalidateDelegate (Invalidate_cb); atksharp_object_factory_override_invalidate (gtype.Val, invalidate_cb); } [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_object_factory_override_get_accessible_type (IntPtr type, GetAccessibleTypeDelegate cb); public void ConnectGetAccessibleType () { gettype_cb = new GetAccessibleTypeDelegate (GetAccessibleType_cb); atksharp_object_factory_override_get_accessible_type (gtype.Val, gettype_cb); } } static void OverrideCreateAccessible (GLib.GType gtype) { GetMarshaler (gtype).ConnectCreateAccessible (); } [GLib.DefaultSignalHandler (Type=typeof(Atk.ObjectFactory), ConnectionMethod="OverrideCreateAccessible")] protected virtual Atk.Object OnCreateAccessible (GLib.Object obj) { return null; } static void OverrideInvalidate (GLib.GType gtype) { GetMarshaler (gtype).ConnectInvalidate (); } [GLib.DefaultSignalHandler (Type=typeof(Atk.ObjectFactory), ConnectionMethod="OverrideInvalidate")] protected virtual void OnInvalidate () { } static void OverrideGetAccessibleType (GLib.GType gtype) { GetMarshaler (gtype).ConnectGetAccessibleType (); } [GLib.DefaultSignalHandler (Type=typeof(Atk.ObjectFactory), ConnectionMethod="OverrideGetAccessibleType")] protected virtual GLib.GType OnGetAccessibleType () { return GLib.GType.Invalid; } gtk-sharp-2.12.40/atk/TextChangedDetail.cs0000664000175000017500000000161712654353766015160 00000000000000// TextChangedDetail.cs - Detail enumeration for the TextChanged signal // // Authors: Brad Taylor // // Copyright (c) 2008 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Atk { public enum TextChangedDetail { Insert, Delete } } gtk-sharp-2.12.40/atk/Atk.metadata0000664000175000017500000001360412767740470013525 00000000000000 1 StateManager true AtkAttribute* GetTheDocument GetTheDocument AtkAttribute* GetAttributes GetAttributeValue GetLocale SetAttributeValue ref ref true true true out ref ref ref ref AtkAttribute* true true true 1 AtkObject* 1 AtkAttribute* AtkAttribute* AtkAttribute* AtkAttribute* true true true true true true 1 1 1 gtk-sharp-2.12.40/atk/ColumnDeletedHandler.cs0000664000175000017500000000106512767740470015653 00000000000000// This file was auto-generated at one time, but is hardcoded here as part of the fix // for the AtkTable interface; see https://bugzilla.novell.com/show_bug.cgi?id=512477 // The generated code may have been modified as part of this fix; see atk-table.patch namespace Atk { using System; public delegate void ColumnDeletedHandler(object o, ColumnDeletedArgs args); public class ColumnDeletedArgs : GLib.SignalArgs { public int Column{ get { return (int) Args[0]; } } public int NumDeleted{ get { return (int) Args[1]; } } } } gtk-sharp-2.12.40/atk/Object.custom0000664000175000017500000002251612767740470013750 00000000000000// Object.custom - Atk Object class customizations // // Author: Andres G. Aragoneses // // Copyright (c) 2008 Novell, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_object_override_get_n_children (IntPtr type, NChildrenDelegate cb); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate int NChildrenDelegate (IntPtr raw); static NChildrenDelegate NChildrenCallback; static int NChildren_cb (IntPtr raw) { try { Atk.Object obj = GLib.Object.GetObject (raw, false) as Atk.Object; return obj.OnGetNChildren (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return 0; } static void OverrideNChildren (GLib.GType gtype) { if (NChildrenCallback == null) NChildrenCallback = new NChildrenDelegate (NChildren_cb); atksharp_object_override_get_n_children (gtype.Val, NChildrenCallback); } [GLib.DefaultSignalHandler (Type=typeof(Atk.Object), ConnectionMethod="OverrideNChildren")] protected virtual int OnGetNChildren() { return 0; } [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_object_override_ref_child (IntPtr type, RefChildDelegate cb); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr RefChildDelegate (IntPtr raw, int i); static RefChildDelegate RefChildCallback; [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_object_ref (IntPtr handle); static IntPtr RefChild_cb (IntPtr raw, int i) { try { Atk.Object obj = GLib.Object.GetObject (raw, false) as Atk.Object; Atk.Object child = obj.OnRefChild (i); if (child != null) g_object_ref (child.Handle); return child == null ? IntPtr.Zero : child.Handle; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return IntPtr.Zero; } static void OverrideRefChild (GLib.GType gtype) { if (RefChildCallback == null) RefChildCallback = new RefChildDelegate (RefChild_cb); atksharp_object_override_ref_child (gtype.Val, RefChildCallback); } [GLib.DefaultSignalHandler (Type=typeof(Atk.Object), ConnectionMethod="OverrideRefChild")] protected virtual Atk.Object OnRefChild (int i) { return null; } protected void EmitChildrenChanged (ChildrenChangedDetail detail, uint child_index, Atk.Object child) { GLib.Signal.Emit (this, "children-changed::" + detail.ToString ().ToLower (), child_index, child.Handle); } protected enum ChildrenChangedDetail { Add, Remove } protected void EmitVisibleDataChanged () { GLib.Signal.Emit (this, "visible-data-changed"); } [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_object_override_ref_state_set (IntPtr type, RefStateSetDelegate cb); [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr atksharp_object_base_ref_state_set (IntPtr atk_obj); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr RefStateSetDelegate (IntPtr raw); static RefStateSetDelegate RefStateSetCallback; static IntPtr RefStateSet_cb (IntPtr raw) { try { Atk.Object obj = GLib.Object.GetObject (raw, false) as Atk.Object; Atk.StateSet state_set = obj.OnRefStateSet (); if (state_set != null) g_object_ref (state_set.Handle); return state_set == null ? IntPtr.Zero : state_set.Handle; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return IntPtr.Zero; } static void OverrideRefStateSet (GLib.GType gtype) { if (RefStateSetCallback == null) RefStateSetCallback = new RefStateSetDelegate (RefStateSet_cb); atksharp_object_override_ref_state_set (gtype.Val, RefStateSetCallback); } [GLib.DefaultSignalHandler (Type=typeof(Atk.Object), ConnectionMethod="OverrideRefStateSet")] protected virtual Atk.StateSet OnRefStateSet () { IntPtr raw = atksharp_object_base_ref_state_set (Handle); return GLib.Object.GetObject (raw, true) as StateSet; } [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_object_override_get_index_in_parent (IntPtr type, IndexInParentDelegate cb); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate int IndexInParentDelegate (IntPtr raw); static IndexInParentDelegate IndexInParentCallback; static int IndexInParent_cb (IntPtr raw) { try { Atk.Object obj = GLib.Object.GetObject (raw, false) as Atk.Object; return obj.OnGetIndexInParent (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return -1; } static void OverrideIndexInParent (GLib.GType gtype) { if (IndexInParentCallback == null) IndexInParentCallback = new IndexInParentDelegate (IndexInParent_cb); atksharp_object_override_get_index_in_parent (gtype.Val, IndexInParentCallback); } [GLib.DefaultSignalHandler (Type=typeof(Atk.Object), ConnectionMethod="OverrideIndexInParent")] protected virtual int OnGetIndexInParent() { return -1; } public void NotifyStateChange (Atk.StateType state, bool value) { NotifyStateChange ((ulong)state, value); } [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_object_override_ref_relation_set (IntPtr type, RefRelationSetDelegate cb); [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr atksharp_object_base_ref_relation_set (IntPtr atk_obj); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr RefRelationSetDelegate (IntPtr raw); static RefRelationSetDelegate RefRelationSetCallback; static IntPtr RefRelationSet_cb (IntPtr raw) { try { Atk.Object obj = GLib.Object.GetObject (raw, false) as Atk.Object; Atk.RelationSet relation_set = obj.OnRefRelationSet (); if (relation_set != null) g_object_ref (relation_set.Handle); return relation_set == null ? IntPtr.Zero : relation_set.Handle; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return IntPtr.Zero; } static void OverrideRefRelationSet (GLib.GType gtype) { if (RefRelationSetCallback == null) RefRelationSetCallback = new RefRelationSetDelegate (RefRelationSet_cb); atksharp_object_override_ref_relation_set (gtype.Val, RefRelationSetCallback); } [GLib.DefaultSignalHandler (Type=typeof(Atk.Object), ConnectionMethod="OverrideRefRelationSet")] protected virtual Atk.RelationSet OnRefRelationSet () { IntPtr raw = atksharp_object_base_ref_relation_set (Handle); return GLib.Object.GetObject (raw, true) as RelationSet; } [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_object_override_get_attributes (IntPtr type, GetAttributesDelegate cb); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr GetAttributesDelegate (IntPtr raw); static GetAttributesDelegate GetAttributesCallback; static IntPtr GetAttributes_cb (IntPtr raw) { try { Atk.Object obj = GLib.Object.GetObject (raw, false) as Atk.Object; Attribute [] attribute_set = obj.OnGetAttributes (); if (attribute_set == null) return IntPtr.Zero; return new GLib.SList (attribute_set, typeof (Attribute), false, false).Handle; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return IntPtr.Zero; } static void OverrideGetAttributes (GLib.GType gtype) { if (GetAttributesCallback == null) GetAttributesCallback = new GetAttributesDelegate (GetAttributes_cb); atksharp_object_override_get_attributes (gtype.Val, GetAttributesCallback); } [GLib.DefaultSignalHandler (Type=typeof(Atk.Object), ConnectionMethod="OverrideGetAttributes")] protected virtual Attribute [] OnGetAttributes () { return new Attribute [0]; } protected void EmitFocusEvent (bool gained) { GLib.Signal.Emit (this, "focus-event", gained); } [DllImport("libatk-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr atk_attribute_set_free(IntPtr raw); [DllImport("libatk-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr atk_object_get_attributes(IntPtr raw); public Atk.Attribute[] Attributes { get { IntPtr raw_ret = atk_object_get_attributes(Handle); Atk.Attribute[] ret = GLib.Marshaller.ListPtrToArray (raw_ret, typeof(GLib.SList), false, false); atk_attribute_set_free(raw_ret); return ret; } } gtk-sharp-2.12.40/atk/Makefile.am0000664000175000017500000000105712767740470013337 00000000000000SUBDIRS = . glue pkg = atk METADATA = Atk.metadata SYMBOLS = references = $(top_builddir)/glib/glib-sharp.dll glue_includes = atk/atk.h sources = \ ColumnDeletedHandler.cs \ ColumnInsertedHandler.cs \ RowDeletedHandler.cs \ RowInsertedHandler.cs \ TableAdapter.cs \ Table.cs \ TextChangedDetail.cs customs = \ Global.custom \ Hyperlink.custom \ Misc.custom \ NoOpObject.custom \ Object.custom \ ObjectFactory.custom \ SelectionAdapter.custom \ TextAdapter.custom \ Util.custom add_dist = include $(top_srcdir)/Makefile.include gtk-sharp-2.12.40/atk/ColumnInsertedHandler.cs0000664000175000017500000000107112767740470016057 00000000000000// This file was auto-generated at one time, but is hardcoded here as part of the fix // for the AtkTable interface; see https://bugzilla.novell.com/show_bug.cgi?id=512477 // The generated code may have been modified as part of this fix; see atk-table.patch namespace Atk { using System; public delegate void ColumnInsertedHandler(object o, ColumnInsertedArgs args); public class ColumnInsertedArgs : GLib.SignalArgs { public int Column{ get { return (int) Args[0]; } } public int NumInserted{ get { return (int) Args[1]; } } } } gtk-sharp-2.12.40/atk/glue/0000775000175000017500000000000012767740534012315 500000000000000gtk-sharp-2.12.40/atk/glue/object_factory.c0000664000175000017500000000336612767740470015405 00000000000000/* object.c : Glue for overriding vms of AtkObject * * Author: Andres G. Aragoneses * * Copyright (c) 2008 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include void atksharp_object_factory_override_create_accessible (GType gtype, gpointer cb); void atksharp_object_factory_override_invalidate (GType gtype, gpointer cb); void atksharp_object_factory_override_get_accessible_type (GType gtype, gpointer cb); void atksharp_object_factory_override_create_accessible (GType gtype, gpointer cb) { AtkObjectFactoryClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); klass->create_accessible = cb; } void atksharp_object_factory_override_invalidate (GType gtype, gpointer cb) { AtkObjectFactoryClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); klass->invalidate = cb; } void atksharp_object_factory_override_get_accessible_type (GType gtype, gpointer cb) { AtkObjectFactoryClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); klass->get_accessible_type = cb; } gtk-sharp-2.12.40/atk/glue/win32dll.c0000775000175000017500000000044312654353766014045 00000000000000#define WIN32_LEAN_AND_MEAN #include #undef WIN32_LEAN_AND_MEAN #include BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) { return TRUE; } /* BOOL APIENTRY DllMainCRTStartup (HINSTANCE hInst, DWORD reason, LPVOID reserved) { return TRUE; } */ gtk-sharp-2.12.40/atk/glue/Makefile.in0000664000175000017500000005411112767740506014303 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = atk/glue ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(libdir)" LTLIBRARIES = $(lib_LTLIBRARIES) am__DEPENDENCIES_1 = libatksharpglue_2_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am_libatksharpglue_2_la_OBJECTS = hyperlink.lo misc.lo object.lo \ object_factory.lo util.lo nodist_libatksharpglue_2_la_OBJECTS = generated.lo libatksharpglue_2_la_OBJECTS = $(am_libatksharpglue_2_la_OBJECTS) \ $(nodist_libatksharpglue_2_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = libatksharpglue_2_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(AM_CFLAGS) $(CFLAGS) $(libatksharpglue_2_la_LDFLAGS) \ $(LDFLAGS) -o $@ AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(libatksharpglue_2_la_SOURCES) \ $(nodist_libatksharpglue_2_la_SOURCES) DIST_SOURCES = $(libatksharpglue_2_la_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ lib_LTLIBRARIES = libatksharpglue-2.la libatksharpglue_2_la_LDFLAGS = -module -avoid-version -no-undefined libatksharpglue_2_la_SOURCES = \ hyperlink.c \ misc.c \ object.c \ object_factory.c \ util.c \ vmglueheaders.h nodist_libatksharpglue_2_la_SOURCES = generated.c # Adding a new glue file? libatksharpglue_2_la_LIBADD = $(ATK_LIBS) INCLUDES = $(ATK_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir) CLEANFILES = lib*.a lib*.dll EXTRA_DIST = win32dll.c all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign atk/glue/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign atk/glue/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ list2=; for p in $$list; do \ if test -f $$p; then \ list2="$$list2 $$p"; \ else :; fi; \ done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ } uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ done clean-libLTLIBRARIES: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) @list='$(lib_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libatksharpglue-2.la: $(libatksharpglue_2_la_OBJECTS) $(libatksharpglue_2_la_DEPENDENCIES) $(EXTRA_libatksharpglue_2_la_DEPENDENCIES) $(AM_V_CCLD)$(libatksharpglue_2_la_LINK) -rpath $(libdir) $(libatksharpglue_2_la_OBJECTS) $(libatksharpglue_2_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/generated.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hyperlink.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/object.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/object_factory.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/util.Plo@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) installdirs: for dir in "$(DESTDIR)$(libdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-libLTLIBRARIES install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-libLTLIBRARIES .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ clean-libLTLIBRARIES clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-compile distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-libLTLIBRARIES install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-am uninstall uninstall-am uninstall-libLTLIBRARIES .PRECIOUS: Makefile libatksharpglue.dll: $(libatksharpglue_2_la_OBJECTS) libatksharpglue.rc libatksharpglue.def ./build-dll libatksharpglue-2 $(VERSION) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/atk/glue/object.c0000664000175000017500000000620612767740470013652 00000000000000/* object.c : Glue for overriding vms of AtkObject * * Author: Andres G. Aragoneses * * Copyright (c) 2008 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include void atksharp_object_override_get_n_children (GType gtype, gpointer cb); void atksharp_object_override_ref_child (GType gtype, gpointer cb); void atksharp_object_override_ref_state_set (GType gtype, gpointer cb); AtkStateSet* atksharp_object_base_ref_state_set (AtkObject *base); void atksharp_object_override_get_index_in_parent (GType gtype, gpointer cb); void atksharp_object_override_ref_relation_set (GType gtype, gpointer cb); AtkRelationSet* atksharp_object_base_ref_relation_set (AtkObject *base); void atksharp_object_override_get_n_children (GType gtype, gpointer cb) { AtkObjectClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkObjectClass *) klass)->get_n_children = cb; } void atksharp_object_override_ref_child (GType gtype, gpointer cb) { AtkObjectClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkObjectClass *) klass)->ref_child = cb; } void atksharp_object_override_ref_state_set (GType gtype, gpointer cb) { AtkObjectClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkObjectClass *) klass)->ref_state_set = cb; } AtkStateSet* atksharp_object_base_ref_state_set (AtkObject *atk_obj) { AtkObjectClass *parent = g_type_class_peek (ATK_TYPE_OBJECT); if (parent->ref_state_set) return (*parent->ref_state_set) (atk_obj); return NULL; } void atksharp_object_override_get_index_in_parent (GType gtype, gpointer cb) { AtkObjectClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkObjectClass *) klass)->get_index_in_parent = cb; } void atksharp_object_override_ref_relation_set (GType gtype, gpointer cb) { AtkObjectClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkObjectClass *) klass)->ref_relation_set = cb; } AtkRelationSet* atksharp_object_base_ref_relation_set (AtkObject *atk_obj) { AtkObjectClass *parent = g_type_class_peek (ATK_TYPE_OBJECT); if (parent->ref_relation_set) return (*parent->ref_relation_set) (atk_obj); return NULL; } void atksharp_object_override_get_attributes (GType gtype, gpointer cb) { AtkObjectClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkObjectClass *) klass)->get_attributes = cb; } gtk-sharp-2.12.40/atk/glue/util.c0000664000175000017500000000562012767740470013360 00000000000000/* util.c : Glue for overriding vms of AtkUtil * * Author: Mike Kestner * * Copyright (c) 2008 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include void atksharp_util_override_add_global_event_listener (gpointer cb); void atksharp_util_override_remove_global_event_listener (gpointer cb); void atksharp_util_override_add_key_event_listener (gpointer cb); void atksharp_util_override_remove_key_event_listener (gpointer cb); void atksharp_util_override_get_root (gpointer cb); void atksharp_util_override_get_toolkit_name (gpointer cb); void atksharp_util_override_get_toolkit_version (gpointer cb); void atksharp_util_override_add_global_event_listener (gpointer cb) { AtkUtilClass *klass = g_type_class_peek (ATK_TYPE_UTIL); if (!klass) klass = g_type_class_ref (ATK_TYPE_UTIL); ((AtkUtilClass *) klass)->add_global_event_listener = cb; } void atksharp_util_override_remove_global_event_listener (gpointer cb) { AtkUtilClass *klass = g_type_class_peek (ATK_TYPE_UTIL); if (!klass) klass = g_type_class_ref (ATK_TYPE_UTIL); ((AtkUtilClass *) klass)->remove_global_event_listener = cb; } void atksharp_util_override_add_key_event_listener (gpointer cb) { AtkUtilClass *klass = g_type_class_peek (ATK_TYPE_UTIL); if (!klass) klass = g_type_class_ref (ATK_TYPE_UTIL); ((AtkUtilClass *) klass)->add_key_event_listener = cb; } void atksharp_util_override_remove_key_event_listener (gpointer cb) { AtkUtilClass *klass = g_type_class_peek (ATK_TYPE_UTIL); if (!klass) klass = g_type_class_ref (ATK_TYPE_UTIL); ((AtkUtilClass *) klass)->remove_key_event_listener = cb; } void atksharp_util_override_get_root (gpointer cb) { AtkUtilClass *klass = g_type_class_peek (ATK_TYPE_UTIL); if (!klass) klass = g_type_class_ref (ATK_TYPE_UTIL); ((AtkUtilClass *) klass)->get_root = cb; } void atksharp_util_override_get_toolkit_name (gpointer cb) { AtkUtilClass *klass = g_type_class_peek (ATK_TYPE_UTIL); if (!klass) klass = g_type_class_ref (ATK_TYPE_UTIL); ((AtkUtilClass *) klass)->get_toolkit_name = cb; } void atksharp_util_override_get_toolkit_version (gpointer cb) { AtkUtilClass *klass = g_type_class_peek (ATK_TYPE_UTIL); if (!klass) klass = g_type_class_ref (ATK_TYPE_UTIL); ((AtkUtilClass *) klass)->get_toolkit_version = cb; } gtk-sharp-2.12.40/atk/glue/hyperlink.c0000664000175000017500000000635212767740470014413 00000000000000/* hyperlink.c : Glue for overriding vms of AtkHyperlink * * Author: Mike Gorse * * Copyright (c) 2008 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include void atksharp_hyperlink_override_get_uri (GType gtype, gpointer cb); void atksharp_hyperlink_override_get_object (GType gtype, gpointer cb); void atksharp_hyperlink_override_get_end_index (GType gtype, gpointer cb); void atksharp_hyperlink_override_get_start_index (GType gtype, gpointer cb); void atksharp_hyperlink_override_is_valid (GType gtype, gpointer cb); void atksharp_hyperlink_override_get_n_anchors (GType gtype, gpointer cb); void atksharp_hyperlink_override_link_state (GType gtype, gpointer cb); void atksharp_hyperlink_override_is_selected_link (GType gtype, gpointer cb); void atksharp_hyperlink_override_get_uri (GType gtype, gpointer cb) { AtkHyperlinkClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkHyperlinkClass *) klass)->get_uri = cb; } void atksharp_hyperlink_override_get_object (GType gtype, gpointer cb) { AtkHyperlinkClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkHyperlinkClass *) klass)->get_object = cb; } void atksharp_hyperlink_override_get_end_index (GType gtype, gpointer cb) { AtkHyperlinkClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkHyperlinkClass *) klass)->get_end_index = cb; } void atksharp_hyperlink_override_get_start_index (GType gtype, gpointer cb) { AtkHyperlinkClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkHyperlinkClass *) klass)->get_start_index = cb; } void atksharp_hyperlink_override_is_valid (GType gtype, gpointer cb) { AtkHyperlinkClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkHyperlinkClass *) klass)->is_valid = cb; } void atksharp_hyperlink_override_get_n_anchors (GType gtype, gpointer cb) { AtkHyperlinkClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkHyperlinkClass *) klass)->get_n_anchors = cb; } void atksharp_hyperlink_override_link_state (GType gtype, gpointer cb) { AtkHyperlinkClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkHyperlinkClass *) klass)->link_state = cb; } void atksharp_hyperlink_override_is_selected_link (GType gtype, gpointer cb) { AtkHyperlinkClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkHyperlinkClass *) klass)->is_selected_link = cb; } gtk-sharp-2.12.40/atk/glue/misc.c0000664000175000017500000000305212767740470013333 00000000000000/* misc.c : Glue for overriding vms of AtkMisc * * Author: Mike Kestner * * Copyright (c) 2008 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include void atksharp_misc_override_threads_enter (GType gtype, gpointer cb); void atksharp_misc_override_threads_enter (GType gtype, gpointer cb) { AtkMiscClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkMiscClass *) klass)->threads_enter = cb; } void atksharp_misc_override_threads_leave (GType gtype, gpointer cb); void atksharp_misc_override_threads_leave (GType gtype, gpointer cb) { AtkMiscClass *klass = g_type_class_peek (gtype); if (!klass) klass = g_type_class_ref (gtype); ((AtkMiscClass *) klass)->threads_leave = cb; } void atksharp_misc_set_singleton_instance (AtkMisc *misc); void atksharp_misc_set_singleton_instance (AtkMisc *misc) { atk_misc_instance = misc; } gtk-sharp-2.12.40/atk/glue/vmglueheaders.h0000664000175000017500000000011112654353766015234 00000000000000/* Headers for virtual method glue compilation */ #include gtk-sharp-2.12.40/atk/glue/Makefile.am0000664000175000017500000000114612767740470014272 00000000000000lib_LTLIBRARIES = libatksharpglue-2.la libatksharpglue_2_la_LDFLAGS = -module -avoid-version -no-undefined libatksharpglue_2_la_SOURCES = \ hyperlink.c \ misc.c \ object.c \ object_factory.c \ util.c \ vmglueheaders.h nodist_libatksharpglue_2_la_SOURCES = generated.c # Adding a new glue file? libatksharpglue_2_la_LIBADD = $(ATK_LIBS) INCLUDES = $(ATK_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir) libatksharpglue.dll: $(libatksharpglue_2_la_OBJECTS) libatksharpglue.rc libatksharpglue.def ./build-dll libatksharpglue-2 $(VERSION) CLEANFILES = lib*.a lib*.dll EXTRA_DIST = win32dll.c gtk-sharp-2.12.40/atk/Hyperlink.custom0000664000175000017500000002176312767740470014512 00000000000000// Hyperlink.custom - Atk Hyperlink class customizations // // Author: Mike Gorse // // Copyright (c) 2008 Novell, Inc. // // This code is inserted after the automatically generated code. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_hyperlink_override_get_uri (IntPtr type, GetUriDelegate cb); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr GetUriDelegate (IntPtr raw, int i); static GetUriDelegate GetUriCallback; static IntPtr GetUri_cb (IntPtr raw, int i) { try { Atk.Hyperlink obj = GLib.Object.GetObject (raw, false) as Atk.Hyperlink; return GLib.Marshaller.StringToPtrGStrdup (obj.OnGetUri (i)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return IntPtr.Zero; } static void OverrideGetUri (GLib.GType gtype) { if (GetUriCallback == null) GetUriCallback = new GetUriDelegate (GetUri_cb); atksharp_hyperlink_override_get_uri (gtype.Val, GetUriCallback); } [GLib.DefaultSignalHandler (Type=typeof(Atk.Hyperlink), ConnectionMethod="OverrideGetUri")] protected virtual string OnGetUri (int i) { return null; } [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_hyperlink_override_get_object (IntPtr type, GetObjectDelegate cb); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr GetObjectDelegate (IntPtr raw, int i); static GetObjectDelegate GetObjectCallback; static IntPtr GetObject_cb (IntPtr raw, int i) { try { Atk.Hyperlink obj = GLib.Object.GetObject (raw, false) as Atk.Hyperlink; Atk.Object ret = obj.OnGetObject (i); return ret == null ? IntPtr.Zero : ret.Handle; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return IntPtr.Zero; } static void OverrideGetObject (GLib.GType gtype) { if (GetObjectCallback == null) GetObjectCallback = new GetObjectDelegate (GetObject_cb); atksharp_hyperlink_override_get_object (gtype.Val, GetObjectCallback); } [GLib.DefaultSignalHandler (Type=typeof(Atk.Hyperlink), ConnectionMethod="OverrideGetObject")] protected virtual Atk.Object OnGetObject (int i) { return null; } [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_hyperlink_override_get_end_index (IntPtr type, GetEndIndexDelegate cb); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate int GetEndIndexDelegate (IntPtr raw); static GetEndIndexDelegate GetEndIndexCallback; static int GetEndIndex_cb (IntPtr raw) { try { Atk.Hyperlink obj = GLib.Object.GetObject (raw, false) as Atk.Hyperlink; return obj.OnGetEndIndex (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return -1; } static void OverrideGetEndIndex (GLib.GType gtype) { if (GetEndIndexCallback == null) GetEndIndexCallback = new GetEndIndexDelegate (GetEndIndex_cb); atksharp_hyperlink_override_get_end_index (gtype.Val, GetEndIndexCallback); } [GLib.DefaultSignalHandler (Type=typeof(Atk.Hyperlink), ConnectionMethod="OverrideGetEndIndex")] protected virtual int OnGetEndIndex () { return -1; } [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_hyperlink_override_get_start_index (IntPtr type, GetStartIndexDelegate cb); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate int GetStartIndexDelegate (IntPtr raw); static GetStartIndexDelegate GetStartIndexCallback; static int GetStartIndex_cb (IntPtr raw) { try { Atk.Hyperlink obj = GLib.Object.GetObject (raw, false) as Atk.Hyperlink; return obj.OnGetStartIndex (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return -1; } static void OverrideGetStartIndex (GLib.GType gtype) { if (GetStartIndexCallback == null) GetStartIndexCallback = new GetStartIndexDelegate (GetStartIndex_cb); atksharp_hyperlink_override_get_start_index (gtype.Val, GetStartIndexCallback); } [GLib.DefaultSignalHandler (Type=typeof(Atk.Hyperlink), ConnectionMethod="OverrideGetStartIndex")] protected virtual int OnGetStartIndex () { return -1; } [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_hyperlink_override_is_valid (IntPtr type, IsValidDelegate cb); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate bool IsValidDelegate (IntPtr raw); static IsValidDelegate IsValidCallback; static bool IsValid_cb (IntPtr raw) { try { Atk.Hyperlink obj = GLib.Object.GetObject (raw, false) as Atk.Hyperlink; return obj.OnIsValid (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return false; } static void OverrideIsValid (GLib.GType gtype) { if (IsValidCallback == null) IsValidCallback = new IsValidDelegate (IsValid_cb); atksharp_hyperlink_override_is_valid (gtype.Val, IsValidCallback); } [GLib.DefaultSignalHandler (Type=typeof(Atk.Hyperlink), ConnectionMethod="OverrideIsValid")] protected virtual bool OnIsValid() { return false; } [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_hyperlink_override_get_n_anchors (IntPtr type, GetNAnchorsDelegate cb); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate int GetNAnchorsDelegate (IntPtr raw); static GetNAnchorsDelegate GetNAnchorsCallback; static int GetNAnchors_cb (IntPtr raw) { try { Atk.Hyperlink obj = GLib.Object.GetObject (raw, false) as Atk.Hyperlink; return obj.OnGetNAnchors (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return 0; } static void OverrideGetNAnchors (GLib.GType gtype) { if (GetNAnchorsCallback == null) GetNAnchorsCallback = new GetNAnchorsDelegate (GetNAnchors_cb); atksharp_hyperlink_override_get_n_anchors (gtype.Val, GetNAnchorsCallback); } [GLib.DefaultSignalHandler (Type=typeof(Atk.Hyperlink), ConnectionMethod="OverrideGetNAnchors")] protected virtual int OnGetNAnchors () { return 0; } [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_hyperlink_override_link_state (IntPtr type, LinkStateDelegate cb); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate uint LinkStateDelegate (IntPtr raw); static LinkStateDelegate LinkStateCallback; static uint LinkState_cb (IntPtr raw) { try { Atk.Hyperlink obj = GLib.Object.GetObject (raw, false) as Atk.Hyperlink; return obj.OnLinkState (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return 0; } static void OverrideLinkState (GLib.GType gtype) { if (LinkStateCallback == null) LinkStateCallback = new LinkStateDelegate (LinkState_cb); atksharp_hyperlink_override_link_state (gtype.Val, LinkStateCallback); } [GLib.DefaultSignalHandler (Type=typeof(Atk.Hyperlink), ConnectionMethod="OverrideLinkState")] protected virtual uint OnLinkState () { return 0; } [DllImport("atksharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void atksharp_hyperlink_override_is_selected_link (IntPtr type, IsSelectedLinkDelegate cb); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate bool IsSelectedLinkDelegate (IntPtr raw); static IsSelectedLinkDelegate IsSelectedLinkCallback; static bool IsSelectedLink_cb (IntPtr raw) { try { Atk.Hyperlink obj = GLib.Object.GetObject (raw, false) as Atk.Hyperlink; return obj.OnIsSelectedLink (); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } return false; } static void OverrideIsSelectedLink (GLib.GType gtype) { if (IsSelectedLinkCallback == null) IsSelectedLinkCallback = new IsSelectedLinkDelegate (IsSelectedLink_cb); atksharp_hyperlink_override_is_selected_link (gtype.Val, IsSelectedLinkCallback); } [GLib.DefaultSignalHandler (Type=typeof(Atk.Hyperlink), ConnectionMethod="OverrideIsSelectedLink")] protected virtual bool OnIsSelectedLink () { return false; } protected void EmitLinkActivated () { GLib.Signal.Emit (this, "link_activated"); } gtk-sharp-2.12.40/README.generator0000664000175000017500000000565412654353766013403 00000000000000NOTE: This file is out of date. Please refer to http://www.mono-project.com/GAPI for a more complete and up-to-date guide to the GAPI tools included with Gtk# How to use the Gtk# code generator: Install dependencies: * You need to install the XML::LibXML perl bindings and Gtk#. Parse the library: * Create an xml file defining the libraries to be parsed. The format of the XML is: atk-1.2.4/atk The api element filename attribute specifies the parser output file location. The name attribute on the library output points to the native library name. If you are creating a cross-platform project, you will want to specify the win32 dll name here and use mono's config mechanism to map the name on other platforms. The dir element points to a src directory to be parsed. Currently all .c and .h files in the directory are parsed. All the elements inside the root can have multiples. The source/gtk-sharp-sources.xml file has examples of producing multiple api files with a single parser input file, as well as including muliple libraries in a single output file. * Create metadata rules files named .metadata in the directory where you invoke the parser. Metadata rules allow you to massage the parsed api if necessary. Examples of rule formats can be found in the sources directory. * Execute the parser on your xml input file: gapi-parser * Distribute the xml file(s) produced by the parser with your project so that your users don't need to have any native library source, or perl libraries installed in order to build your project. Within your project directory, do the following: * Setup a toplevel subdirectory for each namespace/assembly you are wrapping. Instruct the makefile for this directory to compile, at minimum, generated/*. * Run gapi_codegen.exe on the API file(s) you created with the parser. If you depend on any other wrapped libraries (such as gtk-sharp.dll), you need to include their API listings via the --include directive. The code generator, if successful, will have populated the assembly directories with generated/ directories. It is generally helpful to automate this process with makefiles. Gtk# uses the following organization: - sources/: Source directories, .sources listing, .metadata files. developers run make manually here when they want to update the API files. - api/: API files The files are committed to CVS and included in releases for the convenience of the lib user. This dir is included in the build before the namespace dirs and the generator is invoked from this dir. gtk-sharp-2.12.40/glib/0000775000175000017500000000000012767740534011517 500000000000000gtk-sharp-2.12.40/glib/Opaque.cs0000664000175000017500000000610612767740470013222 00000000000000// Opaque .cs - Opaque struct wrapper implementation // // Authors: Bob Smith // Mike Kestner // Rachel Hestilow // // Copyright (c) 2001 Bob Smith // Copyright (c) 2001 Mike Kestner // Copyright (c) 2002 Rachel Hestilow // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.ComponentModel; using System.Runtime.InteropServices; public class Opaque : IWrapper, IDisposable { IntPtr _obj; bool owned; [Obsolete ("Use more explicit overload. This method always returns null")] public static Opaque GetOpaque (IntPtr o) { return null; } public static Opaque GetOpaque (IntPtr o, Type type, bool owned) { Opaque opaque = (Opaque)Activator.CreateInstance (type, new object[] { o }); if (owned) { if (opaque.owned) { // The constructor took a Ref it shouldn't have, so undo it opaque.Unref (o); } opaque.owned = true; } else opaque = opaque.Copy (o); return opaque; } public Opaque () { owned = true; } public Opaque (IntPtr raw) { owned = false; Raw = raw; } protected IntPtr Raw { get { return _obj; } set { if (_obj != IntPtr.Zero) { Unref (_obj); if (owned) Free (_obj); } _obj = value; if (_obj != IntPtr.Zero) { Ref (_obj); } } } ~Opaque () { // for compat. All subclasses should have // generated finalizers if needed now. } public virtual void Dispose () { Raw = IntPtr.Zero; GC.SuppressFinalize (this); } // These take an IntPtr arg so we don't get conflicts if we need // to have an "[Obsolete] public void Ref ()" protected virtual void Ref (IntPtr raw) {} protected virtual void Unref (IntPtr raw) {} protected virtual void Free (IntPtr raw) {} protected virtual Opaque Copy (IntPtr raw) { return this; } public IntPtr Handle { get { return _obj; } } public IntPtr OwnedCopy { get { Opaque result = Copy (Handle); result.Owned = false; return result.Handle; } } public bool Owned { get { return owned; } set { owned = value; } } public override bool Equals (object o) { if (!(o is Opaque)) return false; return (Handle == ((Opaque) o).Handle); } public override int GetHashCode () { return Handle.GetHashCode (); } } } gtk-sharp-2.12.40/glib/MainContext.cs0000664000175000017500000000326612767740470014225 00000000000000// GLib.MainContext.cs - mainContext class implementation // // Author: Radek Doulik // // Copyright (c) 2003 Radek Doulik // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; public class MainContext { [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int g_main_depth (); public static int Depth { get { return g_main_depth (); } } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool g_main_context_iteration (IntPtr Raw, bool MayBlock); public static bool Iteration () { return g_main_context_iteration (IntPtr.Zero, false); } public static bool Iteration (bool MayBlock) { return g_main_context_iteration (IntPtr.Zero, MayBlock); } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool g_main_context_pending (IntPtr Raw); public static bool Pending () { return g_main_context_pending (IntPtr.Zero); } } } gtk-sharp-2.12.40/glib/UnwrappedObject.cs0000664000175000017500000000227212767740470015064 00000000000000// UnwrappedObject.cs - Class which holds an IntPtr without resolving it: // // Author: Rachel Hestilow // // Copyright (c) 2002 Rachel Hestilow // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; [Obsolete ("Replaced by direct object-type casts to/from GLib.Value")] public class UnwrappedObject { IntPtr obj; public UnwrappedObject (IntPtr obj) { this.obj = obj; } public static explicit operator System.IntPtr (UnwrappedObject obj) { return obj.obj; } } } gtk-sharp-2.12.40/glib/SignalClosure.cs0000664000175000017500000001505412767740470014544 00000000000000// SignalClosure.cs - signal marshaling class // // Authors: Mike Kestner // // Copyright (c) 2008 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.Runtime.InteropServices; internal class ClosureInvokedArgs : EventArgs { EventArgs args; GLib.Object obj; object result; public ClosureInvokedArgs (GLib.Object obj, EventArgs args) { this.obj = obj; this.args = args; } public EventArgs Args { get { return args; } } public GLib.Object Target { get { return obj; } } } internal delegate void ClosureInvokedHandler (object o, ClosureInvokedArgs args); internal class SignalClosure : IDisposable { IntPtr handle; IntPtr raw_closure; internal string name; uint id = UInt32.MaxValue; System.Type args_type; GCHandle? gch; internal bool before_closure; static Hashtable closures = new Hashtable (); public SignalClosure (IntPtr obj, string signal_name, System.Type args_type, bool before_closure) { raw_closure = glibsharp_closure_new (Marshaler, Notify, IntPtr.Zero); closures [raw_closure] = this; handle = obj; name = signal_name; this.args_type = args_type; this.before_closure = before_closure; } public SignalClosure (IntPtr obj, string signal_name, Delegate custom_marshaler, Signal signal, bool before_closure) { gch = GCHandle.Alloc (signal); raw_closure = g_cclosure_new (custom_marshaler, (IntPtr) gch, Notify); closures [raw_closure] = this; handle = obj; name = signal_name; this.before_closure = before_closure; } public event EventHandler Disposed; public event ClosureInvokedHandler Invoked; public void Connect (bool is_after) { IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name); id = g_signal_connect_closure (handle, native_name, raw_closure, is_after); GLib.Marshaller.Free (native_name); } public void Disconnect () { if (id != UInt32.MaxValue && g_signal_handler_is_connected (handle, id)) g_signal_handler_disconnect (handle, id); } public void Dispose () { Disconnect (); closures.Remove (raw_closure); if (gch != null) gch.Value.Free (); if (Disposed != null) Disposed (this, EventArgs.Empty); GC.SuppressFinalize (this); } public void Invoke (ClosureInvokedArgs args) { if (Invoked == null) return; Invoked (this, args); } static ClosureMarshal marshaler; static ClosureMarshal Marshaler { get { if (marshaler == null) marshaler = new ClosureMarshal (MarshalCallback); return marshaler; } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void ClosureMarshal (IntPtr closure, IntPtr return_val, uint n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data); static void MarshalCallback (IntPtr raw_closure, IntPtr return_val, uint n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) { SignalClosure closure = null; try { closure = closures [raw_closure] as SignalClosure; Value objval = (Value) Marshal.PtrToStructure (param_values, typeof (Value)); GLib.Object __obj = objval.Val as GLib.Object; if (__obj == null) return; if (closure.args_type == typeof (EventArgs)) { closure.Invoke (new ClosureInvokedArgs (__obj, EventArgs.Empty)); return; } SignalArgs args = Activator.CreateInstance (closure.args_type, new object [0]) as SignalArgs; args.Args = new object [n_param_vals - 1]; GLib.Value[] vals = new GLib.Value [n_param_vals - 1]; int valueSize = Marshal.SizeOf (typeof (Value)); for (int i = 1; i < n_param_vals; i++) { IntPtr ptr = new IntPtr (param_values.ToInt64 () + i * valueSize); vals [i - 1] = (Value) Marshal.PtrToStructure (ptr, typeof (Value)); args.Args [i - 1] = vals [i - 1].Val; } ClosureInvokedArgs ci_args = new ClosureInvokedArgs (__obj, args); closure.Invoke (ci_args); for (int i = 1; i < n_param_vals; i++) { vals [i - 1].Update (args.Args [i - 1]); IntPtr ptr = new IntPtr (param_values.ToInt64 () + i * valueSize); Marshal.StructureToPtr (vals [i - 1], ptr, false); } if (return_val == IntPtr.Zero || args.RetVal == null) return; Value ret = (Value) Marshal.PtrToStructure (return_val, typeof (Value)); ret.Val = args.RetVal; Marshal.StructureToPtr (ret, return_val, false); } catch (Exception e) { if (closure != null) Console.WriteLine ("Marshaling {0} signal", closure.name); ExceptionManager.RaiseUnhandledException (e, false); } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void ClosureNotify (IntPtr data, IntPtr closure); static void NotifyCallback (IntPtr data, IntPtr raw_closure) { SignalClosure closure = closures [raw_closure] as SignalClosure; if (closure != null) closure.Dispose (); } static ClosureNotify notify_handler; static ClosureNotify Notify { get { if (notify_handler == null) notify_handler = new ClosureNotify (NotifyCallback); return notify_handler; } } [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr glibsharp_closure_new (ClosureMarshal marshaler, ClosureNotify notify, IntPtr gch); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_cclosure_new (Delegate cb, IntPtr user_data, ClosureNotify notify); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern uint g_signal_connect_closure (IntPtr obj, IntPtr name, IntPtr closure, bool is_after); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_signal_handler_disconnect (IntPtr instance, uint handler); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool g_signal_handler_is_connected (IntPtr instance, uint handler); } } gtk-sharp-2.12.40/glib/EnumWrapper.cs0000664000175000017500000000230412767740470014231 00000000000000// EnumWrapper.cs - Class to hold arbitrary glib enums // // Author: Rachel Hestilow // // Copyright (c) 2002 Rachel Hestilow // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; [Obsolete ("Replaced by direct enum type casts to/from GLib.Value")] public class EnumWrapper { int val; public bool flags; public EnumWrapper (int val, bool flags) { this.val = val; this.flags = flags; } public static explicit operator int (EnumWrapper wrap) { return wrap.val; } } } gtk-sharp-2.12.40/glib/InitiallyUnowned.cs0000664000175000017500000000236512767740470015271 00000000000000// InitiallyUnowned.cs - GInitiallyUnowned class wrapper implementation // // Authors: Mike Kestner // // Copyright (c) 2004-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. #if GTK_SHARP_2_10 namespace GLib { using System; using System.Collections; using System.ComponentModel; using System.Runtime.InteropServices; public class InitiallyUnowned : Object { protected InitiallyUnowned (IntPtr raw) : base (raw) {} [Obsolete] protected InitiallyUnowned (GType gtype) : base (gtype) {} public new static GLib.GType GType { get { return GType.Object; } } } } #endif gtk-sharp-2.12.40/glib/SignalAttribute.cs0000664000175000017500000000227412654353766015076 00000000000000// SignalAttribute.cs // // Author: // Ricardo Fernndez Pascual // // Copyright (c) Ricardo Fernndez Pascual // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; [Serializable] [AttributeUsage (AttributeTargets.Event, Inherited=false)] public sealed class SignalAttribute : Attribute { private string cname; public SignalAttribute (string cname) { this.cname = cname; } private SignalAttribute () {} public string CName { get { return cname; } } } } gtk-sharp-2.12.40/glib/IgnoreClassInitializersAttribute.cs0000664000175000017500000000176612767740470020463 00000000000000// IgnoreClassInitializersAttribute.cs // // Author: Mike Kestner // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; [AttributeUsage (AttributeTargets.Assembly)] public sealed class IgnoreClassInitializersAttribute : Attribute { public IgnoreClassInitializersAttribute () {} } } gtk-sharp-2.12.40/glib/glib-sharp.dll.config.in0000664000175000017500000000044612767740470016040 00000000000000 gtk-sharp-2.12.40/glib/PropertyAttribute.cs0000664000175000017500000000257012654353766015504 00000000000000// PropertyAttribute.cs // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; public sealed class PropertyAttribute : Attribute { string blurb; string nickname; string name; public PropertyAttribute (string name) { this.name = name; } public PropertyAttribute (string name, string nickname, string blurb) { this.name = name; this.nickname = nickname; this.blurb = blurb; } public string Blurb { get { return blurb; } set { blurb = value; } } public string Name { get { return name; } set { name = value; } } public string Nickname { get { return nickname; } set { nickname = value; } } } } gtk-sharp-2.12.40/glib/Source.cs0000664000175000017500000000440712767740470013232 00000000000000// GLib.Source.cs - Source class implementation // // Author: Duncan Mak // // Copyright (c) 2002 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Threading; public delegate bool GSourceFunc (); // // Base class for IdleProxy and TimeoutProxy // internal class SourceProxy { internal Delegate real_handler; internal Delegate proxy_handler; internal uint ID; internal int proxyId; static int idCounter; internal static Dictionary proxies = new Dictionary (); protected SourceProxy () { lock(proxies) { do { proxyId = idCounter++; } while (proxies.ContainsKey (proxyId)); proxies [proxyId] = this; } } internal void Remove () { lock (Source.source_handlers) Source.source_handlers.Remove (ID); real_handler = null; proxy_handler = null; lock(proxies) proxies.Remove (proxyId); } } public class Source { private Source () {} internal static Hashtable source_handlers = new Hashtable (); [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool g_source_remove (uint tag); public static bool Remove (uint tag) { // g_source_remove always returns true, so we follow that bool ret = true; lock (Source.source_handlers) { if (source_handlers.Contains (tag)) { var handler = (SourceProxy)source_handlers [tag]; handler.Remove (); ret = g_source_remove (tag); } } return ret; } } } gtk-sharp-2.12.40/glib/Idle.cs0000664000175000017500000000663112767740470012650 00000000000000// GLib.Idle.cs - Idle class implementation // // Author: Mike Kestner // Rachel Hestilow // // Copyright (c) 2002 Mike Kestner // Copyright (c) Rachel Hestilow // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.Runtime.InteropServices; public delegate bool IdleHandler (); public class Idle { [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate bool IdleHandlerInternal (IntPtr ptr); internal class IdleProxy : SourceProxy { public IdleProxy (IdleHandler real) { real_handler = real; proxy_handler = new IdleHandlerInternal (Handler); } ~IdleProxy () { Dispose (false); } public void Dispose () { Dispose (true); GC.SuppressFinalize (this); } protected virtual void Dispose (bool disposing) { // Both branches remove our delegate from the // managed list of handlers, but only // Source.Remove will remove it from the if (disposing) Remove (); else Source.Remove (ID); } static bool Handler (IntPtr data) { try { SourceProxy obj; lock(proxies) obj = proxies [(int)data]; IdleHandler idle_handler = (IdleHandler)obj.real_handler; bool cont = idle_handler (); if (!cont) obj.Remove (); return cont; } catch (Exception e) { ExceptionManager.RaiseUnhandledException (e, false); } return false; } } private Idle () { } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern uint g_idle_add (IdleHandlerInternal d, IntPtr data); public static uint Add (IdleHandler hndlr) { IdleProxy p = new IdleProxy (hndlr); p.ID = g_idle_add ((IdleHandlerInternal)p.proxy_handler, (IntPtr)p.proxyId); lock (Source.source_handlers) Source.source_handlers [p.ID] = p; return p.ID; } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool g_source_remove (uint id); public static bool Remove (IdleHandler hndlr) { bool result = false; var keys = new System.Collections.Generic.List (); lock (Source.source_handlers) { foreach (uint code in Source.source_handlers.Keys) { IdleProxy p = Source.source_handlers [code] as IdleProxy; if (p != null && p.real_handler == (System.Delegate) hndlr) { keys.Add (code); result = g_source_remove (code); p.proxy_handler = null; p.real_handler = null; lock(SourceProxy.proxies) SourceProxy.proxies.Remove (p.proxyId); } } foreach (var key in keys) Source.source_handlers.Remove (key); } return result; } } } gtk-sharp-2.12.40/glib/IOChannel.cs0000664000175000017500000003431712767740470013575 00000000000000// glib/IOChannel.cs : IOChannel API wrapper // // Author: Mike Kestner // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLibSharp { using System; using System.Runtime.InteropServices; using GLib; [UnmanagedFunctionPointer (CallingConvention.Cdecl)] internal delegate bool IOFuncNative(IntPtr source, int condition, IntPtr data); internal class IOFuncWrapper { IOFunc managed; public IOFuncNative NativeDelegate; public IOFuncWrapper (IOFunc managed) { this.managed = managed; NativeDelegate = new IOFuncNative (NativeCallback); } bool NativeCallback (IntPtr source, int condition, IntPtr data) { try { return managed (IOChannel.FromHandle (source), (IOCondition) condition); } catch (Exception e) { ExceptionManager.RaiseUnhandledException (e, false); return false; } } } } namespace GLib { using System; using System.Runtime.InteropServices; using GLibSharp; public class IOChannel : IDisposable, IWrapper { IntPtr handle; private IOChannel(IntPtr handle) { this.handle = handle; } public IOChannel (int fd) : this (g_io_channel_unix_new (fd)) {} public IOChannel (string filename, string mode) { IntPtr native_filename = Marshaller.StringToPtrGStrdup (filename); IntPtr native_mode = Marshaller.StringToPtrGStrdup (mode); IntPtr error; if (Global.IsWindowsPlatform) handle = g_io_channel_new_file_utf8(native_filename, native_mode, out error); else handle = g_io_channel_new_file(native_filename, native_mode, out error); Marshaller.Free (native_filename); Marshaller.Free (native_mode); if (error != IntPtr.Zero) throw new GException (error); } public IOCondition BufferCondition { get { return (IOCondition) g_io_channel_get_buffer_condition (Handle); } } public bool Buffered { get { return g_io_channel_get_buffered (Handle); } set { g_io_channel_set_buffered (Handle, value); } } public ulong BufferSize { get { return (ulong) g_io_channel_get_buffer_size (Handle); } set { g_io_channel_set_buffer_size (Handle, new UIntPtr (value)); } } public bool CloseOnUnref { get { return g_io_channel_get_close_on_unref (Handle); } set { g_io_channel_set_close_on_unref (Handle, value); } } public string Encoding { get { return Marshaller.Utf8PtrToString (g_io_channel_get_encoding (Handle)); } set { IntPtr native_encoding = Marshaller.StringToPtrGStrdup (value); IntPtr error; g_io_channel_set_encoding (Handle, native_encoding, out error); Marshaller.Free (native_encoding); if (error != IntPtr.Zero) throw new GException (error); } } public IOFlags Flags { get { return (IOFlags) g_io_channel_get_flags(Handle); } set { IntPtr error; g_io_channel_set_flags(Handle, (int) value, out error); if (error != IntPtr.Zero) throw new GException (error); } } public char[] LineTerminator { get { int length; IntPtr raw = g_io_channel_get_line_term (Handle, out length); if (length == -1) return Marshaller.Utf8PtrToString (raw).ToCharArray (); byte[] buffer = new byte [length]; return System.Text.Encoding.UTF8.GetChars (buffer); } set { byte[] buffer = System.Text.Encoding.UTF8.GetBytes (value); g_io_channel_set_line_term (Handle, buffer, buffer.Length); } } public IntPtr Handle { get { return handle; } } public int UnixFd { get { return g_io_channel_unix_get_fd (Handle); } } protected void Init () { g_io_channel_init (Handle); } public void Dispose () { g_io_channel_unref (Handle); } public uint AddWatch (int priority, IOCondition condition, IOFunc func) { IOFuncWrapper func_wrapper = null; IntPtr user_data = IntPtr.Zero; DestroyNotify notify = null; if (func != null) { func_wrapper = new IOFuncWrapper (func); user_data = (IntPtr) GCHandle.Alloc (func_wrapper); notify = DestroyHelper.NotifyHandler; } return g_io_add_watch_full (Handle, priority, (int) condition, func_wrapper.NativeDelegate, user_data, notify); } public IOStatus Flush () { IntPtr error; IOStatus ret = (IOStatus) g_io_channel_flush (Handle, out error); if (error != IntPtr.Zero) throw new GException (error); return ret; } public IOStatus ReadChars (byte[] buf, out ulong bytes_read) { UIntPtr native_bytes_read; IntPtr error; IOStatus ret = (IOStatus) g_io_channel_read_chars (Handle, buf, new UIntPtr ((ulong) buf.Length), out native_bytes_read, out error); bytes_read = (ulong) native_bytes_read; if (error != IntPtr.Zero) throw new GException (error); return ret; } public IOStatus ReadLine (out string str_return) { ulong dump; return ReadLine (out str_return, out dump); } public IOStatus ReadLine (out string str_return, out ulong terminator_pos) { IntPtr native_string; UIntPtr native_terminator_pos; IntPtr error; IOStatus ret = (IOStatus) g_io_channel_read_line (Handle, out native_string, IntPtr.Zero, out native_terminator_pos, out error); terminator_pos = (ulong) native_terminator_pos; str_return = null; if (ret == IOStatus.Normal) str_return = Marshaller.PtrToStringGFree (native_string); if (error != IntPtr.Zero) throw new GException (error); return ret; } public IOStatus ReadToEnd (out string str_return) { IntPtr native_str; UIntPtr native_length; IntPtr error; IOStatus ret = (IOStatus) g_io_channel_read_to_end (Handle, out native_str, out native_length, out error); str_return = null; if (ret == IOStatus.Normal) { byte[] buffer = new byte [(ulong) native_length]; Marshal.Copy (native_str, buffer, 0, (int)(ulong) native_length); str_return = System.Text.Encoding.UTF8.GetString (buffer); } Marshaller.Free (native_str); if (error != IntPtr.Zero) throw new GException (error); return ret; } public IOStatus ReadUnichar (out uint thechar) { IntPtr error; IOStatus ret = (IOStatus) g_io_channel_read_unichar (Handle, out thechar, out error); if (error != IntPtr.Zero) throw new GException (error); return ret; } public IOStatus SeekPosition (long offset, SeekType type) { IntPtr error; IOStatus ret = (IOStatus) g_io_channel_seek_position (Handle, offset, (int) type, out error); if (error != IntPtr.Zero) throw new GException (error); return ret; } public IOStatus Shutdown (bool flush) { IntPtr error; IOStatus ret = (IOStatus) g_io_channel_shutdown (Handle, flush, out error); if (error != IntPtr.Zero) throw new GException (error); return ret; } public IOStatus WriteChars (string str, out string remainder) { ulong written; System.Text.Encoding enc = System.Text.Encoding.UTF8; byte[] buffer = enc.GetBytes (str); IOStatus ret = WriteChars (buffer, out written); remainder = null; if ((int) written == buffer.Length) return ret; int count = buffer.Length - (int) written; byte[] rem = new byte [count]; Array.Copy (buffer, (int) written, rem, 0, count); remainder = enc.GetString (rem); return ret; } public IOStatus WriteChars (byte[] buf, out ulong bytes_written) { UIntPtr native_bytes_written; IntPtr error; IOStatus ret = (IOStatus) g_io_channel_write_chars (Handle, buf, new IntPtr (buf.Length), out native_bytes_written, out error); bytes_written = (ulong) native_bytes_written; if (error != IntPtr.Zero) throw new GException (error); return ret; } public IOStatus WriteUnichar (uint thechar) { IntPtr error; IOStatus ret = (IOStatus) g_io_channel_write_unichar (Handle, thechar, out error); if (error != IntPtr.Zero) throw new GException (error); return ret; } public static IOChannel FromHandle (IntPtr handle) { if (handle == IntPtr.Zero) return null; g_io_channel_ref (handle); return new IOChannel (handle); } public static IOChannelError ErrorFromErrno (int en) { return (IOChannelError) g_io_channel_error_from_errno (en); } const string libname = "libglib-2.0-0.dll"; [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern IntPtr g_io_channel_unix_new (int fd); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern IntPtr g_io_channel_new_file (IntPtr filename, IntPtr mode, out IntPtr error); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern IntPtr g_io_channel_new_file_utf8 (IntPtr filename, IntPtr mode, out IntPtr error); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern int g_io_channel_error_quark (); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern int g_io_channel_error_from_errno (int en); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern int g_io_channel_flush (IntPtr raw, out IntPtr error); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern void g_io_channel_init (IntPtr raw); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern int g_io_channel_read_chars (IntPtr raw, byte[] buf, UIntPtr count, out UIntPtr bytes_read, out IntPtr error); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern int g_io_channel_read_line (IntPtr raw, out IntPtr str_return, IntPtr length, out UIntPtr terminator_pos, out IntPtr error); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern int g_io_channel_read_to_end (IntPtr raw, out IntPtr str_return, out UIntPtr length, out IntPtr error); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern int g_io_channel_read_unichar (IntPtr raw, out uint thechar, out IntPtr error); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern int g_io_channel_seek_position (IntPtr raw, long offset, int type, out IntPtr error); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern int g_io_channel_shutdown (IntPtr raw, bool flush, out IntPtr err); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern int g_io_channel_write_chars (IntPtr raw, byte[] buf, IntPtr count, out UIntPtr bytes_written, out IntPtr error); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern int g_io_channel_write_unichar (IntPtr raw, uint thechar, out IntPtr error); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern int g_io_channel_get_buffer_condition (IntPtr raw); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern bool g_io_channel_get_buffered (IntPtr raw); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern void g_io_channel_set_buffered (IntPtr raw, bool buffered); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern UIntPtr g_io_channel_get_buffer_size (IntPtr raw); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern void g_io_channel_set_buffer_size (IntPtr raw, UIntPtr size); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern bool g_io_channel_get_close_on_unref (IntPtr raw); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern void g_io_channel_set_close_on_unref (IntPtr raw, bool do_close); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern IntPtr g_io_channel_get_encoding (IntPtr raw); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern int g_io_channel_set_encoding (IntPtr raw, IntPtr encoding, out IntPtr error); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern int g_io_channel_get_flags (IntPtr raw); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern int g_io_channel_set_flags (IntPtr raw, int flags, out IntPtr error); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern IntPtr g_io_channel_get_line_term (IntPtr raw, out int length); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern void g_io_channel_set_line_term (IntPtr raw, byte[] term, int length); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern int g_io_channel_unix_get_fd (IntPtr raw); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern IntPtr g_io_channel_ref (IntPtr raw); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern void g_io_channel_unref (IntPtr raw); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern uint g_io_add_watch_full (IntPtr raw, int priority, int condition, IOFuncNative func, IntPtr user_data, DestroyNotify notify); [DllImport (libname, CallingConvention = CallingConvention.Cdecl)] static extern IntPtr g_io_create_watch (IntPtr raw, int condition); } public delegate bool IOFunc (IOChannel source, IOCondition condition); public enum IOChannelError { FileTooBig, Inval, IO, IsDir, NoSpace, Nxio, Overflow, Pipe, Failed, } [Flags] public enum IOCondition { In = 1 << 0, Out = 1 << 2, Pri = 1 << 1, Err = 1 << 3, Hup = 1 << 4, Nval = 1 << 5, } [Flags] public enum IOFlags { Append = 1 << 0, Nonblock = 1 << 1, IsReadable = 1 << 2, IsWriteable = 1 << 3, IsSeekable = 1 << 4, Mask = 1 << 5- 1, GetMask = Mask, SetMask = Append | Nonblock, } public enum IOStatus { Error, Normal, Eof, Again, } public enum SeekType { Cur, Set, End, } } gtk-sharp-2.12.40/glib/GInterfaceAdapter.cs0000664000175000017500000000332212767740470015275 00000000000000// GInterfaceAdapter.cs // // Author: Mike Kestner // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; [UnmanagedFunctionPointer (CallingConvention.Cdecl)] public delegate void GInterfaceInitHandler (IntPtr iface_ptr, IntPtr data); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] internal delegate void GInterfaceFinalizeHandler (IntPtr iface_ptr, IntPtr data); internal struct GInterfaceInfo { internal GInterfaceInitHandler InitHandler; internal GInterfaceFinalizeHandler FinalizeHandler; internal IntPtr Data; } public abstract class GInterfaceAdapter { GInterfaceInfo info; protected GInterfaceAdapter () { } protected GInterfaceInitHandler InitHandler { set { info.InitHandler = value; } } public abstract GType GType { get; } public abstract IntPtr Handle { get; } internal GInterfaceInfo Info { get { if (info.Data == IntPtr.Zero) info.Data = (IntPtr) GCHandle.Alloc (this); return info; } } } } gtk-sharp-2.12.40/glib/SList.cs0000664000175000017500000000656212767740470013034 00000000000000// SList.cs - GSList class wrapper implementation // // Authors: Mike Kestner // // Copyright (c) 2002 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; public class SList : ListBase { [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_slist_copy (IntPtr l); public override object Clone () { return new SList (g_slist_copy (Handle)); } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int g_slist_length (IntPtr l); internal override int Length (IntPtr list) { return g_slist_length (list); } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_slist_free(IntPtr l); internal override void Free (IntPtr list) { if (list != IntPtr.Zero) g_slist_free (list); } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_slist_append (IntPtr l, IntPtr raw); internal override IntPtr Append (IntPtr list, IntPtr raw) { return g_slist_append (list, raw); } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_slist_prepend (IntPtr l, IntPtr raw); internal override IntPtr Prepend (IntPtr list, IntPtr raw) { return g_slist_prepend (list, raw); } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_slist_nth_data (IntPtr l, uint n); internal override IntPtr NthData (uint n) { return g_slist_nth_data (Handle, n); } [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void g_free (IntPtr item); public SList (IntPtr raw) : this (raw, null) {} public SList (System.Type element_type) : this (IntPtr.Zero, element_type) {} public SList (IntPtr raw, System.Type element_type) : this (raw, element_type, false, false) {} public SList (IntPtr raw, System.Type element_type, bool owned, bool elements_owned) : base (raw, element_type, owned, elements_owned, g_free) { } public SList (IntPtr raw, System.Type element_type, bool owned, bool elements_owned, ListElementFree free_func) : base (raw, element_type, owned, elements_owned, free_func) { } public SList (object[] members, System.Type element_type, bool owned, bool elements_owned) : this (IntPtr.Zero, element_type, owned, elements_owned) { foreach (object o in members) Append (o); } public SList (Array members, System.Type element_type, bool owned, bool elements_owned) : this (IntPtr.Zero, element_type, owned, elements_owned) { foreach (object o in members) Append (o); } } } gtk-sharp-2.12.40/glib/Global.cs0000664000175000017500000000451612767740470013173 00000000000000// GLib.Global.cs - Global glib properties and methods. // // Author: Andres G. Aragoneses // // Copyright (c) 2008 Novell, Inc // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Text; using System.Runtime.InteropServices; public class Global { //this is a static class private Global () {} internal static bool IsWindowsPlatform { get { switch (Environment.OSVersion.Platform) { case PlatformID.Win32NT: case PlatformID.Win32S: case PlatformID.Win32Windows: case PlatformID.WinCE: return true; default: return false; } } } public static string ProgramName { get { return GLib.Marshaller.Utf8PtrToString (g_get_prgname()); } set { IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (value); g_set_prgname (native_name); GLib.Marshaller.Free (native_name); } } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_set_prgname (IntPtr name); [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_get_prgname (); public static string ApplicationName { get { return GLib.Marshaller.Utf8PtrToString (g_get_application_name()); } set { IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (value); g_set_application_name (native_name); GLib.Marshaller.Free (native_name); } } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_set_application_name (IntPtr name); [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_get_application_name (); } } gtk-sharp-2.12.40/glib/MainLoop.cs0000664000175000017500000000374212767740470013511 00000000000000// GLib.MainLoop.cs - g_main_loop class implementation // // Author: Jeroen Zwartepoorte // // Copyright (c) 2004 Jeroen Zwartepoorte // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. using System; using System.Runtime.InteropServices; namespace GLib { public class MainLoop { private IntPtr handle; [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_main_loop_new (IntPtr context, bool isRunning); public MainLoop () { handle = g_main_loop_new (IntPtr.Zero, false); } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_main_loop_unref (IntPtr loop); ~MainLoop () { g_main_loop_unref (handle); handle = IntPtr.Zero; } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool g_main_loop_is_running (IntPtr loop); public bool IsRunning { get { return g_main_loop_is_running (handle); } } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_main_loop_run (IntPtr loop); public void Run () { g_main_loop_run (handle); } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_main_loop_quit (IntPtr loop); public void Quit () { g_main_loop_quit (handle); } } } gtk-sharp-2.12.40/glib/CDeclCallbackAttribute.cs0000664000175000017500000000205512767740470016242 00000000000000// CDeclCallbackAttribute.cs // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; [Obsolete ("You must use the UnmanagedFunctionPointer attribute with value 'CallingConvention.Cdecl'. This attribute does not set the delegate to 'cdecl' correctly")] public sealed class CDeclCallbackAttribute : Attribute { } } gtk-sharp-2.12.40/glib/ConnectBeforeAttribute.cs0000664000175000017500000000165212654353766016374 00000000000000// ConnectBeforeAttribute.cs // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; public sealed class ConnectBeforeAttribute : Attribute { public ConnectBeforeAttribute () {} } } gtk-sharp-2.12.40/glib/Log.cs0000664000175000017500000001551612767740470012516 00000000000000// Log.cs - Wrapper for message logging functions // // Authors: // Gonzalo Paniagua Javier (gonzalo@ximian.com) // // // Copyright (c) 2002 Gonzalo Paniagua // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. // namespace GLib { using System; using System.Collections; using System.Runtime.InteropServices; public delegate void LogFunc (string log_domain, LogLevelFlags log_level, string message); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] internal delegate void LogFunc2 (string log_domain, LogLevelFlags log_level, string message, LogFunc user_data); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] public delegate void PrintFunc (string message); [Flags] public enum LogLevelFlags : int { /* log flags */ FlagRecursion = 1 << 0, FlagFatal = 1 << 1, /* GLib log levels */ Error = 1 << 2, /* always fatal */ Critical = 1 << 3, Warning = 1 << 4, Message = 1 << 5, Info = 1 << 6, Debug = 1 << 7, /* Convenience values */ AllButFatal = 253, AllButRecursion = 254, All = 255, FlagMask = 3, LevelMask = unchecked ((int) 0xFFFFFFFC) } public class Log { static Hashtable handlers; static void EnsureHash () { if (handlers == null) handlers = new Hashtable (); } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_logv (IntPtr log_domain, LogLevelFlags flags, IntPtr message); public static void Write (string logDomain, LogLevelFlags flags, string format, params object [] args) { IntPtr ndom = Marshaller.StringToPtrGStrdup (logDomain); IntPtr nmessage = Marshaller.StringToPtrGStrdup (String.Format (format, args)); g_logv (ndom, flags, nmessage); Marshaller.Free (ndom); Marshaller.Free (nmessage); } [Obsolete ("Use the static member Write")] public void WriteLog (string logDomain, LogLevelFlags flags, string format, params object [] args) { IntPtr ndom = Marshaller.StringToPtrGStrdup (logDomain); IntPtr nmessage = Marshaller.StringToPtrGStrdup (String.Format (format, args)); g_logv (ndom, flags, nmessage); Marshaller.Free (ndom); Marshaller.Free (nmessage); } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern uint g_log_set_handler (IntPtr log_domain, LogLevelFlags flags, LogFunc2 log_func, LogFunc user_data); static readonly LogFunc2 LogFuncTrampoline = (string domain, LogLevelFlags level, string message, LogFunc user_data) => { user_data (domain, level, message); }; public static uint SetLogHandler (string logDomain, LogLevelFlags flags, LogFunc logFunc) { IntPtr ndom = Marshaller.StringToPtrGStrdup (logDomain); uint result = g_log_set_handler (ndom, flags, LogFuncTrampoline, logFunc); Marshaller.Free (ndom); EnsureHash (); handlers [result] = logFunc; return result; } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern uint g_log_remove_handler (IntPtr log_domain, uint handler_id); public static void RemoveLogHandler (string logDomain, uint handlerID) { if (handlers != null && handlers.ContainsKey (handlerID)) handlers.Remove (handlerID); IntPtr ndom = Marshaller.StringToPtrGStrdup (logDomain); g_log_remove_handler (ndom, handlerID); Marshaller.Free (ndom); } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern PrintFunc g_set_print_handler (PrintFunc handler); public static PrintFunc SetPrintHandler (PrintFunc handler) { EnsureHash (); handlers ["PrintHandler"] = handler; return g_set_print_handler (handler); } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern PrintFunc g_set_printerr_handler (PrintFunc handler); public static PrintFunc SetPrintErrorHandler (PrintFunc handler) { EnsureHash (); handlers ["PrintErrorHandler"] = handler; return g_set_printerr_handler (handler); } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_log_default_handler (IntPtr log_domain, LogLevelFlags log_level, IntPtr message, IntPtr unused_data); public static void DefaultHandler (string logDomain, LogLevelFlags logLevel, string message) { IntPtr ndom = Marshaller.StringToPtrGStrdup (logDomain); IntPtr nmess = Marshaller.StringToPtrGStrdup (message); g_log_default_handler (ndom, logLevel, nmess, IntPtr.Zero); Marshaller.Free (ndom); Marshaller.Free (nmess); } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] extern static LogLevelFlags g_log_set_always_fatal (LogLevelFlags fatal_mask); public static LogLevelFlags SetAlwaysFatal (LogLevelFlags fatalMask) { return g_log_set_always_fatal (fatalMask); } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] extern static LogLevelFlags g_log_set_fatal_mask (IntPtr log_domain, LogLevelFlags fatal_mask); public static LogLevelFlags SetAlwaysFatal (string logDomain, LogLevelFlags fatalMask) { IntPtr ndom = Marshaller.StringToPtrGStrdup (logDomain); LogLevelFlags result = g_log_set_fatal_mask (ndom, fatalMask); Marshaller.Free (ndom); return result; } /* * Some common logging methods. * * Sample usage: * * // Print the messages for the NULL domain * LogFunc logFunc = new LogFunc (Log.PrintLogFunction); * Log.SetLogHandler (null, LogLevelFlags.All, logFunc); * * // Print messages and stack trace for Gtk critical messages * logFunc = new LogFunc (Log.PrintTraceLogFunction); * Log.SetLogHandler ("Gtk", LogLevelFlags.Critical, logFunc); * */ public static void PrintLogFunction (string domain, LogLevelFlags level, string message) { Console.WriteLine ("Domain: '{0}' Level: {1}", domain, level); Console.WriteLine ("Message: {0}", message); } public static void PrintTraceLogFunction (string domain, LogLevelFlags level, string message) { PrintLogFunction (domain, level, message); Console.WriteLine ("Trace follows:\n{0}", new System.Diagnostics.StackTrace ()); } } } gtk-sharp-2.12.40/glib/Timeout.cs0000775000175000017500000000506112767740470013420 00000000000000// GLib.Timeout.cs - Timeout class implementation // // Author: Mike Kestner // // Copyright (c) 2002 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; public delegate bool TimeoutHandler (); public class Timeout { [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate bool TimeoutHandlerInternal (IntPtr ptr); internal class TimeoutProxy : SourceProxy { public TimeoutProxy (TimeoutHandler real) { real_handler = real; proxy_handler = new TimeoutHandlerInternal (Handler); } ~TimeoutProxy () { Dispose (false); } public void Dispose () { Dispose (true); GC.SuppressFinalize (this); } protected virtual void Dispose (bool disposing) { // Both branches remove our delegate from the // managed list of handlers, but only // Source.Remove will remove it from the // unmanaged list also. if (disposing) Remove (); else Source.Remove (ID); } static bool Handler (IntPtr data) { try { SourceProxy obj; lock (proxies) obj = proxies [(int)data]; TimeoutHandler timeout_handler = (TimeoutHandler)obj.real_handler; bool cont = timeout_handler (); if (!cont) obj.Remove (); return cont; } catch (Exception e) { ExceptionManager.RaiseUnhandledException (e, false); } return false; } } private Timeout () {} [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern uint g_timeout_add (uint interval, TimeoutHandlerInternal d, IntPtr data); public static uint Add (uint interval, TimeoutHandler hndlr) { TimeoutProxy p = new TimeoutProxy (hndlr); p.ID = g_timeout_add (interval, (TimeoutHandlerInternal) p.proxy_handler, (IntPtr)p.proxyId); lock (Source.source_handlers) Source.source_handlers [p.ID] = p; return p.ID; } } } gtk-sharp-2.12.40/glib/MissingIntPtrCtorException.cs0000664000175000017500000000203012767740470017241 00000000000000// MissingIntPtrCtorException.cs : Exception for missing IntPtr ctors // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; public class MissingIntPtrCtorException : Exception { public MissingIntPtrCtorException (string msg) : base (msg) { } } } gtk-sharp-2.12.40/glib/DelegateWrapper.cs0000664000175000017500000000717712767740470015054 00000000000000// DelegateWrapper.cs - Delegate wrapper implementation // // Authors: // Rachel Hestilow // Gonzalo Panigua Javier // // Copyright (c) 2002 Rachel Hestilow // Copyright (c) 2003 Ximian, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.Runtime.InteropServices; public class DelegateWrapper { // Keys in the hashtable are instances of classes derived from this one. // Values are each instance's destroy notification delegate static Hashtable instances = new Hashtable (); // This list holds references to wrappers for static // methods. These will never expire. static ArrayList static_instances = new ArrayList (); static int notify_count = 0; // The object 'o' is the object that creates the instance of the DelegateWrapper // derived class or null if created from a static method. // Note that the instances will never be disposed if they are created in a static // method. [Obsolete ("Callback wrappers should be manually managed for persistence.")] protected DelegateWrapper (object o) { if (o != null) { // If o is a GObject, we can get // destroy notification. Otherwise // no additional references to // the wrapper are kept. // FIXME: This should work because // currently only GObjects store // callbacks over the long-term if (o is GLib.Object) { AddDestroyNotify ((GLib.Object) o); } } else { // If o is null, we cannot ask for a destroy // notification, so the wrapper never expires. lock (typeof (DelegateWrapper)) { static_instances.Add (this); } } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] private delegate void DestroyNotify (IntPtr data); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] private static extern void g_object_set_data_full (IntPtr obj, IntPtr name, IntPtr data, DestroyNotify destroy); private void AddDestroyNotify (GLib.Object o) { // This is a bit of an ugly hack. There is no // way of getting a destroy notification // explicitly, so we set some data and ask // for notification when it is removed IntPtr name = Marshaller.StringToPtrGStrdup (String.Format ("_GtkSharpDelegateWrapper_{0}", notify_count)); DestroyNotify destroy = new DestroyNotify (this.OnDestroy); g_object_set_data_full (o.Handle, name, IntPtr.Zero, destroy); Marshaller.Free (name); lock (typeof (DelegateWrapper)) { instances[this] = destroy; notify_count++; } } // This callback is invoked by GLib to indicate that the // object that owned the native delegate wrapper no longer // exists and the instance of the delegate itself is removed from the hash table. private void OnDestroy (IntPtr data) { try { lock (typeof (DelegateWrapper)) { if (instances.ContainsKey (this)) { instances.Remove (this); } } } catch (Exception e) { ExceptionManager.RaiseUnhandledException (e, false); } } } } gtk-sharp-2.12.40/glib/Makefile.in0000664000175000017500000006450212767740506013512 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = glib ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = glib-sharp-2.0.pc glib-sharp.dll.config CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(gapidir)" "$(DESTDIR)$(pkgconfigdir)" DATA = $(gapi_DATA) $(noinst_DATA) $(pkgconfig_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/glib-sharp-2.0.pc.in \ $(srcdir)/glib-sharp.dll.config.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = glue TARGET = $(ASSEMBLY) ASSEMBLY = $(ASSEMBLY_NAME).dll ASSEMBLY_NAME = glib-sharp noinst_DATA = $(ASSEMBLY) $(ASSEMBLY).config $(POLICY_ASSEMBLIES) pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = glib-sharp-2.0.pc gapidir = $(datadir)/gapi-2.0 gapi_DATA = glib-api.xml CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb gtk-sharp.snk AssemblyInfo.cs $(POLICY_ASSEMBLIES) $(POLICY_CONFIGS) DISTCLEANFILES = $(ASSEMBLY).config POLICY_ASSEMBLIES = $(addsuffix .$(ASSEMBLY), $(addprefix policy., $(POLICY_VERSIONS))) POLICY_CONFIGS = $(addsuffix .config, $(addprefix policy., $(POLICY_VERSIONS))) references = sources = \ Argv.cs \ Boxed.cs \ CDeclCallbackAttribute.cs \ ClassInitializerAttribute.cs \ ConnectBeforeAttribute.cs \ DefaultSignalHandlerAttribute.cs \ DelegateWrapper.cs \ DestroyNotify.cs \ EnumWrapper.cs \ ExceptionManager.cs \ FileUtils.cs \ Format.cs \ GException.cs \ GInterfaceAdapter.cs \ GInterfaceAttribute.cs \ Global.cs \ GString.cs \ GType.cs \ GTypeAttribute.cs \ Idle.cs \ IgnoreClassInitializersAttribute.cs \ InitiallyUnowned.cs \ IOChannel.cs \ IWrapper.cs \ ListBase.cs \ List.cs \ Log.cs \ MainContext.cs \ MainLoop.cs \ ManagedValue.cs \ Markup.cs \ Marshaller.cs \ MissingIntPtrCtorException.cs \ NotifyHandler.cs \ Object.cs \ ObjectManager.cs \ Opaque.cs \ PropertyAttribute.cs \ PtrArray.cs \ Signal.cs \ SignalArgs.cs \ SignalAttribute.cs \ SignalCallback.cs \ SignalClosure.cs \ SList.cs \ Source.cs \ Spawn.cs \ Thread.cs \ Timeout.cs \ ToggleRef.cs \ TypeConverter.cs \ TypeFundamentals.cs \ TypeInitializerAttribute.cs \ UnwrappedObject.cs \ ValueArray.cs \ Value.cs build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs dist_sources = $(sources) EXTRA_DIST = \ $(dist_sources) \ $(ASSEMBLY).config.in \ glib-sharp-2.0.pc.in \ glib-api.xml all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign glib/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign glib/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): glib-sharp-2.0.pc: $(top_builddir)/config.status $(srcdir)/glib-sharp-2.0.pc.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ glib-sharp.dll.config: $(top_builddir)/config.status $(srcdir)/glib-sharp.dll.config.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-gapiDATA: $(gapi_DATA) @$(NORMAL_INSTALL) @list='$(gapi_DATA)'; test -n "$(gapidir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(gapidir)'"; \ $(MKDIR_P) "$(DESTDIR)$(gapidir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(gapidir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(gapidir)" || exit $$?; \ done uninstall-gapiDATA: @$(NORMAL_UNINSTALL) @list='$(gapi_DATA)'; test -n "$(gapidir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(gapidir)'; $(am__uninstall_files_from_dir) install-pkgconfigDATA: $(pkgconfig_DATA) @$(NORMAL_INSTALL) @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ done uninstall-pkgconfigDATA: @$(NORMAL_UNINSTALL) @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir) # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(DATA) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(gapidir)" "$(DESTDIR)$(pkgconfigdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-data-local install-gapiDATA \ install-pkgconfigDATA install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-gapiDATA uninstall-local \ uninstall-pkgconfigDATA .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am \ install-data-local install-dvi install-dvi-am install-exec \ install-exec-am install-gapiDATA install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-pkgconfigDATA install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am tags tags-am uninstall uninstall-am \ uninstall-gapiDATA uninstall-local uninstall-pkgconfigDATA .PRECIOUS: Makefile gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk cp $(top_srcdir)/gtk-sharp.snk . AssemblyInfo.cs: $(top_builddir)/AssemblyInfo.cs cp $(top_builddir)/AssemblyInfo.cs . $(ASSEMBLY): $(build_sources) gtk-sharp.snk AssemblyInfo.cs @rm -f $(ASSEMBLY).mdb $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -out:$(ASSEMBLY) -target:library $(references) $(build_sources) $(GAPI_CDECL_INSERT) policy.%.config: $(top_builddir)/policy.config sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$*/" $(top_builddir)/policy.config > $@ $(POLICY_ASSEMBLIES) : policy.%.$(ASSEMBLY): policy.%.config gtk-sharp.snk $(AL) -link:policy.$*.config -version:$* -out:$@ -keyfile:gtk-sharp.snk install-data-local: @if test -n '$(TARGET)'; then \ echo "$(GACUTIL) -i $(ASSEMBLY) -f $(GACUTIL_FLAGS)"; \ $(GACUTIL) -i $(ASSEMBLY) -f $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) -i policy.$$i.$(ASSEMBLY) -f $(GACUTIL_FLAGS)"; \ $(GACUTIL) -i policy.$$i.$(ASSEMBLY) -f $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi uninstall-local: @if test -n '$(TARGET)'; then \ echo "$(GACUTIL) -u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) -u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/glib/Spawn.cs0000664000175000017500000002422612767740470013063 00000000000000// glib/Spawn.cs : Spawn g_spawn API wrapper // // Author: Mike Kestner // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; public enum SpawnError { Fork, Read, Chdir, Acces, Perm, TooBig, NoExec, NameTooLong, NoEnt, NoMem, NotDir, Loop, TxtBusy, IO, NFile, MFile, Inval, IsDir, LibBad, Failed, } [Flags] public enum SpawnFlags { LeaveDescriptorsOpen = 1 << 0, DoNotReapChild = 1 << 1, SearchPath = 1 << 2, StdoutToDevNull = 1 << 3, StderrToDevNull = 1 << 4, ChildInheritsStdin = 1 << 5, FileAndArgvZero = 1 << 6, } public delegate void SpawnChildSetupFunc (); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] internal delegate void SpawnChildSetupFuncNative (IntPtr gch); internal class SpawnChildSetupWrapper { SpawnChildSetupFunc handler; public SpawnChildSetupWrapper (SpawnChildSetupFunc handler) { if (handler == null) return; this.handler = handler; Data = (IntPtr) GCHandle.Alloc (this); NativeCallback = new SpawnChildSetupFuncNative (InvokeHandler); } public IntPtr Data; public SpawnChildSetupFuncNative NativeCallback; static void InvokeHandler (IntPtr data) { if (data == IntPtr.Zero) return; GCHandle gch = (GCHandle) data; (gch.Target as SpawnChildSetupWrapper).handler (); gch.Free (); } } public class Process { public const int IgnorePipe = Int32.MaxValue; public const int RequestPipe = 0; long pid; private Process (int pid) { this.pid = pid; } [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void g_spawn_close_pid (int pid); public void Close () { g_spawn_close_pid ((int) pid); } [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool g_spawn_async (IntPtr dir, IntPtr[] argv, IntPtr[] envp, int flags, SpawnChildSetupFuncNative func, IntPtr data, out int pid, out IntPtr error); [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool g_spawn_async_utf8 (IntPtr dir, IntPtr[] argv, IntPtr[] envp, int flags, SpawnChildSetupFuncNative func, IntPtr data, out int pid, out IntPtr error); public static bool SpawnAsync (string working_directory, string[] argv, string[] envp, SpawnFlags flags, SpawnChildSetupFunc child_setup, out Process child_process) { int pid; IntPtr error; IntPtr native_dir = Marshaller.StringToPtrGStrdup (working_directory); IntPtr[] native_argv = Marshaller.StringArrayToNullTermPointer (argv); IntPtr[] native_envp = Marshaller.StringArrayToNullTermPointer (envp); SpawnChildSetupWrapper wrapper = new SpawnChildSetupWrapper (child_setup); bool result; if (Global.IsWindowsPlatform) result = g_spawn_async_utf8 (native_dir, native_argv, native_envp, (int) flags, wrapper.NativeCallback, wrapper.Data, out pid, out error); else result = g_spawn_async (native_dir, native_argv, native_envp, (int) flags, wrapper.NativeCallback, wrapper.Data, out pid, out error); child_process = new Process (pid); Marshaller.Free (native_dir); Marshaller.Free (native_argv); Marshaller.Free (native_envp); if (error != IntPtr.Zero) throw new GLib.GException (error); return result; } [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool g_spawn_async_with_pipes (IntPtr dir, IntPtr[] argv, IntPtr[] envp, int flags, SpawnChildSetupFuncNative func, IntPtr data, out int pid, IntPtr stdin, IntPtr stdout, IntPtr stderr, out IntPtr error); [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool g_spawn_async_with_pipes_utf8 (IntPtr dir, IntPtr[] argv, IntPtr[] envp, int flags, SpawnChildSetupFuncNative func, IntPtr data, out int pid, IntPtr stdin, IntPtr stdout, IntPtr stderr, out IntPtr error); public static bool SpawnAsyncWithPipes (string working_directory, string[] argv, string[] envp, SpawnFlags flags, SpawnChildSetupFunc child_setup, out Process child_process, ref int stdin, ref int stdout, ref int stderr) { int pid; IntPtr error; IntPtr native_dir = Marshaller.StringToPtrGStrdup (working_directory); IntPtr[] native_argv = Marshaller.StringArrayToNullTermPointer (argv); IntPtr[] native_envp = Marshaller.StringArrayToNullTermPointer (envp); SpawnChildSetupWrapper wrapper = new SpawnChildSetupWrapper (child_setup); IntPtr in_ptr = stdin == IgnorePipe ? IntPtr.Zero : Marshal.AllocHGlobal (4); IntPtr out_ptr = stdout == IgnorePipe ? IntPtr.Zero : Marshal.AllocHGlobal (4); IntPtr err_ptr = stderr == IgnorePipe ? IntPtr.Zero : Marshal.AllocHGlobal (4); bool result; if (Global.IsWindowsPlatform) result = g_spawn_async_with_pipes_utf8 (native_dir, native_argv, native_envp, (int) flags, wrapper.NativeCallback, wrapper.Data, out pid, in_ptr, out_ptr, err_ptr, out error); else result = g_spawn_async_with_pipes (native_dir, native_argv, native_envp, (int) flags, wrapper.NativeCallback, wrapper.Data, out pid, in_ptr, out_ptr, err_ptr, out error); child_process = new Process (pid); if (in_ptr != IntPtr.Zero) { stdin = Marshal.ReadInt32 (in_ptr); Marshal.FreeHGlobal (in_ptr); } if (out_ptr != IntPtr.Zero) { stdout = Marshal.ReadInt32 (out_ptr); Marshal.FreeHGlobal (out_ptr); } if (err_ptr != IntPtr.Zero) { stderr = Marshal.ReadInt32 (err_ptr); Marshal.FreeHGlobal (err_ptr); } Marshaller.Free (native_dir); Marshaller.Free (native_argv); Marshaller.Free (native_envp); if (error != IntPtr.Zero) throw new GLib.GException (error); return result; } [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool g_spawn_sync (IntPtr dir, IntPtr[] argv, IntPtr[] envp, int flags, SpawnChildSetupFuncNative func, IntPtr data, out IntPtr stdout, out IntPtr stderr, out int exit_status, out IntPtr error); [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool g_spawn_sync_utf8 (IntPtr dir, IntPtr[] argv, IntPtr[] envp, int flags, SpawnChildSetupFuncNative func, IntPtr data, out IntPtr stdout, out IntPtr stderr, out int exit_status, out IntPtr error); public static bool SpawnSync (string working_directory, string[] argv, string[] envp, SpawnFlags flags, SpawnChildSetupFunc child_setup, out string stdout, out string stderr, out int exit_status) { IntPtr native_stdout, native_stderr, error; IntPtr native_dir = Marshaller.StringToPtrGStrdup (working_directory); IntPtr[] native_argv = Marshaller.StringArrayToNullTermPointer (argv); IntPtr[] native_envp = Marshaller.StringArrayToNullTermPointer (envp); SpawnChildSetupWrapper wrapper = new SpawnChildSetupWrapper (child_setup); bool result; if (Global.IsWindowsPlatform) result = g_spawn_sync (native_dir, native_argv, native_envp, (int) flags, wrapper.NativeCallback, wrapper.Data, out native_stdout, out native_stderr, out exit_status, out error); else result = g_spawn_sync (native_dir, native_argv, native_envp, (int) flags, wrapper.NativeCallback, wrapper.Data, out native_stdout, out native_stderr, out exit_status, out error); Marshaller.Free (native_dir); Marshaller.Free (native_argv); Marshaller.Free (native_envp); stdout = Marshaller.PtrToStringGFree (native_stdout); stderr = Marshaller.PtrToStringGFree (native_stderr); if (error != IntPtr.Zero) throw new GLib.GException (error); return result; } [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool g_spawn_command_line_async (IntPtr cmdline, out IntPtr error); [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool g_spawn_command_line_async_utf8 (IntPtr cmdline, out IntPtr error); public static bool SpawnCommandLineAsync (string command_line) { IntPtr error; IntPtr native_cmd = Marshaller.StringToPtrGStrdup (command_line); bool result; if (Global.IsWindowsPlatform) result = g_spawn_command_line_async_utf8 (native_cmd, out error); else result = g_spawn_command_line_async (native_cmd, out error); Marshaller.Free (native_cmd); if (error != IntPtr.Zero) throw new GLib.GException (error); return result; } [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool g_spawn_command_line_sync (IntPtr cmdline, out IntPtr stdout, out IntPtr stderr, out int exit_status, out IntPtr error); [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool g_spawn_command_line_sync_utf8 (IntPtr cmdline, out IntPtr stdout, out IntPtr stderr, out int exit_status, out IntPtr error); public static bool SpawnCommandLineSync (string command_line, out string stdout, out string stderr, out int exit_status) { IntPtr error, native_stdout, native_stderr; IntPtr native_cmd = Marshaller.StringToPtrGStrdup (command_line); bool result; if (Global.IsWindowsPlatform) result = g_spawn_command_line_sync_utf8 (native_cmd, out native_stdout, out native_stderr, out exit_status, out error); else result = g_spawn_command_line_sync (native_cmd, out native_stdout, out native_stderr, out exit_status, out error); Marshaller.Free (native_cmd); stdout = Marshaller.PtrToStringGFree (native_stdout); stderr = Marshaller.PtrToStringGFree (native_stderr); if (error != IntPtr.Zero) throw new GLib.GException (error); return result; } } } gtk-sharp-2.12.40/glib/Format.cs0000664000175000017500000000235712767740470013224 00000000000000// Format.cs: Wrapper for the g_format code in Glib // // Authors: // Stephane Delcroix (stephane@delcroix.org) // // Copyright (c) 2008 Novell, Inc. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. using System; using System.Runtime.InteropServices; namespace GLib { #if GTK_SHARP_2_14 public class Format { [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_format_size_for_display (long size); static public string SizeForDisplay (long size) { string result = Marshaller.PtrToStringGFree (g_format_size_for_display (size)); return result; } } #endif } gtk-sharp-2.12.40/glib/GType.cs0000664000175000017500000002176512767740470013030 00000000000000// GLib.Type.cs - GLib GType class implementation // // Author: Mike Kestner // // Copyright (c) 2003 Mike Kestner // Copyright (c) 2003 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Runtime.InteropServices; [StructLayout(LayoutKind.Sequential)] public struct GType { IntPtr val; public GType (IntPtr val) { this.val = val; } public static GType FromName (string native_name) { return new GType (g_type_from_name (native_name)); } public static readonly GType Invalid = new GType ((IntPtr) TypeFundamentals.TypeInvalid); public static readonly GType None = new GType ((IntPtr) TypeFundamentals.TypeNone); public static readonly GType Interface = new GType ((IntPtr) TypeFundamentals.TypeInterface); public static readonly GType Char = new GType ((IntPtr) TypeFundamentals.TypeChar); public static readonly GType UChar = new GType ((IntPtr) TypeFundamentals.TypeUChar); public static readonly GType Boolean = new GType ((IntPtr) TypeFundamentals.TypeBoolean); public static readonly GType Int = new GType ((IntPtr) TypeFundamentals.TypeInt); public static readonly GType UInt = new GType ((IntPtr) TypeFundamentals.TypeUInt); public static readonly GType Long = new GType ((IntPtr) TypeFundamentals.TypeLong); public static readonly GType ULong = new GType ((IntPtr) TypeFundamentals.TypeULong); public static readonly GType Int64 = new GType ((IntPtr) TypeFundamentals.TypeInt64); public static readonly GType UInt64 = new GType ((IntPtr) TypeFundamentals.TypeUInt64); public static readonly GType Enum = new GType ((IntPtr) TypeFundamentals.TypeEnum); public static readonly GType Flags = new GType ((IntPtr) TypeFundamentals.TypeFlags); public static readonly GType Float = new GType ((IntPtr) TypeFundamentals.TypeFloat); public static readonly GType Double = new GType ((IntPtr) TypeFundamentals.TypeDouble); public static readonly GType String = new GType ((IntPtr) TypeFundamentals.TypeString); public static readonly GType Pointer = new GType ((IntPtr) TypeFundamentals.TypePointer); public static readonly GType Boxed = new GType ((IntPtr) TypeFundamentals.TypeBoxed); public static readonly GType Param = new GType ((IntPtr) TypeFundamentals.TypeParam); public static readonly GType Object = new GType ((IntPtr) TypeFundamentals.TypeObject); static Dictionary types = new Dictionary (); static Dictionary gtypes = new Dictionary (); public static void Register (GType native_type, System.Type type) { if (native_type != GType.Pointer && native_type != GType.Boxed && native_type != ManagedValue.GType) types[native_type.Val] = type; if (type != null) gtypes[type] = native_type; } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_type_init (); static GType () { if (!GLib.Thread.Supported) GLib.Thread.Init (); g_type_init (); Register (GType.Char, typeof (sbyte)); Register (GType.UChar, typeof (byte)); Register (GType.Boolean, typeof (bool)); Register (GType.Int, typeof (int)); Register (GType.UInt, typeof (uint)); Register (GType.Int64, typeof (long)); Register (GType.UInt64, typeof (ulong)); Register (GType.Float, typeof (float)); Register (GType.Double, typeof (double)); Register (GType.String, typeof (string)); Register (GType.Pointer, typeof (IntPtr)); Register (GType.Object, typeof (GLib.Object)); // One-way mapping gtypes[typeof (char)] = GType.UInt; } public static explicit operator GType (System.Type type) { GType gtype; if (gtypes.TryGetValue (type, out gtype)) return gtype; if (type.IsSubclassOf (typeof (GLib.Object))) { gtype = GLib.Object.LookupGType (type); Register (gtype, type); return gtype; } if (type.IsEnum) { GTypeTypeAttribute geattr; GTypeAttribute gattr; if ((geattr = (GTypeTypeAttribute)Attribute.GetCustomAttribute (type, typeof (GTypeTypeAttribute), false)) != null) { gtype = geattr.Type; } else if ((gattr = (GTypeAttribute)Attribute.GetCustomAttribute (type, typeof (GTypeAttribute), false)) != null) { // This should never happen for generated code, keep it in place for other users of the API. var pi = gattr.WrapperType.GetProperty ("GType", BindingFlags.Public | BindingFlags.Static); gtype = (GType)pi.GetValue (null, null); } else gtype = ManagedValue.GType; } else { GTypeTypeAttribute geattr; PropertyInfo pi; if ((geattr = (GTypeTypeAttribute)Attribute.GetCustomAttribute (type, typeof (GTypeTypeAttribute), false)) != null) { gtype = geattr.Type; } else if ((pi = type.GetProperty ("GType", BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.FlattenHierarchy)) != null) { gtype = (GType)pi.GetValue (null, null); } else if (type.IsSubclassOf (typeof (GLib.Opaque))) gtype = GType.Pointer; else gtype = ManagedValue.GType; } Register (gtype, type); return gtype; } static string GetQualifiedName (string cname) { for (int i = 1; i < cname.Length; i++) { if (System.Char.IsUpper (cname[i])) { if (i == 1 && cname [0] == 'G') return "GLib." + cname.Substring (1); else return cname.Substring (0, i) + "." + cname.Substring (i); } } throw new ArgumentException ("cname is not in NamespaceType format. GType.Register should be called directly for " + cname); } public static explicit operator Type (GType gtype) { return LookupType (gtype.Val); } public static void Init () { // cctor already calls g_type_init. } public static Type LookupType (IntPtr typeid) { Type result; if (types.TryGetValue (typeid, out result)) return result; string native_name = Marshaller.Utf8PtrToString (g_type_name (typeid)); string type_name = GetQualifiedName (native_name); Assembly[] assemblies = (Assembly[]) AppDomain.CurrentDomain.GetAssemblies ().Clone (); foreach (Assembly asm in assemblies) { result = asm.GetType (type_name); if (result != null) break; } if (result == null) { // Because of lazy loading of references, it's possible the type's assembly // needs to be loaded. We will look for it by name in the references of // the currently loaded assemblies. Hopefully a recursive traversal is // not needed. We avoid one for now because of problems experienced // in a patch from bug #400595, and a desire to keep memory usage low // by avoiding a complete loading of all dependent assemblies. string ns = type_name.Substring (0, type_name.LastIndexOf ('.')); string asm_name = ns.ToLower ().Replace ('.', '-') + "-sharp"; foreach (Assembly asm in assemblies) { foreach (AssemblyName ref_name in asm.GetReferencedAssemblies ()) { if (ref_name.Name != asm_name) continue; try { string asm_dir = Path.GetDirectoryName (asm.Location); Assembly ref_asm; if (File.Exists (Path.Combine (asm_dir, ref_name.Name + ".dll"))) ref_asm = Assembly.LoadFrom (Path.Combine (asm_dir, ref_name.Name + ".dll")); else ref_asm = Assembly.Load (ref_name); result = ref_asm.GetType (type_name); if (result != null) break; } catch (Exception) { /* Failure to load a referenced assembly is not an error */ } } if (result != null) break; } } Register (new GType (typeid), result); return result; } public IntPtr Val { get { return val; } } public override bool Equals (object o) { if (!(o is GType)) return false; return ((GType) o) == this; } public static bool operator == (GType a, GType b) { return a.Val == b.Val; } public static bool operator != (GType a, GType b) { return a.Val != b.Val; } public override int GetHashCode () { return val.GetHashCode (); } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_type_name (IntPtr raw); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_type_from_name (string name); public override string ToString () { return Marshaller.Utf8PtrToString (g_type_name (val)); } } } gtk-sharp-2.12.40/glib/Object.cs0000664000175000017500000004676412767740470013214 00000000000000// Object.cs - GObject class wrapper implementation // // Authors: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2004-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Reflection; using System.Runtime.InteropServices; using System.Text; public class Object : IWrapper, IDisposable { IntPtr handle; ToggleRef tref; bool disposed = false; bool owned = true; Hashtable data; static Dictionary Objects = new Dictionary(); static object lockObject = new object (); static List PendingDestroys = new List (); static bool idle_queued; ~Object () { lock (lockObject) { lock (Objects) { ToggleRef res; if (Objects.TryGetValue (handle, out res)) PendingDestroys.Add (res); Objects.Remove (Handle); } if (!idle_queued){ Timeout.Add (50, new TimeoutHandler (PerformQueuedUnrefs)); idle_queued = true; } } } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_object_unref (IntPtr raw); static bool PerformQueuedUnrefs () { List references; lock (lockObject) { references = PendingDestroys; PendingDestroys = new List (); idle_queued = false; } foreach (ToggleRef r in references) r.Free (); return false; } public virtual void Dispose () { if (disposed) return; disposed = true; ToggleRef toggle_ref; lock(Objects) { Objects.TryGetValue (Handle, out toggle_ref); Objects.Remove (Handle); } try { if (toggle_ref != null) toggle_ref.Free (); } catch (Exception e) { Console.WriteLine ("Exception while disposing a " + this + " in Gtk#"); throw e; } if (owned) g_object_unref (handle); handle = IntPtr.Zero; GC.SuppressFinalize (this); } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_object_ref (IntPtr raw); public static Object TryGetObject (IntPtr o) { if (o == IntPtr.Zero) return null; ToggleRef tr; lock(Objects) Objects.TryGetValue (o, out tr); if (tr != null && tr.IsAlive) { return tr.Target; } return null; } public static Object GetObject(IntPtr o, bool owned_ref) { if (o == IntPtr.Zero) return null; Object obj = null; ToggleRef toggle_ref = null; lock(Objects) Objects.TryGetValue (o, out toggle_ref); if (toggle_ref != null && toggle_ref.IsAlive) obj = toggle_ref.Target; if (obj != null && obj.Handle == o) return obj; obj = GLib.ObjectManager.CreateObject (o); if (obj == null) { g_object_unref (o); return null; } obj.owned = owned_ref; return obj; } public static Object GetObject(IntPtr o) { return GetObject (o, false); } private static void ConnectDefaultHandlers (GType gtype, System.Type t) { foreach (MethodInfo minfo in t.GetMethods(BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.DeclaredOnly)) { MethodInfo baseinfo = minfo.GetBaseDefinition (); if (baseinfo == minfo) continue; foreach (object attr in baseinfo.GetCustomAttributes (typeof (DefaultSignalHandlerAttribute), false)) { DefaultSignalHandlerAttribute sigattr = attr as DefaultSignalHandlerAttribute; MethodInfo connector = sigattr.Type.GetMethod (sigattr.ConnectionMethod, BindingFlags.Static | BindingFlags.NonPublic); object[] parms = new object [1]; parms [0] = gtype; connector.Invoke (null, parms); break; } } } private static void InvokeClassInitializers (GType gtype, System.Type t) { object[] parms = {gtype, t}; BindingFlags flags = BindingFlags.Static | BindingFlags.NonPublic; foreach (TypeInitializerAttribute tia in t.GetCustomAttributes (typeof (TypeInitializerAttribute), true)) { MethodInfo m = tia.Type.GetMethod (tia.MethodName, flags); if (m != null) m.Invoke (null, parms); } for (Type curr = t; curr != typeof(GLib.Object); curr = curr.BaseType) { if (curr.Assembly.IsDefined (typeof (IgnoreClassInitializersAttribute), false)) continue; foreach (MethodInfo minfo in curr.GetMethods(flags)) if (minfo.IsDefined (typeof (ClassInitializerAttribute), true)) minfo.Invoke (null, parms); } } // Key: The pointer to the ParamSpec of the property // Value: The corresponding PropertyInfo object static Hashtable properties; static Hashtable Properties { get { if (properties == null) properties = new Hashtable (); return properties; } } [DllImport ("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_override_property_handlers (IntPtr type, GetPropertyDelegate get_cb, SetPropertyDelegate set_cb); [DllImport ("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_register_property (IntPtr type, IntPtr name, IntPtr nick, IntPtr blurb, uint property_id, IntPtr property_type, bool can_read, bool can_write); static void AddProperties (GType gtype, System.Type t) { uint idx = 1; bool handlers_overridden = false; foreach (PropertyInfo pinfo in t.GetProperties (BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly)) { foreach (object attr in pinfo.GetCustomAttributes (typeof (PropertyAttribute), false)) { if(pinfo.GetIndexParameters().Length > 0) throw(new InvalidOperationException(String.Format("GLib.RegisterPropertyAttribute cannot be applied to property {0} of type {1} because the property expects one or more indexed parameters", pinfo.Name, t.FullName))); PropertyAttribute property_attr = attr as PropertyAttribute; if (!handlers_overridden) { gtksharp_override_property_handlers (gtype.Val, GetPropertyHandler, SetPropertyHandler); handlers_overridden = true; } IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (property_attr.Name); IntPtr native_nick = GLib.Marshaller.StringToPtrGStrdup (property_attr.Nickname); IntPtr native_blurb = GLib.Marshaller.StringToPtrGStrdup (property_attr.Blurb); IntPtr param_spec = gtksharp_register_property (gtype.Val, native_name, native_nick, native_blurb, idx, ((GType) pinfo.PropertyType).Val, pinfo.CanRead, pinfo.CanWrite); GLib.Marshaller.Free (native_name); GLib.Marshaller.Free (native_nick); GLib.Marshaller.Free (native_blurb); if (param_spec == IntPtr.Zero) // The GType of the property is not supported throw new InvalidOperationException (String.Format ("GLib.PropertyAttribute cannot be applied to property {0} of type {1} because the return type of the property is not supported", pinfo.Name, t.FullName)); Properties.Add (param_spec, pinfo); idx++; } } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void GetPropertyDelegate (IntPtr GObject, uint property_id, ref GLib.Value value, IntPtr pspec); static void GetPropertyCallback (IntPtr handle, uint property_id, ref GLib.Value value, IntPtr param_spec) { GLib.Object obj = GLib.Object.GetObject (handle, false); value.Val = (Properties [param_spec] as PropertyInfo).GetValue (obj, new object [0]); } static GetPropertyDelegate get_property_handler; static GetPropertyDelegate GetPropertyHandler { get { if (get_property_handler == null) get_property_handler = new GetPropertyDelegate (GetPropertyCallback); return get_property_handler; } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void SetPropertyDelegate (IntPtr GObject, uint property_id, ref GLib.Value value, IntPtr pspec); static void SetPropertyCallback(IntPtr handle, uint property_id, ref GLib.Value value, IntPtr param_spec) { GLib.Object obj = GLib.Object.GetObject (handle, false); (Properties [param_spec] as PropertyInfo).SetValue (obj, value.Val, new object [0]); } static SetPropertyDelegate set_property_handler; static SetPropertyDelegate SetPropertyHandler { get { if (set_property_handler == null) set_property_handler = new SetPropertyDelegate (SetPropertyCallback); return set_property_handler; } } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_type_add_interface_static (IntPtr gtype, IntPtr iface_type, ref GInterfaceInfo info); static void AddInterfaces (GType gtype, Type t) { foreach (Type iface in t.GetInterfaces ()) { if (!iface.IsDefined (typeof (GInterfaceAttribute), true) || iface.IsAssignableFrom (t.BaseType)) continue; GInterfaceAttribute attr = iface.GetCustomAttributes (typeof (GInterfaceAttribute), false) [0] as GInterfaceAttribute; GInterfaceAdapter adapter = Activator.CreateInstance (attr.AdapterType, null) as GInterfaceAdapter; GInterfaceInfo info = adapter.Info; g_type_add_interface_static (gtype.Val, adapter.GType.Val, ref info); } } [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_register_type (IntPtr name, IntPtr parent_type); static int type_uid; static string BuildEscapedName (System.Type t) { string qn = t.FullName; // Just a random guess StringBuilder sb = new StringBuilder (20 + qn.Length); sb.Append ("__gtksharp_"); sb.Append (type_uid++); sb.Append ("_"); foreach (char c in qn) { if ((c >= '0' && c <= '9') || (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')) sb.Append (c); else if (c == '.') sb.Append ('_'); else if ((uint) c <= byte.MaxValue) { sb.Append ('+'); sb.Append (((byte) c).ToString ("x2")); } else { sb.Append ('-'); sb.Append (((uint) c).ToString ("x4")); } } return sb.ToString (); } protected static GType RegisterGType (System.Type t) { GType parent_gtype = LookupGType (t.BaseType); string name = BuildEscapedName (t); IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name); GType gtype = new GType (gtksharp_register_type (native_name, parent_gtype.Val)); GLib.Marshaller.Free (native_name); GLib.GType.Register (gtype, t); AddProperties (gtype, t); ConnectDefaultHandlers (gtype, t); InvokeClassInitializers (gtype, t); AddInterfaces (gtype, t); g_types[t] = gtype; return gtype; } static Dictionary g_types = new Dictionary (); protected GType LookupGType () { return LookupGType (GetType ()); } protected internal static GType LookupGType (System.Type t) { GType res; if (g_types.TryGetValue (t, out res)) return res; GTypeTypeAttribute geattr; if ((geattr = (GTypeTypeAttribute)Attribute.GetCustomAttribute (t, typeof (GTypeTypeAttribute), false)) != null) { var val = geattr.Type; g_types [t] = val; return val; } PropertyInfo pi = t.GetProperty ("GType", BindingFlags.DeclaredOnly | BindingFlags.Static | BindingFlags.Public); if (pi != null) { var val = (GType)pi.GetValue (null, null); g_types [t] = val; return val; } return RegisterGType (t); } protected Object (IntPtr raw) { Raw = raw; } protected Object () { CreateNativeObject (new string [0], new GLib.Value [0]); } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_object_new (IntPtr gtype, IntPtr dummy); [Obsolete] protected Object (GType gtype) { Raw = g_object_new (gtype.Val, IntPtr.Zero); } [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_object_newv (IntPtr gtype, int n_params, IntPtr[] names, GLib.Value[] vals); protected virtual void CreateNativeObject (string[] names, GLib.Value[] vals) { CreateNativeObject (names, vals, names.Length); } protected void CreateNativeObject (string [] names, GLib.Value [] vals, int count) { IntPtr[] native_names = new IntPtr [count]; for (int i = 0; i < count; i++) native_names [i] = GLib.Marshaller.StringToPtrGStrdup (names [i]); CreateNativeObject (native_names, vals, count); } protected void CreateNativeObject (IntPtr [] native_names, GLib.Value [] vals, int count) { Raw = gtksharp_object_newv (LookupGType ().Val, count, native_names, vals); for (int i = 0; i < count; ++i) { GLib.Marshaller.Free (native_names [i]); vals [i].Dispose (); } } protected virtual IntPtr Raw { get { return handle; } set { if (handle == value) return; lock(Objects) { if (handle != IntPtr.Zero) { Objects.Remove (handle); if (tref != null) { tref.Free (); tref = null; } } handle = value; if (value != IntPtr.Zero) { tref = new ToggleRef (this); Objects [value] = tref; } } } } public static GLib.GType GType { get { return GType.Object; } } [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_get_type_name (IntPtr raw); protected string TypeName { get { return Marshaller.Utf8PtrToString (gtksharp_get_type_name (Raw)); } } internal GLib.GType NativeType { get { return LookupGType (); } } internal ToggleRef ToggleRef { get { return tref; } } public IntPtr Handle { get { return handle; } } public IntPtr OwnedHandle { get { return g_object_ref (handle); } } Hashtable before_signals; [Obsolete ("Replaced by GLib.Signal marshaling mechanism.")] protected internal Hashtable BeforeSignals { get { if (before_signals == null) before_signals = new Hashtable (); return before_signals; } } Hashtable after_signals; [Obsolete ("Replaced by GLib.Signal marshaling mechanism.")] protected internal Hashtable AfterSignals { get { if (after_signals == null) after_signals = new Hashtable (); return after_signals; } } EventHandlerList before_handlers; [Obsolete ("Replaced by GLib.Signal marshaling mechanism.")] protected EventHandlerList BeforeHandlers { get { if (before_handlers == null) before_handlers = new EventHandlerList (); return before_handlers; } } EventHandlerList after_handlers; [Obsolete ("Replaced by GLib.Signal marshaling mechanism.")] protected EventHandlerList AfterHandlers { get { if (after_handlers == null) after_handlers = new EventHandlerList (); return after_handlers; } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void NotifyDelegate (IntPtr handle, IntPtr pspec, IntPtr gch); void NotifyCallback (IntPtr handle, IntPtr pspec, IntPtr gch) { try { GLib.Signal sig = ((GCHandle) gch).Target as GLib.Signal; if (sig == null) throw new Exception("Unknown signal GC handle received " + gch); NotifyArgs args = new NotifyArgs (); args.Args = new object[1]; args.Args[0] = pspec; NotifyHandler handler = (NotifyHandler) sig.Handler; handler (GLib.Object.GetObject (handle), args); } catch (Exception e) { ExceptionManager.RaiseUnhandledException (e, false); } } void ConnectNotification (string signal, NotifyHandler handler) { Signal sig = Signal.Lookup (this, signal, new NotifyDelegate (NotifyCallback)); sig.AddDelegate (handler); } public void AddNotification (string property, NotifyHandler handler) { ConnectNotification ("notify::" + property, handler); } public void AddNotification (NotifyHandler handler) { ConnectNotification ("notify", handler); } void DisconnectNotification (string signal, NotifyHandler handler) { Signal sig = Signal.Lookup (this, signal, new NotifyDelegate (NotifyCallback)); sig.RemoveDelegate (handler); } public void RemoveNotification (string property, NotifyHandler handler) { DisconnectNotification ("notify::" + property, handler); } public void RemoveNotification (NotifyHandler handler) { DisconnectNotification ("notify", handler); } public override int GetHashCode () { return Handle.GetHashCode (); } public Hashtable Data { get { if (data == null) data = new Hashtable (); return data; } } Hashtable persistent_data; protected Hashtable PersistentData { get { if (persistent_data == null) persistent_data = new Hashtable (); return persistent_data; } } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_object_get_property (IntPtr obj, IntPtr name, ref GLib.Value val); protected GLib.Value GetProperty (string name) { IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name); Value val = new Value (this, native_name); g_object_get_property (Raw, native_name, ref val); GLib.Marshaller.Free (native_name); return val; } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_object_set_property (IntPtr obj, IntPtr name, ref GLib.Value val); protected void SetProperty (string name, GLib.Value val) { IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name); g_object_set_property (Raw, native_name, ref val); GLib.Marshaller.Free (native_name); } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_object_notify (IntPtr obj, IntPtr property_name); protected void Notify (string property_name) { IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (property_name); g_object_notify (Handle, native_name); GLib.Marshaller.Free (native_name); } [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void gtksharp_override_virtual_method (IntPtr gtype, IntPtr name, Delegate cb); protected static void OverrideVirtualMethod (GType gtype, string name, Delegate cb) { IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name); gtksharp_override_virtual_method (gtype.Val, native_name, cb); GLib.Marshaller.Free (native_name); } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] protected static extern void g_signal_chain_from_overridden (IntPtr args, ref GLib.Value retval); [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern bool gtksharp_is_object (IntPtr obj); internal static bool IsObject (IntPtr obj) { return gtksharp_is_object (obj); } [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_object_get_ref_count (IntPtr obj); protected int RefCount { get { return gtksharp_object_get_ref_count (Handle); } } internal void Harden () { tref.Harden (); } static Object () { if (Environment.GetEnvironmentVariable ("GTK_SHARP_DEBUG") != null) GLib.Log.SetLogHandler ("GLib-GObject", GLib.LogLevelFlags.All, new GLib.LogFunc (GLib.Log.PrintTraceLogFunction)); } } } gtk-sharp-2.12.40/glib/Boxed.cs0000664000175000017500000000250212767740470013025 00000000000000// GtkSharp.Boxed.cs - Base class for deriving marshallable structures. // // Author: Mike Kestner // // Copyright (c) 2001-2002 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; [Obsolete] public class Boxed { object obj; IntPtr raw; public Boxed (object o) { this.obj = o; } public Boxed (IntPtr ptr) { this.raw = ptr; } public virtual IntPtr Handle { get { return raw; } set { raw = value; } } public static explicit operator System.IntPtr (Boxed boxed) { return boxed.Handle; } public virtual object Obj { get { return obj; } set { obj = value; } } } } gtk-sharp-2.12.40/glib/ValueArray.cs0000664000175000017500000001316512767740470014046 00000000000000// ValueArray.cs - ValueArray wrapper implementation // // Authors: Mike Kestner // // Copyright (c) 2003 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; public class ValueArray : IDisposable, ICollection, ICloneable, IWrapper { private IntPtr handle = IntPtr.Zero; static private object lockObject = new object (); static private List PendingFrees = new List (8); static private bool idle_queued = false; [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_value_array_new (uint n_preallocs); public ValueArray (uint n_preallocs) { handle = g_value_array_new (n_preallocs); } internal ValueArray (IntPtr raw) { handle = raw; } ~ValueArray () { Dispose (false); } // IDisposable public void Dispose () { Dispose (true); GC.SuppressFinalize (this); } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_value_array_free (IntPtr raw); void Dispose (bool disposing) { if (Handle == IntPtr.Zero) return; lock (lockObject) { PendingFrees.Add (handle); if (! idle_queued) { Timeout.Add (50, new TimeoutHandler (PerformFrees)); idle_queued = true; } } handle = IntPtr.Zero; } static bool PerformFrees () { List handles; lock (lockObject) { idle_queued = false; handles = PendingFrees; PendingFrees = new List (8); } for (int i = 0; i < handles.Count; ++i) g_value_array_free (handles [i]); return false; } public IntPtr Handle { get { return handle; } } [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_value_array_get_array (IntPtr raw); public IntPtr ArrayPtr { get { return gtksharp_value_array_get_array (Handle); } } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_value_array_append (IntPtr raw, ref GLib.Value val); public void Append (GLib.Value val) { g_value_array_append (Handle, ref val); } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_value_array_insert (IntPtr raw, uint idx, ref GLib.Value val); public void Insert (uint idx, GLib.Value val) { g_value_array_insert (Handle, idx, ref val); } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_value_array_prepend (IntPtr raw, ref GLib.Value val); public void Prepend (GLib.Value val) { g_value_array_prepend (Handle, ref val); } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_value_array_remove (IntPtr raw, uint idx); public void Remove (uint idx) { g_value_array_remove (Handle, idx); } [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_value_array_get_count (IntPtr raw); // ICollection public int Count { get { return gtksharp_value_array_get_count (Handle); } } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_value_array_get_nth (IntPtr raw, uint idx); public object this [int index] { get { GLib.Value val = Value.Empty; Marshal.PtrToStructure (g_value_array_get_nth (Handle, (uint) index), val); return val; } } // Synchronization could be tricky here. Hmm. public bool IsSynchronized { get { return false; } } public object SyncRoot { get { return null; } } public void CopyTo (Array array, int index) { if (array == null) throw new ArgumentNullException ("Array can't be null."); if (index < 0) throw new ArgumentOutOfRangeException ("Index must be greater than 0."); if (index + Count < array.Length) throw new ArgumentException ("Array not large enough to copy into starting at index."); for (int i = 0; i < Count; i++) ((IList) array) [index + i] = this [i]; } private class ListEnumerator : IEnumerator { private int current = -1; private ValueArray vals; public ListEnumerator (ValueArray vals) { this.vals = vals; } public object Current { get { if (current == -1) return null; return vals [current]; } } public bool MoveNext () { if (++current >= vals.Count) { current = -1; return false; } return true; } public void Reset () { current = -1; } } // IEnumerable public IEnumerator GetEnumerator () { return new ListEnumerator (this); } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_value_array_copy (IntPtr raw); // ICloneable public object Clone () { return new ValueArray (g_value_array_copy (Handle)); } } } gtk-sharp-2.12.40/glib/Thread.cs0000664000175000017500000000314012767740470013172 00000000000000// Thread.cs - thread awareness // // Author: Alp Toker // // Copyright (c) 2002 Alp Toker // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; public class Thread { private Thread () {} #if DISABLE_GTHREAD_CHECK public static void Init () { // GLib automatically inits threads in 2.31 and above // http://developer.gnome.org/glib/unstable/glib-Deprecated-Thread-APIs.html#g-thread-init } public static bool Supported { get { return true; } } #else [DllImport("libgthread-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_thread_init (IntPtr i); public static void Init () { g_thread_init (IntPtr.Zero); } [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern bool glibsharp_g_thread_supported (); public static bool Supported { get { return glibsharp_g_thread_supported (); } } #endif } } gtk-sharp-2.12.40/glib/TypeFundamentals.cs0000664000175000017500000000252612767740470015255 00000000000000// GLib.TypeFundamentals.cs : Standard Types enumeration // // Author: Mike Kestner // // Copyright (c) 2001 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { public enum TypeFundamentals { TypeInvalid = 0 << 2, TypeNone = 1 << 2, TypeInterface = 2 << 2, TypeChar = 3 << 2, TypeUChar = 4 << 2, TypeBoolean = 5 << 2, TypeInt = 6 << 2, TypeUInt = 7 << 2, TypeLong = 8 << 2, TypeULong = 9 << 2, TypeInt64 = 10 << 2, TypeUInt64 = 11 << 2, TypeEnum = 12 << 2, TypeFlags = 13 << 2, TypeFloat = 14 << 2, TypeDouble = 15 << 2, TypeString = 16 << 2, TypePointer = 17 << 2, TypeBoxed = 18 << 2, TypeParam = 19 << 2, TypeObject = 20 << 2, } } gtk-sharp-2.12.40/glib/NotifyHandler.cs0000664000175000017500000000226512767740470014540 00000000000000// Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; public delegate void NotifyHandler (object o, NotifyArgs args); public class NotifyArgs : GLib.SignalArgs { [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_param_spec_get_name (IntPtr pspec); public string Property { get { IntPtr raw_ret = g_param_spec_get_name ((IntPtr) Args[0]); return Marshaller.Utf8PtrToString (raw_ret); } } } } gtk-sharp-2.12.40/glib/FileUtils.cs0000664000175000017500000000361112767740470013666 00000000000000// GLib.FileUtils.cs - GFileUtils class implementation // // Author: Martin Baulig // // Copyright (c) 2002 Ximian, Inc // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Text; using System.Runtime.InteropServices; public class FileUtils { [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] extern static bool g_file_get_contents (IntPtr filename, out IntPtr contents, out int length, out IntPtr error); [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] extern static bool g_file_get_contents_utf8 (IntPtr filename, out IntPtr contents, out int length, out IntPtr error); public static string GetFileContents (string filename) { int length; IntPtr contents, error; IntPtr native_filename = Marshaller.StringToPtrGStrdup (filename); if (Global.IsWindowsPlatform) { if (!g_file_get_contents_utf8 (native_filename, out contents, out length, out error)) throw new GException (error); } else { if (!g_file_get_contents (native_filename, out contents, out length, out error)) throw new GException (error); } Marshaller.Free (native_filename); return Marshaller.Utf8PtrToString (contents); } private FileUtils () {} } } gtk-sharp-2.12.40/glib/ObjectManager.cs0000664000175000017500000000552012767740470014470 00000000000000// GLib.ObjectManager.cs - GLib ObjectManager class implementation // // Author: Mike Kestner // // Copyright 2001-2002 Mike Kestner // Copyright 2004-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; using System.Reflection; public class ObjectManager { static BindingFlags flags = BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.CreateInstance; public static GLib.Object CreateObject (IntPtr raw) { if (raw == IntPtr.Zero) return null; Type type = GetTypeOrParent (raw); if (type == null) return null; GLib.Object obj; try { obj = Activator.CreateInstance (type, flags, null, new object[] {raw}, null) as GLib.Object; } catch (MissingMethodException) { throw new GLib.MissingIntPtrCtorException ("GLib.Object subclass " + type + " must provide a protected or public IntPtr ctor to support wrapping of native object handles."); } return obj; } [Obsolete ("Replaced by GType.Register (GType, Type)")] public static void RegisterType (string native_name, string managed_name, string assembly) { RegisterType (native_name, managed_name + "," + assembly); } [Obsolete ("Replaced by GType.Register (GType, Type)")] public static void RegisterType (string native_name, string mangled) { RegisterType (GType.FromName (native_name), Type.GetType (mangled)); } [Obsolete ("Replaced by GType.Register (GType, Type)")] public static void RegisterType (GType native_type, System.Type type) { GType.Register (native_type, type); } static Type GetTypeOrParent (IntPtr obj) { IntPtr typeid = gtksharp_get_type_id (obj); Type result = GType.LookupType (typeid); while (result == null) { typeid = g_type_parent (typeid); if (typeid == IntPtr.Zero) return null; result = GType.LookupType (typeid); } return result; } [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_get_type_id (IntPtr raw); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_type_parent (IntPtr typ); } } gtk-sharp-2.12.40/glib/TypeInitializerAttribute.cs0000664000175000017500000000240612654353766017003 00000000000000// TypeInitializerAttribute.cs // // Author: Mike Kestner // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; [AttributeUsage (AttributeTargets.Class)] public sealed class TypeInitializerAttribute : Attribute { string method_name; Type type; public TypeInitializerAttribute (Type type, string method_name) { this.type = type; this.method_name = method_name; } public string MethodName { get { return method_name; } set { method_name = value; } } public Type Type { get { return type; } set { type = value; } } } } gtk-sharp-2.12.40/glib/TypeConverter.cs0000664000175000017500000000207412767740470014601 00000000000000// GLib.TypeConverter.cs : Convert between fundamental and .NET types // // Author: Rachel Hestilow // // Copyright (c) 2002 Rachel Hestilow // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; public class TypeConverter { private TypeConverter () {} [Obsolete ("Replaced by explicit (GType) cast")] public static GType LookupType (System.Type type) { return (GType) type; } } } gtk-sharp-2.12.40/glib/SignalArgs.cs0000664000175000017500000000264712767740470014030 00000000000000// GLib.SignalArgs.cs - Signal argument class implementation // // Author: Mike Kestner // // Copyright (c) 2001 Mike Kestner // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; public class SignalArgs : EventArgs { private object _ret; private object[] _args; public SignalArgs() { _ret = null; _args = null; } public SignalArgs(object retval) { _ret = retval; _args = null; } public SignalArgs(object retval, object[] args) { _ret = retval; _args = args; } public object[] Args { get { return _args; } set { _args = value; } } public object RetVal { get { return _ret; } set { _ret = value; } } } } gtk-sharp-2.12.40/glib/Argv.cs0000664000175000017500000000450012767740470012663 00000000000000// GLib.Argv.cs : Argv marshaling class // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; public class Argv { IntPtr[] arg_ptrs; IntPtr handle; bool add_progname = false; [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_malloc(IntPtr size); [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_free (IntPtr mem); ~Argv () { foreach (IntPtr arg in arg_ptrs) g_free (arg); g_free (handle); } public Argv (string[] args) : this (args, false) {} public Argv (string[] args, bool add_program_name) { add_progname = add_program_name; if (add_progname) { string[] full = new string [args.Length + 1]; full [0] = System.Environment.GetCommandLineArgs ()[0]; args.CopyTo (full, 1); args = full; } arg_ptrs = new IntPtr [args.Length]; for (int i = 0; i < args.Length; i++) arg_ptrs [i] = Marshaller.StringToPtrGStrdup (args[i]); handle = g_malloc (new IntPtr (IntPtr.Size * args.Length)); for (int i = 0; i < args.Length; i++) Marshal.WriteIntPtr (handle, i * IntPtr.Size, arg_ptrs [i]); } public IntPtr Handle { get { return handle; } } public string[] GetArgs (int argc) { int count = add_progname ? argc - 1 : argc; int idx = add_progname ? 1 : 0; string[] result = new string [count]; for (int i = 0; i < count; i++, idx++) result [i] = Marshaller.Utf8PtrToString (Marshal.ReadIntPtr (handle, idx * IntPtr.Size)); return result; } } } gtk-sharp-2.12.40/glib/GInterfaceAttribute.cs0000664000175000017500000000213312654353766015662 00000000000000// GInterfaceAttribute.cs // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; [AttributeUsage (AttributeTargets.Interface)] public sealed class GInterfaceAttribute : Attribute { Type adapter_type; public GInterfaceAttribute (Type adapter_type) { this.adapter_type = adapter_type; } public Type AdapterType { get { return adapter_type; } set { adapter_type = value; } } } } gtk-sharp-2.12.40/glib/ToggleRef.cs0000664000175000017500000001077512767740470013655 00000000000000// GLib.ToggleRef.cs - GLib ToggleRef class implementation // // Author: Mike Kestner // // Copyright 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.Runtime.InteropServices; internal class ToggleRef { bool hardened; IntPtr handle; object reference; GCHandle gch; Hashtable signals; public ToggleRef (GLib.Object target) { handle = target.Handle; gch = GCHandle.Alloc (this); reference = target; g_object_add_toggle_ref (target.Handle, ToggleNotifyCallback, (IntPtr) gch); } public bool IsAlive { get { if (reference is WeakReference) { WeakReference weak = reference as WeakReference; return weak.IsAlive; } else if (reference == null) return false; return true; } } public IntPtr Handle { get { return handle; } } public Hashtable Signals { get { if (signals == null) signals = new Hashtable (); return signals; } } public GLib.Object Target { get { if (reference == null) return null; else if (reference is GLib.Object) return reference as GLib.Object; WeakReference weak = reference as WeakReference; return weak.Target as GLib.Object; } } public void Free () { Signal[] signals = new Signal [Signals.Count]; Signals.Values.CopyTo (signals, 0); foreach (Signal s in signals) s.Free (); if (hardened) g_object_unref (handle); else g_object_remove_toggle_ref (handle, ToggleNotifyCallback, (IntPtr) gch); reference = null; gch.Free (); } internal void Harden () { // Added for the benefit of GnomeProgram. It releases a final ref in // an atexit handler which causes toggle ref notifications to occur after // our delegates are gone, so we need a mechanism to override the // notifications. This method effectively leaks all objects which invoke it, // but since it is only used by Gnome.Program, which is a singleton object // with program duration persistence, who cares. g_object_ref (handle); g_object_remove_toggle_ref (handle, ToggleNotifyCallback, (IntPtr) gch); if (reference is WeakReference) reference = (reference as WeakReference).Target; hardened = true; } void Toggle (bool is_last_ref) { if (is_last_ref && reference is GLib.Object) reference = new WeakReference (reference); else if (!is_last_ref && reference is WeakReference) { WeakReference weak = reference as WeakReference; if (weak.IsAlive) reference = weak.Target; } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void ToggleNotifyHandler (IntPtr data, IntPtr handle, bool is_last_ref); static void RefToggled (IntPtr data, IntPtr handle, bool is_last_ref) { try { GCHandle gch = (GCHandle) data; ToggleRef tref = gch.Target as ToggleRef; tref.Toggle (is_last_ref); } catch (Exception e) { ExceptionManager.RaiseUnhandledException (e, false); } } static ToggleNotifyHandler toggle_notify_callback; static ToggleNotifyHandler ToggleNotifyCallback { get { if (toggle_notify_callback == null) toggle_notify_callback = new ToggleNotifyHandler (RefToggled); return toggle_notify_callback; } } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_object_add_toggle_ref (IntPtr raw, ToggleNotifyHandler notify_cb, IntPtr data); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_object_remove_toggle_ref (IntPtr raw, ToggleNotifyHandler notify_cb, IntPtr data); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_object_ref (IntPtr raw); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_object_unref (IntPtr raw); } } gtk-sharp-2.12.40/glib/DefaultSignalHandlerAttribute.cs0000664000175000017500000000230612654353766017675 00000000000000// DefaultSignalHandlerAttribute.cs // // Author: Mike Kestner // // Copyright (c) 2003 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; public sealed class DefaultSignalHandlerAttribute : Attribute { private string method; private System.Type type; public DefaultSignalHandlerAttribute () {} public string ConnectionMethod { get { return method; } set { method = value; } } public System.Type Type { get { return type; } set { type = value; } } } } gtk-sharp-2.12.40/glib/Signal.cs0000664000175000017500000003126612767740470013212 00000000000000// GLib.Signal.cs - signal marshaling class // // Authors: Mike Kestner // Andrés G. Aragoneses // // Copyright (c) 2005,2008 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.Runtime.InteropServices; [Flags] public enum ConnectFlags { After = 1 << 0, Swapped = 1 << 1, } public class Signal { [Flags] public enum Flags { RunFirst = 1 << 0, RunLast = 1 << 1, RunCleanup = 1 << 2, NoRecurse = 1 << 3, Detailed = 1 << 4, Action = 1 << 5, NoHooks = 1 << 6 } [StructLayout (LayoutKind.Sequential)] public struct InvocationHint { public uint signal_id; public uint detail; public Flags run_type; } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] public delegate bool EmissionHookNative (ref InvocationHint hint, uint n_pvals, IntPtr pvals, IntPtr data); public delegate bool EmissionHook (InvocationHint ihint, object[] inst_and_param_values); public class EmissionHookMarshaler { EmissionHook handler; EmissionHookNative cb; IntPtr user_data; GCHandle gch; public EmissionHookMarshaler (EmissionHook handler) { this.handler = handler; cb = new EmissionHookNative (NativeCallback); gch = GCHandle.Alloc (this); } public EmissionHookMarshaler (EmissionHookNative callback, IntPtr user_data) { cb = callback; this.user_data = user_data; handler = new EmissionHook (NativeInvoker); } bool NativeCallback (ref InvocationHint hint, uint n_pvals, IntPtr pvals_ptr, IntPtr data) { object[] pvals = new object [n_pvals]; int valueSize = Marshal.SizeOf (typeof (Value)); for (int i = 0; i < n_pvals; i++) { IntPtr p = new IntPtr ((long) pvals_ptr + i * valueSize); Value v = (Value) Marshal.PtrToStructure (p, typeof (Value)); pvals [i] = v.Val; } bool result = handler (hint, pvals); if (!result) gch.Free (); return result; } public EmissionHookNative Callback { get { return cb; } } bool NativeInvoker (InvocationHint ihint, object[] pvals) { int val_sz = Marshal.SizeOf (typeof (Value)); IntPtr buf = Marshal.AllocHGlobal (pvals.Length * val_sz); Value[] vals = new Value [pvals.Length]; for (int i = 0; i < pvals.Length; i++) { vals [i] = new Value (pvals [i]); IntPtr p = new IntPtr ((long) buf + i * val_sz); Marshal.StructureToPtr (vals [i], p, false); } bool result = cb (ref ihint, (uint) pvals.Length, buf, user_data); foreach (Value v in vals) v.Dispose (); Marshal.FreeHGlobal (buf); return result; } public EmissionHook Invoker { get { return handler; } } } ToggleRef tref; string name; Type args_type; SignalClosure before_closure; SignalClosure after_closure; Delegate marshaler; private Signal (GLib.Object obj, string signal_name, Delegate marshaler) { tref = obj.ToggleRef; name = signal_name; tref.Signals [name] = this; this.marshaler = marshaler; } private Signal (GLib.Object obj, string signal_name, Type args_type) { tref = obj.ToggleRef; name = signal_name; this.args_type = args_type; tref.Signals [name] = this; } internal void Free () { if (before_closure != null) before_closure.Dispose (); if (after_closure != null) after_closure.Dispose (); GC.SuppressFinalize (this); } void ClosureDisposedCB (object o, EventArgs args) { if (o == before_closure) { before_closure.Disposed -= ClosureDisposedHandler; before_closure.Invoked -= ClosureInvokedHandler; if (tref.Target != null) tref.Target.BeforeSignals.Remove (name); before_closure = null; } else if (o == after_closure) { after_closure.Disposed -= ClosureDisposedHandler; after_closure.Invoked -= ClosureInvokedHandler; if (tref.Target != null) tref.Target.AfterSignals.Remove (name); after_closure = null; } if (before_closure == null && after_closure == null) tref.Signals.Remove (name); } EventHandler closure_disposed_cb; EventHandler ClosureDisposedHandler { get { if (closure_disposed_cb == null) closure_disposed_cb = new EventHandler (ClosureDisposedCB); return closure_disposed_cb; } } static void ClosureInvokedCB (object o, ClosureInvokedArgs args) { var closure = (SignalClosure)o; Delegate handler; if (closure.before_closure) handler = args.Target.BeforeSignals [closure.name] as Delegate; else handler = args.Target.AfterSignals [closure.name] as Delegate; if (handler != null) handler.DynamicInvoke (new object[] {args.Target, args.Args}); } static ClosureInvokedHandler closure_invoked_cb; static ClosureInvokedHandler ClosureInvokedHandler { get { if (closure_invoked_cb == null) closure_invoked_cb = new ClosureInvokedHandler (ClosureInvokedCB); return closure_invoked_cb; } } public static Signal Lookup (GLib.Object obj, string name) { return Lookup (obj, name, typeof (EventArgs)); } public static Signal Lookup (GLib.Object obj, string name, Delegate marshaler) { Signal result = obj.ToggleRef.Signals [name] as Signal; if (result == null) result = new Signal (obj, name, marshaler); return result; } public static Signal Lookup (GLib.Object obj, string name, Type args_type) { Signal result = obj.ToggleRef.Signals [name] as Signal; if (result == null) result = new Signal (obj, name, args_type); return result; } public Delegate Handler { get { InvocationHint hint = (InvocationHint) Marshal.PtrToStructure (g_signal_get_invocation_hint (tref.Handle), typeof (InvocationHint)); if (hint.run_type == Flags.RunFirst) return tref.Target.BeforeSignals [name] as Delegate; else return tref.Target.AfterSignals [name] as Delegate; } } public void AddDelegate (Delegate d) { if (args_type == null) args_type = d.Method.GetParameters ()[1].ParameterType; if (d.Method.IsDefined (typeof (ConnectBeforeAttribute), false)) { tref.Target.BeforeSignals [name] = Delegate.Combine (tref.Target.BeforeSignals [name] as Delegate, d); if (before_closure == null) { if (marshaler == null) before_closure = new SignalClosure (tref.Handle, name, args_type, before_closure: true); else before_closure = new SignalClosure (tref.Handle, name, marshaler, this, before_closure: true); before_closure.Disposed += ClosureDisposedHandler; before_closure.Invoked += ClosureInvokedHandler; before_closure.Connect (false); } } else { tref.Target.AfterSignals [name] = Delegate.Combine (tref.Target.AfterSignals [name] as Delegate, d); if (after_closure == null) { if (marshaler == null) after_closure = new SignalClosure (tref.Handle, name, args_type, before_closure: false); else after_closure = new SignalClosure (tref.Handle, name, marshaler, this, before_closure: false); after_closure.Disposed += ClosureDisposedHandler; after_closure.Invoked += ClosureInvokedHandler; after_closure.Connect (true); } } } public void RemoveDelegate (Delegate d) { if (tref.Target == null) return; if (d.Method.IsDefined (typeof (ConnectBeforeAttribute), false)) { tref.Target.BeforeSignals [name] = Delegate.Remove (tref.Target.BeforeSignals [name] as Delegate, d); if (tref.Target.BeforeSignals [name] == null && before_closure != null) { before_closure.Dispose (); before_closure = null; } } else { tref.Target.AfterSignals [name] = Delegate.Remove (tref.Target.AfterSignals [name] as Delegate, d); if (tref.Target.AfterSignals [name] == null && after_closure != null) { after_closure.Dispose (); after_closure = null; } } } // format: children-changed::add private static void ParseSignalDetail (string signal_detail, out string signal_name, out uint gquark) { //can't use String.Split because it doesn't accept a string arg (only char) in the 1.x profile int link_pos = signal_detail.IndexOf ("::"); if (link_pos < 0) { gquark = 0; signal_name = signal_detail; } else if (link_pos == 0) { throw new FormatException ("Invalid detailed signal: " + signal_detail); } else { signal_name = signal_detail.Substring (0, link_pos); gquark = GetGQuarkFromString (signal_detail.Substring (link_pos + 2)); } } public static object Emit (GLib.Object instance, string detailed_signal, params object[] args) { uint gquark, signal_id; string signal_name; ParseSignalDetail (detailed_signal, out signal_name, out gquark); signal_id = GetSignalId (signal_name, instance); if (signal_id <= 0) throw new ArgumentException ("Invalid signal name: " + signal_name); GLib.Value[] vals = new GLib.Value [args.Length + 1]; GLib.ValueArray inst_and_params = new GLib.ValueArray ((uint) args.Length + 1); vals [0] = new GLib.Value (instance); inst_and_params.Append (vals [0]); for (int i = 1; i < vals.Length; i++) { vals [i] = new GLib.Value (args [i - 1]); inst_and_params.Append (vals [i]); } object ret_obj = null; if (glibsharp_signal_get_return_type (signal_id) != GType.None.Val) { GLib.Value ret = GLib.Value.Empty; g_signal_emitv (inst_and_params.ArrayPtr, signal_id, gquark, ref ret); ret_obj = ret.Val; ret.Dispose (); } else g_signal_emitv (inst_and_params.ArrayPtr, signal_id, gquark, IntPtr.Zero); foreach (GLib.Value val in vals) val.Dispose (); return ret_obj; } private static uint GetGQuarkFromString (string str) { IntPtr native_string = GLib.Marshaller.StringToPtrGStrdup (str); uint ret = g_quark_from_string (native_string); GLib.Marshaller.Free (native_string); return ret; } private static uint GetSignalId (string signal_name, GLib.Object obj) { IntPtr typeid = gtksharp_get_type_id (obj.Handle); return GetSignalId (signal_name, typeid); } private static uint GetSignalId (string signal_name, IntPtr typeid) { IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (signal_name); uint signal_id = g_signal_lookup (native_name, typeid); GLib.Marshaller.Free (native_name); return signal_id; } public static ulong AddEmissionHook (string detailed_signal, GLib.GType type, EmissionHook handler_func) { uint gquark; string signal_name; ParseSignalDetail (detailed_signal, out signal_name, out gquark); uint signal_id = GetSignalId (signal_name, type.Val); if (signal_id <= 0) throw new Exception ("Invalid signal name: " + signal_name); return g_signal_add_emission_hook (signal_id, gquark, new EmissionHookMarshaler (handler_func).Callback, IntPtr.Zero, IntPtr.Zero); } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_signal_get_invocation_hint (IntPtr instance); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_signal_emitv (IntPtr instance_and_params, uint signal_id, uint gquark_detail, ref GLib.Value return_value); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_signal_emitv (IntPtr instance_and_params, uint signal_id, uint gquark_detail, IntPtr return_value); [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr glibsharp_signal_get_return_type (uint signal_id); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern uint g_signal_lookup (IntPtr name, IntPtr itype); //better not to expose g_quark_from_static_string () due to memory allocation issues [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern uint g_quark_from_string (IntPtr str); [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_get_type_id (IntPtr raw); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern ulong g_signal_add_emission_hook (uint signal_id, uint gquark_detail, EmissionHookNative hook_func, IntPtr hook_data, IntPtr data_destroy); } } gtk-sharp-2.12.40/glib/glib-api.xml0000664000175000017500000000130212767740470013640 00000000000000 gtk-sharp-2.12.40/glib/ManagedValue.cs0000664000175000017500000000660612767740470014326 00000000000000// GLib.ManagedValue.cs : Managed types boxer // // Author: Rachel Hestilow // // Copyright (c) 2002 Rachel Hestilow // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.Runtime.InteropServices; using GLib; internal class ManagedValue { GCHandle gch; object instance; int ref_count = 1; private ManagedValue (object instance) { this.instance = instance; gch = GCHandle.Alloc (this); } IntPtr Handle { get { return (IntPtr) gch; } } object Instance { get { return instance; } } void Ref () { ref_count++; } void Unref () { if (--ref_count == 0) { instance = null; gch.Free (); } } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate IntPtr CopyFunc (IntPtr gch); [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void FreeFunc (IntPtr gch); static CopyFunc copy; static FreeFunc free; static GType boxed_type = GType.Invalid; [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_boxed_type_register_static (IntPtr typename, CopyFunc copy_func, FreeFunc free_func); public static GType GType { get { if (boxed_type == GType.Invalid) { copy = new CopyFunc (Copy); free = new FreeFunc (Free); IntPtr name = Marshaller.StringToPtrGStrdup ("GtkSharpValue"); boxed_type = new GLib.GType (g_boxed_type_register_static (name, copy, free)); Marshaller.Free (name); } return boxed_type; } } static ManagedValue FromHandle (IntPtr ptr) { GCHandle gch = (GCHandle) ptr; ManagedValue val = gch.Target as ManagedValue; if (val == null) throw new Exception ("Unexpected GCHandle received."); return val; } static IntPtr Copy (IntPtr ptr) { try { if (ptr == IntPtr.Zero) return ptr; ManagedValue val = FromHandle (ptr); val.Ref (); return ptr; } catch (Exception e) { ExceptionManager.RaiseUnhandledException (e, false); } return IntPtr.Zero; } static void Free (IntPtr ptr) { try { if (ptr == IntPtr.Zero) return; ManagedValue val = FromHandle (ptr); val.Unref (); } catch (Exception e) { ExceptionManager.RaiseUnhandledException (e, false); } } public static IntPtr WrapObject (object obj) { if (obj == null) return IntPtr.Zero; return new ManagedValue (obj).Handle; } public static object ObjectForWrapper (IntPtr ptr) { if (ptr == IntPtr.Zero) return null; ManagedValue val = FromHandle (ptr); return val == null ? null : val.Instance; } public static void ReleaseWrapper (IntPtr ptr) { if (ptr == IntPtr.Zero) return; ManagedValue val = FromHandle (ptr); val.Unref (); } } } gtk-sharp-2.12.40/glib/PtrArray.cs0000664000175000017500000001671412767740470013542 00000000000000// PtrArray.cs - PtrArray wrapper implementation // // Authors: Mike Gorse // // Copyright (c) 2008 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.Runtime.InteropServices; public class PtrArray : IDisposable, ICollection, ICloneable, IWrapper { private IntPtr handle = IntPtr.Zero; private bool managed = false; internal bool elements_owned = false; protected System.Type element_type = null; private ListElementFree free_func; [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_ptr_array_sized_new (uint n_preallocs); public PtrArray (uint n_preallocs, System.Type element_type, bool owned, bool elements_owned) { handle = g_ptr_array_sized_new (n_preallocs); this.element_type = element_type; managed = owned; this.elements_owned = elements_owned; } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_ptr_array_new (); public PtrArray (System.Type element_type, bool owned, bool elements_owned) { handle = g_ptr_array_new (); this.element_type = element_type; managed = owned; this.elements_owned = elements_owned; } internal PtrArray (IntPtr raw, System.Type element_type, bool owned, bool elements_owned, ListElementFree free_func) { handle = raw; this.element_type = element_type; managed = owned; this.elements_owned = elements_owned; this.free_func = free_func; } internal PtrArray (IntPtr raw, System.Type element_type, bool owned, bool elements_owned) : this(raw, element_type, owned, elements_owned, g_free) { } public PtrArray (IntPtr raw, System.Type element_type) : this (raw, element_type, false, false) {} public PtrArray (IntPtr raw) : this (raw, null) {} ~PtrArray () { Dispose (false); } // IDisposable public void Dispose () { Dispose (true); GC.SuppressFinalize (this); } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_ptr_array_free (IntPtr raw, bool free_seg); [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void g_object_unref (IntPtr item); [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void g_free (IntPtr item); void Dispose (bool disposing) { if (Handle == IntPtr.Zero) return; if (elements_owned) { int count = Count; for (uint i = 0; i < count; i++) if (typeof (GLib.Object).IsAssignableFrom (element_type)) g_object_unref (NthData (i)); else if (typeof (GLib.Opaque).IsAssignableFrom (element_type)) GLib.Opaque.GetOpaque (NthData (i), element_type, true).Dispose (); else free_func (NthData (i)); } if (managed) g_ptr_array_free (Handle, true); handle = IntPtr.Zero; } public IntPtr Handle { get { return handle; } } [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_ptr_array_get_array (IntPtr raw); public IntPtr ArrayPtr { get { return gtksharp_ptr_array_get_array (Handle); } } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_ptr_array_add (IntPtr raw, IntPtr val); public void Add (IntPtr val) { g_ptr_array_add (Handle, val); } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_ptr_array_remove (IntPtr raw, IntPtr data); public void Remove (IntPtr data) { g_ptr_array_remove (Handle, data); } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_ptr_array_remove_range (IntPtr raw, uint index, uint length); public void RemoveRange (IntPtr data, uint index, uint length) { g_ptr_array_remove_range (Handle, index, length); } [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int gtksharp_ptr_array_get_count (IntPtr raw); // ICollection public int Count { get { return gtksharp_ptr_array_get_count (Handle); } } [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_ptr_array_get_nth (IntPtr raw, uint idx); public object this [int index] { get { IntPtr data = NthData ((uint) index); object ret = null; ret = DataMarshal (data); return ret; } } internal object DataMarshal (IntPtr data) { object ret = null; if (element_type != null) { if (element_type == typeof (string)) ret = Marshaller.Utf8PtrToString (data); else if (element_type == typeof (IntPtr)) ret = data; else if (element_type.IsSubclassOf (typeof (GLib.Object))) ret = GLib.Object.GetObject (data, false); else if (element_type.IsSubclassOf (typeof (GLib.Opaque))) ret = GLib.Opaque.GetOpaque (data, element_type, elements_owned); else if (element_type == typeof (int)) ret = (int) data; else if (element_type.IsValueType) ret = Marshal.PtrToStructure (data, element_type); else ret = Activator.CreateInstance (element_type, new object[] {data}); } else if (Object.IsObject (data)) ret = GLib.Object.GetObject (data, false); return ret; } internal IntPtr NthData (uint index) { return gtksharp_ptr_array_get_nth (Handle, index);; } // Synchronization could be tricky here. Hmm. public bool IsSynchronized { get { return false; } } public object SyncRoot { get { return null; } } public void CopyTo (Array array, int index) { if (array == null) throw new ArgumentNullException ("Array can't be null."); if (index < 0) throw new ArgumentOutOfRangeException ("Index must be greater than 0."); if (index + Count < array.Length) throw new ArgumentException ("Array not large enough to copy into starting at index."); for (int i = 0; i < Count; i++) ((IList) array) [index + i] = this [i]; } private class ListEnumerator : IEnumerator { private int current = -1; private PtrArray vals; public ListEnumerator (PtrArray vals) { this.vals = vals; } public object Current { get { if (current == -1) return null; return vals [current]; } } public bool MoveNext () { if (++current >= vals.Count) { current = -1; return false; } return true; } public void Reset () { current = -1; } } // IEnumerable public IEnumerator GetEnumerator () { return new ListEnumerator (this); } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_ptr_array_copy (IntPtr raw); // ICloneable public object Clone () { return new PtrArray (g_ptr_array_copy (Handle), element_type, false, false); } } } gtk-sharp-2.12.40/glib/Marshaller.cs0000664000175000017500000003350412767740470014064 00000000000000// GLibSharp.Marshaller.cs : Marshalling utils // // Author: Rachel Hestilow // Mike Kestner // // Copyright (c) 2002, 2003 Rachel Hestilow // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; public class Marshaller { private Marshaller () {} [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_free (IntPtr mem); public static void Free (IntPtr ptr) { g_free (ptr); } public static void Free (IntPtr[] ptrs) { if (ptrs == null) return; for (int i = 0; i < ptrs.Length; i++) g_free (ptrs [i]); } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_filename_to_utf8 (IntPtr mem, int len, IntPtr read, out IntPtr written, out IntPtr error); [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_filename_to_utf8_utf8 (IntPtr mem, int len, IntPtr read, out IntPtr written, out IntPtr error); public static string FilenamePtrToString (IntPtr ptr) { if (ptr == IntPtr.Zero) return null; IntPtr dummy, error; IntPtr utf8; if (Global.IsWindowsPlatform) utf8 = g_filename_to_utf8_utf8 (ptr, -1, IntPtr.Zero, out dummy, out error); else utf8 = g_filename_to_utf8 (ptr, -1, IntPtr.Zero, out dummy, out error); if (error != IntPtr.Zero) throw new GLib.GException (error); return Utf8PtrToString (utf8); } public static string FilenamePtrToStringGFree (IntPtr ptr) { string ret = FilenamePtrToString (ptr); g_free (ptr); return ret; } #if HAVE_NET_4_6 static bool hasFastGetStringOverload = typeof (System.Text.Encoding).GetMethod ("GetString", new [] { typeof (byte*), typeof (int) }) != null; static string Utf8PtrToStringFast (IntPtr ptr, int len) { unsafe { var p = (byte*)ptr; return System.Text.Encoding.UTF8.GetString (p, len); } } #endif [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern UIntPtr glibsharp_strlen (IntPtr mem); public static string Utf8PtrToString (IntPtr ptr) { if (ptr == IntPtr.Zero) return null; int len = (int) (uint)glibsharp_strlen (ptr); #if HAVE_NET_4_6 if (hasFastGetStringOverload) return Utf8PtrToStringFast (ptr, len); #endif byte [] bytes = new byte [len]; Marshal.Copy (ptr, bytes, 0, len); return System.Text.Encoding.UTF8.GetString (bytes); } public static string[] Utf8PtrToString (IntPtr[] ptrs) { // The last pointer is a null terminator. string[] ret = new string[ptrs.Length - 1]; for (int i = 0; i < ret.Length; i++) ret[i] = Utf8PtrToString (ptrs[i]); return ret; } public static string PtrToStringGFree (IntPtr ptr) { string ret = Utf8PtrToString (ptr); g_free (ptr); return ret; } public static string[] PtrToStringGFree (IntPtr[] ptrs) { // The last pointer is a null terminator. string[] ret = new string[ptrs.Length - 1]; for (int i = 0; i < ret.Length; i++) { ret[i] = Utf8PtrToString (ptrs[i]); g_free (ptrs[i]); } return ret; } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_filename_from_utf8 (IntPtr mem, int len, IntPtr read, out IntPtr written, out IntPtr error); [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_filename_from_utf8_utf8 (IntPtr mem, int len, IntPtr read, out IntPtr written, out IntPtr error); public static IntPtr StringToFilenamePtr (string str) { if (str == null) return IntPtr.Zero; IntPtr dummy, error; IntPtr utf8 = StringToPtrGStrdup (str); IntPtr result; if (Global.IsWindowsPlatform) result = g_filename_from_utf8_utf8 (utf8, -1, IntPtr.Zero, out dummy, out error); else result = g_filename_from_utf8 (utf8, -1, IntPtr.Zero, out dummy, out error); g_free (utf8); if (error != IntPtr.Zero) throw new GException (error); return result; } public static IntPtr StringToPtrGStrdup (string str) { if (str == null) return IntPtr.Zero; int len = System.Text.Encoding.UTF8.GetByteCount (str); IntPtr result = g_malloc (new UIntPtr ((uint)len + 1)); unsafe { fixed (char* p = str) { System.Text.Encoding.UTF8.GetBytes (p, str.Length, (byte*)result, len); } } Marshal.WriteByte (result, len, 0); return result; } public static string StringFormat (string format, params object[] args) { string ret = String.Format (format, args); if (ret.IndexOf ('%') == -1) return ret; else return ret.Replace ("%", "%%"); } public static IntPtr[] StringArrayToNullTermPointer (string[] strs) { if (strs == null) return null; IntPtr[] result = new IntPtr [strs.Length + 1]; for (int i = 0; i < strs.Length; i++) result [i] = StringToPtrGStrdup (strs [i]); result [strs.Length] = IntPtr.Zero; return result; } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_strfreev (IntPtr mem); public static void StrFreeV (IntPtr null_term_array) { g_strfreev (null_term_array); } public static string[] NullTermPtrToStringArray (IntPtr null_term_array, bool owned) { if (null_term_array == IntPtr.Zero) return new string [0]; int count = 0; var result = new System.Collections.Generic.List (); IntPtr s = Marshal.ReadIntPtr (null_term_array, count++ * IntPtr.Size); while (s != IntPtr.Zero) { result.Add (Utf8PtrToString (s)); s = Marshal.ReadIntPtr (null_term_array, count++ * IntPtr.Size); } if (owned) g_strfreev (null_term_array); return result.ToArray (); } public static string[] PtrToStringArrayGFree (IntPtr string_array) { if (string_array == IntPtr.Zero) return new string [0]; int count = 0; while (Marshal.ReadIntPtr (string_array, count*IntPtr.Size) != IntPtr.Zero) ++count; string[] members = new string[count]; for (int i = 0; i < count; ++i) { IntPtr s = Marshal.ReadIntPtr (string_array, i * IntPtr.Size); members[i] = GLib.Marshaller.PtrToStringGFree (s); } GLib.Marshaller.Free (string_array); return members; } // Argv marshalling -- unpleasantly complex, but // don't know of a better way to do it. // // Currently, the 64-bit cleanliness is // hypothetical. It's also ugly, but I don't know of a // construct to handle both 32 and 64 bitness // transparently, since we need to alloc buffers of // [native pointer size] * [count] bytes. [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_malloc(UIntPtr size); public static IntPtr Malloc (ulong size) { return g_malloc (new UIntPtr (size)); } static bool check_sixtyfour () { int szint = sizeof (int); int szlong = sizeof (long); int szptr = IntPtr.Size; if (szptr == szint) return false; if (szptr == szlong) return true; throw new Exception ("Pointers are neither int- nor long-sized???"); } static IntPtr make_buf_32 (string[] args) { int[] ptrs = new int[args.Length]; for (int i = 0; i < args.Length; i++) ptrs[i] = (int) Marshal.StringToHGlobalAuto (args[i]); IntPtr buf = g_malloc (new UIntPtr ((ulong) sizeof (int) * (ulong) args.Length)); Marshal.Copy (ptrs, 0, buf, ptrs.Length); return buf; } static IntPtr make_buf_64 (string[] args) { long[] ptrs = new long[args.Length]; for (int i = 0; i < args.Length; i++) ptrs[i] = (long) Marshal.StringToHGlobalAuto (args[i]); IntPtr buf = g_malloc (new UIntPtr ((ulong) sizeof (long) * (ulong) args.Length)); Marshal.Copy (ptrs, 0, buf, ptrs.Length); return buf; } [Obsolete ("Use GLib.Argv instead to avoid leaks.")] public static IntPtr ArgvToArrayPtr (string[] args) { if (args.Length == 0) return IntPtr.Zero; if (check_sixtyfour ()) return make_buf_64 (args); return make_buf_32 (args); } // should we be freeing these pointers? they're marshalled // from our own strings, so I think not ... static string[] unmarshal_32 (IntPtr buf, int argc) { int[] ptrs = new int[argc]; string[] args = new string[argc]; Marshal.Copy (buf, ptrs, 0, argc); for (int i = 0; i < ptrs.Length; i++) args[i] = Marshal.PtrToStringAuto ((IntPtr) ptrs[i]); return args; } static string[] unmarshal_64 (IntPtr buf, int argc) { long[] ptrs = new long[argc]; string[] args = new string[argc]; Marshal.Copy (buf, ptrs, 0, argc); for (int i = 0; i < ptrs.Length; i++) args[i] = Marshal.PtrToStringAuto ((IntPtr) ptrs[i]); return args; } [Obsolete ("Use GLib.Argv instead to avoid leaks.")] public static string[] ArrayPtrToArgv (IntPtr array, int argc) { if (argc == 0) return new string[0]; if (check_sixtyfour ()) return unmarshal_64 (array, argc); return unmarshal_32 (array, argc); } static DateTime local_epoch = new DateTime (1970, 1, 1, 0, 0, 0); static int utc_offset = (int) (TimeZone.CurrentTimeZone.GetUtcOffset (DateTime.Now)).TotalSeconds; public static IntPtr DateTimeTotime_t (DateTime time) { return new IntPtr (((long)time.Subtract (local_epoch).TotalSeconds) - utc_offset); } public static DateTime time_tToDateTime (IntPtr time_t) { return local_epoch.AddSeconds (time_t.ToInt64 () + utc_offset); } [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_unichar_to_utf8_string (uint c); public static char GUnicharToChar (uint ucs4_char) { if (ucs4_char == 0) return (char) 0; IntPtr raw_ret = gtksharp_unichar_to_utf8_string (ucs4_char); string ret = GLib.Marshaller.PtrToStringGFree(raw_ret); if (ret.Length > 1) throw new ArgumentOutOfRangeException ("ucs4char is not representable by a char."); return ret [0]; } [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint glibsharp_utf16_to_unichar (ushort c); public static uint CharToGUnichar (char c) { return glibsharp_utf16_to_unichar ((ushort) c); } public static IntPtr StructureToPtrAlloc (object o) { IntPtr result = Marshal.AllocHGlobal (Marshal.SizeOf (o)); Marshal.StructureToPtr (o, result, false); return result; } [Obsolete ("Use the ListPtrToArray overload.")] public static Array ListPtrToArray (IntPtr list_ptr, Type list_type, bool owned, bool elements_owned, Type elem_type) { ListBase list; if (list_type == typeof(GLib.List)) list = new GLib.List (list_ptr, elem_type, owned, elements_owned); else list = new GLib.SList (list_ptr, elem_type, owned, elements_owned); using (list) return ListToArray (list, elem_type); } public static T [] ListPtrToArray (IntPtr list_ptr, Type list_type, bool owned, bool elements_owned, ListElementFree free_func) { ListBase list; if (list_type == typeof (GLib.List)) list = new GLib.List (list_ptr, typeof (T), owned, elements_owned, free_func); else list = new GLib.SList (list_ptr, typeof (T), owned, elements_owned, free_func); using (list) return ListToArray (list); } public static T [] ListPtrToArray (IntPtr list_ptr, Type list_type, bool owned, bool elements_owned) { ListBase list; if (list_type == typeof (GLib.List)) list = new GLib.List (list_ptr, typeof(T), owned, elements_owned); else list = new GLib.SList (list_ptr, typeof (T), owned, elements_owned); using (list) return ListToArray (list); } [Obsolete ("Use the PtrArrayToArray overload.")] public static Array PtrArrayToArray (IntPtr list_ptr, bool owned, bool elements_owned, Type elem_type) { GLib.PtrArray array = new GLib.PtrArray (list_ptr, elem_type, owned, elements_owned); Array ret = Array.CreateInstance (elem_type, array.Count); array.CopyTo (ret, 0); array.Dispose (); return ret; } public static T [] PtrArrayToArray (IntPtr list_ptr, bool owned, bool elements_owned) { var elem_type = typeof (T); GLib.PtrArray array = new GLib.PtrArray (list_ptr, elem_type, owned, elements_owned); T [] ret = new T [array.Count]; array.CopyTo (ret, 0); array.Dispose (); return ret; } public static T [] PtrArrayToArray (IntPtr list_ptr, bool owned, bool elements_owned, ListElementFree free_func) { var elem_type = typeof (T); GLib.PtrArray array = new GLib.PtrArray (list_ptr, elem_type, owned, elements_owned, free_func); T [] ret = new T [array.Count]; array.CopyTo (ret, 0); array.Dispose (); return ret; } [Obsolete ("Use the ListToArray overload")] public static Array ListToArray (ListBase list, System.Type type) { int count = list.Count; Array result = Array.CreateInstance (type, count); if (count > 0) list.CopyTo (result, 0, count); if (type.IsSubclassOf (typeof (GLib.Opaque))) list.elements_owned = false; return result; } public static T [] ListToArray (ListBase list) { int count = list.Count; var result = new T [count]; if (count > 0) list.CopyTo (result, 0); if (typeof(T).IsSubclassOf (typeof (GLib.Opaque))) list.elements_owned = false; return result; } } } gtk-sharp-2.12.40/glib/DestroyNotify.cs0000664000175000017500000000264412767740470014615 00000000000000// GLib.DestroyNotify.cs - internal DestroyNotify helper // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; [UnmanagedFunctionPointer (CallingConvention.Cdecl)] public delegate void DestroyNotify (IntPtr data); public class DestroyHelper { private DestroyHelper () {} static void ReleaseGCHandle (IntPtr data) { if (data == IntPtr.Zero) return; GCHandle gch = (GCHandle) data; gch.Free (); } static DestroyNotify release_gchandle; public static DestroyNotify NotifyHandler { get { if (release_gchandle == null) release_gchandle = new DestroyNotify (ReleaseGCHandle); return release_gchandle; } } } } gtk-sharp-2.12.40/glib/List.cs0000664000175000017500000000653412767740470012710 00000000000000// List.cs - GList class wrapper implementation // // Authors: Mike Kestner // // Copyright (c) 2002 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; public class List : ListBase { [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_list_copy (IntPtr l); public override object Clone () { return new List (g_list_copy (Handle)); } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int g_list_length (IntPtr l); internal override int Length (IntPtr list) { return g_list_length (list); } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_list_free(IntPtr l); internal override void Free (IntPtr list) { if (list != IntPtr.Zero) g_list_free (list); } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_list_append (IntPtr l, IntPtr raw); internal override IntPtr Append (IntPtr list, IntPtr raw) { return g_list_append (list, raw); } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_list_prepend (IntPtr l, IntPtr raw); internal override IntPtr Prepend (IntPtr list, IntPtr raw) { return g_list_prepend (list, raw); } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_list_nth_data (IntPtr l, uint n); internal override IntPtr NthData (uint n) { return g_list_nth_data (Handle, n); } [DllImport ("libglib-2.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern void g_free (IntPtr item); public List (IntPtr raw) : this (raw, null) {} public List (System.Type element_type) : this (IntPtr.Zero, element_type) {} public List (IntPtr raw, System.Type element_type) : this (raw, element_type, false, false) {} public List (IntPtr raw, System.Type element_type, bool owned, bool elements_owned) : base (raw, element_type, owned, elements_owned, g_free) { } public List (IntPtr raw, System.Type element_type, bool owned, bool elements_owned, ListElementFree free_func) : base (raw, element_type, owned, elements_owned, free_func) {} public List (object[] elements, System.Type element_type, bool owned, bool elements_owned) : this (IntPtr.Zero, element_type, owned, elements_owned) { foreach (object o in elements) Append (o); } public List (Array elements, System.Type element_type, bool owned, bool elements_owned) : this (IntPtr.Zero, element_type, owned, elements_owned) { foreach (object o in elements) Append (o); } } } gtk-sharp-2.12.40/glib/Markup.cs0000664000175000017500000000255212767740470013230 00000000000000// Markup.cs: Wrapper for the Markup code in Glib // // Authors: // Miguel de Icaza (miguel@ximian.com) // // Copyright (c) 2003 Ximian, Inc. // // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. using System; using System.Runtime.InteropServices; namespace GLib { public class Markup { private Markup () {} [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_markup_escape_text (IntPtr text, int len); static public string EscapeText (string s) { if (s == null) return String.Empty; IntPtr native = Marshaller.StringToPtrGStrdup (s); string result = Marshaller.PtrToStringGFree (g_markup_escape_text (native, -1)); Marshaller.Free (native); return result; } } } gtk-sharp-2.12.40/glib/ExceptionManager.cs0000664000175000017500000000413112654353766015220 00000000000000// GLib.Application.cs - static Application class // // Authors: Mike Kestner // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; public delegate void UnhandledExceptionHandler (UnhandledExceptionArgs args); public class UnhandledExceptionArgs : System.UnhandledExceptionEventArgs { bool exit_app = false; public UnhandledExceptionArgs (Exception e, bool is_terminal) : base (e, is_terminal) {} public bool ExitApplication { get { return exit_app; } set { if (value) exit_app = value; } } } public class ExceptionManager { private ExceptionManager () {} public static event UnhandledExceptionHandler UnhandledException; public static void RaiseUnhandledException (Exception e, bool is_terminal) { if (UnhandledException == null) { Console.Error.WriteLine ("Exception in Gtk# callback delegate"); Console.Error.WriteLine (" Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception."); Console.Error.WriteLine (e); Console.Error.WriteLine (new System.Diagnostics.StackTrace (true)); Environment.Exit (1); } UnhandledExceptionArgs args = new UnhandledExceptionArgs (e, is_terminal); try { UnhandledException (args); } catch (Exception ex) { Console.Error.WriteLine (ex); Environment.Exit (1); } if (is_terminal || args.ExitApplication) Environment.Exit (1); } } } gtk-sharp-2.12.40/glib/Makefile.am0000664000175000017500000000706612767740470013503 00000000000000SUBDIRS = glue TARGET = $(ASSEMBLY) ASSEMBLY = $(ASSEMBLY_NAME).dll ASSEMBLY_NAME = glib-sharp noinst_DATA = $(ASSEMBLY) $(ASSEMBLY).config $(POLICY_ASSEMBLIES) pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = glib-sharp-2.0.pc gapidir = $(datadir)/gapi-2.0 gapi_DATA = glib-api.xml CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb gtk-sharp.snk AssemblyInfo.cs $(POLICY_ASSEMBLIES) $(POLICY_CONFIGS) DISTCLEANFILES = $(ASSEMBLY).config POLICY_ASSEMBLIES = $(addsuffix .$(ASSEMBLY), $(addprefix policy., $(POLICY_VERSIONS))) POLICY_CONFIGS = $(addsuffix .config, $(addprefix policy., $(POLICY_VERSIONS))) references = sources = \ Argv.cs \ Boxed.cs \ CDeclCallbackAttribute.cs \ ClassInitializerAttribute.cs \ ConnectBeforeAttribute.cs \ DefaultSignalHandlerAttribute.cs \ DelegateWrapper.cs \ DestroyNotify.cs \ EnumWrapper.cs \ ExceptionManager.cs \ FileUtils.cs \ Format.cs \ GException.cs \ GInterfaceAdapter.cs \ GInterfaceAttribute.cs \ Global.cs \ GString.cs \ GType.cs \ GTypeAttribute.cs \ Idle.cs \ IgnoreClassInitializersAttribute.cs \ InitiallyUnowned.cs \ IOChannel.cs \ IWrapper.cs \ ListBase.cs \ List.cs \ Log.cs \ MainContext.cs \ MainLoop.cs \ ManagedValue.cs \ Markup.cs \ Marshaller.cs \ MissingIntPtrCtorException.cs \ NotifyHandler.cs \ Object.cs \ ObjectManager.cs \ Opaque.cs \ PropertyAttribute.cs \ PtrArray.cs \ Signal.cs \ SignalArgs.cs \ SignalAttribute.cs \ SignalCallback.cs \ SignalClosure.cs \ SList.cs \ Source.cs \ Spawn.cs \ Thread.cs \ Timeout.cs \ ToggleRef.cs \ TypeConverter.cs \ TypeFundamentals.cs \ TypeInitializerAttribute.cs \ UnwrappedObject.cs \ ValueArray.cs \ Value.cs build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs dist_sources = $(sources) EXTRA_DIST = \ $(dist_sources) \ $(ASSEMBLY).config.in \ glib-sharp-2.0.pc.in \ glib-api.xml gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk cp $(top_srcdir)/gtk-sharp.snk . AssemblyInfo.cs: $(top_builddir)/AssemblyInfo.cs cp $(top_builddir)/AssemblyInfo.cs . $(ASSEMBLY): $(build_sources) gtk-sharp.snk AssemblyInfo.cs @rm -f $(ASSEMBLY).mdb $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -out:$(ASSEMBLY) -target:library $(references) $(build_sources) $(GAPI_CDECL_INSERT) policy.%.config: $(top_builddir)/policy.config sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$*/" $(top_builddir)/policy.config > $@ $(POLICY_ASSEMBLIES) : policy.%.$(ASSEMBLY): policy.%.config gtk-sharp.snk $(AL) -link:policy.$*.config -version:$* -out:$@ -keyfile:gtk-sharp.snk install-data-local: @if test -n '$(TARGET)'; then \ echo "$(GACUTIL) -i $(ASSEMBLY) -f $(GACUTIL_FLAGS)"; \ $(GACUTIL) -i $(ASSEMBLY) -f $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) -i policy.$$i.$(ASSEMBLY) -f $(GACUTIL_FLAGS)"; \ $(GACUTIL) -i policy.$$i.$(ASSEMBLY) -f $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi uninstall-local: @if test -n '$(TARGET)'; then \ echo "$(GACUTIL) -u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) -u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi gtk-sharp-2.12.40/glib/SignalCallback.cs0000664000175000017500000000601712767740470014623 00000000000000// GLib.SignalCallback.cs - Signal callback base class implementation // // Authors: Mike Kestner // // Copyright (c) 2001 Mike Kestner // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.Runtime.InteropServices; [Obsolete ("Replaced by GLib.Signal.")] public abstract class SignalCallback : IDisposable { // A counter used to produce unique keys for instances. protected static int _NextKey = 0; // Hashtable containing refs to all current instances. protected static Hashtable _Instances = new Hashtable (); // protected instance members protected GLib.Object _obj; protected Delegate _handler; protected int _key; protected System.Type _argstype; protected uint _HandlerID; protected SignalCallback (GLib.Object obj, Delegate eh, System.Type argstype) { _key = _NextKey++; _obj = obj; _handler = eh; _argstype = argstype; _Instances [_key] = this; } public void AddDelegate (Delegate d) { _handler = Delegate.Combine (_handler, d); } public void RemoveDelegate (Delegate d) { _handler = Delegate.Remove (_handler, d); } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern uint g_signal_connect_data(IntPtr obj, IntPtr name, Delegate cb, int key, IntPtr p, int flags); protected void Connect (string name, Delegate cb, int flags) { IntPtr native_name = Marshaller.StringToPtrGStrdup (name); _HandlerID = g_signal_connect_data(_obj.Handle, native_name, cb, _key, new IntPtr(0), flags); Marshaller.Free (native_name); } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_signal_handler_disconnect (IntPtr instance, uint handler); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool g_signal_handler_is_connected (IntPtr instance, uint handler); protected void Disconnect () { if (g_signal_handler_is_connected (_obj.Handle, _HandlerID)) g_signal_handler_disconnect (_obj.Handle, _HandlerID); } public void Dispose () { Dispose (true); GC.SuppressFinalize (this); } protected virtual void Dispose (bool disposing) { if (disposing) { _obj = null; _handler = null; _argstype = null; } } ~SignalCallback () { Dispose (false); } } } gtk-sharp-2.12.40/glib/ListBase.cs0000664000175000017500000001665412767740470013507 00000000000000// ListBase.cs - List base class implementation // // Authors: Mike Kestner // // Copyright (c) 2002 Mike Kestner // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.Runtime.InteropServices; public delegate void ListElementFree (IntPtr ptr); public abstract class ListBase : IDisposable, ICollection, GLib.IWrapper, ICloneable { private IntPtr list_ptr = IntPtr.Zero; private bool managed = false; internal bool elements_owned = false; protected System.Type element_type = null; private ListElementFree free_func; abstract internal IntPtr NthData (uint index); abstract internal int Length (IntPtr list); abstract internal void Free (IntPtr list); abstract internal IntPtr Append (IntPtr current, IntPtr raw); abstract internal IntPtr Prepend (IntPtr current, IntPtr raw); internal ListBase (IntPtr list, System.Type element_type, bool owned, bool elements_owned, ListElementFree free_func) { list_ptr = list; this.element_type = element_type; managed = owned; this.elements_owned = elements_owned; this.free_func = free_func; } ~ListBase () { Dispose (false); } [Obsolete ("Replaced by owned parameter on ctor.")] public bool Managed { set { managed = value; } } public IntPtr Handle { get { return list_ptr; } } public void Append (IntPtr raw) { list_ptr = Append (list_ptr, raw); } public void Append (string item) { this.Append (Marshaller.StringToPtrGStrdup (item)); } public void Append (object item) { this.Append (AllocNativeElement (item)); } public void Prepend (IntPtr raw) { list_ptr = Prepend (list_ptr, raw); } // ICollection public int Count { get { return Length (list_ptr); } } public object this [int index] { get { IntPtr data = NthData ((uint) index); object ret = null; ret = DataMarshal (data); return ret; } } // Synchronization could be tricky here. Hmm. public bool IsSynchronized { get { return false; } } public object SyncRoot { get { return null; } } public void CopyTo (Array array, int index) { CopyTo (array, index, Count); } internal void CopyTo (Array array, int index, int count) { object[] orig = new object[count]; int i = 0; foreach (object o in this) orig [i++] = o; orig.CopyTo (array, index); } public void CopyTo (T[] array, int index) { int i = index; foreach (T o in this) array [i++] = o; } public class FilenameString { private FilenameString () {} } IntPtr AllocNativeElement (object element) { if (element_type == null) { if (element is IWrapper) return (element as IWrapper).Handle; else return (IntPtr) GCHandle.Alloc (element); } else { if (element_type == typeof (string)) return Marshaller.StringToPtrGStrdup (element as string); else if (element_type == typeof (FilenameString)) return Marshaller.StringToFilenamePtr (element as string); else if (element_type == typeof (IntPtr)) return (IntPtr) GCHandle.Alloc (element); else if (typeof (IWrapper).IsAssignableFrom (element_type)) return (element as IWrapper).Handle; else if (element_type == typeof (int)) return new IntPtr ((int) element); else if (element_type.IsValueType) return Marshaller.StructureToPtrAlloc (element); } return IntPtr.Zero; } internal object DataMarshal (IntPtr data) { object ret = null; if (element_type != null) { if (element_type == typeof (string)) ret = Marshaller.Utf8PtrToString (data); else if (element_type == typeof (FilenameString)) ret = Marshaller.FilenamePtrToString (data); else if (element_type == typeof (IntPtr)) ret = data; else if (element_type.IsSubclassOf (typeof (GLib.Object))) ret = GLib.Object.GetObject (data, false); else if (element_type.IsSubclassOf (typeof (GLib.Opaque))) ret = GLib.Opaque.GetOpaque (data, element_type, elements_owned); else if (element_type == typeof (int)) ret = (int) data; else if (element_type.IsValueType) ret = Marshal.PtrToStructure (data, element_type); else if (element_type.IsInterface) { Type adapter_type = element_type.Assembly.GetType (element_type.FullName + "Adapter"); System.Reflection.MethodInfo method = adapter_type.GetMethod ("GetObject", new Type[] {typeof(IntPtr), typeof(bool)}); ret = method.Invoke (null, new object[] {data, false}); } else ret = Activator.CreateInstance (element_type, new object[] {data}); } else if (Object.IsObject (data)) ret = GLib.Object.GetObject (data, false); return ret; } [DllImport ("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_object_unref (IntPtr item); public void Empty () { if (elements_owned) { var current = list_ptr; if (typeof (GLib.Object).IsAssignableFrom (element_type)) { while (current != IntPtr.Zero) { var temp = current; current = Next (temp); g_object_unref (temp); } } else if (typeof (GLib.Opaque).IsAssignableFrom (element_type)) { while (current != IntPtr.Zero) { var temp = current; current = Next (temp); GLib.Opaque.GetOpaque (temp, element_type, true).Dispose (); } } else { while (current != IntPtr.Zero) { var temp = current; current = Next (temp); free_func (temp); } } } if (managed) FreeList (); } IntPtr GetData (IntPtr current) { // data field is at offset 0 for GList and GSList return Marshal.ReadIntPtr (current); } IntPtr Next (IntPtr current) { // next field follows gpointer data field for GList and GSList return Marshal.ReadIntPtr (current, IntPtr.Size); } private class ListEnumerator : IEnumerator { private IntPtr current = IntPtr.Zero; private ListBase list; public ListEnumerator (ListBase list) { this.list = list; } public object Current { get { IntPtr data = list.GetData (current); object ret = null; ret = list.DataMarshal (data); return ret; } } public bool MoveNext () { if (current == IntPtr.Zero) current = list.list_ptr; else current = list.Next (current); return (current != IntPtr.Zero); } public void Reset () { current = IntPtr.Zero; } } // IEnumerable public IEnumerator GetEnumerator () { return new ListEnumerator (this); } // IDisposable public void Dispose () { Dispose (true); GC.SuppressFinalize (this); } protected virtual void Dispose (bool disposing) { Empty (); } void FreeList () { if (list_ptr != IntPtr.Zero) Free (list_ptr); list_ptr = IntPtr.Zero; } // ICloneable abstract public object Clone (); } } gtk-sharp-2.12.40/glib/GString.cs0000664000175000017500000000314012767740470013340 00000000000000// GLib.GString.cs : Marshaler for GStrings // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; public class GString : GLib.IWrapper { IntPtr handle; [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_string_free (IntPtr mem, bool free_segments); ~GString () { g_string_free (handle, true); } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_string_new (IntPtr text); public GString (string text) { IntPtr native_text = Marshaller.StringToPtrGStrdup (text); handle = g_string_new (native_text); Marshaller.Free (native_text); } public IntPtr Handle { get { return handle; } } public static string PtrToString (IntPtr ptr) { return Marshaller.Utf8PtrToString (ptr); } } } gtk-sharp-2.12.40/glib/glue/0000775000175000017500000000000012767740534012453 500000000000000gtk-sharp-2.12.40/glib/glue/error.c0000775000175000017500000000174412767740470013700 00000000000000/* error.c : Glue to access GError values. * * Author: Mike Kestner * * Copyright (c) 2002 Mike Kestner * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ gchar *gtksharp_error_get_message (GError *err); /* */ gchar * gtksharp_error_get_message (GError *err) { return err->message; } gtk-sharp-2.12.40/glib/glue/thread.c0000664000175000017500000000206212767740470014005 00000000000000/* thread.c : glue functions for GLib.Thread * * Author: Alp Toker * * Copyright (c) 2005 Alp Toker * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #ifdef DISABLE_GTHREAD_CHECK #include #else #include #endif gboolean glibsharp_g_thread_supported (void); gboolean glibsharp_g_thread_supported () { #ifdef DISABLE_GTHREAD_CHECK return TRUE; #else return g_thread_supported (); #endif } gtk-sharp-2.12.40/glib/glue/type.c0000664000175000017500000000411112767740470013514 00000000000000/* type.c : GType utilities * * Author: Mike Kestner * * Copyright (c) 2002 Mike Kestner * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include #include /* Forward declarations */ G_CONST_RETURN gchar *gtksharp_get_type_name (GObject *obj); gboolean gtksharp_is_object (gpointer obj); GType gtksharp_get_type_id (GObject *obj); GType gtksharp_register_type (gchar *name, GType parent); void gtksharp_override_virtual_method (GType g_type, const gchar *name, GCallback callback); /* */ G_CONST_RETURN gchar * gtksharp_get_type_name (GObject *obj) { return G_OBJECT_TYPE_NAME (obj); } gboolean gtksharp_is_object (gpointer obj) { return G_IS_OBJECT (obj); } GType gtksharp_get_type_id (GObject *obj) { return G_TYPE_FROM_INSTANCE (obj); } GType gtksharp_register_type (gchar *name, GType parent) { GTypeQuery query; GTypeInfo info = {0, NULL, NULL, NULL, NULL, NULL, 0, 0, NULL, NULL }; g_type_query (parent, &query); info.class_size = query.class_size; info.instance_size = query.instance_size; return g_type_register_static (parent, name, &info, 0); } void gtksharp_override_virtual_method (GType g_type, const gchar *name, GCallback callback) { guint id; GClosure *closure; if (g_type_class_peek (g_type) == NULL) g_type_class_ref (g_type); id = g_signal_lookup (name, g_type); closure = g_cclosure_new (callback, NULL, NULL); g_signal_override_class_closure (id, g_type, closure); } gtk-sharp-2.12.40/glib/glue/valuearray.c0000664000175000017500000000215212767740470014711 00000000000000/* valuearray.c : Glue to access GValueArray fields * * Author: Mike Kestner * * Copyright (c) 2004 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include GValue *gtksharp_value_array_get_array (GValueArray *va); guint gtksharp_value_array_get_count (GValueArray *va); GValue * gtksharp_value_array_get_array (GValueArray *va) { return va->values; } guint gtksharp_value_array_get_count (GValueArray *va) { return va->n_values; } gtk-sharp-2.12.40/glib/glue/unichar.c0000664000175000017500000000273112767740470014172 00000000000000/* unichar.c : Glue to access unichars as strings. * * Author: Mike Kestner * * Copyright (c) 2004 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ gchar *gtksharp_unichar_to_utf8_string (gunichar chr); gunichar glibsharp_utf16_to_unichar (guint16 chr); gssize glibsharp_strlen (gchar *s); /* */ gchar * gtksharp_unichar_to_utf8_string (gunichar chr) { gchar *buf = g_new0 (gchar, 7); gint cnt = g_unichar_to_utf8 (chr, buf); buf [cnt] = 0; return buf; } gunichar glibsharp_utf16_to_unichar (guint16 chr) { gunichar *ucs4_str; gunichar result; ucs4_str = g_utf16_to_ucs4 (&chr, 1, NULL, NULL, NULL); result = *ucs4_str; g_free (ucs4_str); return result; } gssize glibsharp_strlen (gchar *s) { gssize cnt = 0; for (cnt = 0; *s; s++, cnt++); return cnt; } gtk-sharp-2.12.40/glib/glue/win32dll.c0000775000175000017500000000044312767740470014200 00000000000000#define WIN32_LEAN_AND_MEAN #include #undef WIN32_LEAN_AND_MEAN #include BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) { return TRUE; } /* BOOL APIENTRY DllMainCRTStartup (HINSTANCE hInst, DWORD reason, LPVOID reserved) { return TRUE; } */ gtk-sharp-2.12.40/glib/glue/Makefile.in0000664000175000017500000005443212767740506014447 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = glib/glue ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(libdir)" LTLIBRARIES = $(lib_LTLIBRARIES) am__DEPENDENCIES_1 = libglibsharpglue_2_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am_libglibsharpglue_2_la_OBJECTS = closure.lo error.lo object.lo \ ptrarray.lo signal.lo type.lo unichar.lo value.lo \ valuearray.lo thread.lo libglibsharpglue_2_la_OBJECTS = $(am_libglibsharpglue_2_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = libglibsharpglue_2_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(AM_CFLAGS) $(CFLAGS) $(libglibsharpglue_2_la_LDFLAGS) \ $(LDFLAGS) -o $@ AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(libglibsharpglue_2_la_SOURCES) DIST_SOURCES = $(libglibsharpglue_2_la_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ lib_LTLIBRARIES = libglibsharpglue-2.la libglibsharpglue_2_la_LDFLAGS = -module -avoid-version -no-undefined libglibsharpglue_2_la_SOURCES = \ closure.c \ error.c \ object.c \ ptrarray.c \ signal.c \ type.c \ unichar.c \ value.c \ valuearray.c \ thread.c # Adding a new glue file? libglibsharpglue_2_la_LIBADD = $(GLIB_LIBS) INCLUDES = $(GLIB_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir) CLEANFILES = lib*.a lib*.dll EXTRA_DIST = win32dll.c all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign glib/glue/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign glib/glue/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ list2=; for p in $$list; do \ if test -f $$p; then \ list2="$$list2 $$p"; \ else :; fi; \ done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ } uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ done clean-libLTLIBRARIES: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) @list='$(lib_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libglibsharpglue-2.la: $(libglibsharpglue_2_la_OBJECTS) $(libglibsharpglue_2_la_DEPENDENCIES) $(EXTRA_libglibsharpglue_2_la_DEPENDENCIES) $(AM_V_CCLD)$(libglibsharpglue_2_la_LINK) -rpath $(libdir) $(libglibsharpglue_2_la_OBJECTS) $(libglibsharpglue_2_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/closure.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/error.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/object.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrarray.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/signal.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thread.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/type.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unichar.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/value.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/valuearray.Plo@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) installdirs: for dir in "$(DESTDIR)$(libdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-libLTLIBRARIES install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-libLTLIBRARIES .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ clean-libLTLIBRARIES clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-compile distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-libLTLIBRARIES install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-am uninstall uninstall-am uninstall-libLTLIBRARIES .PRECIOUS: Makefile libgtksharpglue.dll: $(libgtksharpglue_2_la_OBJECTS) libgtksharpglue.rc libgtksharpglue.def ./build-dll libgtksharpglue-2 $(VERSION) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/glib/glue/object.c0000664000175000017500000001232712767740470014011 00000000000000/* object.c : Glue to clean up GtkObject references. * * Author: Mike Kestner * * Copyright (c) 2002 Mike Kestner * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ int gtksharp_object_get_ref_count (GObject *obj); GObject *gtksharp_object_newv (GType type, gint cnt, gchar **names, GValue *vals); void gtksharp_override_property_handlers(GType type, gpointer get_property_cb, gpointer set_property_cb); GParamSpec *gtksharp_register_property(GType declaring_type, const gchar *name, const gchar *nick, const gchar *blurb, guint id, GType return_type, gboolean can_read, gboolean can_write); /* */ int gtksharp_object_get_ref_count (GObject *obj) { return obj->ref_count; } GObject * gtksharp_object_newv (GType type, gint cnt, gchar **names, GValue *vals) { int i; GParameter *parms = NULL; GObject *result; if (cnt > 0) parms = g_new0 (GParameter, cnt); for (i = 0; i < cnt; i++) { parms[i].name = names[i]; parms[i].value = vals[i]; } result = g_object_newv (type, cnt, parms); g_free (parms); return result; } void gtksharp_override_property_handlers(GType type, gpointer get_property_cb, gpointer set_property_cb) { GObjectClass *type_class = g_type_class_peek (type); if(!type_class) type_class = g_type_class_ref (type); type_class->get_property = get_property_cb; type_class->set_property = set_property_cb; } GParamSpec * gtksharp_register_property(GType declaring_type, const gchar *name, const gchar *nick, const gchar *blurb, guint id, GType return_type, gboolean can_read, gboolean can_write) { GParamSpec *param_spec; GParamFlags flags = 0; GObjectClass *declaring_class = g_type_class_peek (declaring_type); if (!declaring_class) declaring_class = g_type_class_ref (declaring_type); if (can_read) flags |= G_PARAM_READABLE; if (can_write) flags |= G_PARAM_WRITABLE; /* Create the ParamSpec for the property * These are used to hold default values and to validate values * Both is not needed since the check for invalid values takes place in the managed set accessor of the property and properties do not * contain default values. Therefore the ParamSpecs must allow every value that can be assigned to the property type. * Furthermore the default value that is specified in the constructors will never be used and assigned to the property; * they are not relevant, but have to be passed */ switch (return_type) { case G_TYPE_CHAR: param_spec = g_param_spec_char (name, nick, blurb, G_MININT8, G_MAXINT8, 0, flags); break; case G_TYPE_UCHAR: param_spec = g_param_spec_uchar (name, nick, blurb, 0, G_MAXUINT8, 0, flags); break; case G_TYPE_BOOLEAN: param_spec = g_param_spec_boolean (name, nick, blurb, FALSE, flags); break; case G_TYPE_INT: param_spec = g_param_spec_int (name, nick, blurb, G_MININT, G_MAXINT, 0, flags); break; case G_TYPE_UINT: param_spec = g_param_spec_uint (name, nick, blurb, 0, G_MAXUINT, 0, flags); break; case G_TYPE_LONG: param_spec = g_param_spec_long (name, nick, blurb, G_MINLONG, G_MAXLONG, 0, flags); break; case G_TYPE_ULONG: param_spec = g_param_spec_ulong (name, nick, blurb, 0, G_MAXULONG, 0, flags); break; case G_TYPE_INT64: param_spec = g_param_spec_int64 (name, nick, blurb, G_MININT64, G_MAXINT64, 0, flags); break; case G_TYPE_UINT64: param_spec = g_param_spec_uint64 (name, nick, blurb, 0, G_MAXUINT64, 0, flags); break; /* case G_TYPE_ENUM: * case G_TYPE_FLAGS: * TODO: Implement both G_TYPE_ENUM and G_TYPE_FLAGS * My problem: Both g_param_spec_enum and g_param_spec_flags expect default property values and the members of the enum seemingly cannot be enumerated */ case G_TYPE_FLOAT: param_spec = g_param_spec_float (name, nick, blurb, -G_MINFLOAT, G_MAXFLOAT, 0, flags); break; case G_TYPE_DOUBLE: param_spec = g_param_spec_double (name, nick, blurb, -G_MINDOUBLE, G_MAXDOUBLE, 0, flags); break; case G_TYPE_STRING: param_spec = g_param_spec_string (name, nick, blurb, NULL, flags); break; case G_TYPE_POINTER: param_spec = g_param_spec_pointer (name, nick, blurb, flags); break; default: if(return_type == G_TYPE_GTYPE) param_spec = g_param_spec_gtype (name, nick, blurb, G_TYPE_NONE, flags); else if(g_type_is_a (return_type, G_TYPE_BOXED)) param_spec = g_param_spec_boxed (name, nick, blurb, return_type, flags); else if(g_type_is_a (return_type, G_TYPE_OBJECT)) param_spec = g_param_spec_object (name, nick, blurb, return_type, flags); else // The property's return type is not supported return NULL; } g_object_class_install_property (declaring_class, id, param_spec); return param_spec; } gtk-sharp-2.12.40/glib/glue/value.c0000664000175000017500000000423512767740470013656 00000000000000/* value.c : Glue to allocate GValues on the heap. * * Author: Mike Kestner * * Copyright (c) 2002 Mike Kestner * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ void gtksharp_value_create_from_property (GValue *value, GObject *obj, const gchar* name); void gtksharp_value_create_from_type_and_property (GValue *value, GType gtype, const gchar* name); void gtksharp_value_create_from_type_name (GValue *value, const gchar *type_name); gpointer glibsharp_value_get_boxed (GValue *value); void glibsharp_value_set_boxed (GValue *value, gpointer boxed); gboolean glibsharp_value_holds_flags (GValue *value); /* */ void gtksharp_value_create_from_property (GValue *value, GObject *obj, const gchar* name) { GParamSpec *spec = g_object_class_find_property (G_OBJECT_GET_CLASS (obj), name); g_value_init (value, spec->value_type); } void gtksharp_value_create_from_type_and_property (GValue *value, GType gtype, const gchar* name) { GParamSpec *spec = g_object_class_find_property (g_type_class_ref (gtype), name); g_value_init (value, spec->value_type); } void gtksharp_value_create_from_type_name (GValue *value, const gchar *type_name) { g_value_init (value, g_type_from_name (type_name)); } gpointer glibsharp_value_get_boxed (GValue *value) { return g_value_get_boxed (value); } void glibsharp_value_set_boxed (GValue *value, gpointer boxed) { g_value_set_boxed (value, boxed); } gboolean glibsharp_value_holds_flags (GValue *value) { return G_VALUE_HOLDS_FLAGS (value); } gtk-sharp-2.12.40/glib/glue/closure.c0000664000175000017500000000236312767740470014216 00000000000000/* closure.c : Native closure implementation * * Author: Mike Kestner * * Copyright (c) 2008 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ GClosure* glibsharp_closure_new (GClosureMarshal marshaler, GClosureNotify notify, gpointer data); /* */ GClosure* glibsharp_closure_new (GClosureMarshal marshaler, GClosureNotify notify, gpointer data) { GClosure *closure = g_closure_new_simple (sizeof (GClosure), data); g_closure_set_marshal (closure, marshaler); g_closure_add_finalize_notifier (closure, data, notify); return closure; } gtk-sharp-2.12.40/glib/glue/signal.c0000664000175000017500000000207612767740470014020 00000000000000/* signal.c : Glue for signaling stuff * * Author: Andrés G. Aragoneses * * Copyright (c) 2008 Novell Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ GType glibsharp_signal_get_return_type (guint signal_id); /* */ GType glibsharp_signal_get_return_type (guint signal_id) { GSignalQuery query; g_signal_query (signal_id, &query); return query.return_type; } gtk-sharp-2.12.40/glib/glue/Makefile.am0000664000175000017500000000114312767740470014425 00000000000000lib_LTLIBRARIES = libglibsharpglue-2.la libglibsharpglue_2_la_LDFLAGS = -module -avoid-version -no-undefined libglibsharpglue_2_la_SOURCES = \ closure.c \ error.c \ object.c \ ptrarray.c \ signal.c \ type.c \ unichar.c \ value.c \ valuearray.c \ thread.c # Adding a new glue file? libglibsharpglue_2_la_LIBADD = $(GLIB_LIBS) INCLUDES = $(GLIB_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir) libgtksharpglue.dll: $(libgtksharpglue_2_la_OBJECTS) libgtksharpglue.rc libgtksharpglue.def ./build-dll libgtksharpglue-2 $(VERSION) CLEANFILES = lib*.a lib*.dll EXTRA_DIST = win32dll.c gtk-sharp-2.12.40/glib/glue/ptrarray.c0000664000175000017500000000235612767740470014410 00000000000000/* ptrarray.c : Glue to access GPtrArray fields * * Author: Mike Gorse * * Copyright (c) 2008 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include void *gtksharp_ptr_array_get_array (GPtrArray *pa); guint gtksharp_ptr_array_get_count (GPtrArray *pa); void *gtksharp_ptr_array_get_nth (GPtrArray *pa, int index); void * gtksharp_ptr_array_get_array (GPtrArray *pa) { return pa->pdata; } guint gtksharp_ptr_array_get_count (GPtrArray *pa) { return pa->len; } void * gtksharp_ptr_array_get_nth (GPtrArray *pa, int index) { return g_ptr_array_index (pa, index); } gtk-sharp-2.12.40/glib/GTypeAttribute.cs0000664000175000017500000000340112767740470014677 00000000000000// GTypeAttribute.cs // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; [Obsolete ("Use GTypeTypeAttribute instead.")] [AttributeUsage (AttributeTargets.Enum)] public sealed class GTypeAttribute : Attribute { Type wrapper_type; public GTypeAttribute (Type wrapper_type) { this.wrapper_type = wrapper_type; } public Type WrapperType { get { return wrapper_type; } set { wrapper_type = value; } } } [AttributeUsage (AttributeTargets.Enum | AttributeTargets.Struct | AttributeTargets.Class, Inherited = false)] public abstract class GTypeTypeAttribute : Attribute { public abstract GType Type { get; } } public sealed class GTypeOpaqueAttribute : GTypeTypeAttribute { public override GType Type { get { return GType.Pointer; } } } public sealed class GTypeObjectAttribute : GTypeTypeAttribute { public override GType Type { get { return GType.Object; } } } public sealed class GTypeStructAttribute : GTypeTypeAttribute { public override GType Type { get { return GType.Pointer; } } } } gtk-sharp-2.12.40/glib/IWrapper.cs0000664000175000017500000000163712654353766013530 00000000000000// IWrapper.cs - Common code for GInterfaces and GObjects // // Author: Rachel Hestilow // // Copyright (c) 2002 Rachel Hestilow // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; public interface IWrapper { IntPtr Handle { get; } } } gtk-sharp-2.12.40/glib/GException.cs0000664000175000017500000000273012767740470014034 00000000000000// GException.cs : GError handling // // Authors: Rachel Hestilow // // Copyright (c) 2002 Rachel Hestilow // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Runtime.InteropServices; public class GException : Exception { IntPtr errptr; public GException (IntPtr errptr) : base () { this.errptr = errptr; } [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_error_get_message (IntPtr errptr); public override string Message { get { return Marshaller.Utf8PtrToString (gtksharp_error_get_message (errptr)); } } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_clear_error (ref IntPtr errptr); ~GException () { g_clear_error (ref errptr); } } } gtk-sharp-2.12.40/glib/ClassInitializerAttribute.cs0000664000175000017500000000175012767740470017125 00000000000000// ClassInitializerAttribute.cs // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; [Obsolete ("Replaced by TypeInitializerAttribute")] public sealed class ClassInitializerAttribute : Attribute { public ClassInitializerAttribute () {} } } gtk-sharp-2.12.40/glib/Value.cs0000664000175000017500000004556112767740470013054 00000000000000// GLib.Value.cs - GLib Value class implementation // // Author: Mike Kestner // // Copyright (c) 2001 Mike Kestner // Copyright (c) 2003-2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GLib { using System; using System.Collections; using System.Reflection; using System.Runtime.InteropServices; [StructLayout (LayoutKind.Sequential)] public struct Value : IDisposable { IntPtr type; long pad_1; long pad_2; public static Value Empty; public Value (GLib.GType gtype) { type = IntPtr.Zero; pad_1 = pad_2 = 0; g_value_init (ref this, gtype.Val); } public Value (object obj) { type = IntPtr.Zero; pad_1 = pad_2 = 0; GType gtype = (GType) obj.GetType (); g_value_init (ref this, gtype.Val); Val = obj; } public Value (bool val) : this (GType.Boolean) { g_value_set_boolean (ref this, val); } public Value (byte val) : this (GType.UChar) { g_value_set_uchar (ref this, val); } public Value (sbyte val) : this (GType.Char) { g_value_set_char (ref this, val); } public Value (int val) : this (GType.Int) { g_value_set_int (ref this, val); } public Value (uint val) : this (GType.UInt) { g_value_set_uint (ref this, val); } public Value (ushort val) : this (GType.UInt) { g_value_set_uint (ref this, val); } public Value (long val) : this (GType.Int64) { g_value_set_int64 (ref this, val); } public Value (ulong val) : this (GType.UInt64) { g_value_set_uint64 (ref this, val); } [Obsolete ("Replaced by Value(object) constructor")] public Value (EnumWrapper wrap, string type_name) { type = IntPtr.Zero; pad_1 = pad_2 = 0; IntPtr native = GLib.Marshaller.StringToPtrGStrdup (type_name); gtksharp_value_create_from_type_name (ref this, native); GLib.Marshaller.Free (native); if (wrap.flags) g_value_set_flags (ref this, (uint) (int) wrap); else g_value_set_enum (ref this, (int) wrap); } public Value (float val) : this (GType.Float) { g_value_set_float (ref this, val); } public Value (double val) : this (GType.Double) { g_value_set_double (ref this, val); } public Value (string val) : this (GType.String) { IntPtr native_val = GLib.Marshaller.StringToPtrGStrdup (val); g_value_set_string (ref this, native_val); GLib.Marshaller.Free (native_val); } public Value (IntPtr val) : this (GType.Pointer) { g_value_set_pointer (ref this, val); } public Value (Opaque val, string type_name) { type = IntPtr.Zero; pad_1 = pad_2 = 0; IntPtr native = GLib.Marshaller.StringToPtrGStrdup (type_name); gtksharp_value_create_from_type_name (ref this, native); GLib.Marshaller.Free (native); g_value_set_boxed (ref this, val.Handle); } public Value (GLib.Object val) : this (val == null ? GType.Object : val.NativeType) { g_value_set_object (ref this, val == null ? IntPtr.Zero : val.Handle); } public Value (GLib.GInterfaceAdapter val) : this (val == null ? GType.Object : val.GType) { g_value_set_object (ref this, val == null ? IntPtr.Zero : val.Handle); } public Value (GLib.Object obj, string prop_name) { type = IntPtr.Zero; pad_1 = pad_2 = 0; IntPtr prop = GLib.Marshaller.StringToPtrGStrdup (prop_name); gtksharp_value_create_from_property (ref this, obj.Handle, prop); GLib.Marshaller.Free (prop); } internal Value (GLib.Object obj, IntPtr prop) { type = IntPtr.Zero; pad_1 = pad_2 = 0; gtksharp_value_create_from_property (ref this, obj.Handle, prop); } [Obsolete] public Value (GLib.Object obj, string prop_name, EnumWrapper wrap) { type = IntPtr.Zero; pad_1 = pad_2 = 0; IntPtr native = GLib.Marshaller.StringToPtrGStrdup (prop_name); gtksharp_value_create_from_type_and_property (ref this, obj.NativeType.Val, native); GLib.Marshaller.Free (native); if (wrap.flags) g_value_set_flags (ref this, (uint) (int) wrap); else g_value_set_enum (ref this, (int) wrap); } [Obsolete] public Value (IntPtr obj, string prop_name, Opaque val) { type = IntPtr.Zero; pad_1 = pad_2 = 0; IntPtr native = GLib.Marshaller.StringToPtrGStrdup (prop_name); gtksharp_value_create_from_property (ref this, obj, native); GLib.Marshaller.Free (native); g_value_set_boxed (ref this, val.Handle); } public Value (string[] val) : this (new GLib.GType (g_strv_get_type ())) { if (val == null) { g_value_set_boxed (ref this, IntPtr.Zero); return; } IntPtr native_array = Marshal.AllocHGlobal ((val.Length + 1) * IntPtr.Size); for (int i = 0; i < val.Length; i++) Marshal.WriteIntPtr (native_array, i * IntPtr.Size, GLib.Marshaller.StringToPtrGStrdup (val[i])); Marshal.WriteIntPtr (native_array, val.Length * IntPtr.Size, IntPtr.Zero); g_value_set_boxed (ref this, native_array); for (int i = 0; i < val.Length; i++) GLib.Marshaller.Free (Marshal.ReadIntPtr (native_array, i * IntPtr.Size)); Marshal.FreeHGlobal (native_array); } public void Dispose () { g_value_unset (ref this); } public void Init (GLib.GType gtype) { g_value_init (ref this, gtype.Val); } public static explicit operator bool (Value val) { return g_value_get_boolean (ref val); } public static explicit operator byte (Value val) { return g_value_get_uchar (ref val); } public static explicit operator sbyte (Value val) { return g_value_get_char (ref val); } public static explicit operator int (Value val) { return g_value_get_int (ref val); } public static explicit operator uint (Value val) { return g_value_get_uint (ref val); } public static explicit operator ushort (Value val) { return (ushort) g_value_get_uint (ref val); } public static explicit operator long (Value val) { return g_value_get_int64 (ref val); } public static explicit operator ulong (Value val) { return g_value_get_uint64 (ref val); } [Obsolete ("Replaced by Enum cast")] public static explicit operator EnumWrapper (Value val) { if (glibsharp_value_holds_flags (ref val)) return new EnumWrapper ((int)g_value_get_flags (ref val), true); else return new EnumWrapper (g_value_get_enum (ref val), false); } public static explicit operator Enum (Value val) { if (glibsharp_value_holds_flags (ref val)) return (Enum)Enum.ToObject (GType.LookupType (val.type), g_value_get_flags (ref val)); else return (Enum)Enum.ToObject (GType.LookupType (val.type), g_value_get_enum (ref val)); } public static explicit operator float (Value val) { return g_value_get_float (ref val); } public static explicit operator double (Value val) { return g_value_get_double (ref val); } public static explicit operator string (Value val) { IntPtr str = g_value_get_string (ref val); return str == IntPtr.Zero ? null : GLib.Marshaller.Utf8PtrToString (str); } public static explicit operator IntPtr (Value val) { return g_value_get_pointer (ref val); } public static explicit operator GLib.Opaque (Value val) { return GLib.Opaque.GetOpaque (g_value_get_boxed (ref val), (Type) new GType (val.type), false); } public static explicit operator GLib.Boxed (Value val) { return new GLib.Boxed (g_value_get_boxed (ref val)); } public static explicit operator GLib.Object (Value val) { return GLib.Object.GetObject (g_value_get_object (ref val), false); } [Obsolete ("Replaced by GLib.Object cast")] public static explicit operator GLib.UnwrappedObject (Value val) { return new UnwrappedObject (g_value_get_object (ref val)); } public static explicit operator string[] (Value val) { IntPtr native_array = g_value_get_boxed (ref val); if (native_array == IntPtr.Zero) return null; int count = 0; while (Marshal.ReadIntPtr (native_array, count * IntPtr.Size) != IntPtr.Zero) count++; string[] strings = new string[count]; for (int i = 0; i < count; i++) strings[i] = GLib.Marshaller.Utf8PtrToString (Marshal.ReadIntPtr (native_array, i * IntPtr.Size)); return strings; } object ToBoxed () { IntPtr boxed_ptr = g_value_get_boxed (ref this); Type t = GType.LookupType (type); if (t == null) throw new Exception ("Unknown type " + new GType (type).ToString ()); else if (t.IsSubclassOf (typeof (GLib.Opaque))) return (GLib.Opaque) this; MethodInfo mi = t.GetMethod ("New", BindingFlags.Static | BindingFlags.Public | BindingFlags.FlattenHierarchy); if (mi == null) return Marshal.PtrToStructure (boxed_ptr, t); else return mi.Invoke (null, new object[] {boxed_ptr}); } public object Val { get { if (type == GType.Boolean.Val) return (bool) this; else if (type == GType.UChar.Val) return (byte) this; else if (type == GType.Char.Val) return (sbyte) this; else if (type == GType.Int.Val) return (int) this; else if (type == GType.UInt.Val) return (uint) this; else if (type == GType.Int64.Val) return (long) this; else if (type == GType.UInt64.Val) return (ulong) this; else if (g_type_is_a (type, GType.Enum.Val) || g_type_is_a (type, GType.Flags.Val)) return (Enum) this; else if (type == GType.Float.Val) return (float) this; else if (type == GType.Double.Val) return (double) this; else if (type == GType.String.Val) return (string) this; else if (type == GType.Pointer.Val) return (IntPtr) this; else if (type == GType.Param.Val) return g_value_get_param (ref this); else if (type == ManagedValue.GType.Val) return ManagedValue.ObjectForWrapper (g_value_get_boxed (ref this)); else if (g_type_is_a (type, GType.Object.Val)) return (GLib.Object) this; else if (g_type_is_a (type, GType.Boxed.Val)) return ToBoxed (); else if (type == IntPtr.Zero) return null; else throw new Exception ("Unknown type " + new GType (type).ToString ()); } set { if (type == GType.Boolean.Val) g_value_set_boolean (ref this, (bool) value); else if (type == GType.UChar.Val) g_value_set_uchar (ref this, (byte) value); else if (type == GType.Char.Val) g_value_set_char (ref this, (sbyte) value); else if (type == GType.Int.Val) g_value_set_int (ref this, (int) value); else if (type == GType.UInt.Val) g_value_set_uint (ref this, (uint) value); else if (type == GType.Int64.Val) g_value_set_int64 (ref this, (long) value); else if (type == GType.UInt64.Val) g_value_set_uint64 (ref this, (ulong) value); else if (g_type_is_a (type, GType.Enum.Val)) g_value_set_enum (ref this, (int)value); else if (g_type_is_a (type, GType.Flags.Val)) g_value_set_flags (ref this, (uint)(int)value); else if (type == GType.Float.Val) g_value_set_float (ref this, (float) value); else if (type == GType.Double.Val) g_value_set_double (ref this, (double) value); else if (type == GType.String.Val) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup ((string)value); g_value_set_string (ref this, native); GLib.Marshaller.Free (native); } else if (type == GType.Pointer.Val) { if (value is IntPtr) { g_value_set_pointer (ref this, (IntPtr) value); return; } else if (value is IWrapper) { g_value_set_pointer (ref this, ((IWrapper)value).Handle); return; } IntPtr buf = Marshal.AllocHGlobal (Marshal.SizeOf (value.GetType())); Marshal.StructureToPtr (value, buf, false); g_value_set_pointer (ref this, buf); } else if (type == GType.Param.Val) { g_value_set_param (ref this, (IntPtr) value); } else if (type == ManagedValue.GType.Val) { IntPtr wrapper = ManagedValue.WrapObject (value); g_value_set_boxed (ref this, wrapper); ManagedValue.ReleaseWrapper (wrapper); } else if (g_type_is_a (type, GType.Object.Val)) if(value is GLib.Object) g_value_set_object (ref this, (value as GLib.Object).Handle); else g_value_set_object (ref this, (value as GLib.GInterfaceAdapter).Handle); else if (g_type_is_a (type, GType.Boxed.Val)) { if (value is IWrapper) { g_value_set_boxed (ref this, ((IWrapper)value).Handle); return; } IntPtr buf = Marshaller.StructureToPtrAlloc (value); g_value_set_boxed (ref this, buf); Marshal.FreeHGlobal (buf); } else throw new Exception ("Unknown type " + new GType (type).ToString ()); } } internal void Update (object val) { if (g_type_is_a (type, GType.Boxed.Val) && !(val is IWrapper)) Marshal.StructureToPtr (val, g_value_get_boxed (ref this), false); } [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_value_init (ref GLib.Value val, IntPtr gtype); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_value_unset (ref GLib.Value val); [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_value_create_from_property(ref GLib.Value val, IntPtr obj, IntPtr name); [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_value_create_from_type_and_property(ref GLib.Value val, IntPtr gtype, IntPtr name); [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_value_create_from_type_name(ref GLib.Value val, IntPtr type_name); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_value_set_boolean (ref Value val, bool data); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_value_set_uchar (ref Value val, byte data); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_value_set_char (ref Value val, sbyte data); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_value_set_boxed (ref Value val, IntPtr data); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_value_set_double (ref Value val, double data); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_value_set_float (ref Value val, float data); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_value_set_int (ref Value val, int data); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_value_set_int64 (ref Value val, long data); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_value_set_uint64 (ref Value val, ulong data); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_value_set_object (ref Value val, IntPtr data); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_value_set_param (ref Value val, IntPtr data); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_value_set_pointer (ref Value val, IntPtr data); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_value_set_string (ref Value val, IntPtr data); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_value_set_uint (ref Value val, uint data); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_value_set_enum (ref Value val, int data); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_value_set_flags (ref Value val, uint data); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool g_value_get_boolean (ref Value val); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern byte g_value_get_uchar (ref Value val); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern sbyte g_value_get_char (ref Value val); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_value_get_boxed (ref Value val); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern double g_value_get_double (ref Value val); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern float g_value_get_float (ref Value val); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int g_value_get_int (ref Value val); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern long g_value_get_int64 (ref Value val); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern ulong g_value_get_uint64 (ref Value val); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_value_get_object (ref Value val); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_value_get_param (ref Value val); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_value_get_pointer (ref Value val); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_value_get_string (ref Value val); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern uint g_value_get_uint (ref Value val); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern int g_value_get_enum (ref Value val); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern uint g_value_get_flags (ref Value val); [DllImport("glibsharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern bool glibsharp_value_holds_flags (ref Value val); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool g_type_is_a (IntPtr type, IntPtr is_a_type); [DllImport("libgobject-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_strv_get_type (); } } gtk-sharp-2.12.40/glib/glib-sharp-2.0.pc.in0000664000175000017500000000044112767740470014713 00000000000000prefix=${pcfiledir}/../.. exec_prefix=${prefix} libdir=${exec_prefix}/lib gapidir=${prefix}/share/gapi-2.0 Name: GLib# Description: GLib# - .NET Binding for the glib library. Version: @VERSION@ Cflags: -I:${gapidir}/glib-api.xml Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/glib-sharp.dll gtk-sharp-2.12.40/pango/0000775000175000017500000000000012767740534011706 500000000000000gtk-sharp-2.12.40/pango/TabArray.custom0000664000175000017500000000327412767740470014574 00000000000000// Pango.TabArray.custom - Pango TabArray class customizations // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_free (IntPtr raw); [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void pango_tab_array_get_tabs (IntPtr raw, out IntPtr alignments, out IntPtr locations); public void GetTabs (out TabAlign[] alignments, out int[] locations) { int sz = Size; IntPtr align_ptr, loc_ptr; alignments = new TabAlign [sz]; locations = new int [sz]; int[] tmp = new int [sz]; if (sz == 0) return; pango_tab_array_get_tabs (Handle, out align_ptr, out loc_ptr); Marshal.Copy (loc_ptr, locations, 0, sz); Marshal.Copy (align_ptr, tmp, 0, sz); for (int i = 0; i < sz; i++) alignments [i] = (TabAlign) tmp [i]; g_free (align_ptr); g_free (loc_ptr); } gtk-sharp-2.12.40/pango/Units.custom0000664000175000017500000000236212767740470014166 00000000000000// Pango.Units.custom - Unit customizations. // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. private Units () {} [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int pangosharp_pixels (int units); [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int pangosharp_scale (); public static int FromPixels (int pixels) { return pixels * pangosharp_scale (); } public static int ToPixels (int units) { return pangosharp_pixels (units); } gtk-sharp-2.12.40/pango/pango-api.raw0000664000175000017500000032165512767740470014227 00000000000000 gtk-sharp-2.12.40/pango/ScriptIter.cs0000664000175000017500000000465212767740470014253 00000000000000// Pango.ScriptIter // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class ScriptIter : GLib.Opaque { IntPtr native_text; public ScriptIter(IntPtr raw) : base(raw) {} [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_script_iter_new(IntPtr text, int length); public ScriptIter (string text) { native_text = GLib.Marshaller.StringToPtrGStrdup (text); Raw = pango_script_iter_new (native_text, -1); } [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void pango_script_iter_free (IntPtr raw); ~ScriptIter () { GLib.Marshaller.Free (native_text); pango_script_iter_free (Raw); Raw = IntPtr.Zero; } [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void pango_script_iter_get_range (IntPtr raw, out IntPtr start, out IntPtr end, out Pango.Script script); [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr g_utf8_pointer_to_offset (IntPtr str, IntPtr pos); public void GetRange (out int start, out int len, out Pango.Script script) { IntPtr start_ptr; IntPtr end_ptr; pango_script_iter_get_range (Handle, out start_ptr, out end_ptr, out script); start = (int)g_utf8_pointer_to_offset (native_text, start_ptr); len = (int)g_utf8_pointer_to_offset (start_ptr, end_ptr); } [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool pango_script_iter_next (IntPtr raw); public bool Next () { return pango_script_iter_next (Handle); } [Obsolete ("Replaced by garbage collection")] public void Free () { } } } gtk-sharp-2.12.40/pango/AttrLanguage.cs0000664000175000017500000000275012767740470014536 00000000000000// Pango.AttrLanguage - Pango.Attribute for Pango.Language // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrLanguage : Attribute { [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_attr_language_new (IntPtr language); public AttrLanguage (Pango.Language language) : this (pango_attr_language_new (language.Handle)) {} internal AttrLanguage (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pangosharp_attr_language_get_value (IntPtr raw); public Pango.Language Language { get { IntPtr raw_ret = pangosharp_attr_language_get_value (Handle); return new Pango.Language (raw_ret); } } } } gtk-sharp-2.12.40/pango/GlyphString.custom0000664000175000017500000000233012767740470015331 00000000000000// Pango.GlyphString.custom - Pango GlyphString class customizations // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete("Pango.GlyphString is a reference type now, use null")] public static GlyphString Zero = null; [Obsolete("Replaced by GlyphString(IntPtr) constructor")] public static GlyphString New (IntPtr raw) { return new GlyphString (raw); } [Obsolete("Replaced by GlyphString() constructor")] public static GlyphString New () { return new GlyphString (); } gtk-sharp-2.12.40/pango/FontFamily.custom0000664000175000017500000000376212767740470015141 00000000000000// Pango.FontFamily.custom - Pango FontFamily class customizations // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_free (IntPtr raw); [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void pango_font_family_list_faces(IntPtr raw, out IntPtr faces, out int n_faces); public FontFace [] Faces { get { int count; IntPtr array_ptr; pango_font_family_list_faces (Handle, out array_ptr, out count); if (array_ptr == IntPtr.Zero) return new FontFace [0]; FontFace [] result = new FontFace [count]; for (int i = 0; i < count; i++) { IntPtr fam_ptr = Marshal.ReadIntPtr (array_ptr, i * IntPtr.Size); result [i] = GLib.Object.GetObject (fam_ptr) as FontFace; } g_free (array_ptr); return result; } } [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void pango_font_family_list_faces(IntPtr raw, IntPtr faces, out int n_faces); [Obsolete] public int ListFaces(Pango.FontFace faces) { int n_faces; pango_font_family_list_faces(Handle, faces.Handle, out n_faces); return n_faces; } gtk-sharp-2.12.40/pango/AttrUnderline.cs0000664000175000017500000000271012767740470014734 00000000000000// Pango.AttrUnderline - Pango.Attribute for Pango.Underline // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrUnderline : Attribute { [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_attr_underline_new (Pango.Underline underline); public AttrUnderline (Pango.Underline underline) : this (pango_attr_underline_new (underline)) {} internal AttrUnderline (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int pangosharp_attr_int_get_value (IntPtr raw); public Pango.Underline Underline { get { return (Pango.Underline)pangosharp_attr_int_get_value (Handle); } } } } gtk-sharp-2.12.40/pango/AttrWeight.cs0000664000175000017500000000263312767740470014242 00000000000000// Pango.AttrWeight - Pango.Attribute for Pango.Weight // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrWeight : Attribute { [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_attr_weight_new (Pango.Weight weight); public AttrWeight (Pango.Weight weight) : this (pango_attr_weight_new (weight)) {} internal AttrWeight (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int pangosharp_attr_int_get_value (IntPtr raw); public Pango.Weight Weight { get { return (Pango.Weight)pangosharp_attr_int_get_value (Handle); } } } } gtk-sharp-2.12.40/pango/AttrRise.cs0000664000175000017500000000254712767740470013721 00000000000000// Pango.AttrRise - Pango.Attribute for baseline displacement // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrRise : Attribute { [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_attr_rise_new (int rise); public AttrRise (int rise) : this (pango_attr_rise_new (rise)) {} internal AttrRise (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int pangosharp_attr_int_get_value (IntPtr raw); public int Rise { get { return pangosharp_attr_int_get_value (Handle); } } } } gtk-sharp-2.12.40/pango/Global.custom0000664000175000017500000000432212767740470014262 00000000000000// Pango.Global.custom - Pango Global class customizations // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool pango_scan_int(IntPtr pos, out int out_param); [Obsolete] public static bool ScanInt(string pos, out int out_param) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (pos); bool raw_ret = pango_scan_int(native, out out_param); GLib.Marshaller.Free (native); bool ret = raw_ret; return ret; } [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool pango_parse_markup (IntPtr markup, int length, uint accel_marker, out IntPtr attr_list_handle, out IntPtr text, out uint accel_char, IntPtr err); public static bool ParseMarkup (string markup, char accel_marker, out Pango.AttrList attrs, out string text, out char accel_char) { uint ucs4_accel_char; IntPtr text_as_native; IntPtr attrs_handle; IntPtr native_markup = GLib.Marshaller.StringToPtrGStrdup (markup); bool result = pango_parse_markup (native_markup, -1, GLib.Marshaller.CharToGUnichar (accel_marker), out attrs_handle, out text_as_native, out ucs4_accel_char, IntPtr.Zero); GLib.Marshaller.Free (native_markup); accel_char = GLib.Marshaller.GUnicharToChar (ucs4_accel_char); text = GLib.Marshaller.Utf8PtrToString (text_as_native); attrs = new Pango.AttrList (attrs_handle); return result; } gtk-sharp-2.12.40/pango/pango-symbols.xml0000664000175000017500000000057312654353766015151 00000000000000 gtk-sharp-2.12.40/pango/AttrShape.cs0000664000175000017500000000344612767740470014056 00000000000000// Pango.AttrShape - Pango.Attribute for shape restrictions // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrShape : Attribute { [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_attr_shape_new (ref Pango.Rectangle ink_rect, ref Pango.Rectangle logical_rect); public AttrShape (Pango.Rectangle ink_rect, Pango.Rectangle logical_rect) : this (pango_attr_shape_new (ref ink_rect, ref logical_rect)) {} internal AttrShape (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern Pango.Rectangle pangosharp_attr_shape_get_ink_rect (IntPtr raw); public Pango.Rectangle InkRect { get { return pangosharp_attr_shape_get_ink_rect (Handle); } } [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern Pango.Rectangle pangosharp_attr_shape_get_logical_rect (IntPtr raw); public Pango.Rectangle LogicalRect { get { return pangosharp_attr_shape_get_logical_rect (Handle); } } } } gtk-sharp-2.12.40/pango/Makefile.in0000664000175000017500000006445412767740507013710 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = pango ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = pango-sharp.dll.config CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(gapidir)" DATA = $(gapi_DATA) $(noinst_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in \ $(srcdir)/pango-sharp.dll.config.in \ $(top_srcdir)/Makefile.include DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = . glue @ENABLE_MONO_CAIRO_FALSE@local_mono_cairo = @ENABLE_MONO_CAIRO_TRUE@local_mono_cairo = $(top_builddir)/cairo/Mono.Cairo.dll pkg = pango METADATA = Pango.metadata SYMBOLS = pango-symbols.xml references = $(top_builddir)/glib/glib-sharp.dll $(local_mono_cairo) glue_includes = pango/pango.h sources = \ Attribute.cs \ AttrBackground.cs \ AttrFallback.cs \ AttrFamily.cs \ AttrFontDesc.cs \ AttrForeground.cs \ AttrGravity.cs \ AttrGravityHint.cs \ AttrLanguage.cs \ AttrLetterSpacing.cs \ AttrRise.cs \ AttrScale.cs \ AttrShape.cs \ AttrSize.cs \ AttrStretch.cs \ AttrStrikethroughColor.cs \ AttrStrikethrough.cs \ AttrStyle.cs \ AttrUnderlineColor.cs \ AttrUnderline.cs \ AttrVariant.cs \ AttrWeight.cs \ Scale.cs \ ScriptIter.cs customs = \ Analysis.custom \ AttrIterator.custom \ AttrList.custom \ Context.custom \ Coverage.custom \ FontFamily.custom \ FontMap.custom \ Global.custom \ GlyphItem.custom \ GlyphString.custom \ Item.custom \ Layout.custom \ LayoutLine.custom \ LayoutRun.custom \ Matrix.custom \ TabArray.custom \ Units.custom add_dist = SNK = gtk-sharp.snk API = $(pkg)-api.xml RAW_API = $(pkg)-api.raw ASSEMBLY_NAME = $(pkg)-sharp ASSEMBLY = $(ASSEMBLY_NAME).dll TARGET = $(pkg:=-sharp.dll) $(pkg:=-sharp.dll.config) $(POLICY_ASSEMBLIES) noinst_DATA = $(TARGET) TARGET_API = $(pkg:=-api.xml) gapidir = $(datadir)/gapi-2.0 gapi_DATA = $(TARGET_API) CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(POLICY_ASSEMBLIES) generated-stamp generated/*.cs $(API) glue/generated.c $(SNK) AssemblyInfo.cs $(POLICY_CONFIGS) DISTCLEANFILES = $(ASSEMBLY).config POLICY_ASSEMBLIES = $(addsuffix .$(ASSEMBLY), $(addprefix policy., $(POLICY_VERSIONS))) POLICY_CONFIGS = $(addsuffix .config, $(addprefix policy., $(POLICY_VERSIONS))) EXTRA_DIST = $(RAW_API) $(SYMBOLS) $(ASSEMBLY).config.in $(METADATA) $(customs) $(sources) $(add_dist) build_symbols = $(addprefix --symbols=$(srcdir)/, $(SYMBOLS)) build_customs = $(addprefix $(srcdir)/, $(customs)) api_includes = $(addprefix -I:, $(INCLUDE_API)) build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs build_references = $(addprefix -r:, $(references)) $(MONO_CAIRO_LIBS) all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.include $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign pango/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign pango/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_srcdir)/Makefile.include $(am__empty): $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): pango-sharp.dll.config: $(top_builddir)/config.status $(srcdir)/pango-sharp.dll.config.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-gapiDATA: $(gapi_DATA) @$(NORMAL_INSTALL) @list='$(gapi_DATA)'; test -n "$(gapidir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(gapidir)'"; \ $(MKDIR_P) "$(DESTDIR)$(gapidir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(gapidir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(gapidir)" || exit $$?; \ done uninstall-gapiDATA: @$(NORMAL_UNINSTALL) @list='$(gapi_DATA)'; test -n "$(gapidir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(gapidir)'; $(am__uninstall_files_from_dir) # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(DATA) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(gapidir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-data-local install-gapiDATA install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-gapiDATA uninstall-local .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am \ install-data-local install-dvi install-dvi-am install-exec \ install-exec-am install-gapiDATA install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs installdirs-am \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-am uninstall uninstall-am uninstall-gapiDATA \ uninstall-local .PRECIOUS: Makefile $(API): $(METADATA) $(RAW_API) $(SYMBOLS) $(top_builddir)/parser/gapi-fixup.exe cp $(srcdir)/$(RAW_API) $(API) chmod u+w $(API) @if test -n '$(METADATA)'; then \ echo "$(RUNTIME) $(top_builddir)/parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA) $(build_symbols)"; \ $(RUNTIME) $(top_builddir)/parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA) $(build_symbols); \ fi generated-stamp: $(API) $(INCLUDE_API) $(top_builddir)/generator/gapi_codegen.exe $(build_customs) rm -f generated/* && \ $(RUNTIME) $(top_builddir)/generator/gapi_codegen.exe --generate $(API) \ $(api_includes) \ --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \ --gluelib-name=$(pkg)sharpglue-2 --glue-filename=glue/generated.c \ --glue-includes=$(glue_includes) \ && touch generated-stamp $(SNK): $(top_srcdir)/$(SNK) cp $(top_srcdir)/$(SNK) . AssemblyInfo.cs: $(top_builddir)/AssemblyInfo.cs cp $(top_builddir)/AssemblyInfo.cs . policy.%.config: $(top_builddir)/policy.config sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$*/" $(top_builddir)/policy.config > $@ $(POLICY_ASSEMBLIES) : policy.%.$(ASSEMBLY): policy.%.config $(SNK) $(AL) -link:policy.$*.config -version:$* -out:$@ -keyfile:$(SNK) $(ASSEMBLY): generated-stamp $(SNK) $(build_sources) $(references) @rm -f $(ASSEMBLY).mdb $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -unsafe -out:$(ASSEMBLY) -target:library $(build_references) $(GENERATED_SOURCES) $(build_sources) install-data-local: @if test -n '$(pkg)'; then \ echo "$(GACUTIL) -i $(ASSEMBLY) -f $(GACUTIL_FLAGS)"; \ $(GACUTIL) -i $(ASSEMBLY) -f $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) -i policy.$$i.$(ASSEMBLY) -f $(GACUTIL_FLAGS)"; \ $(GACUTIL) -i policy.$$i.$(ASSEMBLY) -f $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi uninstall-local: @if test -n '$(pkg)'; then \ echo "$(GACUTIL) -u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) -u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/pango/Item.custom0000664000175000017500000000222212767740470013755 00000000000000// Pango.Item.custom - Pango Item class customizations // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete("Pango.Item is a reference type now, use null")] public static Item Zero = null; [Obsolete("Replaced by Item(IntPtr) constructor")] public static Item New (IntPtr raw) { return new Item (raw); } [Obsolete("Replaced by Item() constructor")] public static Item New () { return new Item (); } gtk-sharp-2.12.40/pango/Pango.metadata0000664000175000017500000003155112767740470014400 00000000000000 call true 1 1 1 1 1 true 1 true GetHash 1 1 1 1 1 out out out out out 1 ref ref ref ref 1 1 1 1 VersionCheck VersionString 1 CairoHelper libpangocairo-1.0-0.dll 1 1 ref 1 1 1 1 ref 1 1 ref 1 1 1 1 true 1 true 1 1 call 1 out out true 1 PangoLayoutLine* GetLinesReadOnly PangoLayoutLine* 1 out out out true out 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 false private ref ref 1 1 1 1 1 /api/namespace/class[@name='Global'] /api/namespace/class[@name='Global'] 1 true out true true true true true true true gtk-sharp-2.12.40/pango/Matrix.custom0000664000175000017500000000206312767740470014326 00000000000000// Pango.Matrix.custom - Pango Matrix class customizations // // Authors: John Luke // // Copyright (c) 2005 John Luke. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. static Matrix () { Identity.Xx = 1.0; Identity.Xy = 0.0; Identity.Yx = 0.0; Identity.Yy = 1.0; Identity.X0 = 0.0; Identity.Y0 = 0.0; } public static Matrix Identity; gtk-sharp-2.12.40/pango/AttrIterator.custom0000664000175000017500000000474412767740470015516 00000000000000// Pango.AttrIterator.custom - Pango AttrIterator class customizations // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void pango_attr_iterator_get_font(IntPtr raw, IntPtr desc, out IntPtr language, out IntPtr extra_attrs); public void GetFont (out Pango.FontDescription desc, out Pango.Language language, out Pango.Attribute[] extra_attrs) { desc = new FontDescription (); IntPtr language_handle, list_handle; pango_attr_iterator_get_font (Handle, desc.Handle, out language_handle, out list_handle); desc.Family = desc.Family; // change static string to allocated one language = language_handle == IntPtr.Zero ? null : new Language (language_handle); if (list_handle == IntPtr.Zero) { extra_attrs = new Pango.Attribute [0]; return; } GLib.SList list = new GLib.SList (list_handle, typeof(IntPtr), true, false); extra_attrs = new Pango.Attribute [list.Count]; int i = 0; foreach (IntPtr raw_attr in list) extra_attrs [i++] = Pango.Attribute.GetAttribute (raw_attr, true); } [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_attr_iterator_get_attrs (IntPtr raw); public Pango.Attribute[] Attrs { get { IntPtr list_handle = pango_attr_iterator_get_attrs (Handle); if (list_handle == IntPtr.Zero) return new Pango.Attribute [0]; GLib.SList list = new GLib.SList (list_handle, typeof(IntPtr), true, false); Pango.Attribute[] attrs = new Pango.Attribute [list.Count]; int i = 0; foreach (IntPtr raw_attr in list) attrs [i++] = Pango.Attribute.GetAttribute (raw_attr, true); return attrs; } } gtk-sharp-2.12.40/pango/FontMap.custom0000664000175000017500000000403112767740470014423 00000000000000// Pango.FontMap.custom - Pango FontMap class customizations // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_free (IntPtr raw); [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void pango_font_map_list_families(IntPtr raw, out IntPtr families, out int n_families); public FontFamily [] Families { get { int count; IntPtr array_ptr; pango_font_map_list_families (Handle, out array_ptr, out count); if (array_ptr == IntPtr.Zero) return new FontFamily [0]; FontFamily [] result = new FontFamily [count]; for (int i = 0; i < count; i++) { IntPtr fam_ptr = Marshal.ReadIntPtr (array_ptr, i * IntPtr.Size); result [i] = GLib.Object.GetObject (fam_ptr) as FontFamily; } g_free (array_ptr); return result; } } [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void pango_font_map_list_families(IntPtr raw, IntPtr families, out int n_families); [Obsolete] public int ListFamilies(Pango.FontFamily families) { int n_families; pango_font_map_list_families(Handle, families.Handle, out n_families); return n_families; } gtk-sharp-2.12.40/pango/AttrFamily.cs0000664000175000017500000000326112767740470014232 00000000000000// Pango.AttrFamily - Pango.Attribute for font families // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrFamily : Attribute { [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_attr_family_new (IntPtr family); public AttrFamily (string family) : base (NewAttrFamily (family)) {} static IntPtr NewAttrFamily (string family) { IntPtr family_raw = GLib.Marshaller.StringToPtrGStrdup (family); IntPtr attr_raw = pango_attr_family_new (family_raw); GLib.Marshaller.Free (family_raw); return attr_raw; } internal AttrFamily (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pangosharp_attr_string_get_value (IntPtr raw); public string Family { get { IntPtr raw_family = pangosharp_attr_string_get_value (Handle); return GLib.Marshaller.Utf8PtrToString (raw_family); } } } } gtk-sharp-2.12.40/pango/AttrUnderlineColor.cs0000664000175000017500000000317312767740470015737 00000000000000// Pango.AttrUnderlineColor - Pango.Attribute for underline color // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrUnderlineColor : Attribute { [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_attr_underline_color_new (ushort red, ushort green, ushort blue); public AttrUnderlineColor (ushort red, ushort green, ushort blue) : this (pango_attr_underline_color_new (red, green, blue)) {} public AttrUnderlineColor (Pango.Color color) : this (pango_attr_underline_color_new (color.Red, color.Green, color.Blue)) {} internal AttrUnderlineColor (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern Pango.Color pangosharp_attr_color_get_color (IntPtr raw); public Pango.Color Color { get { return pangosharp_attr_color_get_color (Handle); } } } } gtk-sharp-2.12.40/pango/AttrScale.cs0000664000175000017500000000257312767740470014045 00000000000000// Pango.AttrScale - Pango.Attribute for font size scale // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrScale : Attribute { [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_attr_scale_new (double scale); public AttrScale (double scale) : this (pango_attr_scale_new (scale)) {} internal AttrScale (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern double pangosharp_attr_float_get_value (IntPtr raw); public double Scale { get { return pangosharp_attr_float_get_value (Handle); } } } } gtk-sharp-2.12.40/pango/AttrStyle.cs0000664000175000017500000000261412767740470014112 00000000000000// Pango.AttrStyle - Pango.Attribute for Pango.Style // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrStyle : Attribute { [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_attr_style_new (Pango.Style style); public AttrStyle (Pango.Style style) : this (pango_attr_style_new (style)) {} internal AttrStyle (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int pangosharp_attr_int_get_value (IntPtr raw); public Pango.Style Style { get { return (Pango.Style)pangosharp_attr_int_get_value (Handle); } } } } gtk-sharp-2.12.40/pango/AttrVariant.cs0000664000175000017500000000265212767740470014420 00000000000000// Pango.AttrVariant - Pango.Attribute for Pango.Variant // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrVariant : Attribute { [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_attr_variant_new (Pango.Variant variant); public AttrVariant (Pango.Variant variant) : this (pango_attr_variant_new (variant)) {} internal AttrVariant (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int pangosharp_attr_int_get_value (IntPtr raw); public Pango.Variant Variant { get { return (Pango.Variant)pangosharp_attr_int_get_value (Handle); } } } } gtk-sharp-2.12.40/pango/Scale.cs0000664000175000017500000000313212767740470013202 00000000000000// Scale.cs // // Author: Daniel Morgan // // Copyright (C) 2002 Daniel Morgan // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. using System; namespace Pango { public sealed class Scale { public static readonly double PangoScale = 1024.0; public static readonly double XXSmall = 0.5787037037037; public static readonly double XSmall = 0.6444444444444; public static readonly double Small = 0.8333333333333; public static readonly double Medium = 1.0; public static readonly double Large = 1.2; public static readonly double XLarge = 1.4399999999999; public static readonly double XXLarge = 1.728; [Obsolete ("Replaced by XXSmall")] public static readonly double XX_Small = XXSmall; [Obsolete ("Replaced by XSmall")] public static readonly double X_Small = XSmall; [Obsolete ("Replaced by XLarge")] public static readonly double X_Large = XLarge; [Obsolete ("Replaced by XXLarge")] public static readonly double XX_Large = XXLarge; } } gtk-sharp-2.12.40/pango/AttrForeground.cs0000664000175000017500000000313112767740470015117 00000000000000// Pango.AttrForeground - Pango.Attribute for foreground color // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrForeground : Attribute { [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_attr_foreground_new (ushort red, ushort green, ushort blue); public AttrForeground (ushort red, ushort green, ushort blue) : this (pango_attr_foreground_new (red, green, blue)) {} public AttrForeground (Pango.Color color) : this (pango_attr_foreground_new (color.Red, color.Green, color.Blue)) {} internal AttrForeground (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern Pango.Color pangosharp_attr_color_get_color (IntPtr raw); public Pango.Color Color { get { return pangosharp_attr_color_get_color (Handle); } } } } gtk-sharp-2.12.40/pango/LayoutLine.custom0000664000175000017500000000336212767740470015152 00000000000000// Pango.LayoutLine.custom - Pango LayoutLine class customizations // // Authors: Jeroen Zwartepoorte // // Copyright (c) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. #if NOT_BROKEN [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void pango_layout_line_get_x_ranges(IntPtr raw, int start_index, int end_index, out IntPtr ranges_handle, out int n_ranges); #endif public void GetXRanges(int start_index, int end_index, out int[][] ranges) { // FIXME: this is broken throw new NotImplementedException (); #if NOT_BROKEN int count; IntPtr array_ptr; pango_layout_line_get_x_ranges(Handle, start_index, end_index, out array_ptr, out count); ranges = new int[count] []; for (int i = 0; i < count; i++) { IntPtr tmp = new IntPtr (array_ptr + 2 * i * IntPtr.Size); IntPtr rng_ptr = Marshal.ReadIntPtr (tmp); IntPtr end_ptr = Marshal.ReadIntPtr (tmp, IntPtr.Size); } Marshal.Copy (array_ptr, ranges, 0, count); g_free (array_ptr); #endif } gtk-sharp-2.12.40/pango/Layout.custom0000664000175000017500000000702512767740470014342 00000000000000// Pango.Layout.custom - Pango Layout class customizations // // Authors: Pedro Abelleira Seco // Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_layout_get_lines(IntPtr raw); public LayoutLine[] Lines { get { IntPtr list_ptr = pango_layout_get_lines(Handle); if (list_ptr == IntPtr.Zero) return new LayoutLine [0]; GLib.SList list = new GLib.SList(list_ptr, typeof (IntPtr)); LayoutLine[] result = new LayoutLine [list.Count]; int i = 0; foreach (IntPtr item in list) result[i++] = new LayoutLine (item); return result; } } [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void pango_layout_set_markup_with_accel (IntPtr raw, IntPtr markup, int length, uint accel_marker, out uint accel_char); public void SetMarkupWithAccel (string markup, char accel_marker, out char accel_char) { uint ucs4_accel_char; IntPtr native_markup = GLib.Marshaller.StringToPtrGStrdup (markup); pango_layout_set_markup_with_accel (Handle, native_markup, -1, GLib.Marshaller.CharToGUnichar (accel_marker), out ucs4_accel_char); GLib.Marshaller.Free (native_markup); accel_char = GLib.Marshaller.GUnicharToChar (ucs4_accel_char); } [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_free (IntPtr raw); [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void pango_layout_get_log_attrs (IntPtr raw, out IntPtr attrs, out int n_attrs); public LogAttr [] LogAttrs { get { int count; IntPtr array_ptr; pango_layout_get_log_attrs (Handle, out array_ptr, out count); if (array_ptr == IntPtr.Zero) return new LogAttr [0]; LogAttr [] result = new LogAttr [count]; for (int i = 0; i < count; i++) { IntPtr fam_ptr = Marshal.ReadIntPtr (array_ptr, i * IntPtr.Size); result [i] = LogAttr.New (fam_ptr); } g_free (array_ptr); return result; } } [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void pango_layout_set_text (IntPtr raw, IntPtr text, int length); public void SetText (string text) { IntPtr native_text = GLib.Marshaller.StringToPtrGStrdup (text); pango_layout_set_text (Handle, native_text, -1); GLib.Marshaller.Free (native_text); } [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void pango_layout_set_markup (IntPtr raw, IntPtr markup, int length); public void SetMarkup (string markup) { IntPtr native_markup = GLib.Marshaller.StringToPtrGStrdup (markup); pango_layout_set_markup (Handle, native_markup, -1); GLib.Marshaller.Free (native_markup); } gtk-sharp-2.12.40/pango/AttrStretch.cs0000664000175000017500000000265212767740470014430 00000000000000// Pango.AttrStretch - Pango.Attribute for Pango.Stretch // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrStretch : Attribute { [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_attr_stretch_new (Pango.Stretch stretch); public AttrStretch (Pango.Stretch stretch) : this (pango_attr_stretch_new (stretch)) {} internal AttrStretch (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int pangosharp_attr_int_get_value (IntPtr raw); public Pango.Stretch Stretch { get { return (Pango.Stretch)pangosharp_attr_int_get_value (Handle); } } } } gtk-sharp-2.12.40/pango/AttrStrikethrough.cs0000664000175000017500000000270112767740470015651 00000000000000// Pango.AttrStrikethrough - Pango.Attribute for strikethrough // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrStrikethrough : Attribute { [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_attr_strikethrough_new (bool strikethrough); public AttrStrikethrough (bool strikethrough) : this (pango_attr_strikethrough_new (strikethrough)) {} internal AttrStrikethrough (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int pangosharp_attr_int_get_value (IntPtr raw); public bool Strikethrough { get { return pangosharp_attr_int_get_value (Handle) != 0; } } } } gtk-sharp-2.12.40/pango/AttrFallback.cs0000664000175000017500000000261712767740470014514 00000000000000// Pango.AttrFallback - Pango.Attribute for font fallback // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrFallback : Attribute { [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_attr_fallback_new (bool fallback); public AttrFallback (bool fallback) : this (pango_attr_fallback_new (fallback)) {} internal AttrFallback (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int pangosharp_attr_int_get_value (IntPtr raw); public bool Fallback { get { return pangosharp_attr_int_get_value (Handle) != 0; } } } } gtk-sharp-2.12.40/pango/Analysis.custom0000664000175000017500000000420712767740470014647 00000000000000// Pango.Analysis.custom - Pango Analysis class customizations // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. public Attribute[] ExtraAttrs { get { GLib.SList list = new GLib.SList (_extra_attrs, typeof (IntPtr)); Attribute[] result = new Attribute [list.Count]; int i = 0; foreach (IntPtr attr in list) result [i++] = Attribute.GetAttribute (attr); return result; } } [Obsolete ("Replaced by ShapeEngine property")] public Pango.EngineShape shape_engine { get { return _shape_engine == IntPtr.Zero ? null : new Pango.EngineShape(_shape_engine); } set { _shape_engine = value == null ? IntPtr.Zero : value.Handle; } } [Obsolete ("Replaced by LangEngine property")] public Pango.EngineLang lang_engine { get { return _lang_engine == IntPtr.Zero ? null : new Pango.EngineLang(_lang_engine); } set { _lang_engine = value == null ? IntPtr.Zero : value.Handle; } } [Obsolete ("Replaced by Font property")] public Pango.Font font { get { return GLib.Object.GetObject(_font) as Pango.Font; } set { _font = value == null ? IntPtr.Zero : value.Handle; } } [Obsolete ("Replaced by Language property")] public Pango.Language language { get { return _language == IntPtr.Zero ? null : new Pango.Language(_language); } set { _language = value == null ? IntPtr.Zero : value.Handle; } } gtk-sharp-2.12.40/pango/AttrBackground.cs0000664000175000017500000000313112767740470015064 00000000000000// Pango.AttrBackground - Pango.Attribute for background color // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrBackground : Attribute { [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_attr_background_new (ushort red, ushort green, ushort blue); public AttrBackground (ushort red, ushort green, ushort blue) : this (pango_attr_background_new (red, green, blue)) {} public AttrBackground (Pango.Color color) : this (pango_attr_background_new (color.Red, color.Green, color.Blue)) {} internal AttrBackground (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern Pango.Color pangosharp_attr_color_get_color (IntPtr raw); public Pango.Color Color { get { return pangosharp_attr_color_get_color (Handle); } } } } gtk-sharp-2.12.40/pango/LayoutRun.custom0000664000175000017500000000204612767740470015025 00000000000000// Pango.LayoutRun.custom - Pango.LayoutRun class customizations // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Replaced by Glyphs property")] public Pango.GlyphString glyphs { get { return Glyphs; } } [Obsolete ("Replaced by Item property")] public Pango.Item item { get { return Item; } } gtk-sharp-2.12.40/pango/AttrStrikethroughColor.cs0000664000175000017500000000323712767740470016655 00000000000000// Pango.AttrStrikethroughColor - Pango.Attribute for strikethrough color // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrStrikethroughColor : Attribute { [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_attr_strikethrough_color_new (ushort red, ushort green, ushort blue); public AttrStrikethroughColor (ushort red, ushort green, ushort blue) : this (pango_attr_strikethrough_color_new (red, green, blue)) {} public AttrStrikethroughColor (Pango.Color color) : this (pango_attr_strikethrough_color_new (color.Red, color.Green, color.Blue)) {} internal AttrStrikethroughColor (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern Pango.Color pangosharp_attr_color_get_color (IntPtr raw); public Pango.Color Color { get { return pangosharp_attr_color_get_color (Handle); } } } } gtk-sharp-2.12.40/pango/AttrFontDesc.cs0000664000175000017500000000326312767740470014520 00000000000000// Pango.AttrFontDesc - Pango.Attribute for Pango.FontDescription // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrFontDesc : Attribute { [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_attr_font_desc_new (IntPtr font_desc); [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_font_description_copy(IntPtr raw); public AttrFontDesc (Pango.FontDescription font_desc) : this (pango_attr_font_desc_new (pango_font_description_copy (font_desc.Handle))) {} internal AttrFontDesc (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pangosharp_attr_font_desc_get_desc (IntPtr raw); public Pango.FontDescription Desc { get { IntPtr raw_ret = pangosharp_attr_font_desc_get_desc (Handle); return new Pango.FontDescription (raw_ret); } } } } gtk-sharp-2.12.40/pango/AttrLetterSpacing.cs0000664000175000017500000000270612767740470015560 00000000000000// Pango.AttrLetterSpacing - Pango.Attribute for baseline displacement // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrLetterSpacing : Attribute { [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_attr_letter_spacing_new (int letter_spacing); public AttrLetterSpacing (int letter_spacing) : this (pango_attr_letter_spacing_new (letter_spacing)) {} internal AttrLetterSpacing (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int pangosharp_attr_int_get_value (IntPtr raw); public int LetterSpacing { get { return pangosharp_attr_int_get_value (Handle); } } } } gtk-sharp-2.12.40/pango/Coverage.custom0000664000175000017500000000264012767740470014616 00000000000000// Pango.Coverage.custom - Pango Coverage class customizations // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_free (IntPtr raw); [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void pango_coverage_to_bytes (IntPtr raw, out IntPtr bytes, out int n_bytes); public void ToBytes(out byte[] bytes) { int count; IntPtr array_ptr; pango_coverage_to_bytes (Handle, out array_ptr, out count); bytes = new byte [count]; Marshal.Copy (array_ptr, bytes, 0, count); g_free (array_ptr); } gtk-sharp-2.12.40/pango/AttrList.custom0000664000175000017500000000310712767740470014630 00000000000000// Pango.AttrList.custom - Pango AttrList customizations // // Authors: Mike Kestner // // Copyright (c) 2008 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_attribute_copy (IntPtr raw); [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void pango_attr_list_insert (IntPtr raw, IntPtr attr); public void Insert (Pango.Attribute attr) { pango_attr_list_insert (Handle, pango_attribute_copy (attr.Handle)); } [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void pango_attr_list_insert_before (IntPtr raw, IntPtr attr); public void InsertBefore (Pango.Attribute attr) { pango_attr_list_insert_before (Handle, pango_attribute_copy (attr.Handle)); } gtk-sharp-2.12.40/pango/pango-sharp.dll.config.in0000664000175000017500000000060112654353766016412 00000000000000 gtk-sharp-2.12.40/pango/Makefile.am0000664000175000017500000000221712767740470013663 00000000000000SUBDIRS = . glue if ENABLE_MONO_CAIRO local_mono_cairo=$(top_builddir)/cairo/Mono.Cairo.dll else local_mono_cairo= endif pkg = pango METADATA = Pango.metadata SYMBOLS = pango-symbols.xml references = $(top_builddir)/glib/glib-sharp.dll $(local_mono_cairo) glue_includes = pango/pango.h sources = \ Attribute.cs \ AttrBackground.cs \ AttrFallback.cs \ AttrFamily.cs \ AttrFontDesc.cs \ AttrForeground.cs \ AttrGravity.cs \ AttrGravityHint.cs \ AttrLanguage.cs \ AttrLetterSpacing.cs \ AttrRise.cs \ AttrScale.cs \ AttrShape.cs \ AttrSize.cs \ AttrStretch.cs \ AttrStrikethroughColor.cs \ AttrStrikethrough.cs \ AttrStyle.cs \ AttrUnderlineColor.cs \ AttrUnderline.cs \ AttrVariant.cs \ AttrWeight.cs \ Scale.cs \ ScriptIter.cs customs = \ Analysis.custom \ AttrIterator.custom \ AttrList.custom \ Context.custom \ Coverage.custom \ FontFamily.custom \ FontMap.custom \ Global.custom \ GlyphItem.custom \ GlyphString.custom \ Item.custom \ Layout.custom \ LayoutLine.custom \ LayoutRun.custom \ Matrix.custom \ TabArray.custom \ Units.custom add_dist = include $(top_srcdir)/Makefile.include gtk-sharp-2.12.40/pango/AttrGravityHint.cs0000664000175000017500000000266412767740470015267 00000000000000// Pango.AttrGravityHint - Pango.Attribute for GravityHint // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrGravityHint : Attribute { [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_attr_gravity_hint_new (int hint); public AttrGravityHint (GravityHint hint) : this (pango_attr_gravity_hint_new ((int) hint)) {} internal AttrGravityHint (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int pangosharp_attr_int_get_value (IntPtr raw); public GravityHint GravityHint { get { return (GravityHint) pangosharp_attr_int_get_value (Handle); } } } } gtk-sharp-2.12.40/pango/AttrGravity.cs0000664000175000017500000000261712767740470014442 00000000000000// Pango.AttrGravity - Pango.Attribute for Gravity // // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrGravity : Attribute { [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_attr_gravity_new (int gravity); public AttrGravity (Gravity gravity) : this (pango_attr_gravity_new ((int) gravity)) {} internal AttrGravity (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int pangosharp_attr_int_get_value (IntPtr raw); public Gravity Gravity { get { return (Gravity) pangosharp_attr_int_get_value (Handle); } } } } gtk-sharp-2.12.40/pango/AttrSize.cs0000664000175000017500000000354612767740470013731 00000000000000// Pango.AttrSize - Pango.Attribute for font size // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class AttrSize : Attribute { [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_attr_size_new (int size); [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_attr_size_new_absolute (int size); public AttrSize (int size) : this (pango_attr_size_new (size)) {} public AttrSize (int size, bool absolute) : this (absolute ? pango_attr_size_new (size) : pango_attr_size_new_absolute (size)) {} internal AttrSize (IntPtr raw) : base (raw) {} [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern int pangosharp_attr_size_get_size (IntPtr raw); public int Size { get { return pangosharp_attr_size_get_size (Handle); } } [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern bool pangosharp_attr_size_get_absolute (IntPtr raw); public bool Absolute { get { return pangosharp_attr_size_get_absolute (Handle); } } } } gtk-sharp-2.12.40/pango/Context.custom0000664000175000017500000000402512767740470014506 00000000000000// Pango.Context.custom - Pango Context class customizations // // Authors: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libglib-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void g_free (IntPtr raw); [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void pango_context_list_families(IntPtr raw, out IntPtr families, out int n_families); public FontFamily [] Families { get { int count; IntPtr array_ptr; pango_context_list_families (Handle, out array_ptr, out count); if (array_ptr == IntPtr.Zero) return new FontFamily [0]; FontFamily [] result = new FontFamily [count]; for (int i = 0; i < count; i++) { IntPtr fam_ptr = Marshal.ReadIntPtr (array_ptr, i * IntPtr.Size); result [i] = GLib.Object.GetObject (fam_ptr) as FontFamily; } g_free (array_ptr); return result; } } [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void pango_context_list_families(IntPtr raw, IntPtr families, out int n_families); [Obsolete] public int ListFamilies(Pango.FontFamily families) { int n_families; pango_context_list_families(Handle, families.Handle, out n_families); return n_families; } gtk-sharp-2.12.40/pango/Attribute.cs0000664000175000017500000001220512767740470014117 00000000000000// Pango.Attribute - Attribute "base class" // // Copyright (c) 2005, 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Pango { using System; using System.Runtime.InteropServices; public class Attribute : GLib.IWrapper, IDisposable { IntPtr raw; bool owned; internal Attribute (IntPtr raw) { this.raw = raw; } [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern Pango.AttrType pangosharp_attribute_get_attr_type (IntPtr raw); public static Attribute GetAttribute (IntPtr raw, bool owned) { Attribute attr; switch (pangosharp_attribute_get_attr_type (raw)) { case Pango.AttrType.Language: attr = new AttrLanguage (raw); break; case Pango.AttrType.Family: attr = new AttrFamily (raw); break; case Pango.AttrType.Style: attr = new AttrStyle (raw); break; case Pango.AttrType.Weight: attr = new AttrWeight (raw); break; case Pango.AttrType.Variant: attr = new AttrVariant (raw); break; case Pango.AttrType.Stretch: attr = new AttrStretch (raw); break; case Pango.AttrType.Size: attr = new AttrSize (raw); break; case Pango.AttrType.FontDesc: attr = new AttrFontDesc (raw); break; case Pango.AttrType.Foreground: attr = new AttrForeground (raw); break; case Pango.AttrType.Background: attr = new AttrBackground (raw); break; case Pango.AttrType.Underline: attr = new AttrUnderline (raw); break; case Pango.AttrType.Strikethrough: attr = new AttrStrikethrough (raw); break; case Pango.AttrType.Rise: attr = new AttrRise (raw); break; case Pango.AttrType.Shape: attr = new AttrShape (raw); break; case Pango.AttrType.Scale: attr = new AttrScale (raw); break; case Pango.AttrType.Fallback: attr = new AttrFallback (raw); break; #if GTK_SHARP_2_6 case Pango.AttrType.LetterSpacing: attr = new AttrLetterSpacing (raw); break; case Pango.AttrType.UnderlineColor: attr = new AttrUnderlineColor (raw); break; case Pango.AttrType.StrikethroughColor: attr = new AttrStrikethroughColor (raw); break; #endif #if GTK_SHARP_2_12 case Pango.AttrType.Gravity: attr = new AttrGravity (raw); break; case Pango.AttrType.GravityHint: attr = new AttrGravityHint (raw); break; #endif default: attr = new Attribute (raw); break; } attr.owned = owned; return attr; } public static Attribute GetAttribute (IntPtr raw) { return GetAttribute (raw, false); } [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void pango_attribute_destroy (IntPtr raw); ~Attribute () { Dispose (); } public void Dispose () { if (!owned) return; if (raw != IntPtr.Zero) { pango_attribute_destroy (raw); raw = IntPtr.Zero; } } public IntPtr Handle { get { return raw; } } public static GLib.GType GType { get { return GLib.GType.Pointer; } } public Pango.AttrType Type { get { return pangosharp_attribute_get_attr_type (raw); } } [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint pangosharp_attribute_get_start_index (IntPtr raw); [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void pangosharp_attribute_set_start_index (IntPtr raw, uint index); public uint StartIndex { get { return pangosharp_attribute_get_start_index (raw); } set { pangosharp_attribute_set_start_index (raw, value); } } [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern uint pangosharp_attribute_get_end_index (IntPtr raw); [DllImport("pangosharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern void pangosharp_attribute_set_end_index (IntPtr raw, uint index); public uint EndIndex { get { return pangosharp_attribute_get_end_index (raw); } set { pangosharp_attribute_set_end_index (raw, value); } } [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_attribute_copy (IntPtr raw); public Pango.Attribute Copy () { return GetAttribute (pango_attribute_copy (raw), true); } [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern bool pango_attribute_equal (IntPtr raw1, IntPtr raw2); public bool Equal (Pango.Attribute attr2) { return pango_attribute_equal (raw, attr2.raw); } } } gtk-sharp-2.12.40/pango/glue/0000775000175000017500000000000012767740534012642 500000000000000gtk-sharp-2.12.40/pango/glue/attribute.c0000664000175000017500000000656512767740470014744 00000000000000/* attribute.c : Glue to access fields in PangoAttribute and * subclasses. * * Copyright (c) 2005 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ PangoAttrType pangosharp_attribute_get_attr_type (PangoAttribute *attr); guint pangosharp_attribute_get_start_index (PangoAttribute *attr); void pangosharp_attribute_set_start_index (PangoAttribute *attr, guint ind); guint pangosharp_attribute_get_end_index (PangoAttribute *attr); void pangosharp_attribute_set_end_index (PangoAttribute *attr, guint ind); const char *pangosharp_attr_string_get_value (PangoAttrString *attr); PangoLanguage *pangosharp_attr_language_get_value (PangoAttrLanguage *attr); PangoColor pangosharp_attr_color_get_color (PangoAttrColor *attr); int pangosharp_attr_int_get_value (PangoAttrInt *attr); double pangosharp_attr_float_get_value (PangoAttrFloat *attr); PangoFontDescription *pangosharp_attr_font_desc_get_desc (PangoAttrFontDesc *attr); PangoRectangle pangosharp_attr_shape_get_ink_rect (PangoAttrShape *attr); PangoRectangle pangosharp_attr_shape_get_logical_rect (PangoAttrShape *attr); #ifdef GTK_SHARP_2_6 int pangosharp_attr_size_get_size (PangoAttrSize *attr); gboolean pangosharp_attr_size_get_absolute (PangoAttrSize *attr); #endif /* */ PangoAttrType pangosharp_attribute_get_attr_type (PangoAttribute *attr) { return attr->klass->type; } guint pangosharp_attribute_get_start_index (PangoAttribute *attr) { return attr->start_index; } void pangosharp_attribute_set_start_index (PangoAttribute *attr, guint ind) { attr->start_index = ind; } guint pangosharp_attribute_get_end_index (PangoAttribute *attr) { return attr->end_index; } void pangosharp_attribute_set_end_index (PangoAttribute *attr, guint ind) { attr->end_index = ind; } const char * pangosharp_attr_string_get_value (PangoAttrString *attr) { return attr->value; } PangoLanguage * pangosharp_attr_language_get_value (PangoAttrLanguage *attr) { return attr->value; } PangoColor pangosharp_attr_color_get_color (PangoAttrColor *attr) { return attr->color; } int pangosharp_attr_int_get_value (PangoAttrInt *attr) { return attr->value; } double pangosharp_attr_float_get_value (PangoAttrFloat *attr) { return attr->value; } PangoFontDescription * pangosharp_attr_font_desc_get_desc (PangoAttrFontDesc *attr) { return attr->desc; } PangoRectangle pangosharp_attr_shape_get_ink_rect (PangoAttrShape *attr) { return attr->ink_rect; } PangoRectangle pangosharp_attr_shape_get_logical_rect (PangoAttrShape *attr) { return attr->logical_rect; } #ifdef GTK_SHARP_2_6 int pangosharp_attr_size_get_size (PangoAttrSize *attr) { return attr->size; } gboolean pangosharp_attr_size_get_absolute (PangoAttrSize *attr) { return attr->absolute; } #endif gtk-sharp-2.12.40/pango/glue/win32dll.c0000664000175000017500000000044312654353766014367 00000000000000#define WIN32_LEAN_AND_MEAN #include #undef WIN32_LEAN_AND_MEAN #include BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) { return TRUE; } /* BOOL APIENTRY DllMainCRTStartup (HINSTANCE hInst, DWORD reason, LPVOID reserved) { return TRUE; } */ gtk-sharp-2.12.40/pango/glue/Makefile.in0000664000175000017500000005351312767740507014636 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = pango/glue ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(libdir)" LTLIBRARIES = $(lib_LTLIBRARIES) am__DEPENDENCIES_1 = libpangosharpglue_2_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am_libpangosharpglue_2_la_OBJECTS = attribute.lo units.lo nodist_libpangosharpglue_2_la_OBJECTS = generated.lo libpangosharpglue_2_la_OBJECTS = $(am_libpangosharpglue_2_la_OBJECTS) \ $(nodist_libpangosharpglue_2_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = libpangosharpglue_2_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(AM_CFLAGS) $(CFLAGS) $(libpangosharpglue_2_la_LDFLAGS) \ $(LDFLAGS) -o $@ AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(libpangosharpglue_2_la_SOURCES) \ $(nodist_libpangosharpglue_2_la_SOURCES) DIST_SOURCES = $(libpangosharpglue_2_la_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ lib_LTLIBRARIES = libpangosharpglue-2.la libpangosharpglue_2_la_SOURCES = \ attribute.c \ units.c nodist_libpangosharpglue_2_la_SOURCES = generated.c # Adding a new glue file? libpangosharpglue_2_la_LDFLAGS = -module -avoid-version -no-undefined libpangosharpglue_2_la_LIBADD = $(PANGO_LIBS) INCLUDES = $(PANGO_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir) CLEANFILES = lib*.a lib*.dll EXTRA_DIST = win32dll.c all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign pango/glue/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign pango/glue/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ list2=; for p in $$list; do \ if test -f $$p; then \ list2="$$list2 $$p"; \ else :; fi; \ done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ } uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ done clean-libLTLIBRARIES: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) @list='$(lib_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libpangosharpglue-2.la: $(libpangosharpglue_2_la_OBJECTS) $(libpangosharpglue_2_la_DEPENDENCIES) $(EXTRA_libpangosharpglue_2_la_DEPENDENCIES) $(AM_V_CCLD)$(libpangosharpglue_2_la_LINK) -rpath $(libdir) $(libpangosharpglue_2_la_OBJECTS) $(libpangosharpglue_2_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/attribute.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/generated.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/units.Plo@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) installdirs: for dir in "$(DESTDIR)$(libdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-libLTLIBRARIES install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-libLTLIBRARIES .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ clean-libLTLIBRARIES clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-compile distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-libLTLIBRARIES install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-am uninstall uninstall-am uninstall-libLTLIBRARIES .PRECIOUS: Makefile libpangosharpglue.dll: $(libpangosharpglue_2_la_OBJECTS) libpangosharpglue.rc libpangosharpglue.def ./build-dll libpangosharpglue-2 $(VERSION) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/pango/glue/units.c0000664000175000017500000000204512767740470014070 00000000000000/* units.c : Glue to access unit macros. * * Author: Mike Kestner * * Copyright (c) 2005 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include /* Forward declarations */ int pangosharp_scale (void); int pangosharp_pixels (int units); /* */ gint pangosharp_scale () { return PANGO_SCALE; } gint pangosharp_pixels (gint units) { return PANGO_PIXELS (units); } gtk-sharp-2.12.40/pango/glue/Makefile.am0000664000175000017500000000107512767740470014620 00000000000000lib_LTLIBRARIES = libpangosharpglue-2.la libpangosharpglue_2_la_SOURCES = \ attribute.c \ units.c nodist_libpangosharpglue_2_la_SOURCES = generated.c # Adding a new glue file? libpangosharpglue_2_la_LDFLAGS = -module -avoid-version -no-undefined libpangosharpglue_2_la_LIBADD = $(PANGO_LIBS) INCLUDES = $(PANGO_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir) libpangosharpglue.dll: $(libpangosharpglue_2_la_OBJECTS) libpangosharpglue.rc libpangosharpglue.def ./build-dll libpangosharpglue-2 $(VERSION) CLEANFILES = lib*.a lib*.dll EXTRA_DIST = win32dll.c gtk-sharp-2.12.40/pango/GlyphItem.custom0000664000175000017500000000334312767740470014766 00000000000000// Pango.GlyphItem.custom - Pango GlyphItem class customizations // // Author: Mike Kestner // // Copyright (c) 2004-2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [DllImport("libpango-1.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr pango_glyph_item_apply_attrs(ref Pango.GlyphItem raw, IntPtr text, IntPtr list); public GlyphItem[] ApplyAttrs (string text, Pango.AttrList list) { IntPtr native_text = GLib.Marshaller.StringToPtrGStrdup (text); IntPtr list_handle = pango_glyph_item_apply_attrs (ref this, native_text, list.Handle); GLib.Marshaller.Free (native_text); if (list_handle == IntPtr.Zero) return new GlyphItem [0]; return GLib.Marshaller.ListPtrToArray (list_handle, typeof (GLib.SList), true, true, pango_glyph_item_free); } [Obsolete ("Replaced by Glyphs property")] public Pango.GlyphString glyphs { get { return Glyphs; } } [Obsolete ("Replaced by Item property")] public Pango.Item item { get { return Item; } } gtk-sharp-2.12.40/generator/0000775000175000017500000000000012767740534012570 500000000000000gtk-sharp-2.12.40/generator/MarshalGen.cs0000664000175000017500000000422312767740470015060 00000000000000// GtkSharp.Generation.MarshalGen.cs - Simple marshaling Generatable. // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; public class MarshalGen : SimpleBase { string mtype; string call_fmt; string from_fmt; bool freeAfterUse; public MarshalGen (string ctype, string type, string mtype, string call_fmt, string from_fmt) : this (ctype, type, mtype, call_fmt, from_fmt, true) { } public MarshalGen (string ctype, string type, string mtype, string call_fmt, string from_fmt, bool freeAfterUse) : base (ctype, type, "null") { this.mtype = mtype; this.call_fmt = call_fmt; this.from_fmt = from_fmt; FreeAfterUse = freeAfterUse; } public bool FreeAfterUse { get; private set; } public override string MarshalType { get { return mtype; } } public override string CallByName (string var) { return String.Format (call_fmt, var); } public override string FromNative (string var) { return String.Format (from_fmt, var); } } public class StringMarshalGen : MarshalGen, IManualMarshaler { public StringMarshalGen (string ctype, string type, string mtype, string call_fmt, string from_fmt) : base (ctype, type, mtype, call_fmt, from_fmt, true) { } public string AllocNative (string managed_var) { return CallByName (managed_var); } public string ReleaseNative (string native_var) { return string.Format ("GLib.Marshaller.Free ({0})", native_var); } } } gtk-sharp-2.12.40/generator/ClassBase.cs0000664000175000017500000002657412767740470014714 00000000000000// GtkSharp.Generation.ClassBase.cs - Common code between object // and interface wrappers // // Authors: Rachel Hestilow // Mike Kestner // // Copyright (c) 2002 Rachel Hestilow // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public abstract class ClassBase : GenBase { protected Hashtable props = new Hashtable(); protected Hashtable fields = new Hashtable(); protected Hashtable sigs = new Hashtable(); protected Hashtable methods = new Hashtable(); protected ArrayList interfaces = new ArrayList(); protected ArrayList managed_interfaces = new ArrayList(); protected ArrayList ctors = new ArrayList(); private bool ctors_initted = false; private Hashtable clash_map; private bool deprecated = false; private bool isabstract = false; public Hashtable Methods { get { return methods; } } public Hashtable Signals { get { return sigs; } } public ClassBase Parent { get { string parent = Elem.GetAttribute("parent"); if (parent == "") return null; else return SymbolTable.Table.GetClassGen(parent); } } protected ClassBase (XmlElement ns, XmlElement elem) : base (ns, elem) { if (elem.HasAttribute ("deprecated")) { string attr = elem.GetAttribute ("deprecated"); deprecated = attr == "1" || attr == "true"; } if (elem.HasAttribute ("abstract")) { string attr = elem.GetAttribute ("abstract"); isabstract = attr == "1" || attr == "true"; } foreach (XmlNode node in elem.ChildNodes) { if (!(node is XmlElement)) continue; XmlElement member = (XmlElement) node; if (member.HasAttribute ("hidden")) continue; string name; switch (node.Name) { case "method": name = member.GetAttribute("name"); while (methods.ContainsKey(name)) name += "mangled"; methods.Add (name, new Method (member, this)); break; case "property": name = member.GetAttribute("name"); while (props.ContainsKey(name)) name += "mangled"; props.Add (name, new Property (member, this)); break; case "field": name = member.GetAttribute("name"); while (fields.ContainsKey (name)) name += "mangled"; fields.Add (name, new ObjectField (member, this)); break; case "signal": name = member.GetAttribute("name"); while (sigs.ContainsKey(name)) name += "mangled"; sigs.Add (name, new Signal (member, this)); break; case "implements": ParseImplements (member); break; case "constructor": ctors.Add (new Ctor (member, this)); break; default: break; } } } public override bool Validate () { if (Parent != null && !Parent.ValidateForSubclass ()) return false; foreach (string iface in interfaces) { InterfaceGen igen = SymbolTable.Table[iface] as InterfaceGen; if (igen == null) { Console.WriteLine (QualifiedName + " implements unknown GInterface " + iface); return false; } if (!igen.ValidateForSubclass ()) { Console.WriteLine (QualifiedName + " implements invalid GInterface " + iface); return false; } } ArrayList invalids = new ArrayList (); foreach (Property prop in props.Values) { if (!prop.Validate ()) { Console.WriteLine ("in type " + QualifiedName); invalids.Add (prop); } } foreach (Property prop in invalids) props.Remove (prop.Name); invalids.Clear (); foreach (Signal sig in sigs.Values) { if (!sig.Validate ()) { Console.WriteLine ("in type " + QualifiedName); invalids.Add (sig); } } foreach (Signal sig in invalids) sigs.Remove (sig.Name); invalids.Clear (); foreach (ObjectField field in fields.Values) { if (!field.Validate ()) { Console.WriteLine ("in type " + QualifiedName); invalids.Add (field); } } foreach (ObjectField field in invalids) fields.Remove (field.Name); invalids.Clear (); foreach (Method method in methods.Values) { if (!method.Validate ()) { Console.WriteLine ("in type " + QualifiedName); invalids.Add (method); } } foreach (Method method in invalids) methods.Remove (method.Name); invalids.Clear (); foreach (Ctor ctor in ctors) { if (!ctor.Validate ()) { Console.WriteLine ("in type " + QualifiedName); invalids.Add (ctor); } } foreach (Ctor ctor in invalids) ctors.Remove (ctor); invalids.Clear (); return true; } public virtual bool ValidateForSubclass () { ArrayList invalids = new ArrayList (); foreach (Signal sig in sigs.Values) { if (!sig.Validate ()) { Console.WriteLine ("in type " + QualifiedName); invalids.Add (sig); } } foreach (Signal sig in invalids) sigs.Remove (sig.Name); invalids.Clear (); return true; } public bool IsDeprecated { get { return deprecated; } } public bool IsAbstract { get { return isabstract; } } public abstract string AssignToName { get; } public abstract string CallByName (); public override string DefaultValue { get { return "null"; } } protected bool IsNodeNameHandled (string name) { switch (name) { case "method": case "property": case "field": case "signal": case "implements": case "constructor": case "disabledefaultconstructor": return true; default: return false; } } public void GenProperties (GenerationInfo gen_info, ClassBase implementor) { if (props.Count == 0) return; foreach (Property prop in props.Values) prop.Generate (gen_info, "\t\t", implementor); } public void GenSignals (GenerationInfo gen_info, ClassBase implementor) { if (sigs == null) return; foreach (Signal sig in sigs.Values) sig.Generate (gen_info, implementor); } protected void GenFields (GenerationInfo gen_info) { foreach (ObjectField field in fields.Values) field.Generate (gen_info, "\t\t"); } private void ParseImplements (XmlElement member) { foreach (XmlNode node in member.ChildNodes) { if (node.Name != "interface") continue; XmlElement element = (XmlElement) node; if (element.HasAttribute ("hidden")) continue; if (element.HasAttribute ("cname")) interfaces.Add (element.GetAttribute ("cname")); else if (element.HasAttribute ("name")) managed_interfaces.Add (element.GetAttribute ("name")); } } protected bool IgnoreMethod (Method method, ClassBase implementor) { if (implementor != null && implementor.QualifiedName != this.QualifiedName && method.IsStatic) return true; string mname = method.Name; return ((method.IsSetter || (method.IsGetter && mname.StartsWith("Get"))) && ((props != null) && props.ContainsKey(mname.Substring(3)) || (fields != null) && fields.ContainsKey(mname.Substring(3)))); } public void GenMethods (GenerationInfo gen_info, Hashtable collisions, ClassBase implementor) { if (methods == null) return; foreach (Method method in methods.Values) { if (IgnoreMethod (method, implementor)) continue; string oname = null, oprotection = null; if (collisions != null && collisions.Contains (method.Name)) { oname = method.Name; oprotection = method.Protection; method.Name = QualifiedName + "." + method.Name; method.Protection = ""; } method.Generate (gen_info, implementor); if (oname != null) { method.Name = oname; method.Protection = oprotection; } } } public Method GetMethod (string name) { return (Method) methods[name]; } public Property GetProperty (string name) { return (Property) props[name]; } public Signal GetSignal (string name) { return (Signal) sigs[name]; } public Method GetMethodRecursively (string name) { return GetMethodRecursively (name, false); } public virtual Method GetMethodRecursively (string name, bool check_self) { Method p = null; if (check_self) p = GetMethod (name); if (p == null && Parent != null) p = Parent.GetMethodRecursively (name, true); if (check_self && p == null) { foreach (string iface in interfaces) { ClassBase igen = SymbolTable.Table.GetClassGen (iface); if (igen == null) continue; p = igen.GetMethodRecursively (name, true); if (p != null) break; } } return p; } public virtual Property GetPropertyRecursively (string name) { ClassBase klass = this; Property p = null; while (klass != null && p == null) { p = (Property) klass.GetProperty (name); klass = klass.Parent; } return p; } public Signal GetSignalRecursively (string name) { return GetSignalRecursively (name, false); } public virtual Signal GetSignalRecursively (string name, bool check_self) { Signal p = null; if (check_self) p = GetSignal (name); if (p == null && Parent != null) p = Parent.GetSignalRecursively (name, true); if (check_self && p == null) { foreach (string iface in interfaces) { ClassBase igen = SymbolTable.Table.GetClassGen (iface); if (igen == null) continue; p = igen.GetSignalRecursively (name, true); if (p != null) break; } } return p; } public bool Implements (string iface) { if (interfaces.Contains (iface)) return true; else if (Parent != null) return Parent.Implements (iface); else return false; } public ArrayList Ctors { get { return ctors; } } bool HasStaticCtor (string name) { if (Parent != null && Parent.HasStaticCtor (name)) return true; foreach (Ctor ctor in Ctors) if (ctor.StaticName == name) return true; return false; } private void InitializeCtors () { if (ctors_initted) return; if (Parent != null) Parent.InitializeCtors (); ArrayList valid_ctors = new ArrayList(); clash_map = new Hashtable(); foreach (Ctor ctor in ctors) { if (clash_map.Contains (ctor.Signature.Types)) { Ctor clash = clash_map [ctor.Signature.Types] as Ctor; Ctor alter = ctor.Preferred ? clash : ctor; alter.IsStatic = true; if (Parent != null && Parent.HasStaticCtor (alter.StaticName)) alter.Modifiers = "new "; } else clash_map [ctor.Signature.Types] = ctor; valid_ctors.Add (ctor); } ctors = valid_ctors; ctors_initted = true; } protected virtual void GenCtors (GenerationInfo gen_info) { InitializeCtors (); foreach (Ctor ctor in ctors) ctor.Generate (gen_info); } public virtual void Finish (StreamWriter sw, string indent) { } public virtual void Prepare (StreamWriter sw, string indent) { } } } gtk-sharp-2.12.40/generator/MethodBody.cs0000664000175000017500000001270112767740470015075 00000000000000// GtkSharp.Generation.MethodBody.cs - The MethodBody Generation Class. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2003-2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; public class MethodBody { Parameters parameters; public MethodBody (Parameters parms) { parameters = parms; } private string CastFromInt (string type) { return type != "int" ? "(" + type + ") " : ""; } public string GetCallString (bool is_set) { if (parameters.Count == 0) return String.Empty; string[] result = new string [parameters.Count]; for (int i = 0; i < parameters.Count; i++) { Parameter p = parameters [i]; IGeneratable igen = p.Generatable; bool is_prop = is_set && i == 0; if (i > 0 && parameters [i - 1].IsString && p.IsLength && p.PassAs == String.Empty) { string string_name = (i == 1 && is_set) ? "value" : parameters [i - 1].Name; result[i] = igen.CallByName (CastFromInt (p.CSType) + "System.Text.Encoding.UTF8.GetByteCount (" + string_name + ")"); continue; } if (is_prop) p.CallName = "value"; else p.CallName = p.Name; string call_parm = p.CallString; if (p.IsUserData && parameters.IsHidden (p) && !parameters.HideData && (i == 0 || parameters [i - 1].Scope != "notified")) { call_parm = "IntPtr.Zero"; } result [i] += call_parm; } return String.Join (", ", result); } public void Initialize (GenerationInfo gen_info) { Initialize (gen_info, false, false, String.Empty); } public void Initialize (GenerationInfo gen_info, bool is_get, bool is_set, string indent) { if (parameters.Count == 0) return; StreamWriter sw = gen_info.Writer; for (int i = 0; i < parameters.Count; i++) { Parameter p = parameters [i]; IGeneratable gen = p.Generatable; string name = p.Name; if (is_set) name = "value"; p.CallName = name; foreach (string prep in p.Prepare) sw.WriteLine (indent + "\t\t\t" + prep); if (gen is CallbackGen) { CallbackGen cbgen = gen as CallbackGen; string wrapper = cbgen.GenWrapper(gen_info); switch (p.Scope) { case "notified": sw.WriteLine (indent + "\t\t\t{0} {1}_wrapper = new {0} ({1});", wrapper, name); sw.WriteLine (indent + "\t\t\tIntPtr {0};", parameters [i + 1].Name); sw.WriteLine (indent + "\t\t\t{0} {1};", parameters [i + 2].CSType, parameters [i + 2].Name); sw.WriteLine (indent + "\t\t\tif ({0} == null) {{", name); sw.WriteLine (indent + "\t\t\t\t{0} = IntPtr.Zero;", parameters [i + 1].Name); sw.WriteLine (indent + "\t\t\t\t{0} = null;", parameters [i + 2].Name); sw.WriteLine (indent + "\t\t\t} else {"); sw.WriteLine (indent + "\t\t\t\t{0} = (IntPtr) GCHandle.Alloc ({1}_wrapper);", parameters [i + 1].Name, name); sw.WriteLine (indent + "\t\t\t\t{0} = GLib.DestroyHelper.NotifyHandler;", parameters [i + 2].Name, parameters [i + 2].CSType); sw.WriteLine (indent + "\t\t\t}"); break; case "async": sw.WriteLine (indent + "\t\t\t{0} {1}_wrapper = new {0} ({1});", wrapper, name); sw.WriteLine (indent + "\t\t\t{0}_wrapper.PersistUntilCalled ();", name); break; case "call": default: if (p.Scope == String.Empty) Console.WriteLine ("Defaulting " + gen.Name + " param to 'call' scope in method " + gen_info.CurrentMember); sw.WriteLine (indent + "\t\t\t{0} {1}_wrapper = new {0} ({1});", wrapper, name); break; } } } if (ThrowsException) sw.WriteLine (indent + "\t\t\tIntPtr error = IntPtr.Zero;"); } public void InitAccessor (StreamWriter sw, Signature sig, string indent) { sw.WriteLine (indent + "\t\t\t" + sig.AccessorType + " " + sig.AccessorName + ";"); } public void Finish (StreamWriter sw, string indent) { foreach (Parameter p in parameters) foreach (string s in p.Finish) sw.WriteLine(indent + "\t\t\t" + s); } public void FinishAccessor (StreamWriter sw, Signature sig, string indent) { sw.WriteLine (indent + "\t\t\treturn " + sig.AccessorName + ";"); } public void HandleException (StreamWriter sw, string indent) { if (!ThrowsException) return; sw.WriteLine (indent + "\t\t\tif (error != IntPtr.Zero) throw new GLib.GException (error);"); } public bool ThrowsException { get { int idx = parameters.Count - 1; while (idx >= 0) { if (parameters [idx].IsUserData) idx--; else if (parameters [idx].CType == "GError**") return true; else break; } return false; } } } } gtk-sharp-2.12.40/generator/BoxedGen.cs0000664000175000017500000000626312767740470014540 00000000000000// GtkSharp.Generation.BoxedGen.cs - The Boxed Generatable. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2003-2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.IO; using System.Xml; public class BoxedGen : StructBase { public BoxedGen (XmlElement ns, XmlElement elem) : base (ns, elem) {} public override void Generate (GenerationInfo gen_info) { Method copy = methods["Copy"] as Method; methods.Remove ("Copy"); methods.Remove ("Free"); gen_info.CurrentType = Name; StreamWriter sw = gen_info.Writer = gen_info.OpenStream (Name); base.Generate (gen_info); sw.WriteLine ("\t\t[DllImport(\"glibsharpglue-2\", CallingConvention = CallingConvention.Cdecl)]"); sw.WriteLine ("\t\tstatic extern IntPtr glibsharp_value_get_boxed (ref GLib.Value val);"); sw.WriteLine (); sw.WriteLine ("\t\t[DllImport(\"glibsharpglue-2\", CallingConvention = CallingConvention.Cdecl)]"); sw.WriteLine ("\t\tstatic extern void glibsharp_value_set_boxed (ref GLib.Value val, ref " + QualifiedName + " boxed);"); sw.WriteLine (); sw.WriteLine ("\t\tpublic static explicit operator GLib.Value (" + QualifiedName + " boxed)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tGLib.Value val = GLib.Value.Empty;"); sw.WriteLine ("\t\t\tval.Init (" + Name + "Attribute.GType);"); sw.WriteLine ("\t\t\tglibsharp_value_set_boxed (ref val, ref boxed);"); sw.WriteLine ("\t\t\treturn val;"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\tpublic static explicit operator " + QualifiedName + " (GLib.Value val)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tIntPtr boxed_ptr = glibsharp_value_get_boxed (ref val);"); sw.WriteLine ("\t\t\treturn New (boxed_ptr);"); sw.WriteLine ("\t\t}"); if (copy != null && copy.IsDeprecated) { sw.WriteLine (); sw.WriteLine ("\t\t[Obsolete(\"This is a no-op\")]"); sw.WriteLine ("\t\tpublic " + QualifiedName + " Copy() {"); sw.WriteLine ("\t\t\treturn this;"); sw.WriteLine ("\t\t}"); } sw.WriteLine ("#endregion"); AppendCustom(sw, gen_info.CustomDir); sw.WriteLine ("\t}"); var method = GetMethod ("GetType") ?? GetMethod ("GetGType"); if (method != null) AttributeHelper.Gen (sw, Name, LibraryName, method.CName); sw.WriteLine ("}"); sw.Close (); gen_info.Writer = null; Statistics.BoxedCount++; } } } gtk-sharp-2.12.40/generator/StructField.cs0000664000175000017500000001107512767740470015272 00000000000000// GtkSharp.Generation.StructField.cs - The Structure Field generation // Class. // // Author: Mike Kestner // // Copyright (c) 2004-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.IO; using System.Xml; public class StructField : FieldBase { public static int bitfields; public StructField (XmlElement elem, ClassBase container_type) : base (elem, container_type) {} protected override string DefaultAccess { get { if (IsPadding) return "private"; return "public"; } } int ArrayLength { get { if (!IsArray) return 0; int result; try { result = Int32.Parse (elem.GetAttribute("array_len")); } catch (Exception) { Console.Write ("Non-numeric array_len: " + elem.GetAttribute("array_len")); Console.WriteLine (" warning: array field {0} incorrectly generated", Name); result = 0; } return result; } } public new string CSType { get { string type = base.CSType; if (IsArray || IsNullTermArray) type += "[]"; else if ((IsPointer || SymbolTable.Table.IsOpaque (CType)) && type != "string") type = "IntPtr"; return type; } } bool IsPadding { get { return (CName.StartsWith ("dummy") || CName.StartsWith ("padding")); } } public bool IsPointer { get { return (CType.EndsWith ("*") || CType.EndsWith ("pointer")); } } public new string Name { get { string result = ""; if ((IsPointer || SymbolTable.Table.IsOpaque (CType)) && CSType != "string") result = "_"; result += SymbolTable.Table.MangleName (CName); return result; } } string StudlyName { get { string studly = base.Name; if (studly == "") throw new Exception ("API file must be regenerated with a current version of the GAPI parser. It is incompatible with this version of the GAPI code generator."); return studly; } } public override void Generate (GenerationInfo gen_info, string indent) { if (Hidden) return; StreamWriter sw = gen_info.Writer; SymbolTable table = SymbolTable.Table; string wrapped = table.GetCSType (CType); string wrapped_name = SymbolTable.Table.MangleName (CName); IGeneratable gen = table [CType]; if (IsNullTermArray) { sw.WriteLine (indent + Access + " IntPtr Native" + StudlyName + ";"); sw.WriteLine (indent + Access + " " + CSType + " " + StudlyName + " {"); sw.WriteLine (indent + "\tget {"); sw.WriteLine (indent + "\t\treturn GLib.Marshaller.NullTermPtrToStringArray (Native" + StudlyName + ", false);"); sw.WriteLine (indent + "\t}"); sw.WriteLine (indent + "}"); } else if (IsArray) { sw.WriteLine (indent + "[MarshalAs (UnmanagedType.ByValArray, SizeConst=" + ArrayLength + ")]"); sw.WriteLine (indent + "{0} {1} {2};", Access, CSType, StudlyName); } else if (IsBitfield) { base.Generate (gen_info, indent); } else if (gen is IAccessor) { sw.WriteLine (indent + "private {0} {1};", gen.MarshalType, Name); if (Access != "private") { IAccessor acc = table [CType] as IAccessor; sw.WriteLine (indent + Access + " " + wrapped + " " + StudlyName + " {"); acc.WriteAccessors (sw, indent + "\t", Name); sw.WriteLine (indent + "}"); } } else if (IsPointer && (gen is StructGen || gen is BoxedGen)) { sw.WriteLine (indent + "private {0} {1};", CSType, Name); sw.WriteLine (); if (Access != "private") { sw.WriteLine (indent + Access + " " + wrapped + " " + wrapped_name + " {"); sw.WriteLine (indent + "\tget { return " + table.FromNativeReturn (CType, Name) + "; }"); sw.WriteLine (indent + "}"); } } else if (IsPointer && CSType != "string") { // FIXME: probably some fields here which should be visible. sw.WriteLine (indent + "private {0} {1};", CSType, Name); } else { sw.WriteLine (indent + "{0} {1} {2};", Access, CSType, Access == "public" ? StudlyName : Name); } } } } gtk-sharp-2.12.40/generator/SimpleBase.cs0000664000175000017500000000477312767740470015075 00000000000000// GtkSharp.Generation.SimpleBase.cs - base class for marshaling non-generated types. // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; public abstract class SimpleBase : IGeneratable { string type; string ctype; string ns = String.Empty; string default_value = String.Empty; public SimpleBase (string ctype, string type, string default_value) { string[] toks = type.Split('.'); this.ctype = ctype; this.type = toks[toks.Length - 1]; if (toks.Length > 2) this.ns = String.Join (".", toks, 0, toks.Length - 1); else if (toks.Length == 2) this.ns = toks[0]; this.default_value = default_value; } public string CName { get { return ctype; } } public string Name { get { return type; } } public string QualifiedName { get { return ns == String.Empty ? type : ns + "." + type; } } public virtual string MarshalType { get { return QualifiedName; } } public virtual string MarshalReturnType { get { return MarshalType; } } public virtual string DefaultValue { get { return default_value; } } public virtual string ToNativeReturnType { get { return MarshalType; } } public virtual string CallByName (string var) { return var; } public virtual string FromNative(string var) { return var; } public virtual string FromNativeReturn(string var) { return FromNative (var); } public virtual string ToNativeReturn(string var) { return CallByName (var); } public bool Validate () { return true; } public void Generate () { } public void Generate (GenerationInfo gen_info) { } } } gtk-sharp-2.12.40/generator/IManualMarshaler.cs0000664000175000017500000000200012767740470016213 00000000000000// GtkSharp.Generation.IManualMarshaler.cs - Interface for manual marshaling. // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { public interface IManualMarshaler { string AllocNative (string managed_var); string ReleaseNative (string native_var); } } gtk-sharp-2.12.40/generator/gapi2-codegen.in0000775000175000017500000000010512767740470015442 00000000000000#!/bin/sh @RUNTIME@ @prefix@/lib/gtk-sharp-2.0/gapi_codegen.exe "$@" gtk-sharp-2.12.40/generator/IAccessor.cs0000664000175000017500000000171012654353766014713 00000000000000// IAccessor.cs - Interface to generate property accessors. // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { public interface IAccessor { void WriteAccessors (System.IO.StreamWriter sw, string indentation, string field_name); } } gtk-sharp-2.12.40/generator/LPGen.cs0000664000175000017500000000321712767740470014006 00000000000000// GtkSharp.Generation.LPGen.cs - long/pointer Generatable. // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.IO; public class LPGen : SimpleGen, IAccessor { public LPGen (string ctype) : base (ctype, "long", "0L") {} public override string MarshalType { get { return "IntPtr"; } } public override string CallByName (string var_name) { return "new IntPtr (" + var_name + ")"; } public override string FromNative(string var) { return "(long) " + var; } public void WriteAccessors (StreamWriter sw, string indent, string var) { sw.WriteLine (indent + "get {"); sw.WriteLine (indent + "\treturn " + FromNative (var) + ";"); sw.WriteLine (indent + "}"); sw.WriteLine (indent + "set {"); sw.WriteLine (indent + "\t" + var + " = " + CallByName ("value") + ";"); sw.WriteLine (indent + "}"); } } } gtk-sharp-2.12.40/generator/Parser.cs0000664000175000017500000001135412767740470014276 00000000000000// GtkSharp.Generation.Parser.cs - The XML Parsing engine. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2003 Ximian Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class Parser { private XmlDocument Load (string filename) { XmlDocument doc = new XmlDocument (); try { Stream stream = File.OpenRead (filename); doc.Load (stream); stream.Close (); } catch (XmlException e) { Console.WriteLine ("Invalid XML file."); Console.WriteLine (e); doc = null; } return doc; } public IGeneratable[] Parse (string filename) { XmlDocument doc = Load (filename); if (doc == null) return null; XmlElement root = doc.DocumentElement; if ((root == null) || !root.HasChildNodes) { Console.WriteLine ("No Namespaces found."); return null; } ArrayList gens = new ArrayList (); foreach (XmlNode child in root.ChildNodes) { XmlElement elem = child as XmlElement; if (elem == null) continue; switch (child.Name) { case "namespace": gens.AddRange (ParseNamespace (elem)); break; case "symbol": gens.Add (ParseSymbol (elem)); break; default: Console.WriteLine ("Parser::Parse - Unexpected child node: " + child.Name); break; } } return (IGeneratable[]) gens.ToArray (typeof (IGeneratable)); } private ArrayList ParseNamespace (XmlElement ns) { ArrayList result = new ArrayList (); foreach (XmlNode def in ns.ChildNodes) { XmlElement elem = def as XmlElement; if (elem == null) continue; if (elem.HasAttribute("hidden")) continue; bool is_opaque = false; if (elem.GetAttribute ("opaque") == "true" || elem.GetAttribute ("opaque") == "1") is_opaque = true; switch (def.Name) { case "alias": string aname = elem.GetAttribute("cname"); string atype = elem.GetAttribute("type"); if ((aname == "") || (atype == "")) continue; result.Add (new AliasGen (aname, atype)); break; case "boxed": result.Add (is_opaque ? new OpaqueGen (ns, elem) as object : new BoxedGen (ns, elem) as object); break; case "callback": result.Add (new CallbackGen (ns, elem)); break; case "enum": result.Add (new EnumGen (ns, elem)); break; case "interface": result.Add (new InterfaceGen (ns, elem)); break; case "object": result.Add (new ObjectGen (ns, elem)); break; case "class": result.Add (new ClassGen (ns, elem)); break; case "struct": result.Add (is_opaque ? new OpaqueGen (ns, elem) as object : new StructGen (ns, elem) as object); break; default: Console.WriteLine ("Parser::ParseNamespace - Unexpected node: " + def.Name); break; } } return result; } private IGeneratable ParseSymbol (XmlElement symbol) { string type = symbol.GetAttribute ("type"); string cname = symbol.GetAttribute ("cname"); string name = symbol.GetAttribute ("name"); IGeneratable result = null; if (type == "simple") { if (symbol.HasAttribute ("default_value")) result = new SimpleGen (cname, name, symbol.GetAttribute ("default_value")); else { Console.WriteLine ("Simple type element " + cname + " has no specified default value"); result = new SimpleGen (cname, name, String.Empty); } } else if (type == "manual") result = new ManualGen (cname, name); else if (type == "alias") result = new AliasGen (cname, name); else if (type == "marshal") { string mtype = symbol.GetAttribute ("marshal_type"); string call = symbol.GetAttribute ("call_fmt"); string from = symbol.GetAttribute ("from_fmt"); result = new MarshalGen (cname, name, mtype, call, from); } else Console.WriteLine ("Parser::ParseSymbol - Unexpected symbol type " + type); return result; } } } gtk-sharp-2.12.40/generator/LPUGen.cs0000664000175000017500000000323612767740470014134 00000000000000// GtkSharp.Generation.LPUGen.cs - unsugned long/pointer generatable. // // Author: Mike Kestner // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.IO; public class LPUGen : SimpleGen, IAccessor { public LPUGen (string ctype) : base (ctype, "ulong", "0") {} public override string MarshalType { get { return "UIntPtr"; } } public override string CallByName (string var_name) { return "new UIntPtr (" + var_name + ")"; } public override string FromNative(string var) { return "(ulong) " + var; } public void WriteAccessors (StreamWriter sw, string indent, string var) { sw.WriteLine (indent + "get {"); sw.WriteLine (indent + "\treturn " + FromNative (var) + ";"); sw.WriteLine (indent + "}"); sw.WriteLine (indent + "set {"); sw.WriteLine (indent + "\t" + var + " = " + CallByName ("value") + ";"); sw.WriteLine (indent + "}"); } } } gtk-sharp-2.12.40/generator/GenerationInfo.cs0000664000175000017500000001201212767740470015741 00000000000000// GtkSharp.Generation.GenerationInfo.cs - Generation information class. // // Author: Mike Kestner // // Copyright (c) 2003-2008 Novell Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class GenerationInfo { string dir; string custom_dir; string assembly_name; string gluelib_name; bool glue_enabled; StreamWriter sw; StreamWriter glue_sw; public GenerationInfo (XmlElement ns) { string ns_name = ns.GetAttribute ("name"); char sep = Path.DirectorySeparatorChar; dir = ".." + sep + ns_name.ToLower () + sep + "generated"; custom_dir = ".." + sep + ns_name.ToLower (); assembly_name = ns_name.ToLower () + "-sharp"; } public GenerationInfo (string dir, string assembly_name) : this (dir, dir, assembly_name, "", "", "") {} public GenerationInfo (string dir, string custom_dir, string assembly_name, string glue_filename, string glue_includes, string gluelib_name) { this.dir = dir; this.custom_dir = custom_dir; this.assembly_name = assembly_name; this.gluelib_name = gluelib_name; InitializeGlue (glue_filename, glue_includes, gluelib_name); } void InitializeGlue (string glue_filename, string glue_includes, string gluelib_name) { if (gluelib_name != String.Empty && glue_filename != String.Empty) { FileStream stream; try { stream = new FileStream (glue_filename, FileMode.Create, FileAccess.Write); } catch (Exception) { Console.Error.WriteLine ("Unable to create specified glue file. Glue will not be generated."); return; } glue_sw = new StreamWriter (stream); glue_sw.WriteLine ("// This file was generated by the Gtk# code generator."); glue_sw.WriteLine ("// Any changes made will be lost if regenerated."); glue_sw.WriteLine (); if (glue_includes != "") { foreach (string header in glue_includes.Split (new char[] {',', ' '})) { if (header != "") glue_sw.WriteLine ("#include <{0}>", header); } glue_sw.WriteLine (""); } glue_sw.WriteLine ("const gchar *__prefix = \"__gtksharp_\";\n"); glue_sw.WriteLine ("#define HAS_PREFIX(a) (*((guint64 *)(a)) == *((guint64 *) __prefix))\n"); glue_sw.WriteLine ("static GObjectClass *"); glue_sw.WriteLine ("get_threshold_class (GObject *obj)"); glue_sw.WriteLine ("{"); glue_sw.WriteLine ("\tGType gtype = G_TYPE_FROM_INSTANCE (obj);"); glue_sw.WriteLine ("\twhile (HAS_PREFIX (g_type_name (gtype)))"); glue_sw.WriteLine ("\t\tgtype = g_type_parent (gtype);"); glue_sw.WriteLine ("\tGObjectClass *klass = g_type_class_peek (gtype);"); glue_sw.WriteLine ("\tif (klass == NULL) klass = g_type_class_ref (gtype);"); glue_sw.WriteLine ("\treturn klass;"); glue_sw.WriteLine ("}\n"); glue_enabled = true; } } public string AssemblyName { get { return assembly_name; } } public string CustomDir { get { return custom_dir; } } public string Dir { get { return dir; } } public string GluelibName { get { return gluelib_name; } } public bool GlueEnabled { get { return glue_enabled; } } public StreamWriter GlueWriter { get { return glue_sw; } } public StreamWriter Writer { get { return sw; } set { sw = value; } } public void CloseGlueWriter () { if (glue_sw != null) glue_sw.Close (); } string member; public string CurrentMember { get { return typename + "." + member; } set { member = value; } } string typename; public string CurrentType { get { return typename; } set { typename = value; } } public StreamWriter OpenStream (string name) { char sep = Path.DirectorySeparatorChar; if (!Directory.Exists(dir)) Directory.CreateDirectory(dir); string filename = dir + sep + name + ".cs"; FileStream stream = new FileStream (filename, FileMode.Create, FileAccess.Write); StreamWriter sw = new StreamWriter (stream); sw.WriteLine ("// This file was generated by the Gtk# code generator."); sw.WriteLine ("// Any changes made will be lost if regenerated."); sw.WriteLine (); return sw; } } } gtk-sharp-2.12.40/generator/MethodBase.cs0000664000175000017500000001001112767740470015042 00000000000000// GtkSharp.Generation.MethodBase.cs - function element base class. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2004-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Xml; public abstract class MethodBase { XmlElement elem; protected ClassBase container_type; Parameters parms; bool is_static = false; string mods = String.Empty; string name; private string protection = "public"; protected MethodBase (XmlElement elem, ClassBase container_type) { this.elem = elem; this.container_type = container_type; this.name = elem.GetAttribute ("name"); parms = new Parameters (elem ["parameters"]); IsStatic = elem.GetAttribute ("shared") == "true"; if (elem.HasAttribute ("new_flag")) mods = "new "; if (elem.HasAttribute ("accessibility")) { string attr = elem.GetAttribute ("accessibility"); switch (attr) { case "public": case "protected": case "internal": case "private": case "protected internal": protection = attr; break; } } } public bool Hidden { get { return elem.HasAttribute ("hidden"); } } protected string BaseName { get { string name = Name; int idx = Name.LastIndexOf ("."); if (idx > 0) name = Name.Substring (idx + 1); return name; } } MethodBody body; public MethodBody Body { get { if (body == null) body = new MethodBody (parms); return body; } } public string CName { get { return SymbolTable.Table.MangleName (elem.GetAttribute ("cname")); } } protected bool HasGetterName { get { string name = BaseName; if (name.Length <= 3) return false; if (name.StartsWith ("Get") || name.StartsWith ("Has")) return Char.IsUpper (name [3]); else if (name.StartsWith ("Is")) return Char.IsUpper (name [2]); else return false; } } protected bool HasSetterName { get { string name = BaseName; if (name.Length <= 3) return false; return name.StartsWith ("Set") && Char.IsUpper (name [3]); } } public bool IsStatic { get { return is_static; } set { is_static = value; parms.Static = value; } } public string LibraryName { get { if (elem.HasAttribute ("library")) return elem.GetAttribute ("library"); return container_type.LibraryName; } } public string Modifiers { get { return mods; } set { mods = value; } } public string Name { get { return name; } set { name = value; } } public Parameters Parameters { get { return parms; } } public string Protection { get { return protection; } set { protection = value; } } protected string Safety { get { return Body.ThrowsException && !(container_type is InterfaceGen) ? "unsafe " : ""; } } Signature sig; public Signature Signature { get { if (sig == null) sig = new Signature (parms); return sig; } } public virtual bool Validate () { if (!parms.Validate ()) { Console.Write("in " + CName + " "); Statistics.ThrottledCount++; return false; } return true; } } } gtk-sharp-2.12.40/generator/ConstStringGen.cs0000664000175000017500000000330412767740470015745 00000000000000// GtkSharp.Generation.ConstStringGen.cs - The Const String type Generatable. // // Author: Rachel Hestilow // Mike Kestner // // Copyright (c) 2003 Rachel Hestilow // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; public class ConstStringGen : SimpleBase, IManualMarshaler { public ConstStringGen (string ctype) : base (ctype, "string", "null") {} public override string MarshalType { get { return "IntPtr"; } } public override string FromNative (string var) { return "GLib.Marshaller.Utf8PtrToString (" + var + ")"; } public override string ToNativeReturn (string var) { return "GLib.Marshaller.StringToPtrGStrdup (" + var + ")"; } public string AllocNative (string managed_var) { return "GLib.Marshaller.StringToPtrGStrdup (" + managed_var + ")"; } public string ReleaseNative (string native_var) { return "GLib.Marshaller.Free (" + native_var + ")"; } } } gtk-sharp-2.12.40/generator/SymbolTable.cs0000664000175000017500000002713712767740470015265 00000000000000// GtkSharp.Generation.SymbolTable.cs - The Symbol Table Class. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2004-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; public class SymbolTable { static SymbolTable table = null; Hashtable types = new Hashtable (); public static SymbolTable Table { get { if (table == null) table = new SymbolTable (); return table; } } public SymbolTable () { // Simple easily mapped types AddType (new SimpleGen ("void", "void", String.Empty)); AddType (new SimpleGen ("gpointer", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("gboolean", "bool", "false")); AddType (new SimpleGen ("gint", "int", "0")); AddType (new SimpleGen ("guint", "uint", "0")); AddType (new SimpleGen ("int", "int", "0")); AddType (new SimpleGen ("unsigned", "uint", "0")); AddType (new SimpleGen ("unsigned int", "uint", "0")); AddType (new SimpleGen ("unsigned-int", "uint", "0")); AddType (new SimpleGen ("gshort", "short", "0")); AddType (new SimpleGen ("gushort", "ushort", "0")); AddType (new SimpleGen ("short", "short", "0")); AddType (new SimpleGen ("guchar", "byte", "0")); AddType (new SimpleGen ("unsigned char", "byte", "0")); AddType (new SimpleGen ("unsigned-char", "byte", "0")); AddType (new SimpleGen ("guint1", "bool", "false")); AddType (new SimpleGen ("uint1", "bool", "false")); AddType (new SimpleGen ("gint8", "sbyte", "0")); AddType (new SimpleGen ("guint8", "byte", "0")); AddType (new SimpleGen ("gint16", "short", "0")); AddType (new SimpleGen ("guint16", "ushort", "0")); AddType (new SimpleGen ("gint32", "int", "0")); AddType (new SimpleGen ("guint32", "uint", "0")); AddType (new SimpleGen ("gint64", "long", "0")); AddType (new SimpleGen ("guint64", "ulong", "0")); AddType (new SimpleGen ("long long", "long", "0")); AddType (new SimpleGen ("gfloat", "float", "0.0")); AddType (new SimpleGen ("float", "float", "0.0")); AddType (new SimpleGen ("gdouble", "double", "0.0")); AddType (new SimpleGen ("double", "double", "0.0")); AddType (new SimpleGen ("goffset", "long", "0")); AddType (new SimpleGen ("GQuark", "int", "0")); // platform specific integer types. #if WIN64LONGS AddType (new SimpleGen ("long", "int", "0")); AddType (new SimpleGen ("glong", "int", "0")); AddType (new SimpleGen ("ulong", "uint", "0")); AddType (new SimpleGen ("gulong", "uint", "0")); AddType (new SimpleGen ("unsigned long", "uint", "0")); #else AddType (new LPGen ("long")); AddType (new LPGen ("glong")); AddType (new LPUGen ("ulong")); AddType (new LPUGen ("gulong")); AddType (new LPUGen ("unsigned long")); #endif AddType (new LPGen ("ssize_t")); AddType (new LPGen ("gssize")); AddType (new LPUGen ("size_t")); AddType (new LPUGen ("gsize")); #if OFF_T_8 AddType (new AliasGen ("off_t", "long")); #else AddType (new LPGen ("off_t")); #endif // string types AddType (new ConstStringGen ("const-gchar")); AddType (new ConstStringGen ("const-xmlChar")); AddType (new ConstStringGen ("const-char")); AddType (new ConstFilenameGen ("const-gfilename")); AddType (new StringMarshalGen ("gfilename", "string", "IntPtr", "GLib.Marshaller.StringToFilenamePtr({0})", "GLib.Marshaller.FilenamePtrToStringGFree({0})")); AddType (new StringMarshalGen ("gchar", "string", "IntPtr", "GLib.Marshaller.StringToPtrGStrdup({0})", "GLib.Marshaller.PtrToStringGFree({0})")); AddType (new StringMarshalGen ("char", "string", "IntPtr", "GLib.Marshaller.StringToPtrGStrdup({0})", "GLib.Marshaller.PtrToStringGFree({0})")); AddType (new SimpleGen ("GStrv", "string[]", "null")); // manually wrapped types requiring more complex marshaling AddType (new ManualGen ("GInitiallyUnowned", "GLib.InitiallyUnowned", "GLib.Object.GetObject ({0})")); AddType (new ManualGen ("GObject", "GLib.Object", "GLib.Object.GetObject ({0})")); AddType (new ManualGen ("GList", "GLib.List")); AddType (new ManualGen ("GPtrArray", "GLib.PtrArray")); AddType (new ManualGen ("GSList", "GLib.SList")); AddType (new MarshalGen ("gunichar", "char", "uint", "GLib.Marshaller.CharToGUnichar ({0})", "GLib.Marshaller.GUnicharToChar ({0})")); AddType (new MarshalGen ("time_t", "System.DateTime", "IntPtr", "GLib.Marshaller.DateTimeTotime_t ({0})", "GLib.Marshaller.time_tToDateTime ({0})")); AddType (new MarshalGen ("GString", "string", "IntPtr", "new GLib.GString ({0}).Handle", "GLib.GString.PtrToString ({0})")); AddType (new MarshalGen ("GType", "GLib.GType", "IntPtr", "{0}.Val", "new GLib.GType({0})", freeAfterUse: false)); AddType (new ByRefGen ("GValue", "GLib.Value")); AddType (new SimpleGen ("GDestroyNotify", "GLib.DestroyNotify", "null")); // FIXME: These ought to be handled properly. AddType (new SimpleGen ("GC", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GError", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GMemChunk", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GTimeVal", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GClosure", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GArray", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GByteArray", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GData", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GIOChannel", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GTypeModule", "GLib.Object", "null")); AddType (new SimpleGen ("GHashTable", "System.IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("va_list", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("GParamSpec", "IntPtr", "IntPtr.Zero")); AddType (new SimpleGen ("gconstpointer", "IntPtr", "IntPtr.Zero")); } public void AddType (IGeneratable gen) { types [gen.CName] = gen; } public void AddTypes (IGeneratable[] gens) { foreach (IGeneratable gen in gens) types [gen.CName] = gen; } public int Count { get { return types.Count; } } public IEnumerable Generatables { get { return types.Values; } } public IGeneratable this [string ctype] { get { return DeAlias (ctype) as IGeneratable; } } private bool IsConstString (string type) { switch (type) { case "const-gchar": case "const-char": case "const-xmlChar": case "const-gfilename": return true; default: return false; } } private string Trim(string type) { // HACK: If we don't detect this here, there is no // way of indicating it in the symbol table if (type == "void*" || type == "const-void*") return "gpointer"; string trim_type = type.TrimEnd('*'); if (IsConstString (trim_type)) return trim_type; if (trim_type.StartsWith("const-")) return trim_type.Substring(6); return trim_type; } private object DeAlias (string type) { type = Trim (type); while (types [type] is AliasGen) { IGeneratable igen = types [type] as AliasGen; types [type] = types [igen.Name]; type = igen.Name; } return types [type]; } public string FromNativeReturn(string c_type, string val) { IGeneratable gen = this[c_type]; if (gen == null) return ""; return gen.FromNativeReturn (val); } public string ToNativeReturn(string c_type, string val) { IGeneratable gen = this[c_type]; if (gen == null) return ""; return gen.ToNativeReturn (val); } public string FromNative(string c_type, string val) { IGeneratable gen = this[c_type]; if (gen == null) return ""; return gen.FromNative (val); } public string GetCSType(string c_type) { IGeneratable gen = this[c_type]; if (gen == null) return ""; return gen.QualifiedName; } public string GetName(string c_type) { IGeneratable gen = this[c_type]; if (gen == null) return ""; return gen.Name; } public string GetMarshalReturnType(string c_type) { IGeneratable gen = this[c_type]; if (gen == null) return ""; return gen.MarshalReturnType; } public string GetToNativeReturnType(string c_type) { IGeneratable gen = this[c_type]; if (gen == null) return ""; return gen.ToNativeReturnType; } public string GetMarshalType(string c_type) { IGeneratable gen = this[c_type]; if (gen == null) return ""; return gen.MarshalType; } public string CallByName(string c_type, string var_name) { IGeneratable gen = this[c_type]; if (gen == null) return ""; return gen.CallByName(var_name); } public bool IsOpaque(string c_type) { if (this[c_type] is OpaqueGen) return true; return false; } public bool IsBoxed(string c_type) { if (this[c_type] is BoxedGen) return true; return false; } public bool IsStruct(string c_type) { if (this[c_type] is StructGen) return true; return false; } public bool IsEnum(string c_type) { if (this[c_type] is EnumGen) return true; return false; } public bool IsEnumFlags(string c_type) { EnumGen gen = this [c_type] as EnumGen; return (gen != null && gen.Elem.GetAttribute ("type") == "flags"); } public bool IsInterface(string c_type) { if (this[c_type] is InterfaceGen) return true; return false; } public ClassBase GetClassGen(string c_type) { return this[c_type] as ClassBase; } public bool IsObject(string c_type) { if (this[c_type] is ObjectGen) return true; return false; } public bool IsCallback(string c_type) { if (this[c_type] is CallbackGen) return true; return false; } public bool IsManuallyWrapped(string c_type) { if (this[c_type] is ManualGen) return true; return false; } public string MangleName(string name) { switch (name) { case "string": return "str1ng"; case "event": return "evnt"; case "null": return "is_null"; case "object": return "objekt"; case "params": return "parms"; case "ref": return "reference"; case "in": return "in_param"; case "out": return "out_param"; case "fixed": return "mfixed"; case "byte": return "_byte"; case "new": return "_new"; case "base": return "_base"; case "lock": return "_lock"; case "callback": return "cb"; case "readonly": return "read_only"; case "interface": return "iface"; case "internal": return "_internal"; case "where": return "wh3r3"; case "foreach": return "for_each"; case "remove": return "_remove"; default: break; } return name; } } } gtk-sharp-2.12.40/generator/ConstFilenameGen.cs0000664000175000017500000000274212767740470016224 00000000000000// ConstFilenameGen.cs - The Const Filename type Generatable. // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; public class ConstFilenameGen : SimpleBase, IManualMarshaler { public ConstFilenameGen (string ctype) : base (ctype, "string", "null") {} public override string MarshalType { get { return "IntPtr"; } } public override string FromNative (string var) { return "GLib.Marshaller.FilenamePtrToString (" + var + ")"; } public string AllocNative (string managed_var) { return "GLib.Marshaller.StringToFilenamePtr (" + managed_var + ")"; } public string ReleaseNative (string native_var) { return "GLib.Marshaller.Free (" + native_var + ")"; } } } gtk-sharp-2.12.40/generator/VirtualMethod.cs0000664000175000017500000001240212767740470015624 00000000000000// GtkSharp.Generation.VirtualMethod.cs - The VirtualMethod Generatable. // // Author: Mike Kestner // // Copyright (c) 2003-2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; // FIXME: handle static VMs public class VirtualMethod : MethodBase { XmlElement elem; ReturnValue retval; Parameters parms; public VirtualMethod (XmlElement elem, ClassBase container_type) : base (elem, container_type) { this.elem = elem; retval = new ReturnValue (elem ["return-type"]); parms = new Parameters (elem["parameters"]); parms.HideData = true; } public bool IsGetter { get { return HasGetterName && ((!retval.IsVoid && parms.Count == 1) || (retval.IsVoid && parms.Count == 2 && parms [1].PassAs == "out")); } } public bool IsSetter { get { if (!HasSetterName || !retval.IsVoid) return false; if (parms.Count == 2 || (parms.Count == 4 && parms [1].Scope == "notified")) return true; else return false; } } public string MarshalReturnType { get { return SymbolTable.Table.GetToNativeReturnType (elem["return-type"].GetAttribute("type")); } } public void GenerateCallback (StreamWriter sw) { if (!Validate ()) return; ManagedCallString call = new ManagedCallString (parms, true); string type = parms [0].CSType + "Implementor"; string name = parms [0].Name; string call_string = "__obj." + Name + " (" + call + ")"; if (IsGetter) call_string = "__obj." + (Name.StartsWith ("Get") ? Name.Substring (3) : Name); else if (IsSetter) call_string = "__obj." + Name.Substring (3) + " = " + call; sw.WriteLine ("\t\t[UnmanagedFunctionPointer (CallingConvention.Cdecl)]"); sw.WriteLine ("\t\tdelegate " + MarshalReturnType + " " + Name + "Delegate (" + parms.ImportSignature + ");"); sw.WriteLine (); sw.WriteLine ("\t\tstatic " + MarshalReturnType + " " + Name + "Callback (" + parms.ImportSignature + ")"); sw.WriteLine ("\t\t{"); string unconditional = call.Unconditional ("\t\t\t"); if (unconditional.Length > 0) sw.WriteLine (unconditional); sw.WriteLine ("\t\t\ttry {"); sw.WriteLine ("\t\t\t\t" + type + " __obj = GLib.Object.GetObject (" + name + ", false) as " + type + ";"); sw.Write (call.Setup ("\t\t\t\t")); if (retval.IsVoid) { if (IsGetter) { Parameter p = parms [1]; string out_name = p.Name; if (p.MarshalType != p.CSType) out_name = "my" + out_name; sw.WriteLine ("\t\t\t\t" + out_name + " = " + call_string + ";"); } else sw.WriteLine ("\t\t\t\t" + call_string + ";"); } else sw.WriteLine ("\t\t\t\t" + retval.CSType + " __result = " + call_string + ";"); bool fatal = parms.HasOutParam || !retval.IsVoid; sw.Write (call.Finish ("\t\t\t\t")); if (!retval.IsVoid) sw.WriteLine ("\t\t\t\treturn " + retval.ToNative ("__result") + ";"); sw.WriteLine ("\t\t\t} catch (Exception e) {"); sw.WriteLine ("\t\t\t\tGLib.ExceptionManager.RaiseUnhandledException (e, " + (fatal ? "true" : "false") + ");"); if (fatal) { sw.WriteLine ("\t\t\t\t// NOTREACHED: above call does not return."); sw.WriteLine ("\t\t\t\tthrow e;"); } sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); } public void GenerateDeclaration (StreamWriter sw, VirtualMethod complement) { VMSignature vmsig = new VMSignature (parms); if (IsGetter) { string name = Name.StartsWith ("Get") ? Name.Substring (3) : Name; string type = retval.IsVoid ? parms [1].CSType : retval.CSType; if (complement != null && complement.parms [1].CSType == type) sw.WriteLine ("\t\t" + type + " " + name + " { get; set; }"); else { sw.WriteLine ("\t\t" + type + " " + name + " { get; }"); if (complement != null) sw.WriteLine ("\t\t" + complement.retval.CSType + " " + complement.Name + " (" + (new VMSignature (complement.parms)) + ");"); } } else if (IsSetter) sw.WriteLine ("\t\t" + parms[1].CSType + " " + Name.Substring (3) + " { set; }"); else sw.WriteLine ("\t\t" + retval.CSType + " " + Name + " (" + vmsig + ");"); } enum ValidState { Unvalidated, Invalid, Valid } ValidState vstate = ValidState.Unvalidated; public bool IsValid { get { if (vstate == ValidState.Unvalidated) return Validate (); else return vstate == ValidState.Valid; } } public override bool Validate () { if (!parms.Validate () || !retval.Validate ()) { Console.Write ("in virtual method " + Name + " "); vstate = ValidState.Invalid; return false; } vstate = ValidState.Valid; return true; } } } gtk-sharp-2.12.40/generator/ManagedCallString.cs0000664000175000017500000001033512767740470016357 00000000000000// GtkSharp.Generation.ManagedCallString.cs - The ManagedCallString Class. // // Author: Mike Kestner // // Copyright (c) 2003 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; public class ManagedCallString { ArrayList parms = new ArrayList (); ArrayList special = new ArrayList (); string error_param = null; string user_data_param = null; string destroy_param = null; public ManagedCallString (Parameters parms, bool drop_first) { for (int i = drop_first ? 1 : 0; i < parms.Count; i ++) { Parameter p = parms [i]; if (p.IsLength && i > 0 && parms [i-1].IsString) continue; else if (p.Scope == "notified") { user_data_param = parms[i+1].Name; destroy_param = parms[i+2].Name; i += 2; } else if (p.IsUserData && parms.IsHidden (p)) { user_data_param = p.Name; continue; } else if (p is ErrorParameter) { error_param = p.Name; continue; } this.parms.Add (p); if (p.PassAs != String.Empty && (p.Name != p.FromNative (p.Name))) this.special.Add (true); else if (p.Generatable is CallbackGen) this.special.Add (true); else this.special.Add (false); } } public bool HasOutParam { get { foreach (Parameter p in parms) { if (p.PassAs == "out") return true; } return false; } } public string Unconditional (string indent) { string ret = ""; if (error_param != null) ret = indent + error_param + " = IntPtr.Zero;\n"; return ret; } public string Setup (string indent) { string ret = ""; for (int i = 0; i < parms.Count; i ++) { if ((bool)special[i] == false) continue; Parameter p = parms [i] as Parameter; IGeneratable igen = p.Generatable; if (igen is CallbackGen) { if (user_data_param == null) ret += indent + String.Format ("{0} {1}_invoker = new {0} ({1});\n", (igen as CallbackGen).InvokerName, p.Name); else if (destroy_param == null) ret += indent + String.Format ("{0} {1}_invoker = new {0} ({1}, {2});\n", (igen as CallbackGen).InvokerName, p.Name, user_data_param); else ret += indent + String.Format ("{0} {1}_invoker = new {0} ({1}, {2}, {3});\n", (igen as CallbackGen).InvokerName, p.Name, user_data_param, destroy_param); } else { ret += indent + igen.QualifiedName + " my" + p.Name; if (p.PassAs == "ref") ret += " = " + p.FromNative (p.Name); ret += ";\n"; } } return ret; } public override string ToString () { if (parms.Count < 1) return ""; string[] result = new string [parms.Count]; for (int i = 0; i < parms.Count; i ++) { Parameter p = parms [i] as Parameter; result [i] = p.PassAs == "" ? "" : p.PassAs + " "; if (p.Generatable is CallbackGen) result [i] += p.Name + "_invoker.Handler"; else result [i] += ((bool)special[i]) ? "my" + p.Name : p.FromNative (p.Name); } return String.Join (", ", result); } public string Finish (string indent) { string ret = ""; for (int i = 0; i < parms.Count; i ++) { if ((bool)special[i] == false) continue; Parameter p = parms [i] as Parameter; IGeneratable igen = p.Generatable; if (igen is CallbackGen) continue; else if (igen is StructBase) ret += indent + String.Format ("if ({0} != IntPtr.Zero) System.Runtime.InteropServices.Marshal.StructureToPtr (my{0}, {0}, false);\n", p.Name); else if (!(igen is ByRefGen)) ret += indent + p.Name + " = " + igen.ToNativeReturn ("my" + p.Name) + ";\n"; } return ret; } } } gtk-sharp-2.12.40/generator/EnumGen.cs0000664000175000017500000000574612767740470014410 00000000000000// GtkSharp.Generation.EnumGen.cs - The Enumeration Generatable. // // Author: Mike Kestner // // Copyright (c) 2001 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class EnumGen : GenBase { string enum_type = String.Empty; ArrayList members = new ArrayList (); public EnumGen (XmlElement ns, XmlElement elem) : base (ns, elem) { foreach (XmlElement member in elem.ChildNodes) { if (member.Name != "member") continue; string result = "\t\t" + member.GetAttribute("name"); if (member.HasAttribute("value")) { string value = member.GetAttribute("value"); if (value.EndsWith("U")) { enum_type = " : uint"; value = value.TrimEnd('U'); } result += " = " + value; } members.Add (result + ","); } } public override bool Validate () { return true; } public override string DefaultValue { get { return "(" + QualifiedName + ") 0"; } } public override string MarshalType { get { return "int"; } } public override string CallByName (string var_name) { return "(int) " + var_name; } public override string FromNative(string var) { return "(" + QualifiedName + ") " + var; } public override void Generate (GenerationInfo gen_info) { StreamWriter sw = gen_info.OpenStream (Name); sw.WriteLine ("namespace " + NS + " {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine ("\tusing System.Runtime.InteropServices;"); sw.WriteLine (); sw.WriteLine ("#region Autogenerated code"); if (Elem.GetAttribute("type") == "flags") sw.WriteLine ("\t[Flags]"); if (Elem.HasAttribute("gtype")) sw.WriteLine ("\t[{0}]", Name); string access = IsInternal ? "internal" : "public"; sw.WriteLine ("\t" + access + " enum " + Name + enum_type + " {"); sw.WriteLine (); foreach (string member in members) sw.WriteLine (member); sw.WriteLine ("\t}"); if (Elem.HasAttribute ("gtype")) { AttributeHelper.Gen (sw, Name, LibraryName, Elem.GetAttribute ("gtype")); } sw.WriteLine ("#endregion"); sw.WriteLine ("}"); sw.Close (); Statistics.EnumCount++; } } } gtk-sharp-2.12.40/generator/ManualGen.cs0000664000175000017500000000311512767740470014705 00000000000000// GtkSharp.Generation.ManualGen.cs - Ungenerated handle type Generatable. // // Author: Mike Kestner // // Copyright (c) 2003 Mike Kestner // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; public class ManualGen : SimpleBase { string from_fmt; public ManualGen (string ctype, string type) : base (ctype, type, "null") { from_fmt = "new " + QualifiedName + "({0})"; } public ManualGen (string ctype, string type, string from_fmt) : base (ctype, type, "null") { this.from_fmt = from_fmt; } public override string MarshalType { get { return "IntPtr"; } } public override string CallByName (string var_name) { return var_name + " == null ? IntPtr.Zero : " + var_name + ".Handle"; } public override string FromNative(string var) { return String.Format (from_fmt, var); } } } gtk-sharp-2.12.40/generator/Makefile.in0000664000175000017500000004433612767740506014566 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = generator ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = gapi2-codegen CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(assemblydir)" SCRIPTS = $(bin_SCRIPTS) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac DATA = $(assembly_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/gapi2-codegen.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ assemblydir = $(prefix)/lib/gtk-sharp-2.0 assembly_DATA = gapi_codegen.exe bin_SCRIPTS = gapi2-codegen CLEANFILES = gapi_codegen.exe DISTCLEANFILES = gapi2-codegen references = sources = \ AttributeHelper.cs \ AliasGen.cs \ BoxedGen.cs \ ByRefGen.cs \ CallbackGen.cs \ ChildProperty.cs \ ClassBase.cs \ ClassGen.cs \ CodeGenerator.cs \ ConstFilenameGen.cs \ ConstStringGen.cs \ Ctor.cs \ EnumGen.cs \ FieldBase.cs \ GenBase.cs \ GenerationInfo.cs \ HandleBase.cs \ IAccessor.cs \ IGeneratable.cs \ IManualMarshaler.cs \ InterfaceGen.cs \ LPGen.cs \ LPUGen.cs \ ManagedCallString.cs \ ManualGen.cs \ MarshalGen.cs \ MethodBase.cs \ MethodBody.cs \ Method.cs \ ObjectField.cs \ ObjectBase.cs \ ObjectGen.cs \ OpaqueGen.cs \ Parameters.cs \ Parser.cs \ Property.cs \ PropertyBase.cs \ ReturnValue.cs \ Signal.cs \ Signature.cs \ SimpleBase.cs \ SimpleGen.cs \ Statistics.cs \ StructBase.cs \ StructField.cs \ StructGen.cs \ SymbolTable.cs \ VirtualMethod.cs \ VMSignature.cs build_sources = $(addprefix $(srcdir)/, $(sources)) dist_sources = $(sources) EXTRA_DIST = \ $(dist_sources) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign generator/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign generator/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): gapi2-codegen: $(top_builddir)/config.status $(srcdir)/gapi2-codegen.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n' \ -e 'h;s|.*|.|' \ -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) { files[d] = files[d] " " $$1; \ if (++n[d] == $(am__install_max)) { \ print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ else { print "f", d "/" $$4, $$1 } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 's,.*/,,;$(transform)'`; \ dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir) mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-assemblyDATA: $(assembly_DATA) @$(NORMAL_INSTALL) @list='$(assembly_DATA)'; test -n "$(assemblydir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(assemblydir)'"; \ $(MKDIR_P) "$(DESTDIR)$(assemblydir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(assemblydir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(assemblydir)" || exit $$?; \ done uninstall-assemblyDATA: @$(NORMAL_UNINSTALL) @list='$(assembly_DATA)'; test -n "$(assemblydir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(assemblydir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(SCRIPTS) $(DATA) installdirs: for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(assemblydir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-assemblyDATA install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-binSCRIPTS install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-assemblyDATA uninstall-binSCRIPTS .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-assemblyDATA install-binSCRIPTS \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \ uninstall-am uninstall-assemblyDATA uninstall-binSCRIPTS .PRECIOUS: Makefile gapi_codegen.exe: $(build_sources) $(CSC) -out:gapi_codegen.exe $(OFF_T_FLAGS) $(references) $(build_sources) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/generator/Signature.cs0000664000175000017500000000525612767740470015007 00000000000000// GtkSharp.Generation.Signature.cs - The Signature Generation Class. // // Author: Mike Kestner // // Copyright (c) 2003-2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.Xml; public class Signature { private ArrayList parms = new ArrayList (); public Signature (Parameters parms) { foreach (Parameter p in parms) { if (!parms.IsHidden (p)) this.parms.Add (p); } } public override string ToString () { if (parms.Count == 0) return ""; string[] result = new string [parms.Count]; int i = 0; foreach (Parameter p in parms) { result [i] = p.PassAs != "" ? p.PassAs + " " : ""; result [i++] += p.CSType + " " + p.Name; } return String.Join (", ", result); } public string Types { get { if (parms.Count == 0) return ""; string[] result = new string [parms.Count]; int i = 0; foreach (Parameter p in parms) result [i++] = p.CSType; return String.Join (":", result); } } public bool IsAccessor { get { int count = 0; foreach (Parameter p in parms) { if (p.PassAs == "out") count++; if (count > 1) return false; } return count == 1; } } public string AccessorType { get { foreach (Parameter p in parms) if (p.PassAs == "out") return p.CSType; return null; } } public string AccessorName { get { foreach (Parameter p in parms) if (p.PassAs == "out") return p.Name; return null; } } public string AsAccessor { get { string[] result = new string [parms.Count - 1]; int i = 0; foreach (Parameter p in parms) { if (p.PassAs == "out") continue; result [i] = p.PassAs != "" ? p.PassAs + " " : ""; result [i++] += p.CSType + " " + p.Name; } return String.Join (", ", result); } } } } gtk-sharp-2.12.40/generator/ByRefGen.cs0000664000175000017500000000221312767740470014475 00000000000000// GtkSharp.Generation.ByRefGen.cs - The ByRef type Generatable. // // Author: Mike Kestner // // Copyright (c) 2003 Mike Kestner // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; public class ByRefGen : SimpleBase { public ByRefGen (string ctype, string type) : base (ctype, type, type + ".Empty") {} public override string MarshalType { get { return "ref " + QualifiedName; } } } } gtk-sharp-2.12.40/generator/Parameters.cs0000664000175000017500000004413712767740470015152 00000000000000// GtkSharp.Generation.Parameters.cs - The Parameters Generation Class. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class Parameter { private XmlElement elem; public Parameter (XmlElement e) { elem = e; } string call_name; public string CallName { get { if (call_name == null) return Name; else return call_name; } set { call_name = value; } } public string CType { get { string type = elem.GetAttribute("type"); if (type == "void*") type = "gpointer"; return type; } } public string CSType { get { string cstype = SymbolTable.Table.GetCSType( elem.GetAttribute("type")); if (cstype == "void") cstype = "System.IntPtr"; if (IsArray) { if (IsParams) cstype = "params " + cstype; cstype += "[]"; cstype = cstype.Replace ("ref ", ""); } return cstype; } } public IGeneratable Generatable { get { return SymbolTable.Table[CType]; } } public bool IsArray { get { return elem.HasAttribute("array") || elem.HasAttribute("null_term_array"); } } public bool IsEllipsis { get { return elem.HasAttribute("ellipsis"); } } public bool IsCount { get { if (Name.StartsWith("n_")) switch (CSType) { case "int": case "uint": case "long": case "ulong": case "short": case "ushort": return true; default: return false; } else return false; } } public bool IsDestroyNotify { get { return CType == "GDestroyNotify"; } } public bool IsLength { get { if (Name.EndsWith("len") || Name.EndsWith("length")) switch (CSType) { case "int": case "uint": case "long": case "ulong": case "short": case "ushort": return true; default: return false; } else return false; } } public bool IsParams { get { return elem.HasAttribute("params"); } } public bool IsString { get { return (CSType == "string"); } } public bool IsUserData { get { return CSType == "IntPtr" && (Name.EndsWith ("data") || Name.EndsWith ("data_or_owner")); } } public virtual string MarshalType { get { string type = SymbolTable.Table.GetMarshalType( elem.GetAttribute("type")); if (type == "void" || Generatable is IManualMarshaler) type = "IntPtr"; if (IsArray) { type += "[]"; type = type.Replace ("ref ", ""); } return type; } } public string Name { get { return SymbolTable.Table.MangleName (elem.GetAttribute("name")); } } public bool Owned { get { return elem.GetAttribute ("owned") == "true"; } } public virtual string NativeSignature { get { string sig = MarshalType + " " + Name; if (PassAs != String.Empty) sig = PassAs + " " + sig; return sig; } } public string PropertyName { get { return elem.GetAttribute("property_name"); } } string pass_as; public string PassAs { get { if (pass_as != null) return pass_as; if (elem.HasAttribute ("pass_as")) return elem.GetAttribute ("pass_as"); if (IsArray || CSType.EndsWith ("IntPtr")) return ""; if (CType.EndsWith ("*") && (Generatable is SimpleGen || Generatable is EnumGen)) return "out"; return ""; } set { pass_as = value; } } string scope; public string Scope { get { if (scope == null) scope = elem.GetAttribute ("scope"); return scope; } set { scope = value; } } public virtual string[] Prepare { get { IGeneratable gen = Generatable; if (gen is IManualMarshaler) { string result = "IntPtr native_" + CallName; if (PassAs != "out") result += " = " + (gen as IManualMarshaler).AllocNative (CallName); return new string [] { result + ";" }; } else if (PassAs == "out" && CSType != MarshalType) return new string [] { gen.MarshalType + " native_" + CallName + ";" }; return new string [0]; } } public virtual string CallString { get { string call_parm; IGeneratable gen = Generatable; if (gen is CallbackGen) return SymbolTable.Table.CallByName (CType, CallName + "_wrapper"); else if (PassAs != String.Empty) { call_parm = PassAs + " "; if (CSType != MarshalType) call_parm += "native_"; call_parm += CallName; } else if (gen is IManualMarshaler) call_parm = "native_" + CallName; else call_parm = SymbolTable.Table.CallByName(CType, CallName); return call_parm; } } public virtual string[] Finish { get { IGeneratable gen = Generatable; if (gen is IManualMarshaler) { string[] result = new string [PassAs == "ref" ? 2 : 1]; int i = 0; if (PassAs != String.Empty) result [i++] = CallName + " = " + Generatable.FromNative ("native_" + CallName) + ";"; if (PassAs != "out") result [i] = (gen as IManualMarshaler).ReleaseNative ("native_" + CallName) + ";"; return result; } else if (PassAs != String.Empty && MarshalType != CSType) { var handle = gen as HandleBase; if (handle != null) { return new string [] { CallName + " = " + handle.FromNative ("native_" + CallName, Owned) + ";" }; } return new string [] { CallName + " = " + gen.FromNative ("native_" + CallName) + ";" }; } return new string [0]; } } public string FromNative (string var) { if (Generatable == null) return String.Empty; else if (Generatable is HandleBase) return ((HandleBase)Generatable).FromNative (var, Owned); else return Generatable.FromNative (var); } public string StudlyName { get { string name = elem.GetAttribute("name"); string[] segs = name.Split('_'); string studly = ""; foreach (string s in segs) { if (s.Trim () == "") continue; studly += (s.Substring(0,1).ToUpper() + s.Substring(1)); } return studly; } } } public class ArrayParameter : Parameter { bool null_terminated; public ArrayParameter (XmlElement elem) : base (elem) { null_terminated = elem.HasAttribute ("null_term_array"); } public override string MarshalType { get { if (Generatable is StructBase) return CSType; else return base.MarshalType; } } bool NullTerminated { get { return null_terminated; } } public override string[] Prepare { get { if (CSType == MarshalType) return new string [0]; ArrayList result = new ArrayList (); result.Add (String.Format ("int cnt_{0} = {0} == null ? 0 : {0}.Length;", CallName)); result.Add (String.Format ("{0}[] native_{1} = new {0} [cnt_{1}" + (NullTerminated ? " + 1" : "") + "];", MarshalType.TrimEnd ('[', ']'), CallName)); IGeneratable gen = Generatable; result.Add (String.Format ("for (int i = 0; i < cnt_{0}; i++) {{", CallName)); string marshalRes; if (gen is IManualMarshaler) marshalRes = ((IManualMarshaler)gen).AllocNative (CallName + "[i]"); else marshalRes = gen.CallByName (CallName + "[i]"); result.Add (String.Format ("\tnative_{0} [i] = {1};", CallName, marshalRes)); result.Add ("}"); if (NullTerminated) result.Add (String.Format ("native_{0} [cnt_{0}] = IntPtr.Zero;", CallName)); return (string[]) result.ToArray (typeof (string)); } } public override string CallString { get { if (CSType != MarshalType) return "native_" + CallName; else return CallName; } } public override string[] Finish { get { if (CSType == MarshalType) return new string [0]; var result = new System.Collections.Generic.List (); IGeneratable gen = Generatable; if (gen is IManualMarshaler || (gen is MarshalGen && ((MarshalGen)gen).FreeAfterUse)) { result.Add ("for (int i = 0; i < cnt_" + CallName + "; i++) {"); string nativeVariable = "native_" + CallName + "[i]"; if (gen is IManualMarshaler) { // All of these are in setter methods, it's mostly fire and forget so there's no need to marshal back the return value. //result.Add ("\t" + CallName + "[i] = " + gen.FromNative (nativeVariable) + ";"); result.Add ("\t" + (gen as IManualMarshaler).ReleaseNative (nativeVariable) + ";"); } else { if (gen is MarshalGen && ((MarshalGen)gen).FreeAfterUse) { // Don't use the FromNative return as it'll try and reconstruct the value, which is useless overhead. result.Add ("\tGLib.Marshaller.Free (" + nativeVariable + ");"); } } result.Add ("}"); } return result.ToArray (); } } } public class ArrayCountPair : ArrayParameter { XmlElement count_elem; bool invert; public ArrayCountPair (XmlElement array_elem, XmlElement count_elem, bool invert) : base (array_elem) { this.count_elem = count_elem; this.invert = invert; } string CountNativeType { get { return SymbolTable.Table.GetMarshalType(count_elem.GetAttribute("type")); } } string CountType { get { return SymbolTable.Table.GetCSType(count_elem.GetAttribute("type")); } } string CountCast { get { if (CountType == "int") return String.Empty; else return "(" + CountType + ") "; } } string CountName { get { return SymbolTable.Table.MangleName (count_elem.GetAttribute("name")); } } string CallCount (string name) { string result = CountCast + "(" + name + " == null ? 0 : " + name + ".Length)"; IGeneratable gen = SymbolTable.Table[count_elem.GetAttribute("type")]; return gen.CallByName (result); } public override string CallString { get { if (invert) return CallCount (CallName) + ", " + base.CallString; else return base.CallString + ", " + CallCount (CallName); } } public override string NativeSignature { get { if (invert) return CountNativeType + " " + CountName + ", " + MarshalType + " " + Name; else return MarshalType + " " + Name + ", " + CountNativeType + " " + CountName; } } } public class ErrorParameter : Parameter { public ErrorParameter (XmlElement elem) : base (elem) { PassAs = "out"; } public override string CallString { get { return "out error"; } } } public class StructParameter : Parameter { public StructParameter (XmlElement elem) : base (elem) {} public override string MarshalType { get { return "IntPtr"; } } public override string[] Prepare { get { if (PassAs == "out") return new string [] { "IntPtr native_" + CallName + " = Marshal.AllocHGlobal (Marshal.SizeOf (typeof (" + Generatable.QualifiedName + ")));"}; else return new string [] { "IntPtr native_" + CallName + " = " + (Generatable as IManualMarshaler).AllocNative (CallName) + ";"}; } } public override string CallString { get { return "native_" + CallName; } } public override string[] Finish { get { string[] result = new string [PassAs == string.Empty ? 1 : 2]; int i = 0; if (PassAs != string.Empty) { result [i++] = CallName + " = " + FromNative ("native_" + CallName) + ";"; } result [i++] = (Generatable as IManualMarshaler).ReleaseNative ("native_" + CallName) + ";"; return result; } } public override string NativeSignature { get { return "IntPtr " + CallName; } } } public class ByRefParameter : Parameter { public ByRefParameter (XmlElement elem) : base (elem) { } public override string MarshalType { get { return "ref " + CallName; } } public override string [] Prepare { get { return new string [0]; } } public override string CallString { get { return "ref " + CallName; } } public override string [] Finish { get { return new string [0]; } } public override string NativeSignature { get { return "ref " + CSType + " " + CallName; } } } public class Parameters : IEnumerable { ArrayList param_list = new ArrayList (); XmlElement elem; public Parameters (XmlElement elem) { if (elem == null) valid = true; this.elem = elem; } public int Count { get { return param_list.Count; } } public int VisibleCount { get { int visible = 0; foreach (Parameter p in this) { if (!IsHidden (p)) visible++; } return visible; } } public Parameter this [int idx] { get { return param_list [idx] as Parameter; } } public bool IsHidden (Parameter p) { int idx = param_list.IndexOf (p); if (idx > 0 && p.IsLength && p.PassAs == String.Empty && this [idx - 1].IsString) return true; if (p.IsCount && ((idx > 0 && this [idx - 1].IsArray) || (idx < Count - 1 && this [idx + 1].IsArray))) return true; if (p.CType == "GError**") return true; if (HasCB || HideData) { if (p.IsUserData && (idx == Count - 1)) return true; if (p.IsUserData && (idx == Count - 2) && this [Count - 1] is ErrorParameter) return true; if (p.IsUserData && idx > 0 && this [idx - 1].Generatable is CallbackGen) return true; if (p.IsDestroyNotify && (idx == Count - 1) && this [idx - 1].IsUserData) return true; } return false; } bool has_cb; public bool HasCB { get { return has_cb; } set { has_cb = value; } } public bool HasOutParam { get { foreach (Parameter p in this) if (p.PassAs == "out") return true; return false; } } bool hide_data; public bool HideData { get { return hide_data; } set { hide_data = value; } } bool is_static; public bool Static { get { return is_static; } set { is_static = value; } } void Clear () { elem = null; param_list.Clear (); param_list = null; } public IEnumerator GetEnumerator () { return param_list.GetEnumerator (); } bool valid = false; public bool Validate () { if (valid) return true; if (elem == null) return false; for (int i = 0; i < elem.ChildNodes.Count; i++) { XmlElement parm = elem.ChildNodes [i] as XmlElement; if (parm == null || parm.Name != "parameter") continue; Parameter p = new Parameter (parm); if (p.IsEllipsis) { Console.Write("Ellipsis parameter "); Clear (); return false; } if ((p.CSType == "") || (p.Name == "") || (p.MarshalType == "") || (SymbolTable.Table.CallByName(p.CType, p.Name) == "")) { Console.Write("Name: " + p.Name + " Type: " + p.CType + " "); Clear (); return false; } IGeneratable gen = p.Generatable; if (p.IsArray) { p = new ArrayParameter (parm); if (i < elem.ChildNodes.Count - 1) { XmlElement next = elem.ChildNodes [i + 1] as XmlElement; if (next != null || next.Name == "parameter") { Parameter c = new Parameter (next); if (c.IsCount) { p = new ArrayCountPair (parm, next, false); i++; } } } } else if (p.IsCount && i < elem.ChildNodes.Count - 1) { XmlElement next = elem.ChildNodes [i + 1] as XmlElement; if (next != null || next.Name == "parameter") { Parameter a = new Parameter (next); if (a.IsArray) { p = new ArrayCountPair (next, parm, true); i++; } } } else if (p.CType == "GError**") p = new ErrorParameter (parm); else if (gen is StructBase) { p = new StructParameter (parm); } else if (gen is ByRefGen) { p = new ByRefParameter (parm); } else if (gen is CallbackGen) { has_cb = true; } param_list.Add (p); } if (has_cb && Count > 2 && this [Count - 3].Generatable is CallbackGen && this [Count - 2].IsUserData && this [Count - 1].IsDestroyNotify) this [Count - 3].Scope = "notified"; valid = true; return true; } public bool IsAccessor { get { return VisibleCount == 1 && AccessorParam.PassAs == "out"; } } public Parameter AccessorParam { get { foreach (Parameter p in this) { if (!IsHidden (p)) return p; } return null; } } public string AccessorReturnType { get { Parameter p = AccessorParam; if (p != null) return p.CSType; else return null; } } public string AccessorName { get { Parameter p = AccessorParam; if (p != null) return p.Name; else return null; } } public string ImportSignature { get { if (Count == 0) return String.Empty; string[] result = new string [Count]; for (int i = 0; i < Count; i++) result [i] = this [i].NativeSignature; return String.Join (", ", result); } } } } gtk-sharp-2.12.40/generator/Property.cs0000664000175000017500000001322412767740470014664 00000000000000// GtkSharp.Generation.Property.cs - The Property Generatable. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class Property : PropertyBase { public Property (XmlElement elem, ClassBase container_type) : base (elem, container_type) {} public bool Validate () { if (CSType == "" && !Hidden) { Console.Write("Property has unknown Type {0} ", CType); Statistics.ThrottledCount++; return false; } return true; } bool Readable { get { return elem.GetAttribute ("readable") == "true"; } } bool Writable { get { return elem.GetAttribute ("writeable") == "true" && !elem.HasAttribute ("construct-only"); } } bool IsDeprecated { get { return !container_type.IsDeprecated && (elem.GetAttribute ("deprecated") == "1" || elem.GetAttribute ("deprecated") == "true"); } } protected virtual string PropertyAttribute (string qpname) { return "[GLib.Property (" + qpname + ")]"; } protected virtual string RawGetter (string qpname) { return "GetProperty (" + qpname + ")"; } protected virtual string RawSetter (string qpname) { return "SetProperty(" + qpname + ", val)"; } public void GenerateDecl (StreamWriter sw, string indent) { if (Hidden || (!Readable && !Writable)) return; string name = Name; if (name == container_type.Name) name += "Prop"; sw.WriteLine (indent + CSType + " " + name + " {"); sw.Write (indent + "\t"); if (Readable || Getter != null) sw.Write ("get; "); if (Writable || Setter != null) sw.Write ("set;"); sw.WriteLine (); sw.WriteLine (indent + "}"); } public void Generate (GenerationInfo gen_info, string indent, ClassBase implementor) { SymbolTable table = SymbolTable.Table; StreamWriter sw = gen_info.Writer; if (Hidden || (!Readable && !Writable)) return; string modifiers = ""; if (IsNew || (container_type.Parent != null && container_type.Parent.GetPropertyRecursively (Name) != null)) modifiers = "new "; else if (implementor != null && implementor.Parent != null && implementor.Parent.GetPropertyRecursively (Name) != null) modifiers = "new "; string name = Name; if (name == container_type.Name) { name += "Prop"; } string qpname = "\"" + CName + "\""; string v_type = ""; if (table.IsInterface (CType)) { v_type = "(GLib.Object)"; } else if (table.IsOpaque (CType)) { v_type = "(GLib.Opaque)"; } else if (table.IsEnum (CType)) { v_type = "(Enum)"; } GenerateImports (gen_info, indent); if (IsDeprecated || (Getter != null && Getter.IsDeprecated) || (Setter != null && Setter.IsDeprecated)) sw.WriteLine (indent + "[Obsolete]"); sw.WriteLine (indent + PropertyAttribute (qpname)); sw.WriteLine (indent + "public " + modifiers + CSType + " " + name + " {"); indent += "\t"; if (Getter != null) { sw.Write(indent + "get "); Getter.GenerateBody(gen_info, implementor, "\t"); sw.WriteLine(); } else if (Readable) { sw.WriteLine(indent + "get {"); sw.WriteLine(indent + "\tusing (GLib.Value val = " + RawGetter (qpname) + ") {"); if (table.IsOpaque (CType) || table.IsBoxed (CType)) { sw.WriteLine(indent + "\t\t" + CSType + " ret = (" + CSType + ") val;"); } else if (table.IsInterface (CType)) { // Do we have to dispose the GLib.Object from the GLib.Value? sw.WriteLine (indent + "\t\t{0} ret = {0}Adapter.GetObject ((GLib.Object) val);", CSType); } else { sw.Write(indent + "\t\t" + CSType + " ret = "); sw.Write ("(" + CSType + ") "); if (v_type != "") { sw.Write(v_type + " "); } sw.WriteLine("val;"); } sw.WriteLine(indent + "\t\treturn ret;"); sw.WriteLine(indent + "\t}"); sw.WriteLine(indent + "}"); } if (Setter != null) { sw.Write(indent + "set "); Setter.GenerateBody(gen_info, implementor, "\t"); sw.WriteLine(); } else if (Writable) { sw.WriteLine(indent + "set {"); sw.Write(indent + "\tusing (GLib.Value val = "); if (table.IsBoxed (CType)) { sw.Write("(GLib.Value) value"); } else if (table.IsOpaque (CType)) { sw.Write("new GLib.Value(value, \"{0}\")", CType); } else { sw.Write("new GLib.Value("); if (v_type != "" && !(table.IsObject (CType) || table.IsInterface (CType) || table.IsOpaque (CType))) { sw.Write(v_type + " "); } sw.Write("value)"); } sw.WriteLine (") {"); sw.WriteLine(indent + "\t\t" + RawSetter (qpname) + ";"); sw.WriteLine(indent + "\t}"); sw.WriteLine (indent + "}"); } sw.WriteLine(indent.Substring (1) + "}"); sw.WriteLine(); Statistics.PropCount++; } } } gtk-sharp-2.12.40/generator/Ctor.cs0000664000175000017500000001402612767740470013750 00000000000000// GtkSharp.Generation.Ctor.cs - The Constructor Generation Class. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2004-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Linq; using System.Xml; public class Ctor : MethodBase { private bool preferred; private string name; private bool needs_chaining = false; public Ctor (XmlElement elem, ClassBase implementor) : base (elem, implementor) { if (elem.HasAttribute ("preferred")) preferred = true; if (implementor is ObjectGen) needs_chaining = true; name = implementor.Name; } public bool Preferred { get { return preferred; } set { preferred = value; } } public string StaticName { get { if (!IsStatic) return String.Empty; string[] toks = CName.Substring(CName.IndexOf("new")).Split ('_'); string result = String.Empty; foreach (string tok in toks) result += tok.Substring(0,1).ToUpper() + tok.Substring(1); return result; } } void GenerateImport (StreamWriter sw) { sw.WriteLine("\t\t[DllImport(\"" + LibraryName + "\", CallingConvention = CallingConvention.Cdecl)]"); sw.WriteLine("\t\tstatic extern " + Safety + "IntPtr " + CName + "(" + Parameters.ImportSignature + ");"); sw.WriteLine(); } void GenerateStatic (GenerationInfo gen_info) { StreamWriter sw = gen_info.Writer; sw.WriteLine("\t\t" + Protection + " static " + Safety + Modifiers + name + " " + StaticName + "(" + Signature + ")"); sw.WriteLine("\t\t{"); Body.Initialize(gen_info, false, false, ""); sw.Write("\t\t\t" + name + " result = "); if (container_type is StructBase) sw.Write ("{0}.New (", name); else sw.Write ("new {0} (", name); sw.WriteLine (CName + "(" + Body.GetCallString (false) + "));"); Body.Finish (sw, ""); Body.HandleException (sw, ""); sw.WriteLine ("\t\t\treturn result;"); } static bool IsNullable (IGeneratable gen) { return gen is ClassBase && !(gen is StructBase); } public void Generate (GenerationInfo gen_info) { if (!Validate ()) return; StreamWriter sw = gen_info.Writer; gen_info.CurrentMember = CName; GenerateImport (sw); if (IsStatic) GenerateStatic (gen_info); else { sw.WriteLine("\t\t{0} {1}{2} ({3}) {4}", Protection, Safety, name, Signature.ToString(), needs_chaining ? ": base (IntPtr.Zero)" : ""); sw.WriteLine("\t\t{"); if (needs_chaining) { sw.WriteLine ("\t\t\tif (GetType () != typeof (" + name + ")) {"); if (Parameters.Count == 0) { sw.WriteLine ("\t\t\t\tCreateNativeObject (new IntPtr [0], new GLib.Value[0], 0);"); sw.WriteLine ("\t\t\t\treturn;"); } else { ArrayList names = new ArrayList (); ArrayList values = new ArrayList (); for (int i = 0; i < Parameters.Count; i++) { Parameter p = Parameters[i]; if (container_type.GetPropertyRecursively (p.StudlyName) != null) { names.Add (p.Name); values.Add (p.Name); } else if (p.PropertyName != String.Empty) { names.Add (p.PropertyName); values.Add (p.Name); } } if (names.Count == Parameters.Count) { bool genFixedDimension = true; foreach (Parameter par in Parameters) { if (IsNullable (par.Generatable)) { genFixedDimension = false; break; } } sw.WriteLine ("\t\t\t\tvar vals = new GLib.Value[{0}];", Parameters.Count); sw.WriteLine ("\t\t\t\tvar names = new IntPtr[{0}];", names.Count); if (!genFixedDimension) sw.WriteLine ("\t\t\t\tvar param_count = 0;"); for (int i = 0; i < names.Count; i++) { Parameter p = Parameters [i]; string indent = "\t\t\t\t"; if (IsNullable (p.Generatable)) { sw.WriteLine (indent + "if (" + p.Name + " != null) {"); indent += "\t"; } if (genFixedDimension) { sw.WriteLine (indent + "names[" + i + "] = GLib.Marshaller.StringToPtrGStrdup (\"" + names [i] + "\");"); sw.WriteLine (indent + "vals[" + i + "] = new GLib.Value (" + values [i] + ");"); } else { sw.WriteLine (indent + "names[param_count] = GLib.Marshaller.StringToPtrGStrdup (\"" + names [i] + "\");"); sw.WriteLine (indent + "vals[param_count++] = new GLib.Value (" + values [i] + ");"); } if (IsNullable (p.Generatable)) sw.WriteLine ("\t\t\t\t}"); } if (genFixedDimension) sw.WriteLine ("\t\t\t\tCreateNativeObject (names, vals, {0});", names.Count); else sw.WriteLine ("\t\t\t\tCreateNativeObject (names, vals, param_count);"); sw.WriteLine ("\t\t\t\treturn;"); } else sw.WriteLine ("\t\t\t\tthrow new InvalidOperationException (\"Can't override this constructor.\");"); } sw.WriteLine ("\t\t\t}"); } Body.Initialize(gen_info, false, false, ""); sw.WriteLine("\t\t\t{0} = {1}({2});", container_type.AssignToName, CName, Body.GetCallString (false)); Body.Finish (sw, ""); Body.HandleException (sw, ""); } sw.WriteLine("\t\t}"); sw.WriteLine(); Statistics.CtorCount++; } } } gtk-sharp-2.12.40/generator/ReturnValue.cs0000664000175000017500000001101612767740470015311 00000000000000// GtkSharp.Generation.ReturnValue.cs - The ReturnValue Generatable. // // Author: Mike Kestner // // Copyright (c) 2004-2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Xml; public class ReturnValue { bool is_null_term; bool is_array; bool elements_owned; bool owned; string ctype = String.Empty; string element_ctype = String.Empty; public ReturnValue (XmlElement elem) { if (elem != null) { is_null_term = elem.HasAttribute ("null_term_array"); is_array = elem.HasAttribute ("array"); elements_owned = elem.GetAttribute ("elements_owned") == "true"; owned = elem.GetAttribute ("owned") == "true"; ctype = elem.GetAttribute("type"); element_ctype = elem.GetAttribute ("element_type"); } } public string CType { get { return ctype; } } public string CSType { get { if (IGen == null) return String.Empty; if (ElementType != String.Empty) return ElementType + "[]"; return IGen.QualifiedName + (is_array || is_null_term ? "[]" : String.Empty); } } public string DefaultValue { get { if (IGen == null) return String.Empty; return IGen.DefaultValue; } } string ElementType { get { if (element_ctype.Length > 0) return SymbolTable.Table.GetCSType (element_ctype); return String.Empty; } } IGeneratable igen; IGeneratable IGen { get { if (igen == null) igen = SymbolTable.Table [CType]; return igen; } } public bool IsVoid { get { return CSType == "void"; } } public string MarshalType { get { if (IGen == null) return String.Empty; else if (is_null_term) return "IntPtr"; return IGen.MarshalReturnType + (is_array ? "[]" : String.Empty); } } public string ToNativeType { get { if (IGen == null) return String.Empty; else if (is_null_term) return "IntPtr"; //FIXME return IGen.ToNativeReturnType + (is_array ? "[]" : String.Empty); } } public string FromNative (string var) { if (IGen == null) return String.Empty; if (ElementType != String.Empty) { string args = (owned ? "true" : "false") + ", " + (elements_owned ? "true" : "false"); if (IGen.QualifiedName == "GLib.PtrArray") return String.Format ("GLib.Marshaller.PtrArrayToArray<{0}> ({1}, {2})", ElementType, var, args); else return String.Format ("GLib.Marshaller.ListPtrToArray<{0}> ({1}, typeof({2}), {3})", ElementType, var, IGen.QualifiedName, args); } else if (IGen is HandleBase) return ((HandleBase)IGen).FromNative (var, owned); else if (is_null_term) return String.Format ("GLib.Marshaller.NullTermPtrToStringArray ({0}, {1})", var, owned ? "true" : "false"); else return IGen.FromNativeReturn (var); } public string ToNative (string var) { if (IGen == null) return String.Empty; if (ElementType.Length > 0) { string args = ", typeof (" + ElementType + "), " + (owned ? "true" : "false") + ", " + (elements_owned ? "true" : "false"); var = "new " + IGen.QualifiedName + "(" + var + args + ")"; } else if (is_null_term) return String.Format ("GLib.Marshaller.StringArrayToNullTermPtr ({0})", var); if (IGen is IManualMarshaler) return (IGen as IManualMarshaler).AllocNative (var); else if (IGen is ObjectGen && owned) return var + " == null ? IntPtr.Zero : " + var + ".OwnedHandle"; else if (IGen is OpaqueGen && owned) return var + " == null ? IntPtr.Zero : " + var + ".OwnedCopy"; else return IGen.ToNativeReturn (var); } public bool Validate () { if (MarshalType == "" || CSType == "") { Console.Write("rettype: " + CType); return false; } return true; } } } gtk-sharp-2.12.40/generator/InterfaceGen.cs0000664000175000017500000002747012767740470015402 00000000000000// GtkSharp.Generation.InterfaceGen.cs - The Interface Generatable. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2004, 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class InterfaceGen : ObjectBase { bool consume_only; ArrayList vms = new ArrayList (); ArrayList members = new ArrayList (); public InterfaceGen (XmlElement ns, XmlElement elem) : base (ns, elem) { consume_only = elem.HasAttribute ("consume_only"); foreach (XmlNode node in elem.ChildNodes) { switch (node.Name) { case "virtual_method": VirtualMethod vm = new VirtualMethod (node as XmlElement, this); vms.Add (vm); members.Add (vm); break; case "signal": object sig = sigs [(node as XmlElement).GetAttribute ("name")]; if (sig == null) sig = new Signal (node as XmlElement, this); members.Add (sig); break; default: if (!IsNodeNameHandled (node.Name)) Console.WriteLine ("Unexpected node " + node.Name + " in " + CName); break; } } } public bool IsConsumeOnly { get { return consume_only; } } public override string FromNative (string var, bool owned) { if (IsConsumeOnly) return "GLib.Object.GetObject (" + var + ", " + (owned ? "true" : "false") + ") as " + QualifiedName; else return QualifiedName + "Adapter.GetObject (" + var + ", " + (owned ? "true" : "false") + ")"; } public override bool ValidateForSubclass () { ArrayList invalids = new ArrayList (); foreach (Method method in methods.Values) { if (!method.Validate ()) { Console.WriteLine ("in type " + QualifiedName); invalids.Add (method); } } foreach (Method method in invalids) methods.Remove (method.Name); invalids.Clear (); return base.ValidateForSubclass (); } string IfaceName { get { return Name + "Iface"; } } void GenerateIfaceStruct (StreamWriter sw) { sw.WriteLine ("\t\tstatic " + IfaceName + " iface;"); sw.WriteLine (); sw.WriteLine ("\t\tstruct " + IfaceName + " {"); sw.WriteLine ("\t\t\tpublic IntPtr gtype;"); sw.WriteLine ("\t\t\tpublic IntPtr itype;"); sw.WriteLine (); foreach (object member in members) { if (member is Signal) { Signal sig = member as Signal; sw.WriteLine ("\t\t\tpublic IntPtr {0};", sig.CName.Replace ("\"", "").Replace ("-", "_")); } else if (member is VirtualMethod) { VirtualMethod vm = member as VirtualMethod; bool has_target = methods [vm.Name] != null; if (!has_target) Console.WriteLine ("Interface " + QualifiedName + " virtual method " + vm.Name + " has no matching method to invoke."); string type = has_target && vm.IsValid ? vm.Name + "Delegate" : "IntPtr"; sw.WriteLine ("\t\t\tpublic " + type + " " + vm.CName + ";"); } } sw.WriteLine ("\t\t}"); sw.WriteLine (); } void GenerateStaticCtor (StreamWriter sw) { sw.WriteLine ("\t\tstatic " + Name + "Adapter ()"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tGLib.GType.Register (_gtype, typeof({0}Adapter));", Name); foreach (VirtualMethod vm in vms) { bool has_target = methods [vm.Name] != null; if (has_target && vm.IsValid) sw.WriteLine ("\t\t\tiface.{0} = new {1}Delegate ({1}Callback);", vm.CName, vm.Name); } sw.WriteLine ("\t\t}"); sw.WriteLine (); } void GenerateInitialize (StreamWriter sw) { sw.WriteLine ("\t\tstatic void Initialize (IntPtr ifaceptr, IntPtr data)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\t" + IfaceName + " native_iface = (" + IfaceName + ") Marshal.PtrToStructure (ifaceptr, typeof (" + IfaceName + "));"); foreach (VirtualMethod vm in vms) sw.WriteLine ("\t\t\tnative_iface." + vm.CName + " = iface." + vm.CName + ";"); sw.WriteLine ("\t\t\tMarshal.StructureToPtr (native_iface, ifaceptr, false);"); sw.WriteLine ("\t\t\tGCHandle gch = (GCHandle) data;"); sw.WriteLine ("\t\t\tgch.Free ();"); sw.WriteLine ("\t\t}"); sw.WriteLine (); } void GenerateCallbacks (StreamWriter sw) { foreach (VirtualMethod vm in vms) { if (methods [vm.Name] != null) { sw.WriteLine (); vm.GenerateCallback (sw); } } } void GenerateCtors (StreamWriter sw) { sw.WriteLine ("\t\tpublic " + Name + "Adapter ()"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tInitHandler = new GLib.GInterfaceInitHandler (Initialize);"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\t{0}Implementor implementor;", Name); sw.WriteLine (); sw.WriteLine ("\t\tpublic {0}Adapter ({0}Implementor implementor)", Name); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (implementor == null)"); sw.WriteLine ("\t\t\t\tthrow new ArgumentNullException (\"implementor\");"); sw.WriteLine ("\t\t\tthis.implementor = implementor;"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\tpublic " + Name + "Adapter (IntPtr handle)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tthis.handle = handle;"); sw.WriteLine ("\t\t}"); sw.WriteLine (); } void GenerateGType (StreamWriter sw) { Method m = GetMethod ("GetType"); m.GenerateImport (sw); sw.WriteLine ("\t\tprivate static GLib.GType _gtype = new GLib.GType ({0} ());", m.CName); sw.WriteLine (); sw.WriteLine ("\t\tpublic override GLib.GType GType {"); sw.WriteLine ("\t\t\tget {"); sw.WriteLine ("\t\t\t\treturn _gtype;"); sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (); } void GenerateHandleProp (StreamWriter sw) { sw.WriteLine ("\t\tIntPtr handle;"); sw.WriteLine ("\t\tpublic override IntPtr Handle {"); sw.WriteLine ("\t\t\tget {"); sw.WriteLine ("\t\t\t\tif (handle != IntPtr.Zero)"); sw.WriteLine ("\t\t\t\t\treturn handle;"); sw.WriteLine ("\t\t\t\treturn implementor == null ? IntPtr.Zero : implementor.Handle;"); sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (); } void GenerateGetObject (StreamWriter sw) { sw.WriteLine ("\t\tpublic static " + Name + " GetObject (IntPtr handle, bool owned)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tGLib.Object obj = GLib.Object.GetObject (handle, owned);"); sw.WriteLine ("\t\t\treturn GetObject (obj);"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\tpublic static " + Name + " GetObject (GLib.Object obj)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (obj == null)"); sw.WriteLine ("\t\t\t\treturn null;"); sw.WriteLine ("\t\t\telse if (obj is " + Name + "Implementor)"); sw.WriteLine ("\t\t\t\treturn new {0}Adapter (obj as {0}Implementor);", Name); sw.WriteLine ("\t\t\telse if (obj as " + Name + " == null)"); sw.WriteLine ("\t\t\t\treturn new {0}Adapter (obj.Handle);", Name); sw.WriteLine ("\t\t\telse"); sw.WriteLine ("\t\t\t\treturn obj as {0};", Name); sw.WriteLine ("\t\t}"); sw.WriteLine (); } void GenerateImplementorProp (StreamWriter sw) { sw.WriteLine ("\t\tpublic " + Name + "Implementor Implementor {"); sw.WriteLine ("\t\t\tget {"); sw.WriteLine ("\t\t\t\treturn implementor;"); sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (); } void GenerateAdapter (GenerationInfo gen_info) { if (IsConsumeOnly) return; StreamWriter sw = gen_info.Writer = gen_info.OpenStream (Name + "Adapter"); sw.WriteLine ("namespace " + NS + " {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine ("\tusing System.Runtime.InteropServices;"); sw.WriteLine (); sw.WriteLine ("#region Autogenerated code"); sw.WriteLine ("\tpublic class " + Name + "Adapter : GLib.GInterfaceAdapter, " + QualifiedName + " {"); sw.WriteLine (); GenerateIfaceStruct (sw); GenerateStaticCtor (sw); GenerateCallbacks (sw); GenerateInitialize (sw); GenerateCtors (sw); GenerateGType (sw); GenerateHandleProp (sw); GenerateGetObject (sw); GenerateImplementorProp (sw); GenProperties (gen_info, null); foreach (Signal sig in sigs.Values) sig.GenEvent (sw, null, "GLib.Object.GetObject (Handle)"); Method temp = methods ["GetType"] as Method; if (temp != null) methods.Remove ("GetType"); GenMethods (gen_info, new Hashtable (), this); if (temp != null) methods ["GetType"] = temp; sw.WriteLine ("#endregion"); AppendCustom (sw, gen_info.CustomDir, Name + "Adapter"); sw.WriteLine ("\t}"); sw.WriteLine ("}"); sw.Close (); gen_info.Writer = null; } void GenerateImplementorIface (GenerationInfo gen_info) { StreamWriter sw = gen_info.Writer; if (IsConsumeOnly) return; sw.WriteLine (); sw.WriteLine ("\t[GLib.GInterface (typeof (" + Name + "Adapter))]"); string access = IsInternal ? "internal" : "public"; sw.WriteLine ("\t" + access + " interface " + Name + "Implementor : GLib.IWrapper {"); sw.WriteLine (); Hashtable vm_table = new Hashtable (); foreach (VirtualMethod vm in vms) vm_table [vm.Name] = vm; foreach (VirtualMethod vm in vms) { if (vm_table [vm.Name] == null) continue; else if (!vm.IsValid) { vm_table.Remove (vm.Name); continue; } else if (vm.IsGetter || vm.IsSetter) { string cmp_name = (vm.IsGetter ? "Set" : "Get") + vm.Name.Substring (3); VirtualMethod cmp = vm_table [cmp_name] as VirtualMethod; if (cmp != null && (cmp.IsGetter || cmp.IsSetter)) { if (vm.IsSetter) cmp.GenerateDeclaration (sw, vm); else vm.GenerateDeclaration (sw, cmp); vm_table.Remove (cmp.Name); } else vm.GenerateDeclaration (sw, null); vm_table.Remove (vm.Name); } else { vm.GenerateDeclaration (sw, null); vm_table.Remove (vm.Name); } } AppendCustom (sw, gen_info.CustomDir, Name + "Implementor"); sw.WriteLine ("\t}"); } public override void Generate (GenerationInfo gen_info) { GenerateAdapter (gen_info); StreamWriter sw = gen_info.Writer = gen_info.OpenStream (Name); sw.WriteLine ("namespace " + NS + " {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine (); sw.WriteLine ("#region Autogenerated code"); string access = IsInternal ? "internal" : "public"; sw.WriteLine ("\t" + access + " interface " + Name + " : GLib.IWrapper {"); sw.WriteLine (); foreach (Signal sig in sigs.Values) { sig.GenerateDecl (sw); sig.GenEventHandler (gen_info); } foreach (Method method in methods.Values) { if (IgnoreMethod (method, this)) continue; method.GenerateDecl (sw); } foreach (Property prop in props.Values) prop.GenerateDecl (sw, "\t\t"); AppendCustom (sw, gen_info.CustomDir); sw.WriteLine ("\t}"); GenerateImplementorIface (gen_info); sw.WriteLine ("#endregion"); sw.WriteLine ("}"); sw.Close (); gen_info.Writer = null; Statistics.IFaceCount++; } } } gtk-sharp-2.12.40/generator/StructGen.cs0000664000175000017500000000352112767740470014755 00000000000000// GtkSharp.Generation.StructGen.cs - The Structure Generatable. // // Author: Mike Kestner // // Copyright (c) 2001 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.IO; using System.Xml; public class StructGen : StructBase { public StructGen (XmlElement ns, XmlElement elem) : base (ns, elem) {} protected override void GenerateAttribute (StreamWriter writer) { if (GetMethod ("GetType") == null && GetMethod ("GetGType") == null) { writer.WriteLine ("\t[GLib.GTypeStruct]"); } else { base.GenerateAttribute (writer); } } public override void Generate (GenerationInfo gen_info) { gen_info.CurrentType = Name; StreamWriter sw = gen_info.Writer = gen_info.OpenStream (Name); base.Generate (gen_info); sw.WriteLine ("#endregion"); AppendCustom (sw, gen_info.CustomDir); sw.WriteLine ("\t}"); var method = GetMethod ("GetType") ?? GetMethod ("GetGType"); if (method != null) AttributeHelper.Gen (sw, Name, LibraryName, method.CName); sw.WriteLine ("}"); sw.Close (); gen_info.Writer = null; Statistics.StructCount++; } } } gtk-sharp-2.12.40/generator/PropertyBase.cs0000664000175000017500000000521512767740470015460 00000000000000// GtkSharp.Generation.PropertyBase.cs - base class for properties and // fields // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Xml; public abstract class PropertyBase { protected XmlElement elem; protected ClassBase container_type; public PropertyBase (XmlElement elem, ClassBase container_type) { this.elem = elem; this.container_type = container_type; } public string Name { get { return elem.GetAttribute ("name"); } } public string CName { get { return elem.GetAttribute ("cname"); } } protected string ctype; public string CType { get { if (ctype == null) { if (elem.GetAttribute("bits") == "1") ctype = "gboolean"; else ctype = elem.GetAttribute("type"); } return ctype; } } protected string cstype; public string CSType { get { if (cstype == null) cstype = SymbolTable.Table.GetCSType (CType); return cstype; } } public bool Hidden { get { return elem.HasAttribute("hidden"); } } protected bool IsNew { get { return elem.HasAttribute("new_flag"); } } Method getter; protected Method Getter { get { if (getter == null) { getter = container_type.GetMethod ("Get" + Name); if (getter != null && getter.Name == "Get" + Name && getter.IsGetter) cstype = getter.ReturnType; else getter = null; } return getter; } } Method setter; protected Method Setter { get { if (setter == null) { setter = container_type.GetMethod ("Set" + Name); if (setter != null && setter.Name == "Set" + Name && setter.IsSetter) cstype = setter.Signature.Types; else setter = null; } return setter; } } protected virtual void GenerateImports (GenerationInfo gen_info, string indent) { if (Getter != null) Getter.GenerateImport (gen_info.Writer); if (Setter != null) Setter.GenerateImport (gen_info.Writer); } } } gtk-sharp-2.12.40/generator/AliasGen.cs0000664000175000017500000000200012767740470014511 00000000000000// GtkSharp.Generation.AliasGen.cs - The Alias type Generatable. // // Author: Mike Kestner // // Copyright (c) 2003 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; public class AliasGen : SimpleBase { public AliasGen (string ctype, string type) : base (ctype, type, String.Empty) {} } } gtk-sharp-2.12.40/generator/Signal.cs0000664000175000017500000005375012767740470014265 00000000000000// GtkSharp.Generation.Signal.cs - The Signal Generatable. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2003-2005 Novell, Inc. // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class Signal { bool marshaled; string name; XmlElement elem; ReturnValue retval; Parameters parms; ClassBase container_type; public Signal (XmlElement elem, ClassBase container_type) { this.elem = elem; name = elem.GetAttribute ("name"); marshaled = elem.GetAttribute ("manual") == "true"; retval = new ReturnValue (elem ["return-type"]); parms = new Parameters (elem["parameters"]); this.container_type = container_type; } bool Marshaled { get { return marshaled; } } public string Name { get { return name; } set { name = value; } } public bool Validate () { if (Name == "") { Console.Write ("Nameless signal "); Statistics.ThrottledCount++; return false; } if (!parms.Validate () || !retval.Validate ()) { Console.Write (" in signal " + Name + " "); Statistics.ThrottledCount++; return false; } return true; } public void GenerateDecl (StreamWriter sw) { if (elem.HasAttribute("new_flag") || (container_type != null && container_type.GetSignalRecursively (Name) != null)) sw.Write("new "); sw.WriteLine ("\t\tevent " + EventHandlerQualifiedName + " " + Name + ";"); } public string CName { get { return "\"" + elem.GetAttribute("cname") + "\""; } } string CallbackSig { get { string result = ""; for (int i = 0; i < parms.Count; i++) { if (i > 0) result += ", "; Parameter p = parms [i]; if (p.PassAs != "" && !(p.Generatable is StructBase)) result += p.PassAs + " "; result += (p.MarshalType + " arg" + i); } return result; } } string CallbackName { get { return Name + "SignalCallback"; } } string DelegateName { get { return Name + "SignalDelegate"; } } private string EventArgsName { get { if (IsEventHandler) return "EventArgs"; else return Name + "Args"; } } private string EventArgsQualifiedName { get { if (IsEventHandler) return "System.EventArgs"; else return container_type.NS + "." + Name + "Args"; } } private string EventHandlerName { get { if (IsEventHandler) return "EventHandler"; else if (SymbolTable.Table [container_type.NS + Name + "Handler"] != null) return Name + "EventHandler"; else return Name + "Handler"; } } private string EventHandlerQualifiedName { get { if (IsEventHandler) return "System.EventHandler"; else return container_type.NS + "." + EventHandlerName; } } string ClassFieldName { get { return elem.HasAttribute ("field_name") ? elem.GetAttribute("field_name") : String.Empty; } } private bool HasOutParams { get { foreach (Parameter p in parms) { if (p.PassAs == "out") return true; } return false; } } private bool IsEventHandler { get { return retval.CSType == "void" && parms.Count == 1 && (parms [0].Generatable is ObjectGen || parms [0].Generatable is InterfaceGen); } } private bool IsVoid { get { return retval.CSType == "void"; } } private string ReturnGType { get { IGeneratable igen = SymbolTable.Table [retval.CType]; if (igen is ObjectGen) return "GLib.GType.Object"; if (igen is BoxedGen) return retval.CSType + ".GType"; if (igen is EnumGen) return retval.CSType + "Attribute.GType"; switch (retval.CSType) { case "bool": return "GLib.GType.Boolean"; case "string": return "GLib.GType.String"; case "int": return "GLib.GType.Int"; default: throw new Exception (retval.CSType); } } } public string GenArgsInitialization (StreamWriter sw) { if (parms.Count > 1) sw.WriteLine("\t\t\t\targs.Args = new object[" + (parms.Count - 1) + "];"); string finish = ""; for (int idx = 1; idx < parms.Count; idx++) { Parameter p = parms [idx]; IGeneratable igen = p.Generatable; if (p.PassAs != "out") { if (igen is ManualGen) { sw.WriteLine("\t\t\t\tif (arg{0} == IntPtr.Zero)", idx); sw.WriteLine("\t\t\t\t\targs.Args[{0}] = null;", idx - 1); sw.WriteLine("\t\t\t\telse {"); sw.WriteLine("\t\t\t\t\targs.Args[" + (idx - 1) + "] = " + p.FromNative ("arg" + idx) + ";"); sw.WriteLine("\t\t\t\t}"); } else sw.WriteLine("\t\t\t\targs.Args[" + (idx - 1) + "] = " + p.FromNative ("arg" + idx) + ";"); } if (igen is StructBase && p.PassAs == "ref") finish += "\t\t\t\tif (arg" + idx + " != IntPtr.Zero) System.Runtime.InteropServices.Marshal.StructureToPtr (args.Args[" + (idx-1) + "], arg" + idx + ", false);\n"; else if (p.PassAs != "") finish += "\t\t\t\targ" + idx + " = " + igen.ToNativeReturn ("((" + p.CSType + ")args.Args[" + (idx - 1) + "])") + ";\n"; } return finish; } public void GenArgsCleanup (StreamWriter sw, string finish) { if (IsVoid && finish.Length == 0) return; sw.WriteLine("\n\t\t\ttry {"); sw.Write (finish); if (!IsVoid) { if (retval.CSType == "bool") { sw.WriteLine ("\t\t\t\tif (args.RetVal == null)"); sw.WriteLine ("\t\t\t\t\treturn false;"); } sw.WriteLine("\t\t\t\treturn " + SymbolTable.Table.ToNativeReturn (retval.CType, "((" + retval.CSType + ")args.RetVal)") + ";"); } sw.WriteLine("\t\t\t} catch (Exception) {"); sw.WriteLine ("\t\t\t\tException ex = new Exception (\"args.RetVal or 'out' property unset or set to incorrect type in " + EventHandlerQualifiedName + " callback\");"); sw.WriteLine("\t\t\t\tGLib.ExceptionManager.RaiseUnhandledException (ex, true);"); sw.WriteLine ("\t\t\t\t// NOTREACHED: above call doesn't return."); sw.WriteLine ("\t\t\t\tthrow ex;"); sw.WriteLine("\t\t\t}"); } public void GenCallback (StreamWriter sw) { if (IsEventHandler) return; sw.WriteLine ("\t\t[UnmanagedFunctionPointer (CallingConvention.Cdecl)]"); sw.WriteLine ("\t\tdelegate " + retval.ToNativeType + " " + DelegateName + " (" + CallbackSig + ", IntPtr gch);"); sw.WriteLine (); sw.WriteLine ("\t\tstatic " + retval.ToNativeType + " " + CallbackName + " (" + CallbackSig + ", IntPtr gch)"); sw.WriteLine("\t\t{"); sw.WriteLine("\t\t\t{0} args = new {0} ();", EventArgsQualifiedName); sw.WriteLine("\t\t\ttry {"); sw.WriteLine("\t\t\t\tGLib.Signal sig = ((GCHandle) gch).Target as GLib.Signal;"); sw.WriteLine("\t\t\t\tif (sig == null)"); sw.WriteLine("\t\t\t\t\tthrow new Exception(\"Unknown signal GC handle received \" + gch);"); sw.WriteLine(); string finish = GenArgsInitialization (sw); sw.WriteLine("\t\t\t\t{0} handler = ({0}) sig.Handler;", EventHandlerQualifiedName); sw.WriteLine("\t\t\t\thandler (GLib.Object.GetObject (arg0), args);"); sw.WriteLine("\t\t\t} catch (Exception e) {"); sw.WriteLine("\t\t\t\tGLib.ExceptionManager.RaiseUnhandledException (e, false);"); sw.WriteLine("\t\t\t}"); GenArgsCleanup (sw, finish); sw.WriteLine("\t\t}"); sw.WriteLine(); } private bool NeedNew (ClassBase implementor) { return elem.HasAttribute ("new_flag") || (container_type != null && container_type.GetSignalRecursively (Name) != null) || (implementor != null && implementor.GetSignalRecursively (Name) != null); } public void GenEventHandler (GenerationInfo gen_info) { if (IsEventHandler) return; string ns = container_type.NS; StreamWriter sw = gen_info.OpenStream (EventHandlerName); sw.WriteLine ("namespace " + ns + " {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine (); sw.WriteLine ("\tpublic delegate void " + EventHandlerName + "(object o, " + EventArgsName + " args);"); sw.WriteLine (); sw.WriteLine ("\tpublic class " + EventArgsName + " : GLib.SignalArgs {"); for (int i = 1; i < parms.Count; i++) { sw.WriteLine ("\t\tpublic " + parms[i].CSType + " " + parms[i].StudlyName + "{"); if (parms[i].PassAs != "out") { sw.WriteLine ("\t\t\tget {"); if (SymbolTable.Table.IsInterface (parms [i].CType)) sw.WriteLine ("\t\t\t\treturn {0}Adapter.GetObject (Args [{1}] as GLib.Object);", parms [i].CSType, i - 1); else sw.WriteLine ("\t\t\t\treturn ({0}) Args [{1}];", parms [i].CSType, i - 1); sw.WriteLine ("\t\t\t}"); } if (parms[i].PassAs != "") { sw.WriteLine ("\t\t\tset {"); if (SymbolTable.Table.IsInterface (parms [i].CType)) sw.WriteLine ("\t\t\t\tArgs [{0}] = value is {1}Adapter ? (value as {1}Adapter).Implementor : value;", i - 1, parms [i].CSType); else sw.WriteLine ("\t\t\t\tArgs[" + (i - 1) + "] = (" + parms[i].CSType + ")value;"); sw.WriteLine ("\t\t\t}"); } sw.WriteLine ("\t\t}"); sw.WriteLine (); } sw.WriteLine ("\t}"); sw.WriteLine ("}"); sw.Close (); } private void GenVMDeclaration (StreamWriter sw, ClassBase implementor) { VMSignature vmsig = new VMSignature (parms); sw.WriteLine ("\t\t[GLib.DefaultSignalHandler(Type=typeof(" + (implementor != null ? implementor.QualifiedName : container_type.QualifiedName) + "), ConnectionMethod=\"Override" + Name +"\")]"); sw.Write ("\t\tprotected "); if (NeedNew (implementor)) sw.Write ("new "); sw.WriteLine ("virtual {0} {1} ({2})", retval.CSType, "On" + Name, vmsig.ToString ()); } private string CastFromInt (string type) { return type != "int" ? "(" + type + ") " : ""; } private string GlueCallString { get { string result = "Handle"; for (int i = 1; i < parms.Count; i++) { Parameter p = parms [i]; IGeneratable igen = p.Generatable; if (i > 1 && parms [i - 1].IsString && p.IsLength && p.PassAs == String.Empty) { string string_name = parms [i - 1].Name; result += ", " + igen.CallByName (CastFromInt (p.CSType) + "System.Text.Encoding.UTF8.GetByteCount (" + string_name + ")"); continue; } p.CallName = p.Name; string call_parm = p.CallString; if (p.IsUserData && parms.IsHidden (p) && !parms.HideData && (i == 1 || parms [i - 1].Scope != "notified")) { call_parm = "IntPtr.Zero"; } result += ", " + call_parm; } return result; } } private string GlueSignature { get { string result = String.Empty; for (int i = 0; i < parms.Count; i++) result += parms[i].CType.Replace ("const-", "const ") + " " + parms[i].Name + (i == parms.Count-1 ? "" : ", "); return result; } } private string DefaultGlueValue { get { string val = retval.DefaultValue; switch (val) { case "null": return "NULL"; case "false": return "FALSE"; case "true": return "TRUE"; default: return val; } } } private void GenGlueVirtualMethod (GenerationInfo gen_info) { StreamWriter glue = gen_info.GlueWriter; string glue_name = String.Format ("{0}sharp_{1}_base_{2}", container_type.NS.ToLower ().Replace (".", "_"), container_type.Name.ToLower (), ClassFieldName); glue.WriteLine ("{0} {1} ({2});\n", retval.CType, glue_name, GlueSignature); glue.WriteLine ("{0}\n{1} ({2})", retval.CType, glue_name, GlueSignature); glue.WriteLine ("{"); glue.WriteLine ("\t{0}Class *klass = ({0}Class *) get_threshold_class (G_OBJECT ({1}));", container_type.CName, parms[0].Name); glue.Write ("\tif (klass->{0})\n\t\t", ClassFieldName); if (!IsVoid) glue.Write ("return "); glue.Write ("(* klass->{0}) (", ClassFieldName); for (int i = 0; i < parms.Count; i++) glue.Write (parms[i].Name + (i == parms.Count - 1 ? "" : ", ")); glue.WriteLine (");"); if (!IsVoid) glue.WriteLine ("\treturn " + DefaultGlueValue + ";"); glue.WriteLine ("}"); StreamWriter sw = gen_info.Writer; sw.WriteLine ("\t\t[DllImport (\"{0}\", CallingConvention = CallingConvention.Cdecl)]", gen_info.GluelibName); sw.WriteLine ("\t\tstatic extern {0} {1} ({2});\n", retval.MarshalType, glue_name, parms.ImportSignature); GenVMDeclaration (sw, null); sw.WriteLine ("\t\t{"); MethodBody body = new MethodBody (parms); body.Initialize (gen_info, false, false, String.Empty); sw.WriteLine ("\t\t\t{0}{1} ({2});", IsVoid ? "" : retval.MarshalType + " __ret = ", glue_name, GlueCallString); body.Finish (sw, ""); if (!IsVoid) sw.WriteLine ("\t\t\treturn {0};", retval.FromNative ("__ret")); sw.WriteLine ("\t\t}\n"); } private void GenChainVirtualMethod (StreamWriter sw, ClassBase implementor) { GenVMDeclaration (sw, implementor); sw.WriteLine ("\t\t{"); if (IsVoid) sw.WriteLine ("\t\t\tGLib.Value ret = GLib.Value.Empty;"); else sw.WriteLine ("\t\t\tGLib.Value ret = new GLib.Value (" + ReturnGType + ");"); sw.WriteLine ("\t\t\tGLib.ValueArray inst_and_params = new GLib.ValueArray (" + parms.Count + ");"); sw.WriteLine ("\t\t\tusing (var val0 = new GLib.Value (this)) {"); sw.WriteLine ("\t\t\t\tinst_and_params.Append (val0);"); string cleanup = ""; string indent = new string ('\t', 4); for (int i = 1; i < parms.Count; i++) { Parameter p = parms [i]; indent = new string ('\t', 3 + i); if (p.PassAs != "") { if (SymbolTable.Table.IsBoxed (p.CType)) { if (p.PassAs == "ref") sw.WriteLine (indent + "using (var val" + i + " = new GLib.Value (" + p.Name + ")) {"); else sw.WriteLine (indent + "using (var val" + i + " = new GLib.Value ((GLib.GType)typeof (" + p.CSType + "))) {"); cleanup += indent + p.Name + " = (" + p.CSType + ") vals [" + i + "];\n"; } else { if (p.PassAs == "ref") sw.WriteLine (indent + "IntPtr " + p.Name + "_ptr = GLib.Marshaller.StructureToPtrAlloc (" + p.Generatable.CallByName (p.Name) + ");"); else sw.WriteLine (indent + "IntPtr " + p.Name + "_ptr = Marshal.AllocHGlobal (Marshal.SizeOf (typeof (" + p.MarshalType + ")));"); sw.WriteLine (indent + "using (var val" + i + " = new GLib.Value (" + p.Name + "_ptr)) {"); cleanup += indent + p.Name + " = " + p.FromNative ("(" + p.MarshalType + ") Marshal.PtrToStructure (" + p.Name + "_ptr, typeof (" + p.MarshalType + "))") + ";\n"; cleanup += indent + "Marshal.FreeHGlobal (" + p.Name + "_ptr);\n"; } } else if (p.IsLength && parms [i - 1].IsString) sw.WriteLine (indent + "using (var val" + i + " = new GLib.Value (System.Text.Encoding.UTF8.GetByteCount (" + parms [i-1].Name + "))) {"); else sw.WriteLine (indent + "using (var val" + i + " = new GLib.Value (" + p.Name + ")) {"); sw.WriteLine (indent + "inst_and_params.Append (val" + i + ");"); } sw.WriteLine (indent + "g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret);"); if (cleanup != "") sw.WriteLine (cleanup); for (int i = 1; i < parms.Count; ++i) { indent = new string ('\t', parms.Count - i + 3); sw.WriteLine (indent + "}"); } sw.WriteLine ("\t\t\t}"); if (!IsVoid) { IGeneratable igen = SymbolTable.Table [retval.CType]; sw.WriteLine ("\t\t\t" + retval.CSType + " result = (" + (igen is EnumGen ? retval.CSType + ") (Enum" : retval.CSType) + ") ret;"); sw.WriteLine ("\t\t\tret.Dispose ();"); sw.WriteLine ("\t\t\treturn result;"); } sw.WriteLine ("\t\t}\n"); } private void GenDefaultHandlerDelegate (GenerationInfo gen_info, ClassBase implementor) { StreamWriter sw = gen_info.Writer; StreamWriter glue; bool use_glue = gen_info.GlueEnabled && implementor == null && ClassFieldName.Length > 0; string glue_name = String.Empty; ManagedCallString call = new ManagedCallString (parms, true); sw.WriteLine ("\t\t[UnmanagedFunctionPointer (CallingConvention.Cdecl)]"); sw.WriteLine ("\t\tdelegate " + retval.ToNativeType + " " + Name + "VMDelegate (" + parms.ImportSignature + ");\n"); if (use_glue) { glue = gen_info.GlueWriter; glue_name = String.Format ("{0}sharp_{1}_override_{2}", container_type.NS.ToLower ().Replace (".", "_"), container_type.Name.ToLower (), ClassFieldName); sw.WriteLine ("\t\t[DllImport (\"{0}\", CallingConvention = CallingConvention.Cdecl)]", gen_info.GluelibName); sw.WriteLine ("\t\tstatic extern void {0} (IntPtr gtype, {1}VMDelegate cb);\n", glue_name, Name); glue.WriteLine ("void {0} (GType gtype, gpointer cb);\n", glue_name); glue.WriteLine ("void\n{0} (GType gtype, gpointer cb)", glue_name); glue.WriteLine ("{"); glue.WriteLine ("\tGObjectClass *klass = g_type_class_peek (gtype);"); glue.WriteLine ("\tif (klass == NULL)"); glue.WriteLine ("\t\tklass = g_type_class_ref (gtype);"); glue.WriteLine ("\t(({0} *)klass)->{1} = cb;", container_type.CName + "Class", ClassFieldName); glue.WriteLine ("}\n"); } sw.WriteLine ("\t\tstatic {0} {1};\n", Name + "VMDelegate", Name + "VMCallback"); sw.WriteLine ("\t\tstatic " + retval.ToNativeType + " " + Name.ToLower() + "_cb (" + parms.ImportSignature + ")"); sw.WriteLine ("\t\t{"); string unconditional = call.Unconditional ("\t\t\t"); if (unconditional.Length > 0) sw.WriteLine (unconditional); sw.WriteLine ("\t\t\ttry {"); sw.WriteLine ("\t\t\t\t{0} {1}_managed = GLib.Object.GetObject ({1}, false) as {0};", implementor != null ? implementor.Name : container_type.Name, parms[0].Name); sw.Write (call.Setup ("\t\t\t\t")); sw.Write ("\t\t\t\t{0}", IsVoid ? "" : retval.CSType == retval.ToNativeType ? "return " : retval.CSType + " raw_ret = "); sw.WriteLine ("{2}_managed.{0} ({1});", "On" + Name, call.ToString (), parms[0].Name); sw.Write (call.Finish ("\t\t\t\t")); if (!IsVoid && retval.CSType != retval.ToNativeType) sw.WriteLine ("\t\t\t\treturn {0};", SymbolTable.Table.ToNativeReturn (retval.CType, "raw_ret")); sw.WriteLine ("\t\t\t} catch (Exception e) {"); bool fatal = HasOutParams || !IsVoid; sw.WriteLine ("\t\t\t\tGLib.ExceptionManager.RaiseUnhandledException (e, " + (fatal ? "true" : "false") + ");"); if (fatal) { sw.WriteLine ("\t\t\t\t// NOTREACHED: above call doesn't return"); sw.WriteLine ("\t\t\t\tthrow e;"); } sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}\n"); sw.WriteLine ("\t\tprivate static void Override" + Name + " (GLib.GType gtype)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (" + Name + "VMCallback == null)"); sw.WriteLine ("\t\t\t\t" + Name + "VMCallback = new " + Name + "VMDelegate (" + Name.ToLower() + "_cb);"); if (use_glue) sw.WriteLine ("\t\t\t{0} (gtype.Val, {1}VMCallback);", glue_name, Name); else sw.WriteLine ("\t\t\tOverrideVirtualMethod (gtype, " + CName + ", " + Name + "VMCallback);"); sw.WriteLine ("\t\t}\n"); } public void GenEvent (StreamWriter sw, ClassBase implementor, string target) { string args_type = IsEventHandler ? "" : ", typeof (" + EventArgsQualifiedName + ")"; if (Marshaled) { GenCallback (sw); args_type = ", new " + DelegateName + "(" + CallbackName + ")"; } sw.WriteLine("\t\t[GLib.Signal("+ CName + ")]"); sw.Write("\t\tpublic "); if (NeedNew (implementor)) sw.Write("new "); sw.WriteLine("event " + EventHandlerQualifiedName + " " + Name + " {"); sw.WriteLine("\t\t\tadd {"); sw.WriteLine("\t\t\t\tGLib.Signal sig = GLib.Signal.Lookup (" + target + ", " + CName + args_type + ");"); sw.WriteLine("\t\t\t\tsig.AddDelegate (value);"); sw.WriteLine("\t\t\t}"); sw.WriteLine("\t\t\tremove {"); sw.WriteLine("\t\t\t\tGLib.Signal sig = GLib.Signal.Lookup (" + target + ", " + CName + args_type + ");"); sw.WriteLine("\t\t\t\tsig.RemoveDelegate (value);"); sw.WriteLine("\t\t\t}"); sw.WriteLine("\t\t}"); sw.WriteLine(); } public void Generate (GenerationInfo gen_info, ClassBase implementor) { StreamWriter sw = gen_info.Writer; if (implementor == null) GenEventHandler (gen_info); GenDefaultHandlerDelegate (gen_info, implementor); if (gen_info.GlueEnabled && implementor == null && ClassFieldName.Length > 0) GenGlueVirtualMethod (gen_info); else GenChainVirtualMethod (sw, implementor); GenEvent (sw, implementor, "this"); Statistics.SignalCount++; } } } gtk-sharp-2.12.40/generator/AttributeHelper.cs0000664000175000017500000000146112767740470016143 00000000000000using System; using System.IO; namespace GtkSharp.Generation { public static class AttributeHelper { public static void Gen (StreamWriter sw, string name, string libraryName, string pinvoke) { sw.WriteLine (); sw.WriteLine ("\tinternal class " + name + "Attribute : GLib.GTypeTypeAttribute {"); sw.WriteLine ("\t\t[DllImport (\"" + libraryName + "\", CallingConvention = CallingConvention.Cdecl)]"); sw.WriteLine ("\t\tstatic extern IntPtr {0} ();", pinvoke); sw.WriteLine (); sw.WriteLine ("\t\tprivate static GLib.GType _gtype = new GLib.GType ({0} ());", pinvoke); sw.WriteLine ("\t\tpublic static GLib.GType GType { get { return _gtype; } }"); sw.WriteLine ("\t\tpublic override GLib.GType Type { get { return _gtype; } }"); sw.WriteLine (); sw.WriteLine ("\t}"); } } } gtk-sharp-2.12.40/generator/ObjectField.cs0000664000175000017500000000242112767740470015207 00000000000000// GtkSharp.Generation.ObjectField.cs - autogenerated field glue // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class ObjectField : FieldBase { public ObjectField (XmlElement elem, ClassBase container_type) : base (elem, container_type) { if (CType == "char*" || CType == "gchar*") ctype = "const-" + CType; } protected override bool Writable { get { return elem.GetAttribute ("writeable") == "true"; } } protected override string DefaultAccess { get { return "private"; } } } } gtk-sharp-2.12.40/generator/OpaqueGen.cs0000664000175000017500000001757212767740470014736 00000000000000// GtkSharp.Generation.OpaqueGen.cs - The Opaque Generatable. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class OpaqueGen : HandleBase { public OpaqueGen (XmlElement ns, XmlElement elem) : base (ns, elem) {} public override string FromNative(string var, bool owned) { return var + " == IntPtr.Zero ? null : (" + QualifiedName + ") GLib.Opaque.GetOpaque (" + var + ", typeof (" + QualifiedName + "), " + (owned ? "true" : "false") + ")"; } private bool DisableRawCtor { get { return Elem.HasAttribute ("disable_raw_ctor"); } } ClassBase GetParentWithGType (ClassBase start) { ClassBase parent = start; while (parent != null && parent.CName != "GObject") { if (parent.GetMethod ("GetType") == null && parent.GetMethod ("GetGType") == null) { parent = Parent; } else { return parent; } } return null; } protected void GenerateAttribute (StreamWriter writer) { var parent = GetParentWithGType (this); if (parent == null) { writer.WriteLine ("\t[GLib.GTypeOpaque]"); } else { writer.WriteLine ("\t[{0}]", Name); } } public override void Generate (GenerationInfo gen_info) { gen_info.CurrentType = Name; StreamWriter sw = gen_info.Writer = gen_info.OpenStream (Name); sw.WriteLine ("namespace " + NS + " {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine ("\tusing System.Collections;"); sw.WriteLine ("\tusing System.Runtime.InteropServices;"); sw.WriteLine (); sw.WriteLine ("#region Autogenerated code"); SymbolTable table = SymbolTable.Table; Method ref_, unref, dispose; GetSpecialMethods (out ref_, out unref, out dispose); if (IsDeprecated) sw.WriteLine ("\t[Obsolete]"); GenerateAttribute (sw); sw.Write ("\t{0} class " + Name, IsInternal ? "internal" : "public"); string cs_parent = table.GetCSType(Elem.GetAttribute("parent")); if (cs_parent != "") sw.Write (" : " + cs_parent); else sw.Write (" : GLib.Opaque"); sw.WriteLine (" {"); sw.WriteLine (); GenFields (gen_info); GenMethods (gen_info, null, null); GenCtors (gen_info); if (ref_ != null) { ref_.GenerateImport (sw); sw.WriteLine ("\t\tprotected override void Ref (IntPtr raw)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (!Owned) {"); sw.WriteLine ("\t\t\t\t" + ref_.CName + " (raw);"); sw.WriteLine ("\t\t\t\tOwned = true;"); sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (); if (ref_.IsDeprecated) { sw.WriteLine ("\t\t[Obsolete(\"" + QualifiedName + " is now refcounted automatically\")]"); if (ref_.ReturnType == "void") sw.WriteLine ("\t\tpublic void Ref () {}"); else sw.WriteLine ("\t\tpublic " + Name + " Ref () { return this; }"); sw.WriteLine (); } } bool finalizer_needed = false; if (unref != null) { unref.GenerateImport (sw); sw.WriteLine ("\t\tprotected override void Unref (IntPtr raw)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (Owned) {"); sw.WriteLine ("\t\t\t\t" + unref.CName + " (raw);"); sw.WriteLine ("\t\t\t\tOwned = false;"); sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (); if (unref.IsDeprecated) { sw.WriteLine ("\t\t[Obsolete(\"" + QualifiedName + " is now refcounted automatically\")]"); sw.WriteLine ("\t\tpublic void Unref () {}"); sw.WriteLine (); } finalizer_needed = true; } if (dispose != null) { dispose.GenerateImport (sw); sw.WriteLine ("\t\tprotected override void Free (IntPtr raw)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\t" + dispose.CName + " (raw);"); sw.WriteLine ("\t\t}"); sw.WriteLine (); if (dispose.IsDeprecated) { sw.WriteLine ("\t\t[Obsolete(\"" + QualifiedName + " is now freed automatically\")]"); sw.WriteLine ("\t\tpublic void " + dispose.Name + " () {}"); sw.WriteLine (); } finalizer_needed = true; } if (finalizer_needed) { sw.WriteLine ("\t\tclass FinalizerInfo {"); sw.WriteLine ("\t\t\tIntPtr handle;"); sw.WriteLine (); sw.WriteLine ("\t\t\tpublic FinalizerInfo (IntPtr handle)"); sw.WriteLine ("\t\t\t{"); sw.WriteLine ("\t\t\t\tthis.handle = handle;"); sw.WriteLine ("\t\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\t\tpublic bool Handler ()"); sw.WriteLine ("\t\t\t{"); if (dispose != null) sw.WriteLine ("\t\t\t\t{0} (handle);", dispose.CName); else if (unref != null) sw.WriteLine ("\t\t\t\t{0} (handle);", unref.CName); sw.WriteLine ("\t\t\t\treturn false;"); sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\t~{0} ()", Name); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (!Owned)"); sw.WriteLine ("\t\t\t\treturn;"); sw.WriteLine ("\t\t\tFinalizerInfo info = new FinalizerInfo (Handle);"); sw.WriteLine ("\t\t\tGLib.Timeout.Add (50, new GLib.TimeoutHandler (info.Handler));"); sw.WriteLine ("\t\t}"); sw.WriteLine (); } #if false Method copy = Methods ["Copy"] as Method; if (copy != null && copy.Parameters.Count == 0) { sw.WriteLine ("\t\tprotected override GLib.Opaque Copy (IntPtr raw)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tGLib.Opaque result = new " + QualifiedName + " (" + copy.CName + " (raw));"); sw.WriteLine ("\t\t\tresult.Owned = true;"); sw.WriteLine ("\t\t\treturn result;"); sw.WriteLine ("\t\t}"); sw.WriteLine (); } #endif sw.WriteLine ("#endregion"); AppendCustom(sw, gen_info.CustomDir); sw.WriteLine ("\t}"); var parentGType = GetParentWithGType (this); if (parentGType == this) { var method = parentGType.GetMethod ("GetType") ?? parentGType.GetMethod ("GetGType"); AttributeHelper.Gen (sw, Name, LibraryName, method.CName); } sw.WriteLine ("}"); sw.Close (); gen_info.Writer = null; Statistics.OpaqueCount++; } void GetSpecialMethods (out Method ref_, out Method unref, out Method dispose) { ref_ = CheckSpecialMethod (GetMethod ("Ref")); unref = CheckSpecialMethod (GetMethod ("Unref")); dispose = GetMethod ("Free"); if (dispose == null) { dispose = GetMethod ("Destroy"); if (dispose == null) dispose = GetMethod ("Dispose"); } dispose = CheckSpecialMethod (dispose); } Method CheckSpecialMethod (Method method) { if (method == null) return null; if (method.ReturnType != "void" && method.ReturnType != QualifiedName) return null; if (method.Signature.ToString () != "") return null; methods.Remove (method.Name); return method; } protected override void GenCtors (GenerationInfo gen_info) { if (!DisableRawCtor) { gen_info.Writer.WriteLine("\t\tpublic " + Name + "(IntPtr raw) : base(raw) {}"); gen_info.Writer.WriteLine(); } base.GenCtors (gen_info); } } } gtk-sharp-2.12.40/generator/GenBase.cs0000664000175000017500000000651012767740470014344 00000000000000// GtkSharp.Generation.GenBase.cs - The Generatable base class. // // Author: Mike Kestner // // Copyright (c) 2001-2002 Mike Kestner // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.IO; using System.Xml; public abstract class GenBase : IGeneratable { private XmlElement ns; private XmlElement elem; protected GenBase (XmlElement ns, XmlElement elem) { this.ns = ns; this.elem = elem; } public string CName { get { return elem.GetAttribute ("cname"); } } public XmlElement Elem { get { return elem; } } public bool IsInternal { get { if (elem.HasAttribute ("internal")) { string attr = elem.GetAttribute ("internal"); return attr == "1" || attr == "true"; } return false; } } public string LibraryName { get { return ns.GetAttribute ("library"); } } public virtual string MarshalReturnType { get { return MarshalType; } } public abstract string MarshalType { get; } public string Name { get { return elem.GetAttribute ("name"); } } public string NS { get { return ns.GetAttribute ("name"); } } public abstract string DefaultValue { get; } public string QualifiedName { get { return NS + "." + Name; } } public virtual string ToNativeReturnType { get { return MarshalType; } } protected void AppendCustom (StreamWriter sw, string custom_dir) { AppendCustom (sw, custom_dir, Name); } protected void AppendCustom (StreamWriter sw, string custom_dir, string type_name) { char sep = Path.DirectorySeparatorChar; string custom = custom_dir + sep + type_name + ".custom"; if (File.Exists(custom)) { sw.WriteLine ("#region Customized extensions"); sw.WriteLine ("#line 1 \"" + type_name + ".custom\""); FileStream custstream = new FileStream(custom, FileMode.Open, FileAccess.Read); StreamReader sr = new StreamReader(custstream); sw.WriteLine (sr.ReadToEnd ()); sw.WriteLine ("#endregion"); sr.Close (); } } public abstract string CallByName (string var); public abstract string FromNative (string var); public virtual string FromNativeReturn (string var) { return FromNative (var); } public virtual string ToNativeReturn (string var) { return CallByName (var); } public abstract bool Validate (); public void Generate () { GenerationInfo geninfo = new GenerationInfo (ns); Generate (geninfo); } public abstract void Generate (GenerationInfo geninfo); } } gtk-sharp-2.12.40/generator/SimpleGen.cs0000664000175000017500000000203312767740470014717 00000000000000// GtkSharp.Generation.SimpleGen.cs - The Simple type Generatable. // // Author: Mike Kestner // // Copyright (c) 2003 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; public class SimpleGen : SimpleBase { public SimpleGen (string ctype, string type, string default_value) : base (ctype, type, default_value) {} } } gtk-sharp-2.12.40/generator/FieldBase.cs0000664000175000017500000002217612767740470014664 00000000000000// GtkSharp.Generation.FieldBase.cs - base class for struct and object // fields // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public abstract class FieldBase : PropertyBase { public FieldBase (XmlElement elem, ClassBase container_type) : base (elem, container_type) {} public bool Validate () { if (!Ignored && !Hidden && CSType == "") { Console.Write("Field {0} has unknown Type {1} ", Name, CType); Statistics.ThrottledCount++; return false; } return true; } protected virtual bool Readable { get { return elem.GetAttribute ("readable") != "false"; } } protected virtual bool Writable { get { return elem.GetAttribute ("writeable") != "false"; } } protected abstract string DefaultAccess { get; } protected string Access { get { return elem.HasAttribute ("access") ? elem.GetAttribute ("access") : DefaultAccess; } } public bool IsArray { get { return elem.HasAttribute("array_len") || elem.HasAttribute("array"); } } public bool IsNullTermArray { get { return elem.HasAttribute ("null_term_array"); } } public bool IsBitfield { get { return elem.HasAttribute("bits"); } } public bool Ignored { get { if (container_type.GetProperty (Name) != null) return true; if (IsArray) return true; if (Access == "private" && (Getter == null) && (Setter == null)) return true; return false; } } string getterName, setterName; string getOffsetName, offsetName; void CheckGlue () { getterName = setterName = getOffsetName = null; if (Access != "public") return; string prefix = (container_type.NS + "Sharp_" + container_type.NS + "_" + container_type.Name).ToLower (); if (IsBitfield) { if (Readable && Getter == null) getterName = prefix + "_get_" + CName; if (Writable && Setter == null) setterName = prefix + "_set_" + CName; } else { if ((Readable && Getter == null) || (Writable && Setter == null)) { offsetName = CName + "_offset"; getOffsetName = prefix + "_get_" + offsetName; } } } protected override void GenerateImports (GenerationInfo gen_info, string indent) { StreamWriter sw = gen_info.Writer; SymbolTable table = SymbolTable.Table; if (getterName != null) { sw.WriteLine (indent + "[DllImport (\"{0}\", CallingConvention = CallingConvention.Cdecl)]", gen_info.GluelibName); sw.WriteLine (indent + "extern static {0} {1} ({2} raw);", table.GetMarshalReturnType (CType), getterName, container_type.MarshalType); } if (setterName != null) { sw.WriteLine (indent + "[DllImport (\"{0}\", CallingConvention = CallingConvention.Cdecl)]", gen_info.GluelibName); sw.WriteLine (indent + "extern static void {0} ({1} raw, {2} value);", setterName, container_type.MarshalType, table.GetMarshalType (CType)); } if (getOffsetName != null) { sw.WriteLine (indent + "[DllImport (\"{0}\", CallingConvention = CallingConvention.Cdecl)]", gen_info.GluelibName); sw.WriteLine (indent + "extern static uint {0} ();", getOffsetName); sw.WriteLine (); sw.WriteLine (indent + "static uint " + offsetName + " = " + getOffsetName + " ();"); } base.GenerateImports (gen_info, indent); } public virtual void Generate (GenerationInfo gen_info, string indent) { if (Ignored || Hidden) return; CheckGlue (); if ((getterName != null || setterName != null || getOffsetName != null) && gen_info.GlueWriter == null) { Console.WriteLine ("No glue-filename specified, can't create glue for {0}.{1}", container_type.Name, Name); return; } GenerateImports (gen_info, indent); SymbolTable table = SymbolTable.Table; StreamWriter sw = gen_info.Writer; string modifiers = elem.HasAttribute ("new_flag") ? "new " : ""; bool is_struct = table.IsStruct (CType) || table.IsBoxed (CType); sw.WriteLine (indent + "public " + modifiers + CSType + " " + Name + " {"); if (Getter != null) { sw.Write (indent + "\tget "); Getter.GenerateBody (gen_info, container_type, "\t"); sw.WriteLine (""); } else if (getterName != null) { sw.WriteLine (indent + "\tget {"); container_type.Prepare (sw, indent + "\t\t"); sw.WriteLine (indent + "\t\t" + CSType + " result = " + table.FromNativeReturn (ctype, getterName + " (" + container_type.CallByName () + ")") + ";"); container_type.Finish (sw, indent + "\t\t"); sw.WriteLine (indent + "\t\treturn result;"); sw.WriteLine (indent + "\t}"); } else if (Readable && offsetName != null) { sw.WriteLine (indent + "\tget {"); sw.WriteLine (indent + "\t\tunsafe {"); if (is_struct) { sw.WriteLine (indent + "\t\t\t" + CSType + "* raw_ptr = (" + CSType + "*)(((byte*)" + container_type.CallByName () + ") + " + offsetName + ");"); sw.WriteLine (indent + "\t\t\treturn *raw_ptr;"); } else { sw.WriteLine (indent + "\t\t\t" + table.GetMarshalReturnType (CType) + "* raw_ptr = (" + table.GetMarshalReturnType (CType) + "*)(((byte*)" + container_type.CallByName () + ") + " + offsetName + ");"); sw.WriteLine (indent + "\t\t\treturn " + table.FromNativeReturn (ctype, "(*raw_ptr)") + ";"); } sw.WriteLine (indent + "\t\t}"); sw.WriteLine (indent + "\t}"); } if (Setter != null) { sw.Write (indent + "\tset "); Setter.GenerateBody (gen_info, container_type, "\t"); sw.WriteLine (""); } else if (setterName != null) { sw.WriteLine (indent + "\tset {"); container_type.Prepare (sw, indent + "\t\t"); sw.WriteLine (indent + "\t\t" + setterName + " (" + container_type.CallByName () + ", " + table.CallByName (ctype, "value") + ");"); container_type.Finish (sw, indent + "\t\t"); sw.WriteLine (indent + "\t}"); } else if (Writable && offsetName != null) { sw.WriteLine (indent + "\tset {"); sw.WriteLine (indent + "\t\tunsafe {"); if (is_struct) { sw.WriteLine (indent + "\t\t\t" + CSType + "* raw_ptr = (" + CSType + "*)(((byte*)" + container_type.CallByName () + ") + " + offsetName + ");"); sw.WriteLine (indent + "\t\t\t*raw_ptr = value;"); } else { sw.WriteLine (indent + "\t\t\t" + table.GetMarshalReturnType (CType) + "* raw_ptr = (" + table.GetMarshalReturnType (CType) + "*)(((byte*)" + container_type.CallByName () + ") + " + offsetName + ");"); sw.WriteLine (indent + "\t\t\t*raw_ptr = " + table.ToNativeReturn (ctype, "value") + ";"); } sw.WriteLine (indent + "\t\t}"); sw.WriteLine (indent + "\t}"); } sw.WriteLine (indent + "}"); sw.WriteLine (""); if (getterName != null || setterName != null || getOffsetName != null) GenerateGlue (gen_info); } protected void GenerateGlue (GenerationInfo gen_info) { StreamWriter sw = gen_info.GlueWriter; SymbolTable table = SymbolTable.Table; string FieldCType = CType.Replace ("-", " "); bool byref = table[CType] is ByRefGen || table[CType] is StructGen; string GlueCType = byref ? FieldCType + " *" : FieldCType; string ContainerCType = container_type.CName; string ContainerCName = container_type.Name.ToLower (); if (getterName != null) { sw.WriteLine ("{0} {1} ({2} *{3});", GlueCType, getterName, ContainerCType, ContainerCName); } if (setterName != null) { sw.WriteLine ("void {0} ({1} *{2}, {3} value);", setterName, ContainerCType, ContainerCName, GlueCType); } if (getOffsetName != null) sw.WriteLine ("guint {0} (void);", getOffsetName); sw.WriteLine (""); if (getterName != null) { sw.WriteLine (GlueCType); sw.WriteLine ("{0} ({1} *{2})", getterName, ContainerCType, ContainerCName); sw.WriteLine ("{"); sw.WriteLine ("\treturn ({0}){1}{2}->{3};", GlueCType, byref ? "&" : "", ContainerCName, CName); sw.WriteLine ("}"); sw.WriteLine (""); } if (setterName != null) { sw.WriteLine ("void"); sw.WriteLine ("{0} ({1} *{2}, {3} value)", setterName, ContainerCType, ContainerCName, GlueCType); sw.WriteLine ("{"); sw.WriteLine ("\t{0}->{1} = ({2}){3}value;", ContainerCName, CName, FieldCType, byref ? "*" : ""); sw.WriteLine ("}"); sw.WriteLine (""); } if (getOffsetName != null) { sw.WriteLine ("guint"); sw.WriteLine ("{0} (void)", getOffsetName); sw.WriteLine ("{"); sw.WriteLine ("\treturn (guint)G_STRUCT_OFFSET ({0}, {1});", ContainerCType, CName); sw.WriteLine ("}"); sw.WriteLine (""); } } } } gtk-sharp-2.12.40/generator/ObjectGen.cs0000664000175000017500000003252412767740470014704 00000000000000// GtkSharp.Generation.ObjectGen.cs - The Object Generatable. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2003-2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Text; using System.Xml; public class ObjectGen : ObjectBase { private ArrayList custom_attrs = new ArrayList(); private ArrayList strings = new ArrayList(); private ArrayList vm_nodes = new ArrayList(); private Hashtable childprops = new Hashtable(); private static Hashtable dirs = new Hashtable (); public ObjectGen (XmlElement ns, XmlElement elem) : base (ns, elem) { foreach (XmlNode node in elem.ChildNodes) { string name; if (!(node is XmlElement)) continue; XmlElement member = (XmlElement) node; switch (node.Name) { case "callback": Statistics.IgnoreCount++; break; case "custom-attribute": custom_attrs.Add (member.InnerXml); break; case "virtual_method": Statistics.IgnoreCount++; break; case "static-string": strings.Add (node); break; case "childprop": name = member.GetAttribute ("name"); while (childprops.ContainsKey (name)) name += "mangled"; childprops.Add (name, new ChildProperty (member, this)); break; default: if (!IsNodeNameHandled (node.Name)) Console.WriteLine ("Unexpected node " + node.Name + " in " + CName); break; } } } public override bool Validate () { ArrayList invalids = new ArrayList (); foreach (ChildProperty prop in childprops.Values) { if (!prop.Validate ()) { Console.WriteLine ("in Object " + QualifiedName); invalids.Add (prop); } } foreach (ChildProperty prop in invalids) childprops.Remove (prop); return base.Validate (); } private bool DisableVoidCtor { get { return Elem.HasAttribute ("disable_void_ctor"); } } private bool DisableGTypeCtor { get { return Elem.HasAttribute ("disable_gtype_ctor"); } } private class DirectoryInfo { public string assembly_name; public Hashtable objects; public DirectoryInfo (string assembly_name) { this.assembly_name = assembly_name; objects = new Hashtable (); } } private static DirectoryInfo GetDirectoryInfo (string dir, string assembly_name) { DirectoryInfo result; if (dirs.ContainsKey (dir)) { result = dirs [dir] as DirectoryInfo; if (result.assembly_name != assembly_name) { Console.WriteLine ("Can't put multiple assemblies in one directory."); return null; } return result; } result = new DirectoryInfo (assembly_name); dirs.Add (dir, result); return result; } ClassBase GetParentWithGType (ClassBase start) { ClassBase parent = start; while (parent != null && parent.CName != "GObject") { if (parent.GetMethod ("GetType") == null && parent.GetMethod ("GetGType") == null) { parent = Parent; } else { return parent; } } return null; } protected void GenerateAttribute (StreamWriter writer) { var parent = GetParentWithGType (this); if (parent != null) writer.WriteLine ("\t[{0}]", parent.Name); else writer.WriteLine ("\t[GLib.GTypeObject]"); } public override void Generate (GenerationInfo gen_info) { gen_info.CurrentType = Name; string asm_name = gen_info.AssemblyName.Length == 0 ? NS.ToLower () + "-sharp" : gen_info.AssemblyName; DirectoryInfo di = GetDirectoryInfo (gen_info.Dir, asm_name); StreamWriter sw = gen_info.Writer = gen_info.OpenStream (Name); sw.WriteLine ("namespace " + NS + " {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine ("\tusing System.Collections;"); sw.WriteLine ("\tusing System.Runtime.InteropServices;"); sw.WriteLine (); SymbolTable table = SymbolTable.Table; sw.WriteLine ("#region Autogenerated code"); if (IsDeprecated) sw.WriteLine ("\t[Obsolete]"); foreach (string attr in custom_attrs) sw.WriteLine ("\t" + attr); GenerateAttribute (sw); sw.Write ("\t{0} {1}class " + Name, IsInternal ? "internal" : "public", IsAbstract ? "abstract " : ""); string cs_parent = table.GetCSType(Elem.GetAttribute("parent")); if (cs_parent != "") { di.objects.Add (CName, QualifiedName); sw.Write (" : " + cs_parent); } foreach (string iface in interfaces) { if (Parent != null && Parent.Implements (iface)) continue; sw.Write (", " + table.GetCSType (iface)); } foreach (string iface in managed_interfaces) { if (Parent != null && Parent.Implements (iface)) continue; sw.Write (", " + iface); } sw.WriteLine (" {"); sw.WriteLine (); GenCtors (gen_info); GenProperties (gen_info, null); GenFields (gen_info); GenChildProperties (gen_info); bool has_sigs = (sigs != null && sigs.Count > 0); if (!has_sigs) { foreach (string iface in interfaces) { ClassBase igen = table.GetClassGen (iface); if (igen != null && igen.Signals != null) { has_sigs = true; break; } } } if (has_sigs && Elem.HasAttribute("parent")) { GenSignals (gen_info, null); } if (vm_nodes.Count > 0) { if (gen_info.GlueEnabled) { GenVirtualMethods (gen_info); } else { Statistics.VMIgnored = true; Statistics.ThrottledCount += vm_nodes.Count; } } GenMethods (gen_info, null, null); if (interfaces.Count != 0) { Hashtable all_methods = new Hashtable (); foreach (Method m in Methods.Values) all_methods[m.Name] = m; Hashtable collisions = new Hashtable (); foreach (string iface in interfaces) { ClassBase igen = table.GetClassGen (iface); foreach (Method m in igen.Methods.Values) { Method collision = all_methods[m.Name] as Method; if (collision != null && collision.Signature.Types == m.Signature.Types) collisions[m.Name] = true; else all_methods[m.Name] = m; } } foreach (string iface in interfaces) { if (Parent != null && Parent.Implements (iface)) continue; ClassBase igen = table.GetClassGen (iface); igen.GenMethods (gen_info, collisions, this); igen.GenProperties (gen_info, this); igen.GenSignals (gen_info, this); } } foreach (XmlElement str in strings) { sw.Write ("\t\tpublic static string " + str.GetAttribute ("name")); sw.WriteLine (" {\n\t\t\t get { return \"" + str.GetAttribute ("value") + "\"; }\n\t\t}"); } if (cs_parent != String.Empty && GetExpected (CName) != QualifiedName) { sw.WriteLine (); sw.WriteLine ("\t\tstatic " + Name + " ()"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tGtkSharp." + Studlify (asm_name) + ".ObjectManager.Initialize ();"); sw.WriteLine ("\t\t}"); } sw.WriteLine ("#endregion"); AppendCustom (sw, gen_info.CustomDir); sw.WriteLine ("\t}"); var parentGType = GetParentWithGType (this); if (parentGType == this) { var method = parentGType.GetMethod ("GetType") ?? parentGType.GetMethod ("GetGType"); AttributeHelper.Gen (sw, Name, LibraryName, method.CName); } sw.WriteLine ("}"); sw.Close (); gen_info.Writer = null; Statistics.ObjectCount++; } protected override void GenCtors (GenerationInfo gen_info) { if (!Elem.HasAttribute("parent")) return; if (!DisableGTypeCtor) { gen_info.Writer.WriteLine("\t\t[Obsolete]"); gen_info.Writer.WriteLine("\t\tprotected " + Name + "(GLib.GType gtype) : base(gtype) {}"); } gen_info.Writer.WriteLine("\t\tpublic " + Name + "(IntPtr raw) : base(raw) {}"); if (ctors.Count == 0 && !DisableVoidCtor) { gen_info.Writer.WriteLine(); gen_info.Writer.WriteLine("\t\tprotected " + Name + "() : base(IntPtr.Zero)"); gen_info.Writer.WriteLine("\t\t{"); gen_info.Writer.WriteLine("\t\t\tCreateNativeObject (new IntPtr [0], new GLib.Value [0], 0);"); gen_info.Writer.WriteLine("\t\t}"); } gen_info.Writer.WriteLine(); base.GenCtors (gen_info); } protected void GenChildProperties (GenerationInfo gen_info) { if (childprops.Count == 0) return; StreamWriter sw = gen_info.Writer; ObjectGen child_ancestor = Parent as ObjectGen; while (child_ancestor.CName != "GtkContainer" && child_ancestor.childprops.Count == 0) child_ancestor = child_ancestor.Parent as ObjectGen; sw.WriteLine ("\t\tpublic class " + Name + "Child : " + child_ancestor.NS + "." + child_ancestor.Name + "." + child_ancestor.Name + "Child {"); sw.WriteLine ("\t\t\tprotected internal " + Name + "Child (Gtk.Container parent, Gtk.Widget child) : base (parent, child) {}"); sw.WriteLine (""); foreach (ChildProperty prop in childprops.Values) prop.Generate (gen_info, "\t\t\t", null); sw.WriteLine ("\t\t}"); sw.WriteLine (""); sw.WriteLine ("\t\tpublic override Gtk.Container.ContainerChild this [Gtk.Widget child] {"); sw.WriteLine ("\t\t\tget {"); sw.WriteLine ("\t\t\t\treturn new " + Name + "Child (this, child);"); sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (""); } private void GenVMGlue (GenerationInfo gen_info, XmlElement elem) { StreamWriter sw = gen_info.GlueWriter; string vm_name = elem.GetAttribute ("cname"); string method = gen_info.GluelibName + "_" + NS + Name + "_override_" + vm_name; sw.WriteLine (); sw.WriteLine ("void " + method + " (GType type, gpointer cb);"); sw.WriteLine (); sw.WriteLine ("void"); sw.WriteLine (method + " (GType type, gpointer cb)"); sw.WriteLine ("{"); sw.WriteLine ("\t{0} *klass = ({0} *) g_type_class_peek (type);", NS + Name + "Class"); sw.WriteLine ("\tklass->" + vm_name + " = cb;"); sw.WriteLine ("}"); } static bool vmhdrs_needed = true; private void GenVirtualMethods (GenerationInfo gen_info) { if (vmhdrs_needed) { gen_info.GlueWriter.WriteLine ("#include "); gen_info.GlueWriter.WriteLine ("#include \"vmglueheaders.h\""); gen_info.GlueWriter.WriteLine (); vmhdrs_needed = false; } foreach (XmlElement elem in vm_nodes) { GenVMGlue (gen_info, elem); } } /* Keep this in sync with the one in glib/GType.cs */ private static string GetExpected (string cname) { for (int i = 1; i < cname.Length; i++) { if (Char.IsUpper (cname[i])) { if (i == 1 && cname[0] == 'G') return "GLib." + cname.Substring (1); else return cname.Substring (0, i) + "." + cname.Substring (i); } } throw new ArgumentException ("cname doesn't follow the NamespaceType capitalization style: " + cname); } private static bool NeedsMap (Hashtable objs, string assembly_name) { foreach (string key in objs.Keys) if (GetExpected (key) != ((string) objs[key])) return true; return false; } private static string Studlify (string name) { string result = ""; string[] subs = name.Split ('-'); foreach (string sub in subs) result += Char.ToUpper (sub[0]) + sub.Substring (1); return result; } public static void GenerateMappers () { foreach (string dir in dirs.Keys) { DirectoryInfo di = dirs[dir] as DirectoryInfo; if (!NeedsMap (di.objects, di.assembly_name)) continue; GenerationInfo gen_info = new GenerationInfo (dir, di.assembly_name); GenerateMapper (di, gen_info); } } private static void GenerateMapper (DirectoryInfo dir_info, GenerationInfo gen_info) { StreamWriter sw = gen_info.OpenStream ("ObjectManager"); sw.WriteLine ("namespace GtkSharp." + Studlify (dir_info.assembly_name) + " {"); sw.WriteLine (); sw.WriteLine ("\tpublic class ObjectManager {"); sw.WriteLine (); sw.WriteLine ("\t\tstatic bool initialized = false;"); sw.WriteLine ("\t\t// Call this method from the appropriate module init function."); sw.WriteLine ("\t\tpublic static void Initialize ()"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (initialized)"); sw.WriteLine ("\t\t\t\treturn;"); sw.WriteLine (""); sw.WriteLine ("\t\t\tinitialized = true;"); foreach (string key in dir_info.objects.Keys) { if (GetExpected(key) != ((string) dir_info.objects[key])) sw.WriteLine ("\t\t\tGLib.GType.Register ({0}.GType, typeof ({0}));", dir_info.objects [key]); } sw.WriteLine ("\t\t}"); sw.WriteLine ("\t}"); sw.WriteLine ("}"); sw.Close (); } } } gtk-sharp-2.12.40/generator/ClassGen.cs0000664000175000017500000000451412767740470014541 00000000000000// GtkSharp.Generation.ClassGen.cs - The Class Generatable. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Text; using System.Xml; public class ClassGen : ClassBase { public ClassGen (XmlElement ns, XmlElement elem) : base (ns, elem) {} public override string AssignToName { get { return String.Empty; } } public override string MarshalType { get { return String.Empty; } } public override string CallByName () { return String.Empty; } public override string CallByName (string var) { return String.Empty; } public override string FromNative (string var) { return String.Empty; } public override void Generate (GenerationInfo gen_info) { gen_info.CurrentType = Name; StreamWriter sw = gen_info.Writer = gen_info.OpenStream(Name); sw.WriteLine ("namespace " + NS + " {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine ("\tusing System.Runtime.InteropServices;"); sw.WriteLine (); sw.WriteLine ("#region Autogenerated code"); if (IsDeprecated) sw.WriteLine ("\t[Obsolete]"); sw.Write ("\t{0} class " + Name, IsInternal ? "internal" : "public"); sw.WriteLine (" {"); sw.WriteLine (); GenProperties (gen_info, null); GenMethods (gen_info, null, null); sw.WriteLine ("#endregion"); AppendCustom(sw, gen_info.CustomDir); sw.WriteLine ("\t}"); sw.WriteLine ("}"); sw.Close (); gen_info.Writer = null; } } } gtk-sharp-2.12.40/generator/ChildProperty.cs0000664000175000017500000000264412767740470015634 00000000000000// GtkSharp.Generation.ChildProperty.cs - GtkContainer child properties // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class ChildProperty : Property { public ChildProperty (XmlElement elem, ClassBase container_type) : base (elem, container_type) {} protected override string PropertyAttribute (string qpname) { return "[Gtk.ChildProperty (" + qpname + ")]"; } protected override string RawGetter (string qpname) { return "parent.ChildGetProperty (child, " + qpname + ")"; } protected override string RawSetter (string qpname) { return "parent.ChildSetProperty(child, " + qpname + ", val)"; } } } gtk-sharp-2.12.40/generator/CodeGenerator.cs0000664000175000017500000000712212767740470015561 00000000000000// GtkSharp.Generation.CodeGenerator.cs - The main code generation engine. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2003-2004 Novell Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.Xml; public class CodeGenerator { public static int Main (string[] args) { if (args.Length < 2) { Console.WriteLine ("Usage: codegen --generate "); return 0; } bool generate = false; string dir = ""; string custom_dir = ""; string assembly_name = ""; string glue_filename = ""; string glue_includes = ""; string gluelib_name = ""; SymbolTable table = SymbolTable.Table; ArrayList gens = new ArrayList (); foreach (string arg in args) { string filename = arg; if (arg == "--generate") { generate = true; continue; } else if (arg == "--include") { generate = false; continue; } else if (arg.StartsWith ("-I:")) { generate = false; filename = filename.Substring (3); } else if (arg.StartsWith ("--outdir=")) { generate = false; dir = arg.Substring (9); continue; } else if (arg.StartsWith ("--customdir=")) { generate = false; custom_dir = arg.Substring (12); continue; } else if (arg.StartsWith ("--assembly-name=")) { generate = false; assembly_name = arg.Substring (16); continue; } else if (arg.StartsWith ("--glue-filename=")) { generate = false; glue_filename = arg.Substring (16); continue; } else if (arg.StartsWith ("--glue-includes=")) { generate = false; glue_includes = arg.Substring (16); continue; } else if (arg.StartsWith ("--gluelib-name=")) { generate = false; gluelib_name = arg.Substring (15); continue; } Parser p = new Parser (); IGeneratable[] curr_gens = p.Parse (filename); table.AddTypes (curr_gens); if (generate) gens.AddRange (curr_gens); } // Now that everything is loaded, validate all the to-be- // generated generatables and then remove the invalid ones. ArrayList invalids = new ArrayList (); foreach (IGeneratable gen in gens) { if (!gen.Validate ()) invalids.Add (gen); } foreach (IGeneratable gen in invalids) gens.Remove (gen); GenerationInfo gen_info = null; if (dir != "" || assembly_name != "" || glue_filename != "" || glue_includes != "" || gluelib_name != "") gen_info = new GenerationInfo (dir, custom_dir, assembly_name, glue_filename, glue_includes, gluelib_name); foreach (IGeneratable gen in gens) { if (gen_info == null) gen.Generate (); else gen.Generate (gen_info); } ObjectGen.GenerateMappers (); if (gen_info != null) gen_info.CloseGlueWriter (); Statistics.Report(); return 0; } } } gtk-sharp-2.12.40/generator/Statistics.cs0000664000175000017500000000770312767740470015177 00000000000000// Statistics.cs : Generation statistics class implementation // // Author: Mike Kestner // // Copyright (c) 2002 Mike Kestner // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; public class Statistics { static int cbs = 0; static int enums = 0; static int objects = 0; static int structs = 0; static int boxed = 0; static int opaques = 0; static int interfaces = 0; static int methods = 0; static int ctors = 0; static int props = 0; static int sigs = 0; static int throttled = 0; static int ignored = 0; static bool vm_ignored = false; public static int CBCount { get { return cbs; } set { cbs = value; } } public static int EnumCount { get { return enums; } set { enums = value; } } public static int ObjectCount { get { return objects; } set { objects = value; } } public static int StructCount { get { return structs; } set { structs = value; } } public static int BoxedCount { get { return boxed; } set { boxed = value; } } public static int OpaqueCount { get { return opaques; } set { opaques = value; } } public static int CtorCount { get { return ctors; } set { ctors = value; } } public static int MethodCount { get { return methods; } set { methods = value; } } public static int PropCount { get { return props; } set { props = value; } } public static int SignalCount { get { return sigs; } set { sigs = value; } } public static int IFaceCount { get { return interfaces; } set { interfaces = value; } } public static int ThrottledCount { get { return throttled; } set { throttled = value; } } public static int IgnoreCount { get { return ignored; } set { ignored = value; } } public static bool VMIgnored { get { return vm_ignored; } set { if (value) vm_ignored = value; } } public static void Report() { if (VMIgnored) { Console.WriteLine(); Console.WriteLine("Warning: Generation throttled for Virtual Methods."); Console.WriteLine(" Consider regenerating with --gluelib-name and --glue-filename."); } Console.WriteLine(); Console.WriteLine("Generation Summary:"); Console.Write(" Enums: " + enums); Console.Write(" Structs: " + structs); Console.Write(" Boxed: " + boxed); Console.Write(" Opaques: " + opaques); Console.Write(" Interfaces: " + interfaces); Console.Write(" Objects: " + objects); Console.WriteLine(" Callbacks: " + cbs); Console.Write(" Properties: " + props); Console.Write(" Signals: " + sigs); Console.Write(" Methods: " + methods); Console.Write(" Constructors: " + ctors); Console.WriteLine(" Throttled: " + throttled); Console.WriteLine("Total Nodes: " + (enums+structs+boxed+opaques+interfaces+cbs+objects+props+sigs+methods+ctors+throttled)); Console.WriteLine(); } } } gtk-sharp-2.12.40/generator/Makefile.am0000664000175000017500000000250012767740470014540 00000000000000assemblydir = $(prefix)/lib/gtk-sharp-2.0 assembly_DATA = gapi_codegen.exe bin_SCRIPTS = gapi2-codegen CLEANFILES = gapi_codegen.exe DISTCLEANFILES = gapi2-codegen references = sources = \ AttributeHelper.cs \ AliasGen.cs \ BoxedGen.cs \ ByRefGen.cs \ CallbackGen.cs \ ChildProperty.cs \ ClassBase.cs \ ClassGen.cs \ CodeGenerator.cs \ ConstFilenameGen.cs \ ConstStringGen.cs \ Ctor.cs \ EnumGen.cs \ FieldBase.cs \ GenBase.cs \ GenerationInfo.cs \ HandleBase.cs \ IAccessor.cs \ IGeneratable.cs \ IManualMarshaler.cs \ InterfaceGen.cs \ LPGen.cs \ LPUGen.cs \ ManagedCallString.cs \ ManualGen.cs \ MarshalGen.cs \ MethodBase.cs \ MethodBody.cs \ Method.cs \ ObjectField.cs \ ObjectBase.cs \ ObjectGen.cs \ OpaqueGen.cs \ Parameters.cs \ Parser.cs \ Property.cs \ PropertyBase.cs \ ReturnValue.cs \ Signal.cs \ Signature.cs \ SimpleBase.cs \ SimpleGen.cs \ Statistics.cs \ StructBase.cs \ StructField.cs \ StructGen.cs \ SymbolTable.cs \ VirtualMethod.cs \ VMSignature.cs build_sources = $(addprefix $(srcdir)/, $(sources)) dist_sources = $(sources) EXTRA_DIST = \ $(dist_sources) gapi_codegen.exe: $(build_sources) $(CSC) -out:gapi_codegen.exe $(OFF_T_FLAGS) $(references) $(build_sources) gtk-sharp-2.12.40/generator/VMSignature.cs0000664000175000017500000000371312767740470015246 00000000000000// GtkSharp.Generation.VMSignature.cs - The Virtual Method Signature Generation Class. // // Author: Mike Kestner // // Copyright (c) 2003-2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.Xml; public class VMSignature { private ArrayList parms = new ArrayList (); public VMSignature (Parameters parms) { bool has_cb = parms.HideData; for (int i = 1; i < parms.Count; i++) { Parameter p = parms [i]; if (i > 1 && p.IsLength && parms [i - 1].IsString) continue; if (p.IsCount && ((i > 1 && parms [i - 1].IsArray) || (i < parms.Count - 1 && parms [i + 1].IsArray))) continue; has_cb = has_cb || p.Generatable is CallbackGen; if (p.IsUserData && has_cb) continue; if (p.CType == "GError**") continue; if (p.Scope == "notified") i += 2; this.parms.Add (p); } } public override string ToString () { if (parms.Count == 0) return ""; string[] result = new string [parms.Count]; int i = 0; foreach (Parameter p in parms) { result [i] = p.PassAs != "" ? p.PassAs + " " : ""; result [i++] += p.CSType + " " + p.Name; } return String.Join (", ", result); } } } gtk-sharp-2.12.40/generator/HandleBase.cs0000664000175000017500000000407312767740470015030 00000000000000// HandleBase.cs - Base class for Handle types // // Authors: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.IO; using System.Xml; public abstract class HandleBase : ClassBase, IAccessor { protected HandleBase (XmlElement ns, XmlElement elem) : base (ns, elem) {} public override string AssignToName { get { return "Raw"; } } public override string MarshalType { get { return "IntPtr"; } } public override string CallByName (string name) { return name + " == null ? IntPtr.Zero : " + name + ".Handle"; } public override string CallByName () { return "Handle"; } public abstract string FromNative (string var, bool owned); public override string FromNative (string var) { return FromNative (var, false); } public string FromNativeReturn (string var, bool owned) { return FromNative (var, owned); } public override string FromNativeReturn (string var) { return FromNativeReturn (var, false); } public void WriteAccessors (StreamWriter sw, string indent, string var) { sw.WriteLine (indent + "get {"); sw.WriteLine (indent + "\treturn " + FromNative (var, false) + ";"); sw.WriteLine (indent + "}"); sw.WriteLine (indent + "set {"); sw.WriteLine (indent + "\t" + var + " = " + CallByName ("value") + ";"); sw.WriteLine (indent + "}"); } } } gtk-sharp-2.12.40/generator/Method.cs0000664000175000017500000002564212767740470014267 00000000000000// GtkSharp.Generation.Method.cs - The Method Generatable. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // Copyright (c) 2003-2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Xml; public class Method : MethodBase { private ReturnValue retval; private string call; private bool is_get, is_set; private bool deprecated = false; private bool win32_utf8_variant = false; private bool cacheValue = false; private string cacheName = string.Empty; public Method (XmlElement elem, ClassBase container_type) : base (elem, container_type) { this.retval = new ReturnValue (elem["return-type"]); if (!container_type.IsDeprecated && elem.HasAttribute ("deprecated")) { string attr = elem.GetAttribute ("deprecated"); deprecated = attr == "1" || attr == "true"; } if (elem.HasAttribute ("win32_utf8_variant")) { string attr = elem.GetAttribute ("win32_utf8_variant"); win32_utf8_variant = attr == "1" || attr.ToLower () == "true"; } if (Name == "GetType") { Name = "GetGType"; cacheValue = !(container_type is StructBase); cacheName = "_gtype"; } } public bool HasWin32Utf8Variant { get { return win32_utf8_variant; } } public bool IsDeprecated { get { return deprecated; } } public bool IsGetter { get { return is_get; } } public bool IsSetter { get { return is_set; } } public string ReturnType { get { return retval.CSType; } } public override bool Validate () { if (!retval.Validate () || !base.Validate ()) { Console.Write(" in method " + Name + " "); return false; } Parameters parms = Parameters; is_get = ((((parms.IsAccessor && retval.IsVoid) || (parms.Count == 0 && !retval.IsVoid)) || (parms.Count == 0 && !retval.IsVoid)) && HasGetterName); is_set = ((parms.IsAccessor || (parms.VisibleCount == 1 && retval.IsVoid)) && HasSetterName); call = "(" + (IsStatic ? "" : container_type.CallByName () + (parms.Count > 0 ? ", " : "")) + Body.GetCallString (is_set) + ")"; return true; } private Method GetComplement () { char complement; if (is_get) complement = 'S'; else complement = 'G'; return container_type.GetMethod (complement + BaseName.Substring (1)); } public string Declaration { get { return retval.CSType + " " + Name + " (" + (Signature != null ? Signature.ToString() : "") + ");"; } } private void GenerateDeclCommon (StreamWriter sw, ClassBase implementor) { if (IsStatic) sw.Write("static "); sw.Write (Safety); Method dup = null; if (container_type != null) dup = container_type.GetMethodRecursively (Name); if (implementor != null) dup = implementor.GetMethodRecursively (Name); if (Name == "ToString" && Parameters.Count == 0) sw.Write("override "); else if (Name == "GetGType" && container_type is ObjectGen) sw.Write("new "); else if (Modifiers == "new " || (dup != null && ((dup.Signature != null && Signature != null && dup.Signature.ToString() == Signature.ToString()) || (dup.Signature == null && Signature == null)))) sw.Write("new "); if (is_get || is_set) { if (retval.IsVoid) sw.Write (Parameters.AccessorReturnType); else sw.Write(retval.CSType); sw.Write(" "); if (Name.StartsWith ("Get") || Name.StartsWith ("Set")) sw.Write (Name.Substring (3)); else { int dot = Name.LastIndexOf ('.'); if (dot != -1 && (Name.Substring (dot + 1, 3) == "Get" || Name.Substring (dot + 1, 3) == "Set")) sw.Write (Name.Substring (0, dot + 1) + Name.Substring (dot + 4)); else sw.Write (Name); } sw.WriteLine(" { "); } else if (IsAccessor) { sw.Write (Signature.AccessorType + " " + Name + "(" + Signature.AsAccessor + ")"); } else { sw.Write(retval.CSType + " " + Name + "(" + (Signature != null ? Signature.ToString() : "") + ")"); } } public void GenerateDecl (StreamWriter sw) { if (IsStatic) return; if (is_get || is_set) { Method comp = GetComplement (); if (comp != null && is_set) return; sw.Write("\t\t"); GenerateDeclCommon (sw, null); sw.Write("\t\t\t"); sw.Write ((is_get) ? "get;" : "set;"); if (comp != null && comp.is_set) sw.WriteLine (" set;"); else sw.WriteLine (); sw.WriteLine ("\t\t}"); } else { sw.Write("\t\t"); GenerateDeclCommon (sw, null); sw.WriteLine (";"); } Statistics.MethodCount++; } public void GenerateImport (StreamWriter sw) { string import_sig = IsStatic ? "" : container_type.MarshalType + " raw"; import_sig += !IsStatic && Parameters.Count > 0 ? ", " : ""; import_sig += Parameters.ImportSignature.ToString(); sw.WriteLine("\t\t[DllImport(\"" + LibraryName + "\", CallingConvention = CallingConvention.Cdecl)]"); if (retval.MarshalType.StartsWith ("[return:")) sw.WriteLine("\t\t" + retval.MarshalType + " static extern " + Safety + retval.CSType + " " + CName + "(" + import_sig + ");"); else sw.WriteLine("\t\tstatic extern " + Safety + retval.MarshalType + " " + CName + "(" + import_sig + ");"); sw.WriteLine(); if (HasWin32Utf8Variant) { sw.WriteLine("\t\t[DllImport(\"" + LibraryName + "\", CallingConvention = CallingConvention.Cdecl)]"); if (retval.MarshalType.StartsWith ("[return:")) sw.WriteLine("\t\t" + retval.MarshalType + " static extern " + Safety + retval.CSType + " " + CName + "_utf8(" + import_sig + ");"); else sw.WriteLine("\t\tstatic extern " + Safety + retval.MarshalType + " " + CName + "_utf8(" + import_sig + ");"); sw.WriteLine(); } } public void GenerateCacheValue (StreamWriter sw) { if (!cacheValue) return; sw.WriteLine ("\t\tstatic {0} {1} = new {0} ({2});", retval.CSType, cacheName, CName + call); } public void Generate (GenerationInfo gen_info, ClassBase implementor) { if (!Validate ()) return; Method comp = null; gen_info.CurrentMember = Name; /* we are generated by the get Method, if there is one */ if (is_set || is_get) { if (Modifiers != "new " && container_type.GetPropertyRecursively (Name.Substring (3)) != null) return; comp = GetComplement (); if (comp != null && is_set) { if (Parameters.AccessorReturnType == comp.ReturnType) return; else { is_set = false; call = "(Handle, " + Body.GetCallString (false) + ")"; comp = null; } } /* some setters take more than one arg */ if (comp != null && !comp.is_set) comp = null; } GenerateImport (gen_info.Writer); GenerateCacheValue (gen_info.Writer); if (comp != null && retval.CSType == comp.Parameters.AccessorReturnType) comp.GenerateImport (gen_info.Writer); if (IsDeprecated) gen_info.Writer.WriteLine("\t\t[Obsolete]"); gen_info.Writer.Write("\t\t"); if (Protection != "") gen_info.Writer.Write("{0} ", Protection); GenerateDeclCommon (gen_info.Writer, implementor); if (is_get || is_set) { gen_info.Writer.Write ("\t\t\t"); gen_info.Writer.Write ((is_get) ? "get" : "set"); GenerateBody (gen_info, implementor, "\t"); } else GenerateBody (gen_info, implementor, ""); if (is_get || is_set) { if (comp != null && retval.CSType == comp.Parameters.AccessorReturnType) { gen_info.Writer.WriteLine (); gen_info.Writer.Write ("\t\t\tset"); comp.GenerateBody (gen_info, implementor, "\t"); } gen_info.Writer.WriteLine (); gen_info.Writer.WriteLine ("\t\t}"); } else gen_info.Writer.WriteLine(); gen_info.Writer.WriteLine(); Statistics.MethodCount++; } public void GenerateBody (GenerationInfo gen_info, ClassBase implementor, string indent) { StreamWriter sw = gen_info.Writer; sw.WriteLine(" {"); if (!IsStatic && implementor != null) implementor.Prepare (sw, indent + "\t\t\t"); if (IsAccessor) Body.InitAccessor (sw, Signature, indent); Body.Initialize(gen_info, is_get, is_set, indent); if (HasWin32Utf8Variant) { if (!retval.IsVoid) sw.WriteLine(indent + "\t\t\t" + retval.MarshalType + " raw_ret;"); sw.WriteLine(indent + "\t\t\t" + "if (Environment.OSVersion.Platform == PlatformID.Win32NT ||"); sw.WriteLine(indent + "\t\t\t" + " Environment.OSVersion.Platform == PlatformID.Win32S ||"); sw.WriteLine(indent + "\t\t\t" + " Environment.OSVersion.Platform == PlatformID.Win32Windows ||"); sw.WriteLine(indent + "\t\t\t" + " Environment.OSVersion.Platform == PlatformID.WinCE)"); if (retval.IsVoid) { sw.WriteLine(indent + "\t\t\t\t" + CName + "_utf8" + call + ";"); sw.WriteLine(indent + "\t\t\t" + "else"); sw.WriteLine(indent + "\t\t\t\t" + CName + call + ";"); } else { sw.WriteLine(indent + "\t\t\t\traw_ret = " + CName + "_utf8" + call + ";"); sw.WriteLine(indent + "\t\t\t" + "else"); sw.WriteLine(indent + "\t\t\t\traw_ret = " + CName + call + ";"); sw.WriteLine(indent + "\t\t\t" + retval.CSType + " ret = " + retval.FromNative ("raw_ret") + ";"); } } else { sw.Write(indent + "\t\t\t"); if (retval.IsVoid) sw.WriteLine(CName + call + ";"); else if (!cacheValue) { sw.WriteLine(retval.MarshalType + " raw_ret = " + CName + call + ";"); sw.WriteLine(indent + "\t\t\t" + retval.CSType + " ret = " + retval.FromNative ("raw_ret") + ";"); } } if (!IsStatic && implementor != null) implementor.Finish (sw, indent + "\t\t\t"); Body.Finish (sw, indent); Body.HandleException (sw, indent); if (is_get && Parameters.Count > 0) sw.WriteLine (indent + "\t\t\treturn " + Parameters.AccessorName + ";"); else if (!retval.IsVoid) { sw.WriteLine (indent + "\t\t\treturn " + (cacheValue ? cacheName : "ret") + ";"); } else if (IsAccessor) Body.FinishAccessor (sw, Signature, indent); sw.Write(indent + "\t\t}"); } bool IsAccessor { get { return retval.IsVoid && Signature.IsAccessor; } } } } gtk-sharp-2.12.40/generator/StructBase.cs0000664000175000017500000001433112767740470015117 00000000000000// GtkSharp.Generation.StructBase.cs - The Structure/Boxed Base Class. // // Author: Mike Kestner // // Copyright (c) 2001-2003 Mike Kestner // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Collections; using System.IO; using System.Text.RegularExpressions; using System.Xml; public abstract class StructBase : ClassBase, IManualMarshaler { new ArrayList fields = new ArrayList (); bool need_read_native = false; protected StructBase (XmlElement ns, XmlElement elem) : base (ns, elem) { foreach (XmlNode node in elem.ChildNodes) { if (!(node is XmlElement)) continue; XmlElement member = (XmlElement) node; switch (node.Name) { case "field": fields.Add (new StructField (member, this)); break; case "callback": Statistics.IgnoreCount++; break; default: if (!IsNodeNameHandled (node.Name)) Console.WriteLine ("Unexpected node " + node.Name + " in " + CName); break; } } } public override string DefaultValue { get { return QualifiedName + ".Zero"; } } public override string MarshalType { get { return "IntPtr"; } } public override string AssignToName { get { throw new NotImplementedException (); } } public override string CallByName () { return "this_as_native"; } public override string CallByName (string var) { return var + "_as_native"; } public override string FromNative (string var) { if (DisableNew) return var + " == IntPtr.Zero ? " + QualifiedName + ".Zero : (" + QualifiedName + ") System.Runtime.InteropServices.Marshal.PtrToStructure (" + var + ", typeof (" + QualifiedName + "))"; else return QualifiedName + ".New (" + var + ")"; } public string AllocNative (string var) { return "GLib.Marshaller.StructureToPtrAlloc (" + var + ")"; } public string ReleaseNative (string var) { return "Marshal.FreeHGlobal (" +var + ")"; } private bool DisableNew { get { return Elem.HasAttribute ("disable_new"); } } protected new void GenFields (GenerationInfo gen_info) { int bitfields = 0; bool need_field = true; foreach (StructField field in fields) { if (field.IsBitfield) { if (need_field) { StreamWriter sw = gen_info.Writer; sw.WriteLine ("\t\tprivate uint _bitfield{0};\n", bitfields++); need_field = false; } } else need_field = true; field.Generate (gen_info, "\t\t"); } } public override bool Validate () { foreach (StructField field in fields) { if (!field.Validate ()) { Console.WriteLine ("in Struct " + QualifiedName); if (!field.IsPointer) return false; } } return base.Validate (); } public override void Generate (GenerationInfo gen_info) { bool need_close = false; if (gen_info.Writer == null) { gen_info.Writer = gen_info.OpenStream (Name); need_close = true; } StreamWriter sw = gen_info.Writer; sw.WriteLine ("namespace " + NS + " {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine ("\tusing System.Collections;"); sw.WriteLine ("\tusing System.Runtime.InteropServices;"); sw.WriteLine (); sw.WriteLine ("#region Autogenerated code"); if (IsDeprecated) sw.WriteLine ("\t[Obsolete]"); sw.WriteLine ("\t[StructLayout(LayoutKind.Sequential)]"); GenerateAttribute (sw); string access = IsInternal ? "internal" : "public"; sw.WriteLine ("\t" + access + " struct " + Name + " {"); sw.WriteLine (); need_read_native = false; GenFields (gen_info); sw.WriteLine (); GenCtors (gen_info); GenMethods (gen_info, null, this); if (need_read_native) GenReadNative (sw); if (!need_close) return; sw.WriteLine ("#endregion"); AppendCustom(sw, gen_info.CustomDir); sw.WriteLine ("\t}"); sw.WriteLine ("}"); sw.Close (); gen_info.Writer = null; } protected virtual void GenerateAttribute (StreamWriter writer) { if (GetMethod ("GetType") != null || GetMethod ("GetGType") != null) writer.WriteLine ("\t[{0}]", Name); } protected override void GenCtors (GenerationInfo gen_info) { StreamWriter sw = gen_info.Writer; sw.WriteLine ("\t\tpublic static {0} Zero = new {0} ();", QualifiedName); sw.WriteLine(); if (!DisableNew) { sw.WriteLine ("\t\tpublic static " + QualifiedName + " New(IntPtr raw) {"); sw.WriteLine ("\t\t\tif (raw == IntPtr.Zero)"); sw.WriteLine ("\t\t\t\treturn {0}.Zero;", QualifiedName); sw.WriteLine ("\t\t\treturn ({0}) Marshal.PtrToStructure (raw, typeof ({0}));", QualifiedName); sw.WriteLine ("\t\t}"); sw.WriteLine (); } foreach (Ctor ctor in Ctors) ctor.IsStatic = true; base.GenCtors (gen_info); } void GenReadNative (StreamWriter sw) { sw.WriteLine ("\t\tstatic void ReadNative (IntPtr native, ref {0} target)", QualifiedName); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\ttarget = New (native);"); sw.WriteLine ("\t\t}"); sw.WriteLine (); } public override void Prepare (StreamWriter sw, string indent) { sw.WriteLine (indent + "IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal (System.Runtime.InteropServices.Marshal.SizeOf (this));"); sw.WriteLine (indent + "System.Runtime.InteropServices.Marshal.StructureToPtr (this, this_as_native, false);"); } public override void Finish (StreamWriter sw, string indent) { need_read_native = true; sw.WriteLine (indent + "ReadNative (this_as_native, ref this);"); sw.WriteLine (indent + "System.Runtime.InteropServices.Marshal.FreeHGlobal (this_as_native);"); } } } gtk-sharp-2.12.40/generator/ObjectBase.cs0000664000175000017500000000221512767740470015037 00000000000000// ObjectBase.cs - Base class for Object types // // Authors: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.Xml; public abstract class ObjectBase : HandleBase { protected ObjectBase (XmlElement ns, XmlElement elem) : base (ns, elem) {} public override string FromNative (string var, bool owned) { return "GLib.Object.GetObject(" + var + (owned ? ", true" : "") + ") as " + QualifiedName; } } } gtk-sharp-2.12.40/generator/IGeneratable.cs0000664000175000017500000000452212767740470015363 00000000000000// GtkSharp.Generation.IGeneratable.cs - Interface to generate code for a type. // // Author: Mike Kestner // // Copyright (c) 2001 Mike Kestner // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { public interface IGeneratable { // The C name of the generatable string CName {get;} // The (short) C# name of the generatable string Name {get;} // The fully-qualified C# name of the generatable string QualifiedName {get;} // The type (possibly including "ref" or "out") to use in the import // signature when passing this generatable to unmanaged code string MarshalType {get;} // The type to use as the return type in an import signature when // receiving this generatable back from unmanaged code string MarshalReturnType {get;} // The type to use in a managed callback signature when returning this // generatable to unmanaged code string ToNativeReturnType {get;} // The value returned by callbacks that are interrupted prematurely // by managed exceptions or other conditions where an appropriate // value can't be otherwise obtained. string DefaultValue {get;} // Generates an expression to convert var_name to MarshalType string CallByName (string var_name); // Generates an expression to convert var from MarshalType string FromNative (string var); // Generates an expression to convert var from MarshalReturnType string FromNativeReturn (string var); // Generates an expression to convert var to ToNativeReturnType string ToNativeReturn (string var); bool Validate (); void Generate (); void Generate (GenerationInfo gen_info); } } gtk-sharp-2.12.40/generator/CallbackGen.cs0000664000175000017500000002354012767740470015170 00000000000000// GtkSharp.Generation.CallbackGen.cs - The Callback Generatable. // // Author: Mike Kestner // // Copyright (c) 2002-2003 Mike Kestner // Copyright (c) 2007 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace GtkSharp.Generation { using System; using System.IO; using System.Xml; public class CallbackGen : GenBase, IAccessor { private Parameters parms; private Signature sig = null; private ReturnValue retval; private bool valid = true; public CallbackGen (XmlElement ns, XmlElement elem) : base (ns, elem) { retval = new ReturnValue (elem ["return-type"]); parms = new Parameters (elem ["parameters"]); parms.HideData = true; } public override string DefaultValue { get { return "null"; } } public override bool Validate () { if (!retval.Validate ()) { Console.WriteLine ("rettype: " + retval.CType + " in callback " + CName); Statistics.ThrottledCount++; valid = false; return false; } if (!parms.Validate ()) { Console.WriteLine (" in callback " + CName); Statistics.ThrottledCount++; valid = false; return false; } valid = true; return true; } public string InvokerName { get { if (!valid) return String.Empty; return NS + "Sharp." + Name + "Invoker"; } } public override string MarshalType { get { if (valid) return NS + "Sharp." + Name + "Native"; else return ""; } } public override string CallByName (string var_name) { return var_name + ".NativeDelegate"; } public override string FromNative (string var) { return NS + "Sharp." + Name + "Wrapper.GetManagedDelegate (" + var + ")"; } public void WriteAccessors (StreamWriter sw, string indent, string var) { sw.WriteLine (indent + "get {"); sw.WriteLine (indent + "\treturn " + FromNative (var) + ";"); sw.WriteLine (indent + "}"); } string CastFromInt (string type) { return type != "int" ? "(" + type + ") " : ""; } string InvokeString { get { if (parms.Count == 0) return String.Empty; string[] result = new string [parms.Count]; for (int i = 0; i < parms.Count; i++) { Parameter p = parms [i]; IGeneratable igen = p.Generatable; if (i > 0 && parms [i - 1].IsString && p.IsLength) { string string_name = parms [i - 1].Name; result[i] = igen.CallByName (CastFromInt (p.CSType) + "System.Text.Encoding.UTF8.GetByteCount (" + string_name + ")"); continue; } p.CallName = p.Name; result [i] = p.CallString; if (p.IsUserData) result [i] = "__data"; } return String.Join (", ", result); } } MethodBody body; void GenInvoker (GenerationInfo gen_info, StreamWriter sw) { if (sig == null) sig = new Signature (parms); sw.WriteLine ("\tinternal class " + Name + "Invoker {"); sw.WriteLine (); sw.WriteLine ("\t\t" + Name + "Native native_cb;"); sw.WriteLine ("\t\tIntPtr __data;"); sw.WriteLine ("\t\tGLib.DestroyNotify __notify;"); sw.WriteLine (); sw.WriteLine ("\t\t~" + Name + "Invoker ()"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (__notify == null)"); sw.WriteLine ("\t\t\t\treturn;"); sw.WriteLine ("\t\t\t__notify (__data);"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\tinternal " + Name + "Invoker (" + Name + "Native native_cb) : this (native_cb, IntPtr.Zero, null) {}"); sw.WriteLine (); sw.WriteLine ("\t\tinternal " + Name + "Invoker (" + Name + "Native native_cb, IntPtr data) : this (native_cb, data, null) {}"); sw.WriteLine (); sw.WriteLine ("\t\tinternal " + Name + "Invoker (" + Name + "Native native_cb, IntPtr data, GLib.DestroyNotify notify)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tthis.native_cb = native_cb;"); sw.WriteLine ("\t\t\t__data = data;"); sw.WriteLine ("\t\t\t__notify = notify;"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\tinternal " + QualifiedName + " Handler {"); sw.WriteLine ("\t\t\tget {"); sw.WriteLine ("\t\t\t\treturn new " + QualifiedName + "(InvokeNative);"); sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\t" + retval.CSType + " InvokeNative (" + sig + ")"); sw.WriteLine ("\t\t{"); body.Initialize (gen_info); string call = "native_cb (" + InvokeString + ")"; if (retval.IsVoid) sw.WriteLine ("\t\t\t" + call + ";"); else sw.WriteLine ("\t\t\t" + retval.CSType + " result = " + retval.FromNative (call) + ";"); body.Finish (sw, String.Empty); if (!retval.IsVoid) sw.WriteLine ("\t\t\treturn result;"); sw.WriteLine ("\t\t}"); sw.WriteLine ("\t}"); sw.WriteLine (); } public string GenWrapper (GenerationInfo gen_info) { string wrapper = Name + "Native"; string qualname = MarshalType; if (!Validate ()) return String.Empty; body = new MethodBody (parms); StreamWriter save_sw = gen_info.Writer; StreamWriter sw = gen_info.Writer = gen_info.OpenStream (qualname); sw.WriteLine ("namespace " + NS + "Sharp {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine ("\tusing System.Runtime.InteropServices;"); sw.WriteLine (); sw.WriteLine ("#region Autogenerated code"); sw.WriteLine ("\t[UnmanagedFunctionPointer (CallingConvention.Cdecl)]"); sw.WriteLine ("\tinternal delegate " + retval.MarshalType + " " + wrapper + "(" + parms.ImportSignature + ");"); sw.WriteLine (); GenInvoker (gen_info, sw); sw.WriteLine ("\tinternal class " + Name + "Wrapper {"); sw.WriteLine (); ManagedCallString call = new ManagedCallString (parms, false); sw.WriteLine ("\t\tpublic " + retval.MarshalType + " NativeCallback (" + parms.ImportSignature + ")"); sw.WriteLine ("\t\t{"); string unconditional = call.Unconditional ("\t\t\t"); if (unconditional.Length > 0) sw.WriteLine (unconditional); sw.WriteLine ("\t\t\ttry {"); string call_setup = call.Setup ("\t\t\t\t"); if (call_setup.Length > 0) sw.WriteLine (call_setup); if (retval.CSType == "void") sw.WriteLine ("\t\t\t\tmanaged ({0});", call); else sw.WriteLine ("\t\t\t\t{0} __ret = managed ({1});", retval.CSType, call); string finish = call.Finish ("\t\t\t\t"); if (finish.Length > 0) sw.WriteLine (finish); sw.WriteLine ("\t\t\t\tif (release_on_call)\n\t\t\t\t\tgch.Free ();"); if (retval.CSType != "void") sw.WriteLine ("\t\t\t\treturn {0};", retval.ToNative ("__ret")); /* If the function expects one or more "out" parameters(error parameters are excluded) or has a return value different from void and bool, exceptions * thrown in the managed function have to be considered fatal meaning that an exception is to be thrown and the function call cannot not return */ bool fatal = (retval.MarshalType != "void" && retval.MarshalType != "bool") || call.HasOutParam; sw.WriteLine ("\t\t\t} catch (Exception e) {"); sw.WriteLine ("\t\t\t\tGLib.ExceptionManager.RaiseUnhandledException (e, " + (fatal ? "true" : "false") + ");"); if (fatal) { sw.WriteLine ("\t\t\t\t// NOTREACHED: Above call does not return."); sw.WriteLine ("\t\t\t\tthrow e;"); } else if (retval.MarshalType == "bool") { sw.WriteLine ("\t\t\t\treturn false;"); } sw.WriteLine ("\t\t\t}"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\tbool release_on_call = false;"); sw.WriteLine ("\t\tGCHandle gch;"); sw.WriteLine (); sw.WriteLine ("\t\tpublic void PersistUntilCalled ()"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\trelease_on_call = true;"); sw.WriteLine ("\t\t\tgch = GCHandle.Alloc (this);"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\tinternal " + wrapper + " NativeDelegate;"); sw.WriteLine ("\t\t" + NS + "." + Name + " managed;"); sw.WriteLine (); sw.WriteLine ("\t\tpublic " + Name + "Wrapper (" + NS + "." + Name + " managed)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tthis.managed = managed;"); sw.WriteLine ("\t\t\tif (managed != null)"); sw.WriteLine ("\t\t\t\tNativeDelegate = new " + wrapper + " (NativeCallback);"); sw.WriteLine ("\t\t}"); sw.WriteLine (); sw.WriteLine ("\t\tpublic static " + NS + "." + Name + " GetManagedDelegate (" + wrapper + " native)"); sw.WriteLine ("\t\t{"); sw.WriteLine ("\t\t\tif (native == null)"); sw.WriteLine ("\t\t\t\treturn null;"); sw.WriteLine ("\t\t\t" + Name + "Wrapper wrapper = (" + Name + "Wrapper) native.Target;"); sw.WriteLine ("\t\t\tif (wrapper == null)"); sw.WriteLine ("\t\t\t\treturn null;"); sw.WriteLine ("\t\t\treturn wrapper.managed;"); sw.WriteLine ("\t\t}"); sw.WriteLine ("\t}"); sw.WriteLine ("#endregion"); sw.WriteLine ("}"); sw.Close (); gen_info.Writer = save_sw; return NS + "Sharp." + Name + "Wrapper"; } public override void Generate (GenerationInfo gen_info) { gen_info.CurrentType = Name; sig = new Signature (parms); StreamWriter sw = gen_info.OpenStream (Name); sw.WriteLine ("namespace " + NS + " {"); sw.WriteLine (); sw.WriteLine ("\tusing System;"); sw.WriteLine (); sw.WriteLine ("\t{0} delegate " + retval.CSType + " " + Name + "(" + sig.ToString() + ");", IsInternal ? "internal" : "public"); sw.WriteLine (); sw.WriteLine ("}"); sw.Close (); GenWrapper (gen_info); Statistics.CBCount++; } } } gtk-sharp-2.12.40/gtkdotnet/0000775000175000017500000000000012767740535012606 500000000000000gtk-sharp-2.12.40/gtkdotnet/gtk-dotnet-2.0.pc.in0000664000175000017500000000034512767740470016034 00000000000000prefix=${pcfiledir}/../.. exec_prefix=${prefix} libdir=${exec_prefix}/lib Name: Gtk.DotNet Description: .NET Extensions for Gtk Version: @VERSION@ Requires:gtk-sharp-2.0 Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/gtk-dotnet.dll gtk-sharp-2.12.40/gtkdotnet/Graphics.cs0000664000175000017500000000735212767740470014622 00000000000000// Graphics.cs - System.Drawing integration with Gtk# // // Author: Miguel de Icaza // // Copyright (c) 2004 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. // API issues: // Maybe make the translation `out' parameters so they are explicit and the user knows about it? // Add a way to copy a Graphics into a drawable? // using System; using System.Reflection; using System.Runtime.InteropServices; namespace Gtk.DotNet { public class Graphics { private Graphics () {} [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] internal static extern IntPtr gdk_win32_drawable_get_handle(IntPtr raw); [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] internal static extern IntPtr gdk_win32_hdc_get(IntPtr drawable, IntPtr gc, int usage); [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] internal static extern void gdk_win32_hdc_release(IntPtr drawable,IntPtr gc,int usage); [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] internal static extern IntPtr gdk_x11_drawable_get_xdisplay (IntPtr raw); [DllImport("libgdk-win32-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] internal static extern IntPtr gdk_x11_drawable_get_xid (IntPtr raw); public static System.Drawing.Graphics FromDrawable (Gdk.Drawable drawable) { return FromDrawable (drawable, true); } public static System.Drawing.Graphics FromDrawable(Gdk.Drawable drawable, bool double_buffered) { IntPtr x_drawable; int x_off = 0, y_off = 0; PlatformID osversion = Environment.OSVersion.Platform; if (osversion == PlatformID.Win32Windows || osversion == PlatformID.Win32NT || osversion == PlatformID.Win32S || osversion == PlatformID.WinCE){ if (drawable is Gdk.Window && double_buffered) ((Gdk.Window)drawable).GetInternalPaintInfo(out drawable, out x_off, out y_off); Gdk.GC gcc = new Gdk.GC(drawable); IntPtr windc = gdk_win32_hdc_get(drawable.Handle, gcc.Handle, 0); System.Drawing.Graphics g = System.Drawing.Graphics.FromHdc(windc); if (double_buffered) { gdk_win32_hdc_release(drawable.Handle, gcc.Handle, 0); } g.TranslateTransform(-x_off, -y_off); return g; } else { if (drawable is Gdk.Window && double_buffered) ((Gdk.Window) drawable).GetInternalPaintInfo(out drawable, out x_off, out y_off); x_drawable = drawable.Handle; IntPtr display = gdk_x11_drawable_get_xdisplay (x_drawable); Type graphics = typeof (System.Drawing.Graphics); MethodInfo mi = graphics.GetMethod ("FromXDrawable", BindingFlags.Static | BindingFlags.NonPublic); if (mi == null) throw new NotImplementedException ("In this implementation I can not get a graphics from a drawable"); object [] args = new object [2] { (IntPtr) gdk_x11_drawable_get_xid (drawable.Handle), (IntPtr) display }; object r = mi.Invoke (null, args); System.Drawing.Graphics g = (System.Drawing.Graphics) r; g.TranslateTransform (-x_off, -y_off); return g; } } } } gtk-sharp-2.12.40/gtkdotnet/Makefile.in0000664000175000017500000004440412767740506014577 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = gtkdotnet ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = gtk-dotnet.dll.config gtk-dotnet-2.0.pc CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(pkgconfigdir)" DATA = $(noinst_DATA) $(pkgconfig_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/gtk-dotnet-2.0.pc.in \ $(srcdir)/gtk-dotnet.dll.config.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ @ENABLE_DOTNET_FALSE@TARGET = @ENABLE_DOTNET_TRUE@TARGET = $(ASSEMBLY) $(ASSEMBLY).config @ENABLE_DOTNET_TRUE@pkgconfigdir = $(libdir)/pkgconfig @ENABLE_DOTNET_TRUE@pkgconfig_DATA = gtk-dotnet-2.0.pc ASSEMBLY = $(ASSEMBLY_NAME).dll ASSEMBLY_NAME = gtk-dotnet noinst_DATA = $(ASSEMBLY) $(POLICY_ASSEMBLIES) CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb gtk-sharp.snk AssemblyInfo.cs $(POLICY_ASSEMBLIES) $(POLICY_CONFIGS) DISTCLEANFILES = $(ASSEMBLY).config POLICY_ASSEMBLIES = $(addsuffix .$(ASSEMBLY), $(addprefix policy., $(POLICY_VERSIONS))) POLICY_CONFIGS = $(addsuffix .config, $(addprefix policy., $(POLICY_VERSIONS))) references = $(top_builddir)/glib/glib-sharp.dll $(top_builddir)/pango/pango-sharp.dll $(top_builddir)/gdk/gdk-sharp.dll build_references = $(addprefix -r:, $(references)) -r:System.Drawing.dll sources = \ Graphics.cs build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs EXTRA_DIST = \ $(sources) \ $(ASSEMBLY).config.in \ gtk-dotnet-2.0.pc.in all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign gtkdotnet/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign gtkdotnet/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): gtk-dotnet.dll.config: $(top_builddir)/config.status $(srcdir)/gtk-dotnet.dll.config.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ gtk-dotnet-2.0.pc: $(top_builddir)/config.status $(srcdir)/gtk-dotnet-2.0.pc.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-pkgconfigDATA: $(pkgconfig_DATA) @$(NORMAL_INSTALL) @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ done uninstall-pkgconfigDATA: @$(NORMAL_UNINSTALL) @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(pkgconfigdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-data-local install-pkgconfigDATA install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-local uninstall-pkgconfigDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am \ install-data-local install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-pkgconfigDATA install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \ uninstall-am uninstall-local uninstall-pkgconfigDATA .PRECIOUS: Makefile gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk cp $(top_srcdir)/gtk-sharp.snk . AssemblyInfo.cs: $(top_builddir)/AssemblyInfo.cs cp $(top_builddir)/AssemblyInfo.cs . $(ASSEMBLY): $(build_sources) $(references) gtk-sharp.snk AssemblyInfo.cs @rm -f $(ASSEMBLY).mdb $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -out:$(ASSEMBLY) -target:library $(build_references) $(build_sources) $(GAPI_CDECL_INSERT) policy.%.config: $(top_builddir)/policy.config sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$*/" $(top_builddir)/policy.config > $@ $(POLICY_ASSEMBLIES) : policy.%.$(ASSEMBLY): policy.%.config gtk-sharp.snk $(AL) -link:policy.$*.config -version:$* -out:$@ -keyfile:gtk-sharp.snk install-data-local: @if test -n '$(TARGET)'; then \ echo "$(GACUTIL) -i $(ASSEMBLY) -f $(GACUTIL_FLAGS)"; \ $(GACUTIL) -i $(ASSEMBLY) -f $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) -i policy.$$i.$(ASSEMBLY) -f $(GACUTIL_FLAGS)"; \ $(GACUTIL) -i policy.$$i.$(ASSEMBLY) -f $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi uninstall-local: @if test -n '$(TARGET)'; then \ echo "$(GACUTIL) -u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) -u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/gtkdotnet/gtk-dotnet.dll.config.in0000664000175000017500000000020612767740470017150 00000000000000 gtk-sharp-2.12.40/gtkdotnet/Makefile.am0000664000175000017500000000503112767740470014557 00000000000000if ENABLE_DOTNET TARGET = $(ASSEMBLY) $(ASSEMBLY).config pkgconfigdir=$(libdir)/pkgconfig pkgconfig_DATA=gtk-dotnet-2.0.pc else TARGET = endif ASSEMBLY = $(ASSEMBLY_NAME).dll ASSEMBLY_NAME = gtk-dotnet noinst_DATA = $(ASSEMBLY) $(POLICY_ASSEMBLIES) CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb gtk-sharp.snk AssemblyInfo.cs $(POLICY_ASSEMBLIES) $(POLICY_CONFIGS) DISTCLEANFILES = $(ASSEMBLY).config POLICY_ASSEMBLIES = $(addsuffix .$(ASSEMBLY), $(addprefix policy., $(POLICY_VERSIONS))) POLICY_CONFIGS = $(addsuffix .config, $(addprefix policy., $(POLICY_VERSIONS))) references = $(top_builddir)/glib/glib-sharp.dll $(top_builddir)/pango/pango-sharp.dll $(top_builddir)/gdk/gdk-sharp.dll build_references = $(addprefix -r:, $(references)) -r:System.Drawing.dll sources = \ Graphics.cs build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs EXTRA_DIST = \ $(sources) \ $(ASSEMBLY).config.in \ gtk-dotnet-2.0.pc.in gtk-sharp.snk: $(top_srcdir)/gtk-sharp.snk cp $(top_srcdir)/gtk-sharp.snk . AssemblyInfo.cs: $(top_builddir)/AssemblyInfo.cs cp $(top_builddir)/AssemblyInfo.cs . $(ASSEMBLY): $(build_sources) $(references) gtk-sharp.snk AssemblyInfo.cs @rm -f $(ASSEMBLY).mdb $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -out:$(ASSEMBLY) -target:library $(build_references) $(build_sources) $(GAPI_CDECL_INSERT) policy.%.config: $(top_builddir)/policy.config sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$*/" $(top_builddir)/policy.config > $@ $(POLICY_ASSEMBLIES) : policy.%.$(ASSEMBLY): policy.%.config gtk-sharp.snk $(AL) -link:policy.$*.config -version:$* -out:$@ -keyfile:gtk-sharp.snk install-data-local: @if test -n '$(TARGET)'; then \ echo "$(GACUTIL) -i $(ASSEMBLY) -f $(GACUTIL_FLAGS)"; \ $(GACUTIL) -i $(ASSEMBLY) -f $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) -i policy.$$i.$(ASSEMBLY) -f $(GACUTIL_FLAGS)"; \ $(GACUTIL) -i policy.$$i.$(ASSEMBLY) -f $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi uninstall-local: @if test -n '$(TARGET)'; then \ echo "$(GACUTIL) -u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) -u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi gtk-sharp-2.12.40/missing0000755000175000017500000001533012676613141012111 00000000000000#! /bin/sh # Common wrapper for a few potentially missing GNU programs. scriptversion=2013-10-28.13; # UTC # Copyright (C) 1996-2014 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try '$0 --help' for more information" exit 1 fi case $1 in --is-lightweight) # Used by our autoconf macros to check whether the available missing # script is modern enough. exit 0 ;; --run) # Back-compat with the calling convention used by older automake. shift ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due to PROGRAM being missing or too old. Options: -h, --help display this help and exit -v, --version output version information and exit Supported PROGRAM values: aclocal autoconf autoheader autom4te automake makeinfo bison yacc flex lex help2man Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and 'g' are ignored when checking the name. Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: unknown '$1' option" echo 1>&2 "Try '$0 --help' for more information" exit 1 ;; esac # Run the given program, remember its exit status. "$@"; st=$? # If it succeeded, we are done. test $st -eq 0 && exit 0 # Also exit now if we it failed (or wasn't found), and '--version' was # passed; such an option is passed most likely to detect whether the # program is present and works. case $2 in --version|--help) exit $st;; esac # Exit code 63 means version mismatch. This often happens when the user # tries to use an ancient version of a tool on a file that requires a # minimum version. if test $st -eq 63; then msg="probably too old" elif test $st -eq 127; then # Program was missing. msg="missing on your system" else # Program was found and executed, but failed. Give up. exit $st fi perl_URL=http://www.perl.org/ flex_URL=http://flex.sourceforge.net/ gnu_software_URL=http://www.gnu.org/software program_details () { case $1 in aclocal|automake) echo "The '$1' program is part of the GNU Automake package:" echo "<$gnu_software_URL/automake>" echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/autoconf>" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; autoconf|autom4te|autoheader) echo "The '$1' program is part of the GNU Autoconf package:" echo "<$gnu_software_URL/autoconf/>" echo "It also requires GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; esac } give_advice () { # Normalize program name to check for. normalized_program=`echo "$1" | sed ' s/^gnu-//; t s/^gnu//; t s/^g//; t'` printf '%s\n' "'$1' is $msg." configure_deps="'configure.ac' or m4 files included by 'configure.ac'" case $normalized_program in autoconf*) echo "You should only need it if you modified 'configure.ac'," echo "or m4 files included by it." program_details 'autoconf' ;; autoheader*) echo "You should only need it if you modified 'acconfig.h' or" echo "$configure_deps." program_details 'autoheader' ;; automake*) echo "You should only need it if you modified 'Makefile.am' or" echo "$configure_deps." program_details 'automake' ;; aclocal*) echo "You should only need it if you modified 'acinclude.m4' or" echo "$configure_deps." program_details 'aclocal' ;; autom4te*) echo "You might have modified some maintainer files that require" echo "the 'autom4te' program to be rebuilt." program_details 'autom4te' ;; bison*|yacc*) echo "You should only need it if you modified a '.y' file." echo "You may want to install the GNU Bison package:" echo "<$gnu_software_URL/bison/>" ;; lex*|flex*) echo "You should only need it if you modified a '.l' file." echo "You may want to install the Fast Lexical Analyzer package:" echo "<$flex_URL>" ;; help2man*) echo "You should only need it if you modified a dependency" \ "of a man page." echo "You may want to install the GNU Help2man package:" echo "<$gnu_software_URL/help2man/>" ;; makeinfo*) echo "You should only need it if you modified a '.texi' file, or" echo "any other file indirectly affecting the aspect of the manual." echo "You might want to install the Texinfo package:" echo "<$gnu_software_URL/texinfo/>" echo "The spurious makeinfo call might also be the consequence of" echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" echo "want to install GNU make:" echo "<$gnu_software_URL/make/>" ;; *) echo "You might have modified some files without having the proper" echo "tools for further handling them. Check the 'README' file, it" echo "often tells you about the needed prerequisites for installing" echo "this package. You may also peek at any GNU archive site, in" echo "case some other package contains this missing '$1' program." ;; esac } give_advice "$1" | sed -e '1s/^/WARNING: /' \ -e '2,$s/^/ /' >&2 # Propagate the correct exit status (expected to be 127 for a program # not found, 63 for a program that failed due to version mismatch). exit $st # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: gtk-sharp-2.12.40/msi/0000775000175000017500000000000012767740535011373 500000000000000gtk-sharp-2.12.40/msi/unmanaged/0000775000175000017500000000000012767740535013332 500000000000000gtk-sharp-2.12.40/msi/unmanaged/ignores0000664000175000017500000000625012767740470014644 00000000000000source\bin\bmp2tiff.exe source\bin\cjpeg.exe source\bin\djpeg.exe source\bin\fax2ps.exe source\bin\fax2tiff.exe source\bin\fc-cache.exe source\bin\fc-cat.exe source\bin\fc-list.exe source\bin\freetype-config source\bin\gdk-pixbuf-csource.exe source\bin\gif2tiff.exe source\bin\glib-genmarshal.exe source\bin\glib-gettextize source\bin\glib-mkenums source\bin\gobject-query.exe source\bin\gtk-builder-convert source\bin\gtk-demo.exe source\bin\gtk-update-icon-cache.exe source\bin\gtk-update-icon-cache.exe.manifest source\bin\jpegtran.exe source\bin\pal2rgb.exe source\bin\pango-view.exe source\bin\pkg-config.exe source\bin\ppm2tiff.exe source\bin\ras2tiff.exe source\bin\raw2tiff.exe source\bin\rdjpgcom.exe source\bin\rgb2ycbcr.exe source\bin\thumbnail.exe source\bin\tiff2bw.exe source\bin\tiff2pdf.exe source\bin\tiff2ps.exe source\bin\tiff2rgba.exe source\bin\tiffcmp.exe source\bin\tiffcp.exe source\bin\tiffcrop.exe source\bin\tiffdither.exe source\bin\tiffdump.exe source\bin\tiffinfo.exe source\bin\tiffmedian.exe source\bin\tiffset.exe source\bin\tiffsplit.exe source\bin\wrjpgcom.exe source\bin\xmlwf.exe source\include source\lib\pkgconfig source\lib\atk-1.0.def source\lib\atk-1.0.lib source\lib\cairo.def source\lib\cairo.lib source\lib\charset.alias source\lib\expat.lib source\lib\fontconfig.def source\lib\fontconfig.lib source\lib\gailutil.lib source\lib\gdk_pixbuf-2.0.lib source\lib\gdk-win32-2.0.lib source\lib\gio-2.0.def source\lib\gio-2.0.lib source\lib\glib-2.0.def source\lib\glib-2.0.lib source\lib\glib-2.0\include\glibconfig.h source\lib\gmodule-2.0.def source\lib\gmodule-2.0.lib source\lib\gobject-2.0.def source\lib\gobject-2.0.lib source\lib\gthread-2.0.def source\lib\gthread-2.0.lib source\lib\gtk-2.0\include\gdkconfig.h source\lib\gtk-win32-2.0.lib source\lib\intl.def source\lib\intl.lib source\lib\libatk-1.0.dll.a source\lib\libcairo.dll.a source\lib\libexpat.def source\lib\libexpat.dll.a source\lib\libfontconfig.dll.a source\lib\libfreetype.dll.a source\lib\libgailutil.dll.a source\lib\libgdk_pixbuf-2.0.dll.a source\lib\libgdk-win32-2.0.dll.a source\lib\libgio-2.0.dll.a source\lib\libglib-2.0.dll.a source\lib\libgmodule-2.0.dll.a source\lib\libgobject-2.0.dll.a source\lib\libgthread-2.0.dll.a source\lib\libgtk-win32-2.0.dll.a source\lib\libintl.dll.a source\lib\libjpeg.dll.a source\lib\libpango-1.0.dll.a source\lib\libpangocairo-1.0.dll.a source\lib\libpangoft2-1.0.dll.a source\lib\libpangowin32-1.0.dll.a source\lib\libpng.def source\lib\libpng.lib source\lib\libpng12.dll.a source\lib\libtiff.dll.a source\lib\libtiffxx.dll.a source\lib\libz.a source\lib\pango-1.0.def source\lib\pango-1.0.lib source\lib\pangocairo-1.0.def source\lib\pangocairo-1.0.lib source\lib\pangoft2-1.0.def source\lib\pangoft2-1.0.lib source\lib\pangowin32-1.0.def source\lib\pangowin32-1.0.lib source\lib\zdll.lib source\lib\zlib.def source\make\gettext-0.17-1.sh source\man source\manifest source\share\aclocal source\share\doc source\share\glib-2.0 source\share\gtk-doc source\share\gtk-2.0\demo source\share\man source\src source\share\themes\Emacs\gtk-2.0-key\gtkrc source\share\themes\Raleigh\gtk-2.0\gtkrc source\gtk+-bundle_2.16.6-20091215_win32.README.txt source\gtk+-bundle_2.16.6-20091215_win32.zip gtk-sharp-2.12.40/msi/unmanaged/unmanaged.wxs0000775000175000017500000026655312767740470015776 00000000000000 Not Installed Not Installed gtk-sharp-2.12.40/msi/unmanaged/Makefile.in0000664000175000017500000004777412767740506015340 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = msi/unmanaged ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac DATA = $(noinst_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = custom @ENABLE_MSI_FALSE@TARGET = @ENABLE_MSI_TRUE@TARGET = unmanaged.msm noinst_DATA = $(TARGET) DOWNLOADS = downloads.win32 CLEANFILES = source EXTRA_DIST = redirector.cs unmanaged.wxs downloads.win32 ignores all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign msi/unmanaged/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign msi/unmanaged/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(DATA) installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am tags tags-am uninstall uninstall-am .PRECIOUS: Makefile download-stamp: $(DOWNLOADS) rm -rf source mkdir -p source cd source && for i in `cat ../$(DOWNLOADS)`; do wget --no-check-certificate $$i; done && for j in `ls *.zip`; do unzip $$j; rm $$j; done touch download-stamp unmanaged.wixobj: unmanaged.wxs redirector.exe download-stamp candle unmanaged.wxs unmanaged.msm: unmanaged.wixobj light unmanaged.wixobj bundle-scanner.exe: bundle-scanner.cs $(CSC) bundle-scanner.cs redirector.exe: redirector.cs $(CSC) redirector.cs scan: download-stamp bundle-scanner.exe $(RUNTIME) bundle-scanner.exe --wix=unmanaged.wxs --bundle=source # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/msi/unmanaged/redirector.cs0000775000175000017500000000347612767740470015756 00000000000000// Redirector.cs - launches a program and sends its output to a file. // // Author: Mike Kestner // // Copyright (c) 2009 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. namespace GtkSharpInstaller { using System; using System.IO; using System.Diagnostics; public class Redirector { public static int Main (string[] args) { if (args.Length != 2) { Console.Error.WriteLine ("Usage: redirector.exe "); return 1; } ProcessStartInfo info = new ProcessStartInfo (args [0]); info.RedirectStandardOutput = true; info.UseShellExecute = false; Process proc = Process.Start (info); StreamWriter sw = new StreamWriter (File.Create (args [1])); sw.WriteLine (proc.StandardOutput.ReadToEnd ()); sw.Close (); return 0; } } } gtk-sharp-2.12.40/msi/unmanaged/custom/0000775000175000017500000000000012767740535014644 500000000000000gtk-sharp-2.12.40/msi/unmanaged/custom/Makefile.in0000664000175000017500000004625112767740507016640 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = msi/unmanaged/custom ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = etc share all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign msi/unmanaged/custom/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign msi/unmanaged/custom/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am tags tags-am uninstall uninstall-am .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/msi/unmanaged/custom/etc/0000775000175000017500000000000012767740535015417 500000000000000gtk-sharp-2.12.40/msi/unmanaged/custom/etc/Makefile.in0000664000175000017500000004626312767740507017416 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = msi/unmanaged/custom/etc ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = gtk-2.0 all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign msi/unmanaged/custom/etc/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign msi/unmanaged/custom/etc/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am tags tags-am uninstall uninstall-am .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/msi/unmanaged/custom/etc/Makefile.am0000664000175000017500000000002012767740470017361 00000000000000SUBDIRS=gtk-2.0 gtk-sharp-2.12.40/msi/unmanaged/custom/etc/gtk-2.0/0000775000175000017500000000000012767740535016501 500000000000000gtk-sharp-2.12.40/msi/unmanaged/custom/etc/gtk-2.0/Makefile.in0000664000175000017500000003173712767740507020500 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = msi/unmanaged/custom/etc/gtk-2.0 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = gtkrc all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign msi/unmanaged/custom/etc/gtk-2.0/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign msi/unmanaged/custom/etc/gtk-2.0/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags-am uninstall uninstall-am .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/msi/unmanaged/custom/etc/gtk-2.0/gtkrc0000664000175000017500000000016212767740470017453 00000000000000gtk-theme-name = "MS-Windows" style "rules-hint" { GtkTreeView::allow-rules = 1 } class "*" style "rules-hint" gtk-sharp-2.12.40/msi/unmanaged/custom/etc/gtk-2.0/Makefile.am0000664000175000017500000000002112767740470020444 00000000000000EXTRA_DIST=gtkrc gtk-sharp-2.12.40/msi/unmanaged/custom/share/0000775000175000017500000000000012767740535015746 500000000000000gtk-sharp-2.12.40/msi/unmanaged/custom/share/Makefile.in0000664000175000017500000004626712767740507017751 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = msi/unmanaged/custom/share ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = icons all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign msi/unmanaged/custom/share/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign msi/unmanaged/custom/share/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am tags tags-am uninstall uninstall-am .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/msi/unmanaged/custom/share/icons/0000775000175000017500000000000012767740535017061 500000000000000gtk-sharp-2.12.40/msi/unmanaged/custom/share/icons/hicolor/0000775000175000017500000000000012767740535020520 500000000000000gtk-sharp-2.12.40/msi/unmanaged/custom/share/icons/hicolor/Makefile.in0000664000175000017500000003177512767740507022521 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = msi/unmanaged/custom/share/icons/hicolor ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = index.theme all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign msi/unmanaged/custom/share/icons/hicolor/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign msi/unmanaged/custom/share/icons/hicolor/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags-am uninstall uninstall-am .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/msi/unmanaged/custom/share/icons/hicolor/index.theme0000664000175000017500000005335312767740470022602 00000000000000[Icon Theme] Name=Hicolor Comment=Fallback icon theme Hidden=true Directories=16x16/actions,16x16/animations,16x16/apps,16x16/categories,16x16/devices,16x16/emblems,16x16/emotes,16x16/filesystems,16x16/intl,16x16/mimetypes,16x16/places,16x16/status,16x16/stock/chart,16x16/stock/code,16x16/stock/data,16x16/stock/form,16x16/stock/image,16x16/stock/io,16x16/stock/media,16x16/stock/navigation,16x16/stock/net,16x16/stock/object,16x16/stock/table,16x16/stock/text,22x22/actions,22x22/animations,22x22/apps,22x22/categories,22x22/devices,22x22/emblems,22x22/emotes,22x22/filesystems,22x22/intl,22x22/mimetypes,22x22/places,22x22/status,22x22/stock/chart,22x22/stock/code,22x22/stock/data,22x22/stock/form,22x22/stock/image,22x22/stock/io,22x22/stock/media,22x22/stock/navigation,22x22/stock/net,22x22/stock/object,22x22/stock/table,22x22/stock/text,24x24/actions,24x24/animations,24x24/apps,24x24/categories,24x24/devices,24x24/emblems,24x24/emotes,24x24/filesystems,24x24/intl,24x24/mimetypes,24x24/places,24x24/status,24x24/stock/chart,24x24/stock/code,24x24/stock/data,24x24/stock/form,24x24/stock/image,24x24/stock/io,24x24/stock/media,24x24/stock/navigation,24x24/stock/net,24x24/stock/object,24x24/stock/table,24x24/stock/text,32x32/actions,32x32/animations,32x32/apps,32x32/categories,32x32/devices,32x32/emblems,32x32/emotes,32x32/filesystems,32x32/intl,32x32/mimetypes,32x32/places,32x32/status,32x32/stock/chart,32x32/stock/code,32x32/stock/data,32x32/stock/form,32x32/stock/image,32x32/stock/io,32x32/stock/media,32x32/stock/navigation,32x32/stock/net,32x32/stock/object,32x32/stock/table,32x32/stock/text,36x36/actions,36x36/animations,36x36/apps,36x36/categories,36x36/devices,36x36/emblems,36x36/emotes,36x36/filesystems,36x36/intl,36x36/mimetypes,36x36/places,36x36/status,36x36/stock/chart,36x36/stock/code,36x36/stock/data,36x36/stock/form,36x36/stock/image,36x36/stock/io,36x36/stock/media,36x36/stock/navigation,36x36/stock/net,36x36/stock/object,36x36/stock/table,36x36/stock/text,48x48/actions,48x48/animations,48x48/apps,48x48/categories,48x48/devices,48x48/emblems,48x48/emotes,48x48/filesystems,48x48/intl,48x48/mimetypes,48x48/places,48x48/status,48x48/stock/chart,48x48/stock/code,48x48/stock/data,48x48/stock/form,48x48/stock/image,48x48/stock/io,48x48/stock/media,48x48/stock/navigation,48x48/stock/net,48x48/stock/object,48x48/stock/table,48x48/stock/text,64x64/actions,64x64/animations,64x64/apps,64x64/categories,64x64/devices,64x64/emblems,64x64/emotes,64x64/filesystems,64x64/intl,64x64/mimetypes,64x64/places,64x64/status,64x64/stock/chart,64x64/stock/code,64x64/stock/data,64x64/stock/form,64x64/stock/image,64x64/stock/io,64x64/stock/media,64x64/stock/navigation,64x64/stock/net,64x64/stock/object,64x64/stock/table,64x64/stock/text,72x72/actions,72x72/animations,72x72/apps,72x72/categories,72x72/devices,72x72/emblems,72x72/emotes,72x72/filesystems,72x72/intl,72x72/mimetypes,72x72/places,72x72/status,72x72/stock/chart,72x72/stock/code,72x72/stock/data,72x72/stock/form,72x72/stock/image,72x72/stock/io,72x72/stock/media,72x72/stock/navigation,72x72/stock/net,72x72/stock/object,72x72/stock/table,72x72/stock/text,96x96/actions,96x96/animations,96x96/apps,96x96/categories,96x96/devices,96x96/emblems,96x96/emotes,96x96/filesystems,96x96/intl,96x96/mimetypes,96x96/places,96x96/status,96x96/stock/chart,96x96/stock/code,96x96/stock/data,96x96/stock/form,96x96/stock/image,96x96/stock/io,96x96/stock/media,96x96/stock/navigation,96x96/stock/net,96x96/stock/object,96x96/stock/table,96x96/stock/text,128x128/actions,128x128/animations,128x128/apps,128x128/categories,128x128/devices,128x128/emblems,128x128/emotes,128x128/filesystems,128x128/intl,128x128/mimetypes,128x128/places,128x128/status,128x128/stock/chart,128x128/stock/code,128x128/stock/data,128x128/stock/form,128x128/stock/image,128x128/stock/io,128x128/stock/media,128x128/stock/navigation,128x128/stock/net,128x128/stock/object,128x128/stock/table,128x128/stock/text,192x192/actions,192x192/animations,192x192/apps,192x192/categories,192x192/devices,192x192/emblems,192x192/emotes,192x192/filesystems,192x192/intl,192x192/mimetypes,192x192/places,192x192/status,192x192/stock/chart,192x192/stock/code,192x192/stock/data,192x192/stock/form,192x192/stock/image,192x192/stock/io,192x192/stock/media,192x192/stock/navigation,192x192/stock/net,192x192/stock/object,192x192/stock/table,192x192/stock/text,scalable/actions,scalable/animations,scalable/apps,scalable/categories,scalable/devices,scalable/emblems,scalable/emotes,scalable/filesystems,scalable/intl,scalable/mimetypes,scalable/places,scalable/status,scalable/stock/chart,scalable/stock/code,scalable/stock/data,scalable/stock/form,scalable/stock/image,scalable/stock/io,scalable/stock/media,scalable/stock/navigation,scalable/stock/net,scalable/stock/object,scalable/stock/table,scalable/stock/text [16x16/actions] Size=16 Context=Actions Type=Threshold [16x16/animations] Size=16 Context=Animations Type=Threshold [16x16/apps] Size=16 Context=Applications Type=Threshold [16x16/categories] Size=16 Context=Categories Type=Threshold [16x16/devices] Size=16 Context=Devices Type=Threshold [16x16/emblems] Size=16 Context=Emblems Type=Threshold [16x16/emotes] Size=16 Context=Emotes Type=Threshold [16x16/filesystems] Size=16 Context=FileSystems Type=Threshold [16x16/intl] Size=16 Context=International Type=Threshold [16x16/mimetypes] Size=16 Context=MimeTypes Type=Threshold [16x16/places] Size=16 Context=Places Type=Threshold [16x16/status] Size=16 Context=Status Type=Threshold [16x16/stock/chart] Size=16 Context=Stock Type=Threshold [16x16/stock/code] Size=16 Context=Stock Type=Threshold [16x16/stock/data] Size=16 Context=Stock Type=Threshold [16x16/stock/form] Size=16 Context=Stock Type=Threshold [16x16/stock/image] Size=16 Context=Stock Type=Threshold [16x16/stock/io] Size=16 Context=Stock Type=Threshold [16x16/stock/media] Size=16 Context=Stock Type=Threshold [16x16/stock/navigation] Size=16 Context=Stock Type=Threshold [16x16/stock/net] Size=16 Context=Stock Type=Threshold [16x16/stock/object] Size=16 Context=Stock Type=Threshold [16x16/stock/table] Size=16 Context=Stock Type=Threshold [16x16/stock/text] Size=16 Context=Stock Type=Threshold [22x22/actions] Size=22 Context=Actions Type=Threshold [22x22/animations] Size=22 Context=Animations Type=Threshold [22x22/apps] Size=22 Context=Applications Type=Fixed [22x22/categories] Size=22 Context=Categories Type=Threshold [22x22/devices] Size=22 Context=Devices Type=Threshold [22x22/emblems] Size=22 Context=Emblems Type=Threshold [22x22/emotes] Size=22 Context=Emotes Type=Threshold [22x22/filesystems] Size=22 Context=FileSystems Type=Threshold [22x22/intl] Size=22 Context=International Type=Threshold [22x22/mimetypes] Size=22 Context=MimeTypes Type=Threshold [22x22/places] Size=22 Context=Places Type=Threshold [22x22/status] Size=22 Context=Status Type=Threshold [22x22/stock/chart] Size=22 Context=Stock Type=Threshold [22x22/stock/code] Size=22 Context=Stock Type=Threshold [22x22/stock/data] Size=22 Context=Stock Type=Threshold [22x22/stock/form] Size=22 Context=Stock Type=Threshold [22x22/stock/image] Size=22 Context=Stock Type=Threshold [22x22/stock/io] Size=22 Context=Stock Type=Threshold [22x22/stock/media] Size=22 Context=Stock Type=Threshold [22x22/stock/navigation] Size=22 Context=Stock Type=Threshold [22x22/stock/net] Size=22 Context=Stock Type=Threshold [22x22/stock/object] Size=22 Context=Stock Type=Threshold [22x22/stock/table] Size=22 Context=Stock Type=Threshold [22x22/stock/text] Size=22 Context=Stock Type=Threshold [24x24/actions] Size=24 Context=Actions Type=Threshold [24x24/animations] Size=24 Context=Animations Type=Threshold [24x24/apps] Size=24 Context=Applications Type=Threshold [24x24/categories] Size=24 Context=Categories Type=Threshold [24x24/devices] Size=24 Context=Devices Type=Threshold [24x24/emblems] Size=24 Context=Emblems Type=Threshold [24x24/emotes] Size=24 Context=Emotes Type=Threshold [24x24/filesystems] Size=24 Context=FileSystems Type=Threshold [24x24/intl] Size=24 Context=International Type=Threshold [24x24/mimetypes] Size=24 Context=MimeTypes Type=Threshold [24x24/places] Size=24 Context=Places Type=Threshold [24x24/status] Size=24 Context=Status Type=Threshold [24x24/stock/chart] Size=24 Context=Stock Type=Threshold [24x24/stock/code] Size=24 Context=Stock Type=Threshold [24x24/stock/data] Size=24 Context=Stock Type=Threshold [24x24/stock/form] Size=24 Context=Stock Type=Threshold [24x24/stock/image] Size=24 Context=Stock Type=Threshold [24x24/stock/io] Size=24 Context=Stock Type=Threshold [24x24/stock/media] Size=24 Context=Stock Type=Threshold [24x24/stock/navigation] Size=24 Context=Stock Type=Threshold [24x24/stock/net] Size=24 Context=Stock Type=Threshold [24x24/stock/object] Size=24 Context=Stock Type=Threshold [24x24/stock/table] Size=24 Context=Stock Type=Threshold [24x24/stock/text] Size=24 Context=Stock Type=Threshold [32x32/actions] Size=32 Context=Actions Type=Threshold [32x32/animations] Size=32 Context=Animations Type=Threshold [32x32/apps] Size=32 Context=Applications Type=Threshold [32x32/categories] Size=32 Context=Categories Type=Threshold [32x32/devices] Size=32 Context=Devices Type=Threshold [32x32/emblems] Size=32 Context=Emblems Type=Threshold [32x32/emotes] Size=32 Context=Emotes Type=Threshold [32x32/filesystems] Size=32 Context=FileSystems Type=Threshold [32x32/intl] Size=32 Context=International Type=Threshold [32x32/mimetypes] Size=32 Context=MimeTypes Type=Threshold [32x32/places] Size=32 Context=Places Type=Threshold [32x32/status] Size=32 Context=Status Type=Threshold [32x32/stock/chart] Size=32 Context=Stock Type=Threshold [32x32/stock/code] Size=32 Context=Stock Type=Threshold [32x32/stock/data] Size=32 Context=Stock Type=Threshold [32x32/stock/form] Size=32 Context=Stock Type=Threshold [32x32/stock/image] Size=32 Context=Stock Type=Threshold [32x32/stock/io] Size=32 Context=Stock Type=Threshold [32x32/stock/media] Size=32 Context=Stock Type=Threshold [32x32/stock/navigation] Size=32 Context=Stock Type=Threshold [32x32/stock/net] Size=32 Context=Stock Type=Threshold [32x32/stock/object] Size=32 Context=Stock Type=Threshold [32x32/stock/table] Size=32 Context=Stock Type=Threshold [32x32/stock/text] Size=32 Context=Stock Type=Threshold [36x36/actions] Size=36 Context=Actions Type=Threshold [36x36/animations] Size=36 Context=Animations Type=Threshold [36x36/apps] Size=36 Context=Applications Type=Threshold [36x36/categories] Size=36 Context=Categories Type=Threshold [36x36/devices] Size=36 Context=Devices Type=Threshold [36x36/emblems] Size=36 Context=Emblems Type=Threshold [36x36/emotes] Size=36 Context=Emotes Type=Threshold [36x36/filesystems] Size=36 Context=FileSystems Type=Threshold [36x36/intl] Size=36 Context=International Type=Threshold [36x36/mimetypes] Size=36 Context=MimeTypes Type=Threshold [36x36/places] Size=36 Context=Places Type=Threshold [36x36/status] Size=36 Context=Status Type=Threshold [36x36/stock/chart] Size=36 Context=Stock Type=Threshold [36x36/stock/code] Size=36 Context=Stock Type=Threshold [36x36/stock/data] Size=36 Context=Stock Type=Threshold [36x36/stock/form] Size=36 Context=Stock Type=Threshold [36x36/stock/image] Size=36 Context=Stock Type=Threshold [36x36/stock/io] Size=36 Context=Stock Type=Threshold [36x36/stock/media] Size=36 Context=Stock Type=Threshold [36x36/stock/navigation] Size=36 Context=Stock Type=Threshold [36x36/stock/net] Size=36 Context=Stock Type=Threshold [36x36/stock/object] Size=36 Context=Stock Type=Threshold [36x36/stock/table] Size=36 Context=Stock Type=Threshold [36x36/stock/text] Size=36 Context=Stock Type=Threshold [48x48/actions] Size=48 Context=Actions Type=Threshold [48x48/animations] Size=48 Context=Animations Type=Threshold [48x48/apps] Size=48 Context=Applications Type=Threshold [48x48/categories] Size=48 Context=Categories Type=Threshold [48x48/devices] Size=48 Context=Devices Type=Threshold [48x48/emblems] Size=48 Context=Emblems Type=Threshold [48x48/emotes] Size=48 Context=Emotes Type=Threshold [48x48/filesystems] Size=48 Context=FileSystems Type=Threshold [48x48/intl] Size=48 Context=International Type=Threshold [48x48/mimetypes] Size=48 Context=MimeTypes Type=Threshold [48x48/places] Size=48 Context=Places Type=Threshold [48x48/status] Size=48 Context=Status Type=Threshold [48x48/stock/chart] Size=48 Context=Stock Type=Threshold [48x48/stock/code] Size=48 Context=Stock Type=Threshold [48x48/stock/data] Size=48 Context=Stock Type=Threshold [48x48/stock/form] Size=48 Context=Stock Type=Threshold [48x48/stock/image] Size=48 Context=Stock Type=Threshold [48x48/stock/io] Size=48 Context=Stock Type=Threshold [48x48/stock/media] Size=48 Context=Stock Type=Threshold [48x48/stock/navigation] Size=48 Context=Stock Type=Threshold [48x48/stock/net] Size=48 Context=Stock Type=Threshold [48x48/stock/object] Size=48 Context=Stock Type=Threshold [48x48/stock/table] Size=48 Context=Stock Type=Threshold [48x48/stock/text] Size=48 Context=Stock Type=Threshold [64x64/actions] Size=64 Context=Actions Type=Threshold [64x64/animations] Size=64 Context=Animations Type=Threshold [64x64/apps] Size=64 Context=Applications Type=Threshold [64x64/categories] Size=64 Context=Categories Type=Threshold [64x64/devices] Size=64 Context=Devices Type=Threshold [64x64/emblems] Size=64 Context=Emblems Type=Threshold [64x64/emotes] Size=64 Context=Emotes Type=Threshold [64x64/filesystems] Size=64 Context=FileSystems Type=Threshold [64x64/intl] Size=64 Context=International Type=Threshold [64x64/mimetypes] Size=64 Context=MimeTypes Type=Threshold [64x64/places] Size=64 Context=Places Type=Threshold [64x64/status] Size=64 Context=Status Type=Threshold [64x64/stock/chart] Size=64 Context=Stock Type=Threshold [64x64/stock/code] Size=64 Context=Stock Type=Threshold [64x64/stock/data] Size=64 Context=Stock Type=Threshold [64x64/stock/form] Size=64 Context=Stock Type=Threshold [64x64/stock/image] Size=64 Context=Stock Type=Threshold [64x64/stock/io] Size=64 Context=Stock Type=Threshold [64x64/stock/media] Size=64 Context=Stock Type=Threshold [64x64/stock/navigation] Size=64 Context=Stock Type=Threshold [64x64/stock/net] Size=64 Context=Stock Type=Threshold [64x64/stock/object] Size=64 Context=Stock Type=Threshold [64x64/stock/table] Size=64 Context=Stock Type=Threshold [64x64/stock/text] Size=64 Context=Stock Type=Threshold [72x72/actions] Size=72 Context=Actions Type=Threshold [72x72/animations] Size=72 Context=Animations Type=Threshold [72x72/apps] Size=72 Context=Applications Type=Threshold [72x72/categories] Size=72 Context=Categories Type=Threshold [72x72/devices] Size=72 Context=Devices Type=Threshold [72x72/emblems] Size=72 Context=Emblems Type=Threshold [72x72/emotes] Size=72 Context=Emotes Type=Threshold [72x72/filesystems] Size=72 Context=FileSystems Type=Threshold [72x72/intl] Size=72 Context=International Type=Threshold [72x72/mimetypes] Size=72 Context=MimeTypes Type=Threshold [72x72/places] Size=72 Context=Places Type=Threshold [72x72/status] Size=72 Context=Status Type=Threshold [72x72/stock/chart] Size=72 Context=Stock Type=Threshold [72x72/stock/code] Size=72 Context=Stock Type=Threshold [72x72/stock/data] Size=72 Context=Stock Type=Threshold [72x72/stock/form] Size=72 Context=Stock Type=Threshold [72x72/stock/image] Size=72 Context=Stock Type=Threshold [72x72/stock/io] Size=72 Context=Stock Type=Threshold [72x72/stock/media] Size=72 Context=Stock Type=Threshold [72x72/stock/navigation] Size=72 Context=Stock Type=Threshold [72x72/stock/net] Size=72 Context=Stock Type=Threshold [72x72/stock/object] Size=72 Context=Stock Type=Threshold [72x72/stock/table] Size=72 Context=Stock Type=Threshold [72x72/stock/text] Size=72 Context=Stock Type=Threshold [96x96/actions] Size=96 Context=Actions Type=Threshold [96x96/animations] Size=96 Context=Animations Type=Threshold [96x96/apps] Size=96 Context=Applications Type=Threshold [96x96/categories] Size=96 Context=Categories Type=Threshold [96x96/devices] Size=96 Context=Devices Type=Threshold [96x96/emblems] Size=96 Context=Emblems Type=Threshold [96x96/emotes] Size=96 Context=Emotes Type=Threshold [96x96/filesystems] Size=96 Context=FileSystems Type=Threshold [96x96/intl] Size=96 Context=International Type=Threshold [96x96/mimetypes] Size=96 Context=MimeTypes Type=Threshold [96x96/places] Size=96 Context=Places Type=Threshold [96x96/status] Size=96 Context=Status Type=Threshold [96x96/stock/chart] Size=96 Context=Stock Type=Threshold [96x96/stock/code] Size=96 Context=Stock Type=Threshold [96x96/stock/data] Size=96 Context=Stock Type=Threshold [96x96/stock/form] Size=96 Context=Stock Type=Threshold [96x96/stock/image] Size=96 Context=Stock Type=Threshold [96x96/stock/io] Size=96 Context=Stock Type=Threshold [96x96/stock/media] Size=96 Context=Stock Type=Threshold [96x96/stock/navigation] Size=96 Context=Stock Type=Threshold [96x96/stock/net] Size=96 Context=Stock Type=Threshold [96x96/stock/object] Size=96 Context=Stock Type=Threshold [96x96/stock/table] Size=96 Context=Stock Type=Threshold [96x96/stock/text] Size=96 Context=Stock Type=Threshold [128x128/actions] Size=128 Context=Actions Type=Threshold [128x128/animations] Size=128 Context=Animations Type=Threshold [128x128/apps] Size=128 Context=Applications Type=Threshold [128x128/categories] Size=128 Context=Categories Type=Threshold [128x128/devices] Size=128 Context=Devices Type=Threshold [128x128/emblems] Size=128 Context=Emblems Type=Threshold [128x128/emotes] Size=128 Context=Emotes Type=Threshold [128x128/filesystems] Size=128 Context=FileSystems Type=Threshold [128x128/intl] Size=128 Context=International Type=Threshold [128x128/mimetypes] Size=128 Context=MimeTypes Type=Threshold [128x128/places] Size=128 Context=Places Type=Threshold [128x128/status] Size=128 Context=Status Type=Threshold [128x128/stock/chart] Size=128 Context=Stock Type=Threshold [128x128/stock/code] Size=128 Context=Stock Type=Threshold [128x128/stock/data] Size=128 Context=Stock Type=Threshold [128x128/stock/form] Size=128 Context=Stock Type=Threshold [128x128/stock/image] Size=128 Context=Stock Type=Threshold [128x128/stock/io] Size=128 Context=Stock Type=Threshold [128x128/stock/media] Size=128 Context=Stock Type=Threshold [128x128/stock/navigation] Size=128 Context=Stock Type=Threshold [128x128/stock/net] Size=128 Context=Stock Type=Threshold [128x128/stock/object] Size=128 Context=Stock Type=Threshold [128x128/stock/table] Size=128 Context=Stock Type=Threshold [128x128/stock/text] Size=128 Context=Stock Type=Threshold [192x192/actions] Size=192 Context=Actions Type=Threshold [192x192/animations] Size=192 Context=Animations Type=Threshold [192x192/apps] Size=192 Context=Applications Type=Threshold [192x192/categories] Size=192 Context=Categories Type=Threshold [192x192/devices] Size=192 Context=Devices Type=Threshold [192x192/emblems] Size=192 Context=Emblems Type=Threshold [192x192/emotes] Size=192 Context=Emotes Type=Threshold [192x192/filesystems] Size=192 Context=FileSystems Type=Threshold [192x192/intl] Size=192 Context=International Type=Threshold [192x192/mimetypes] Size=192 Context=MimeTypes Type=Threshold [192x192/places] Size=192 Context=Places Type=Threshold [192x192/status] Size=192 Context=Status Type=Threshold [192x192/stock/chart] Size=192 Context=Stock Type=Threshold [192x192/stock/code] Size=192 Context=Stock Type=Threshold [192x192/stock/data] Size=192 Context=Stock Type=Threshold [192x192/stock/form] Size=192 Context=Stock Type=Threshold [192x192/stock/image] Size=192 Context=Stock Type=Threshold [192x192/stock/io] Size=192 Context=Stock Type=Threshold [192x192/stock/media] Size=192 Context=Stock Type=Threshold [192x192/stock/navigation] Size=192 Context=Stock Type=Threshold [192x192/stock/net] Size=192 Context=Stock Type=Threshold [192x192/stock/object] Size=192 Context=Stock Type=Threshold [192x192/stock/table] Size=192 Context=Stock Type=Threshold [192x192/stock/text] Size=192 Context=Stock Type=Threshold [scalable/actions] MinSize=1 Size=128 MaxSize=256 Context=Actions Type=Scalable [scalable/animations] MinSize=1 Size=128 MaxSize=256 Context=Animations Type=Scalable [scalable/apps] MinSize=1 Size=128 MaxSize=256 Context=Applications Type=Scalable [scalable/categories] MinSize=1 Size=128 MaxSize=256 Context=Categories Type=Scalable [scalable/devices] MinSize=1 Size=128 MaxSize=256 Context=Devices Type=Scalable [scalable/emblems] MinSize=1 Size=128 MaxSize=256 Context=Emblems Type=Scalable [scalable/emotes] MinSize=1 Size=128 MaxSize=256 Context=Emotes Type=Scalable [scalable/filesystems] MinSize=1 Size=128 MaxSize=256 Context=FileSystems Type=Scalable [scalable/intl] MinSize=1 Size=128 MaxSize=256 Context=International Type=Scalable [scalable/mimetypes] MinSize=1 Size=128 MaxSize=256 Context=MimeTypes Type=Scalable [scalable/places] MinSize=1 Size=128 MaxSize=256 Context=Places Type=Scalable [scalable/status] MinSize=1 Size=128 MaxSize=256 Context=Status Type=Scalable [scalable/stock/chart] MinSize=1 Size=128 MaxSize=256 Context=Stock Type=Scalable [scalable/stock/code] MinSize=1 Size=128 MaxSize=256 Context=Stock Type=Scalable [scalable/stock/data] MinSize=1 Size=128 MaxSize=256 Context=Stock Type=Scalable [scalable/stock/form] MinSize=1 Size=128 MaxSize=256 Context=Stock Type=Scalable [scalable/stock/image] MinSize=1 Size=128 MaxSize=256 Context=Stock Type=Scalable [scalable/stock/io] MinSize=1 Size=128 MaxSize=256 Context=Stock Type=Scalable [scalable/stock/media] MinSize=1 Size=128 MaxSize=256 Context=Stock Type=Scalable [scalable/stock/navigation] MinSize=1 Size=128 MaxSize=256 Context=Stock Type=Scalable [scalable/stock/net] MinSize=1 Size=128 MaxSize=256 Context=Stock Type=Scalable [scalable/stock/object] MinSize=1 Size=128 MaxSize=256 Context=Stock Type=Scalable [scalable/stock/table] MinSize=1 Size=128 MaxSize=256 Context=Stock Type=Scalable [scalable/stock/text] MinSize=1 Size=128 MaxSize=256 Context=Stock Type=Scalable gtk-sharp-2.12.40/msi/unmanaged/custom/share/icons/hicolor/Makefile.am0000664000175000017500000000002712767740470022471 00000000000000EXTRA_DIST=index.theme gtk-sharp-2.12.40/msi/unmanaged/custom/share/icons/Makefile.in0000664000175000017500000004631312767740507021054 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = msi/unmanaged/custom/share/icons ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = hicolor all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign msi/unmanaged/custom/share/icons/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign msi/unmanaged/custom/share/icons/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am tags tags-am uninstall uninstall-am .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/msi/unmanaged/custom/share/icons/Makefile.am0000664000175000017500000000002012767740470021023 00000000000000SUBDIRS=hicolor gtk-sharp-2.12.40/msi/unmanaged/custom/share/Makefile.am0000664000175000017500000000001612767740470017715 00000000000000SUBDIRS=icons gtk-sharp-2.12.40/msi/unmanaged/custom/Makefile.am0000664000175000017500000000002412767740470016612 00000000000000SUBDIRS = etc share gtk-sharp-2.12.40/msi/unmanaged/Makefile.am0000664000175000017500000000144012767740470015303 00000000000000SUBDIRS = custom if ENABLE_MSI TARGET=unmanaged.msm else TARGET= endif noinst_DATA = $(TARGET) DOWNLOADS = downloads.win32 download-stamp: $(DOWNLOADS) rm -rf source mkdir -p source cd source && for i in `cat ../$(DOWNLOADS)`; do wget --no-check-certificate $$i; done && for j in `ls *.zip`; do unzip $$j; rm $$j; done touch download-stamp unmanaged.wixobj: unmanaged.wxs redirector.exe download-stamp candle unmanaged.wxs unmanaged.msm: unmanaged.wixobj light unmanaged.wixobj bundle-scanner.exe: bundle-scanner.cs $(CSC) bundle-scanner.cs redirector.exe: redirector.cs $(CSC) redirector.cs scan: download-stamp bundle-scanner.exe $(RUNTIME) bundle-scanner.exe --wix=unmanaged.wxs --bundle=source CLEANFILES=source EXTRA_DIST = redirector.cs unmanaged.wxs downloads.win32 ignores gtk-sharp-2.12.40/msi/unmanaged/downloads.win320000664000175000017500000000007112767740470016124 00000000000000http://files.xamarin.com/~duncan/gtk+-bundle-2-12-25.zip gtk-sharp-2.12.40/msi/Makefile.in0000664000175000017500000005160212767740506013362 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = msi ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = gtk-sharp-2.0.wxs CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac DATA = $(noinst_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/gtk-sharp-2.0.wxs.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = unmanaged . # Don't change this GUID, it's used in the Updater Service GTKSHARP_GUID = 600D9C0E-3B74-4C51-B7E6-29A47E9325E4 VERSION_X = $(word 1, $(subst ., ,$(VERSION))) VERSION_Y = $(word 2, $(subst ., ,$(VERSION))) VERSION_Z = $(word 3, $(subst ., ,$(VERSION))) UPDATEINFO = $(shell printf "%03d%03d%03d" $(VERSION_X) $(VERSION_Y) $(VERSION_Z)) assembly_dirs = glib pango atk gdk gtk glade gtkdotnet cairo @ENABLE_MSI_FALSE@TARGET = @ENABLE_MSI_TRUE@TARGET = gtk-sharp-2.0.msi noinst_DATA = $(TARGET) EXTRA_DIST = license.rtf all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign msi/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign msi/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): gtk-sharp-2.0.wxs: $(top_builddir)/config.status $(srcdir)/gtk-sharp-2.0.wxs.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(DATA) installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am tags tags-am uninstall uninstall-am .PRECIOUS: Makefile gtk-sharp-2.0.msi: gtk-sharp-2.0.wxs mkdir -p binaries rm -rf binaries/* cp $(top_builddir)/generator/gapi_codegen.exe binaries cp $(top_builddir)/*/glue/.libs/*.dll binaries for a in $(assembly_dirs); do \ mkdir -p binaries/$$a; \ cp $(top_builddir)/$$a/*.dll binaries/$$a; \ cp $(top_builddir)/$$a/*.pdb binaries/$$a; \ cp $(top_builddir)/$$a/policy.*.config binaries/$$a; \ done mv binaries/libatksharpglue-2.dll binaries/atksharpglue-2.dll mv binaries/libgdksharpglue-2.dll binaries/gdksharpglue-2.dll mv binaries/libgladesharpglue-2.dll binaries/gladesharpglue-2.dll mv binaries/libglibsharpglue-2.dll binaries/glibsharpglue-2.dll mv binaries/libgtksharpglue-2.dll binaries/gtksharpglue-2.dll mv binaries/libpangosharpglue-2.dll binaries/pangosharpglue-2.dll echo $(GTKSHARP_GUID) $(UPDATEINFO) > updateinfo cp $(top_builddir)/sample/GtkDemo/GtkDemo.exe binaries candle -ext WixUIExtension gtk-sharp-2.0.wxs light -cultures:en-us -ext WixUIExtension -ext WixNetFxExtension -out gtk-sharp-$(VERSION).msi gtk-sharp-2.0.wixobj # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/msi/license.rtf0000664000175000017500000007100112767740470013447 00000000000000{\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0 Courier New;}} {\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\lang1033\f0\fs20\tab\tab GNU LESSER GENERAL PUBLIC LICENSE\par \tab\tab Version 2.1, February 1999\par \par Copyright (C) 1991, 1999 Free Software Foundation, Inc.\par 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\par Everyone is permitted to copy and distribute verbatim copies\par of this license document, but changing it is not allowed.\par \par [This is the first released version of the Lesser GPL. It also counts\par as the successor of the GNU Library Public License, version 2, hence\par the version number 2.1.]\par \par \tab\tab\tab Preamble\par \par The licenses for most software are designed to take away your\par freedom to share and change it. By contrast, the GNU General Public\par Licenses are intended to guarantee your freedom to share and change\par free software--to make sure the software is free for all its users.\par \par This license, the Lesser General Public License, applies to some\par specially designated software packages--typically libraries--of the\par Free Software Foundation and other authors who decide to use it. You\par can use it too, but we suggest you first think carefully about whether\par this license or the ordinary General Public License is the better\par strategy to use in any particular case, based on the explanations below.\par \par When we speak of free software, we are referring to freedom of use,\par not price. Our General Public Licenses are designed to make sure that\par you have the freedom to distribute copies of free software (and charge\par for this service if you wish); that you receive source code or can get\par it if you want it; that you can change the software and use pieces of\par it in new free programs; and that you are informed that you can do\par these things.\par \par To protect your rights, we need to make restrictions that forbid\par distributors to deny you these rights or to ask you to surrender these\par rights. These restrictions translate to certain responsibilities for\par you if you distribute copies of the library or if you modify it.\par \par For example, if you distribute copies of the library, whether gratis\par or for a fee, you must give the recipients all the rights that we gave\par you. You must make sure that they, too, receive or can get the source\par code. If you link other code with the library, you must provide\par complete object files to the recipients, so that they can relink them\par with the library after making changes to the library and recompiling\par it. And you must show them these terms so they know their rights.\par \par We protect your rights with a two-step method: (1) we copyright the\par library, and (2) we offer you this license, which gives you legal\par permission to copy, distribute and/or modify the library.\par \par To protect each distributor, we want to make it very clear that\par there is no warranty for the free library. Also, if the library is\par modified by someone else and passed on, the recipients should know\par that what they have is not the original version, so that the original\par author's reputation will not be affected by problems that might be\par introduced by others.\par \page\par Finally, software patents pose a constant threat to the existence of\par any free program. We wish to make sure that a company cannot\par effectively restrict the users of a free program by obtaining a\par restrictive license from a patent holder. Therefore, we insist that\par any patent license obtained for a version of the library must be\par consistent with the full freedom of use specified in this license.\par \par Most GNU software, including some libraries, is covered by the\par ordinary GNU General Public License. This license, the GNU Lesser\par General Public License, applies to certain designated libraries, and\par is quite different from the ordinary General Public License. We use\par this license for certain libraries in order to permit linking those\par libraries into non-free programs.\par \par When a program is linked with a library, whether statically or using\par a shared library, the combination of the two is legally speaking a\par combined work, a derivative of the original library. The ordinary\par General Public License therefore permits such linking only if the\par entire combination fits its criteria of freedom. The Lesser General\par Public License permits more lax criteria for linking other code with\par the library.\par \par We call this license the "Lesser" General Public License because it\par does Less to protect the user's freedom than the ordinary General\par Public License. It also provides other free software developers Less\par of an advantage over competing non-free programs. These disadvantages\par are the reason we use the ordinary General Public License for many\par libraries. However, the Lesser license provides advantages in certain\par special circumstances.\par \par For example, on rare occasions, there may be a special need to\par encourage the widest possible use of a certain library, so that it becomes\par a de-facto standard. To achieve this, non-free programs must be\par allowed to use the library. A more frequent case is that a free\par library does the same job as widely used non-free libraries. In this\par case, there is little to gain by limiting the free library to free\par software only, so we use the Lesser General Public License.\par \par In other cases, permission to use a particular library in non-free\par programs enables a greater number of people to use a large body of\par free software. For example, permission to use the GNU C Library in\par non-free programs enables many more people to use the whole GNU\par operating system, as well as its variant, the GNU/Linux operating\par system.\par \par Although the Lesser General Public License is Less protective of the\par users' freedom, it does ensure that the user of a program that is\par linked with the Library has the freedom and the wherewithal to run\par that program using a modified version of the Library.\par \par The precise terms and conditions for copying, distribution and\par modification follow. Pay close attention to the difference between a\par "work based on the library" and a "work that uses the library". The\par former contains code derived from the library, whereas the latter must\par be combined with the library in order to run.\par \page\par \tab\tab GNU LESSER GENERAL PUBLIC LICENSE\par TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\par \par 0. This License Agreement applies to any software library or other\par program which contains a notice placed by the copyright holder or\par other authorized party saying it may be distributed under the terms of\par this Lesser General Public License (also called "this License").\par Each licensee is addressed as "you".\par \par A "library" means a collection of software functions and/or data\par prepared so as to be conveniently linked with application programs\par (which use some of those functions and data) to form executables.\par \par The "Library", below, refers to any such software library or work\par which has been distributed under these terms. A "work based on the\par Library" means either the Library or any derivative work under\par copyright law: that is to say, a work containing the Library or a\par portion of it, either verbatim or with modifications and/or translated\par straightforwardly into another language. (Hereinafter, translation is\par included without limitation in the term "modification".)\par \par "Source code" for a work means the preferred form of the work for\par making modifications to it. For a library, complete source code means\par all the source code for all modules it contains, plus any associated\par interface definition files, plus the scripts used to control compilation\par and installation of the library.\par \par Activities other than copying, distribution and modification are not\par covered by this License; they are outside its scope. The act of\par running a program using the Library is not restricted, and output from\par such a program is covered only if its contents constitute a work based\par on the Library (independent of the use of the Library in a tool for\par writing it). Whether that is true depends on what the Library does\par and what the program that uses the Library does.\par \par 1. You may copy and distribute verbatim copies of the Library's\par complete source code as you receive it, in any medium, provided that\par you conspicuously and appropriately publish on each copy an\par appropriate copyright notice and disclaimer of warranty; keep intact\par all the notices that refer to this License and to the absence of any\par warranty; and distribute a copy of this License along with the\par Library.\par \par You may charge a fee for the physical act of transferring a copy,\par and you may at your option offer warranty protection in exchange for a\par fee.\par \page\par 2. You may modify your copy or copies of the Library or any portion\par of it, thus forming a work based on the Library, and copy and\par distribute such modifications or work under the terms of Section 1\par above, provided that you also meet all of these conditions:\par \par a) The modified work must itself be a software library.\par \par b) You must cause the files modified to carry prominent notices\par stating that you changed the files and the date of any change.\par \par c) You must cause the whole of the work to be licensed at no\par charge to all third parties under the terms of this License.\par \par d) If a facility in the modified Library refers to a function or a\par table of data to be supplied by an application program that uses\par the facility, other than as an argument passed when the facility\par is invoked, then you must make a good faith effort to ensure that,\par in the event an application does not supply such function or\par table, the facility still operates, and performs whatever part of\par its purpose remains meaningful.\par \par (For example, a function in a library to compute square roots has\par a purpose that is entirely well-defined independent of the\par application. Therefore, Subsection 2d requires that any\par application-supplied function or table used by this function must\par be optional: if the application does not supply it, the square\par root function must still compute square roots.)\par \par These requirements apply to the modified work as a whole. If\par identifiable sections of that work are not derived from the Library,\par and can be reasonably considered independent and separate works in\par themselves, then this License, and its terms, do not apply to those\par sections when you distribute them as separate works. But when you\par distribute the same sections as part of a whole which is a work based\par on the Library, the distribution of the whole must be on the terms of\par this License, whose permissions for other licensees extend to the\par entire whole, and thus to each and every part regardless of who wrote\par it.\par \par Thus, it is not the intent of this section to claim rights or contest\par your rights to work written entirely by you; rather, the intent is to\par exercise the right to control the distribution of derivative or\par collective works based on the Library.\par \par In addition, mere aggregation of another work not based on the Library\par with the Library (or with a work based on the Library) on a volume of\par a storage or distribution medium does not bring the other work under\par the scope of this License.\par \par 3. You may opt to apply the terms of the ordinary GNU General Public\par License instead of this License to a given copy of the Library. To do\par this, you must alter all the notices that refer to this License, so\par that they refer to the ordinary GNU General Public License, version 2,\par instead of to this License. (If a newer version than version 2 of the\par ordinary GNU General Public License has appeared, then you can specify\par that version instead if you wish.) Do not make any other change in\par these notices.\par \page\par Once this change is made in a given copy, it is irreversible for\par that copy, so the ordinary GNU General Public License applies to all\par subsequent copies and derivative works made from that copy.\par \par This option is useful when you wish to copy part of the code of\par the Library into a program that is not a library.\par \par 4. You may copy and distribute the Library (or a portion or\par derivative of it, under Section 2) in object code or executable form\par under the terms of Sections 1 and 2 above provided that you accompany\par it with the complete corresponding machine-readable source code, which\par must be distributed under the terms of Sections 1 and 2 above on a\par medium customarily used for software interchange.\par \par If distribution of object code is made by offering access to copy\par from a designated place, then offering equivalent access to copy the\par source code from the same place satisfies the requirement to\par distribute the source code, even though third parties are not\par compelled to copy the source along with the object code.\par \par 5. A program that contains no derivative of any portion of the\par Library, but is designed to work with the Library by being compiled or\par linked with it, is called a "work that uses the Library". Such a\par work, in isolation, is not a derivative work of the Library, and\par therefore falls outside the scope of this License.\par \par However, linking a "work that uses the Library" with the Library\par creates an executable that is a derivative of the Library (because it\par contains portions of the Library), rather than a "work that uses the\par library". The executable is therefore covered by this License.\par Section 6 states terms for distribution of such executables.\par \par When a "work that uses the Library" uses material from a header file\par that is part of the Library, the object code for the work may be a\par derivative work of the Library even though the source code is not.\par Whether this is true is especially significant if the work can be\par linked without the Library, or if the work is itself a library. The\par threshold for this to be true is not precisely defined by law.\par \par If such an object file uses only numerical parameters, data\par structure layouts and accessors, and small macros and small inline\par functions (ten lines or less in length), then the use of the object\par file is unrestricted, regardless of whether it is legally a derivative\par work. (Executables containing this object code plus portions of the\par Library will still fall under Section 6.)\par \par Otherwise, if the work is a derivative of the Library, you may\par distribute the object code for the work under the terms of Section 6.\par Any executables containing that work also fall under Section 6,\par whether or not they are linked directly with the Library itself.\par \page\par 6. As an exception to the Sections above, you may also combine or\par link a "work that uses the Library" with the Library to produce a\par work containing portions of the Library, and distribute that work\par under terms of your choice, provided that the terms permit\par modification of the work for the customer's own use and reverse\par engineering for debugging such modifications.\par \par You must give prominent notice with each copy of the work that the\par Library is used in it and that the Library and its use are covered by\par this License. You must supply a copy of this License. If the work\par during execution displays copyright notices, you must include the\par copyright notice for the Library among them, as well as a reference\par directing the user to the copy of this License. Also, you must do one\par of these things:\par \par a) Accompany the work with the complete corresponding\par machine-readable source code for the Library including whatever\par changes were used in the work (which must be distributed under\par Sections 1 and 2 above); and, if the work is an executable linked\par with the Library, with the complete machine-readable "work that\par uses the Library", as object code and/or source code, so that the\par user can modify the Library and then relink to produce a modified\par executable containing the modified Library. (It is understood\par that the user who changes the contents of definitions files in the\par Library will not necessarily be able to recompile the application\par to use the modified definitions.)\par \par b) Use a suitable shared library mechanism for linking with the\par Library. A suitable mechanism is one that (1) uses at run time a\par copy of the library already present on the user's computer system,\par rather than copying library functions into the executable, and (2)\par will operate properly with a modified version of the library, if\par the user installs one, as long as the modified version is\par interface-compatible with the version that the work was made with.\par \par c) Accompany the work with a written offer, valid for at\par least three years, to give the same user the materials\par specified in Subsection 6a, above, for a charge no more\par than the cost of performing this distribution.\par \par d) If distribution of the work is made by offering access to copy\par from a designated place, offer equivalent access to copy the above\par specified materials from the same place.\par \par e) Verify that the user has already received a copy of these\par materials or that you have already sent this user a copy.\par \par For an executable, the required form of the "work that uses the\par Library" must include any data and utility programs needed for\par reproducing the executable from it. However, as a special exception,\par the materials to be distributed need not include anything that is\par normally distributed (in either source or binary form) with the major\par components (compiler, kernel, and so on) of the operating system on\par which the executable runs, unless that component itself accompanies\par the executable.\par \par It may happen that this requirement contradicts the license\par restrictions of other proprietary libraries that do not normally\par accompany the operating system. Such a contradiction means you cannot\par use both them and the Library together in an executable that you\par distribute.\par \page\par 7. You may place library facilities that are a work based on the\par Library side-by-side in a single library together with other library\par facilities not covered by this License, and distribute such a combined\par library, provided that the separate distribution of the work based on\par the Library and of the other library facilities is otherwise\par permitted, and provided that you do these two things:\par \par a) Accompany the combined library with a copy of the same work\par based on the Library, uncombined with any other library\par facilities. This must be distributed under the terms of the\par Sections above.\par \par b) Give prominent notice with the combined library of the fact\par that part of it is a work based on the Library, and explaining\par where to find the accompanying uncombined form of the same work.\par \par 8. You may not copy, modify, sublicense, link with, or distribute\par the Library except as expressly provided under this License. Any\par attempt otherwise to copy, modify, sublicense, link with, or\par distribute the Library is void, and will automatically terminate your\par rights under this License. However, parties who have received copies,\par or rights, from you under this License will not have their licenses\par terminated so long as such parties remain in full compliance.\par \par 9. You are not required to accept this License, since you have not\par signed it. However, nothing else grants you permission to modify or\par distribute the Library or its derivative works. These actions are\par prohibited by law if you do not accept this License. Therefore, by\par modifying or distributing the Library (or any work based on the\par Library), you indicate your acceptance of this License to do so, and\par all its terms and conditions for copying, distributing or modifying\par the Library or works based on it.\par \par 10. Each time you redistribute the Library (or any work based on the\par Library), the recipient automatically receives a license from the\par original licensor to copy, distribute, link with or modify the Library\par subject to these terms and conditions. You may not impose any further\par restrictions on the recipients' exercise of the rights granted herein.\par You are not responsible for enforcing compliance by third parties with\par this License.\par \page\par 11. If, as a consequence of a court judgment or allegation of patent\par infringement or for any other reason (not limited to patent issues),\par conditions are imposed on you (whether by court order, agreement or\par otherwise) that contradict the conditions of this License, they do not\par excuse you from the conditions of this License. If you cannot\par distribute so as to satisfy simultaneously your obligations under this\par License and any other pertinent obligations, then as a consequence you\par may not distribute the Library at all. For example, if a patent\par license would not permit royalty-free redistribution of the Library by\par all those who receive copies directly or indirectly through you, then\par the only way you could satisfy both it and this License would be to\par refrain entirely from distribution of the Library.\par \par If any portion of this section is held invalid or unenforceable under any\par particular circumstance, the balance of the section is intended to apply,\par and the section as a whole is intended to apply in other circumstances.\par \par It is not the purpose of this section to induce you to infringe any\par patents or other property right claims or to contest validity of any\par such claims; this section has the sole purpose of protecting the\par integrity of the free software distribution system which is\par implemented by public license practices. Many people have made\par generous contributions to the wide range of software distributed\par through that system in reliance on consistent application of that\par system; it is up to the author/donor to decide if he or she is willing\par to distribute software through any other system and a licensee cannot\par impose that choice.\par \par This section is intended to make thoroughly clear what is believed to\par be a consequence of the rest of this License.\par \par 12. If the distribution and/or use of the Library is restricted in\par certain countries either by patents or by copyrighted interfaces, the\par original copyright holder who places the Library under this License may add\par an explicit geographical distribution limitation excluding those countries,\par so that distribution is permitted only in or among countries not thus\par excluded. In such case, this License incorporates the limitation as if\par written in the body of this License.\par \par 13. The Free Software Foundation may publish revised and/or new\par versions of the Lesser General Public License from time to time.\par Such new versions will be similar in spirit to the present version,\par but may differ in detail to address new problems or concerns.\par \par Each version is given a distinguishing version number. If the Library\par specifies a version number of this License which applies to it and\par "any later version", you have the option of following the terms and\par conditions either of that version or of any later version published by\par the Free Software Foundation. If the Library does not specify a\par license version number, you may choose any version ever published by\par the Free Software Foundation.\par \page\par 14. If you wish to incorporate parts of the Library into other free\par programs whose distribution conditions are incompatible with these,\par write to the author to ask for permission. For software which is\par copyrighted by the Free Software Foundation, write to the Free\par Software Foundation; we sometimes make exceptions for this. Our\par decision will be guided by the two goals of preserving the free status\par of all derivatives of our free software and of promoting the sharing\par and reuse of software generally.\par \par \tab\tab\tab NO WARRANTY\par \par 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\par WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\par EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\par OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY\par KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\par IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\par PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\par LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\par THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\par \par 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\par WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\par AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\par FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\par CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\par LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\par RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\par FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\par SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\par DAMAGES.\par \par \tab\tab END OF TERMS AND CONDITIONS\par \page\par How to Apply These Terms to Your New Libraries\par \par If you develop a new library, and you want it to be of the greatest\par possible use to the public, we recommend making it free software that\par everyone can redistribute and change. You can do so by permitting\par redistribution under these terms (or, alternatively, under the terms of the\par ordinary General Public License).\par \par To apply these terms, attach the following notices to the library. It is\par safest to attach them to the start of each source file to most effectively\par convey the exclusion of warranty; and each file should have at least the\par "copyright" line and a pointer to where the full notice is found.\par \par \par Copyright (C) \par \par This library is free software; you can redistribute it and/or\par modify it under the terms of the GNU Lesser General Public\par License as published by the Free Software Foundation; either\par version 2.1 of the License, or (at your option) any later version.\par \par This library is distributed in the hope that it will be useful,\par but WITHOUT ANY WARRANTY; without even the implied warranty of\par MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\par Lesser General Public License for more details.\par \par You should have received a copy of the GNU Lesser General Public\par License along with this library; if not, write to the Free Software\par Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\par \par Also add information on how to contact you by electronic and paper mail.\par \par You should also get your employer (if you work as a programmer) or your\par school, if any, to sign a "copyright disclaimer" for the library, if\par necessary. Here is a sample; alter the names:\par \par Yoyodyne, Inc., hereby disclaims all copyright interest in the\par library `Frob' (a library for tweaking knobs) written by James Random Hacker.\par \par , 1 April 1990\par Ty Coon, President of Vice\par \par That's all there is to it!\par \par \par \par } gtk-sharp-2.12.40/msi/gtk-sharp-2.0.wxs.in0000775000175000017500000007345412767740470014676 00000000000000 1 "1"]]> 1 1 Installed AND PATCH 1 1 NOT WIXUI_DONTVALIDATEPATH "1"]]> WIXUI_DONTVALIDATEPATH OR WIXUI_INSTALLDIR_VALID="1" 1 1 NOT Installed Installed AND NOT PATCH Installed AND PATCH 1 1 1 1 gtk-sharp-2.12.40/msi/Makefile.am0000775000175000017500000000305612767740470013354 00000000000000SUBDIRS = unmanaged . # Don't change this GUID, it's used in the Updater Service GTKSHARP_GUID=600D9C0E-3B74-4C51-B7E6-29A47E9325E4 VERSION_X=$(word 1, $(subst ., ,$(VERSION))) VERSION_Y=$(word 2, $(subst ., ,$(VERSION))) VERSION_Z=$(word 3, $(subst ., ,$(VERSION))) UPDATEINFO=$(shell printf "%03d%03d%03d" $(VERSION_X) $(VERSION_Y) $(VERSION_Z)) assembly_dirs = glib pango atk gdk gtk glade gtkdotnet cairo if ENABLE_MSI TARGET=gtk-sharp-2.0.msi else TARGET= endif noinst_DATA = $(TARGET) gtk-sharp-2.0.msi: gtk-sharp-2.0.wxs mkdir -p binaries rm -rf binaries/* cp $(top_builddir)/generator/gapi_codegen.exe binaries cp $(top_builddir)/*/glue/.libs/*.dll binaries for a in $(assembly_dirs); do \ mkdir -p binaries/$$a; \ cp $(top_builddir)/$$a/*.dll binaries/$$a; \ cp $(top_builddir)/$$a/*.pdb binaries/$$a; \ cp $(top_builddir)/$$a/policy.*.config binaries/$$a; \ done mv binaries/libatksharpglue-2.dll binaries/atksharpglue-2.dll mv binaries/libgdksharpglue-2.dll binaries/gdksharpglue-2.dll mv binaries/libgladesharpglue-2.dll binaries/gladesharpglue-2.dll mv binaries/libglibsharpglue-2.dll binaries/glibsharpglue-2.dll mv binaries/libgtksharpglue-2.dll binaries/gtksharpglue-2.dll mv binaries/libpangosharpglue-2.dll binaries/pangosharpglue-2.dll echo $(GTKSHARP_GUID) $(UPDATEINFO) > updateinfo cp $(top_builddir)/sample/GtkDemo/GtkDemo.exe binaries candle -ext WixUIExtension gtk-sharp-2.0.wxs light -cultures:en-us -ext WixUIExtension -ext WixNetFxExtension -out gtk-sharp-$(VERSION).msi gtk-sharp-2.0.wixobj EXTRA_DIST = license.rtf gtk-sharp-2.12.40/Makefile.am0000664000175000017500000000046112767740470012556 00000000000000SUBDIRS = sources generator parser glib cairo pango atk gdk gtk glade gtkdotnet sample doc msi EXTRA_DIST = \ mono.snk \ gtk-sharp.snk \ policy.config.in \ AssemblyInfo.cs.in \ ChangeLog \ HACKING \ README \ README.generator configure.in: bootstrap.status configure.in.in $(SHELL) $< gtk-sharp-2.12.40/config.guess0000755000175000017500000012475312612517377013050 00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright 1992-2015 Free Software Foundation, Inc. timestamp='2015-08-20' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that # program. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # # Originally written by Per Bothner; maintained since 2000 by Ben Elliston. # # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD # # Please send patches to . me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright 1992-2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi trap 'exit 1' 1 2 15 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown case "${UNAME_SYSTEM}" in Linux|GNU|GNU/*) # If the system lacks a compiler, then just pick glibc. # We could probably try harder. LIBC=gnu eval $set_cc_for_build cat <<-EOF > $dummy.c #include #if defined(__UCLIBC__) LIBC=uclibc #elif defined(__dietlibc__) LIBC=dietlibc #else LIBC=gnu #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` ;; esac # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \ /sbin/$sysctl 2>/dev/null || \ /usr/sbin/$sysctl 2>/dev/null || \ echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; earmv*) arch=`echo ${UNAME_MACHINE_ARCH} | sed -e 's,^e\(armv[0-9]\).*$,\1,'` endian=`echo ${UNAME_MACHINE_ARCH} | sed -ne 's,^.*\(eb\)$,\1,p'` machine=${arch}${endian}-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in arm*|earm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ELF__ then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # Determine ABI tags. case "${UNAME_MACHINE_ARCH}" in earm*) expr='s/^earmv[0-9]/-eabi/;s/eb$//' abi=`echo ${UNAME_MACHINE_ARCH} | sed -e "$expr"` ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "${UNAME_VERSION}" in Debian*) release='-gnu' ;; *) release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}${abi}" exit ;; *:Bitrig:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; *:SolidBSD:*:*) echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} exit ;; macppc:MirBSD:*:*) echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit ;; *:Sortix:*:*) echo ${UNAME_MACHINE}-unknown-sortix exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE="alpha" ;; "EV4.5 (21064)") UNAME_MACHINE="alpha" ;; "LCA4 (21066/21068)") UNAME_MACHINE="alpha" ;; "EV5 (21164)") UNAME_MACHINE="alphaev5" ;; "EV5.6 (21164A)") UNAME_MACHINE="alphaev56" ;; "EV5.6 (21164PC)") UNAME_MACHINE="alphapca56" ;; "EV5.7 (21164PC)") UNAME_MACHINE="alphapca57" ;; "EV6 (21264)") UNAME_MACHINE="alphaev6" ;; "EV6.7 (21264A)") UNAME_MACHINE="alphaev67" ;; "EV6.8CB (21264C)") UNAME_MACHINE="alphaev68" ;; "EV6.8AL (21264B)") UNAME_MACHINE="alphaev68" ;; "EV6.8CX (21264D)") UNAME_MACHINE="alphaev68" ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE="alphaev69" ;; "EV7 (21364)") UNAME_MACHINE="alphaev7" ;; "EV7.9 (21364A)") UNAME_MACHINE="alphaev79" ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` # Reset EXIT trap before exiting to avoid spurious non-zero exit code. exitcode=$? trap '' 0 exit $exitcode ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix exit ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit ;; *:OS/390:*:*) echo i370-ibm-openedition exit ;; *:z/VM:*:*) echo s390-ibm-zvmoe exit ;; *:OS400:*:*) echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; arm*:riscos:*:*|arm*:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; s390x:SunOS:*:*) echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) echo i386-pc-auroraux${UNAME_RELEASE} exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) eval $set_cc_for_build SUN_ARCH="i386" # If there is a compiler, see if it is configured for 64-bit objects. # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. # This test works for both compilers. if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then SUN_ARCH="x86_64" fi fi echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos${UNAME_RELEASE} ;; sun4) echo sparc-sun-sunos${UNAME_RELEASE} ;; esac exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`$dummy $dummyarg` && { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos${UNAME_RELEASE} exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ [ ${TARGET_BINARY_INTERFACE}x = x ] then echo m88k-dg-dgux${UNAME_RELEASE} else echo m88k-dg-dguxbcs${UNAME_RELEASE} fi else echo i586-dg-dgux${UNAME_RELEASE} fi exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` then echo "$SYSTEM_NAME" else echo rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit ;; *:AIX:*:[4567]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/lslpp ] ; then IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | awk -F: '{ print $3 }' | sed s/[0-9]*$/0/` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit ;; *:AIX:*:*) echo rs6000-ibm-aix exit ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in 32) HP_ARCH="hppa2.0n" ;; 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 esac ;; esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ ${HP_ARCH} = "hppa2.0w" ] then eval $set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | grep -q __LP64__ then HP_ARCH="hppa2.0w" else HP_ARCH="hppa64" fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit ;; 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) UNAME_PROCESSOR=`/usr/bin/uname -p` case ${UNAME_PROCESSOR} in amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; *:MINGW64*:*) echo ${UNAME_MACHINE}-pc-mingw64 exit ;; *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; *:MSYS*:*) echo ${UNAME_MACHINE}-pc-msys exit ;; i*:windows32*:*) # uname -m includes "-pc" on this system. echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; *:Interix*:*) case ${UNAME_MACHINE} in x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; authenticamd | genuineintel | EM64T) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; IA64) echo ia64-unknown-interix${UNAME_RELEASE} exit ;; esac ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; 8664:Windows_NT:*) echo x86_64-pc-mks exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? echo i586-pc-interix exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; *:GNU:*:*) # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; aarch64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; aarch64_be:Linux:*:*) UNAME_MACHINE=aarch64_be echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep -q ld.so.1 if test "$?" = 0 ; then LIBC="gnulibc1" ; fi echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; arc:Linux:*:* | arceb:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; arm*:Linux:*:*) eval $set_cc_for_build if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then echo ${UNAME_MACHINE}-unknown-linux-${LIBC} else if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_PCS_VFP then echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi else echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf fi fi exit ;; avr32*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; cris:Linux:*:*) echo ${UNAME_MACHINE}-axis-linux-${LIBC} exit ;; crisv32:Linux:*:*) echo ${UNAME_MACHINE}-axis-linux-${LIBC} exit ;; e2k:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; frv:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; hexagon:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; i*86:Linux:*:*) echo ${UNAME_MACHINE}-pc-linux-${LIBC} exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; mips:Linux:*:* | mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef ${UNAME_MACHINE} #undef ${UNAME_MACHINE}el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=${UNAME_MACHINE}el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=${UNAME_MACHINE} #else CPU= #endif #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } ;; openrisc*:Linux:*:*) echo or1k-unknown-linux-${LIBC} exit ;; or32:Linux:*:* | or1k*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; padre:Linux:*:*) echo sparc-unknown-linux-${LIBC} exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-${LIBC} exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; *) echo hppa-unknown-linux-${LIBC} ;; esac exit ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-${LIBC} exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-${LIBC} exit ;; ppc64le:Linux:*:*) echo powerpc64le-unknown-linux-${LIBC} exit ;; ppcle:Linux:*:*) echo powerpcle-unknown-linux-${LIBC} exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux-${LIBC} exit ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; tile*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-${LIBC} exit ;; x86_64:Linux:*:*) echo ${UNAME_MACHINE}-pc-linux-${LIBC} exit ;; xtensa*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo ${UNAME_MACHINE}-pc-os2-emx exit ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit ;; i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i586. # Note: whatever this is, it MUST be the same as what config.sub # prints for the "djgpp" host, or else GDB configury will decide that # this is a cross-build. echo i586-pc-msdosdjgpp exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; paragon:*:*:*) echo i860-intel-osf1 exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; NCR*:*:4.2:* | MPRAS*:*:4.2:*) OS_REL='.3' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` echo ${UNAME_MACHINE}-sni-sysv4 else echo ns32k-sni-sysv fi exit ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. echo ${UNAME_MACHINE}-stratus-vos exit ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv${UNAME_RELEASE} else echo mips-unknown-sysv${UNAME_RELEASE} fi exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; BePC:Haiku:*:*) # Haiku running on Intel PC compatible. echo i586-pc-haiku exit ;; x86_64:Haiku:*:*) echo x86_64-unknown-haiku exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit ;; SX-7:SUPER-UX:*:*) echo sx7-nec-superux${UNAME_RELEASE} exit ;; SX-8:SUPER-UX:*:*) echo sx8-nec-superux${UNAME_RELEASE} exit ;; SX-8R:SUPER-UX:*:*) echo sx8r-nec-superux${UNAME_RELEASE} exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown eval $set_cc_for_build if test "$UNAME_PROCESSOR" = unknown ; then UNAME_PROCESSOR=powerpc fi if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then case $UNAME_PROCESSOR in i386) UNAME_PROCESSOR=x86_64 ;; powerpc) UNAME_PROCESSOR=powerpc64 ;; esac fi fi elif test "$UNAME_PROCESSOR" = i386 ; then # Avoid executing cc on OS X 10.9, as it ships with a stub # that puts up a graphical alert prompting to install # developer tools. Any system running Mac OS X 10.7 or # later (Darwin 11 and later) is required to have a 64-bit # processor. This is not true of the ARM version of Darwin # that Apple uses in portable devices. UNAME_PROCESSOR=x86_64 fi echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = "x86"; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit ;; *:QNX:*:4*) echo i386-pc-qnx exit ;; NEO-?:NONSTOP_KERNEL:*:*) echo neo-tandem-nsk${UNAME_RELEASE} exit ;; NSE-*:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} exit ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "$cputype" = "386"; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" fi echo ${UNAME_MACHINE}-unknown-plan9 exit ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit ;; *:ITS:*:*) echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; V*) echo vax-dec-vms ; exit ;; esac ;; *:XENIX:*:SysV) echo i386-pc-xenix exit ;; i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos exit ;; i*86:AROS:*:*) echo ${UNAME_MACHINE}-pc-aros exit ;; x86_64:VMkernel:*:*) echo ${UNAME_MACHINE}-unknown-esx exit ;; esac cat >&2 < in order to provide the needed information to handle your system. config.guess timestamp = $timestamp uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = ${UNAME_MACHINE} UNAME_RELEASE = ${UNAME_RELEASE} UNAME_SYSTEM = ${UNAME_SYSTEM} UNAME_VERSION = ${UNAME_VERSION} EOF exit 1 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: gtk-sharp-2.12.40/Makefile.include0000664000175000017500000000671112767740470013610 00000000000000SNK = gtk-sharp.snk API = $(pkg)-api.xml RAW_API = $(pkg)-api.raw ASSEMBLY_NAME = $(pkg)-sharp ASSEMBLY = $(ASSEMBLY_NAME).dll TARGET = $(pkg:=-sharp.dll) $(pkg:=-sharp.dll.config) $(POLICY_ASSEMBLIES) noinst_DATA = $(TARGET) TARGET_API = $(pkg:=-api.xml) gapidir = $(datadir)/gapi-2.0 gapi_DATA = $(TARGET_API) CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(POLICY_ASSEMBLIES) generated-stamp generated/*.cs $(API) glue/generated.c $(SNK) AssemblyInfo.cs $(POLICY_CONFIGS) DISTCLEANFILES = $(ASSEMBLY).config POLICY_ASSEMBLIES = $(addsuffix .$(ASSEMBLY), $(addprefix policy., $(POLICY_VERSIONS))) POLICY_CONFIGS = $(addsuffix .config, $(addprefix policy., $(POLICY_VERSIONS))) EXTRA_DIST = $(RAW_API) $(SYMBOLS) $(ASSEMBLY).config.in $(METADATA) $(customs) $(sources) $(add_dist) build_symbols = $(addprefix --symbols=$(srcdir)/, $(SYMBOLS)) $(API): $(METADATA) $(RAW_API) $(SYMBOLS) $(top_builddir)/parser/gapi-fixup.exe cp $(srcdir)/$(RAW_API) $(API) chmod u+w $(API) @if test -n '$(METADATA)'; then \ echo "$(RUNTIME) $(top_builddir)/parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA) $(build_symbols)"; \ $(RUNTIME) $(top_builddir)/parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA) $(build_symbols); \ fi build_customs = $(addprefix $(srcdir)/, $(customs)) api_includes = $(addprefix -I:, $(INCLUDE_API)) generated-stamp: $(API) $(INCLUDE_API) $(top_builddir)/generator/gapi_codegen.exe $(build_customs) rm -f generated/* && \ $(RUNTIME) $(top_builddir)/generator/gapi_codegen.exe --generate $(API) \ $(api_includes) \ --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \ --gluelib-name=$(pkg)sharpglue-2 --glue-filename=glue/generated.c \ --glue-includes=$(glue_includes) \ && touch generated-stamp $(SNK): $(top_srcdir)/$(SNK) cp $(top_srcdir)/$(SNK) . AssemblyInfo.cs: $(top_builddir)/AssemblyInfo.cs cp $(top_builddir)/AssemblyInfo.cs . policy.%.config: $(top_builddir)/policy.config sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$*/" $(top_builddir)/policy.config > $@ $(POLICY_ASSEMBLIES) : policy.%.$(ASSEMBLY): policy.%.config $(SNK) $(AL) -link:policy.$*.config -version:$* -out:$@ -keyfile:$(SNK) build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs build_references = $(addprefix -r:, $(references)) $(MONO_CAIRO_LIBS) $(ASSEMBLY): generated-stamp $(SNK) $(build_sources) $(references) @rm -f $(ASSEMBLY).mdb $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -unsafe -out:$(ASSEMBLY) -target:library $(build_references) $(GENERATED_SOURCES) $(build_sources) install-data-local: @if test -n '$(pkg)'; then \ echo "$(GACUTIL) -i $(ASSEMBLY) -f $(GACUTIL_FLAGS)"; \ $(GACUTIL) -i $(ASSEMBLY) -f $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) -i policy.$$i.$(ASSEMBLY) -f $(GACUTIL_FLAGS)"; \ $(GACUTIL) -i policy.$$i.$(ASSEMBLY) -f $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi uninstall-local: @if test -n '$(pkg)'; then \ echo "$(GACUTIL) -u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) -u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi gtk-sharp-2.12.40/sources/0000775000175000017500000000000012767740534012265 500000000000000gtk-sharp-2.12.40/sources/Makefile.in0000664000175000017500000003375412767740507014266 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = sources ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in README DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = \ README \ gtk-sharp-2.12-sources.xml \ gtkclipboard.patch \ gtk_tree_model_signal_fix.patch \ gtk_tree_model_signal_fix-2.10.patch GTK_2_12_DOWNLOADS = \ http://ftp.gnome.org/pub/GNOME/platform/2.20/2.20.0/sources/pango-1.18.2.tar.bz2 \ http://ftp.gnome.org/pub/GNOME/platform/2.20/2.20.0/sources/atk-1.20.0.tar.bz2 \ http://ftp.gnome.org/pub/GNOME/platform/2.20/2.20.0/sources/gtk+-2.12.0.tar.bz2 \ http://ftp.gnome.org/pub/GNOME/platform/2.20/2.20.0/sources/libglade-2.6.2.tar.bz2 all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign sources/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign sources/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags-am uninstall uninstall-am .PRECIOUS: Makefile api: api-2.12 api-2.12: PATH=../parser:$$PATH $(RUNTIME) ../parser/gapi-parser.exe gtk-sharp-2.12-sources.xml get-source-code: get-2.12-sources get-2.12-sources: for i in $(GTK_2_12_DOWNLOADS); do \ wget $$i --output-document=- | tar -xj ; \ done; ln -f -s gtkfilechooserprivate.h gtk+-2.12.0/gtk/gtkfilechooserpriv.h patch -p0 gtk+-2.12.0/gtk/gtktreemodel.c < gtk_tree_model_signal_fix-2.10.patch echo "typedef struct _GtkClipboard GtkClipboard;" >> gtk+-2.12.0/gtk/gtkclipboard.h echo "typedef struct _GtkClipboardClass GtkClipboardClass;" >> gtk+-2.12.0/gtk/gtkclipboard.h # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/sources/README0000664000175000017500000000703412767740470013070 00000000000000The contents of this directory are (basically) the first step in creating .NET bindings, to libraries based on GObject. QUICK INSTRUCTIONS ------------------ Edit the .metadata file(s), then do a: make get-source-code make api You only have to do a "make get-source-code" once! After you have run "make get-source-code" once, do the following... Edit the .metadata file(s), then do a: make api Note, these instructions only generate XML files in the "api" directory. To turn those XML files (in the "api" directory) into C# code; and then turn that C# code into a .DLL, you'll need to perform extra steps, which are NOT described in this document. (If you are going to create a new .NET binding, then you will need to do more than just this.) WHO USES THE SOURCES DIRECTORY ------------------------------ This directory is essentially the "starting point" in the creation of a .NET binding. Most people can safely ignore it. (If all you want to do is build Gtk#, then you can ignore what's in this directory.) This directory is not part of the normal "build process" for Gtk#. But is instead used by people wishing to update an existing .NET binding; or to create a new .NET binding (for a GObject based library). The result of running "make api" on this directory (once everything is set up) are the XML files that you find in the "api" directory. (Those XML files, that you find in the "api" directory, are then used to generate the C# code. And then that C# code is used to create the various .DLL files.) WHAT'S REQUIRED --------------- Before you can do anything here, you need to get the source code to the various libraries (which you are generating .NET bindings for). And then do a little configuring. The current list of libraries that Gtk# supports is: pango-1.4.0 atk-1.6.0 gtk+-2.4.1 libgnome-2.6.0 libgnomecanvas-2.6.0 libgnomeui-2.6.0 libgnomeprint-2.6.0 libgnomeprintui-2.6.0 gtkhtml-3.0.10 files: gtkhtml.[ch], gtkhtml-types.h, gtkhtml-enums.h, gtkhtml-stream.[ch] libglade-2.3.6 libart_lgpl-2.3.16 librsvg-2.6.4 gnome-vfs-2.6.0 gnome-panel-2.6.0 (If you create a new binding, that is part of Gtk#, be sure to add it to this list. Also, you'll need to add an entry in "gtk-sharp.sources". And you should add it to the "makefile" so that it is part of the "get-source-code" rule.) (There are two ways to get this source code. As you will see in the next section.) SETTING THINGS UP ----------------- To set things up, you need to get the source code to the libraries listed above. There are two (alternate) methods of doing this. Method 1) Download it. Unpack the source code (if necessary). Then do the extra cofiguration stuff listed above. Method 2) Run: make get-source-code (Method 2 is probably the easiest way to do it for most people. It automatically goes and downloads everything you need. And configures everything for you.) EDITING .METADATA FILES ----------------------- Part of updating a .NET binding involves editing a .metadata file. (Assuming you already have the required source code, to the libraries...) once you update a binding, you then run: make api ...to create the new updated XML file(s) that will be placed in the "api" directory. gtk-sharp-2.12.40/sources/gtkclipboard.patch0000664000175000017500000000114412767740470015672 00000000000000--- gtkclipboard.h.orig 2005-03-18 15:41:55.748377369 -0500 +++ gtkclipboard.h 2005-03-18 15:45:36.752348627 -0500 @@ -32,6 +32,9 @@ #define GTK_CLIPBOARD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CLIPBOARD, GtkClipboard)) #define GTK_IS_CLIPBOARD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CLIPBOARD)) +typedef struct _GtkClipboard GtkClipboard; +typedef struct _GtkClipboardClass GtkClipboardClass; + typedef void (* GtkClipboardReceivedFunc) (GtkClipboard *clipboard, GtkSelectionData *selection_data, gpointer data); gtk-sharp-2.12.40/sources/gtk_tree_model_signal_fix.patch0000664000175000017500000000452212767740470020417 00000000000000173,180c173,181 < g_signal_newv ("row_inserted", < GTK_TYPE_TREE_MODEL, < G_SIGNAL_RUN_FIRST, < closure, < NULL, NULL, < _gtk_marshal_VOID__BOXED_BOXED, < G_TYPE_NONE, 2, < row_inserted_params); --- > g_signal_new ("row_inserted", > GTK_TYPE_TREE_MODEL, > G_SIGNAL_RUN_FIRST, > G_STRUCT_OFFSET (GtkTreeModelIface, row_inserted), > NULL, NULL, > _gtk_marshal_VOID__BOXED_BOXED, > G_TYPE_NONE, 2, > GTK_TYPE_TREE_PATH, > GTK_TYPE_TREE_ITER); 196,203c197,204 < g_signal_newv ("row_deleted", < GTK_TYPE_TREE_MODEL, < G_SIGNAL_RUN_FIRST, < closure, < NULL, NULL, < _gtk_marshal_VOID__BOXED, < G_TYPE_NONE, 1, < row_deleted_params); --- > g_signal_new ("row_deleted", > GTK_TYPE_TREE_MODEL, > G_SIGNAL_RUN_FIRST, > G_STRUCT_OFFSET (GtkTreeModelIface, row_deleted), > NULL, NULL, > _gtk_marshal_VOID__BOXED, > G_TYPE_NONE, 1, > GTK_TYPE_TREE_PATH); 208,215c209,219 < g_signal_newv ("rows_reordered", < GTK_TYPE_TREE_MODEL, < G_SIGNAL_RUN_FIRST, < closure, < NULL, NULL, < _gtk_marshal_VOID__BOXED_BOXED_POINTER, < G_TYPE_NONE, 3, < rows_reordered_params); --- > g_signal_new ("rows_reordered", > GTK_TYPE_TREE_MODEL, > G_SIGNAL_RUN_FIRST, > G_STRUCT_OFFSET (GtkTreeModelIface, rows_reordered), > NULL, NULL, > _gtk_marshal_VOID__BOXED_BOXED_POINTER, > G_TYPE_NONE, 3, > GTK_TYPE_TREE_PATH, > GTK_TYPE_TREE_ITER, > G_TYPE_POINTER); > gtk-sharp-2.12.40/sources/gtk_tree_model_signal_fix-2.10.patch0000664000175000017500000000453612767740470021002 00000000000000173,180c173,181 < g_signal_newv (I_("row_inserted"), < GTK_TYPE_TREE_MODEL, < G_SIGNAL_RUN_FIRST, < closure, < NULL, NULL, < _gtk_marshal_VOID__BOXED_BOXED, < G_TYPE_NONE, 2, < row_inserted_params); --- > g_signal_new ("row_inserted", > GTK_TYPE_TREE_MODEL, > G_SIGNAL_RUN_FIRST, > G_STRUCT_OFFSET (GtkTreeModelIface, row_inserted), > NULL, NULL, > _gtk_marshal_VOID__BOXED_BOXED, > G_TYPE_NONE, 2, > GTK_TYPE_TREE_PATH, > GTK_TYPE_TREE_ITER); 196,203c197,204 < g_signal_newv (I_("row_deleted"), < GTK_TYPE_TREE_MODEL, < G_SIGNAL_RUN_FIRST, < closure, < NULL, NULL, < _gtk_marshal_VOID__BOXED, < G_TYPE_NONE, 1, < row_deleted_params); --- > g_signal_new ("row_deleted", > GTK_TYPE_TREE_MODEL, > G_SIGNAL_RUN_FIRST, > G_STRUCT_OFFSET (GtkTreeModelIface, row_deleted), > NULL, NULL, > _gtk_marshal_VOID__BOXED, > G_TYPE_NONE, 1, > GTK_TYPE_TREE_PATH); 208,215c209,219 < g_signal_newv (I_("rows_reordered"), < GTK_TYPE_TREE_MODEL, < G_SIGNAL_RUN_FIRST, < closure, < NULL, NULL, < _gtk_marshal_VOID__BOXED_BOXED_POINTER, < G_TYPE_NONE, 3, < rows_reordered_params); --- > g_signal_new ("rows_reordered", > GTK_TYPE_TREE_MODEL, > G_SIGNAL_RUN_FIRST, > G_STRUCT_OFFSET (GtkTreeModelIface, rows_reordered), > NULL, NULL, > _gtk_marshal_VOID__BOXED_BOXED_POINTER, > G_TYPE_NONE, 3, > GTK_TYPE_TREE_PATH, > GTK_TYPE_TREE_ITER, > G_TYPE_POINTER); > gtk-sharp-2.12.40/sources/Makefile.am0000664000175000017500000000215012767740470014236 00000000000000EXTRA_DIST = \ README \ gtk-sharp-2.12-sources.xml \ gtkclipboard.patch \ gtk_tree_model_signal_fix.patch \ gtk_tree_model_signal_fix-2.10.patch GTK_2_12_DOWNLOADS = \ http://ftp.gnome.org/pub/GNOME/platform/2.20/2.20.0/sources/pango-1.18.2.tar.bz2 \ http://ftp.gnome.org/pub/GNOME/platform/2.20/2.20.0/sources/atk-1.20.0.tar.bz2 \ http://ftp.gnome.org/pub/GNOME/platform/2.20/2.20.0/sources/gtk+-2.12.0.tar.bz2 \ http://ftp.gnome.org/pub/GNOME/platform/2.20/2.20.0/sources/libglade-2.6.2.tar.bz2 api: api-2.12 api-2.12: PATH=../parser:$$PATH $(RUNTIME) ../parser/gapi-parser.exe gtk-sharp-2.12-sources.xml get-source-code: get-2.12-sources get-2.12-sources: for i in $(GTK_2_12_DOWNLOADS); do \ wget $$i --output-document=- | tar -xj ; \ done; ln -f -s gtkfilechooserprivate.h gtk+-2.12.0/gtk/gtkfilechooserpriv.h patch -p0 gtk+-2.12.0/gtk/gtktreemodel.c < gtk_tree_model_signal_fix-2.10.patch echo "typedef struct _GtkClipboard GtkClipboard;" >> gtk+-2.12.0/gtk/gtkclipboard.h echo "typedef struct _GtkClipboardClass GtkClipboardClass;" >> gtk+-2.12.0/gtk/gtkclipboard.h gtk-sharp-2.12.40/sources/gtk-sharp-2.12-sources.xml0000664000175000017500000001546112767740470016676 00000000000000 atk-1.20.0/atk pangoatsui.c pangoatsui.h pangoatsui-fontmap.h pangoatsui-private.h pangocairo-atsui.h pangocairo-atsuifont.h pangocairo-fc.h pangocairo-win32.h pangocairo-private.h pangofc-decoder.c pangofc-decoder.h pangofc-font.c pangofc-font.h pangofc-fontmap.c pangofc-fontmap.h pangofc-private.h pangox-fontcache.c pangox-fontmap.c pangox-private.h pangox.h pangox.c pangoxft.h pangoxft-font.c pangoxft-font.h pangoxft-fontmap.c pangoxft-fontmap.h pangoxft-private.h pangoxft-render.c pangoxft-render.h pango-color-table.h pango-impl-utils.h pango-script-lang-table.h pango-script-table.h gdkalias.h keyname-table.h gdk-pixbuf-alias.h gdk-pixbuf-scaled-anim.h xpm-color-table.h gtkalias.h gtkbuiltincache.h gtkdndcursors.h gtkfilechooserdefault.c gtkfilechooserdefault.h gtkfilechooserembed.c gtkfilechooserembed.h gtkfilechooserentry.c gtkfilechooserentry.h gtkfilechoosersettings.c gtkfilechoosersettings.h gtkfilechooserutils.c gtkfilechooserutils.h gtkfilesystem.c gtkfilesystem.h gtkfilesystemmodel.c gtkfilesystemmodel.h gtkfilesystemunix.c gtkfilesystemunix.h gtkfilesystemwin32.c gtkfilesystemwin32.h gtkiconcache.c gtkiconcache.h gtkiconcachevalidator.c gtkiconcachevalidator.h gtkiconthemeparser.h gtkpathbar.c gtkpathbar.h gtkprintbackend.h gtkprinteroption.h gtkprinteroptionset.h gtkprinteroptionwidget.h gtkquery.c gtkquery.h gtkrbtree.c gtkrbtree.h gtksearchengine.c gtksearchengine.h gtksearchenginebeagle.c gtksearchenginebeagle.h gtksearchenginequartz.c gtksearchenginequartz.h gtksearchenginesimple.c gtksearchenginesimple.h gtksearchenginetracker.c gtksearchenginetracker.h gtksequence.c gtksequence.h gtktextbtree.c gtktextbtree.h gtktextsegment.c gtktextsegment.h gtktexttypes.c gtktexttypes.h gtktextutil.c gtktextutil.h gtkthemes.c gtkthemes.h gtktreedatalist.c gtktreedatalist.h gtkwindow-decorate.c gtkwindow-decorate.h gtkxembed.h xembed.h gtkclist.c gtkclist.h gtkctree.c gtkctree.h gtklist.c gtklist.h gtklistitem.c gtklistitem.h gtkoldeditable.c gtkoldeditable.h gtkpixmap.c gtkpixmap.h gtkpreview.c gtkpreview.h gtkprogress.c gtkprogress.h gtktext.c gtktext.h gtktipsquery.c gtktipsquery.h gtktree.c gtktree.h gtktreeitem.c gtktreeitem.h libglade-2.6.2/glade gtk-sharp-2.12.40/configure0000775000175000017500000173154012767740507012444 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for gtk-sharp 2.12.40. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then _as_can_reexec=no; export _as_can_reexec; # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 as_fn_exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi " as_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1 test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test \$(( 1 + 1 )) = 2 || exit 1 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO PATH=/empty FPATH=/empty; export PATH FPATH test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir/$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi done;; esac as_found=false done $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes fi; } IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, $0: including any error possibly output before this $0: message. Then install a modern shell, or manually run $0: the script under such a shell if you do have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall # in an infinite loop. This has already happened in practice. _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" SHELL=${CONFIG_SHELL-/bin/sh} test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME='gtk-sharp' PACKAGE_TARNAME='gtk-sharp' PACKAGE_VERSION='2.12.40' PACKAGE_STRING='gtk-sharp 2.12.40' PACKAGE_BUGREPORT='' PACKAGE_URL='' ac_unique_file="README" # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS CSFLAGS GLIB_2_31_LIBS GLIB_2_31_CFLAGS ENABLE_MONOGETOPTIONS_FALSE ENABLE_MONOGETOPTIONS_TRUE ENABLE_MSI_FALSE ENABLE_MSI_TRUE ENABLE_MONODOC_FALSE ENABLE_MONODOC_TRUE ENABLE_DOTNET_FALSE ENABLE_DOTNET_TRUE ENABLE_GLADE_FALSE ENABLE_GLADE_TRUE ENABLE_MONO_CAIRO_FALSE ENABLE_MONO_CAIRO_TRUE MONODOCER MDASSEMBLER GDK_BACKEND GLADE_LIBS GLADE_CFLAGS GTK_LIBS GTK_CFLAGS ATK_LIBS ATK_CFLAGS PANGO_LIBS PANGO_CFLAGS GLIB_LIBS GLIB_CFLAGS MONO_CAIRO_LIBS MONO_CAIRO_CFLAGS GENERATED_SOURCES LIB_SUFFIX LIB_PREFIX GACUTIL_FLAGS CSC RUNTIME AL GACUTIL MONO_DEPENDENCY_LIBS MONO_DEPENDENCY_CFLAGS PKG_CONFIG_LIBDIR PKG_CONFIG_PATH OFF_T_FLAGS BUILD_GTK_LIBS BUILD_GTK_CFLAGS PKG_CONFIG GTK_SHARP_VERSION_CFLAGS WIX LT_SYS_LIBRARY_PATH OTOOL64 OTOOL LIPO NMEDIT DSYMUTIL MANIFEST_TOOL RANLIB ac_ct_AR AR LN_S NM ac_ct_DUMPBIN DUMPBIN LD FGREP SED LIBTOOL OBJDUMP DLLTOOL AS EGREP GREP CPP BUILD_EXEEXT HOST_CC CC_FOR_BUILD am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__quote am__include DEPDIR OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC PLATFORM_WIN32_FALSE PLATFORM_WIN32_TRUE POLICY_VERSIONS API_VERSION MAINT MAINTAINER_MODE_FALSE MAINTAINER_MODE_TRUE AM_BACKSLASH AM_DEFAULT_VERBOSITY AM_DEFAULT_V AM_V am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM target_os target_vendor target_cpu target host_os host_vendor host_cpu host build_os build_vendor build_cpu build target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir runstatedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking enable_silent_rules enable_maintainer_mode enable_dependency_tracking enable_shared enable_static with_pic enable_fast_install with_aix_soname with_gnu_ld with_sysroot enable_libtool_lock enable_debug ' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP LT_SYS_LIBRARY_PATH PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR MONO_DEPENDENCY_CFLAGS MONO_DEPENDENCY_LIBS MONO_CAIRO_CFLAGS MONO_CAIRO_LIBS GLIB_CFLAGS GLIB_LIBS PANGO_CFLAGS PANGO_LIBS ATK_CFLAGS ATK_LIBS GTK_CFLAGS GTK_LIBS GLADE_CFLAGS GLADE_LIBS GLIB_2_31_CFLAGS GLIB_2_31_LIBS' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *=) ac_optarg= ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -runstatedir | --runstatedir | --runstatedi | --runstated \ | --runstate | --runstat | --runsta | --runst | --runs \ | --run | --ru | --r) ac_prev=runstatedir ;; -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ | --run=* | --ru=* | --r=*) runstatedir=$ac_optarg ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) as_fn_error $? "unrecognized option: \`$ac_option' Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir runstatedir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures gtk-sharp 2.12.40 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/gtk-sharp] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] --target=TARGET configure for building compilers for TARGET [HOST] _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of gtk-sharp 2.12.40:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-silent-rules less verbose build output (undo: "make V=1") --disable-silent-rules verbose build output (undo: "make V=0") --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --enable-dependency-tracking do not reject slow dependency extractors --disable-dependency-tracking speeds up one-time build --enable-shared[=PKGS] build shared libraries [default=yes] --enable-static[=PKGS] build static libraries [default=yes] --enable-fast-install[=PKGS] optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) --enable-debug Build debugger (.mdb) files for dlls Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use both] --with-aix-soname=aix|svr4|both shared library versioning (aka "SONAME") variant to provide on AIX, [default=aix]. --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-sysroot[=DIR] Search for dependent libraries within DIR (or the compiler's sysroot if not specified). Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor LT_SYS_LIBRARY_PATH User-defined run-time library search path. PKG_CONFIG path to pkg-config utility PKG_CONFIG_PATH directories to add to pkg-config's search path PKG_CONFIG_LIBDIR path overriding pkg-config's built-in search path MONO_DEPENDENCY_CFLAGS C compiler flags for MONO_DEPENDENCY, overriding pkg-config MONO_DEPENDENCY_LIBS linker flags for MONO_DEPENDENCY, overriding pkg-config MONO_CAIRO_CFLAGS C compiler flags for MONO_CAIRO, overriding pkg-config MONO_CAIRO_LIBS linker flags for MONO_CAIRO, overriding pkg-config GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config GLIB_LIBS linker flags for GLIB, overriding pkg-config PANGO_CFLAGS C compiler flags for PANGO, overriding pkg-config PANGO_LIBS linker flags for PANGO, overriding pkg-config ATK_CFLAGS C compiler flags for ATK, overriding pkg-config ATK_LIBS linker flags for ATK, overriding pkg-config GTK_CFLAGS C compiler flags for GTK, overriding pkg-config GTK_LIBS linker flags for GTK, overriding pkg-config GLADE_CFLAGS C compiler flags for GLADE, overriding pkg-config GLADE_LIBS linker flags for GLADE, overriding pkg-config GLIB_2_31_CFLAGS C compiler flags for GLIB_2_31, overriding pkg-config GLIB_2_31_LIBS linker flags for GLIB_2_31, overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to the package provider. _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF gtk-sharp configure 2.12.40 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## # ac_fn_c_try_compile LINENO # -------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile # ac_fn_c_try_cpp LINENO # ---------------------- # Try to preprocess conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_cpp () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_cpp # ac_fn_c_try_run LINENO # ---------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes # that executables *can* be run. ac_fn_c_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then : ac_retval=0 else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_run # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || test -x conftest$ac_exeext }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_link # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files in # INCLUDES, setting the cache variable VAR accordingly. ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly ac_fn_c_check_func () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $2 (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $2 /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$2 || defined __stub___$2 choke me #endif int main () { return $2 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES # -------------------------------------------- # Tries to find the compile-time value of EXPR in a program that includes # INCLUDES, setting VAR accordingly. Returns whether the value could be # computed ac_fn_c_compute_int () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { static int test_array [1 - 2 * !(($2) >= 0)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_lo=0 ac_mid=0 while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { static int test_array [1 - 2 * !(($2) <= $ac_mid)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_hi=$ac_mid; break else as_fn_arith $ac_mid + 1 && ac_lo=$as_val if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { static int test_array [1 - 2 * !(($2) < 0)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_hi=-1 ac_mid=-1 while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { static int test_array [1 - 2 * !(($2) >= $ac_mid)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_lo=$ac_mid; break else as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done else ac_lo= ac_hi= fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { static int test_array [1 - 2 * !(($2) <= $ac_mid)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_hi=$ac_mid else as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in #(( ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; '') ac_retval=1 ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 static long int longval () { return $2; } static unsigned long int ulongval () { return $2; } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) return 1; if (($2) < 0) { long int i = longval (); if (i != ($2)) return 1; fprintf (f, "%ld", i); } else { unsigned long int i = ulongval (); if (i != ($2)) return 1; fprintf (f, "%lu", i); } /* Do not output a trailing newline, as this causes \r\n confusion on some platforms. */ return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : echo >>conftest.val; read $3 config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by gtk-sharp $as_me 2.12.40, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo $as_echo "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo $as_echo "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then $as_echo "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then $as_echo "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h $as_echo "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_URL "$PACKAGE_URL" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then # We do not want a PATH search for config.site. case $CONFIG_SITE in #(( -*) ac_site_file1=./$CONFIG_SITE;; */*) ac_site_file1=$CONFIG_SITE;; *) ac_site_file1=./$CONFIG_SITE;; esac elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } if ${ac_cv_build+:} false; then : $as_echo_n "(cached) " >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' set x $ac_cv_build shift build_cpu=$1 build_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: build_os=$* IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } if ${ac_cv_host+:} false; then : $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' set x $ac_cv_host shift host_cpu=$1 host_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: host_os=$* IFS=$ac_save_IFS case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 $as_echo_n "checking target system type... " >&6; } if ${ac_cv_target+:} false; then : $as_echo_n "(cached) " >&6 else if test "x$target_alias" = x; then ac_cv_target=$ac_cv_host else ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 $as_echo "$ac_cv_target" >&6; } case $ac_cv_target in *-*-*) ;; *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; esac target=$ac_cv_target ac_save_IFS=$IFS; IFS='-' set x $ac_cv_target shift target_cpu=$1 target_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: target_os=$* IFS=$ac_save_IFS case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac # The aliases save the names the user supplied, while $host etc. # will get canonicalized. test -n "$target_alias" && test "$program_prefix$program_suffix$program_transform_name" = \ NONENONEs,x,x, && program_prefix=${target_alias}- ac_config_headers="$ac_config_headers config.h" am__api_version='1.15' # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in #(( ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi if test "$2" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$2" = conftest.file ) then # Ok. : else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi rm -f conftest.file test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} fi if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if ${ac_cv_path_mkdir+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi test -d ./--version && rmdir ./--version if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. MKDIR_P="$ac_install_sh -d" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; fi case $enable_silent_rules in # ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=1;; esac am_make=${MAKE-make} { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } if ${am_cv_make_support_nested_variables+:} false; then : $as_echo_n "(cached) " >&6 else if $as_echo 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 $as_echo "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AM_BACKSLASH='\' if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='gtk-sharp' VERSION='2.12.40' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # mkdir_p='$(MKDIR_P)' # We need awk for the "check" target (and possibly the TAP driver). The # system "awk" is bad on some platforms. # Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar pax cpio none' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then : enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval else USE_MAINTAINER_MODE=no fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 $as_echo "$USE_MAINTAINER_MODE" >&6; } if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#' else MAINTAINER_MODE_TRUE='#' MAINTAINER_MODE_FALSE= fi MAINT=$MAINTAINER_MODE_TRUE API_VERSION=2.12.0.0 POLICY_VERSIONS="2.4 2.6 2.8 2.10" PACKAGE_VERSION=gtk-sharp-2.0 WIN64DEFINES= case "$host" in x86_64-*-mingw*|x86_64-*-cygwin*) WIN64DEFINES="-define:WIN64LONGS" platform_win32=yes $as_echo "#define PLATFORM_WIN32 1" >>confdefs.h if test "x$cross_compiling" = "xno"; then CC="gcc -g" HOST_CC="gcc" fi ;; *-*-mingw*|*-*-cygwin*) platform_win32=yes $as_echo "#define PLATFORM_WIN32 1" >>confdefs.h if test "x$cross_compiling" = "xno"; then CC="gcc -g" HOST_CC="gcc" fi ;; *) platform_win32=no ;; esac if test x$platform_win32 = xyes; then PLATFORM_WIN32_TRUE= PLATFORM_WIN32_FALSE='#' else PLATFORM_WIN32_TRUE='#' PLATFORM_WIN32_FALSE= fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="gcc" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi if test -z "$ac_file"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } if ${am_cv_prog_cc_c_o+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 $as_echo "$am_cv_prog_cc_c_o" >&6; } if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 $as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from 'make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 $as_echo "$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then : enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if ${am_cv_CC_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi CC_FOR_BUILD=$CC BUILD_EXEEXT= if test "x$cross_compiling" = "xyes"; then CC_FOR_BUILD=cc BUILD_EXEEXT="" fi # Set STDC_HEADERS ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_GREP" || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_EGREP" || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then $as_echo "#define STDC_HEADERS 1" >>confdefs.h fi enable_win32_dll=yes case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. set dummy ${ac_tool_prefix}as; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AS+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AS"; then ac_cv_prog_AS="$AS" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AS="${ac_tool_prefix}as" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AS=$ac_cv_prog_AS if test -n "$AS"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 $as_echo "$AS" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_AS"; then ac_ct_AS=$AS # Extract the first word of "as", so it can be a program name with args. set dummy as; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AS+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_AS"; then ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AS="as" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_AS=$ac_cv_prog_ac_ct_AS if test -n "$ac_ct_AS"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 $as_echo "$ac_ct_AS" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_AS" = x; then AS="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AS=$ac_ct_AS fi else AS="$ac_cv_prog_AS" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. set dummy ${ac_tool_prefix}dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DLLTOOL"; then ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DLLTOOL=$ac_cv_prog_DLLTOOL if test -n "$DLLTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 $as_echo "$DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_DLLTOOL"; then ac_ct_DLLTOOL=$DLLTOOL # Extract the first word of "dlltool", so it can be a program name with args. set dummy dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DLLTOOL"; then ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DLLTOOL="dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL if test -n "$ac_ct_DLLTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 $as_echo "$ac_ct_DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_DLLTOOL" = x; then DLLTOOL="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DLLTOOL=$ac_ct_DLLTOOL fi else DLLTOOL="$ac_cv_prog_DLLTOOL" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. set dummy ${ac_tool_prefix}objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OBJDUMP"; then ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OBJDUMP=$ac_cv_prog_OBJDUMP if test -n "$OBJDUMP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 $as_echo "$OBJDUMP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OBJDUMP"; then ac_ct_OBJDUMP=$OBJDUMP # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OBJDUMP"; then ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OBJDUMP="objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP if test -n "$ac_ct_OBJDUMP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 $as_echo "$ac_ct_OBJDUMP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OBJDUMP" = x; then OBJDUMP="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OBJDUMP=$ac_ct_OBJDUMP fi else OBJDUMP="$ac_cv_prog_OBJDUMP" fi ;; esac test -z "$AS" && AS=as test -z "$DLLTOOL" && DLLTOOL=dlltool test -z "$OBJDUMP" && OBJDUMP=objdump case `pwd` in *\ * | *\ *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; esac macro_version='2.4.6' macro_revision='2.4.6' ltmain=$ac_aux_dir/ltmain.sh # Backslashify metacharacters that are still active within # double-quoted strings. sed_quote_subst='s/\(["`$\\]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\(["`\\]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to delay expansion of an escaped single quote. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 $as_echo_n "checking how to print strings... " >&6; } # Test print first, because it will be a builtin if present. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='print -r --' elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='printf %s\n' else # Use this function as a fallback that always works. func_fallback_echo () { eval 'cat <<_LTECHO_EOF $1 _LTECHO_EOF' } ECHO='func_fallback_echo' fi # func_echo_all arg... # Invoke $ECHO with all args, space-separated. func_echo_all () { $ECHO "" } case $ECHO in printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 $as_echo "printf" >&6; } ;; print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 $as_echo "print -r" >&6; } ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 $as_echo "cat" >&6; } ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 $as_echo_n "checking for a sed that does not truncate output... " >&6; } if ${ac_cv_path_SED+:} false; then : $as_echo_n "(cached) " >&6 else ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ for ac_i in 1 2 3 4 5 6 7; do ac_script="$ac_script$as_nl$ac_script" done echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed { ac_script=; unset ac_script;} if test -z "$SED"; then ac_path_SED_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_SED" || continue # Check for GNU ac_path_SED and select it if it is found. # Check for GNU $ac_path_SED case `"$ac_path_SED" --version 2>&1` in *GNU*) ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo '' >> "conftest.nl" "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_SED_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_SED="$ac_path_SED" ac_path_SED_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_SED_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_SED"; then as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 fi else ac_cv_path_SED=$SED fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 $as_echo "$ac_cv_path_SED" >&6; } SED="$ac_cv_path_SED" rm -f conftest.sed test -z "$SED" && SED=sed Xsed="$SED -e 1s/^X//" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 $as_echo_n "checking for fgrep... " >&6; } if ${ac_cv_path_FGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 then ac_cv_path_FGREP="$GREP -F" else if test -z "$FGREP"; then ac_path_FGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in fgrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_FGREP" || continue # Check for GNU ac_path_FGREP and select it if it is found. # Check for GNU $ac_path_FGREP case `"$ac_path_FGREP" --version 2>&1` in *GNU*) ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'FGREP' >> "conftest.nl" "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_FGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_FGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_FGREP"; then as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_FGREP=$FGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 $as_echo "$ac_cv_path_FGREP" >&6; } FGREP="$ac_cv_path_FGREP" test -z "$GREP" && GREP=grep # Check whether --with-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then : withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes else with_gnu_ld=no fi ac_prog=ld if test yes = "$GCC"; then # Check if gcc -print-prog-name=ld gives a path. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 $as_echo_n "checking for ld used by $CC... " >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return, which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname of ld ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD=$ac_prog ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test yes = "$with_gnu_ld"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 $as_echo_n "checking for GNU ld... " >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi if ${lt_cv_path_LD+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$LD"; then lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD=$ac_dir/$ac_prog # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &5 $as_echo "$LD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } if ${lt_cv_prog_gnu_ld+:} false; then : $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 $as_echo "$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } if ${lt_cv_path_NM+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM=$NM else lt_nm_to_check=${ac_tool_prefix}nm if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. tmp_nm=$ac_dir/$lt_tmp_nm if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then # Check to see if the nm accepts a BSD-compat flag. # Adding the 'sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty case $build_os in mingw*) lt_bad_file=conftest.nm/nofile ;; *) lt_bad_file=/dev/null ;; esac case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in *$lt_bad_file* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break 2 ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break 2 ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS=$lt_save_ifs done : ${lt_cv_path_NM=no} fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 $as_echo "$lt_cv_path_NM" >&6; } if test no != "$lt_cv_path_NM"; then NM=$lt_cv_path_NM else # Didn't find any BSD compatible name lister, look for dumpbin. if test -n "$DUMPBIN"; then : # Let the user override the test. else if test -n "$ac_tool_prefix"; then for ac_prog in dumpbin "link -dump" do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DUMPBIN+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DUMPBIN"; then ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DUMPBIN=$ac_cv_prog_DUMPBIN if test -n "$DUMPBIN"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 $as_echo "$DUMPBIN" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$DUMPBIN" && break done fi if test -z "$DUMPBIN"; then ac_ct_DUMPBIN=$DUMPBIN for ac_prog in dumpbin "link -dump" do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DUMPBIN"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN if test -n "$ac_ct_DUMPBIN"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 $as_echo "$ac_ct_DUMPBIN" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_DUMPBIN" && break done if test "x$ac_ct_DUMPBIN" = x; then DUMPBIN=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DUMPBIN=$ac_ct_DUMPBIN fi fi case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in *COFF*) DUMPBIN="$DUMPBIN -symbols -headers" ;; *) DUMPBIN=: ;; esac fi if test : != "$DUMPBIN"; then NM=$DUMPBIN fi fi test -z "$NM" && NM=nm { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 $as_echo_n "checking the name lister ($NM) interface... " >&6; } if ${lt_cv_nm_interface+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 (eval echo "\"\$as_me:$LINENO: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 $as_echo "$lt_cv_nm_interface" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 $as_echo_n "checking whether ln -s works... " >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 $as_echo "no, using $LN_S" >&6; } fi # find the maximum length of command line arguments { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 $as_echo_n "checking the maximum length of command line arguments... " >&6; } if ${lt_cv_sys_max_cmd_len+:} false; then : $as_echo_n "(cached) " >&6 else i=0 teststring=ABCD case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw* | cegcc*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; mint*) # On MiNT this can take a long time and run out of memory. lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; os2*) # The test takes a long time on OS/2. lt_cv_sys_max_cmd_len=8192 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` if test -n "$lt_cv_sys_max_cmd_len" && \ test undefined != "$lt_cv_sys_max_cmd_len"; then lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` else # Make teststring a little bigger before we do anything with it. # a 1K string should be a reasonable start. for i in 1 2 3 4 5 6 7 8; do teststring=$teststring$teststring done SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. while { test X`env echo "$teststring$teststring" 2>/dev/null` \ = "X$teststring$teststring"; } >/dev/null 2>&1 && test 17 != "$i" # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done # Only check the string length outside the loop. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` teststring= # Add a significant safety factor because C++ compilers can tack on # massive amounts of additional arguments before passing them to the # linker. It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` fi ;; esac fi if test -n "$lt_cv_sys_max_cmd_len"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 $as_echo "none" >&6; } fi max_cmd_len=$lt_cv_sys_max_cmd_len : ${CP="cp -f"} : ${MV="mv -f"} : ${RM="rm -f"} if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then lt_unset=unset else lt_unset=false fi # test EBCDIC or ASCII case `echo X|tr X '\101'` in A) # ASCII based system # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr lt_SP2NL='tr \040 \012' lt_NL2SP='tr \015\012 \040\040' ;; *) # EBCDIC based system lt_SP2NL='tr \100 \n' lt_NL2SP='tr \r\n \100\100' ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 $as_echo_n "checking how to convert $build file names to $host format... " >&6; } if ${lt_cv_to_host_file_cmd+:} false; then : $as_echo_n "(cached) " >&6 else case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 ;; esac ;; *-*-cygwin* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_noop ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin ;; esac ;; * ) # unhandled hosts (and "normal" native builds) lt_cv_to_host_file_cmd=func_convert_file_noop ;; esac fi to_host_file_cmd=$lt_cv_to_host_file_cmd { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 $as_echo "$lt_cv_to_host_file_cmd" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } if ${lt_cv_to_tool_file_cmd+:} false; then : $as_echo_n "(cached) " >&6 else #assume ordinary cross tools, or native build. lt_cv_to_tool_file_cmd=func_convert_file_noop case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 ;; esac ;; esac fi to_tool_file_cmd=$lt_cv_to_tool_file_cmd { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 $as_echo "$lt_cv_to_tool_file_cmd" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 $as_echo_n "checking for $LD option to reload object files... " >&6; } if ${lt_cv_ld_reload_flag+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_reload_flag='-r' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 $as_echo "$lt_cv_ld_reload_flag" >&6; } reload_flag=$lt_cv_ld_reload_flag case $reload_flag in "" | " "*) ;; *) reload_flag=" $reload_flag" ;; esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in cygwin* | mingw* | pw32* | cegcc*) if test yes != "$GCC"; then reload_cmds=false fi ;; darwin*) if test yes = "$GCC"; then reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' else reload_cmds='$LD$reload_flag -o $output$reload_objs' fi ;; esac if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. set dummy ${ac_tool_prefix}objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OBJDUMP"; then ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OBJDUMP=$ac_cv_prog_OBJDUMP if test -n "$OBJDUMP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 $as_echo "$OBJDUMP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OBJDUMP"; then ac_ct_OBJDUMP=$OBJDUMP # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OBJDUMP"; then ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OBJDUMP="objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP if test -n "$ac_ct_OBJDUMP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 $as_echo "$ac_ct_OBJDUMP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OBJDUMP" = x; then OBJDUMP="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OBJDUMP=$ac_ct_OBJDUMP fi else OBJDUMP="$ac_cv_prog_OBJDUMP" fi test -z "$OBJDUMP" && OBJDUMP=objdump { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 $as_echo_n "checking how to recognize dependent libraries... " >&6; } if ${lt_cv_deplibs_check_method+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_deplibs_check_method='unknown' # Need to set the preceding variable on all platforms that support # interlibrary dependencies. # 'none' -- dependencies not supported. # 'unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path # that responds to the $file_magic_cmd with a given extended regex. # If you have 'file' or equivalent on your system and you're not sure # whether 'pass_all' will *always* work, you probably want this one. case $host_os in aix[4-9]*) lt_cv_deplibs_check_method=pass_all ;; beos*) lt_cv_deplibs_check_method=pass_all ;; bsdi[45]*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' lt_cv_file_magic_cmd='/usr/bin/file -L' lt_cv_file_magic_test_file=/shlib/libc.so ;; cygwin*) # func_win32_libid is a shell function defined in ltmain.sh lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' ;; mingw* | pw32*) # Base MSYS/MinGW do not provide the 'file' command needed by # func_win32_libid shell function, so use a weaker test based on 'objdump', # unless we find 'file', for example because we are cross-compiling. if ( file / ) >/dev/null 2>&1; then lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else # Keep this pattern in sync with the one in func_win32_libid. lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; cegcc*) # use the weaker test based on 'objdump'. See mingw*. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' lt_cv_file_magic_cmd='$OBJDUMP -f' ;; darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; freebsd* | dragonfly*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; haiku*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; interix[3-9]*) # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) lt_cv_deplibs_check_method=pass_all ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; *nto* | *qnx*) lt_cv_deplibs_check_method=pass_all ;; openbsd* | bitrig*) if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; rdos*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; tpf*) lt_cv_deplibs_check_method=pass_all ;; os2*) lt_cv_deplibs_check_method=pass_all ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 $as_echo "$lt_cv_deplibs_check_method" >&6; } file_magic_glob= want_nocaseglob=no if test "$build" = "$host"; then case $host_os in mingw* | pw32*) if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then want_nocaseglob=yes else file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` fi ;; esac fi file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. set dummy ${ac_tool_prefix}dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DLLTOOL"; then ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DLLTOOL=$ac_cv_prog_DLLTOOL if test -n "$DLLTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 $as_echo "$DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_DLLTOOL"; then ac_ct_DLLTOOL=$DLLTOOL # Extract the first word of "dlltool", so it can be a program name with args. set dummy dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DLLTOOL"; then ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DLLTOOL="dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL if test -n "$ac_ct_DLLTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 $as_echo "$ac_ct_DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_DLLTOOL" = x; then DLLTOOL="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DLLTOOL=$ac_ct_DLLTOOL fi else DLLTOOL="$ac_cv_prog_DLLTOOL" fi test -z "$DLLTOOL" && DLLTOOL=dlltool { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 $as_echo_n "checking how to associate runtime and link libraries... " >&6; } if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_sharedlib_from_linklib_cmd='unknown' case $host_os in cygwin* | mingw* | pw32* | cegcc*) # two different shell functions defined in ltmain.sh; # decide which one to use based on capabilities of $DLLTOOL case `$DLLTOOL --help 2>&1` in *--identify-strict*) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib ;; *) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback ;; esac ;; *) # fallback: assume linklib IS sharedlib lt_cv_sharedlib_from_linklib_cmd=$ECHO ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO if test -n "$ac_tool_prefix"; then for ac_prog in ar do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AR="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 $as_echo "$AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AR" && break done fi if test -z "$AR"; then ac_ct_AR=$AR for ac_prog in ar do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 $as_echo "$ac_ct_AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_AR" && break done if test "x$ac_ct_AR" = x; then AR="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi fi : ${AR=ar} : ${AR_FLAGS=cru} { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 $as_echo_n "checking for archiver @FILE support... " >&6; } if ${lt_cv_ar_at_file+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ar_at_file=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : echo conftest.$ac_objext > conftest.lst lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 (eval $lt_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test 0 -eq "$ac_status"; then # Ensure the archiver fails upon bogus file names. rm -f conftest.$ac_objext libconftest.a { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 (eval $lt_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test 0 -ne "$ac_status"; then lt_cv_ar_at_file=@ fi fi rm -f conftest.* libconftest.a fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 $as_echo "$lt_cv_ar_at_file" >&6; } if test no = "$lt_cv_ar_at_file"; then archiver_list_spec= else archiver_list_spec=$lt_cv_ar_at_file fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi test -z "$STRIP" && STRIP=: if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 $as_echo "$RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 $as_echo "$ac_ct_RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then RANLIB=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB fi else RANLIB="$ac_cv_prog_RANLIB" fi test -z "$RANLIB" && RANLIB=: # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in bitrig* | openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" fi case $host_os in darwin*) lock_old_archive_extraction=yes ;; *) lock_old_archive_extraction=no ;; esac # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # Check for command to grab the raw symbol name followed by C symbol from nm. { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } if ${lt_cv_sys_global_symbol_pipe+:} false; then : $as_echo_n "(cached) " >&6 else # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[BCDEGRST]' # Regexp to match symbols that can be accessed directly from C. sympat='\([_A-Za-z][_A-Za-z0-9]*\)' # Define system-specific variables. case $host_os in aix*) symcode='[BCDT]' ;; cygwin* | mingw* | pw32* | cegcc*) symcode='[ABCDGISTW]' ;; hpux*) if test ia64 = "$host_cpu"; then symcode='[ABCDEGRST]' fi ;; irix* | nonstopux*) symcode='[BCDEGRST]' ;; osf*) symcode='[BCDEGQRST]' ;; solaris*) symcode='[BDRT]' ;; sco3.2v5*) symcode='[DT]' ;; sysv4.2uw2*) symcode='[DT]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[ABDT]' ;; sysv4) symcode='[DFNSTU]' ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[ABCDGIRSTW]' ;; esac if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Gets list of data symbols to import. lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" # Adjust the below global symbol transforms to fixup imported variables. lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" lt_c_name_lib_hook="\ -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" else # Disable hooks by default. lt_cv_sys_global_symbol_to_import= lt_cdecl_hook= lt_c_name_hook= lt_c_name_lib_hook= fi # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. lt_cv_sys_global_symbol_to_cdecl="sed -n"\ $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ $lt_c_name_hook\ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" # Transform an extracted symbol line into symbol name with lib prefix and # symbol address. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ $lt_c_name_lib_hook\ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # Try without a prefix underscore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Fake it for dumpbin and say T for any non-static function, # D for any global variable and I for any imported variable. # Also find C++ and __fastcall symbols from MSVC++, # which start with @ or ?. lt_cv_sys_global_symbol_pipe="$AWK '"\ " {last_section=section; section=\$ 3};"\ " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ " \$ 0!~/External *\|/{next};"\ " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ " {if(hide[section]) next};"\ " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ " ' prfx=^$ac_symprfx" else lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext <<_LT_EOF #ifdef __cplusplus extern "C" { #endif char nm_test_var; void nm_test_func(void); void nm_test_func(void){} #ifdef __cplusplus } #endif int main(){nm_test_var='a';nm_test_func();return(0);} _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then # Now try to grab the symbols. nlist=conftest.nm if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then if $GREP ' nm_test_func$' "$nlist" >/dev/null; then cat <<_LT_EOF > conftest.$ac_ext /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE /* DATA imports from DLLs on WIN32 can't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */ # define LT_DLSYM_CONST #elif defined __osf__ /* This system does not cope well with relocations in const data. */ # define LT_DLSYM_CONST #else # define LT_DLSYM_CONST const #endif #ifdef __cplusplus extern "C" { #endif _LT_EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */ LT_DLSYM_CONST struct { const char *name; void *address; } lt__PROGRAM__LTX_preloaded_symbols[] = { { "@PROGRAM@", (void *) 0 }, _LT_EOF $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext cat <<\_LT_EOF >> conftest.$ac_ext {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt__PROGRAM__LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_globsym_save_LIBS=$LIBS lt_globsym_save_CFLAGS=$CFLAGS LIBS=conftstm.$ac_objext CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then pipe_works=yes fi LIBS=$lt_globsym_save_LIBS CFLAGS=$lt_globsym_save_CFLAGS else echo "cannot find nm_test_func in $nlist" >&5 fi else echo "cannot find nm_test_var in $nlist" >&5 fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 fi else echo "$progname: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -rf conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test yes = "$pipe_works"; then break else lt_cv_sys_global_symbol_pipe= fi done fi if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 $as_echo "failed" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 $as_echo "ok" >&6; } fi # Response file support. if test "$lt_cv_nm_interface" = "MS dumpbin"; then nm_file_list_spec='@' elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then nm_file_list_spec='@' fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 $as_echo_n "checking for sysroot... " >&6; } # Check whether --with-sysroot was given. if test "${with_sysroot+set}" = set; then : withval=$with_sysroot; else with_sysroot=no fi lt_sysroot= case $with_sysroot in #( yes) if test yes = "$GCC"; then lt_sysroot=`$CC --print-sysroot 2>/dev/null` fi ;; #( /*) lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` ;; #( no|'') ;; #( *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 $as_echo "$with_sysroot" >&6; } as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 $as_echo "${lt_sysroot:-no}" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 $as_echo_n "checking for a working dd... " >&6; } if ${ac_cv_path_lt_DD+:} false; then : $as_echo_n "(cached) " >&6 else printf 0123456789abcdef0123456789abcdef >conftest.i cat conftest.i conftest.i >conftest2.i : ${lt_DD:=$DD} if test -z "$lt_DD"; then ac_path_lt_DD_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in dd; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_lt_DD" || continue if "$ac_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then cmp -s conftest.i conftest.out \ && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: fi $ac_path_lt_DD_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_lt_DD"; then : fi else ac_cv_path_lt_DD=$lt_DD fi rm -f conftest.i conftest2.i conftest.out fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 $as_echo "$ac_cv_path_lt_DD" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 $as_echo_n "checking how to truncate binary pipes... " >&6; } if ${lt_cv_truncate_bin+:} false; then : $as_echo_n "(cached) " >&6 else printf 0123456789abcdef0123456789abcdef >conftest.i cat conftest.i conftest.i >conftest2.i lt_cv_truncate_bin= if "$ac_cv_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then cmp -s conftest.i conftest.out \ && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" fi rm -f conftest.i conftest2.i conftest.out test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 $as_echo "$lt_cv_truncate_bin" >&6; } # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. func_cc_basename () { for cc_temp in $*""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` } # Check whether --enable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then : enableval=$enable_libtool_lock; fi test no = "$enable_libtool_lock" || enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out what ABI is being produced by ac_compile, and set mode # options accordingly. echo 'int i;' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE=32 ;; *ELF-64*) HPUX_IA64_MODE=64 ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo '#line '$LINENO' "configure"' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then if test yes = "$lt_cv_prog_gnu_ld"; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; mips64*-*linux*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo '#line '$LINENO' "configure"' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then emul=elf case `/usr/bin/file conftest.$ac_objext` in *32-bit*) emul="${emul}32" ;; *64-bit*) emul="${emul}64" ;; esac case `/usr/bin/file conftest.$ac_objext` in *MSB*) emul="${emul}btsmip" ;; *LSB*) emul="${emul}ltsmip" ;; esac case `/usr/bin/file conftest.$ac_objext` in *N32*) emul="${emul}n32" ;; esac LD="${LD-ld} -m $emul" fi rm -rf conftest* ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. Note that the listed cases only cover the # situations where additional linker options are needed (such as when # doing 32-bit compilation for a host where ld defaults to 64-bit, or # vice versa); the common cases where no linker options are needed do # not appear in the list. echo 'int i;' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) case `/usr/bin/file conftest.o` in *x86-64*) LD="${LD-ld} -m elf32_x86_64" ;; *) LD="${LD-ld} -m elf_i386" ;; esac ;; powerpc64le-*linux*) LD="${LD-ld} -m elf32lppclinux" ;; powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_x86_64_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; powerpcle-*linux*) LD="${LD-ld} -m elf64lppc" ;; powerpc-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS=$CFLAGS CFLAGS="$CFLAGS -belf" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } if ${lt_cv_cc_needs_belf+:} false; then : $as_echo_n "(cached) " >&6 else ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_cc_needs_belf=yes else lt_cv_cc_needs_belf=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 $as_echo "$lt_cv_cc_needs_belf" >&6; } if test yes != "$lt_cv_cc_needs_belf"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS=$SAVE_CFLAGS fi ;; *-*solaris*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo 'int i;' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) case $host in i?86-*-solaris*|x86_64-*-solaris*) LD="${LD-ld} -m elf_x86_64" ;; sparc*-*-solaris*) LD="${LD-ld} -m elf64_sparc" ;; esac # GNU ld 2.21 introduced _sol2 emulations. Use them if available. if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then LD=${LD-ld}_sol2 fi ;; *) if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then LD="${LD-ld} -64" fi ;; esac ;; esac fi rm -rf conftest* ;; esac need_locks=$enable_libtool_lock if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. set dummy ${ac_tool_prefix}mt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$MANIFEST_TOOL"; then ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL if test -n "$MANIFEST_TOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 $as_echo "$MANIFEST_TOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_MANIFEST_TOOL"; then ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL # Extract the first word of "mt", so it can be a program name with args. set dummy mt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_MANIFEST_TOOL"; then ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL if test -n "$ac_ct_MANIFEST_TOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_MANIFEST_TOOL" = x; then MANIFEST_TOOL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL fi else MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" fi test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } if ${lt_cv_path_mainfest_tool+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_path_mainfest_tool=no echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out cat conftest.err >&5 if $GREP 'Manifest Tool' conftest.out > /dev/null; then lt_cv_path_mainfest_tool=yes fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 $as_echo "$lt_cv_path_mainfest_tool" >&6; } if test yes != "$lt_cv_path_mainfest_tool"; then MANIFEST_TOOL=: fi case $host_os in rhapsody* | darwin*) if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DSYMUTIL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DSYMUTIL"; then ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DSYMUTIL=$ac_cv_prog_DSYMUTIL if test -n "$DSYMUTIL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 $as_echo "$DSYMUTIL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_DSYMUTIL"; then ac_ct_DSYMUTIL=$DSYMUTIL # Extract the first word of "dsymutil", so it can be a program name with args. set dummy dsymutil; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DSYMUTIL"; then ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL if test -n "$ac_ct_DSYMUTIL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 $as_echo "$ac_ct_DSYMUTIL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_DSYMUTIL" = x; then DSYMUTIL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DSYMUTIL=$ac_ct_DSYMUTIL fi else DSYMUTIL="$ac_cv_prog_DSYMUTIL" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. set dummy ${ac_tool_prefix}nmedit; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_NMEDIT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$NMEDIT"; then ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi NMEDIT=$ac_cv_prog_NMEDIT if test -n "$NMEDIT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 $as_echo "$NMEDIT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_NMEDIT"; then ac_ct_NMEDIT=$NMEDIT # Extract the first word of "nmedit", so it can be a program name with args. set dummy nmedit; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_NMEDIT"; then ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_NMEDIT="nmedit" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT if test -n "$ac_ct_NMEDIT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 $as_echo "$ac_ct_NMEDIT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_NMEDIT" = x; then NMEDIT=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac NMEDIT=$ac_ct_NMEDIT fi else NMEDIT="$ac_cv_prog_NMEDIT" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. set dummy ${ac_tool_prefix}lipo; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_LIPO+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$LIPO"; then ac_cv_prog_LIPO="$LIPO" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_LIPO="${ac_tool_prefix}lipo" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi LIPO=$ac_cv_prog_LIPO if test -n "$LIPO"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 $as_echo "$LIPO" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_LIPO"; then ac_ct_LIPO=$LIPO # Extract the first word of "lipo", so it can be a program name with args. set dummy lipo; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_LIPO+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_LIPO"; then ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_LIPO="lipo" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO if test -n "$ac_ct_LIPO"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 $as_echo "$ac_ct_LIPO" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_LIPO" = x; then LIPO=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac LIPO=$ac_ct_LIPO fi else LIPO="$ac_cv_prog_LIPO" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. set dummy ${ac_tool_prefix}otool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OTOOL"; then ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OTOOL="${ac_tool_prefix}otool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OTOOL=$ac_cv_prog_OTOOL if test -n "$OTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 $as_echo "$OTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OTOOL"; then ac_ct_OTOOL=$OTOOL # Extract the first word of "otool", so it can be a program name with args. set dummy otool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL"; then ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OTOOL="otool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL if test -n "$ac_ct_OTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 $as_echo "$ac_ct_OTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OTOOL" = x; then OTOOL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OTOOL=$ac_ct_OTOOL fi else OTOOL="$ac_cv_prog_OTOOL" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. set dummy ${ac_tool_prefix}otool64; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OTOOL64+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OTOOL64"; then ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OTOOL64=$ac_cv_prog_OTOOL64 if test -n "$OTOOL64"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 $as_echo "$OTOOL64" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OTOOL64"; then ac_ct_OTOOL64=$OTOOL64 # Extract the first word of "otool64", so it can be a program name with args. set dummy otool64; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL64"; then ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OTOOL64="otool64" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 if test -n "$ac_ct_OTOOL64"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 $as_echo "$ac_ct_OTOOL64" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OTOOL64" = x; then OTOOL64=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OTOOL64=$ac_ct_OTOOL64 fi else OTOOL64="$ac_cv_prog_OTOOL64" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 $as_echo_n "checking for -single_module linker flag... " >&6; } if ${lt_cv_apple_cc_single_mod+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_apple_cc_single_mod=no if test -z "$LT_MULTI_MODULE"; then # By default we will add the -single_module flag. You can override # by either setting the environment variable LT_MULTI_MODULE # non-empty at configure time, or by adding -multi_module to the # link flags. rm -rf libconftest.dylib* echo "int foo(void){return 1;}" > conftest.c echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c" >&5 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err _lt_result=$? # If there is a non-empty error log, and "single_module" # appears in it, assume the flag caused a linker warning if test -s conftest.err && $GREP single_module conftest.err; then cat conftest.err >&5 # Otherwise, if the output was created with a 0 exit code from # the compiler, it worked. elif test -f libconftest.dylib && test 0 = "$_lt_result"; then lt_cv_apple_cc_single_mod=yes else cat conftest.err >&5 fi rm -rf libconftest.dylib* rm -f conftest.* fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } if ${lt_cv_ld_exported_symbols_list+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_ld_exported_symbols_list=yes else lt_cv_ld_exported_symbols_list=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 $as_echo_n "checking for -force_load linker flag... " >&6; } if ${lt_cv_ld_force_load+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_force_load=no cat > conftest.c << _LT_EOF int forced_loaded() { return 2;} _LT_EOF echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 echo "$AR cru libconftest.a conftest.o" >&5 $AR cru libconftest.a conftest.o 2>&5 echo "$RANLIB libconftest.a" >&5 $RANLIB libconftest.a 2>&5 cat > conftest.c << _LT_EOF int main() { return 0;} _LT_EOF echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err _lt_result=$? if test -s conftest.err && $GREP force_load conftest.err; then cat conftest.err >&5 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then lt_cv_ld_force_load=yes else cat conftest.err >&5 fi rm -f conftest.err libconftest.a conftest conftest.c rm -rf conftest.dSYM fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 $as_echo "$lt_cv_ld_force_load" >&6; } case $host_os in rhapsody* | darwin1.[012]) _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; darwin1.*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; darwin*) # darwin 5.x on # if running on 10.5 or later, the deployment target defaults # to the OS version, if on x86, and 10.4, the deployment # target defaults to 10.4. Don't you love it? case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10.0,*86*-darwin8*|10.0,*-darwin[91]*) _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 10.[012][,.]*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 10.*) _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; esac ;; esac if test yes = "$lt_cv_apple_cc_single_mod"; then _lt_dar_single_mod='$single_module' fi if test yes = "$lt_cv_ld_exported_symbols_list"; then _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' else _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' fi if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then _lt_dsymutil='~$DSYMUTIL $lib || :' else _lt_dsymutil= fi ;; esac # func_munge_path_list VARIABLE PATH # ----------------------------------- # VARIABLE is name of variable containing _space_ separated list of # directories to be munged by the contents of PATH, which is string # having a format: # "DIR[:DIR]:" # string "DIR[ DIR]" will be prepended to VARIABLE # ":DIR[:DIR]" # string "DIR[ DIR]" will be appended to VARIABLE # "DIRP[:DIRP]::[DIRA:]DIRA" # string "DIRP[ DIRP]" will be prepended to VARIABLE and string # "DIRA[ DIRA]" will be appended to VARIABLE # "DIR[:DIR]" # VARIABLE will be replaced by "DIR[ DIR]" func_munge_path_list () { case x$2 in x) ;; *:) eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" ;; x:*) eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" ;; *::*) eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" ;; *) eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" ;; esac } # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in dlfcn.h do : ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default " if test "x$ac_cv_header_dlfcn_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_DLFCN_H 1 _ACEOF fi done # Set options enable_dlopen=no # Check whether --enable-shared was given. if test "${enable_shared+set}" = set; then : enableval=$enable_shared; p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for pkg in $enableval; do IFS=$lt_save_ifs if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS=$lt_save_ifs ;; esac else enable_shared=yes fi # Check whether --enable-static was given. if test "${enable_static+set}" = set; then : enableval=$enable_static; p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for pkg in $enableval; do IFS=$lt_save_ifs if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS=$lt_save_ifs ;; esac else enable_static=yes fi # Check whether --with-pic was given. if test "${with_pic+set}" = set; then : withval=$with_pic; lt_p=${PACKAGE-default} case $withval in yes|no) pic_mode=$withval ;; *) pic_mode=default # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for lt_pkg in $withval; do IFS=$lt_save_ifs if test "X$lt_pkg" = "X$lt_p"; then pic_mode=yes fi done IFS=$lt_save_ifs ;; esac else pic_mode=default fi # Check whether --enable-fast-install was given. if test "${enable_fast_install+set}" = set; then : enableval=$enable_fast_install; p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for pkg in $enableval; do IFS=$lt_save_ifs if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS=$lt_save_ifs ;; esac else enable_fast_install=yes fi shared_archive_member_spec= case $host,$enable_shared in power*-*-aix[5-9]*,yes) { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; } # Check whether --with-aix-soname was given. if test "${with_aix_soname+set}" = set; then : withval=$with_aix_soname; case $withval in aix|svr4|both) ;; *) as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 ;; esac lt_cv_with_aix_soname=$with_aix_soname else if ${lt_cv_with_aix_soname+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_with_aix_soname=aix fi with_aix_soname=$lt_cv_with_aix_soname fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 $as_echo "$with_aix_soname" >&6; } if test aix != "$with_aix_soname"; then # For the AIX way of multilib, we name the shared archive member # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, # the AIX toolchain works better with OBJECT_MODE set (default 32). if test 64 = "${OBJECT_MODE-32}"; then shared_archive_member_spec=shr_64 else shared_archive_member_spec=shr fi fi ;; *) with_aix_soname=aix ;; esac # This can be used to rebuild libtool when needed LIBTOOL_DEPS=$ltmain # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' test -z "$LN_S" && LN_S="ln -s" if test -n "${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 $as_echo_n "checking for objdir... " >&6; } if ${lt_cv_objdir+:} false; then : $as_echo_n "(cached) " >&6 else rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 $as_echo "$lt_cv_objdir" >&6; } objdir=$lt_cv_objdir cat >>confdefs.h <<_ACEOF #define LT_OBJDIR "$lt_cv_objdir/" _ACEOF case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test set != "${COLLECT_NAMES+set}"; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Global variables: ofile=libtool can_build_shared=yes # All known linkers require a '.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a with_gnu_ld=$lt_cv_prog_gnu_ld old_CC=$CC old_CFLAGS=$CFLAGS # Set sane defaults for various variables test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS test -z "$LD" && LD=ld test -z "$ac_objext" && ac_objext=o func_cc_basename $compiler cc_basename=$func_cc_basename_result # Only perform the check for file, if the check method requires it test -z "$MAGIC_CMD" && MAGIC_CMD=file case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } if ${lt_cv_path_MAGIC_CMD+:} false; then : $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD=$MAGIC_CMD lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/${ac_tool_prefix}file"; then lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD=$lt_cv_path_MAGIC_CMD if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS=$lt_save_ifs MAGIC_CMD=$lt_save_MAGIC_CMD ;; esac fi MAGIC_CMD=$lt_cv_path_MAGIC_CMD if test -n "$MAGIC_CMD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 $as_echo "$MAGIC_CMD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 $as_echo_n "checking for file... " >&6; } if ${lt_cv_path_MAGIC_CMD+:} false; then : $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD=$MAGIC_CMD lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/file"; then lt_cv_path_MAGIC_CMD=$ac_dir/"file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD=$lt_cv_path_MAGIC_CMD if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS=$lt_save_ifs MAGIC_CMD=$lt_save_MAGIC_CMD ;; esac fi MAGIC_CMD=$lt_cv_path_MAGIC_CMD if test -n "$MAGIC_CMD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 $as_echo "$MAGIC_CMD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi else MAGIC_CMD=: fi fi fi ;; esac # Use C for the default configuration in the libtool script lt_save_CC=$CC ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o objext=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}' # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # Save the default compiler, since it gets overwritten when the other # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. compiler_DEFAULT=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $RM conftest* ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $RM -r conftest* if test -n "$compiler"; then lt_prog_compiler_no_builtin_flag= if test yes = "$GCC"; then case $cc_basename in nvcc*) lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; *) lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_rtti_exceptions=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_rtti_exceptions=yes fi fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" else : fi fi lt_prog_compiler_wl= lt_prog_compiler_pic= lt_prog_compiler_static= if test yes = "$GCC"; then lt_prog_compiler_wl='-Wl,' lt_prog_compiler_static='-static' case $host_os in aix*) # All AIX code is PIC. if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' fi lt_prog_compiler_pic='-fPIC' ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support lt_prog_compiler_pic='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the '-m68020' flag to GCC prevents building anything better, # like '-m68040'. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries lt_prog_compiler_pic='-DDLL_EXPORT' case $host_os in os2*) lt_prog_compiler_static='$wl-static' ;; esac ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic='-fno-common' ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. lt_prog_compiler_static= ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) # +Z the default ;; *) lt_prog_compiler_pic='-fPIC' ;; esac ;; interix[3-9]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. lt_prog_compiler_can_build_shared=no enable_shared=no ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. lt_prog_compiler_pic='-fPIC -shared' ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic=-Kconform_pic fi ;; *) lt_prog_compiler_pic='-fPIC' ;; esac case $cc_basename in nvcc*) # Cuda Compiler Driver 2.2 lt_prog_compiler_wl='-Xlinker ' if test -n "$lt_prog_compiler_pic"; then lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" fi ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl='-Wl,' if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' else lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' fi ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic='-fno-common' case $cc_basename in nagfor*) # NAG Fortran compiler lt_prog_compiler_wl='-Wl,-Wl,,' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; esac ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic='-DDLL_EXPORT' case $host_os in os2*) lt_prog_compiler_static='$wl-static' ;; esac ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static='$wl-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static='-non_shared' ;; linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) case $cc_basename in # old Intel for x86_64, which still supported -KPIC. ecc*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-static' ;; # icc used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. icc* | ifort*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' lt_prog_compiler_static='-static' ;; # Lahey Fortran 8.1. lf95*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='--shared' lt_prog_compiler_static='--static' ;; nagfor*) # NAG Fortran compiler lt_prog_compiler_wl='-Wl,-Wl,,' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; tcc*) # Fabrice Bellard et al's Tiny C Compiler lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' lt_prog_compiler_static='-static' ;; pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fpic' lt_prog_compiler_static='-Bstatic' ;; ccc*) lt_prog_compiler_wl='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static='-non_shared' ;; xl* | bgxl* | bgf* | mpixl*) # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-qpic' lt_prog_compiler_static='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) # Sun Fortran 8.3 passes all unrecognized flags to the linker lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='' ;; *Sun\ F* | *Sun*Fortran*) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='-Qoption ld ' ;; *Sun\ C*) # Sun C 5.9 lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='-Wl,' ;; *Intel*\ [CF]*Compiler*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' lt_prog_compiler_static='-static' ;; *Portland\ Group*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fpic' lt_prog_compiler_static='-Bstatic' ;; esac ;; esac ;; newsos6) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. lt_prog_compiler_pic='-fPIC -shared' ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static='-non_shared' ;; rdos*) lt_prog_compiler_static='-non_shared' ;; solaris*) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' case $cc_basename in f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) lt_prog_compiler_wl='-Qoption ld ';; *) lt_prog_compiler_wl='-Wl,';; esac ;; sunos4*) lt_prog_compiler_wl='-Qoption ld ' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic='-Kconform_pic' lt_prog_compiler_static='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; unicos*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_can_build_shared=no ;; uts4*) lt_prog_compiler_pic='-pic' lt_prog_compiler_static='-Bstatic' ;; *) lt_prog_compiler_can_build_shared=no ;; esac fi case $host_os in # For platforms that do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic= ;; *) lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } if ${lt_cv_prog_compiler_pic+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic=$lt_prog_compiler_pic fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 $as_echo "$lt_cv_prog_compiler_pic" >&6; } lt_prog_compiler_pic=$lt_cv_prog_compiler_pic # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } if ${lt_cv_prog_compiler_pic_works+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic_works=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_pic_works=yes fi fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } if test yes = "$lt_cv_prog_compiler_pic_works"; then case $lt_prog_compiler_pic in "" | " "*) ;; *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; esac else lt_prog_compiler_pic= lt_prog_compiler_can_build_shared=no fi fi # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } if ${lt_cv_prog_compiler_static_works+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_static_works=no save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS $lt_tmp_static_flag" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_static_works=yes fi else lt_cv_prog_compiler_static_works=yes fi fi $RM -r conftest* LDFLAGS=$save_LDFLAGS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } if test yes = "$lt_cv_prog_compiler_static_works"; then : else lt_prog_compiler_static= fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } if ${lt_cv_prog_compiler_c_o+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o=yes fi fi chmod u+w . 2>&5 $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } if ${lt_cv_prog_compiler_c_o+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o=yes fi fi chmod u+w . 2>&5 $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } hard_links=nottested if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then # do not overwrite the value of need_locks provided by the user { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 $as_echo_n "checking if we can lock with hard links... " >&6; } hard_links=yes $RM conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 $as_echo "$hard_links" >&6; } if test no = "$hard_links"; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } runpath_var= allow_undefined_flag= always_export_symbols=no archive_cmds= archive_expsym_cmds= compiler_needs_object=no enable_shared_with_static_runtimes=no export_dynamic_flag_spec= export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' hardcode_automatic=no hardcode_direct=no hardcode_direct_absolute=no hardcode_libdir_flag_spec= hardcode_libdir_separator= hardcode_minus_L=no hardcode_shlibpath_var=unsupported inherit_rpath=no link_all_deplibs=unknown module_cmds= module_expsym_cmds= old_archive_from_new_cmds= old_archive_from_expsyms_cmds= thread_safe_flag_spec= whole_archive_flag_spec= # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ' (' and ')$', so one must not match beginning or # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', # as well as any symbol that contains 'd'. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. # Exclude shared library initialization/finalization symbols. extract_expsyms_cmds= case $host_os in cygwin* | mingw* | pw32* | cegcc*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test yes != "$GCC"; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd* | bitrig*) with_gnu_ld=no ;; linux* | k*bsd*-gnu | gnu*) link_all_deplibs=no ;; esac ld_shlibs=yes # On some targets, GNU ld is compatible enough with the native linker # that we're better off using the native interface for both. lt_use_gnu_ld_interface=no if test yes = "$with_gnu_ld"; then case $host_os in aix*) # The AIX port of GNU ld has always aspired to compatibility # with the native linker. However, as the warning in the GNU ld # block says, versions before 2.19.5* couldn't really create working # shared libraries, regardless of the interface used. case `$LD -v 2>&1` in *\ \(GNU\ Binutils\)\ 2.19.5*) ;; *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; *\ \(GNU\ Binutils\)\ [3-9]*) ;; *) lt_use_gnu_ld_interface=yes ;; esac ;; *) lt_use_gnu_ld_interface=yes ;; esac fi if test yes = "$lt_use_gnu_ld_interface"; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='$wl' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' export_dynamic_flag_spec='$wl--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' else whole_archive_flag_spec= fi supports_anon_versioning=no case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in *GNU\ gold*) supports_anon_versioning=yes ;; *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix[3-9]*) # On AIX/PPC, the GNU linker is very broken if test ia64 != "$host_cpu"; then ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: the GNU linker, at least up to release 2.19, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to install binutils *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. *** You will then need to restart the configuration process. _LT_EOF fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='' ;; m68k) archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then allow_undefined_flag=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' else ld_shlibs=no fi ;; cygwin* | mingw* | pw32* | cegcc*) # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' export_dynamic_flag_spec='$wl--export-all-symbols' allow_undefined_flag=unsupported always_export_symbols=no enable_shared_with_static_runtimes=yes export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file, use it as # is; otherwise, prepend EXPORTS... archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else ld_shlibs=no fi ;; haiku*) archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' link_all_deplibs=yes ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported shrext_cmds=.dll archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' enable_shared_with_static_runtimes=yes ;; interix[3-9]*) hardcode_direct=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='$wl-rpath,$libdir' export_dynamic_flag_spec='$wl-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) tmp_diet=no if test linux-dietlibc = "$host_os"; then case $cc_basename in diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) esac fi if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ && test no = "$tmp_diet" then tmp_addflag=' $pic_flag' tmp_sharedflag='-shared' case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group f77 and f90 compilers whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; lf95*) # Lahey Fortran 8.1 whole_archive_flag_spec= tmp_sharedflag='--shared' ;; nagfor*) # NAGFOR 5.3 tmp_sharedflag='-Wl,-shared' ;; xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; nvcc*) # Cuda Compiler Driver 2.2 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' compiler_needs_object=yes ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' compiler_needs_object=yes tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; esac archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' if test yes = "$supports_anon_versioning"; then archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' fi case $cc_basename in tcc*) export_dynamic_flag_spec='-rdynamic' ;; xlf* | bgf* | bgxlf* | mpixlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test yes = "$supports_anon_versioning"; then archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' fi ;; esac else ld_shlibs=no fi ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac ;; sunos4*) archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct=yes hardcode_shlibpath_var=no ;; *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac if test no = "$ld_shlibs"; then runpath_var= hardcode_libdir_flag_spec= export_dynamic_flag_spec= whole_archive_flag_spec= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag=unsupported always_export_symbols=yes archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=unsupported fi ;; aix[4-9]*) if test ia64 = "$host_cpu"; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag= else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to GNU nm, but means don't demangle to AIX nm. # Without the "-l" option, or with the "-B" option, AIX nm treats # weak defined symbols like other global defined symbols, whereas # GNU nm marks them as "W". # While the 'weak' keyword is ignored in the Export File, we need # it in the Import File for the 'aix-soname' feature, so we have # to replace the "-B" option with "-P" for AIX nm. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' else export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # have runtime linking enabled, and use it for executables. # For shared libraries, we enable/disable runtime linking # depending on the kind of the shared library created - # when "with_aix_soname,aix_use_runtimelinking" is: # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables # "aix,yes" lib.so shared, rtl:yes, for executables # lib.a static archive # "both,no" lib.so.V(shr.o) shared, rtl:yes # lib.a(lib.so.V) shared, rtl:no, for executables # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a(lib.so.V) shared, rtl:no # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a static archive case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) for ld_flag in $LDFLAGS; do if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then aix_use_runtimelinking=yes break fi done if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then # With aix-soname=svr4, we create the lib.so.V shared archives only, # so we don't have lib.a shared libs to link our executables. # We have to force runtime linking in this case. aix_use_runtimelinking=yes LDFLAGS="$LDFLAGS -Wl,-brtl" fi ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds='' hardcode_direct=yes hardcode_direct_absolute=yes hardcode_libdir_separator=':' link_all_deplibs=yes file_list_spec='$wl-f,' case $with_aix_soname,$aix_use_runtimelinking in aix,*) ;; # traditional, no import file svr4,* | *,yes) # use import file # The Import File defines what to hardcode. hardcode_direct=no hardcode_direct_absolute=no ;; esac if test yes = "$GCC"; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`$CC -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 hardcode_direct=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi ;; esac shared_flag='-shared' if test yes = "$aix_use_runtimelinking"; then shared_flag="$shared_flag "'$wl-G' fi # Need to ensure runtime linking is disabled for the traditional # shared library, or the linker may eventually find shared libraries # /with/ Import File - we do not want to mix them. shared_flag_aix='-shared' shared_flag_svr4='-shared $wl-G' else # not using gcc if test ia64 = "$host_cpu"; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test yes = "$aix_use_runtimelinking"; then shared_flag='$wl-G' else shared_flag='$wl-bM:SRE' fi shared_flag_aix='$wl-bM:SRE' shared_flag_svr4='$wl-G' fi fi export_dynamic_flag_spec='$wl-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols=yes if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an # empty executable. if test set = "${lt_cv_aix_libpath+set}"; then aix_libpath=$lt_cv_aix_libpath else if ${lt_cv_aix_libpath_+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }' lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=/usr/lib:/lib fi fi aix_libpath=$lt_cv_aix_libpath_ fi hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag else if test ia64 = "$host_cpu"; then hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' allow_undefined_flag="-z nodefs" archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. if test set = "${lt_cv_aix_libpath+set}"; then aix_libpath=$lt_cv_aix_libpath else if ${lt_cv_aix_libpath_+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }' lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=/usr/lib:/lib fi fi aix_libpath=$lt_cv_aix_libpath_ fi hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag=' $wl-bernotok' allow_undefined_flag=' $wl-berok' if test yes = "$with_gnu_ld"; then # We only use this code for GNU lds that support --whole-archive. whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec='$convenience' fi archive_cmds_need_lc=yes archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' # -brtl affects multiple linker settings, -berok does not and is overridden later compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' if test svr4 != "$with_aix_soname"; then # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' fi if test aix != "$with_aix_soname"; then archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' else # used by -dlpreopen to get the symbols archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' fi archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' fi fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='' ;; m68k) archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; bsdi[45]*) export_dynamic_flag_spec=-rdynamic ;; cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. case $cc_basename in cl*) # Native MSVC hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported always_export_symbols=yes file_list_spec='@' # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then cp "$export_symbols" "$output_objdir/$soname.def"; echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; else $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; fi~ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, )='true' enable_shared_with_static_runtimes=yes exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' # Don't use ranlib old_postinstall_cmds='chmod 644 $oldlib' postlink_cmds='lt_outputfile="@OUTPUT@"~ lt_tool_outputfile="@TOOL_OUTPUT@"~ case $lt_outputfile in *.exe|*.EXE) ;; *) lt_outputfile=$lt_outputfile.exe lt_tool_outputfile=$lt_tool_outputfile.exe ;; esac~ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; $RM "$lt_outputfile.manifest"; fi' ;; *) # Assume MSVC wrapper hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_from_new_cmds='true' # FIXME: Should let the user specify the lib program. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' enable_shared_with_static_runtimes=yes ;; esac ;; darwin* | rhapsody*) archive_cmds_need_lc=no hardcode_direct=no hardcode_automatic=yes hardcode_shlibpath_var=unsupported if test yes = "$lt_cv_ld_force_load"; then whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' else whole_archive_flag_spec='' fi link_all_deplibs=yes allow_undefined_flag=$_lt_dar_allow_undefined case $cc_basename in ifort*|nagfor*) _lt_dar_can_shared=yes ;; *) _lt_dar_can_shared=$GCC ;; esac if test yes = "$_lt_dar_can_shared"; then output_verbose_link_cmd=func_echo_all archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" else ld_shlibs=no fi ;; dgux*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2.*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; hpux9*) if test yes = "$GCC"; then archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' else archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' fi hardcode_libdir_flag_spec='$wl+b $wl$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes export_dynamic_flag_spec='$wl-E' ;; hpux10*) if test yes,no = "$GCC,$with_gnu_ld"; then archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test no = "$with_gnu_ld"; then hardcode_libdir_flag_spec='$wl+b $wl$libdir' hardcode_libdir_separator=: hardcode_direct=yes hardcode_direct_absolute=yes export_dynamic_flag_spec='$wl-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes fi ;; hpux11*) if test yes,no = "$GCC,$with_gnu_ld"; then case $host_cpu in hppa*64*) archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) # Older versions of the 11.00 compiler do not understand -b yet # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 $as_echo_n "checking if $CC understands -b... " >&6; } if ${lt_cv_prog_compiler__b+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler__b=no save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -b" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler__b=yes fi else lt_cv_prog_compiler__b=yes fi fi $RM -r conftest* LDFLAGS=$save_LDFLAGS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 $as_echo "$lt_cv_prog_compiler__b" >&6; } if test yes = "$lt_cv_prog_compiler__b"; then archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi ;; esac fi if test no = "$with_gnu_ld"; then hardcode_libdir_flag_spec='$wl+b $wl$libdir' hardcode_libdir_separator=: case $host_cpu in hppa*64*|ia64*) hardcode_direct=no hardcode_shlibpath_var=no ;; *) hardcode_direct=yes hardcode_direct_absolute=yes export_dynamic_flag_spec='$wl-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test yes = "$GCC"; then archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' # Try to use the -exported_symbol ld option, if it does not # work, assume that -exports_file does not work either and # implicitly export all symbols. # This should be the same for all languages, so no per-tag cache variable. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } if ${lt_cv_irix_exported_symbol+:} false; then : $as_echo_n "(cached) " >&6 else save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int foo (void) { return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_irix_exported_symbol=yes else lt_cv_irix_exported_symbol=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 $as_echo "$lt_cv_irix_exported_symbol" >&6; } if test yes = "$lt_cv_irix_exported_symbol"; then archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' fi link_all_deplibs=no else archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' fi archive_cmds_need_lc='no' hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' hardcode_libdir_separator=: inherit_rpath=yes link_all_deplibs=yes ;; linux*) case $cc_basename in tcc*) # Fabrice Bellard et al's Tiny C Compiler ld_shlibs=yes archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; newsos6) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' hardcode_libdir_separator=: hardcode_shlibpath_var=no ;; *nto* | *qnx*) ;; openbsd* | bitrig*) if test -f /usr/libexec/ld.so; then hardcode_direct=yes hardcode_shlibpath_var=no hardcode_direct_absolute=yes if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec='$wl-rpath,$libdir' export_dynamic_flag_spec='$wl-E' else archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='$wl-rpath,$libdir' fi else ld_shlibs=no fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported shrext_cmds=.dll archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' enable_shared_with_static_runtimes=yes ;; osf3*) if test yes = "$GCC"; then allow_undefined_flag=' $wl-expect_unresolved $wl\*' archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' fi archive_cmds_need_lc='no' hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test yes = "$GCC"; then allow_undefined_flag=' $wl-expect_unresolved $wl\*' archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' fi archive_cmds_need_lc='no' hardcode_libdir_separator=: ;; solaris*) no_undefined_flag=' -z defs' if test yes = "$GCC"; then wlarc='$wl' archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' else case `$CC -V 2>&1` in *"Compilers 5.0"*) wlarc='' archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' ;; *) wlarc='$wl' archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' ;; esac fi hardcode_libdir_flag_spec='-R$libdir' hardcode_shlibpath_var=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands '-z linker_flag'. GCC discards it without '$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test yes = "$GCC"; then whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' else whole_archive_flag_spec='-z allextract$convenience -z defaultextract' fi ;; esac link_all_deplibs=yes ;; sunos4*) if test sequent = "$host_vendor"; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; sysv4) case $host_vendor in sni) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds='$CC -r -o $output$reload_objs' hardcode_direct=no ;; motorola) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var=no ;; sysv4.3*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no export_dynamic_flag_spec='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) no_undefined_flag='$wl-z,text' archive_cmds_need_lc=no hardcode_shlibpath_var=no runpath_var='LD_RUN_PATH' if test yes = "$GCC"; then archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We CANNOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. no_undefined_flag='$wl-z,text' allow_undefined_flag='$wl-z,nodefs' archive_cmds_need_lc=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='$wl-R,$libdir' hardcode_libdir_separator=':' link_all_deplibs=yes export_dynamic_flag_spec='$wl-Bexport' runpath_var='LD_RUN_PATH' if test yes = "$GCC"; then archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; *) ld_shlibs=no ;; esac if test sni = "$host_vendor"; then case $host in sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) export_dynamic_flag_spec='$wl-Blargedynsym' ;; esac fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 $as_echo "$ld_shlibs" >&6; } test no = "$ld_shlibs" && can_build_shared=no with_gnu_ld=$with_gnu_ld # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc" in x|xyes) # Assume -lc should be added archive_cmds_need_lc=yes if test yes,yes = "$GCC,$enable_shared"; then case $archive_cmds in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } if ${lt_cv_archive_cmds_need_lc+:} false; then : $as_echo_n "(cached) " >&6 else $RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl pic_flag=$lt_prog_compiler_pic compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag allow_undefined_flag= if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then lt_cv_archive_cmds_need_lc=no else lt_cv_archive_cmds_need_lc=yes fi allow_undefined_flag=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc ;; esac fi ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 $as_echo_n "checking dynamic linker characteristics... " >&6; } if test yes = "$GCC"; then case $host_os in darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; *) lt_awk_arg='/^libraries:/' ;; esac case $host_os in mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; *) lt_sed_strip_eq='s|=/|/|g' ;; esac lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` case $lt_search_path_spec in *\;*) # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` ;; *) lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` ;; esac # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary... lt_tmp_lt_search_path_spec= lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` # ...but if some path component already ends with the multilib dir we assume # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). case "$lt_multi_os_dir; $lt_search_path_spec " in "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) lt_multi_os_dir= ;; esac for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" elif test -n "$lt_multi_os_dir"; then test -d "$lt_sys_path" && \ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' BEGIN {RS = " "; FS = "/|\n";} { lt_foo = ""; lt_count = 0; for (lt_i = NF; lt_i > 0; lt_i--) { if ($lt_i != "" && $lt_i != ".") { if ($lt_i == "..") { lt_count++; } else { if (lt_count == 0) { lt_foo = "/" $lt_i lt_foo; } else { lt_count--; } } } } if (lt_foo != "") { lt_freq[lt_foo]++; } if (lt_freq[lt_foo] == 1) { print lt_foo; } }'` # AWK program above erroneously prepends '/' to C:/dos/paths # for these hosts. case $host_os in mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ $SED 's|/\([A-Za-z]:\)|\1|g'` ;; esac sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=.so postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='$libname$release$shared_ext$major' ;; aix[4-9]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no hardcode_into_libs=yes if test ia64 = "$host_cpu"; then # AIX 5 supports IA64 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line '#! .'. This would cause the generated library to # depend on '.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then : else can_build_shared=no fi ;; esac # Using Import Files as archive members, it is possible to support # filename-based versioning of shared library archives on AIX. While # this would work for both with and without runtime linking, it will # prevent static linking of such archives. So we do filename-based # shared library versioning with .so extension only, which is used # when both runtime linking and shared linking is enabled. # Unfortunately, runtime linking may impact performance, so we do # not want this to be the default eventually. Also, we use the # versioned .so libs for executables only if there is the -brtl # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. # To allow for filename-based versioning support, we need to create # libNAME.so.V as an archive file, containing: # *) an Import File, referring to the versioned filename of the # archive as well as the shared archive member, telling the # bitwidth (32 or 64) of that shared object, and providing the # list of exported symbols of that shared object, eventually # decorated with the 'weak' keyword # *) the shared object with the F_LOADONLY flag set, to really avoid # it being seen by the linker. # At run time we better use the real file rather than another symlink, # but for link time we create the symlink libNAME.so -> libNAME.so.V case $with_aix_soname,$aix_use_runtimelinking in # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. aix,yes) # traditional libtool dynamic_linker='AIX unversionable lib.so' # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' ;; aix,no) # traditional AIX only dynamic_linker='AIX lib.a(lib.so.V)' # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='$libname$release.a $libname.a' soname_spec='$libname$release$shared_ext$major' ;; svr4,*) # full svr4 only dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' # We do not specify a path in Import Files, so LIBPATH fires. shlibpath_overrides_runpath=yes ;; *,yes) # both, prefer svr4 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' # unpreferred sharedlib libNAME.a needs extra handling postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' # We do not specify a path in Import Files, so LIBPATH fires. shlibpath_overrides_runpath=yes ;; *,no) # both, prefer aix dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" library_names_spec='$libname$release.a $libname.a' soname_spec='$libname$release$shared_ext$major' # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' ;; esac shlibpath_var=LIBPATH fi ;; amigaos*) case $host_cpu in powerpc) # Since July 2007 AmigaOS4 officially supports .so libraries. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' ;; m68k) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; beos*) library_names_spec='$libname$shared_ext' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux # correct to gnu/linux during the next big refactor need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32* | cegcc*) version_type=windows shrext_cmds=.dll need_version=no need_lib_prefix=no case $GCC,$cc_basename in yes,*) # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" ;; mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' ;; esac dynamic_linker='Win32 ld.exe' ;; *,cl*) # Native MSVC libname_spec='$name' soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' library_names_spec='$libname.dll.lib' case $build_os in mingw*) sys_lib_search_path_spec= lt_save_ifs=$IFS IFS=';' for lt_path in $LIB do IFS=$lt_save_ifs # Let DOS variable expansion print the short 8.3 style file name. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" done IFS=$lt_save_ifs # Convert to MSYS style. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` ;; cygwin*) # Convert to unix form, then to dos form, then back to unix form # but this time dos style (no spaces!) so that the unix form looks # like /cygdrive/c/PROGRA~1:/cygdr... sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` ;; *) sys_lib_search_path_spec=$LIB if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi # FIXME: find the short name or the path components, as spaces are # common. (e.g. "Program Files" -> "PROGRA~1") ;; esac # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes dynamic_linker='Win32 link.exe' ;; *) # Assume MSVC wrapper library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' dynamic_linker='Win32 ld.exe' ;; esac # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' soname_spec='$libname$release$major$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[23].*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2.*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; haiku*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no dynamic_linker="$host_os runtime_loader" library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LIBRARY_PATH shlibpath_overrides_runpath=no sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' if test 32 = "$HPUX_IA64_MODE"; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" sys_lib_dlsearch_path_spec=/usr/lib/hpux32 else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" sys_lib_dlsearch_path_spec=/usr/lib/hpux64 fi ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555, ... postinstall_cmds='chmod 555 $lib' # or fails outright, so override atomically: install_override_mode=555 ;; interix[3-9]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test yes = "$lt_cv_prog_gnu_ld"; then version_type=linux # correct to gnu/linux during the next big refactor else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='$libname$release$shared_ext$major' library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; linux*android*) version_type=none # Android doesn't support versioned libraries. need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext' soname_spec='$libname$release$shared_ext' finish_cmds= shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes dynamic_linker='Android linker' # Don't embed -rpath directories since the linker doesn't support them. hardcode_libdir_flag_spec='-L$libdir' ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # Some binutils ld are patched to set DT_RUNPATH if ${lt_cv_shlibpath_overrides_runpath+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_shlibpath_overrides_runpath=no save_LDFLAGS=$LDFLAGS save_libdir=$libdir eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : lt_cv_shlibpath_overrides_runpath=yes fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS libdir=$save_libdir fi shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Ideally, we could use ldconfig to report *all* directores which are # searched for libraries, however this is still not possible. Aside from not # being certain /sbin/ldconfig is available, command # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, # even though it is searched at run-time. Try to do the best guess by # appending ld.so.conf contents (and includes) to the search path. if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; *nto* | *qnx*) version_type=qnx need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='ldqnx.so' ;; openbsd* | bitrig*) version_type=sunos sys_lib_dlsearch_path_spec=/usr/lib need_lib_prefix=no if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then need_version=no else need_version=yes fi library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; os2*) libname_spec='$name' version_type=windows shrext_cmds=.dll need_version=no need_lib_prefix=no # OS/2 can only load a DLL with a base name of 8 characters or less. soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; v=$($ECHO $release$versuffix | tr -d .-); n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); $ECHO $n$v`$shared_ext' library_names_spec='${libname}_dll.$libext' dynamic_linker='OS/2 ld.exe' shlibpath_var=BEGINLIBPATH sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='$libname$release$shared_ext$major' library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test yes = "$with_gnu_ld"; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec; then version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' soname_spec='$libname$shared_ext.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=sco need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes if test yes = "$with_gnu_ld"; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; tpf*) # TPF is a cross-target only. Preferred cross-host = GNU/Linux. version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; uts4*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 $as_echo "$dynamic_linker" >&6; } test no = "$dynamic_linker" && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test yes = "$GCC"; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec fi if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec fi # remember unaugmented sys_lib_dlsearch_path content for libtool script decls... configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } hardcode_action= if test -n "$hardcode_libdir_flag_spec" || test -n "$runpath_var" || test yes = "$hardcode_automatic"; then # We can hardcode non-existent directories. if test no != "$hardcode_direct" && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && test no != "$hardcode_minus_L"; then # Linking always hardcodes the temporary library directory. hardcode_action=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action=unsupported fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 $as_echo "$hardcode_action" >&6; } if test relink = "$hardcode_action" || test yes = "$inherit_rpath"; then # Fast installation is not supported enable_fast_install=no elif test yes = "$shlibpath_overrides_runpath" || test no = "$enable_shared"; then # Fast installation is not necessary enable_fast_install=needless fi if test yes != "$enable_dlopen"; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen=load_add_on lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32* | cegcc*) lt_cv_dlopen=LoadLibrary lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen=dlopen lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } if ${ac_cv_lib_dl_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dl_dlopen=yes else ac_cv_lib_dl_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } if test "x$ac_cv_lib_dl_dlopen" = xyes; then : lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl else lt_cv_dlopen=dyld lt_cv_dlopen_libs= lt_cv_dlopen_self=yes fi ;; tpf*) # Don't try to run any link tests for TPF. We know it's impossible # because TPF is a cross-compiler, and we know how we open DSOs. lt_cv_dlopen=dlopen lt_cv_dlopen_libs= lt_cv_dlopen_self=no ;; *) ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" if test "x$ac_cv_func_shl_load" = xyes; then : lt_cv_dlopen=shl_load else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 $as_echo_n "checking for shl_load in -ldld... " >&6; } if ${ac_cv_lib_dld_shl_load+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char shl_load (); int main () { return shl_load (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dld_shl_load=yes else ac_cv_lib_dld_shl_load=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } if test "x$ac_cv_lib_dld_shl_load" = xyes; then : lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld else ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" if test "x$ac_cv_func_dlopen" = xyes; then : lt_cv_dlopen=dlopen else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } if ${ac_cv_lib_dl_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dl_dlopen=yes else ac_cv_lib_dl_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } if test "x$ac_cv_lib_dl_dlopen" = xyes; then : lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 $as_echo_n "checking for dlopen in -lsvld... " >&6; } if ${ac_cv_lib_svld_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_svld_dlopen=yes else ac_cv_lib_svld_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } if test "x$ac_cv_lib_svld_dlopen" = xyes; then : lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 $as_echo_n "checking for dld_link in -ldld... " >&6; } if ${ac_cv_lib_dld_dld_link+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dld_link (); int main () { return dld_link (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dld_dld_link=yes else ac_cv_lib_dld_dld_link=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } if test "x$ac_cv_lib_dld_dld_link" = xyes; then : lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld fi fi fi fi fi fi ;; esac if test no = "$lt_cv_dlopen"; then enable_dlopen=no else enable_dlopen=yes fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS=$CPPFLAGS test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS=$LDFLAGS wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS=$LIBS LIBS="$lt_cv_dlopen_libs $LIBS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 $as_echo_n "checking whether a program can dlopen itself... " >&6; } if ${lt_cv_dlopen_self+:} false; then : $as_echo_n "(cached) " >&6 else if test yes = "$cross_compiling"; then : lt_cv_dlopen_self=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF #line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H #include #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif /* When -fvisibility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) int fnord () __attribute__((visibility("default"))); #endif int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else { if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; else puts (dlerror ()); } /* dlclose (self); */ } else puts (dlerror ()); return status; } _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; esac else : # compilation failed lt_cv_dlopen_self=no fi fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 $as_echo "$lt_cv_dlopen_self" >&6; } if test yes = "$lt_cv_dlopen_self"; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } if ${lt_cv_dlopen_self_static+:} false; then : $as_echo_n "(cached) " >&6 else if test yes = "$cross_compiling"; then : lt_cv_dlopen_self_static=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF #line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H #include #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif /* When -fvisibility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) int fnord () __attribute__((visibility("default"))); #endif int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else { if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; else puts (dlerror ()); } /* dlclose (self); */ } else puts (dlerror ()); return status; } _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; esac else : # compilation failed lt_cv_dlopen_self_static=no fi fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 $as_echo "$lt_cv_dlopen_self_static" >&6; } fi CPPFLAGS=$save_CPPFLAGS LDFLAGS=$save_LDFLAGS LIBS=$save_LIBS ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi striplib= old_striplib= { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 $as_echo_n "checking whether stripping libraries is possible... " >&6; } if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP"; then striplib="$STRIP -x" old_striplib="$STRIP -S" { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } ;; esac fi # Report what library types will actually be built { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 $as_echo_n "checking if libtool supports shared libraries... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 $as_echo "$can_build_shared" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 $as_echo_n "checking whether to build shared libraries... " >&6; } test no = "$can_build_shared" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test yes = "$enable_shared" && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[4-9]*) if test ia64 != "$host_cpu"; then case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in yes,aix,yes) ;; # shared object as lib.so file only yes,svr4,*) ;; # shared object as lib.so archive member only yes,*) enable_static=no ;; # shared object in lib.a archive as well esac fi ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 $as_echo "$enable_shared" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 $as_echo_n "checking whether to build static libraries... " >&6; } # Make sure either enable_shared or enable_static is yes. test yes = "$enable_shared" || enable_static=yes { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 $as_echo "$enable_static" >&6; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC=$lt_save_CC ac_config_commands="$ac_config_commands libtool" # Only expand once: # not 64 bit clean in cross-compile # The cast to long int works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 $as_echo_n "checking size of void *... " >&6; } if ${ac_cv_sizeof_void_p+:} false; then : $as_echo_n "(cached) " >&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : else if test "$ac_cv_type_void_p" = yes; then { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (void *) See \`config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_void_p=0 fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 $as_echo "$ac_cv_sizeof_void_p" >&6; } cat >>confdefs.h <<_ACEOF #define SIZEOF_VOID_P $ac_cv_sizeof_void_p _ACEOF CFLAGS="${CFLAGS} -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wshadow -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings" if test "x$enable_maintainer_mode" = "xyes"; then DEBUG_FLAGS='-debug:pdbonly' else DEBUG_FLAGS= # Check whether --enable-debug was given. if test "${enable_debug+set}" = set; then : enableval=$enable_debug; DEBUG_FLAGS='-debug' fi fi enable_msi="no" if test "x$platform_win32" = "xyes"; then # Extract the first word of "candle", so it can be a program name with args. set dummy candle; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_WIX+:} false; then : $as_echo_n "(cached) " >&6 else case $WIX in [\\/]* | ?:[\\/]*) ac_cv_path_WIX="$WIX" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_WIX="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_WIX" && ac_cv_path_WIX="no" ;; esac fi WIX=$ac_cv_path_WIX if test -n "$WIX"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX" >&5 $as_echo "$WIX" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$WIX" != "xno" ; then enable_msi="yes" fi fi CSDEFINES='-define:GTK_SHARP_2_6 -define:GTK_SHARP_2_8 -define:GTK_SHARP_2_10 -define:GTK_SHARP_2_12' GTK_SHARP_VERSION_CFLAGS='-DGTK_SHARP_2_6 -DGTK_SHARP_2_8 -DGTK_SHARP_2_10 -DGTK_SHARP_2_12' # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 $as_echo "$PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$PKG_CONFIG" = "xno"; then as_fn_error $? "You need to install pkg-config" "$LINENO" 5 fi BUILD_GTK_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0` BUILD_GTK_LIBS=`$PKG_CONFIG --libs gtk+-2.0` # The cast to long int works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5 $as_echo_n "checking size of off_t... " >&6; } if ${ac_cv_sizeof_off_t+:} false; then : $as_echo_n "(cached) " >&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then : else if test "$ac_cv_type_off_t" = yes; then { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (off_t) See \`config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_off_t=0 fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5 $as_echo "$ac_cv_sizeof_off_t" >&6; } cat >>confdefs.h <<_ACEOF #define SIZEOF_OFF_T $ac_cv_sizeof_off_t _ACEOF OFF_T_FLAGS="-define:OFF_T_$ac_cv_sizeof_off_t" MONO_REQUIRED_VERSION=1.0 FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT=4.4 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 $as_echo "$PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 $as_echo "$ac_pt_PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then PKG_CONFIG="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG fi else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } PKG_CONFIG="" fi fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MONO_DEPENDENCY" >&5 $as_echo_n "checking for MONO_DEPENDENCY... " >&6; } if test -n "$MONO_DEPENDENCY_CFLAGS"; then pkg_cv_MONO_DEPENDENCY_CFLAGS="$MONO_DEPENDENCY_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono >= \$MONO_REQUIRED_VERSION\""; } >&5 ($PKG_CONFIG --exists --print-errors "mono >= $MONO_REQUIRED_VERSION") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MONO_DEPENDENCY_CFLAGS=`$PKG_CONFIG --cflags "mono >= $MONO_REQUIRED_VERSION" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$MONO_DEPENDENCY_LIBS"; then pkg_cv_MONO_DEPENDENCY_LIBS="$MONO_DEPENDENCY_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono >= \$MONO_REQUIRED_VERSION\""; } >&5 ($PKG_CONFIG --exists --print-errors "mono >= $MONO_REQUIRED_VERSION") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MONO_DEPENDENCY_LIBS=`$PKG_CONFIG --libs "mono >= $MONO_REQUIRED_VERSION" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then MONO_DEPENDENCY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mono >= $MONO_REQUIRED_VERSION" 2>&1` else MONO_DEPENDENCY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mono >= $MONO_REQUIRED_VERSION" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$MONO_DEPENDENCY_PKG_ERRORS" >&5 has_mono=false elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } has_mono=false else MONO_DEPENDENCY_CFLAGS=$pkg_cv_MONO_DEPENDENCY_CFLAGS MONO_DEPENDENCY_LIBS=$pkg_cv_MONO_DEPENDENCY_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } has_mono=true fi if test "x$has_mono" = "xfalse" ; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MONO_DEPENDENCY" >&5 $as_echo_n "checking for MONO_DEPENDENCY... " >&6; } if test -n "$MONO_DEPENDENCY_CFLAGS"; then pkg_cv_MONO_DEPENDENCY_CFLAGS="$MONO_DEPENDENCY_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono-2 >= \$MONO_REQUIRED_VERSION\""; } >&5 ($PKG_CONFIG --exists --print-errors "mono-2 >= $MONO_REQUIRED_VERSION") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MONO_DEPENDENCY_CFLAGS=`$PKG_CONFIG --cflags "mono-2 >= $MONO_REQUIRED_VERSION" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$MONO_DEPENDENCY_LIBS"; then pkg_cv_MONO_DEPENDENCY_LIBS="$MONO_DEPENDENCY_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono-2 >= \$MONO_REQUIRED_VERSION\""; } >&5 ($PKG_CONFIG --exists --print-errors "mono-2 >= $MONO_REQUIRED_VERSION") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MONO_DEPENDENCY_LIBS=`$PKG_CONFIG --libs "mono-2 >= $MONO_REQUIRED_VERSION" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then MONO_DEPENDENCY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mono-2 >= $MONO_REQUIRED_VERSION" 2>&1` else MONO_DEPENDENCY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mono-2 >= $MONO_REQUIRED_VERSION" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$MONO_DEPENDENCY_PKG_ERRORS" >&5 has_mono=false elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } has_mono=false else MONO_DEPENDENCY_CFLAGS=$pkg_cv_MONO_DEPENDENCY_CFLAGS MONO_DEPENDENCY_LIBS=$pkg_cv_MONO_DEPENDENCY_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } has_mono=true fi if test "x$has_mono" = "xtrue" ; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MONO_DEPENDENCY" >&5 $as_echo_n "checking for MONO_DEPENDENCY... " >&6; } if test -n "$MONO_DEPENDENCY_CFLAGS"; then pkg_cv_MONO_DEPENDENCY_CFLAGS="$MONO_DEPENDENCY_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono-2 >= \$FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT\""; } >&5 ($PKG_CONFIG --exists --print-errors "mono-2 >= $FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MONO_DEPENDENCY_CFLAGS=`$PKG_CONFIG --cflags "mono-2 >= $FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$MONO_DEPENDENCY_LIBS"; then pkg_cv_MONO_DEPENDENCY_LIBS="$MONO_DEPENDENCY_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono-2 >= \$FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT\""; } >&5 ($PKG_CONFIG --exists --print-errors "mono-2 >= $FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MONO_DEPENDENCY_LIBS=`$PKG_CONFIG --libs "mono-2 >= $FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then MONO_DEPENDENCY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mono-2 >= $FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT" 2>&1` else MONO_DEPENDENCY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mono-2 >= $FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$MONO_DEPENDENCY_PKG_ERRORS" >&5 NET_4_6_SUPPORT=false elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } NET_4_6_SUPPORT=false else MONO_DEPENDENCY_CFLAGS=$pkg_cv_MONO_DEPENDENCY_CFLAGS MONO_DEPENDENCY_LIBS=$pkg_cv_MONO_DEPENDENCY_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } NET_4_6_SUPPORT=true fi fi else pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MONO_DEPENDENCY" >&5 $as_echo_n "checking for MONO_DEPENDENCY... " >&6; } if test -n "$MONO_DEPENDENCY_CFLAGS"; then pkg_cv_MONO_DEPENDENCY_CFLAGS="$MONO_DEPENDENCY_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono >= \$FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT\""; } >&5 ($PKG_CONFIG --exists --print-errors "mono >= $FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MONO_DEPENDENCY_CFLAGS=`$PKG_CONFIG --cflags "mono >= $FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$MONO_DEPENDENCY_LIBS"; then pkg_cv_MONO_DEPENDENCY_LIBS="$MONO_DEPENDENCY_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono >= \$FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT\""; } >&5 ($PKG_CONFIG --exists --print-errors "mono >= $FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MONO_DEPENDENCY_LIBS=`$PKG_CONFIG --libs "mono >= $FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then MONO_DEPENDENCY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mono >= $FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT" 2>&1` else MONO_DEPENDENCY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mono >= $FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$MONO_DEPENDENCY_PKG_ERRORS" >&5 NET_4_6_SUPPORT=false elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } NET_4_6_SUPPORT=false else MONO_DEPENDENCY_CFLAGS=$pkg_cv_MONO_DEPENDENCY_CFLAGS MONO_DEPENDENCY_LIBS=$pkg_cv_MONO_DEPENDENCY_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } NET_4_6_SUPPORT=true fi fi if test "x$platform_win32" = "xyes"; then NET_4_6_SUPPORT=true fi # Extract the first word of "gacutil", so it can be a program name with args. set dummy gacutil; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GACUTIL+:} false; then : $as_echo_n "(cached) " >&6 else case $GACUTIL in [\\/]* | ?:[\\/]*) ac_cv_path_GACUTIL="$GACUTIL" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GACUTIL="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GACUTIL" && ac_cv_path_GACUTIL="no" ;; esac fi GACUTIL=$ac_cv_path_GACUTIL if test -n "$GACUTIL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GACUTIL" >&5 $as_echo "$GACUTIL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$GACUTIL" = "xno" ; then as_fn_error $? "No gacutil tool found. You need to install either the mono or .Net SDK." "$LINENO" 5 fi # Extract the first word of "al", so it can be a program name with args. set dummy al; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_AL+:} false; then : $as_echo_n "(cached) " >&6 else case $AL in [\\/]* | ?:[\\/]*) ac_cv_path_AL="$AL" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_AL="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_AL" && ac_cv_path_AL="no" ;; esac fi AL=$ac_cv_path_AL if test -n "$AL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AL" >&5 $as_echo "$AL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$AL" = "xno" ; then as_fn_error $? "No al tool found. You need to install either the mono or .Net SDK." "$LINENO" 5 fi if test "x$has_mono" = "xtrue"; then GACUTIL_FLAGS='-package $(PACKAGE_VERSION) -gacdir $(DESTDIR)$(prefix)/lib' GENERATED_SOURCES=generated/*.cs # Extract the first word of "mono", so it can be a program name with args. set dummy mono; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_RUNTIME+:} false; then : $as_echo_n "(cached) " >&6 else case $RUNTIME in [\\/]* | ?:[\\/]*) ac_cv_path_RUNTIME="$RUNTIME" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_RUNTIME="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_RUNTIME" && ac_cv_path_RUNTIME="no" ;; esac fi RUNTIME=$ac_cv_path_RUNTIME if test -n "$RUNTIME"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUNTIME" >&5 $as_echo "$RUNTIME" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # If mono is found, it's in the path. Require it to be in the path at runtime as well if test "x$RUNTIME" != "xno" ; then RUNTIME=mono fi # Extract the first word of "mcs", so it can be a program name with args. set dummy mcs; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_CSC+:} false; then : $as_echo_n "(cached) " >&6 else case $CSC in [\\/]* | ?:[\\/]*) ac_cv_path_CSC="$CSC" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_CSC="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_CSC" && ac_cv_path_CSC="no" ;; esac fi CSC=$ac_cv_path_CSC if test -n "$CSC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CSC" >&5 $as_echo "$CSC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test `uname -s` = "Darwin"; then LIB_PREFIX= LIB_SUFFIX=.dylib else LIB_PREFIX=.so LIB_SUFFIX= fi SDCHECK="`$GACUTIL -l |grep ^System.Drawing, | head -n1 |cut -f1 -d','`" if test "x$SDCHECK" = "xSystem.Drawing"; then enable_dotnet=yes else enable_dotnet=no fi else # Extract the first word of "csc.exe", so it can be a program name with args. set dummy csc.exe; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_CSC+:} false; then : $as_echo_n "(cached) " >&6 else case $CSC in [\\/]* | ?:[\\/]*) ac_cv_path_CSC="$CSC" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_CSC="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_CSC" && ac_cv_path_CSC="no" ;; esac fi CSC=$ac_cv_path_CSC if test -n "$CSC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CSC" >&5 $as_echo "$CSC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi GACUTIL_FLAGS= GENERATED_SOURCES=generated\\\\*.cs enable_dotnet=yes if test x$CSC = "xno"; then as_fn_error $? "You need to install either mono or .Net" "$LINENO" 5 else RUNTIME= LIB_PREFIX= LIB_SUFFIX=.dylib fi fi CS="C#" if test "x$CSC" = "xno" ; then as_fn_error $? "No $CS compiler found" "$LINENO" 5 fi AL="\"$AL\"" pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MONO_CAIRO" >&5 $as_echo_n "checking for MONO_CAIRO... " >&6; } if test -n "$MONO_CAIRO_CFLAGS"; then pkg_cv_MONO_CAIRO_CFLAGS="$MONO_CAIRO_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono-cairo >= \$MONO_REQUIRED_VERSION\""; } >&5 ($PKG_CONFIG --exists --print-errors "mono-cairo >= $MONO_REQUIRED_VERSION") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MONO_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "mono-cairo >= $MONO_REQUIRED_VERSION" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$MONO_CAIRO_LIBS"; then pkg_cv_MONO_CAIRO_LIBS="$MONO_CAIRO_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono-cairo >= \$MONO_REQUIRED_VERSION\""; } >&5 ($PKG_CONFIG --exists --print-errors "mono-cairo >= $MONO_REQUIRED_VERSION") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MONO_CAIRO_LIBS=`$PKG_CONFIG --libs "mono-cairo >= $MONO_REQUIRED_VERSION" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then MONO_CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mono-cairo >= $MONO_REQUIRED_VERSION" 2>&1` else MONO_CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mono-cairo >= $MONO_REQUIRED_VERSION" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$MONO_CAIRO_PKG_ERRORS" >&5 enable_mono_cairo=yes elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } enable_mono_cairo=yes else MONO_CAIRO_CFLAGS=$pkg_cv_MONO_CAIRO_CFLAGS MONO_CAIRO_LIBS=$pkg_cv_MONO_CAIRO_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } enable_mono_cairo=no fi GTK_REQUIRED_VERSION=2.12.0 pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5 $as_echo_n "checking for GLIB... " >&6; } if test -n "$GLIB_CFLAGS"; then pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= \$GTK_REQUIRED_VERSION\""; } >&5 ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= $GTK_REQUIRED_VERSION") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= $GTK_REQUIRED_VERSION" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GLIB_LIBS"; then pkg_cv_GLIB_LIBS="$GLIB_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= \$GTK_REQUIRED_VERSION\""; } >&5 ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= $GTK_REQUIRED_VERSION") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= $GTK_REQUIRED_VERSION" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0 >= $GTK_REQUIRED_VERSION" 2>&1` else GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0 >= $GTK_REQUIRED_VERSION" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GLIB_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (gobject-2.0 >= $GTK_REQUIRED_VERSION) were not met: $GLIB_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GLIB_CFLAGS and GLIB_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GLIB_CFLAGS and GLIB_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS GLIB_LIBS=$pkg_cv_GLIB_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGO" >&5 $as_echo_n "checking for PANGO... " >&6; } if test -n "$PANGO_CFLAGS"; then pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pango\""; } >&5 ($PKG_CONFIG --exists --print-errors "pango") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "pango" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$PANGO_LIBS"; then pkg_cv_PANGO_LIBS="$PANGO_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pango\""; } >&5 ($PKG_CONFIG --exists --print-errors "pango") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "pango" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pango" 2>&1` else PANGO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pango" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$PANGO_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (pango) were not met: $PANGO_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables PANGO_CFLAGS and PANGO_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables PANGO_CFLAGS and PANGO_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS PANGO_LIBS=$pkg_cv_PANGO_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATK" >&5 $as_echo_n "checking for ATK... " >&6; } if test -n "$ATK_CFLAGS"; then pkg_cv_ATK_CFLAGS="$ATK_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"atk\""; } >&5 ($PKG_CONFIG --exists --print-errors "atk") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ATK_CFLAGS=`$PKG_CONFIG --cflags "atk" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$ATK_LIBS"; then pkg_cv_ATK_LIBS="$ATK_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"atk\""; } >&5 ($PKG_CONFIG --exists --print-errors "atk") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_ATK_LIBS=`$PKG_CONFIG --libs "atk" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then ATK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "atk" 2>&1` else ATK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "atk" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$ATK_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (atk) were not met: $ATK_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables ATK_CFLAGS and ATK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables ATK_CFLAGS and ATK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else ATK_CFLAGS=$pkg_cv_ATK_CFLAGS ATK_LIBS=$pkg_cv_ATK_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5 $as_echo_n "checking for GTK... " >&6; } if test -n "$GTK_CFLAGS"; then pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK_REQUIRED_VERSION" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GTK_LIBS"; then pkg_cv_GTK_LIBS="$GTK_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION" 2>&1` else GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GTK_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (gtk+-2.0 >= $GTK_REQUIRED_VERSION) were not met: $GTK_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GTK_CFLAGS and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GTK_CFLAGS and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else GTK_CFLAGS=$pkg_cv_GTK_CFLAGS GTK_LIBS=$pkg_cv_GTK_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi GLADE_REQUIRED_VERSION=2.3.6 pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLADE" >&5 $as_echo_n "checking for GLADE... " >&6; } if test -n "$GLADE_CFLAGS"; then pkg_cv_GLADE_CFLAGS="$GLADE_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libglade-2.0 >= \$GLADE_REQUIRED_VERSION\""; } >&5 ($PKG_CONFIG --exists --print-errors "libglade-2.0 >= $GLADE_REQUIRED_VERSION") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GLADE_CFLAGS=`$PKG_CONFIG --cflags "libglade-2.0 >= $GLADE_REQUIRED_VERSION" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GLADE_LIBS"; then pkg_cv_GLADE_LIBS="$GLADE_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libglade-2.0 >= \$GLADE_REQUIRED_VERSION\""; } >&5 ($PKG_CONFIG --exists --print-errors "libglade-2.0 >= $GLADE_REQUIRED_VERSION") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GLADE_LIBS=`$PKG_CONFIG --libs "libglade-2.0 >= $GLADE_REQUIRED_VERSION" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GLADE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libglade-2.0 >= $GLADE_REQUIRED_VERSION" 2>&1` else GLADE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libglade-2.0 >= $GLADE_REQUIRED_VERSION" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GLADE_PKG_ERRORS" >&5 enable_glade=no elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } enable_glade=no else GLADE_CFLAGS=$pkg_cv_GLADE_CFLAGS GLADE_LIBS=$pkg_cv_GLADE_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } enable_glade=yes fi GDK_BACKEND=`pkg-config --variable=target gtk+-2.0` # Extract the first word of "mdassembler", so it can be a program name with args. set dummy mdassembler; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MDASSEMBLER+:} false; then : $as_echo_n "(cached) " >&6 else case $MDASSEMBLER in [\\/]* | ?:[\\/]*) ac_cv_path_MDASSEMBLER="$MDASSEMBLER" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_MDASSEMBLER="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_MDASSEMBLER" && ac_cv_path_MDASSEMBLER="no" ;; esac fi MDASSEMBLER=$ac_cv_path_MDASSEMBLER if test -n "$MDASSEMBLER"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MDASSEMBLER" >&5 $as_echo "$MDASSEMBLER" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "monodocer", so it can be a program name with args. set dummy monodocer; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MONODOCER+:} false; then : $as_echo_n "(cached) " >&6 else case $MONODOCER in [\\/]* | ?:[\\/]*) ac_cv_path_MONODOCER="$MONODOCER" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_MONODOCER="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_MONODOCER" && ac_cv_path_MONODOCER="no" ;; esac fi MONODOCER=$ac_cv_path_MONODOCER if test -n "$MONODOCER"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MONODOCER" >&5 $as_echo "$MONODOCER" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$MONODOCER" = "xno" -o "x$MDASSEMBLER" = "xno"; then enable_monodoc=no doc_sources_dir= else enable_monodoc=yes doc_sources_dir="`pkg-config --variable=sourcesdir monodoc`" fi if test "x$enable_mono_cairo" = "xyes"; then ENABLE_MONO_CAIRO_TRUE= ENABLE_MONO_CAIRO_FALSE='#' else ENABLE_MONO_CAIRO_TRUE='#' ENABLE_MONO_CAIRO_FALSE= fi if test "x$enable_glade" = "xyes"; then ENABLE_GLADE_TRUE= ENABLE_GLADE_FALSE='#' else ENABLE_GLADE_TRUE='#' ENABLE_GLADE_FALSE= fi if test "x$enable_dotnet" = "xyes"; then ENABLE_DOTNET_TRUE= ENABLE_DOTNET_FALSE='#' else ENABLE_DOTNET_TRUE='#' ENABLE_DOTNET_FALSE= fi if test "x$enable_monodoc" = "xyes"; then ENABLE_MONODOC_TRUE= ENABLE_MONODOC_FALSE='#' else ENABLE_MONODOC_TRUE='#' ENABLE_MONODOC_FALSE= fi if test "x$enable_msi" = "xyes"; then ENABLE_MSI_TRUE= ENABLE_MSI_FALSE='#' else ENABLE_MSI_TRUE='#' ENABLE_MSI_FALSE= fi if test "x$has_mono" = "xtrue"; then ENABLE_MONOGETOPTIONS_TRUE= ENABLE_MONOGETOPTIONS_FALSE='#' else ENABLE_MONOGETOPTIONS_TRUE='#' ENABLE_MONOGETOPTIONS_FALSE= fi CSFLAGS="$DEBUG_FLAGS $CSDEFINES $WIN64DEFINES -unsafe" if test "x$NET_4_6_SUPPORT" = "xtrue" ; then CSFLAGS="$CSFLAGS -define:HAVE_NET_4_6" fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB_2_31" >&5 $as_echo_n "checking for GLIB_2_31... " >&6; } if test -n "$GLIB_2_31_CFLAGS"; then pkg_cv_GLIB_2_31_CFLAGS="$GLIB_2_31_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.31\""; } >&5 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.31") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GLIB_2_31_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.31" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GLIB_2_31_LIBS"; then pkg_cv_GLIB_2_31_LIBS="$GLIB_2_31_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.31\""; } >&5 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.31") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GLIB_2_31_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.31" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GLIB_2_31_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.31" 2>&1` else GLIB_2_31_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.31" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GLIB_2_31_PKG_ERRORS" >&5 HAVE_GLIB_2_31_OR_HIGHER=no elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } HAVE_GLIB_2_31_OR_HIGHER=no else GLIB_2_31_CFLAGS=$pkg_cv_GLIB_2_31_CFLAGS GLIB_2_31_LIBS=$pkg_cv_GLIB_2_31_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } HAVE_GLIB_2_31_OR_HIGHER=yes fi if test "x$HAVE_GLIB_2_31_OR_HIGHER" = "xyes" ; then CFLAGS="$CFLAGS -DDISABLE_GTHREAD_CHECK" CSFLAGS="$CSFLAGS -define:DISABLE_GTHREAD_CHECK" fi ac_config_files="$ac_config_files AssemblyInfo.cs Makefile policy.config msi/gtk-sharp-2.0.wxs msi/Makefile msi/unmanaged/Makefile msi/unmanaged/custom/Makefile msi/unmanaged/custom/etc/Makefile msi/unmanaged/custom/etc/gtk-2.0/Makefile msi/unmanaged/custom/share/Makefile msi/unmanaged/custom/share/icons/Makefile msi/unmanaged/custom/share/icons/hicolor/Makefile sources/Makefile parser/Makefile parser/gapi-2.0.pc parser/gapi2-fixup parser/gapi2-parser generator/Makefile generator/gapi2-codegen glib/Makefile glib/glib-sharp-2.0.pc glib/glib-sharp.dll.config glib/glue/Makefile cairo/Makefile pango/Makefile pango/pango-sharp.dll.config pango/glue/Makefile atk/Makefile atk/atk-sharp.dll.config atk/glue/Makefile gdk/Makefile gdk/gdk-sharp.dll.config gdk/glue/Makefile gtk/Makefile gtk/gtk-sharp-2.0.pc gtk/gtk-sharp.dll.config gtk/glue/Makefile glade/Makefile glade/glade-sharp.dll.config glade/glade-sharp-2.0.pc glade/glue/Makefile gtkdotnet/Makefile gtkdotnet/gtk-dotnet.dll.config gtkdotnet/gtk-dotnet-2.0.pc doc/Makefile sample/GtkDemo/Makefile sample/Makefile sample/pixmaps/Makefile sample/test/Makefile sample/valtest/Makefile sample/valtest/valtest.exe.config sample/opaquetest/Makefile sample/opaquetest/opaquetest.exe.config" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 $as_echo_n "checking that generated files are newer than configure... " >&6; } if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 $as_echo "done" >&6; } if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' else am__EXEEXT_TRUE='#' am__EXEEXT_FALSE= fi if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_MONO_CAIRO_TRUE}" && test -z "${ENABLE_MONO_CAIRO_FALSE}"; then as_fn_error $? "conditional \"ENABLE_MONO_CAIRO\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_GLADE_TRUE}" && test -z "${ENABLE_GLADE_FALSE}"; then as_fn_error $? "conditional \"ENABLE_GLADE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_DOTNET_TRUE}" && test -z "${ENABLE_DOTNET_FALSE}"; then as_fn_error $? "conditional \"ENABLE_DOTNET\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_MONODOC_TRUE}" && test -z "${ENABLE_MONODOC_FALSE}"; then as_fn_error $? "conditional \"ENABLE_MONODOC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_MSI_TRUE}" && test -z "${ENABLE_MSI_FALSE}"; then as_fn_error $? "conditional \"ENABLE_MSI\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_MONOGETOPTIONS_TRUE}" && test -z "${ENABLE_MONOGETOPTIONS_FALSE}"; then as_fn_error $? "conditional \"ENABLE_MONOGETOPTIONS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by gtk-sharp $as_me 2.12.40, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to the package provider." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ gtk-sharp config.status 2.12.40 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH sed_quote_subst='$sed_quote_subst' double_quote_subst='$double_quote_subst' delay_variable_subst='$delay_variable_subst' AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' LTCC='$LTCC' LTCFLAGS='$LTCFLAGS' compiler='$compiler_DEFAULT' # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF \$1 _LTECHO_EOF' } # Quote evaled strings. for var in AS \ DLLTOOL \ OBJDUMP \ SHELL \ ECHO \ PATH_SEPARATOR \ SED \ GREP \ EGREP \ FGREP \ LD \ NM \ LN_S \ lt_SP2NL \ lt_NL2SP \ reload_flag \ deplibs_check_method \ file_magic_cmd \ file_magic_glob \ want_nocaseglob \ sharedlib_from_linklib_cmd \ AR \ AR_FLAGS \ archiver_list_spec \ STRIP \ RANLIB \ CC \ CFLAGS \ compiler \ lt_cv_sys_global_symbol_pipe \ lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_import \ lt_cv_sys_global_symbol_to_c_name_address \ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ lt_cv_nm_interface \ nm_file_list_spec \ lt_cv_truncate_bin \ lt_prog_compiler_no_builtin_flag \ lt_prog_compiler_pic \ lt_prog_compiler_wl \ lt_prog_compiler_static \ lt_cv_prog_compiler_c_o \ need_locks \ MANIFEST_TOOL \ DSYMUTIL \ NMEDIT \ LIPO \ OTOOL \ OTOOL64 \ shrext_cmds \ export_dynamic_flag_spec \ whole_archive_flag_spec \ compiler_needs_object \ with_gnu_ld \ allow_undefined_flag \ no_undefined_flag \ hardcode_libdir_flag_spec \ hardcode_libdir_separator \ exclude_expsyms \ include_expsyms \ file_list_spec \ variables_saved_for_relink \ libname_spec \ library_names_spec \ soname_spec \ install_override_mode \ finish_eval \ old_striplib \ striplib; do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[\\\\\\\`\\"\\\$]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done # Double-quote double-evaled strings. for var in reload_cmds \ old_postinstall_cmds \ old_postuninstall_cmds \ old_archive_cmds \ extract_expsyms_cmds \ old_archive_from_new_cmds \ old_archive_from_expsyms_cmds \ archive_cmds \ archive_expsym_cmds \ module_cmds \ module_expsym_cmds \ export_symbols_cmds \ prelink_cmds \ postlink_cmds \ postinstall_cmds \ postuninstall_cmds \ finish_cmds \ sys_lib_search_path_spec \ configure_time_dlsearch_path \ configure_time_lt_sys_library_path; do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[\\\\\\\`\\"\\\$]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done ac_aux_dir='$ac_aux_dir' # See if we are running on zsh, and set the options that allow our # commands through without removal of \ escapes INIT. if test -n "\${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi PACKAGE='$PACKAGE' VERSION='$VERSION' RM='$RM' ofile='$ofile' _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; "AssemblyInfo.cs") CONFIG_FILES="$CONFIG_FILES AssemblyInfo.cs" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "policy.config") CONFIG_FILES="$CONFIG_FILES policy.config" ;; "msi/gtk-sharp-2.0.wxs") CONFIG_FILES="$CONFIG_FILES msi/gtk-sharp-2.0.wxs" ;; "msi/Makefile") CONFIG_FILES="$CONFIG_FILES msi/Makefile" ;; "msi/unmanaged/Makefile") CONFIG_FILES="$CONFIG_FILES msi/unmanaged/Makefile" ;; "msi/unmanaged/custom/Makefile") CONFIG_FILES="$CONFIG_FILES msi/unmanaged/custom/Makefile" ;; "msi/unmanaged/custom/etc/Makefile") CONFIG_FILES="$CONFIG_FILES msi/unmanaged/custom/etc/Makefile" ;; "msi/unmanaged/custom/etc/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES msi/unmanaged/custom/etc/gtk-2.0/Makefile" ;; "msi/unmanaged/custom/share/Makefile") CONFIG_FILES="$CONFIG_FILES msi/unmanaged/custom/share/Makefile" ;; "msi/unmanaged/custom/share/icons/Makefile") CONFIG_FILES="$CONFIG_FILES msi/unmanaged/custom/share/icons/Makefile" ;; "msi/unmanaged/custom/share/icons/hicolor/Makefile") CONFIG_FILES="$CONFIG_FILES msi/unmanaged/custom/share/icons/hicolor/Makefile" ;; "sources/Makefile") CONFIG_FILES="$CONFIG_FILES sources/Makefile" ;; "parser/Makefile") CONFIG_FILES="$CONFIG_FILES parser/Makefile" ;; "parser/gapi-2.0.pc") CONFIG_FILES="$CONFIG_FILES parser/gapi-2.0.pc" ;; "parser/gapi2-fixup") CONFIG_FILES="$CONFIG_FILES parser/gapi2-fixup" ;; "parser/gapi2-parser") CONFIG_FILES="$CONFIG_FILES parser/gapi2-parser" ;; "generator/Makefile") CONFIG_FILES="$CONFIG_FILES generator/Makefile" ;; "generator/gapi2-codegen") CONFIG_FILES="$CONFIG_FILES generator/gapi2-codegen" ;; "glib/Makefile") CONFIG_FILES="$CONFIG_FILES glib/Makefile" ;; "glib/glib-sharp-2.0.pc") CONFIG_FILES="$CONFIG_FILES glib/glib-sharp-2.0.pc" ;; "glib/glib-sharp.dll.config") CONFIG_FILES="$CONFIG_FILES glib/glib-sharp.dll.config" ;; "glib/glue/Makefile") CONFIG_FILES="$CONFIG_FILES glib/glue/Makefile" ;; "cairo/Makefile") CONFIG_FILES="$CONFIG_FILES cairo/Makefile" ;; "pango/Makefile") CONFIG_FILES="$CONFIG_FILES pango/Makefile" ;; "pango/pango-sharp.dll.config") CONFIG_FILES="$CONFIG_FILES pango/pango-sharp.dll.config" ;; "pango/glue/Makefile") CONFIG_FILES="$CONFIG_FILES pango/glue/Makefile" ;; "atk/Makefile") CONFIG_FILES="$CONFIG_FILES atk/Makefile" ;; "atk/atk-sharp.dll.config") CONFIG_FILES="$CONFIG_FILES atk/atk-sharp.dll.config" ;; "atk/glue/Makefile") CONFIG_FILES="$CONFIG_FILES atk/glue/Makefile" ;; "gdk/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/Makefile" ;; "gdk/gdk-sharp.dll.config") CONFIG_FILES="$CONFIG_FILES gdk/gdk-sharp.dll.config" ;; "gdk/glue/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/glue/Makefile" ;; "gtk/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/Makefile" ;; "gtk/gtk-sharp-2.0.pc") CONFIG_FILES="$CONFIG_FILES gtk/gtk-sharp-2.0.pc" ;; "gtk/gtk-sharp.dll.config") CONFIG_FILES="$CONFIG_FILES gtk/gtk-sharp.dll.config" ;; "gtk/glue/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/glue/Makefile" ;; "glade/Makefile") CONFIG_FILES="$CONFIG_FILES glade/Makefile" ;; "glade/glade-sharp.dll.config") CONFIG_FILES="$CONFIG_FILES glade/glade-sharp.dll.config" ;; "glade/glade-sharp-2.0.pc") CONFIG_FILES="$CONFIG_FILES glade/glade-sharp-2.0.pc" ;; "glade/glue/Makefile") CONFIG_FILES="$CONFIG_FILES glade/glue/Makefile" ;; "gtkdotnet/Makefile") CONFIG_FILES="$CONFIG_FILES gtkdotnet/Makefile" ;; "gtkdotnet/gtk-dotnet.dll.config") CONFIG_FILES="$CONFIG_FILES gtkdotnet/gtk-dotnet.dll.config" ;; "gtkdotnet/gtk-dotnet-2.0.pc") CONFIG_FILES="$CONFIG_FILES gtkdotnet/gtk-dotnet-2.0.pc" ;; "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; "sample/GtkDemo/Makefile") CONFIG_FILES="$CONFIG_FILES sample/GtkDemo/Makefile" ;; "sample/Makefile") CONFIG_FILES="$CONFIG_FILES sample/Makefile" ;; "sample/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES sample/pixmaps/Makefile" ;; "sample/test/Makefile") CONFIG_FILES="$CONFIG_FILES sample/test/Makefile" ;; "sample/valtest/Makefile") CONFIG_FILES="$CONFIG_FILES sample/valtest/Makefile" ;; "sample/valtest/valtest.exe.config") CONFIG_FILES="$CONFIG_FILES sample/valtest/valtest.exe.config" ;; "sample/opaquetest/Makefile") CONFIG_FILES="$CONFIG_FILES sample/opaquetest/Makefile" ;; "sample/opaquetest/opaquetest.exe.config") CONFIG_FILES="$CONFIG_FILES sample/opaquetest/opaquetest.exe.config" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_tt=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || { # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "$am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir=$dirpart/$fdir; as_fn_mkdir_p # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ;; "libtool":C) # See if we are running on zsh, and set the options that allow our # commands through without removal of \ escapes. if test -n "${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi cfgfile=${ofile}T trap "$RM \"$cfgfile\"; exit 1" 1 2 15 $RM "$cfgfile" cat <<_LT_EOF >> "$cfgfile" #! $SHELL # Generated automatically by $as_me ($PACKAGE) $VERSION # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # Provide generalized library-building support services. # Written by Gordon Matzigkeit, 1996 # Copyright (C) 2014 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # GNU Libtool is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of of the License, or # (at your option) any later version. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program or library that is built # using GNU Libtool, you may include this file under the same # distribution terms that you use for the rest of that program. # # GNU Libtool is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # The names of the tagged configurations supported by this script. available_tags='' # Configured defaults for sys_lib_dlsearch_path munging. : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} # ### BEGIN LIBTOOL CONFIG # Assembler program. AS=$lt_AS # DLL creation program. DLLTOOL=$lt_DLLTOOL # Object dumper program. OBJDUMP=$lt_OBJDUMP # Which release of libtool.m4 was used? macro_version=$macro_version macro_revision=$macro_revision # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # What type of objects to build. pic_mode=$pic_mode # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # Shared archive member basename,for filename based shared library versioning on AIX. shared_archive_member_spec=$shared_archive_member_spec # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # An echo program that protects backslashes. ECHO=$lt_ECHO # The PATH separator for the build system. PATH_SEPARATOR=$lt_PATH_SEPARATOR # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # A sed program that does not truncate output. SED=$lt_SED # Sed that helps us avoid accidentally triggering echo(1) options like -n. Xsed="\$SED -e 1s/^X//" # A grep program that handles long lines. GREP=$lt_GREP # An ERE matcher. EGREP=$lt_EGREP # A literal string matcher. FGREP=$lt_FGREP # A BSD- or MS-compatible name lister. NM=$lt_NM # Whether we need soft or hard links. LN_S=$lt_LN_S # What is the maximum length of a command? max_cmd_len=$max_cmd_len # Object file suffix (normally "o"). objext=$ac_objext # Executable file suffix (normally ""). exeext=$exeext # whether the shell understands "unset". lt_unset=$lt_unset # turn spaces into newlines. SP2NL=$lt_lt_SP2NL # turn newlines into spaces. NL2SP=$lt_lt_NL2SP # convert \$build file names to \$host format. to_host_file_cmd=$lt_cv_to_host_file_cmd # convert \$build files to toolchain format. to_tool_file_cmd=$lt_cv_to_tool_file_cmd # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method = "file_magic". file_magic_cmd=$lt_file_magic_cmd # How to find potential files when deplibs_check_method = "file_magic". file_magic_glob=$lt_file_magic_glob # Find potential files using nocaseglob when deplibs_check_method = "file_magic". want_nocaseglob=$lt_want_nocaseglob # Command to associate shared and link libraries. sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd # The archiver. AR=$lt_AR # Flags to create an archive. AR_FLAGS=$lt_AR_FLAGS # How to feed a file listing to the archiver. archiver_list_spec=$lt_archiver_list_spec # A symbol stripping program. STRIP=$lt_STRIP # Commands used to install an old-style archive. RANLIB=$lt_RANLIB old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Whether to use a lock for old archive extraction. lock_old_archive_extraction=$lock_old_archive_extraction # A C compiler. LTCC=$lt_CC # LTCC compiler flags. LTCFLAGS=$lt_CFLAGS # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm into a list of symbols to manually relocate. global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import # Transform the output of nm in a C name address pair. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # Transform the output of nm in a C name address pair when lib prefix is needed. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix # The name lister interface. nm_interface=$lt_lt_cv_nm_interface # Specify filename containing input files for \$NM. nm_file_list_spec=$lt_nm_file_list_spec # The root where to search for dependent libraries,and where our libraries should be installed. lt_sysroot=$lt_sysroot # Command to truncate a binary pipe. lt_truncate_bin=$lt_lt_cv_truncate_bin # The name of the directory that contains temporary libtool files. objdir=$objdir # Used to examine libraries when file_magic_cmd begins with "file". MAGIC_CMD=$MAGIC_CMD # Must we lock files when doing compilation? need_locks=$lt_need_locks # Manifest tool. MANIFEST_TOOL=$lt_MANIFEST_TOOL # Tool to manipulate archived DWARF debug symbol files on Mac OS X. DSYMUTIL=$lt_DSYMUTIL # Tool to change global to local symbols on Mac OS X. NMEDIT=$lt_NMEDIT # Tool to manipulate fat objects and archives on Mac OS X. LIPO=$lt_LIPO # ldd/readelf like tool for Mach-O binaries on Mac OS X. OTOOL=$lt_OTOOL # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. OTOOL64=$lt_OTOOL64 # Old archive suffix (normally "a"). libext=$libext # Shared library suffix (normally ".so"). shrext_cmds=$lt_shrext_cmds # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Variables whose values should be saved in libtool wrapper scripts and # restored at link time. variables_saved_for_relink=$lt_variables_saved_for_relink # Do we need the "lib" prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Library versioning type. version_type=$version_type # Shared library runtime path variable. runpath_var=$runpath_var # Shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Permission mode override for installation of shared libraries. install_override_mode=$lt_install_override_mode # Command to use after installation of a shared archive. postinstall_cmds=$lt_postinstall_cmds # Command to use after uninstallation of a shared archive. postuninstall_cmds=$lt_postuninstall_cmds # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # As "finish_cmds", except a single script fragment to be evaled but # not shown. finish_eval=$lt_finish_eval # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Compile-time system search path for libraries. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Detected run-time system search path for libraries. sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path # Explicit LT_SYS_LIBRARY_PATH set during ./configure time. configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # The linker used to build libraries. LD=$lt_LD # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # Commands used to build an old-style archive. old_archive_cmds=$lt_old_archive_cmds # A language specific compiler. CC=$lt_compiler # Is the compiler the GNU compiler? with_gcc=$GCC # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc # Whether or not to disallow shared libs when runtime libs are static. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec # Whether the compiler copes with passing no objects directly. compiler_needs_object=$lt_compiler_needs_object # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds # Commands used to build a shared archive. archive_cmds=$lt_archive_cmds archive_expsym_cmds=$lt_archive_expsym_cmds # Commands used to build a loadable module if different from building # a shared archive. module_cmds=$lt_module_cmds module_expsym_cmds=$lt_module_expsym_cmds # Whether we are building with GNU ld or not. with_gnu_ld=$lt_with_gnu_ld # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag # Flag that enforces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec # Whether we need a single "-rpath" flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes # DIR into the resulting binary. hardcode_direct=$hardcode_direct # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes # DIR into the resulting binary and the resulting library dependency is # "absolute",i.e impossible to change by setting \$shlibpath_var if the # library is relocated. hardcode_direct_absolute=$hardcode_direct_absolute # Set to "yes" if using the -LDIR flag during linking hardcodes DIR # into the resulting binary. hardcode_minus_L=$hardcode_minus_L # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR # into the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var # Set to "yes" if building a shared library automatically hardcodes DIR # into the library and all subsequent libraries and executables linked # against it. hardcode_automatic=$hardcode_automatic # Set to yes if linker adds runtime paths of dependent libraries # to runtime path list. inherit_rpath=$inherit_rpath # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs # Set to "yes" if exported symbols are required. always_export_symbols=$always_export_symbols # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms # Symbols that must always be exported. include_expsyms=$lt_include_expsyms # Commands necessary for linking programs (against libraries) with templates. prelink_cmds=$lt_prelink_cmds # Commands necessary for finishing linking programs. postlink_cmds=$lt_postlink_cmds # Specify filename containing input files. file_list_spec=$lt_file_list_spec # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action # ### END LIBTOOL CONFIG _LT_EOF cat <<'_LT_EOF' >> "$cfgfile" # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE # func_munge_path_list VARIABLE PATH # ----------------------------------- # VARIABLE is name of variable containing _space_ separated list of # directories to be munged by the contents of PATH, which is string # having a format: # "DIR[:DIR]:" # string "DIR[ DIR]" will be prepended to VARIABLE # ":DIR[:DIR]" # string "DIR[ DIR]" will be appended to VARIABLE # "DIRP[:DIRP]::[DIRA:]DIRA" # string "DIRP[ DIRP]" will be prepended to VARIABLE and string # "DIRA[ DIRA]" will be appended to VARIABLE # "DIR[:DIR]" # VARIABLE will be replaced by "DIR[ DIR]" func_munge_path_list () { case x$2 in x) ;; *:) eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" ;; x:*) eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" ;; *::*) eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" ;; *) eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" ;; esac } # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. func_cc_basename () { for cc_temp in $*""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` } # ### END FUNCTIONS SHARED WITH CONFIGURE _LT_EOF case $host_os in aix3*) cat <<\_LT_EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test set != "${COLLECT_NAMES+set}"; then COLLECT_NAMES= export COLLECT_NAMES fi _LT_EOF ;; esac ltmain=$ac_aux_dir/ltmain.sh # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" \ || (rm -f "$cfgfile"; exit 1) mv -f "$cfgfile" "$ofile" || (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi if test x$platform_win32 = xyes; then # Get rid of 'cyg' prefixes in library names sed -e "s/\/cyg\//\/\//" libtool > libtool.new; mv libtool.new libtool; chmod 755 libtool fi echo "---" echo "Configuration summary" echo "" echo " * Installation prefix = $prefix" echo " * $CS compiler: $CSC $CSFLAGS" echo "" echo " Optional assemblies included in the build:" echo "" echo " * glade-sharp.dll: $enable_glade" echo " * gtk-dotnet.dll: $enable_dotnet " if test "x$enable_mono_cairo" = "xyes"; then echo " * Mono.Cairo.dll: building local assembly" else echo " * Mono.Cairo.dll: using system assembly" fi echo "" echo " NOTE: if any of the above say 'no' you may install the" echo " corresponding development packages for them, rerun" echo " autogen.sh to include them in the build." echo "" echo " * Documentation build enabled: $enable_monodoc " if test "x$enable_monodoc" = "xyes" -a "x$doc_sources_dir" != "x$prefix/lib/monodoc/sources"; then echo " WARNING: The install prefix is different than the monodoc prefix." echo " Monodoc will not be able to load the documentation." fi echo "---" gtk-sharp-2.12.40/ltmain.sh0000644000175000017500000117146412767740503012352 00000000000000#! /bin/sh ## DO NOT EDIT - This file generated from ./build-aux/ltmain.in ## by inline-source v2014-01-03.01 # libtool (GNU libtool) 2.4.6 # Provide generalized library-building support services. # Written by Gordon Matzigkeit , 1996 # Copyright (C) 1996-2015 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # GNU Libtool is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # As a special exception to the GNU General Public License, # if you distribute this file as part of a program or library that # is built using GNU Libtool, you may include this file under the # same distribution terms that you use for the rest of that program. # # GNU Libtool is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . PROGRAM=libtool PACKAGE=libtool VERSION="2.4.6 Debian-2.4.6-0.1" package_revision=2.4.6 ## ------ ## ## Usage. ## ## ------ ## # Run './libtool --help' for help with using this script from the # command line. ## ------------------------------- ## ## User overridable command paths. ## ## ------------------------------- ## # After configure completes, it has a better idea of some of the # shell tools we need than the defaults used by the functions shared # with bootstrap, so set those here where they can still be over- # ridden by the user, but otherwise take precedence. : ${AUTOCONF="autoconf"} : ${AUTOMAKE="automake"} ## -------------------------- ## ## Source external libraries. ## ## -------------------------- ## # Much of our low-level functionality needs to be sourced from external # libraries, which are installed to $pkgauxdir. # Set a version string for this script. scriptversion=2015-01-20.17; # UTC # General shell script boiler plate, and helper functions. # Written by Gary V. Vaughan, 2004 # Copyright (C) 2004-2015 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # As a special exception to the GNU General Public License, if you distribute # this file as part of a program or library that is built using GNU Libtool, # you may include this file under the same distribution terms that you use # for the rest of that program. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNES FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # Please report bugs or propose patches to gary@gnu.org. ## ------ ## ## Usage. ## ## ------ ## # Evaluate this file near the top of your script to gain access to # the functions and variables defined here: # # . `echo "$0" | ${SED-sed} 's|[^/]*$||'`/build-aux/funclib.sh # # If you need to override any of the default environment variable # settings, do that before evaluating this file. ## -------------------- ## ## Shell normalisation. ## ## -------------------- ## # Some shells need a little help to be as Bourne compatible as possible. # Before doing anything else, make sure all that help has been provided! DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # NLS nuisances: We save the old values in case they are required later. _G_user_locale= _G_safe_locale= for _G_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES do eval "if test set = \"\${$_G_var+set}\"; then save_$_G_var=\$$_G_var $_G_var=C export $_G_var _G_user_locale=\"$_G_var=\\\$save_\$_G_var; \$_G_user_locale\" _G_safe_locale=\"$_G_var=C; \$_G_safe_locale\" fi" done # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Make sure IFS has a sensible default sp=' ' nl=' ' IFS="$sp $nl" # There are apparently some retarded systems that use ';' as a PATH separator! if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi ## ------------------------- ## ## Locate command utilities. ## ## ------------------------- ## # func_executable_p FILE # ---------------------- # Check that FILE is an executable regular file. func_executable_p () { test -f "$1" && test -x "$1" } # func_path_progs PROGS_LIST CHECK_FUNC [PATH] # -------------------------------------------- # Search for either a program that responds to --version with output # containing "GNU", or else returned by CHECK_FUNC otherwise, by # trying all the directories in PATH with each of the elements of # PROGS_LIST. # # CHECK_FUNC should accept the path to a candidate program, and # set $func_check_prog_result if it truncates its output less than # $_G_path_prog_max characters. func_path_progs () { _G_progs_list=$1 _G_check_func=$2 _G_PATH=${3-"$PATH"} _G_path_prog_max=0 _G_path_prog_found=false _G_save_IFS=$IFS; IFS=${PATH_SEPARATOR-:} for _G_dir in $_G_PATH; do IFS=$_G_save_IFS test -z "$_G_dir" && _G_dir=. for _G_prog_name in $_G_progs_list; do for _exeext in '' .EXE; do _G_path_prog=$_G_dir/$_G_prog_name$_exeext func_executable_p "$_G_path_prog" || continue case `"$_G_path_prog" --version 2>&1` in *GNU*) func_path_progs_result=$_G_path_prog _G_path_prog_found=: ;; *) $_G_check_func $_G_path_prog func_path_progs_result=$func_check_prog_result ;; esac $_G_path_prog_found && break 3 done done done IFS=$_G_save_IFS test -z "$func_path_progs_result" && { echo "no acceptable sed could be found in \$PATH" >&2 exit 1 } } # We want to be able to use the functions in this file before configure # has figured out where the best binaries are kept, which means we have # to search for them ourselves - except when the results are already set # where we skip the searches. # Unless the user overrides by setting SED, search the path for either GNU # sed, or the sed that truncates its output the least. test -z "$SED" && { _G_sed_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ for _G_i in 1 2 3 4 5 6 7; do _G_sed_script=$_G_sed_script$nl$_G_sed_script done echo "$_G_sed_script" 2>/dev/null | sed 99q >conftest.sed _G_sed_script= func_check_prog_sed () { _G_path_prog=$1 _G_count=0 printf 0123456789 >conftest.in while : do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo '' >> conftest.nl "$_G_path_prog" -f conftest.sed conftest.out 2>/dev/null || break diff conftest.out conftest.nl >/dev/null 2>&1 || break _G_count=`expr $_G_count + 1` if test "$_G_count" -gt "$_G_path_prog_max"; then # Best one so far, save it but keep looking for a better one func_check_prog_result=$_G_path_prog _G_path_prog_max=$_G_count fi # 10*(2^10) chars as input seems more than enough test 10 -lt "$_G_count" && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out } func_path_progs "sed gsed" func_check_prog_sed $PATH:/usr/xpg4/bin rm -f conftest.sed SED=$func_path_progs_result } # Unless the user overrides by setting GREP, search the path for either GNU # grep, or the grep that truncates its output the least. test -z "$GREP" && { func_check_prog_grep () { _G_path_prog=$1 _G_count=0 _G_path_prog_max=0 printf 0123456789 >conftest.in while : do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo 'GREP' >> conftest.nl "$_G_path_prog" -e 'GREP$' -e '-(cannot match)-' conftest.out 2>/dev/null || break diff conftest.out conftest.nl >/dev/null 2>&1 || break _G_count=`expr $_G_count + 1` if test "$_G_count" -gt "$_G_path_prog_max"; then # Best one so far, save it but keep looking for a better one func_check_prog_result=$_G_path_prog _G_path_prog_max=$_G_count fi # 10*(2^10) chars as input seems more than enough test 10 -lt "$_G_count" && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out } func_path_progs "grep ggrep" func_check_prog_grep $PATH:/usr/xpg4/bin GREP=$func_path_progs_result } ## ------------------------------- ## ## User overridable command paths. ## ## ------------------------------- ## # All uppercase variable names are used for environment variables. These # variables can be overridden by the user before calling a script that # uses them if a suitable command of that name is not already available # in the command search PATH. : ${CP="cp -f"} : ${ECHO="printf %s\n"} : ${EGREP="$GREP -E"} : ${FGREP="$GREP -F"} : ${LN_S="ln -s"} : ${MAKE="make"} : ${MKDIR="mkdir"} : ${MV="mv -f"} : ${RM="rm -f"} : ${SHELL="${CONFIG_SHELL-/bin/sh}"} ## -------------------- ## ## Useful sed snippets. ## ## -------------------- ## sed_dirname='s|/[^/]*$||' sed_basename='s|^.*/||' # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. sed_quote_subst='s|\([`"$\\]\)|\\\1|g' # Same as above, but do not quote variable references. sed_double_quote_subst='s/\(["`\\]\)/\\\1/g' # Sed substitution that turns a string into a regex matching for the # string literally. sed_make_literal_regex='s|[].[^$\\*\/]|\\&|g' # Sed substitution that converts a w32 file name or path # that contains forward slashes, into one that contains # (escaped) backslashes. A very naive implementation. sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' # Re-'\' parameter expansions in output of sed_double_quote_subst that # were '\'-ed in input to the same. If an odd number of '\' preceded a # '$' in input to sed_double_quote_subst, that '$' was protected from # expansion. Since each input '\' is now two '\'s, look for any number # of runs of four '\'s followed by two '\'s and then a '$'. '\' that '$'. _G_bs='\\' _G_bs2='\\\\' _G_bs4='\\\\\\\\' _G_dollar='\$' sed_double_backslash="\ s/$_G_bs4/&\\ /g s/^$_G_bs2$_G_dollar/$_G_bs&/ s/\\([^$_G_bs]\\)$_G_bs2$_G_dollar/\\1$_G_bs2$_G_bs$_G_dollar/g s/\n//g" ## ----------------- ## ## Global variables. ## ## ----------------- ## # Except for the global variables explicitly listed below, the following # functions in the '^func_' namespace, and the '^require_' namespace # variables initialised in the 'Resource management' section, sourcing # this file will not pollute your global namespace with anything # else. There's no portable way to scope variables in Bourne shell # though, so actually running these functions will sometimes place # results into a variable named after the function, and often use # temporary variables in the '^_G_' namespace. If you are careful to # avoid using those namespaces casually in your sourcing script, things # should continue to work as you expect. And, of course, you can freely # overwrite any of the functions or variables defined here before # calling anything to customize them. EXIT_SUCCESS=0 EXIT_FAILURE=1 EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing. EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake. # Allow overriding, eg assuming that you follow the convention of # putting '$debug_cmd' at the start of all your functions, you can get # bash to show function call trace with: # # debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash your-script-name debug_cmd=${debug_cmd-":"} exit_cmd=: # By convention, finish your script with: # # exit $exit_status # # so that you can set exit_status to non-zero if you want to indicate # something went wrong during execution without actually bailing out at # the point of failure. exit_status=$EXIT_SUCCESS # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh # is ksh but when the shell is invoked as "sh" and the current value of # the _XPG environment variable is not equal to 1 (one), the special # positional parameter $0, within a function call, is the name of the # function. progpath=$0 # The name of this program. progname=`$ECHO "$progpath" |$SED "$sed_basename"` # Make sure we have an absolute progpath for reexecution: case $progpath in [\\/]*|[A-Za-z]:\\*) ;; *[\\/]*) progdir=`$ECHO "$progpath" |$SED "$sed_dirname"` progdir=`cd "$progdir" && pwd` progpath=$progdir/$progname ;; *) _G_IFS=$IFS IFS=${PATH_SEPARATOR-:} for progdir in $PATH; do IFS=$_G_IFS test -x "$progdir/$progname" && break done IFS=$_G_IFS test -n "$progdir" || progdir=`pwd` progpath=$progdir/$progname ;; esac ## ----------------- ## ## Standard options. ## ## ----------------- ## # The following options affect the operation of the functions defined # below, and should be set appropriately depending on run-time para- # meters passed on the command line. opt_dry_run=false opt_quiet=false opt_verbose=false # Categories 'all' and 'none' are always available. Append any others # you will pass as the first argument to func_warning from your own # code. warning_categories= # By default, display warnings according to 'opt_warning_types'. Set # 'warning_func' to ':' to elide all warnings, or func_fatal_error to # treat the next displayed warning as a fatal error. warning_func=func_warn_and_continue # Set to 'all' to display all warnings, 'none' to suppress all # warnings, or a space delimited list of some subset of # 'warning_categories' to display only the listed warnings. opt_warning_types=all ## -------------------- ## ## Resource management. ## ## -------------------- ## # This section contains definitions for functions that each ensure a # particular resource (a file, or a non-empty configuration variable for # example) is available, and if appropriate to extract default values # from pertinent package files. Call them using their associated # 'require_*' variable to ensure that they are executed, at most, once. # # It's entirely deliberate that calling these functions can set # variables that don't obey the namespace limitations obeyed by the rest # of this file, in order that that they be as useful as possible to # callers. # require_term_colors # ------------------- # Allow display of bold text on terminals that support it. require_term_colors=func_require_term_colors func_require_term_colors () { $debug_cmd test -t 1 && { # COLORTERM and USE_ANSI_COLORS environment variables take # precedence, because most terminfo databases neglect to describe # whether color sequences are supported. test -n "${COLORTERM+set}" && : ${USE_ANSI_COLORS="1"} if test 1 = "$USE_ANSI_COLORS"; then # Standard ANSI escape sequences tc_reset='' tc_bold=''; tc_standout='' tc_red=''; tc_green='' tc_blue=''; tc_cyan='' else # Otherwise trust the terminfo database after all. test -n "`tput sgr0 2>/dev/null`" && { tc_reset=`tput sgr0` test -n "`tput bold 2>/dev/null`" && tc_bold=`tput bold` tc_standout=$tc_bold test -n "`tput smso 2>/dev/null`" && tc_standout=`tput smso` test -n "`tput setaf 1 2>/dev/null`" && tc_red=`tput setaf 1` test -n "`tput setaf 2 2>/dev/null`" && tc_green=`tput setaf 2` test -n "`tput setaf 4 2>/dev/null`" && tc_blue=`tput setaf 4` test -n "`tput setaf 5 2>/dev/null`" && tc_cyan=`tput setaf 5` } fi } require_term_colors=: } ## ----------------- ## ## Function library. ## ## ----------------- ## # This section contains a variety of useful functions to call in your # scripts. Take note of the portable wrappers for features provided by # some modern shells, which will fall back to slower equivalents on # less featureful shells. # func_append VAR VALUE # --------------------- # Append VALUE onto the existing contents of VAR. # We should try to minimise forks, especially on Windows where they are # unreasonably slow, so skip the feature probes when bash or zsh are # being used: if test set = "${BASH_VERSION+set}${ZSH_VERSION+set}"; then : ${_G_HAVE_ARITH_OP="yes"} : ${_G_HAVE_XSI_OPS="yes"} # The += operator was introduced in bash 3.1 case $BASH_VERSION in [12].* | 3.0 | 3.0*) ;; *) : ${_G_HAVE_PLUSEQ_OP="yes"} ;; esac fi # _G_HAVE_PLUSEQ_OP # Can be empty, in which case the shell is probed, "yes" if += is # useable or anything else if it does not work. test -z "$_G_HAVE_PLUSEQ_OP" \ && (eval 'x=a; x+=" b"; test "a b" = "$x"') 2>/dev/null \ && _G_HAVE_PLUSEQ_OP=yes if test yes = "$_G_HAVE_PLUSEQ_OP" then # This is an XSI compatible shell, allowing a faster implementation... eval 'func_append () { $debug_cmd eval "$1+=\$2" }' else # ...otherwise fall back to using expr, which is often a shell builtin. func_append () { $debug_cmd eval "$1=\$$1\$2" } fi # func_append_quoted VAR VALUE # ---------------------------- # Quote VALUE and append to the end of shell variable VAR, separated # by a space. if test yes = "$_G_HAVE_PLUSEQ_OP"; then eval 'func_append_quoted () { $debug_cmd func_quote_for_eval "$2" eval "$1+=\\ \$func_quote_for_eval_result" }' else func_append_quoted () { $debug_cmd func_quote_for_eval "$2" eval "$1=\$$1\\ \$func_quote_for_eval_result" } fi # func_append_uniq VAR VALUE # -------------------------- # Append unique VALUE onto the existing contents of VAR, assuming # entries are delimited by the first character of VALUE. For example: # # func_append_uniq options " --another-option option-argument" # # will only append to $options if " --another-option option-argument " # is not already present somewhere in $options already (note spaces at # each end implied by leading space in second argument). func_append_uniq () { $debug_cmd eval _G_current_value='`$ECHO $'$1'`' _G_delim=`expr "$2" : '\(.\)'` case $_G_delim$_G_current_value$_G_delim in *"$2$_G_delim"*) ;; *) func_append "$@" ;; esac } # func_arith TERM... # ------------------ # Set func_arith_result to the result of evaluating TERMs. test -z "$_G_HAVE_ARITH_OP" \ && (eval 'test 2 = $(( 1 + 1 ))') 2>/dev/null \ && _G_HAVE_ARITH_OP=yes if test yes = "$_G_HAVE_ARITH_OP"; then eval 'func_arith () { $debug_cmd func_arith_result=$(( $* )) }' else func_arith () { $debug_cmd func_arith_result=`expr "$@"` } fi # func_basename FILE # ------------------ # Set func_basename_result to FILE with everything up to and including # the last / stripped. if test yes = "$_G_HAVE_XSI_OPS"; then # If this shell supports suffix pattern removal, then use it to avoid # forking. Hide the definitions single quotes in case the shell chokes # on unsupported syntax... _b='func_basename_result=${1##*/}' _d='case $1 in */*) func_dirname_result=${1%/*}$2 ;; * ) func_dirname_result=$3 ;; esac' else # ...otherwise fall back to using sed. _b='func_basename_result=`$ECHO "$1" |$SED "$sed_basename"`' _d='func_dirname_result=`$ECHO "$1" |$SED "$sed_dirname"` if test "X$func_dirname_result" = "X$1"; then func_dirname_result=$3 else func_append func_dirname_result "$2" fi' fi eval 'func_basename () { $debug_cmd '"$_b"' }' # func_dirname FILE APPEND NONDIR_REPLACEMENT # ------------------------------------------- # Compute the dirname of FILE. If nonempty, add APPEND to the result, # otherwise set result to NONDIR_REPLACEMENT. eval 'func_dirname () { $debug_cmd '"$_d"' }' # func_dirname_and_basename FILE APPEND NONDIR_REPLACEMENT # -------------------------------------------------------- # Perform func_basename and func_dirname in a single function # call: # dirname: Compute the dirname of FILE. If nonempty, # add APPEND to the result, otherwise set result # to NONDIR_REPLACEMENT. # value returned in "$func_dirname_result" # basename: Compute filename of FILE. # value retuned in "$func_basename_result" # For efficiency, we do not delegate to the functions above but instead # duplicate the functionality here. eval 'func_dirname_and_basename () { $debug_cmd '"$_b"' '"$_d"' }' # func_echo ARG... # ---------------- # Echo program name prefixed message. func_echo () { $debug_cmd _G_message=$* func_echo_IFS=$IFS IFS=$nl for _G_line in $_G_message; do IFS=$func_echo_IFS $ECHO "$progname: $_G_line" done IFS=$func_echo_IFS } # func_echo_all ARG... # -------------------- # Invoke $ECHO with all args, space-separated. func_echo_all () { $ECHO "$*" } # func_echo_infix_1 INFIX ARG... # ------------------------------ # Echo program name, followed by INFIX on the first line, with any # additional lines not showing INFIX. func_echo_infix_1 () { $debug_cmd $require_term_colors _G_infix=$1; shift _G_indent=$_G_infix _G_prefix="$progname: $_G_infix: " _G_message=$* # Strip color escape sequences before counting printable length for _G_tc in "$tc_reset" "$tc_bold" "$tc_standout" "$tc_red" "$tc_green" "$tc_blue" "$tc_cyan" do test -n "$_G_tc" && { _G_esc_tc=`$ECHO "$_G_tc" | $SED "$sed_make_literal_regex"` _G_indent=`$ECHO "$_G_indent" | $SED "s|$_G_esc_tc||g"` } done _G_indent="$progname: "`echo "$_G_indent" | $SED 's|.| |g'`" " ## exclude from sc_prohibit_nested_quotes func_echo_infix_1_IFS=$IFS IFS=$nl for _G_line in $_G_message; do IFS=$func_echo_infix_1_IFS $ECHO "$_G_prefix$tc_bold$_G_line$tc_reset" >&2 _G_prefix=$_G_indent done IFS=$func_echo_infix_1_IFS } # func_error ARG... # ----------------- # Echo program name prefixed message to standard error. func_error () { $debug_cmd $require_term_colors func_echo_infix_1 " $tc_standout${tc_red}error$tc_reset" "$*" >&2 } # func_fatal_error ARG... # ----------------------- # Echo program name prefixed message to standard error, and exit. func_fatal_error () { $debug_cmd func_error "$*" exit $EXIT_FAILURE } # func_grep EXPRESSION FILENAME # ----------------------------- # Check whether EXPRESSION matches any line of FILENAME, without output. func_grep () { $debug_cmd $GREP "$1" "$2" >/dev/null 2>&1 } # func_len STRING # --------------- # Set func_len_result to the length of STRING. STRING may not # start with a hyphen. test -z "$_G_HAVE_XSI_OPS" \ && (eval 'x=a/b/c; test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \ && _G_HAVE_XSI_OPS=yes if test yes = "$_G_HAVE_XSI_OPS"; then eval 'func_len () { $debug_cmd func_len_result=${#1} }' else func_len () { $debug_cmd func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` } fi # func_mkdir_p DIRECTORY-PATH # --------------------------- # Make sure the entire path to DIRECTORY-PATH is available. func_mkdir_p () { $debug_cmd _G_directory_path=$1 _G_dir_list= if test -n "$_G_directory_path" && test : != "$opt_dry_run"; then # Protect directory names starting with '-' case $_G_directory_path in -*) _G_directory_path=./$_G_directory_path ;; esac # While some portion of DIR does not yet exist... while test ! -d "$_G_directory_path"; do # ...make a list in topmost first order. Use a colon delimited # list incase some portion of path contains whitespace. _G_dir_list=$_G_directory_path:$_G_dir_list # If the last portion added has no slash in it, the list is done case $_G_directory_path in */*) ;; *) break ;; esac # ...otherwise throw away the child directory and loop _G_directory_path=`$ECHO "$_G_directory_path" | $SED -e "$sed_dirname"` done _G_dir_list=`$ECHO "$_G_dir_list" | $SED 's|:*$||'` func_mkdir_p_IFS=$IFS; IFS=: for _G_dir in $_G_dir_list; do IFS=$func_mkdir_p_IFS # mkdir can fail with a 'File exist' error if two processes # try to create one of the directories concurrently. Don't # stop in that case! $MKDIR "$_G_dir" 2>/dev/null || : done IFS=$func_mkdir_p_IFS # Bail out if we (or some other process) failed to create a directory. test -d "$_G_directory_path" || \ func_fatal_error "Failed to create '$1'" fi } # func_mktempdir [BASENAME] # ------------------------- # Make a temporary directory that won't clash with other running # libtool processes, and avoids race conditions if possible. If # given, BASENAME is the basename for that directory. func_mktempdir () { $debug_cmd _G_template=${TMPDIR-/tmp}/${1-$progname} if test : = "$opt_dry_run"; then # Return a directory name, but don't create it in dry-run mode _G_tmpdir=$_G_template-$$ else # If mktemp works, use that first and foremost _G_tmpdir=`mktemp -d "$_G_template-XXXXXXXX" 2>/dev/null` if test ! -d "$_G_tmpdir"; then # Failing that, at least try and use $RANDOM to avoid a race _G_tmpdir=$_G_template-${RANDOM-0}$$ func_mktempdir_umask=`umask` umask 0077 $MKDIR "$_G_tmpdir" umask $func_mktempdir_umask fi # If we're not in dry-run mode, bomb out on failure test -d "$_G_tmpdir" || \ func_fatal_error "cannot create temporary directory '$_G_tmpdir'" fi $ECHO "$_G_tmpdir" } # func_normal_abspath PATH # ------------------------ # Remove doubled-up and trailing slashes, "." path components, # and cancel out any ".." path components in PATH after making # it an absolute path. func_normal_abspath () { $debug_cmd # These SED scripts presuppose an absolute path with a trailing slash. _G_pathcar='s|^/\([^/]*\).*$|\1|' _G_pathcdr='s|^/[^/]*||' _G_removedotparts=':dotsl s|/\./|/|g t dotsl s|/\.$|/|' _G_collapseslashes='s|/\{1,\}|/|g' _G_finalslash='s|/*$|/|' # Start from root dir and reassemble the path. func_normal_abspath_result= func_normal_abspath_tpath=$1 func_normal_abspath_altnamespace= case $func_normal_abspath_tpath in "") # Empty path, that just means $cwd. func_stripname '' '/' "`pwd`" func_normal_abspath_result=$func_stripname_result return ;; # The next three entries are used to spot a run of precisely # two leading slashes without using negated character classes; # we take advantage of case's first-match behaviour. ///*) # Unusual form of absolute path, do nothing. ;; //*) # Not necessarily an ordinary path; POSIX reserves leading '//' # and for example Cygwin uses it to access remote file shares # over CIFS/SMB, so we conserve a leading double slash if found. func_normal_abspath_altnamespace=/ ;; /*) # Absolute path, do nothing. ;; *) # Relative path, prepend $cwd. func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath ;; esac # Cancel out all the simple stuff to save iterations. We also want # the path to end with a slash for ease of parsing, so make sure # there is one (and only one) here. func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ -e "$_G_removedotparts" -e "$_G_collapseslashes" -e "$_G_finalslash"` while :; do # Processed it all yet? if test / = "$func_normal_abspath_tpath"; then # If we ascended to the root using ".." the result may be empty now. if test -z "$func_normal_abspath_result"; then func_normal_abspath_result=/ fi break fi func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \ -e "$_G_pathcar"` func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ -e "$_G_pathcdr"` # Figure out what to do with it case $func_normal_abspath_tcomponent in "") # Trailing empty path component, ignore it. ;; ..) # Parent dir; strip last assembled component from result. func_dirname "$func_normal_abspath_result" func_normal_abspath_result=$func_dirname_result ;; *) # Actual path component, append it. func_append func_normal_abspath_result "/$func_normal_abspath_tcomponent" ;; esac done # Restore leading double-slash if one was found on entry. func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result } # func_notquiet ARG... # -------------------- # Echo program name prefixed message only when not in quiet mode. func_notquiet () { $debug_cmd $opt_quiet || func_echo ${1+"$@"} # A bug in bash halts the script if the last line of a function # fails when set -e is in force, so we need another command to # work around that: : } # func_relative_path SRCDIR DSTDIR # -------------------------------- # Set func_relative_path_result to the relative path from SRCDIR to DSTDIR. func_relative_path () { $debug_cmd func_relative_path_result= func_normal_abspath "$1" func_relative_path_tlibdir=$func_normal_abspath_result func_normal_abspath "$2" func_relative_path_tbindir=$func_normal_abspath_result # Ascend the tree starting from libdir while :; do # check if we have found a prefix of bindir case $func_relative_path_tbindir in $func_relative_path_tlibdir) # found an exact match func_relative_path_tcancelled= break ;; $func_relative_path_tlibdir*) # found a matching prefix func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir" func_relative_path_tcancelled=$func_stripname_result if test -z "$func_relative_path_result"; then func_relative_path_result=. fi break ;; *) func_dirname $func_relative_path_tlibdir func_relative_path_tlibdir=$func_dirname_result if test -z "$func_relative_path_tlibdir"; then # Have to descend all the way to the root! func_relative_path_result=../$func_relative_path_result func_relative_path_tcancelled=$func_relative_path_tbindir break fi func_relative_path_result=../$func_relative_path_result ;; esac done # Now calculate path; take care to avoid doubling-up slashes. func_stripname '' '/' "$func_relative_path_result" func_relative_path_result=$func_stripname_result func_stripname '/' '/' "$func_relative_path_tcancelled" if test -n "$func_stripname_result"; then func_append func_relative_path_result "/$func_stripname_result" fi # Normalisation. If bindir is libdir, return '.' else relative path. if test -n "$func_relative_path_result"; then func_stripname './' '' "$func_relative_path_result" func_relative_path_result=$func_stripname_result fi test -n "$func_relative_path_result" || func_relative_path_result=. : } # func_quote_for_eval ARG... # -------------------------- # Aesthetically quote ARGs to be evaled later. # This function returns two values: # i) func_quote_for_eval_result # double-quoted, suitable for a subsequent eval # ii) func_quote_for_eval_unquoted_result # has all characters that are still active within double # quotes backslashified. func_quote_for_eval () { $debug_cmd func_quote_for_eval_unquoted_result= func_quote_for_eval_result= while test 0 -lt $#; do case $1 in *[\\\`\"\$]*) _G_unquoted_arg=`printf '%s\n' "$1" |$SED "$sed_quote_subst"` ;; *) _G_unquoted_arg=$1 ;; esac if test -n "$func_quote_for_eval_unquoted_result"; then func_append func_quote_for_eval_unquoted_result " $_G_unquoted_arg" else func_append func_quote_for_eval_unquoted_result "$_G_unquoted_arg" fi case $_G_unquoted_arg in # Double-quote args containing shell metacharacters to delay # word splitting, command substitution and variable expansion # for a subsequent eval. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") _G_quoted_arg=\"$_G_unquoted_arg\" ;; *) _G_quoted_arg=$_G_unquoted_arg ;; esac if test -n "$func_quote_for_eval_result"; then func_append func_quote_for_eval_result " $_G_quoted_arg" else func_append func_quote_for_eval_result "$_G_quoted_arg" fi shift done } # func_quote_for_expand ARG # ------------------------- # Aesthetically quote ARG to be evaled later; same as above, # but do not quote variable references. func_quote_for_expand () { $debug_cmd case $1 in *[\\\`\"]*) _G_arg=`$ECHO "$1" | $SED \ -e "$sed_double_quote_subst" -e "$sed_double_backslash"` ;; *) _G_arg=$1 ;; esac case $_G_arg in # Double-quote args containing shell metacharacters to delay # word splitting and command substitution for a subsequent eval. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") _G_arg=\"$_G_arg\" ;; esac func_quote_for_expand_result=$_G_arg } # func_stripname PREFIX SUFFIX NAME # --------------------------------- # strip PREFIX and SUFFIX from NAME, and store in func_stripname_result. # PREFIX and SUFFIX must not contain globbing or regex special # characters, hashes, percent signs, but SUFFIX may contain a leading # dot (in which case that matches only a dot). if test yes = "$_G_HAVE_XSI_OPS"; then eval 'func_stripname () { $debug_cmd # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are # positional parameters, so assign one to ordinary variable first. func_stripname_result=$3 func_stripname_result=${func_stripname_result#"$1"} func_stripname_result=${func_stripname_result%"$2"} }' else func_stripname () { $debug_cmd case $2 in .*) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%\\\\$2\$%%"`;; *) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%$2\$%%"`;; esac } fi # func_show_eval CMD [FAIL_EXP] # ----------------------------- # Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP # is given, then evaluate it. func_show_eval () { $debug_cmd _G_cmd=$1 _G_fail_exp=${2-':'} func_quote_for_expand "$_G_cmd" eval "func_notquiet $func_quote_for_expand_result" $opt_dry_run || { eval "$_G_cmd" _G_status=$? if test 0 -ne "$_G_status"; then eval "(exit $_G_status); $_G_fail_exp" fi } } # func_show_eval_locale CMD [FAIL_EXP] # ------------------------------------ # Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP # is given, then evaluate it. Use the saved locale for evaluation. func_show_eval_locale () { $debug_cmd _G_cmd=$1 _G_fail_exp=${2-':'} $opt_quiet || { func_quote_for_expand "$_G_cmd" eval "func_echo $func_quote_for_expand_result" } $opt_dry_run || { eval "$_G_user_locale $_G_cmd" _G_status=$? eval "$_G_safe_locale" if test 0 -ne "$_G_status"; then eval "(exit $_G_status); $_G_fail_exp" fi } } # func_tr_sh # ---------- # Turn $1 into a string suitable for a shell variable name. # Result is stored in $func_tr_sh_result. All characters # not in the set a-zA-Z0-9_ are replaced with '_'. Further, # if $1 begins with a digit, a '_' is prepended as well. func_tr_sh () { $debug_cmd case $1 in [0-9]* | *[!a-zA-Z0-9_]*) func_tr_sh_result=`$ECHO "$1" | $SED -e 's/^\([0-9]\)/_\1/' -e 's/[^a-zA-Z0-9_]/_/g'` ;; * ) func_tr_sh_result=$1 ;; esac } # func_verbose ARG... # ------------------- # Echo program name prefixed message in verbose mode only. func_verbose () { $debug_cmd $opt_verbose && func_echo "$*" : } # func_warn_and_continue ARG... # ----------------------------- # Echo program name prefixed warning message to standard error. func_warn_and_continue () { $debug_cmd $require_term_colors func_echo_infix_1 "${tc_red}warning$tc_reset" "$*" >&2 } # func_warning CATEGORY ARG... # ---------------------------- # Echo program name prefixed warning message to standard error. Warning # messages can be filtered according to CATEGORY, where this function # elides messages where CATEGORY is not listed in the global variable # 'opt_warning_types'. func_warning () { $debug_cmd # CATEGORY must be in the warning_categories list! case " $warning_categories " in *" $1 "*) ;; *) func_internal_error "invalid warning category '$1'" ;; esac _G_category=$1 shift case " $opt_warning_types " in *" $_G_category "*) $warning_func ${1+"$@"} ;; esac } # func_sort_ver VER1 VER2 # ----------------------- # 'sort -V' is not generally available. # Note this deviates from the version comparison in automake # in that it treats 1.5 < 1.5.0, and treats 1.4.4a < 1.4-p3a # but this should suffice as we won't be specifying old # version formats or redundant trailing .0 in bootstrap.conf. # If we did want full compatibility then we should probably # use m4_version_compare from autoconf. func_sort_ver () { $debug_cmd printf '%s\n%s\n' "$1" "$2" \ | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n -k 5,5n -k 6,6n -k 7,7n -k 8,8n -k 9,9n } # func_lt_ver PREV CURR # --------------------- # Return true if PREV and CURR are in the correct order according to # func_sort_ver, otherwise false. Use it like this: # # func_lt_ver "$prev_ver" "$proposed_ver" || func_fatal_error "..." func_lt_ver () { $debug_cmd test "x$1" = x`func_sort_ver "$1" "$2" | $SED 1q` } # Local variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC" # time-stamp-time-zone: "UTC" # End: #! /bin/sh # Set a version string for this script. scriptversion=2014-01-07.03; # UTC # A portable, pluggable option parser for Bourne shell. # Written by Gary V. Vaughan, 2010 # Copyright (C) 2010-2015 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # Please report bugs or propose patches to gary@gnu.org. ## ------ ## ## Usage. ## ## ------ ## # This file is a library for parsing options in your shell scripts along # with assorted other useful supporting features that you can make use # of too. # # For the simplest scripts you might need only: # # #!/bin/sh # . relative/path/to/funclib.sh # . relative/path/to/options-parser # scriptversion=1.0 # func_options ${1+"$@"} # eval set dummy "$func_options_result"; shift # ...rest of your script... # # In order for the '--version' option to work, you will need to have a # suitably formatted comment like the one at the top of this file # starting with '# Written by ' and ending with '# warranty; '. # # For '-h' and '--help' to work, you will also need a one line # description of your script's purpose in a comment directly above the # '# Written by ' line, like the one at the top of this file. # # The default options also support '--debug', which will turn on shell # execution tracing (see the comment above debug_cmd below for another # use), and '--verbose' and the func_verbose function to allow your script # to display verbose messages only when your user has specified # '--verbose'. # # After sourcing this file, you can plug processing for additional # options by amending the variables from the 'Configuration' section # below, and following the instructions in the 'Option parsing' # section further down. ## -------------- ## ## Configuration. ## ## -------------- ## # You should override these variables in your script after sourcing this # file so that they reflect the customisations you have added to the # option parser. # The usage line for option parsing errors and the start of '-h' and # '--help' output messages. You can embed shell variables for delayed # expansion at the time the message is displayed, but you will need to # quote other shell meta-characters carefully to prevent them being # expanded when the contents are evaled. usage='$progpath [OPTION]...' # Short help message in response to '-h' and '--help'. Add to this or # override it after sourcing this library to reflect the full set of # options your script accepts. usage_message="\ --debug enable verbose shell tracing -W, --warnings=CATEGORY report the warnings falling in CATEGORY [all] -v, --verbose verbosely report processing --version print version information and exit -h, --help print short or long help message and exit " # Additional text appended to 'usage_message' in response to '--help'. long_help_message=" Warning categories include: 'all' show all warnings 'none' turn off all the warnings 'error' warnings are treated as fatal errors" # Help message printed before fatal option parsing errors. fatal_help="Try '\$progname --help' for more information." ## ------------------------- ## ## Hook function management. ## ## ------------------------- ## # This section contains functions for adding, removing, and running hooks # to the main code. A hook is just a named list of of function, that can # be run in order later on. # func_hookable FUNC_NAME # ----------------------- # Declare that FUNC_NAME will run hooks added with # 'func_add_hook FUNC_NAME ...'. func_hookable () { $debug_cmd func_append hookable_fns " $1" } # func_add_hook FUNC_NAME HOOK_FUNC # --------------------------------- # Request that FUNC_NAME call HOOK_FUNC before it returns. FUNC_NAME must # first have been declared "hookable" by a call to 'func_hookable'. func_add_hook () { $debug_cmd case " $hookable_fns " in *" $1 "*) ;; *) func_fatal_error "'$1' does not accept hook functions." ;; esac eval func_append ${1}_hooks '" $2"' } # func_remove_hook FUNC_NAME HOOK_FUNC # ------------------------------------ # Remove HOOK_FUNC from the list of functions called by FUNC_NAME. func_remove_hook () { $debug_cmd eval ${1}_hooks='`$ECHO "\$'$1'_hooks" |$SED "s| '$2'||"`' } # func_run_hooks FUNC_NAME [ARG]... # --------------------------------- # Run all hook functions registered to FUNC_NAME. # It is assumed that the list of hook functions contains nothing more # than a whitespace-delimited list of legal shell function names, and # no effort is wasted trying to catch shell meta-characters or preserve # whitespace. func_run_hooks () { $debug_cmd case " $hookable_fns " in *" $1 "*) ;; *) func_fatal_error "'$1' does not support hook funcions.n" ;; esac eval _G_hook_fns=\$$1_hooks; shift for _G_hook in $_G_hook_fns; do eval $_G_hook '"$@"' # store returned options list back into positional # parameters for next 'cmd' execution. eval _G_hook_result=\$${_G_hook}_result eval set dummy "$_G_hook_result"; shift done func_quote_for_eval ${1+"$@"} func_run_hooks_result=$func_quote_for_eval_result } ## --------------- ## ## Option parsing. ## ## --------------- ## # In order to add your own option parsing hooks, you must accept the # full positional parameter list in your hook function, remove any # options that you action, and then pass back the remaining unprocessed # options in '_result', escaped suitably for # 'eval'. Like this: # # my_options_prep () # { # $debug_cmd # # # Extend the existing usage message. # usage_message=$usage_message' # -s, --silent don'\''t print informational messages # ' # # func_quote_for_eval ${1+"$@"} # my_options_prep_result=$func_quote_for_eval_result # } # func_add_hook func_options_prep my_options_prep # # # my_silent_option () # { # $debug_cmd # # # Note that for efficiency, we parse as many options as we can # # recognise in a loop before passing the remainder back to the # # caller on the first unrecognised argument we encounter. # while test $# -gt 0; do # opt=$1; shift # case $opt in # --silent|-s) opt_silent=: ;; # # Separate non-argument short options: # -s*) func_split_short_opt "$_G_opt" # set dummy "$func_split_short_opt_name" \ # "-$func_split_short_opt_arg" ${1+"$@"} # shift # ;; # *) set dummy "$_G_opt" "$*"; shift; break ;; # esac # done # # func_quote_for_eval ${1+"$@"} # my_silent_option_result=$func_quote_for_eval_result # } # func_add_hook func_parse_options my_silent_option # # # my_option_validation () # { # $debug_cmd # # $opt_silent && $opt_verbose && func_fatal_help "\ # '--silent' and '--verbose' options are mutually exclusive." # # func_quote_for_eval ${1+"$@"} # my_option_validation_result=$func_quote_for_eval_result # } # func_add_hook func_validate_options my_option_validation # # You'll alse need to manually amend $usage_message to reflect the extra # options you parse. It's preferable to append if you can, so that # multiple option parsing hooks can be added safely. # func_options [ARG]... # --------------------- # All the functions called inside func_options are hookable. See the # individual implementations for details. func_hookable func_options func_options () { $debug_cmd func_options_prep ${1+"$@"} eval func_parse_options \ ${func_options_prep_result+"$func_options_prep_result"} eval func_validate_options \ ${func_parse_options_result+"$func_parse_options_result"} eval func_run_hooks func_options \ ${func_validate_options_result+"$func_validate_options_result"} # save modified positional parameters for caller func_options_result=$func_run_hooks_result } # func_options_prep [ARG]... # -------------------------- # All initialisations required before starting the option parse loop. # Note that when calling hook functions, we pass through the list of # positional parameters. If a hook function modifies that list, and # needs to propogate that back to rest of this script, then the complete # modified list must be put in 'func_run_hooks_result' before # returning. func_hookable func_options_prep func_options_prep () { $debug_cmd # Option defaults: opt_verbose=false opt_warning_types= func_run_hooks func_options_prep ${1+"$@"} # save modified positional parameters for caller func_options_prep_result=$func_run_hooks_result } # func_parse_options [ARG]... # --------------------------- # The main option parsing loop. func_hookable func_parse_options func_parse_options () { $debug_cmd func_parse_options_result= # this just eases exit handling while test $# -gt 0; do # Defer to hook functions for initial option parsing, so they # get priority in the event of reusing an option name. func_run_hooks func_parse_options ${1+"$@"} # Adjust func_parse_options positional parameters to match eval set dummy "$func_run_hooks_result"; shift # Break out of the loop if we already parsed every option. test $# -gt 0 || break _G_opt=$1 shift case $_G_opt in --debug|-x) debug_cmd='set -x' func_echo "enabling shell trace mode" $debug_cmd ;; --no-warnings|--no-warning|--no-warn) set dummy --warnings none ${1+"$@"} shift ;; --warnings|--warning|-W) test $# = 0 && func_missing_arg $_G_opt && break case " $warning_categories $1" in *" $1 "*) # trailing space prevents matching last $1 above func_append_uniq opt_warning_types " $1" ;; *all) opt_warning_types=$warning_categories ;; *none) opt_warning_types=none warning_func=: ;; *error) opt_warning_types=$warning_categories warning_func=func_fatal_error ;; *) func_fatal_error \ "unsupported warning category: '$1'" ;; esac shift ;; --verbose|-v) opt_verbose=: ;; --version) func_version ;; -\?|-h) func_usage ;; --help) func_help ;; # Separate optargs to long options (plugins may need this): --*=*) func_split_equals "$_G_opt" set dummy "$func_split_equals_lhs" \ "$func_split_equals_rhs" ${1+"$@"} shift ;; # Separate optargs to short options: -W*) func_split_short_opt "$_G_opt" set dummy "$func_split_short_opt_name" \ "$func_split_short_opt_arg" ${1+"$@"} shift ;; # Separate non-argument short options: -\?*|-h*|-v*|-x*) func_split_short_opt "$_G_opt" set dummy "$func_split_short_opt_name" \ "-$func_split_short_opt_arg" ${1+"$@"} shift ;; --) break ;; -*) func_fatal_help "unrecognised option: '$_G_opt'" ;; *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;; esac done # save modified positional parameters for caller func_quote_for_eval ${1+"$@"} func_parse_options_result=$func_quote_for_eval_result } # func_validate_options [ARG]... # ------------------------------ # Perform any sanity checks on option settings and/or unconsumed # arguments. func_hookable func_validate_options func_validate_options () { $debug_cmd # Display all warnings if -W was not given. test -n "$opt_warning_types" || opt_warning_types=" $warning_categories" func_run_hooks func_validate_options ${1+"$@"} # Bail if the options were screwed! $exit_cmd $EXIT_FAILURE # save modified positional parameters for caller func_validate_options_result=$func_run_hooks_result } ## ----------------- ## ## Helper functions. ## ## ----------------- ## # This section contains the helper functions used by the rest of the # hookable option parser framework in ascii-betical order. # func_fatal_help ARG... # ---------------------- # Echo program name prefixed message to standard error, followed by # a help hint, and exit. func_fatal_help () { $debug_cmd eval \$ECHO \""Usage: $usage"\" eval \$ECHO \""$fatal_help"\" func_error ${1+"$@"} exit $EXIT_FAILURE } # func_help # --------- # Echo long help message to standard output and exit. func_help () { $debug_cmd func_usage_message $ECHO "$long_help_message" exit 0 } # func_missing_arg ARGNAME # ------------------------ # Echo program name prefixed message to standard error and set global # exit_cmd. func_missing_arg () { $debug_cmd func_error "Missing argument for '$1'." exit_cmd=exit } # func_split_equals STRING # ------------------------ # Set func_split_equals_lhs and func_split_equals_rhs shell variables after # splitting STRING at the '=' sign. test -z "$_G_HAVE_XSI_OPS" \ && (eval 'x=a/b/c; test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \ && _G_HAVE_XSI_OPS=yes if test yes = "$_G_HAVE_XSI_OPS" then # This is an XSI compatible shell, allowing a faster implementation... eval 'func_split_equals () { $debug_cmd func_split_equals_lhs=${1%%=*} func_split_equals_rhs=${1#*=} test "x$func_split_equals_lhs" = "x$1" \ && func_split_equals_rhs= }' else # ...otherwise fall back to using expr, which is often a shell builtin. func_split_equals () { $debug_cmd func_split_equals_lhs=`expr "x$1" : 'x\([^=]*\)'` func_split_equals_rhs= test "x$func_split_equals_lhs" = "x$1" \ || func_split_equals_rhs=`expr "x$1" : 'x[^=]*=\(.*\)$'` } fi #func_split_equals # func_split_short_opt SHORTOPT # ----------------------------- # Set func_split_short_opt_name and func_split_short_opt_arg shell # variables after splitting SHORTOPT after the 2nd character. if test yes = "$_G_HAVE_XSI_OPS" then # This is an XSI compatible shell, allowing a faster implementation... eval 'func_split_short_opt () { $debug_cmd func_split_short_opt_arg=${1#??} func_split_short_opt_name=${1%"$func_split_short_opt_arg"} }' else # ...otherwise fall back to using expr, which is often a shell builtin. func_split_short_opt () { $debug_cmd func_split_short_opt_name=`expr "x$1" : 'x-\(.\)'` func_split_short_opt_arg=`expr "x$1" : 'x-.\(.*\)$'` } fi #func_split_short_opt # func_usage # ---------- # Echo short help message to standard output and exit. func_usage () { $debug_cmd func_usage_message $ECHO "Run '$progname --help |${PAGER-more}' for full usage" exit 0 } # func_usage_message # ------------------ # Echo short help message to standard output. func_usage_message () { $debug_cmd eval \$ECHO \""Usage: $usage"\" echo $SED -n 's|^# || /^Written by/{ x;p;x } h /^Written by/q' < "$progpath" echo eval \$ECHO \""$usage_message"\" } # func_version # ------------ # Echo version message to standard output and exit. func_version () { $debug_cmd printf '%s\n' "$progname $scriptversion" $SED -n ' /(C)/!b go :more /\./!{ N s|\n# | | b more } :go /^# Written by /,/# warranty; / { s|^# || s|^# *$|| s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2| p } /^# Written by / { s|^# || p } /^warranty; /q' < "$progpath" exit $? } # Local variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC" # time-stamp-time-zone: "UTC" # End: # Set a version string. scriptversion='(GNU libtool) 2.4.6' # func_echo ARG... # ---------------- # Libtool also displays the current mode in messages, so override # funclib.sh func_echo with this custom definition. func_echo () { $debug_cmd _G_message=$* func_echo_IFS=$IFS IFS=$nl for _G_line in $_G_message; do IFS=$func_echo_IFS $ECHO "$progname${opt_mode+: $opt_mode}: $_G_line" done IFS=$func_echo_IFS } # func_warning ARG... # ------------------- # Libtool warnings are not categorized, so override funclib.sh # func_warning with this simpler definition. func_warning () { $debug_cmd $warning_func ${1+"$@"} } ## ---------------- ## ## Options parsing. ## ## ---------------- ## # Hook in the functions to make sure our own options are parsed during # the option parsing loop. usage='$progpath [OPTION]... [MODE-ARG]...' # Short help message in response to '-h'. usage_message="Options: --config show all configuration variables --debug enable verbose shell tracing -n, --dry-run display commands without modifying any files --features display basic configuration information and exit --mode=MODE use operation mode MODE --no-warnings equivalent to '-Wnone' --preserve-dup-deps don't remove duplicate dependency libraries --quiet, --silent don't print informational messages --tag=TAG use configuration variables from tag TAG -v, --verbose print more informational messages than default --version print version information -W, --warnings=CATEGORY report the warnings falling in CATEGORY [all] -h, --help, --help-all print short, long, or detailed help message " # Additional text appended to 'usage_message' in response to '--help'. func_help () { $debug_cmd func_usage_message $ECHO "$long_help_message MODE must be one of the following: clean remove files from the build directory compile compile a source file into a libtool object execute automatically set library path, then run a program finish complete the installation of libtool libraries install install libraries or executables link create a library or an executable uninstall remove libraries from an installed directory MODE-ARGS vary depending on the MODE. When passed as first option, '--mode=MODE' may be abbreviated as 'MODE' or a unique abbreviation of that. Try '$progname --help --mode=MODE' for a more detailed description of MODE. When reporting a bug, please describe a test case to reproduce it and include the following information: host-triplet: $host shell: $SHELL compiler: $LTCC compiler flags: $LTCFLAGS linker: $LD (gnu? $with_gnu_ld) version: $progname (GNU libtool) 2.4.6 automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q` autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q` Report bugs to . GNU libtool home page: . General help using GNU software: ." exit 0 } # func_lo2o OBJECT-NAME # --------------------- # Transform OBJECT-NAME from a '.lo' suffix to the platform specific # object suffix. lo2o=s/\\.lo\$/.$objext/ o2lo=s/\\.$objext\$/.lo/ if test yes = "$_G_HAVE_XSI_OPS"; then eval 'func_lo2o () { case $1 in *.lo) func_lo2o_result=${1%.lo}.$objext ;; * ) func_lo2o_result=$1 ;; esac }' # func_xform LIBOBJ-OR-SOURCE # --------------------------- # Transform LIBOBJ-OR-SOURCE from a '.o' or '.c' (or otherwise) # suffix to a '.lo' libtool-object suffix. eval 'func_xform () { func_xform_result=${1%.*}.lo }' else # ...otherwise fall back to using sed. func_lo2o () { func_lo2o_result=`$ECHO "$1" | $SED "$lo2o"` } func_xform () { func_xform_result=`$ECHO "$1" | $SED 's|\.[^.]*$|.lo|'` } fi # func_fatal_configuration ARG... # ------------------------------- # Echo program name prefixed message to standard error, followed by # a configuration failure hint, and exit. func_fatal_configuration () { func__fatal_error ${1+"$@"} \ "See the $PACKAGE documentation for more information." \ "Fatal configuration error." } # func_config # ----------- # Display the configuration for all the tags in this script. func_config () { re_begincf='^# ### BEGIN LIBTOOL' re_endcf='^# ### END LIBTOOL' # Default configuration. $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath" # Now print the configurations for the tags. for tagname in $taglist; do $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath" done exit $? } # func_features # ------------- # Display the features supported by this script. func_features () { echo "host: $host" if test yes = "$build_libtool_libs"; then echo "enable shared libraries" else echo "disable shared libraries" fi if test yes = "$build_old_libs"; then echo "enable static libraries" else echo "disable static libraries" fi exit $? } # func_enable_tag TAGNAME # ----------------------- # Verify that TAGNAME is valid, and either flag an error and exit, or # enable the TAGNAME tag. We also add TAGNAME to the global $taglist # variable here. func_enable_tag () { # Global variable: tagname=$1 re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$" re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$" sed_extractcf=/$re_begincf/,/$re_endcf/p # Validate tagname. case $tagname in *[!-_A-Za-z0-9,/]*) func_fatal_error "invalid tag name: $tagname" ;; esac # Don't test for the "default" C tag, as we know it's # there but not specially marked. case $tagname in CC) ;; *) if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then taglist="$taglist $tagname" # Evaluate the configuration. Be careful to quote the path # and the sed script, to avoid splitting on whitespace, but # also don't use non-portable quotes within backquotes within # quotes we have to do it in 2 steps: extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"` eval "$extractedcf" else func_error "ignoring unknown tag $tagname" fi ;; esac } # func_check_version_match # ------------------------ # Ensure that we are using m4 macros, and libtool script from the same # release of libtool. func_check_version_match () { if test "$package_revision" != "$macro_revision"; then if test "$VERSION" != "$macro_version"; then if test -z "$macro_version"; then cat >&2 <<_LT_EOF $progname: Version mismatch error. This is $PACKAGE $VERSION, but the $progname: definition of this LT_INIT comes from an older release. $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION $progname: and run autoconf again. _LT_EOF else cat >&2 <<_LT_EOF $progname: Version mismatch error. This is $PACKAGE $VERSION, but the $progname: definition of this LT_INIT comes from $PACKAGE $macro_version. $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION $progname: and run autoconf again. _LT_EOF fi else cat >&2 <<_LT_EOF $progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision, $progname: but the definition of this LT_INIT comes from revision $macro_revision. $progname: You should recreate aclocal.m4 with macros from revision $package_revision $progname: of $PACKAGE $VERSION and run autoconf again. _LT_EOF fi exit $EXIT_MISMATCH fi } # libtool_options_prep [ARG]... # ----------------------------- # Preparation for options parsed by libtool. libtool_options_prep () { $debug_mode # Option defaults: opt_config=false opt_dlopen= opt_dry_run=false opt_help=false opt_mode= opt_preserve_dup_deps=false opt_quiet=false nonopt= preserve_args= # Shorthand for --mode=foo, only valid as the first argument case $1 in clean|clea|cle|cl) shift; set dummy --mode clean ${1+"$@"}; shift ;; compile|compil|compi|comp|com|co|c) shift; set dummy --mode compile ${1+"$@"}; shift ;; execute|execut|execu|exec|exe|ex|e) shift; set dummy --mode execute ${1+"$@"}; shift ;; finish|finis|fini|fin|fi|f) shift; set dummy --mode finish ${1+"$@"}; shift ;; install|instal|insta|inst|ins|in|i) shift; set dummy --mode install ${1+"$@"}; shift ;; link|lin|li|l) shift; set dummy --mode link ${1+"$@"}; shift ;; uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) shift; set dummy --mode uninstall ${1+"$@"}; shift ;; esac # Pass back the list of options. func_quote_for_eval ${1+"$@"} libtool_options_prep_result=$func_quote_for_eval_result } func_add_hook func_options_prep libtool_options_prep # libtool_parse_options [ARG]... # --------------------------------- # Provide handling for libtool specific options. libtool_parse_options () { $debug_cmd # Perform our own loop to consume as many options as possible in # each iteration. while test $# -gt 0; do _G_opt=$1 shift case $_G_opt in --dry-run|--dryrun|-n) opt_dry_run=: ;; --config) func_config ;; --dlopen|-dlopen) opt_dlopen="${opt_dlopen+$opt_dlopen }$1" shift ;; --preserve-dup-deps) opt_preserve_dup_deps=: ;; --features) func_features ;; --finish) set dummy --mode finish ${1+"$@"}; shift ;; --help) opt_help=: ;; --help-all) opt_help=': help-all' ;; --mode) test $# = 0 && func_missing_arg $_G_opt && break opt_mode=$1 case $1 in # Valid mode arguments: clean|compile|execute|finish|install|link|relink|uninstall) ;; # Catch anything else as an error *) func_error "invalid argument for $_G_opt" exit_cmd=exit break ;; esac shift ;; --no-silent|--no-quiet) opt_quiet=false func_append preserve_args " $_G_opt" ;; --no-warnings|--no-warning|--no-warn) opt_warning=false func_append preserve_args " $_G_opt" ;; --no-verbose) opt_verbose=false func_append preserve_args " $_G_opt" ;; --silent|--quiet) opt_quiet=: opt_verbose=false func_append preserve_args " $_G_opt" ;; --tag) test $# = 0 && func_missing_arg $_G_opt && break opt_tag=$1 func_append preserve_args " $_G_opt $1" func_enable_tag "$1" shift ;; --verbose|-v) opt_quiet=false opt_verbose=: func_append preserve_args " $_G_opt" ;; # An option not handled by this hook function: *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;; esac done # save modified positional parameters for caller func_quote_for_eval ${1+"$@"} libtool_parse_options_result=$func_quote_for_eval_result } func_add_hook func_parse_options libtool_parse_options # libtool_validate_options [ARG]... # --------------------------------- # Perform any sanity checks on option settings and/or unconsumed # arguments. libtool_validate_options () { # save first non-option argument if test 0 -lt $#; then nonopt=$1 shift fi # preserve --debug test : = "$debug_cmd" || func_append preserve_args " --debug" case $host in # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452 # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788 *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*) # don't eliminate duplications in $postdeps and $predeps opt_duplicate_compiler_generated_deps=: ;; *) opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps ;; esac $opt_help || { # Sanity checks first: func_check_version_match test yes != "$build_libtool_libs" \ && test yes != "$build_old_libs" \ && func_fatal_configuration "not configured to build any kind of library" # Darwin sucks eval std_shrext=\"$shrext_cmds\" # Only execute mode is allowed to have -dlopen flags. if test -n "$opt_dlopen" && test execute != "$opt_mode"; then func_error "unrecognized option '-dlopen'" $ECHO "$help" 1>&2 exit $EXIT_FAILURE fi # Change the help message to a mode-specific one. generic_help=$help help="Try '$progname --help --mode=$opt_mode' for more information." } # Pass back the unparsed argument list func_quote_for_eval ${1+"$@"} libtool_validate_options_result=$func_quote_for_eval_result } func_add_hook func_validate_options libtool_validate_options # Process options as early as possible so that --help and --version # can return quickly. func_options ${1+"$@"} eval set dummy "$func_options_result"; shift ## ----------- ## ## Main. ## ## ----------- ## magic='%%%MAGIC variable%%%' magic_exe='%%%MAGIC EXE variable%%%' # Global variables. extracted_archives= extracted_serial=0 # If this variable is set in any of the actions, the command in it # will be execed at the end. This prevents here-documents from being # left over by shells. exec_cmd= # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF $1 _LTECHO_EOF' } # func_generated_by_libtool # True iff stdin has been generated by Libtool. This function is only # a basic sanity check; it will hardly flush out determined imposters. func_generated_by_libtool_p () { $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 } # func_lalib_p file # True iff FILE is a libtool '.la' library or '.lo' object file. # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_lalib_p () { test -f "$1" && $SED -e 4q "$1" 2>/dev/null | func_generated_by_libtool_p } # func_lalib_unsafe_p file # True iff FILE is a libtool '.la' library or '.lo' object file. # This function implements the same check as func_lalib_p without # resorting to external programs. To this end, it redirects stdin and # closes it afterwards, without saving the original file descriptor. # As a safety measure, use it only where a negative result would be # fatal anyway. Works if 'file' does not exist. func_lalib_unsafe_p () { lalib_p=no if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then for lalib_p_l in 1 2 3 4 do read lalib_p_line case $lalib_p_line in \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;; esac done exec 0<&5 5<&- fi test yes = "$lalib_p" } # func_ltwrapper_script_p file # True iff FILE is a libtool wrapper script # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_script_p () { test -f "$1" && $lt_truncate_bin < "$1" 2>/dev/null | func_generated_by_libtool_p } # func_ltwrapper_executable_p file # True iff FILE is a libtool wrapper executable # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_executable_p () { func_ltwrapper_exec_suffix= case $1 in *.exe) ;; *) func_ltwrapper_exec_suffix=.exe ;; esac $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1 } # func_ltwrapper_scriptname file # Assumes file is an ltwrapper_executable # uses $file to determine the appropriate filename for a # temporary ltwrapper_script. func_ltwrapper_scriptname () { func_dirname_and_basename "$1" "" "." func_stripname '' '.exe' "$func_basename_result" func_ltwrapper_scriptname_result=$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper } # func_ltwrapper_p file # True iff FILE is a libtool wrapper script or wrapper executable # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_p () { func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1" } # func_execute_cmds commands fail_cmd # Execute tilde-delimited COMMANDS. # If FAIL_CMD is given, eval that upon failure. # FAIL_CMD may read-access the current command in variable CMD! func_execute_cmds () { $debug_cmd save_ifs=$IFS; IFS='~' for cmd in $1; do IFS=$sp$nl eval cmd=\"$cmd\" IFS=$save_ifs func_show_eval "$cmd" "${2-:}" done IFS=$save_ifs } # func_source file # Source FILE, adding directory component if necessary. # Note that it is not necessary on cygwin/mingw to append a dot to # FILE even if both FILE and FILE.exe exist: automatic-append-.exe # behavior happens only for exec(3), not for open(2)! Also, sourcing # 'FILE.' does not work on cygwin managed mounts. func_source () { $debug_cmd case $1 in */* | *\\*) . "$1" ;; *) . "./$1" ;; esac } # func_resolve_sysroot PATH # Replace a leading = in PATH with a sysroot. Store the result into # func_resolve_sysroot_result func_resolve_sysroot () { func_resolve_sysroot_result=$1 case $func_resolve_sysroot_result in =*) func_stripname '=' '' "$func_resolve_sysroot_result" func_resolve_sysroot_result=$lt_sysroot$func_stripname_result ;; esac } # func_replace_sysroot PATH # If PATH begins with the sysroot, replace it with = and # store the result into func_replace_sysroot_result. func_replace_sysroot () { case $lt_sysroot:$1 in ?*:"$lt_sysroot"*) func_stripname "$lt_sysroot" '' "$1" func_replace_sysroot_result='='$func_stripname_result ;; *) # Including no sysroot. func_replace_sysroot_result=$1 ;; esac } # func_infer_tag arg # Infer tagged configuration to use if any are available and # if one wasn't chosen via the "--tag" command line option. # Only attempt this if the compiler in the base compile # command doesn't match the default compiler. # arg is usually of the form 'gcc ...' func_infer_tag () { $debug_cmd if test -n "$available_tags" && test -z "$tagname"; then CC_quoted= for arg in $CC; do func_append_quoted CC_quoted "$arg" done CC_expanded=`func_echo_all $CC` CC_quoted_expanded=`func_echo_all $CC_quoted` case $@ in # Blanks in the command may have been stripped by the calling shell, # but not from the CC environment variable when configure was run. " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;; # Blanks at the start of $base_compile will cause this to fail # if we don't check for them as well. *) for z in $available_tags; do if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then # Evaluate the configuration. eval "`$SED -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" CC_quoted= for arg in $CC; do # Double-quote args containing other shell metacharacters. func_append_quoted CC_quoted "$arg" done CC_expanded=`func_echo_all $CC` CC_quoted_expanded=`func_echo_all $CC_quoted` case "$@ " in " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) # The compiler in the base compile command matches # the one in the tagged configuration. # Assume this is the tagged configuration we want. tagname=$z break ;; esac fi done # If $tagname still isn't set, then no tagged configuration # was found and let the user know that the "--tag" command # line option must be used. if test -z "$tagname"; then func_echo "unable to infer tagged configuration" func_fatal_error "specify a tag with '--tag'" # else # func_verbose "using $tagname tagged configuration" fi ;; esac fi } # func_write_libtool_object output_name pic_name nonpic_name # Create a libtool object file (analogous to a ".la" file), # but don't create it if we're doing a dry run. func_write_libtool_object () { write_libobj=$1 if test yes = "$build_libtool_libs"; then write_lobj=\'$2\' else write_lobj=none fi if test yes = "$build_old_libs"; then write_oldobj=\'$3\' else write_oldobj=none fi $opt_dry_run || { cat >${write_libobj}T </dev/null` if test "$?" -eq 0 && test -n "$func_convert_core_file_wine_to_w32_tmp"; then func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" | $SED -e "$sed_naive_backslashify"` else func_convert_core_file_wine_to_w32_result= fi fi } # end: func_convert_core_file_wine_to_w32 # func_convert_core_path_wine_to_w32 ARG # Helper function used by path conversion functions when $build is *nix, and # $host is mingw, cygwin, or some other w32 environment. Relies on a correctly # configured wine environment available, with the winepath program in $build's # $PATH. Assumes ARG has no leading or trailing path separator characters. # # ARG is path to be converted from $build format to win32. # Result is available in $func_convert_core_path_wine_to_w32_result. # Unconvertible file (directory) names in ARG are skipped; if no directory names # are convertible, then the result may be empty. func_convert_core_path_wine_to_w32 () { $debug_cmd # unfortunately, winepath doesn't convert paths, only file names func_convert_core_path_wine_to_w32_result= if test -n "$1"; then oldIFS=$IFS IFS=: for func_convert_core_path_wine_to_w32_f in $1; do IFS=$oldIFS func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f" if test -n "$func_convert_core_file_wine_to_w32_result"; then if test -z "$func_convert_core_path_wine_to_w32_result"; then func_convert_core_path_wine_to_w32_result=$func_convert_core_file_wine_to_w32_result else func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result" fi fi done IFS=$oldIFS fi } # end: func_convert_core_path_wine_to_w32 # func_cygpath ARGS... # Wrapper around calling the cygpath program via LT_CYGPATH. This is used when # when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2) # $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or # (2), returns the Cygwin file name or path in func_cygpath_result (input # file name or path is assumed to be in w32 format, as previously converted # from $build's *nix or MSYS format). In case (3), returns the w32 file name # or path in func_cygpath_result (input file name or path is assumed to be in # Cygwin format). Returns an empty string on error. # # ARGS are passed to cygpath, with the last one being the file name or path to # be converted. # # Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH # environment variable; do not put it in $PATH. func_cygpath () { $debug_cmd if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null` if test "$?" -ne 0; then # on failure, ensure result is empty func_cygpath_result= fi else func_cygpath_result= func_error "LT_CYGPATH is empty or specifies non-existent file: '$LT_CYGPATH'" fi } #end: func_cygpath # func_convert_core_msys_to_w32 ARG # Convert file name or path ARG from MSYS format to w32 format. Return # result in func_convert_core_msys_to_w32_result. func_convert_core_msys_to_w32 () { $debug_cmd # awkward: cmd appends spaces to result func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null | $SED -e 's/[ ]*$//' -e "$sed_naive_backslashify"` } #end: func_convert_core_msys_to_w32 # func_convert_file_check ARG1 ARG2 # Verify that ARG1 (a file name in $build format) was converted to $host # format in ARG2. Otherwise, emit an error message, but continue (resetting # func_to_host_file_result to ARG1). func_convert_file_check () { $debug_cmd if test -z "$2" && test -n "$1"; then func_error "Could not determine host file name corresponding to" func_error " '$1'" func_error "Continuing, but uninstalled executables may not work." # Fallback: func_to_host_file_result=$1 fi } # end func_convert_file_check # func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH # Verify that FROM_PATH (a path in $build format) was converted to $host # format in TO_PATH. Otherwise, emit an error message, but continue, resetting # func_to_host_file_result to a simplistic fallback value (see below). func_convert_path_check () { $debug_cmd if test -z "$4" && test -n "$3"; then func_error "Could not determine the host path corresponding to" func_error " '$3'" func_error "Continuing, but uninstalled executables may not work." # Fallback. This is a deliberately simplistic "conversion" and # should not be "improved". See libtool.info. if test "x$1" != "x$2"; then lt_replace_pathsep_chars="s|$1|$2|g" func_to_host_path_result=`echo "$3" | $SED -e "$lt_replace_pathsep_chars"` else func_to_host_path_result=$3 fi fi } # end func_convert_path_check # func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG # Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT # and appending REPL if ORIG matches BACKPAT. func_convert_path_front_back_pathsep () { $debug_cmd case $4 in $1 ) func_to_host_path_result=$3$func_to_host_path_result ;; esac case $4 in $2 ) func_append func_to_host_path_result "$3" ;; esac } # end func_convert_path_front_back_pathsep ################################################## # $build to $host FILE NAME CONVERSION FUNCTIONS # ################################################## # invoked via '$to_host_file_cmd ARG' # # In each case, ARG is the path to be converted from $build to $host format. # Result will be available in $func_to_host_file_result. # func_to_host_file ARG # Converts the file name ARG from $build format to $host format. Return result # in func_to_host_file_result. func_to_host_file () { $debug_cmd $to_host_file_cmd "$1" } # end func_to_host_file # func_to_tool_file ARG LAZY # converts the file name ARG from $build format to toolchain format. Return # result in func_to_tool_file_result. If the conversion in use is listed # in (the comma separated) LAZY, no conversion takes place. func_to_tool_file () { $debug_cmd case ,$2, in *,"$to_tool_file_cmd",*) func_to_tool_file_result=$1 ;; *) $to_tool_file_cmd "$1" func_to_tool_file_result=$func_to_host_file_result ;; esac } # end func_to_tool_file # func_convert_file_noop ARG # Copy ARG to func_to_host_file_result. func_convert_file_noop () { func_to_host_file_result=$1 } # end func_convert_file_noop # func_convert_file_msys_to_w32 ARG # Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic # conversion to w32 is not available inside the cwrapper. Returns result in # func_to_host_file_result. func_convert_file_msys_to_w32 () { $debug_cmd func_to_host_file_result=$1 if test -n "$1"; then func_convert_core_msys_to_w32 "$1" func_to_host_file_result=$func_convert_core_msys_to_w32_result fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_msys_to_w32 # func_convert_file_cygwin_to_w32 ARG # Convert file name ARG from Cygwin to w32 format. Returns result in # func_to_host_file_result. func_convert_file_cygwin_to_w32 () { $debug_cmd func_to_host_file_result=$1 if test -n "$1"; then # because $build is cygwin, we call "the" cygpath in $PATH; no need to use # LT_CYGPATH in this case. func_to_host_file_result=`cygpath -m "$1"` fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_cygwin_to_w32 # func_convert_file_nix_to_w32 ARG # Convert file name ARG from *nix to w32 format. Requires a wine environment # and a working winepath. Returns result in func_to_host_file_result. func_convert_file_nix_to_w32 () { $debug_cmd func_to_host_file_result=$1 if test -n "$1"; then func_convert_core_file_wine_to_w32 "$1" func_to_host_file_result=$func_convert_core_file_wine_to_w32_result fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_nix_to_w32 # func_convert_file_msys_to_cygwin ARG # Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. # Returns result in func_to_host_file_result. func_convert_file_msys_to_cygwin () { $debug_cmd func_to_host_file_result=$1 if test -n "$1"; then func_convert_core_msys_to_w32 "$1" func_cygpath -u "$func_convert_core_msys_to_w32_result" func_to_host_file_result=$func_cygpath_result fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_msys_to_cygwin # func_convert_file_nix_to_cygwin ARG # Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed # in a wine environment, working winepath, and LT_CYGPATH set. Returns result # in func_to_host_file_result. func_convert_file_nix_to_cygwin () { $debug_cmd func_to_host_file_result=$1 if test -n "$1"; then # convert from *nix to w32, then use cygpath to convert from w32 to cygwin. func_convert_core_file_wine_to_w32 "$1" func_cygpath -u "$func_convert_core_file_wine_to_w32_result" func_to_host_file_result=$func_cygpath_result fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_nix_to_cygwin ############################################# # $build to $host PATH CONVERSION FUNCTIONS # ############################################# # invoked via '$to_host_path_cmd ARG' # # In each case, ARG is the path to be converted from $build to $host format. # The result will be available in $func_to_host_path_result. # # Path separators are also converted from $build format to $host format. If # ARG begins or ends with a path separator character, it is preserved (but # converted to $host format) on output. # # All path conversion functions are named using the following convention: # file name conversion function : func_convert_file_X_to_Y () # path conversion function : func_convert_path_X_to_Y () # where, for any given $build/$host combination the 'X_to_Y' value is the # same. If conversion functions are added for new $build/$host combinations, # the two new functions must follow this pattern, or func_init_to_host_path_cmd # will break. # func_init_to_host_path_cmd # Ensures that function "pointer" variable $to_host_path_cmd is set to the # appropriate value, based on the value of $to_host_file_cmd. to_host_path_cmd= func_init_to_host_path_cmd () { $debug_cmd if test -z "$to_host_path_cmd"; then func_stripname 'func_convert_file_' '' "$to_host_file_cmd" to_host_path_cmd=func_convert_path_$func_stripname_result fi } # func_to_host_path ARG # Converts the path ARG from $build format to $host format. Return result # in func_to_host_path_result. func_to_host_path () { $debug_cmd func_init_to_host_path_cmd $to_host_path_cmd "$1" } # end func_to_host_path # func_convert_path_noop ARG # Copy ARG to func_to_host_path_result. func_convert_path_noop () { func_to_host_path_result=$1 } # end func_convert_path_noop # func_convert_path_msys_to_w32 ARG # Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic # conversion to w32 is not available inside the cwrapper. Returns result in # func_to_host_path_result. func_convert_path_msys_to_w32 () { $debug_cmd func_to_host_path_result=$1 if test -n "$1"; then # Remove leading and trailing path separator characters from ARG. MSYS # behavior is inconsistent here; cygpath turns them into '.;' and ';.'; # and winepath ignores them completely. func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" func_to_host_path_result=$func_convert_core_msys_to_w32_result func_convert_path_check : ";" \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" fi } # end func_convert_path_msys_to_w32 # func_convert_path_cygwin_to_w32 ARG # Convert path ARG from Cygwin to w32 format. Returns result in # func_to_host_file_result. func_convert_path_cygwin_to_w32 () { $debug_cmd func_to_host_path_result=$1 if test -n "$1"; then # See func_convert_path_msys_to_w32: func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"` func_convert_path_check : ";" \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" fi } # end func_convert_path_cygwin_to_w32 # func_convert_path_nix_to_w32 ARG # Convert path ARG from *nix to w32 format. Requires a wine environment and # a working winepath. Returns result in func_to_host_file_result. func_convert_path_nix_to_w32 () { $debug_cmd func_to_host_path_result=$1 if test -n "$1"; then # See func_convert_path_msys_to_w32: func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" func_to_host_path_result=$func_convert_core_path_wine_to_w32_result func_convert_path_check : ";" \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" fi } # end func_convert_path_nix_to_w32 # func_convert_path_msys_to_cygwin ARG # Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. # Returns result in func_to_host_file_result. func_convert_path_msys_to_cygwin () { $debug_cmd func_to_host_path_result=$1 if test -n "$1"; then # See func_convert_path_msys_to_w32: func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" func_cygpath -u -p "$func_convert_core_msys_to_w32_result" func_to_host_path_result=$func_cygpath_result func_convert_path_check : : \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" : "$1" fi } # end func_convert_path_msys_to_cygwin # func_convert_path_nix_to_cygwin ARG # Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a # a wine environment, working winepath, and LT_CYGPATH set. Returns result in # func_to_host_file_result. func_convert_path_nix_to_cygwin () { $debug_cmd func_to_host_path_result=$1 if test -n "$1"; then # Remove leading and trailing path separator characters from # ARG. msys behavior is inconsistent here, cygpath turns them # into '.;' and ';.', and winepath ignores them completely. func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result" func_to_host_path_result=$func_cygpath_result func_convert_path_check : : \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" : "$1" fi } # end func_convert_path_nix_to_cygwin # func_dll_def_p FILE # True iff FILE is a Windows DLL '.def' file. # Keep in sync with _LT_DLL_DEF_P in libtool.m4 func_dll_def_p () { $debug_cmd func_dll_def_p_tmp=`$SED -n \ -e 's/^[ ]*//' \ -e '/^\(;.*\)*$/d' \ -e 's/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p' \ -e q \ "$1"` test DEF = "$func_dll_def_p_tmp" } # func_mode_compile arg... func_mode_compile () { $debug_cmd # Get the compilation command and the source file. base_compile= srcfile=$nonopt # always keep a non-empty value in "srcfile" suppress_opt=yes suppress_output= arg_mode=normal libobj= later= pie_flag= for arg do case $arg_mode in arg ) # do not "continue". Instead, add this to base_compile lastarg=$arg arg_mode=normal ;; target ) libobj=$arg arg_mode=normal continue ;; normal ) # Accept any command-line options. case $arg in -o) test -n "$libobj" && \ func_fatal_error "you cannot specify '-o' more than once" arg_mode=target continue ;; -pie | -fpie | -fPIE) func_append pie_flag " $arg" continue ;; -shared | -static | -prefer-pic | -prefer-non-pic) func_append later " $arg" continue ;; -no-suppress) suppress_opt=no continue ;; -Xcompiler) arg_mode=arg # the next one goes into the "base_compile" arg list continue # The current "srcfile" will either be retained or ;; # replaced later. I would guess that would be a bug. -Wc,*) func_stripname '-Wc,' '' "$arg" args=$func_stripname_result lastarg= save_ifs=$IFS; IFS=, for arg in $args; do IFS=$save_ifs func_append_quoted lastarg "$arg" done IFS=$save_ifs func_stripname ' ' '' "$lastarg" lastarg=$func_stripname_result # Add the arguments to base_compile. func_append base_compile " $lastarg" continue ;; *) # Accept the current argument as the source file. # The previous "srcfile" becomes the current argument. # lastarg=$srcfile srcfile=$arg ;; esac # case $arg ;; esac # case $arg_mode # Aesthetically quote the previous argument. func_append_quoted base_compile "$lastarg" done # for arg case $arg_mode in arg) func_fatal_error "you must specify an argument for -Xcompile" ;; target) func_fatal_error "you must specify a target with '-o'" ;; *) # Get the name of the library object. test -z "$libobj" && { func_basename "$srcfile" libobj=$func_basename_result } ;; esac # Recognize several different file suffixes. # If the user specifies -o file.o, it is replaced with file.lo case $libobj in *.[cCFSifmso] | \ *.ada | *.adb | *.ads | *.asm | \ *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \ *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup) func_xform "$libobj" libobj=$func_xform_result ;; esac case $libobj in *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;; *) func_fatal_error "cannot determine name of library object from '$libobj'" ;; esac func_infer_tag $base_compile for arg in $later; do case $arg in -shared) test yes = "$build_libtool_libs" \ || func_fatal_configuration "cannot build a shared library" build_old_libs=no continue ;; -static) build_libtool_libs=no build_old_libs=yes continue ;; -prefer-pic) pic_mode=yes continue ;; -prefer-non-pic) pic_mode=no continue ;; esac done func_quote_for_eval "$libobj" test "X$libobj" != "X$func_quote_for_eval_result" \ && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \ && func_warning "libobj name '$libobj' may not contain shell special characters." func_dirname_and_basename "$obj" "/" "" objname=$func_basename_result xdir=$func_dirname_result lobj=$xdir$objdir/$objname test -z "$base_compile" && \ func_fatal_help "you must specify a compilation command" # Delete any leftover library objects. if test yes = "$build_old_libs"; then removelist="$obj $lobj $libobj ${libobj}T" else removelist="$lobj $libobj ${libobj}T" fi # On Cygwin there's no "real" PIC flag so we must build both object types case $host_os in cygwin* | mingw* | pw32* | os2* | cegcc*) pic_mode=default ;; esac if test no = "$pic_mode" && test pass_all != "$deplibs_check_method"; then # non-PIC code in shared libraries is not supported pic_mode=default fi # Calculate the filename of the output object if compiler does # not support -o with -c if test no = "$compiler_c_o"; then output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.$objext lockfile=$output_obj.lock else output_obj= need_locks=no lockfile= fi # Lock this critical section if it is needed # We use this script file to make the link, it avoids creating a new file if test yes = "$need_locks"; then until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do func_echo "Waiting for $lockfile to be removed" sleep 2 done elif test warn = "$need_locks"; then if test -f "$lockfile"; then $ECHO "\ *** ERROR, $lockfile exists and contains: `cat $lockfile 2>/dev/null` This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support '-c' and '-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi func_append removelist " $output_obj" $ECHO "$srcfile" > "$lockfile" fi $opt_dry_run || $RM $removelist func_append removelist " $lockfile" trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15 func_to_tool_file "$srcfile" func_convert_file_msys_to_w32 srcfile=$func_to_tool_file_result func_quote_for_eval "$srcfile" qsrcfile=$func_quote_for_eval_result # Only build a PIC object if we are building libtool libraries. if test yes = "$build_libtool_libs"; then # Without this assignment, base_compile gets emptied. fbsd_hideous_sh_bug=$base_compile if test no != "$pic_mode"; then command="$base_compile $qsrcfile $pic_flag" else # Don't build PIC code command="$base_compile $qsrcfile" fi func_mkdir_p "$xdir$objdir" if test -z "$output_obj"; then # Place PIC objects in $objdir func_append command " -o $lobj" fi func_show_eval_locale "$command" \ 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE' if test warn = "$need_locks" && test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then $ECHO "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support '-c' and '-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi # Just move the object if needed, then go on to compile the next one if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then func_show_eval '$MV "$output_obj" "$lobj"' \ 'error=$?; $opt_dry_run || $RM $removelist; exit $error' fi # Allow error messages only from the first compilation. if test yes = "$suppress_opt"; then suppress_output=' >/dev/null 2>&1' fi fi # Only build a position-dependent object if we build old libraries. if test yes = "$build_old_libs"; then if test yes != "$pic_mode"; then # Don't build PIC code command="$base_compile $qsrcfile$pie_flag" else command="$base_compile $qsrcfile $pic_flag" fi if test yes = "$compiler_c_o"; then func_append command " -o $obj" fi # Suppress compiler output if we already did a PIC compilation. func_append command "$suppress_output" func_show_eval_locale "$command" \ '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' if test warn = "$need_locks" && test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then $ECHO "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support '-c' and '-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi # Just move the object if needed if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then func_show_eval '$MV "$output_obj" "$obj"' \ 'error=$?; $opt_dry_run || $RM $removelist; exit $error' fi fi $opt_dry_run || { func_write_libtool_object "$libobj" "$objdir/$objname" "$objname" # Unlock the critical section if it was locked if test no != "$need_locks"; then removelist=$lockfile $RM "$lockfile" fi } exit $EXIT_SUCCESS } $opt_help || { test compile = "$opt_mode" && func_mode_compile ${1+"$@"} } func_mode_help () { # We need to display help for each of the modes. case $opt_mode in "") # Generic help is extracted from the usage comments # at the start of this file. func_help ;; clean) $ECHO \ "Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE... Remove files from the build directory. RM is the name of the program to use to delete files associated with each FILE (typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed to RM. If FILE is a libtool library, object or program, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; compile) $ECHO \ "Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE Compile a source file into a libtool library object. This mode accepts the following additional options: -o OUTPUT-FILE set the output file name to OUTPUT-FILE -no-suppress do not suppress compiler output for multiple passes -prefer-pic try to build PIC objects only -prefer-non-pic try to build non-PIC objects only -shared do not build a '.o' file suitable for static linking -static only build a '.o' file suitable for static linking -Wc,FLAG pass FLAG directly to the compiler COMPILE-COMMAND is a command to be used in creating a 'standard' object file from the given SOURCEFILE. The output file name is determined by removing the directory component from SOURCEFILE, then substituting the C source code suffix '.c' with the library object suffix, '.lo'." ;; execute) $ECHO \ "Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]... Automatically set library path, then run a program. This mode accepts the following additional options: -dlopen FILE add the directory containing FILE to the library path This mode sets the library path environment variable according to '-dlopen' flags. If any of the ARGS are libtool executable wrappers, then they are translated into their corresponding uninstalled binary, and any of their required library directories are added to the library path. Then, COMMAND is executed, with ARGS as arguments." ;; finish) $ECHO \ "Usage: $progname [OPTION]... --mode=finish [LIBDIR]... Complete the installation of libtool libraries. Each LIBDIR is a directory that contains libtool libraries. The commands that this mode executes may require superuser privileges. Use the '--dry-run' option if you just want to see what would be executed." ;; install) $ECHO \ "Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND... Install executables or libraries. INSTALL-COMMAND is the installation command. The first component should be either the 'install' or 'cp' program. The following components of INSTALL-COMMAND are treated specially: -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation The rest of the components are interpreted as arguments to that command (only BSD-compatible install options are recognized)." ;; link) $ECHO \ "Usage: $progname [OPTION]... --mode=link LINK-COMMAND... Link object files or libraries together to form another library, or to create an executable program. LINK-COMMAND is a command using the C compiler that you would use to create a program from several object files. The following components of LINK-COMMAND are treated specially: -all-static do not do any dynamic linking at all -avoid-version do not add a version suffix if possible -bindir BINDIR specify path to binaries directory (for systems where libraries must be found in the PATH setting at runtime) -dlopen FILE '-dlpreopen' FILE if it cannot be dlopened at runtime -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) -export-symbols SYMFILE try to export only the symbols listed in SYMFILE -export-symbols-regex REGEX try to export only the symbols matching REGEX -LLIBDIR search LIBDIR for required installed libraries -lNAME OUTPUT-FILE requires the installed library libNAME -module build a library that can dlopened -no-fast-install disable the fast-install mode -no-install link a not-installable executable -no-undefined declare that a library does not refer to external symbols -o OUTPUT-FILE create OUTPUT-FILE from the specified objects -objectlist FILE use a list of object files found in FILE to specify objects -os2dllname NAME force a short DLL name on OS/2 (no effect on other OSes) -precious-files-regex REGEX don't remove output files matching REGEX -release RELEASE specify package release information -rpath LIBDIR the created library will eventually be installed in LIBDIR -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries -shared only do dynamic linking of libtool libraries -shrext SUFFIX override the standard shared library file extension -static do not do any dynamic linking of uninstalled libtool libraries -static-libtool-libs do not do any dynamic linking of libtool libraries -version-info CURRENT[:REVISION[:AGE]] specify library version info [each variable defaults to 0] -weak LIBNAME declare that the target provides the LIBNAME interface -Wc,FLAG -Xcompiler FLAG pass linker-specific FLAG directly to the compiler -Wl,FLAG -Xlinker FLAG pass linker-specific FLAG directly to the linker -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC) All other options (arguments beginning with '-') are ignored. Every other argument is treated as a filename. Files ending in '.la' are treated as uninstalled libtool libraries, other files are standard or library object files. If the OUTPUT-FILE ends in '.la', then a libtool library is created, only library objects ('.lo' files) may be specified, and '-rpath' is required, except when creating a convenience library. If OUTPUT-FILE ends in '.a' or '.lib', then a standard library is created using 'ar' and 'ranlib', or on Windows using 'lib'. If OUTPUT-FILE ends in '.lo' or '.$objext', then a reloadable object file is created, otherwise an executable program is created." ;; uninstall) $ECHO \ "Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... Remove libraries from an installation directory. RM is the name of the program to use to delete files associated with each FILE (typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed to RM. If FILE is a libtool library, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; *) func_fatal_help "invalid operation mode '$opt_mode'" ;; esac echo $ECHO "Try '$progname --help' for more information about other modes." } # Now that we've collected a possible --mode arg, show help if necessary if $opt_help; then if test : = "$opt_help"; then func_mode_help else { func_help noexit for opt_mode in compile link execute install finish uninstall clean; do func_mode_help done } | $SED -n '1p; 2,$s/^Usage:/ or: /p' { func_help noexit for opt_mode in compile link execute install finish uninstall clean; do echo func_mode_help done } | $SED '1d /^When reporting/,/^Report/{ H d } $x /information about other modes/d /more detailed .*MODE/d s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/' fi exit $? fi # func_mode_execute arg... func_mode_execute () { $debug_cmd # The first argument is the command name. cmd=$nonopt test -z "$cmd" && \ func_fatal_help "you must specify a COMMAND" # Handle -dlopen flags immediately. for file in $opt_dlopen; do test -f "$file" \ || func_fatal_help "'$file' is not a file" dir= case $file in *.la) func_resolve_sysroot "$file" file=$func_resolve_sysroot_result # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$file" \ || func_fatal_help "'$lib' is not a valid libtool archive" # Read the libtool library. dlname= library_names= func_source "$file" # Skip this library if it cannot be dlopened. if test -z "$dlname"; then # Warn if it was a shared library. test -n "$library_names" && \ func_warning "'$file' was not linked with '-export-dynamic'" continue fi func_dirname "$file" "" "." dir=$func_dirname_result if test -f "$dir/$objdir/$dlname"; then func_append dir "/$objdir" else if test ! -f "$dir/$dlname"; then func_fatal_error "cannot find '$dlname' in '$dir' or '$dir/$objdir'" fi fi ;; *.lo) # Just add the directory containing the .lo file. func_dirname "$file" "" "." dir=$func_dirname_result ;; *) func_warning "'-dlopen' is ignored for non-libtool libraries and objects" continue ;; esac # Get the absolute pathname. absdir=`cd "$dir" && pwd` test -n "$absdir" && dir=$absdir # Now add the directory to shlibpath_var. if eval "test -z \"\$$shlibpath_var\""; then eval "$shlibpath_var=\"\$dir\"" else eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" fi done # This variable tells wrapper scripts just to set shlibpath_var # rather than running their programs. libtool_execute_magic=$magic # Check if any of the arguments is a wrapper script. args= for file do case $file in -* | *.la | *.lo ) ;; *) # Do a test to see if this is really a libtool program. if func_ltwrapper_script_p "$file"; then func_source "$file" # Transform arg to wrapped name. file=$progdir/$program elif func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" func_source "$func_ltwrapper_scriptname_result" # Transform arg to wrapped name. file=$progdir/$program fi ;; esac # Quote arguments (to preserve shell metacharacters). func_append_quoted args "$file" done if $opt_dry_run; then # Display what would be done. if test -n "$shlibpath_var"; then eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" echo "export $shlibpath_var" fi $ECHO "$cmd$args" exit $EXIT_SUCCESS else if test -n "$shlibpath_var"; then # Export the shlibpath_var. eval "export $shlibpath_var" fi # Restore saved environment variables for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES do eval "if test \"\${save_$lt_var+set}\" = set; then $lt_var=\$save_$lt_var; export $lt_var else $lt_unset $lt_var fi" done # Now prepare to actually exec the command. exec_cmd=\$cmd$args fi } test execute = "$opt_mode" && func_mode_execute ${1+"$@"} # func_mode_finish arg... func_mode_finish () { $debug_cmd libs= libdirs= admincmds= for opt in "$nonopt" ${1+"$@"} do if test -d "$opt"; then func_append libdirs " $opt" elif test -f "$opt"; then if func_lalib_unsafe_p "$opt"; then func_append libs " $opt" else func_warning "'$opt' is not a valid libtool archive" fi else func_fatal_error "invalid argument '$opt'" fi done if test -n "$libs"; then if test -n "$lt_sysroot"; then sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"` sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;" else sysroot_cmd= fi # Remove sysroot references if $opt_dry_run; then for lib in $libs; do echo "removing references to $lt_sysroot and '=' prefixes from $lib" done else tmpdir=`func_mktempdir` for lib in $libs; do $SED -e "$sysroot_cmd s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \ > $tmpdir/tmp-la mv -f $tmpdir/tmp-la $lib done ${RM}r "$tmpdir" fi fi if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then for libdir in $libdirs; do if test -n "$finish_cmds"; then # Do each command in the finish commands. func_execute_cmds "$finish_cmds" 'admincmds="$admincmds '"$cmd"'"' fi if test -n "$finish_eval"; then # Do the single finish_eval. eval cmds=\"$finish_eval\" $opt_dry_run || eval "$cmds" || func_append admincmds " $cmds" fi done fi # Exit here if they wanted silent mode. $opt_quiet && exit $EXIT_SUCCESS if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then echo "----------------------------------------------------------------------" echo "Libraries have been installed in:" for libdir in $libdirs; do $ECHO " $libdir" done echo echo "If you ever happen to want to link against installed libraries" echo "in a given directory, LIBDIR, you must either use libtool, and" echo "specify the full pathname of the library, or use the '-LLIBDIR'" echo "flag during linking and do at least one of the following:" if test -n "$shlibpath_var"; then echo " - add LIBDIR to the '$shlibpath_var' environment variable" echo " during execution" fi if test -n "$runpath_var"; then echo " - add LIBDIR to the '$runpath_var' environment variable" echo " during linking" fi if test -n "$hardcode_libdir_flag_spec"; then libdir=LIBDIR eval flag=\"$hardcode_libdir_flag_spec\" $ECHO " - use the '$flag' linker flag" fi if test -n "$admincmds"; then $ECHO " - have your system administrator run these commands:$admincmds" fi if test -f /etc/ld.so.conf; then echo " - have your system administrator add LIBDIR to '/etc/ld.so.conf'" fi echo echo "See any operating system documentation about shared libraries for" case $host in solaris2.[6789]|solaris2.1[0-9]) echo "more information, such as the ld(1), crle(1) and ld.so(8) manual" echo "pages." ;; *) echo "more information, such as the ld(1) and ld.so(8) manual pages." ;; esac echo "----------------------------------------------------------------------" fi exit $EXIT_SUCCESS } test finish = "$opt_mode" && func_mode_finish ${1+"$@"} # func_mode_install arg... func_mode_install () { $debug_cmd # There may be an optional sh(1) argument at the beginning of # install_prog (especially on Windows NT). if test "$SHELL" = "$nonopt" || test /bin/sh = "$nonopt" || # Allow the use of GNU shtool's install command. case $nonopt in *shtool*) :;; *) false;; esac then # Aesthetically quote it. func_quote_for_eval "$nonopt" install_prog="$func_quote_for_eval_result " arg=$1 shift else install_prog= arg=$nonopt fi # The real first argument should be the name of the installation program. # Aesthetically quote it. func_quote_for_eval "$arg" func_append install_prog "$func_quote_for_eval_result" install_shared_prog=$install_prog case " $install_prog " in *[\\\ /]cp\ *) install_cp=: ;; *) install_cp=false ;; esac # We need to accept at least all the BSD install flags. dest= files= opts= prev= install_type= isdir=false stripme= no_mode=: for arg do arg2= if test -n "$dest"; then func_append files " $dest" dest=$arg continue fi case $arg in -d) isdir=: ;; -f) if $install_cp; then :; else prev=$arg fi ;; -g | -m | -o) prev=$arg ;; -s) stripme=" -s" continue ;; -*) ;; *) # If the previous option needed an argument, then skip it. if test -n "$prev"; then if test X-m = "X$prev" && test -n "$install_override_mode"; then arg2=$install_override_mode no_mode=false fi prev= else dest=$arg continue fi ;; esac # Aesthetically quote the argument. func_quote_for_eval "$arg" func_append install_prog " $func_quote_for_eval_result" if test -n "$arg2"; then func_quote_for_eval "$arg2" fi func_append install_shared_prog " $func_quote_for_eval_result" done test -z "$install_prog" && \ func_fatal_help "you must specify an install program" test -n "$prev" && \ func_fatal_help "the '$prev' option requires an argument" if test -n "$install_override_mode" && $no_mode; then if $install_cp; then :; else func_quote_for_eval "$install_override_mode" func_append install_shared_prog " -m $func_quote_for_eval_result" fi fi if test -z "$files"; then if test -z "$dest"; then func_fatal_help "no file or destination specified" else func_fatal_help "you must specify a destination" fi fi # Strip any trailing slash from the destination. func_stripname '' '/' "$dest" dest=$func_stripname_result # Check to see that the destination is a directory. test -d "$dest" && isdir=: if $isdir; then destdir=$dest destname= else func_dirname_and_basename "$dest" "" "." destdir=$func_dirname_result destname=$func_basename_result # Not a directory, so check to see that there is only one file specified. set dummy $files; shift test "$#" -gt 1 && \ func_fatal_help "'$dest' is not a directory" fi case $destdir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) for file in $files; do case $file in *.lo) ;; *) func_fatal_help "'$destdir' must be an absolute directory name" ;; esac done ;; esac # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic=$magic staticlibs= future_libdirs= current_libdirs= for file in $files; do # Do each installation. case $file in *.$libext) # Do the static libraries later. func_append staticlibs " $file" ;; *.la) func_resolve_sysroot "$file" file=$func_resolve_sysroot_result # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$file" \ || func_fatal_help "'$file' is not a valid libtool archive" library_names= old_library= relink_command= func_source "$file" # Add the libdir to current_libdirs if it is the destination. if test "X$destdir" = "X$libdir"; then case "$current_libdirs " in *" $libdir "*) ;; *) func_append current_libdirs " $libdir" ;; esac else # Note the libdir as a future libdir. case "$future_libdirs " in *" $libdir "*) ;; *) func_append future_libdirs " $libdir" ;; esac fi func_dirname "$file" "/" "" dir=$func_dirname_result func_append dir "$objdir" if test -n "$relink_command"; then # Determine the prefix the user has applied to our future dir. inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"` # Don't allow the user to place us outside of our expected # location b/c this prevents finding dependent libraries that # are installed to the same prefix. # At present, this check doesn't affect windows .dll's that # are installed into $libdir/../bin (currently, that works fine) # but it's something to keep an eye on. test "$inst_prefix_dir" = "$destdir" && \ func_fatal_error "error: cannot install '$file' to a directory not ending in $libdir" if test -n "$inst_prefix_dir"; then # Stick the inst_prefix_dir data into the link command. relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` else relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"` fi func_warning "relinking '$file'" func_show_eval "$relink_command" \ 'func_fatal_error "error: relink '\''$file'\'' with the above command before installing it"' fi # See the names of the shared library. set dummy $library_names; shift if test -n "$1"; then realname=$1 shift srcname=$realname test -n "$relink_command" && srcname=${realname}T # Install the shared library and build the symlinks. func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \ 'exit $?' tstripme=$stripme case $host_os in cygwin* | mingw* | pw32* | cegcc*) case $realname in *.dll.a) tstripme= ;; esac ;; os2*) case $realname in *_dll.a) tstripme= ;; esac ;; esac if test -n "$tstripme" && test -n "$striplib"; then func_show_eval "$striplib $destdir/$realname" 'exit $?' fi if test "$#" -gt 0; then # Delete the old symlinks, and create new ones. # Try 'ln -sf' first, because the 'ln' binary might depend on # the symlink we replace! Solaris /bin/ln does not understand -f, # so we also need to try rm && ln -s. for linkname do test "$linkname" != "$realname" \ && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })" done fi # Do each command in the postinstall commands. lib=$destdir/$realname func_execute_cmds "$postinstall_cmds" 'exit $?' fi # Install the pseudo-library for information purposes. func_basename "$file" name=$func_basename_result instname=$dir/${name}i func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' # Maybe install the static library, too. test -n "$old_library" && func_append staticlibs " $dir/$old_library" ;; *.lo) # Install (i.e. copy) a libtool object. # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile=$destdir/$destname else func_basename "$file" destfile=$func_basename_result destfile=$destdir/$destfile fi # Deduce the name of the destination old-style object file. case $destfile in *.lo) func_lo2o "$destfile" staticdest=$func_lo2o_result ;; *.$objext) staticdest=$destfile destfile= ;; *) func_fatal_help "cannot copy a libtool object to '$destfile'" ;; esac # Install the libtool object if requested. test -n "$destfile" && \ func_show_eval "$install_prog $file $destfile" 'exit $?' # Install the old object if enabled. if test yes = "$build_old_libs"; then # Deduce the name of the old-style object file. func_lo2o "$file" staticobj=$func_lo2o_result func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?' fi exit $EXIT_SUCCESS ;; *) # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile=$destdir/$destname else func_basename "$file" destfile=$func_basename_result destfile=$destdir/$destfile fi # If the file is missing, and there is a .exe on the end, strip it # because it is most likely a libtool script we actually want to # install stripped_ext= case $file in *.exe) if test ! -f "$file"; then func_stripname '' '.exe' "$file" file=$func_stripname_result stripped_ext=.exe fi ;; esac # Do a test to see if this is really a libtool program. case $host in *cygwin* | *mingw*) if func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" wrapper=$func_ltwrapper_scriptname_result else func_stripname '' '.exe' "$file" wrapper=$func_stripname_result fi ;; *) wrapper=$file ;; esac if func_ltwrapper_script_p "$wrapper"; then notinst_deplibs= relink_command= func_source "$wrapper" # Check the variables that should have been set. test -z "$generated_by_libtool_version" && \ func_fatal_error "invalid libtool wrapper script '$wrapper'" finalize=: for lib in $notinst_deplibs; do # Check to see that each library is installed. libdir= if test -f "$lib"; then func_source "$lib" fi libfile=$libdir/`$ECHO "$lib" | $SED 's%^.*/%%g'` if test -n "$libdir" && test ! -f "$libfile"; then func_warning "'$lib' has not been installed in '$libdir'" finalize=false fi done relink_command= func_source "$wrapper" outputname= if test no = "$fast_install" && test -n "$relink_command"; then $opt_dry_run || { if $finalize; then tmpdir=`func_mktempdir` func_basename "$file$stripped_ext" file=$func_basename_result outputname=$tmpdir/$file # Replace the output file specification. relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'` $opt_quiet || { func_quote_for_expand "$relink_command" eval "func_echo $func_quote_for_expand_result" } if eval "$relink_command"; then : else func_error "error: relink '$file' with the above command before installing it" $opt_dry_run || ${RM}r "$tmpdir" continue fi file=$outputname else func_warning "cannot relink '$file'" fi } else # Install the binary that we compiled earlier. file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"` fi fi # remove .exe since cygwin /usr/bin/install will append another # one anyway case $install_prog,$host in */usr/bin/install*,*cygwin*) case $file:$destfile in *.exe:*.exe) # this is ok ;; *.exe:*) destfile=$destfile.exe ;; *:*.exe) func_stripname '' '.exe' "$destfile" destfile=$func_stripname_result ;; esac ;; esac func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?' $opt_dry_run || if test -n "$outputname"; then ${RM}r "$tmpdir" fi ;; esac done for file in $staticlibs; do func_basename "$file" name=$func_basename_result # Set up the ranlib parameters. oldlib=$destdir/$name func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 tool_oldlib=$func_to_tool_file_result func_show_eval "$install_prog \$file \$oldlib" 'exit $?' if test -n "$stripme" && test -n "$old_striplib"; then func_show_eval "$old_striplib $tool_oldlib" 'exit $?' fi # Do each command in the postinstall commands. func_execute_cmds "$old_postinstall_cmds" 'exit $?' done test -n "$future_libdirs" && \ func_warning "remember to run '$progname --finish$future_libdirs'" if test -n "$current_libdirs"; then # Maybe just do a dry run. $opt_dry_run && current_libdirs=" -n$current_libdirs" exec_cmd='$SHELL "$progpath" $preserve_args --finish$current_libdirs' else exit $EXIT_SUCCESS fi } test install = "$opt_mode" && func_mode_install ${1+"$@"} # func_generate_dlsyms outputname originator pic_p # Extract symbols from dlprefiles and create ${outputname}S.o with # a dlpreopen symbol table. func_generate_dlsyms () { $debug_cmd my_outputname=$1 my_originator=$2 my_pic_p=${3-false} my_prefix=`$ECHO "$my_originator" | $SED 's%[^a-zA-Z0-9]%_%g'` my_dlsyms= if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then if test -n "$NM" && test -n "$global_symbol_pipe"; then my_dlsyms=${my_outputname}S.c else func_error "not configured to extract global symbols from dlpreopened files" fi fi if test -n "$my_dlsyms"; then case $my_dlsyms in "") ;; *.c) # Discover the nlist of each of the dlfiles. nlist=$output_objdir/$my_outputname.nm func_show_eval "$RM $nlist ${nlist}S ${nlist}T" # Parse the name list into a source file. func_verbose "creating $output_objdir/$my_dlsyms" $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\ /* $my_dlsyms - symbol resolution table for '$my_outputname' dlsym emulation. */ /* Generated by $PROGRAM (GNU $PACKAGE) $VERSION */ #ifdef __cplusplus extern \"C\" { #endif #if defined __GNUC__ && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4)) #pragma GCC diagnostic ignored \"-Wstrict-prototypes\" #endif /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE /* DATA imports from DLLs on WIN32 can't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */ # define LT_DLSYM_CONST #elif defined __osf__ /* This system does not cope well with relocations in const data. */ # define LT_DLSYM_CONST #else # define LT_DLSYM_CONST const #endif #define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0) /* External symbol declarations for the compiler. */\ " if test yes = "$dlself"; then func_verbose "generating symbol list for '$output'" $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" # Add our own program objects to the symbol list. progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP` for progfile in $progfiles; do func_to_tool_file "$progfile" func_convert_file_msys_to_w32 func_verbose "extracting global C symbols from '$func_to_tool_file_result'" $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'" done if test -n "$exclude_expsyms"; then $opt_dry_run || { eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' } fi if test -n "$export_symbols_regex"; then $opt_dry_run || { eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' } fi # Prepare the list of exported symbols if test -z "$export_symbols"; then export_symbols=$output_objdir/$outputname.exp $opt_dry_run || { $RM $export_symbols eval "$SED -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' case $host in *cygwin* | *mingw* | *cegcc* ) eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' ;; esac } else $opt_dry_run || { eval "$SED -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' case $host in *cygwin* | *mingw* | *cegcc* ) eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' ;; esac } fi fi for dlprefile in $dlprefiles; do func_verbose "extracting global C symbols from '$dlprefile'" func_basename "$dlprefile" name=$func_basename_result case $host in *cygwin* | *mingw* | *cegcc* ) # if an import library, we need to obtain dlname if func_win32_import_lib_p "$dlprefile"; then func_tr_sh "$dlprefile" eval "curr_lafile=\$libfile_$func_tr_sh_result" dlprefile_dlbasename= if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then # Use subshell, to avoid clobbering current variable values dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"` if test -n "$dlprefile_dlname"; then func_basename "$dlprefile_dlname" dlprefile_dlbasename=$func_basename_result else # no lafile. user explicitly requested -dlpreopen . $sharedlib_from_linklib_cmd "$dlprefile" dlprefile_dlbasename=$sharedlib_from_linklib_result fi fi $opt_dry_run || { if test -n "$dlprefile_dlbasename"; then eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"' else func_warning "Could not compute DLL name from $name" eval '$ECHO ": $name " >> "$nlist"' fi func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe | $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'" } else # not an import lib $opt_dry_run || { eval '$ECHO ": $name " >> "$nlist"' func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" } fi ;; *) $opt_dry_run || { eval '$ECHO ": $name " >> "$nlist"' func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" } ;; esac done $opt_dry_run || { # Make sure we have at least an empty file. test -f "$nlist" || : > "$nlist" if test -n "$exclude_expsyms"; then $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T $MV "$nlist"T "$nlist" fi # Try sorting and uniquifying the output. if $GREP -v "^: " < "$nlist" | if sort -k 3 /dev/null 2>&1; then sort -k 3 else sort +2 fi | uniq > "$nlist"S; then : else $GREP -v "^: " < "$nlist" > "$nlist"S fi if test -f "$nlist"S; then eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' else echo '/* NONE */' >> "$output_objdir/$my_dlsyms" fi func_show_eval '$RM "${nlist}I"' if test -n "$global_symbol_to_import"; then eval "$global_symbol_to_import"' < "$nlist"S > "$nlist"I' fi echo >> "$output_objdir/$my_dlsyms" "\ /* The mapping between symbol names and symbols. */ typedef struct { const char *name; void *address; } lt_dlsymlist; extern LT_DLSYM_CONST lt_dlsymlist lt_${my_prefix}_LTX_preloaded_symbols[];\ " if test -s "$nlist"I; then echo >> "$output_objdir/$my_dlsyms" "\ static void lt_syminit(void) { LT_DLSYM_CONST lt_dlsymlist *symbol = lt_${my_prefix}_LTX_preloaded_symbols; for (; symbol->name; ++symbol) {" $SED 's/.*/ if (STREQ (symbol->name, \"&\")) symbol->address = (void *) \&&;/' < "$nlist"I >> "$output_objdir/$my_dlsyms" echo >> "$output_objdir/$my_dlsyms" "\ } }" fi echo >> "$output_objdir/$my_dlsyms" "\ LT_DLSYM_CONST lt_dlsymlist lt_${my_prefix}_LTX_preloaded_symbols[] = { {\"$my_originator\", (void *) 0}," if test -s "$nlist"I; then echo >> "$output_objdir/$my_dlsyms" "\ {\"@INIT@\", (void *) <_syminit}," fi case $need_lib_prefix in no) eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms" ;; *) eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" ;; esac echo >> "$output_objdir/$my_dlsyms" "\ {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt_${my_prefix}_LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif\ " } # !$opt_dry_run pic_flag_for_symtable= case "$compile_command " in *" -static "*) ;; *) case $host in # compiling the symbol table file with pic_flag works around # a FreeBSD bug that causes programs to crash when -lm is # linked before any other PIC object. But we must not use # pic_flag when linking with -static. The problem exists in # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;; *-*-hpux*) pic_flag_for_symtable=" $pic_flag" ;; *) $my_pic_p && pic_flag_for_symtable=" $pic_flag" ;; esac ;; esac symtab_cflags= for arg in $LTCFLAGS; do case $arg in -pie | -fpie | -fPIE) ;; *) func_append symtab_cflags " $arg" ;; esac done # Now compile the dynamic symbol file. func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?' # Clean up the generated files. func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T" "${nlist}I"' # Transform the symbol file into the correct name. symfileobj=$output_objdir/${my_outputname}S.$objext case $host in *cygwin* | *mingw* | *cegcc* ) if test -f "$output_objdir/$my_outputname.def"; then compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` else compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` fi ;; *) compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` ;; esac ;; *) func_fatal_error "unknown suffix for '$my_dlsyms'" ;; esac else # We keep going just in case the user didn't refer to # lt_preloaded_symbols. The linker will fail if global_symbol_pipe # really was required. # Nullify the symbol file. compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"` finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"` fi } # func_cygming_gnu_implib_p ARG # This predicate returns with zero status (TRUE) if # ARG is a GNU/binutils-style import library. Returns # with nonzero status (FALSE) otherwise. func_cygming_gnu_implib_p () { $debug_cmd func_to_tool_file "$1" func_convert_file_msys_to_w32 func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'` test -n "$func_cygming_gnu_implib_tmp" } # func_cygming_ms_implib_p ARG # This predicate returns with zero status (TRUE) if # ARG is an MS-style import library. Returns # with nonzero status (FALSE) otherwise. func_cygming_ms_implib_p () { $debug_cmd func_to_tool_file "$1" func_convert_file_msys_to_w32 func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'` test -n "$func_cygming_ms_implib_tmp" } # func_win32_libid arg # return the library type of file 'arg' # # Need a lot of goo to handle *both* DLLs and import libs # Has to be a shell function in order to 'eat' the argument # that is supplied when $file_magic_command is called. # Despite the name, also deal with 64 bit binaries. func_win32_libid () { $debug_cmd win32_libid_type=unknown win32_fileres=`file -L $1 2>/dev/null` case $win32_fileres in *ar\ archive\ import\ library*) # definitely import win32_libid_type="x86 archive import" ;; *ar\ archive*) # could be an import, or static # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD. if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then case $nm_interface in "MS dumpbin") if func_cygming_ms_implib_p "$1" || func_cygming_gnu_implib_p "$1" then win32_nmres=import else win32_nmres= fi ;; *) func_to_tool_file "$1" func_convert_file_msys_to_w32 win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" | $SED -n -e ' 1,100{ / I /{ s|.*|import| p q } }'` ;; esac case $win32_nmres in import*) win32_libid_type="x86 archive import";; *) win32_libid_type="x86 archive static";; esac fi ;; *DLL*) win32_libid_type="x86 DLL" ;; *executable*) # but shell scripts are "executable" too... case $win32_fileres in *MS\ Windows\ PE\ Intel*) win32_libid_type="x86 DLL" ;; esac ;; esac $ECHO "$win32_libid_type" } # func_cygming_dll_for_implib ARG # # Platform-specific function to extract the # name of the DLL associated with the specified # import library ARG. # Invoked by eval'ing the libtool variable # $sharedlib_from_linklib_cmd # Result is available in the variable # $sharedlib_from_linklib_result func_cygming_dll_for_implib () { $debug_cmd sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"` } # func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs # # The is the core of a fallback implementation of a # platform-specific function to extract the name of the # DLL associated with the specified import library LIBNAME. # # SECTION_NAME is either .idata$6 or .idata$7, depending # on the platform and compiler that created the implib. # # Echos the name of the DLL associated with the # specified import library. func_cygming_dll_for_implib_fallback_core () { $debug_cmd match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"` $OBJDUMP -s --section "$1" "$2" 2>/dev/null | $SED '/^Contents of section '"$match_literal"':/{ # Place marker at beginning of archive member dllname section s/.*/====MARK====/ p d } # These lines can sometimes be longer than 43 characters, but # are always uninteresting /:[ ]*file format pe[i]\{,1\}-/d /^In archive [^:]*:/d # Ensure marker is printed /^====MARK====/p # Remove all lines with less than 43 characters /^.\{43\}/!d # From remaining lines, remove first 43 characters s/^.\{43\}//' | $SED -n ' # Join marker and all lines until next marker into a single line /^====MARK====/ b para H $ b para b :para x s/\n//g # Remove the marker s/^====MARK====// # Remove trailing dots and whitespace s/[\. \t]*$// # Print /./p' | # we now have a list, one entry per line, of the stringified # contents of the appropriate section of all members of the # archive that possess that section. Heuristic: eliminate # all those that have a first or second character that is # a '.' (that is, objdump's representation of an unprintable # character.) This should work for all archives with less than # 0x302f exports -- but will fail for DLLs whose name actually # begins with a literal '.' or a single character followed by # a '.'. # # Of those that remain, print the first one. $SED -e '/^\./d;/^.\./d;q' } # func_cygming_dll_for_implib_fallback ARG # Platform-specific function to extract the # name of the DLL associated with the specified # import library ARG. # # This fallback implementation is for use when $DLLTOOL # does not support the --identify-strict option. # Invoked by eval'ing the libtool variable # $sharedlib_from_linklib_cmd # Result is available in the variable # $sharedlib_from_linklib_result func_cygming_dll_for_implib_fallback () { $debug_cmd if func_cygming_gnu_implib_p "$1"; then # binutils import library sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"` elif func_cygming_ms_implib_p "$1"; then # ms-generated import library sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"` else # unknown sharedlib_from_linklib_result= fi } # func_extract_an_archive dir oldlib func_extract_an_archive () { $debug_cmd f_ex_an_ar_dir=$1; shift f_ex_an_ar_oldlib=$1 if test yes = "$lock_old_archive_extraction"; then lockfile=$f_ex_an_ar_oldlib.lock until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do func_echo "Waiting for $lockfile to be removed" sleep 2 done fi func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \ 'stat=$?; rm -f "$lockfile"; exit $stat' if test yes = "$lock_old_archive_extraction"; then $opt_dry_run || rm -f "$lockfile" fi if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then : else func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" fi } # func_extract_archives gentop oldlib ... func_extract_archives () { $debug_cmd my_gentop=$1; shift my_oldlibs=${1+"$@"} my_oldobjs= my_xlib= my_xabs= my_xdir= for my_xlib in $my_oldlibs; do # Extract the objects. case $my_xlib in [\\/]* | [A-Za-z]:[\\/]*) my_xabs=$my_xlib ;; *) my_xabs=`pwd`"/$my_xlib" ;; esac func_basename "$my_xlib" my_xlib=$func_basename_result my_xlib_u=$my_xlib while :; do case " $extracted_archives " in *" $my_xlib_u "*) func_arith $extracted_serial + 1 extracted_serial=$func_arith_result my_xlib_u=lt$extracted_serial-$my_xlib ;; *) break ;; esac done extracted_archives="$extracted_archives $my_xlib_u" my_xdir=$my_gentop/$my_xlib_u func_mkdir_p "$my_xdir" case $host in *-darwin*) func_verbose "Extracting $my_xabs" # Do not bother doing anything if just a dry run $opt_dry_run || { darwin_orig_dir=`pwd` cd $my_xdir || exit $? darwin_archive=$my_xabs darwin_curdir=`pwd` func_basename "$darwin_archive" darwin_base_archive=$func_basename_result darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true` if test -n "$darwin_arches"; then darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'` darwin_arch= func_verbose "$darwin_base_archive has multiple architectures $darwin_arches" for darwin_arch in $darwin_arches; do func_mkdir_p "unfat-$$/$darwin_base_archive-$darwin_arch" $LIPO -thin $darwin_arch -output "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive" "$darwin_archive" cd "unfat-$$/$darwin_base_archive-$darwin_arch" func_extract_an_archive "`pwd`" "$darwin_base_archive" cd "$darwin_curdir" $RM "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive" done # $darwin_arches ## Okay now we've a bunch of thin objects, gotta fatten them up :) darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$sed_basename" | sort -u` darwin_file= darwin_files= for darwin_file in $darwin_filelist; do darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP` $LIPO -create -output "$darwin_file" $darwin_files done # $darwin_filelist $RM -rf unfat-$$ cd "$darwin_orig_dir" else cd $darwin_orig_dir func_extract_an_archive "$my_xdir" "$my_xabs" fi # $darwin_arches } # !$opt_dry_run ;; *) func_extract_an_archive "$my_xdir" "$my_xabs" ;; esac my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP` done func_extract_archives_result=$my_oldobjs } # func_emit_wrapper [arg=no] # # Emit a libtool wrapper script on stdout. # Don't directly open a file because we may want to # incorporate the script contents within a cygwin/mingw # wrapper executable. Must ONLY be called from within # func_mode_link because it depends on a number of variables # set therein. # # ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR # variable will take. If 'yes', then the emitted script # will assume that the directory where it is stored is # the $objdir directory. This is a cygwin/mingw-specific # behavior. func_emit_wrapper () { func_emit_wrapper_arg1=${1-no} $ECHO "\ #! $SHELL # $output - temporary wrapper script for $objdir/$outputname # Generated by $PROGRAM (GNU $PACKAGE) $VERSION # # The $output program cannot be directly executed until all the libtool # libraries that it depends on are installed. # # This wrapper script should never be moved out of the build directory. # If it is, it will not operate correctly. # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. sed_quote_subst='$sed_quote_subst' # Be Bourne compatible if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac fi BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH relink_command=\"$relink_command\" # This environment variable determines our operation mode. if test \"\$libtool_install_magic\" = \"$magic\"; then # install mode needs the following variables: generated_by_libtool_version='$macro_version' notinst_deplibs='$notinst_deplibs' else # When we are sourced in execute mode, \$file and \$ECHO are already set. if test \"\$libtool_execute_magic\" != \"$magic\"; then file=\"\$0\"" qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"` $ECHO "\ # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF \$1 _LTECHO_EOF' } ECHO=\"$qECHO\" fi # Very basic option parsing. These options are (a) specific to # the libtool wrapper, (b) are identical between the wrapper # /script/ and the wrapper /executable/ that is used only on # windows platforms, and (c) all begin with the string "--lt-" # (application programs are unlikely to have options that match # this pattern). # # There are only two supported options: --lt-debug and # --lt-dump-script. There is, deliberately, no --lt-help. # # The first argument to this parsing function should be the # script's $0 value, followed by "$@". lt_option_debug= func_parse_lt_options () { lt_script_arg0=\$0 shift for lt_opt do case \"\$lt_opt\" in --lt-debug) lt_option_debug=1 ;; --lt-dump-script) lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\` test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=. lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\` cat \"\$lt_dump_D/\$lt_dump_F\" exit 0 ;; --lt-*) \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2 exit 1 ;; esac done # Print the debug banner immediately: if test -n \"\$lt_option_debug\"; then echo \"$outputname:$output:\$LINENO: libtool wrapper (GNU $PACKAGE) $VERSION\" 1>&2 fi } # Used when --lt-debug. Prints its arguments to stdout # (redirection is the responsibility of the caller) func_lt_dump_args () { lt_dump_args_N=1; for lt_arg do \$ECHO \"$outputname:$output:\$LINENO: newargv[\$lt_dump_args_N]: \$lt_arg\" lt_dump_args_N=\`expr \$lt_dump_args_N + 1\` done } # Core function for launching the target application func_exec_program_core () { " case $host in # Backslashes separate directories on plain windows *-*-mingw | *-*-os2* | *-cegcc*) $ECHO "\ if test -n \"\$lt_option_debug\"; then \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir\\\\\$program\" 1>&2 func_lt_dump_args \${1+\"\$@\"} 1>&2 fi exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} " ;; *) $ECHO "\ if test -n \"\$lt_option_debug\"; then \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir/\$program\" 1>&2 func_lt_dump_args \${1+\"\$@\"} 1>&2 fi exec \"\$progdir/\$program\" \${1+\"\$@\"} " ;; esac $ECHO "\ \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 exit 1 } # A function to encapsulate launching the target application # Strips options in the --lt-* namespace from \$@ and # launches target application with the remaining arguments. func_exec_program () { case \" \$* \" in *\\ --lt-*) for lt_wr_arg do case \$lt_wr_arg in --lt-*) ;; *) set x \"\$@\" \"\$lt_wr_arg\"; shift;; esac shift done ;; esac func_exec_program_core \${1+\"\$@\"} } # Parse options func_parse_lt_options \"\$0\" \${1+\"\$@\"} # Find the directory that this script lives in. thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\` test \"x\$thisdir\" = \"x\$file\" && thisdir=. # Follow symbolic links until we get to the real thisdir. file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\` while test -n \"\$file\"; do destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\` # If there was a directory component, then change thisdir. if test \"x\$destdir\" != \"x\$file\"; then case \"\$destdir\" in [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; *) thisdir=\"\$thisdir/\$destdir\" ;; esac fi file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\` file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\` done # Usually 'no', except on cygwin/mingw when embedded into # the cwrapper. WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1 if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then # special case for '.' if test \"\$thisdir\" = \".\"; then thisdir=\`pwd\` fi # remove .libs from thisdir case \"\$thisdir\" in *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;; $objdir ) thisdir=. ;; esac fi # Try to get the absolute directory name. absdir=\`cd \"\$thisdir\" && pwd\` test -n \"\$absdir\" && thisdir=\"\$absdir\" " if test yes = "$fast_install"; then $ECHO "\ program=lt-'$outputname'$exeext progdir=\"\$thisdir/$objdir\" if test ! -f \"\$progdir/\$program\" || { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | $SED 1q\`; \\ test \"X\$file\" != \"X\$progdir/\$program\"; }; then file=\"\$\$-\$program\" if test ! -d \"\$progdir\"; then $MKDIR \"\$progdir\" else $RM \"\$progdir/\$file\" fi" $ECHO "\ # relink executable if necessary if test -n \"\$relink_command\"; then if relink_command_output=\`eval \$relink_command 2>&1\`; then : else \$ECHO \"\$relink_command_output\" >&2 $RM \"\$progdir/\$file\" exit 1 fi fi $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || { $RM \"\$progdir/\$program\"; $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; } $RM \"\$progdir/\$file\" fi" else $ECHO "\ program='$outputname' progdir=\"\$thisdir/$objdir\" " fi $ECHO "\ if test -f \"\$progdir/\$program\"; then" # fixup the dll searchpath if we need to. # # Fix the DLL searchpath if we need to. Do this before prepending # to shlibpath, because on Windows, both are PATH and uninstalled # libraries must come first. if test -n "$dllsearchpath"; then $ECHO "\ # Add the dll search path components to the executable PATH PATH=$dllsearchpath:\$PATH " fi # Export our shlibpath_var if we have one. if test yes = "$shlibpath_overrides_runpath" && test -n "$shlibpath_var" && test -n "$temp_rpath"; then $ECHO "\ # Add our own library path to $shlibpath_var $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" # Some systems cannot cope with colon-terminated $shlibpath_var # The second colon is a workaround for a bug in BeOS R4 sed $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\` export $shlibpath_var " fi $ECHO "\ if test \"\$libtool_execute_magic\" != \"$magic\"; then # Run the actual program with our arguments. func_exec_program \${1+\"\$@\"} fi else # The program doesn't exist. \$ECHO \"\$0: error: '\$progdir/\$program' does not exist\" 1>&2 \$ECHO \"This script is just a wrapper for \$program.\" 1>&2 \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 exit 1 fi fi\ " } # func_emit_cwrapperexe_src # emit the source code for a wrapper executable on stdout # Must ONLY be called from within func_mode_link because # it depends on a number of variable set therein. func_emit_cwrapperexe_src () { cat < #include #ifdef _MSC_VER # include # include # include #else # include # include # ifdef __CYGWIN__ # include # endif #endif #include #include #include #include #include #include #include #include #define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0) /* declarations of non-ANSI functions */ #if defined __MINGW32__ # ifdef __STRICT_ANSI__ int _putenv (const char *); # endif #elif defined __CYGWIN__ # ifdef __STRICT_ANSI__ char *realpath (const char *, char *); int putenv (char *); int setenv (const char *, const char *, int); # endif /* #elif defined other_platform || defined ... */ #endif /* portability defines, excluding path handling macros */ #if defined _MSC_VER # define setmode _setmode # define stat _stat # define chmod _chmod # define getcwd _getcwd # define putenv _putenv # define S_IXUSR _S_IEXEC #elif defined __MINGW32__ # define setmode _setmode # define stat _stat # define chmod _chmod # define getcwd _getcwd # define putenv _putenv #elif defined __CYGWIN__ # define HAVE_SETENV # define FOPEN_WB "wb" /* #elif defined other platforms ... */ #endif #if defined PATH_MAX # define LT_PATHMAX PATH_MAX #elif defined MAXPATHLEN # define LT_PATHMAX MAXPATHLEN #else # define LT_PATHMAX 1024 #endif #ifndef S_IXOTH # define S_IXOTH 0 #endif #ifndef S_IXGRP # define S_IXGRP 0 #endif /* path handling portability macros */ #ifndef DIR_SEPARATOR # define DIR_SEPARATOR '/' # define PATH_SEPARATOR ':' #endif #if defined _WIN32 || defined __MSDOS__ || defined __DJGPP__ || \ defined __OS2__ # define HAVE_DOS_BASED_FILE_SYSTEM # define FOPEN_WB "wb" # ifndef DIR_SEPARATOR_2 # define DIR_SEPARATOR_2 '\\' # endif # ifndef PATH_SEPARATOR_2 # define PATH_SEPARATOR_2 ';' # endif #endif #ifndef DIR_SEPARATOR_2 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) #else /* DIR_SEPARATOR_2 */ # define IS_DIR_SEPARATOR(ch) \ (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) #endif /* DIR_SEPARATOR_2 */ #ifndef PATH_SEPARATOR_2 # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) #else /* PATH_SEPARATOR_2 */ # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) #endif /* PATH_SEPARATOR_2 */ #ifndef FOPEN_WB # define FOPEN_WB "w" #endif #ifndef _O_BINARY # define _O_BINARY 0 #endif #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) #define XFREE(stale) do { \ if (stale) { free (stale); stale = 0; } \ } while (0) #if defined LT_DEBUGWRAPPER static int lt_debug = 1; #else static int lt_debug = 0; #endif const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */ void *xmalloc (size_t num); char *xstrdup (const char *string); const char *base_name (const char *name); char *find_executable (const char *wrapper); char *chase_symlinks (const char *pathspec); int make_executable (const char *path); int check_executable (const char *path); char *strendzap (char *str, const char *pat); void lt_debugprintf (const char *file, int line, const char *fmt, ...); void lt_fatal (const char *file, int line, const char *message, ...); static const char *nonnull (const char *s); static const char *nonempty (const char *s); void lt_setenv (const char *name, const char *value); char *lt_extend_str (const char *orig_value, const char *add, int to_end); void lt_update_exe_path (const char *name, const char *value); void lt_update_lib_path (const char *name, const char *value); char **prepare_spawn (char **argv); void lt_dump_script (FILE *f); EOF cat <= 0) && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) return 1; else return 0; } int make_executable (const char *path) { int rval = 0; struct stat st; lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n", nonempty (path)); if ((!path) || (!*path)) return 0; if (stat (path, &st) >= 0) { rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR); } return rval; } /* Searches for the full path of the wrapper. Returns newly allocated full path name if found, NULL otherwise Does not chase symlinks, even on platforms that support them. */ char * find_executable (const char *wrapper) { int has_slash = 0; const char *p; const char *p_next; /* static buffer for getcwd */ char tmp[LT_PATHMAX + 1]; size_t tmp_len; char *concat_name; lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n", nonempty (wrapper)); if ((wrapper == NULL) || (*wrapper == '\0')) return NULL; /* Absolute path? */ #if defined HAVE_DOS_BASED_FILE_SYSTEM if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':') { concat_name = xstrdup (wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } else { #endif if (IS_DIR_SEPARATOR (wrapper[0])) { concat_name = xstrdup (wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } #if defined HAVE_DOS_BASED_FILE_SYSTEM } #endif for (p = wrapper; *p; p++) if (*p == '/') { has_slash = 1; break; } if (!has_slash) { /* no slashes; search PATH */ const char *path = getenv ("PATH"); if (path != NULL) { for (p = path; *p; p = p_next) { const char *q; size_t p_len; for (q = p; *q; q++) if (IS_PATH_SEPARATOR (*q)) break; p_len = (size_t) (q - p); p_next = (*q == '\0' ? q : q + 1); if (p_len == 0) { /* empty path: current directory */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", nonnull (strerror (errno))); tmp_len = strlen (tmp); concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, tmp, tmp_len); concat_name[tmp_len] = '/'; strcpy (concat_name + tmp_len + 1, wrapper); } else { concat_name = XMALLOC (char, p_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, p, p_len); concat_name[p_len] = '/'; strcpy (concat_name + p_len + 1, wrapper); } if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } } /* not found in PATH; assume curdir */ } /* Relative path | not found in path: prepend cwd */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", nonnull (strerror (errno))); tmp_len = strlen (tmp); concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, tmp, tmp_len); concat_name[tmp_len] = '/'; strcpy (concat_name + tmp_len + 1, wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); return NULL; } char * chase_symlinks (const char *pathspec) { #ifndef S_ISLNK return xstrdup (pathspec); #else char buf[LT_PATHMAX]; struct stat s; char *tmp_pathspec = xstrdup (pathspec); char *p; int has_symlinks = 0; while (strlen (tmp_pathspec) && !has_symlinks) { lt_debugprintf (__FILE__, __LINE__, "checking path component for symlinks: %s\n", tmp_pathspec); if (lstat (tmp_pathspec, &s) == 0) { if (S_ISLNK (s.st_mode) != 0) { has_symlinks = 1; break; } /* search backwards for last DIR_SEPARATOR */ p = tmp_pathspec + strlen (tmp_pathspec) - 1; while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) p--; if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) { /* no more DIR_SEPARATORS left */ break; } *p = '\0'; } else { lt_fatal (__FILE__, __LINE__, "error accessing file \"%s\": %s", tmp_pathspec, nonnull (strerror (errno))); } } XFREE (tmp_pathspec); if (!has_symlinks) { return xstrdup (pathspec); } tmp_pathspec = realpath (pathspec, buf); if (tmp_pathspec == 0) { lt_fatal (__FILE__, __LINE__, "could not follow symlinks for %s", pathspec); } return xstrdup (tmp_pathspec); #endif } char * strendzap (char *str, const char *pat) { size_t len, patlen; assert (str != NULL); assert (pat != NULL); len = strlen (str); patlen = strlen (pat); if (patlen <= len) { str += len - patlen; if (STREQ (str, pat)) *str = '\0'; } return str; } void lt_debugprintf (const char *file, int line, const char *fmt, ...) { va_list args; if (lt_debug) { (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line); va_start (args, fmt); (void) vfprintf (stderr, fmt, args); va_end (args); } } static void lt_error_core (int exit_status, const char *file, int line, const char *mode, const char *message, va_list ap) { fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode); vfprintf (stderr, message, ap); fprintf (stderr, ".\n"); if (exit_status >= 0) exit (exit_status); } void lt_fatal (const char *file, int line, const char *message, ...) { va_list ap; va_start (ap, message); lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap); va_end (ap); } static const char * nonnull (const char *s) { return s ? s : "(null)"; } static const char * nonempty (const char *s) { return (s && !*s) ? "(empty)" : nonnull (s); } void lt_setenv (const char *name, const char *value) { lt_debugprintf (__FILE__, __LINE__, "(lt_setenv) setting '%s' to '%s'\n", nonnull (name), nonnull (value)); { #ifdef HAVE_SETENV /* always make a copy, for consistency with !HAVE_SETENV */ char *str = xstrdup (value); setenv (name, str, 1); #else size_t len = strlen (name) + 1 + strlen (value) + 1; char *str = XMALLOC (char, len); sprintf (str, "%s=%s", name, value); if (putenv (str) != EXIT_SUCCESS) { XFREE (str); } #endif } } char * lt_extend_str (const char *orig_value, const char *add, int to_end) { char *new_value; if (orig_value && *orig_value) { size_t orig_value_len = strlen (orig_value); size_t add_len = strlen (add); new_value = XMALLOC (char, add_len + orig_value_len + 1); if (to_end) { strcpy (new_value, orig_value); strcpy (new_value + orig_value_len, add); } else { strcpy (new_value, add); strcpy (new_value + add_len, orig_value); } } else { new_value = xstrdup (add); } return new_value; } void lt_update_exe_path (const char *name, const char *value) { lt_debugprintf (__FILE__, __LINE__, "(lt_update_exe_path) modifying '%s' by prepending '%s'\n", nonnull (name), nonnull (value)); if (name && *name && value && *value) { char *new_value = lt_extend_str (getenv (name), value, 0); /* some systems can't cope with a ':'-terminated path #' */ size_t len = strlen (new_value); while ((len > 0) && IS_PATH_SEPARATOR (new_value[len-1])) { new_value[--len] = '\0'; } lt_setenv (name, new_value); XFREE (new_value); } } void lt_update_lib_path (const char *name, const char *value) { lt_debugprintf (__FILE__, __LINE__, "(lt_update_lib_path) modifying '%s' by prepending '%s'\n", nonnull (name), nonnull (value)); if (name && *name && value && *value) { char *new_value = lt_extend_str (getenv (name), value, 0); lt_setenv (name, new_value); XFREE (new_value); } } EOF case $host_os in mingw*) cat <<"EOF" /* Prepares an argument vector before calling spawn(). Note that spawn() does not by itself call the command interpreter (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") : ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); GetVersionEx(&v); v.dwPlatformId == VER_PLATFORM_WIN32_NT; }) ? "cmd.exe" : "command.com"). Instead it simply concatenates the arguments, separated by ' ', and calls CreateProcess(). We must quote the arguments since Win32 CreateProcess() interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a special way: - Space and tab are interpreted as delimiters. They are not treated as delimiters if they are surrounded by double quotes: "...". - Unescaped double quotes are removed from the input. Their only effect is that within double quotes, space and tab are treated like normal characters. - Backslashes not followed by double quotes are not special. - But 2*n+1 backslashes followed by a double quote become n backslashes followed by a double quote (n >= 0): \" -> " \\\" -> \" \\\\\" -> \\" */ #define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" #define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" char ** prepare_spawn (char **argv) { size_t argc; char **new_argv; size_t i; /* Count number of arguments. */ for (argc = 0; argv[argc] != NULL; argc++) ; /* Allocate new argument vector. */ new_argv = XMALLOC (char *, argc + 1); /* Put quoted arguments into the new argument vector. */ for (i = 0; i < argc; i++) { const char *string = argv[i]; if (string[0] == '\0') new_argv[i] = xstrdup ("\"\""); else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL) { int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL); size_t length; unsigned int backslashes; const char *s; char *quoted_string; char *p; length = 0; backslashes = 0; if (quote_around) length++; for (s = string; *s != '\0'; s++) { char c = *s; if (c == '"') length += backslashes + 1; length++; if (c == '\\') backslashes++; else backslashes = 0; } if (quote_around) length += backslashes + 1; quoted_string = XMALLOC (char, length + 1); p = quoted_string; backslashes = 0; if (quote_around) *p++ = '"'; for (s = string; *s != '\0'; s++) { char c = *s; if (c == '"') { unsigned int j; for (j = backslashes + 1; j > 0; j--) *p++ = '\\'; } *p++ = c; if (c == '\\') backslashes++; else backslashes = 0; } if (quote_around) { unsigned int j; for (j = backslashes; j > 0; j--) *p++ = '\\'; *p++ = '"'; } *p = '\0'; new_argv[i] = quoted_string; } else new_argv[i] = (char *) string; } new_argv[argc] = NULL; return new_argv; } EOF ;; esac cat <<"EOF" void lt_dump_script (FILE* f) { EOF func_emit_wrapper yes | $SED -n -e ' s/^\(.\{79\}\)\(..*\)/\1\ \2/ h s/\([\\"]\)/\\\1/g s/$/\\n/ s/\([^\n]*\).*/ fputs ("\1", f);/p g D' cat <<"EOF" } EOF } # end: func_emit_cwrapperexe_src # func_win32_import_lib_p ARG # True if ARG is an import lib, as indicated by $file_magic_cmd func_win32_import_lib_p () { $debug_cmd case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in *import*) : ;; *) false ;; esac } # func_suncc_cstd_abi # !!ONLY CALL THIS FOR SUN CC AFTER $compile_command IS FULLY EXPANDED!! # Several compiler flags select an ABI that is incompatible with the # Cstd library. Avoid specifying it if any are in CXXFLAGS. func_suncc_cstd_abi () { $debug_cmd case " $compile_command " in *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*) suncc_use_cstd_abi=no ;; *) suncc_use_cstd_abi=yes ;; esac } # func_mode_link arg... func_mode_link () { $debug_cmd case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) # It is impossible to link a dll without this setting, and # we shouldn't force the makefile maintainer to figure out # what system we are compiling for in order to pass an extra # flag for every libtool invocation. # allow_undefined=no # FIXME: Unfortunately, there are problems with the above when trying # to make a dll that has undefined symbols, in which case not # even a static library is built. For now, we need to specify # -no-undefined on the libtool link line when we can be certain # that all symbols are satisfied, otherwise we get a static library. allow_undefined=yes ;; *) allow_undefined=yes ;; esac libtool_args=$nonopt base_compile="$nonopt $@" compile_command=$nonopt finalize_command=$nonopt compile_rpath= finalize_rpath= compile_shlibpath= finalize_shlibpath= convenience= old_convenience= deplibs= old_deplibs= compiler_flags= linker_flags= dllsearchpath= lib_search_path=`pwd` inst_prefix_dir= new_inherited_linker_flags= avoid_version=no bindir= dlfiles= dlprefiles= dlself=no export_dynamic=no export_symbols= export_symbols_regex= generated= libobjs= ltlibs= module=no no_install=no objs= os2dllname= non_pic_objects= precious_files_regex= prefer_static_libs=no preload=false prev= prevarg= release= rpath= xrpath= perm_rpath= temp_rpath= thread_safe=no vinfo= vinfo_number=no weak_libs= single_module=$wl-single_module func_infer_tag $base_compile # We need to know -static, to get the right output filenames. for arg do case $arg in -shared) test yes != "$build_libtool_libs" \ && func_fatal_configuration "cannot build a shared library" build_old_libs=no break ;; -all-static | -static | -static-libtool-libs) case $arg in -all-static) if test yes = "$build_libtool_libs" && test -z "$link_static_flag"; then func_warning "complete static linking is impossible in this configuration" fi if test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes ;; -static) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=built ;; -static-libtool-libs) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes ;; esac build_libtool_libs=no build_old_libs=yes break ;; esac done # See if our shared archives depend on static archives. test -n "$old_archive_from_new_cmds" && build_old_libs=yes # Go through the arguments, transforming them on the way. while test "$#" -gt 0; do arg=$1 shift func_quote_for_eval "$arg" qarg=$func_quote_for_eval_unquoted_result func_append libtool_args " $func_quote_for_eval_result" # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in output) func_append compile_command " @OUTPUT@" func_append finalize_command " @OUTPUT@" ;; esac case $prev in bindir) bindir=$arg prev= continue ;; dlfiles|dlprefiles) $preload || { # Add the symbol object into the linking commands. func_append compile_command " @SYMFILE@" func_append finalize_command " @SYMFILE@" preload=: } case $arg in *.la | *.lo) ;; # We handle these cases below. force) if test no = "$dlself"; then dlself=needless export_dynamic=yes fi prev= continue ;; self) if test dlprefiles = "$prev"; then dlself=yes elif test dlfiles = "$prev" && test yes != "$dlopen_self"; then dlself=yes else dlself=needless export_dynamic=yes fi prev= continue ;; *) if test dlfiles = "$prev"; then func_append dlfiles " $arg" else func_append dlprefiles " $arg" fi prev= continue ;; esac ;; expsyms) export_symbols=$arg test -f "$arg" \ || func_fatal_error "symbol file '$arg' does not exist" prev= continue ;; expsyms_regex) export_symbols_regex=$arg prev= continue ;; framework) case $host in *-*-darwin*) case "$deplibs " in *" $qarg.ltframework "*) ;; *) func_append deplibs " $qarg.ltframework" # this is fixed later ;; esac ;; esac prev= continue ;; inst_prefix) inst_prefix_dir=$arg prev= continue ;; mllvm) # Clang does not use LLVM to link, so we can simply discard any # '-mllvm $arg' options when doing the link step. prev= continue ;; objectlist) if test -f "$arg"; then save_arg=$arg moreargs= for fil in `cat "$save_arg"` do # func_append moreargs " $fil" arg=$fil # A libtool-controlled object. # Check to see that this really is a libtool object. if func_lalib_unsafe_p "$arg"; then pic_object= non_pic_object= # Read the .lo file func_source "$arg" if test -z "$pic_object" || test -z "$non_pic_object" || test none = "$pic_object" && test none = "$non_pic_object"; then func_fatal_error "cannot find name of object for '$arg'" fi # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir=$func_dirname_result if test none != "$pic_object"; then # Prepend the subdirectory the object is found in. pic_object=$xdir$pic_object if test dlfiles = "$prev"; then if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then func_append dlfiles " $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test dlprefiles = "$prev"; then # Preload the old-style object. func_append dlprefiles " $pic_object" prev= fi # A PIC object. func_append libobjs " $pic_object" arg=$pic_object fi # Non-PIC object. if test none != "$non_pic_object"; then # Prepend the subdirectory the object is found in. non_pic_object=$xdir$non_pic_object # A standard non-PIC object func_append non_pic_objects " $non_pic_object" if test -z "$pic_object" || test none = "$pic_object"; then arg=$non_pic_object fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object=$pic_object func_append non_pic_objects " $non_pic_object" fi else # Only an error if not doing a dry-run. if $opt_dry_run; then # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir=$func_dirname_result func_lo2o "$arg" pic_object=$xdir$objdir/$func_lo2o_result non_pic_object=$xdir$func_lo2o_result func_append libobjs " $pic_object" func_append non_pic_objects " $non_pic_object" else func_fatal_error "'$arg' is not a valid libtool object" fi fi done else func_fatal_error "link input file '$arg' does not exist" fi arg=$save_arg prev= continue ;; os2dllname) os2dllname=$arg prev= continue ;; precious_regex) precious_files_regex=$arg prev= continue ;; release) release=-$arg prev= continue ;; rpath | xrpath) # We need an absolute path. case $arg in [\\/]* | [A-Za-z]:[\\/]*) ;; *) func_fatal_error "only absolute run-paths are allowed" ;; esac if test rpath = "$prev"; then case "$rpath " in *" $arg "*) ;; *) func_append rpath " $arg" ;; esac else case "$xrpath " in *" $arg "*) ;; *) func_append xrpath " $arg" ;; esac fi prev= continue ;; shrext) shrext_cmds=$arg prev= continue ;; weak) func_append weak_libs " $arg" prev= continue ;; xcclinker) func_append linker_flags " $qarg" func_append compiler_flags " $qarg" prev= func_append compile_command " $qarg" func_append finalize_command " $qarg" continue ;; xcompiler) func_append compiler_flags " $qarg" prev= func_append compile_command " $qarg" func_append finalize_command " $qarg" continue ;; xlinker) func_append linker_flags " $qarg" func_append compiler_flags " $wl$qarg" prev= func_append compile_command " $wl$qarg" func_append finalize_command " $wl$qarg" continue ;; *) eval "$prev=\"\$arg\"" prev= continue ;; esac fi # test -n "$prev" prevarg=$arg case $arg in -all-static) if test -n "$link_static_flag"; then # See comment for -static flag below, for more details. func_append compile_command " $link_static_flag" func_append finalize_command " $link_static_flag" fi continue ;; -allow-undefined) # FIXME: remove this flag sometime in the future. func_fatal_error "'-allow-undefined' must not be used because it is the default" ;; -avoid-version) avoid_version=yes continue ;; -bindir) prev=bindir continue ;; -dlopen) prev=dlfiles continue ;; -dlpreopen) prev=dlprefiles continue ;; -export-dynamic) export_dynamic=yes continue ;; -export-symbols | -export-symbols-regex) if test -n "$export_symbols" || test -n "$export_symbols_regex"; then func_fatal_error "more than one -exported-symbols argument is not allowed" fi if test X-export-symbols = "X$arg"; then prev=expsyms else prev=expsyms_regex fi continue ;; -framework) prev=framework continue ;; -inst-prefix-dir) prev=inst_prefix continue ;; # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* # so, if we see these flags be careful not to treat them like -L -L[A-Z][A-Z]*:*) case $with_gcc/$host in no/*-*-irix* | /*-*-irix*) func_append compile_command " $arg" func_append finalize_command " $arg" ;; esac continue ;; -L*) func_stripname "-L" '' "$arg" if test -z "$func_stripname_result"; then if test "$#" -gt 0; then func_fatal_error "require no space between '-L' and '$1'" else func_fatal_error "need path for '-L' option" fi fi func_resolve_sysroot "$func_stripname_result" dir=$func_resolve_sysroot_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) absdir=`cd "$dir" && pwd` test -z "$absdir" && \ func_fatal_error "cannot determine absolute directory name of '$dir'" dir=$absdir ;; esac case "$deplibs " in *" -L$dir "* | *" $arg "*) # Will only happen for absolute or sysroot arguments ;; *) # Preserve sysroot, but never include relative directories case $dir in [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;; *) func_append deplibs " -L$dir" ;; esac func_append lib_search_path " $dir" ;; esac case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'` case :$dllsearchpath: in *":$dir:"*) ;; ::) dllsearchpath=$dir;; *) func_append dllsearchpath ":$dir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; ::) dllsearchpath=$testbindir;; *) func_append dllsearchpath ":$testbindir";; esac ;; esac continue ;; -l*) if test X-lc = "X$arg" || test X-lm = "X$arg"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*) # These systems don't actually have a C or math library (as such) continue ;; *-*-os2*) # These systems don't actually have a C library (as such) test X-lc = "X$arg" && continue ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*) # Do not include libc due to us having libc/libc_r. test X-lc = "X$arg" && continue ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C and math libraries are in the System framework func_append deplibs " System.ltframework" continue ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype test X-lc = "X$arg" && continue ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work test X-lc = "X$arg" && continue ;; esac elif test X-lc_r = "X$arg"; then case $host in *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*) # Do not include libc_r directly, use -pthread flag. continue ;; esac fi func_append deplibs " $arg" continue ;; -mllvm) prev=mllvm continue ;; -module) module=yes continue ;; # Tru64 UNIX uses -model [arg] to determine the layout of C++ # classes, name mangling, and exception handling. # Darwin uses the -arch flag to determine output architecture. -model|-arch|-isysroot|--sysroot) func_append compiler_flags " $arg" func_append compile_command " $arg" func_append finalize_command " $arg" prev=xcompiler continue ;; -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) func_append compiler_flags " $arg" func_append compile_command " $arg" func_append finalize_command " $arg" case "$new_inherited_linker_flags " in *" $arg "*) ;; * ) func_append new_inherited_linker_flags " $arg" ;; esac continue ;; -multi_module) single_module=$wl-multi_module continue ;; -no-fast-install) fast_install=no continue ;; -no-install) case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) # The PATH hackery in wrapper scripts is required on Windows # and Darwin in order for the loader to find any dlls it needs. func_warning "'-no-install' is ignored for $host" func_warning "assuming '-no-fast-install' instead" fast_install=no ;; *) no_install=yes ;; esac continue ;; -no-undefined) allow_undefined=no continue ;; -objectlist) prev=objectlist continue ;; -os2dllname) prev=os2dllname continue ;; -o) prev=output ;; -precious-files-regex) prev=precious_regex continue ;; -release) prev=release continue ;; -rpath) prev=rpath continue ;; -R) prev=xrpath continue ;; -R*) func_stripname '-R' '' "$arg" dir=$func_stripname_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; =*) func_stripname '=' '' "$dir" dir=$lt_sysroot$func_stripname_result ;; *) func_fatal_error "only absolute run-paths are allowed" ;; esac case "$xrpath " in *" $dir "*) ;; *) func_append xrpath " $dir" ;; esac continue ;; -shared) # The effects of -shared are defined in a previous loop. continue ;; -shrext) prev=shrext continue ;; -static | -static-libtool-libs) # The effects of -static are defined in a previous loop. # We used to do the same as -all-static on platforms that # didn't have a PIC flag, but the assumption that the effects # would be equivalent was wrong. It would break on at least # Digital Unix and AIX. continue ;; -thread-safe) thread_safe=yes continue ;; -version-info) prev=vinfo continue ;; -version-number) prev=vinfo vinfo_number=yes continue ;; -weak) prev=weak continue ;; -Wc,*) func_stripname '-Wc,' '' "$arg" args=$func_stripname_result arg= save_ifs=$IFS; IFS=, for flag in $args; do IFS=$save_ifs func_quote_for_eval "$flag" func_append arg " $func_quote_for_eval_result" func_append compiler_flags " $func_quote_for_eval_result" done IFS=$save_ifs func_stripname ' ' '' "$arg" arg=$func_stripname_result ;; -Wl,*) func_stripname '-Wl,' '' "$arg" args=$func_stripname_result arg= save_ifs=$IFS; IFS=, for flag in $args; do IFS=$save_ifs func_quote_for_eval "$flag" func_append arg " $wl$func_quote_for_eval_result" func_append compiler_flags " $wl$func_quote_for_eval_result" func_append linker_flags " $func_quote_for_eval_result" done IFS=$save_ifs func_stripname ' ' '' "$arg" arg=$func_stripname_result ;; -Xcompiler) prev=xcompiler continue ;; -Xlinker) prev=xlinker continue ;; -XCClinker) prev=xcclinker continue ;; # -msg_* for osf cc -msg_*) func_quote_for_eval "$arg" arg=$func_quote_for_eval_result ;; # Flags to be passed through unchanged, with rationale: # -64, -mips[0-9] enable 64-bit mode for the SGI compiler # -r[0-9][0-9]* specify processor for the SGI compiler # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler # +DA*, +DD* enable 64-bit mode for the HP compiler # -q* compiler args for the IBM compiler # -m*, -t[45]*, -txscale* architecture-specific flags for GCC # -F/path path to uninstalled frameworks, gcc on darwin # -p, -pg, --coverage, -fprofile-* profiling flags for GCC # -fstack-protector* stack protector flags for GCC # @file GCC response files # -tp=* Portland pgcc target processor selection # --sysroot=* for sysroot support # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization # -specs=* GCC specs files # -stdlib=* select c++ std lib with clang # -fsanitize=* Clang/GCC memory and address sanitizer -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \ -specs=*|-fsanitize=*) func_quote_for_eval "$arg" arg=$func_quote_for_eval_result func_append compile_command " $arg" func_append finalize_command " $arg" func_append compiler_flags " $arg" continue ;; -Z*) if test os2 = "`expr $host : '.*\(os2\)'`"; then # OS/2 uses -Zxxx to specify OS/2-specific options compiler_flags="$compiler_flags $arg" func_append compile_command " $arg" func_append finalize_command " $arg" case $arg in -Zlinker | -Zstack) prev=xcompiler ;; esac continue else # Otherwise treat like 'Some other compiler flag' below func_quote_for_eval "$arg" arg=$func_quote_for_eval_result fi ;; # Some other compiler flag. -* | +*) func_quote_for_eval "$arg" arg=$func_quote_for_eval_result ;; *.$objext) # A standard object. func_append objs " $arg" ;; *.lo) # A libtool-controlled object. # Check to see that this really is a libtool object. if func_lalib_unsafe_p "$arg"; then pic_object= non_pic_object= # Read the .lo file func_source "$arg" if test -z "$pic_object" || test -z "$non_pic_object" || test none = "$pic_object" && test none = "$non_pic_object"; then func_fatal_error "cannot find name of object for '$arg'" fi # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir=$func_dirname_result test none = "$pic_object" || { # Prepend the subdirectory the object is found in. pic_object=$xdir$pic_object if test dlfiles = "$prev"; then if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then func_append dlfiles " $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test dlprefiles = "$prev"; then # Preload the old-style object. func_append dlprefiles " $pic_object" prev= fi # A PIC object. func_append libobjs " $pic_object" arg=$pic_object } # Non-PIC object. if test none != "$non_pic_object"; then # Prepend the subdirectory the object is found in. non_pic_object=$xdir$non_pic_object # A standard non-PIC object func_append non_pic_objects " $non_pic_object" if test -z "$pic_object" || test none = "$pic_object"; then arg=$non_pic_object fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object=$pic_object func_append non_pic_objects " $non_pic_object" fi else # Only an error if not doing a dry-run. if $opt_dry_run; then # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir=$func_dirname_result func_lo2o "$arg" pic_object=$xdir$objdir/$func_lo2o_result non_pic_object=$xdir$func_lo2o_result func_append libobjs " $pic_object" func_append non_pic_objects " $non_pic_object" else func_fatal_error "'$arg' is not a valid libtool object" fi fi ;; *.$libext) # An archive. func_append deplibs " $arg" func_append old_deplibs " $arg" continue ;; *.la) # A libtool-controlled library. func_resolve_sysroot "$arg" if test dlfiles = "$prev"; then # This library was specified with -dlopen. func_append dlfiles " $func_resolve_sysroot_result" prev= elif test dlprefiles = "$prev"; then # The library was specified with -dlpreopen. func_append dlprefiles " $func_resolve_sysroot_result" prev= else func_append deplibs " $func_resolve_sysroot_result" fi continue ;; # Some other compiler argument. *) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. func_quote_for_eval "$arg" arg=$func_quote_for_eval_result ;; esac # arg # Now actually substitute the argument into the commands. if test -n "$arg"; then func_append compile_command " $arg" func_append finalize_command " $arg" fi done # argument parsing loop test -n "$prev" && \ func_fatal_help "the '$prevarg' option requires an argument" if test yes = "$export_dynamic" && test -n "$export_dynamic_flag_spec"; then eval arg=\"$export_dynamic_flag_spec\" func_append compile_command " $arg" func_append finalize_command " $arg" fi oldlibs= # calculate the name of the file, without its directory func_basename "$output" outputname=$func_basename_result libobjs_save=$libobjs if test -n "$shlibpath_var"; then # get the directories listed in $shlibpath_var eval shlib_search_path=\`\$ECHO \"\$$shlibpath_var\" \| \$SED \'s/:/ /g\'\` else shlib_search_path= fi eval sys_lib_search_path=\"$sys_lib_search_path_spec\" eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" # Definition is injected by LT_CONFIG during libtool generation. func_munge_path_list sys_lib_dlsearch_path "$LT_SYS_LIBRARY_PATH" func_dirname "$output" "/" "" output_objdir=$func_dirname_result$objdir func_to_tool_file "$output_objdir/" tool_output_objdir=$func_to_tool_file_result # Create the object directory. func_mkdir_p "$output_objdir" # Determine the type of output case $output in "") func_fatal_help "you must specify an output file" ;; *.$libext) linkmode=oldlib ;; *.lo | *.$objext) linkmode=obj ;; *.la) linkmode=lib ;; *) linkmode=prog ;; # Anything else should be a program. esac specialdeplibs= libs= # Find all interdependent deplibs by searching for libraries # that are linked more than once (e.g. -la -lb -la) for deplib in $deplibs; do if $opt_preserve_dup_deps; then case "$libs " in *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi func_append libs " $deplib" done if test lib = "$linkmode"; then libs="$predeps $libs $compiler_lib_search_path $postdeps" # Compute libraries that are listed more than once in $predeps # $postdeps and mark them as special (i.e., whose duplicates are # not to be eliminated). pre_post_deps= if $opt_duplicate_compiler_generated_deps; then for pre_post_dep in $predeps $postdeps; do case "$pre_post_deps " in *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;; esac func_append pre_post_deps " $pre_post_dep" done fi pre_post_deps= fi deplibs= newdependency_libs= newlib_search_path= need_relink=no # whether we're linking any uninstalled libtool libraries notinst_deplibs= # not-installed libtool libraries notinst_path= # paths that contain not-installed libtool libraries case $linkmode in lib) passes="conv dlpreopen link" for file in $dlfiles $dlprefiles; do case $file in *.la) ;; *) func_fatal_help "libraries can '-dlopen' only libtool libraries: $file" ;; esac done ;; prog) compile_deplibs= finalize_deplibs= alldeplibs=false newdlfiles= newdlprefiles= passes="conv scan dlopen dlpreopen link" ;; *) passes="conv" ;; esac for pass in $passes; do # The preopen pass in lib mode reverses $deplibs; put it back here # so that -L comes before libs that need it for instance... if test lib,link = "$linkmode,$pass"; then ## FIXME: Find the place where the list is rebuilt in the wrong ## order, and fix it there properly tmp_deplibs= for deplib in $deplibs; do tmp_deplibs="$deplib $tmp_deplibs" done deplibs=$tmp_deplibs fi if test lib,link = "$linkmode,$pass" || test prog,scan = "$linkmode,$pass"; then libs=$deplibs deplibs= fi if test prog = "$linkmode"; then case $pass in dlopen) libs=$dlfiles ;; dlpreopen) libs=$dlprefiles ;; link) libs="$deplibs %DEPLIBS%" test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs" ;; esac fi if test lib,dlpreopen = "$linkmode,$pass"; then # Collect and forward deplibs of preopened libtool libs for lib in $dlprefiles; do # Ignore non-libtool-libs dependency_libs= func_resolve_sysroot "$lib" case $lib in *.la) func_source "$func_resolve_sysroot_result" ;; esac # Collect preopened libtool deplibs, except any this library # has declared as weak libs for deplib in $dependency_libs; do func_basename "$deplib" deplib_base=$func_basename_result case " $weak_libs " in *" $deplib_base "*) ;; *) func_append deplibs " $deplib" ;; esac done done libs=$dlprefiles fi if test dlopen = "$pass"; then # Collect dlpreopened libraries save_deplibs=$deplibs deplibs= fi for deplib in $libs; do lib= found=false case $deplib in -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) if test prog,link = "$linkmode,$pass"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else func_append compiler_flags " $deplib" if test lib = "$linkmode"; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; * ) func_append new_inherited_linker_flags " $deplib" ;; esac fi fi continue ;; -l*) if test lib != "$linkmode" && test prog != "$linkmode"; then func_warning "'-l' is ignored for archives/objects" continue fi func_stripname '-l' '' "$deplib" name=$func_stripname_result if test lib = "$linkmode"; then searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" else searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" fi for searchdir in $searchdirs; do for search_ext in .la $std_shrext .so .a; do # Search the libtool library lib=$searchdir/lib$name$search_ext if test -f "$lib"; then if test .la = "$search_ext"; then found=: else found=false fi break 2 fi done done if $found; then # deplib is a libtool library # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, # We need to do some special things here, and not later. if test yes = "$allow_libtool_libs_with_static_runtimes"; then case " $predeps $postdeps " in *" $deplib "*) if func_lalib_p "$lib"; then library_names= old_library= func_source "$lib" for l in $old_library $library_names; do ll=$l done if test "X$ll" = "X$old_library"; then # only static version available found=false func_dirname "$lib" "" "." ladir=$func_dirname_result lib=$ladir/$old_library if test prog,link = "$linkmode,$pass"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs" fi continue fi fi ;; *) ;; esac fi else # deplib doesn't seem to be a libtool library if test prog,link = "$linkmode,$pass"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs" fi continue fi ;; # -l *.ltframework) if test prog,link = "$linkmode,$pass"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" if test lib = "$linkmode"; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; * ) func_append new_inherited_linker_flags " $deplib" ;; esac fi fi continue ;; -L*) case $linkmode in lib) deplibs="$deplib $deplibs" test conv = "$pass" && continue newdependency_libs="$deplib $newdependency_libs" func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" func_append newlib_search_path " $func_resolve_sysroot_result" ;; prog) if test conv = "$pass"; then deplibs="$deplib $deplibs" continue fi if test scan = "$pass"; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" func_append newlib_search_path " $func_resolve_sysroot_result" ;; *) func_warning "'-L' is ignored for archives/objects" ;; esac # linkmode continue ;; # -L -R*) if test link = "$pass"; then func_stripname '-R' '' "$deplib" func_resolve_sysroot "$func_stripname_result" dir=$func_resolve_sysroot_result # Make sure the xrpath contains only unique directories. case "$xrpath " in *" $dir "*) ;; *) func_append xrpath " $dir" ;; esac fi deplibs="$deplib $deplibs" continue ;; *.la) func_resolve_sysroot "$deplib" lib=$func_resolve_sysroot_result ;; *.$libext) if test conv = "$pass"; then deplibs="$deplib $deplibs" continue fi case $linkmode in lib) # Linking convenience modules into shared libraries is allowed, # but linking other static libraries is non-portable. case " $dlpreconveniencelibs " in *" $deplib "*) ;; *) valid_a_lib=false case $deplibs_check_method in match_pattern*) set dummy $deplibs_check_method; shift match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \ | $EGREP "$match_pattern_regex" > /dev/null; then valid_a_lib=: fi ;; pass_all) valid_a_lib=: ;; esac if $valid_a_lib; then echo $ECHO "*** Warning: Linking the shared library $output against the" $ECHO "*** static library $deplib is not portable!" deplibs="$deplib $deplibs" else echo $ECHO "*** Warning: Trying to link with static lib archive $deplib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have" echo "*** because the file extensions .$libext of this argument makes me believe" echo "*** that it is just a static archive that I should not use here." fi ;; esac continue ;; prog) if test link != "$pass"; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi continue ;; esac # linkmode ;; # *.$libext *.lo | *.$objext) if test conv = "$pass"; then deplibs="$deplib $deplibs" elif test prog = "$linkmode"; then if test dlpreopen = "$pass" || test yes != "$dlopen_support" || test no = "$build_libtool_libs"; then # If there is no dlopen support or we're linking statically, # we need to preload. func_append newdlprefiles " $deplib" compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else func_append newdlfiles " $deplib" fi fi continue ;; %DEPLIBS%) alldeplibs=: continue ;; esac # case $deplib $found || test -f "$lib" \ || func_fatal_error "cannot find the library '$lib' or unhandled argument '$deplib'" # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$lib" \ || func_fatal_error "'$lib' is not a valid libtool archive" func_dirname "$lib" "" "." ladir=$func_dirname_result dlname= dlopen= dlpreopen= libdir= library_names= old_library= inherited_linker_flags= # If the library was installed with an old release of libtool, # it will not redefine variables installed, or shouldnotlink installed=yes shouldnotlink=no avoidtemprpath= # Read the .la file func_source "$lib" # Convert "-framework foo" to "foo.ltframework" if test -n "$inherited_linker_flags"; then tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'` for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do case " $new_inherited_linker_flags " in *" $tmp_inherited_linker_flag "*) ;; *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";; esac done fi dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` if test lib,link = "$linkmode,$pass" || test prog,scan = "$linkmode,$pass" || { test prog != "$linkmode" && test lib != "$linkmode"; }; then test -n "$dlopen" && func_append dlfiles " $dlopen" test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen" fi if test conv = "$pass"; then # Only check for convenience libraries deplibs="$lib $deplibs" if test -z "$libdir"; then if test -z "$old_library"; then func_fatal_error "cannot find name of link library for '$lib'" fi # It is a libtool convenience library, so add in its objects. func_append convenience " $ladir/$objdir/$old_library" func_append old_convenience " $ladir/$objdir/$old_library" tmp_libs= for deplib in $dependency_libs; do deplibs="$deplib $deplibs" if $opt_preserve_dup_deps; then case "$tmp_libs " in *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi func_append tmp_libs " $deplib" done elif test prog != "$linkmode" && test lib != "$linkmode"; then func_fatal_error "'$lib' is not a convenience library" fi continue fi # $pass = conv # Get the name of the library we link against. linklib= if test -n "$old_library" && { test yes = "$prefer_static_libs" || test built,no = "$prefer_static_libs,$installed"; }; then linklib=$old_library else for l in $old_library $library_names; do linklib=$l done fi if test -z "$linklib"; then func_fatal_error "cannot find name of link library for '$lib'" fi # This library was specified with -dlopen. if test dlopen = "$pass"; then test -z "$libdir" \ && func_fatal_error "cannot -dlopen a convenience library: '$lib'" if test -z "$dlname" || test yes != "$dlopen_support" || test no = "$build_libtool_libs" then # If there is no dlname, no dlopen support or we're linking # statically, we need to preload. We also need to preload any # dependent libraries so libltdl's deplib preloader doesn't # bomb out in the load deplibs phase. func_append dlprefiles " $lib $dependency_libs" else func_append newdlfiles " $lib" fi continue fi # $pass = dlopen # We need an absolute path. case $ladir in [\\/]* | [A-Za-z]:[\\/]*) abs_ladir=$ladir ;; *) abs_ladir=`cd "$ladir" && pwd` if test -z "$abs_ladir"; then func_warning "cannot determine absolute directory name of '$ladir'" func_warning "passing it literally to the linker, although it might fail" abs_ladir=$ladir fi ;; esac func_basename "$lib" laname=$func_basename_result # Find the relevant object directory and library name. if test yes = "$installed"; then if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then func_warning "library '$lib' was moved." dir=$ladir absdir=$abs_ladir libdir=$abs_ladir else dir=$lt_sysroot$libdir absdir=$lt_sysroot$libdir fi test yes = "$hardcode_automatic" && avoidtemprpath=yes else if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then dir=$ladir absdir=$abs_ladir # Remove this search path later func_append notinst_path " $abs_ladir" else dir=$ladir/$objdir absdir=$abs_ladir/$objdir # Remove this search path later func_append notinst_path " $abs_ladir" fi fi # $installed = yes func_stripname 'lib' '.la' "$laname" name=$func_stripname_result # This library was specified with -dlpreopen. if test dlpreopen = "$pass"; then if test -z "$libdir" && test prog = "$linkmode"; then func_fatal_error "only libraries may -dlpreopen a convenience library: '$lib'" fi case $host in # special handling for platforms with PE-DLLs. *cygwin* | *mingw* | *cegcc* ) # Linker will automatically link against shared library if both # static and shared are present. Therefore, ensure we extract # symbols from the import library if a shared library is present # (otherwise, the dlopen module name will be incorrect). We do # this by putting the import library name into $newdlprefiles. # We recover the dlopen module name by 'saving' the la file # name in a special purpose variable, and (later) extracting the # dlname from the la file. if test -n "$dlname"; then func_tr_sh "$dir/$linklib" eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname" func_append newdlprefiles " $dir/$linklib" else func_append newdlprefiles " $dir/$old_library" # Keep a list of preopened convenience libraries to check # that they are being used correctly in the link pass. test -z "$libdir" && \ func_append dlpreconveniencelibs " $dir/$old_library" fi ;; * ) # Prefer using a static library (so that no silly _DYNAMIC symbols # are required to link). if test -n "$old_library"; then func_append newdlprefiles " $dir/$old_library" # Keep a list of preopened convenience libraries to check # that they are being used correctly in the link pass. test -z "$libdir" && \ func_append dlpreconveniencelibs " $dir/$old_library" # Otherwise, use the dlname, so that lt_dlopen finds it. elif test -n "$dlname"; then func_append newdlprefiles " $dir/$dlname" else func_append newdlprefiles " $dir/$linklib" fi ;; esac fi # $pass = dlpreopen if test -z "$libdir"; then # Link the convenience library if test lib = "$linkmode"; then deplibs="$dir/$old_library $deplibs" elif test prog,link = "$linkmode,$pass"; then compile_deplibs="$dir/$old_library $compile_deplibs" finalize_deplibs="$dir/$old_library $finalize_deplibs" else deplibs="$lib $deplibs" # used for prog,scan pass fi continue fi if test prog = "$linkmode" && test link != "$pass"; then func_append newlib_search_path " $ladir" deplibs="$lib $deplibs" linkalldeplibs=false if test no != "$link_all_deplibs" || test -z "$library_names" || test no = "$build_libtool_libs"; then linkalldeplibs=: fi tmp_libs= for deplib in $dependency_libs; do case $deplib in -L*) func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" func_append newlib_search_path " $func_resolve_sysroot_result" ;; esac # Need to link against all dependency_libs? if $linkalldeplibs; then deplibs="$deplib $deplibs" else # Need to hardcode shared library paths # or/and link against static libraries newdependency_libs="$deplib $newdependency_libs" fi if $opt_preserve_dup_deps; then case "$tmp_libs " in *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi func_append tmp_libs " $deplib" done # for deplib continue fi # $linkmode = prog... if test prog,link = "$linkmode,$pass"; then if test -n "$library_names" && { { test no = "$prefer_static_libs" || test built,yes = "$prefer_static_libs,$installed"; } || test -z "$old_library"; }; then # We need to hardcode the library path if test -n "$shlibpath_var" && test -z "$avoidtemprpath"; then # Make sure the rpath contains only unique directories. case $temp_rpath: in *"$absdir:"*) ;; *) func_append temp_rpath "$absdir:" ;; esac fi # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) func_append compile_rpath " $absdir" ;; esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac ;; esac fi # $linkmode,$pass = prog,link... if $alldeplibs && { test pass_all = "$deplibs_check_method" || { test yes = "$build_libtool_libs" && test -n "$library_names"; }; }; then # We only need to search for static libraries continue fi fi link_static=no # Whether the deplib will be linked statically use_static_libs=$prefer_static_libs if test built = "$use_static_libs" && test yes = "$installed"; then use_static_libs=no fi if test -n "$library_names" && { test no = "$use_static_libs" || test -z "$old_library"; }; then case $host in *cygwin* | *mingw* | *cegcc* | *os2*) # No point in relinking DLLs because paths are not encoded func_append notinst_deplibs " $lib" need_relink=no ;; *) if test no = "$installed"; then func_append notinst_deplibs " $lib" need_relink=yes fi ;; esac # This is a shared library # Warn about portability, can't link against -module's on some # systems (darwin). Don't bleat about dlopened modules though! dlopenmodule= for dlpremoduletest in $dlprefiles; do if test "X$dlpremoduletest" = "X$lib"; then dlopenmodule=$dlpremoduletest break fi done if test -z "$dlopenmodule" && test yes = "$shouldnotlink" && test link = "$pass"; then echo if test prog = "$linkmode"; then $ECHO "*** Warning: Linking the executable $output against the loadable module" else $ECHO "*** Warning: Linking the shared library $output against the loadable module" fi $ECHO "*** $linklib is not portable!" fi if test lib = "$linkmode" && test yes = "$hardcode_into_libs"; then # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) func_append compile_rpath " $absdir" ;; esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac ;; esac fi if test -n "$old_archive_from_expsyms_cmds"; then # figure out the soname set dummy $library_names shift realname=$1 shift libname=`eval "\\$ECHO \"$libname_spec\""` # use dlname if we got it. it's perfectly good, no? if test -n "$dlname"; then soname=$dlname elif test -n "$soname_spec"; then # bleh windows case $host in *cygwin* | mingw* | *cegcc* | *os2*) func_arith $current - $age major=$func_arith_result versuffix=-$major ;; esac eval soname=\"$soname_spec\" else soname=$realname fi # Make a new name for the extract_expsyms_cmds to use soroot=$soname func_basename "$soroot" soname=$func_basename_result func_stripname 'lib' '.dll' "$soname" newlib=libimp-$func_stripname_result.a # If the library has no export list, then create one now if test -f "$output_objdir/$soname-def"; then : else func_verbose "extracting exported symbol list from '$soname'" func_execute_cmds "$extract_expsyms_cmds" 'exit $?' fi # Create $newlib if test -f "$output_objdir/$newlib"; then :; else func_verbose "generating import library for '$soname'" func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?' fi # make sure the library variables are pointing to the new library dir=$output_objdir linklib=$newlib fi # test -n "$old_archive_from_expsyms_cmds" if test prog = "$linkmode" || test relink != "$opt_mode"; then add_shlibpath= add_dir= add= lib_linked=yes case $hardcode_action in immediate | unsupported) if test no = "$hardcode_direct"; then add=$dir/$linklib case $host in *-*-sco3.2v5.0.[024]*) add_dir=-L$dir ;; *-*-sysv4*uw2*) add_dir=-L$dir ;; *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ *-*-unixware7*) add_dir=-L$dir ;; *-*-darwin* ) # if the lib is a (non-dlopened) module then we cannot # link against it, someone is ignoring the earlier warnings if /usr/bin/file -L $add 2> /dev/null | $GREP ": [^:]* bundle" >/dev/null; then if test "X$dlopenmodule" != "X$lib"; then $ECHO "*** Warning: lib $linklib is a module, not a shared library" if test -z "$old_library"; then echo echo "*** And there doesn't seem to be a static archive available" echo "*** The link will probably fail, sorry" else add=$dir/$old_library fi elif test -n "$old_library"; then add=$dir/$old_library fi fi esac elif test no = "$hardcode_minus_L"; then case $host in *-*-sunos*) add_shlibpath=$dir ;; esac add_dir=-L$dir add=-l$name elif test no = "$hardcode_shlibpath_var"; then add_shlibpath=$dir add=-l$name else lib_linked=no fi ;; relink) if test yes = "$hardcode_direct" && test no = "$hardcode_direct_absolute"; then add=$dir/$linklib elif test yes = "$hardcode_minus_L"; then add_dir=-L$absdir # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) func_append add_dir " -L$inst_prefix_dir$libdir" ;; esac fi add=-l$name elif test yes = "$hardcode_shlibpath_var"; then add_shlibpath=$dir add=-l$name else lib_linked=no fi ;; *) lib_linked=no ;; esac if test yes != "$lib_linked"; then func_fatal_configuration "unsupported hardcode properties" fi if test -n "$add_shlibpath"; then case :$compile_shlibpath: in *":$add_shlibpath:"*) ;; *) func_append compile_shlibpath "$add_shlibpath:" ;; esac fi if test prog = "$linkmode"; then test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" test -n "$add" && compile_deplibs="$add $compile_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" if test yes != "$hardcode_direct" && test yes != "$hardcode_minus_L" && test yes = "$hardcode_shlibpath_var"; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) func_append finalize_shlibpath "$libdir:" ;; esac fi fi fi if test prog = "$linkmode" || test relink = "$opt_mode"; then add_shlibpath= add_dir= add= # Finalize command for both is simple: just hardcode it. if test yes = "$hardcode_direct" && test no = "$hardcode_direct_absolute"; then add=$libdir/$linklib elif test yes = "$hardcode_minus_L"; then add_dir=-L$libdir add=-l$name elif test yes = "$hardcode_shlibpath_var"; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) func_append finalize_shlibpath "$libdir:" ;; esac add=-l$name elif test yes = "$hardcode_automatic"; then if test -n "$inst_prefix_dir" && test -f "$inst_prefix_dir$libdir/$linklib"; then add=$inst_prefix_dir$libdir/$linklib else add=$libdir/$linklib fi else # We cannot seem to hardcode it, guess we'll fake it. add_dir=-L$libdir # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) func_append add_dir " -L$inst_prefix_dir$libdir" ;; esac fi add=-l$name fi if test prog = "$linkmode"; then test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" test -n "$add" && finalize_deplibs="$add $finalize_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" fi fi elif test prog = "$linkmode"; then # Here we assume that one of hardcode_direct or hardcode_minus_L # is not unsupported. This is valid on all known static and # shared platforms. if test unsupported != "$hardcode_direct"; then test -n "$old_library" && linklib=$old_library compile_deplibs="$dir/$linklib $compile_deplibs" finalize_deplibs="$dir/$linklib $finalize_deplibs" else compile_deplibs="-l$name -L$dir $compile_deplibs" finalize_deplibs="-l$name -L$dir $finalize_deplibs" fi elif test yes = "$build_libtool_libs"; then # Not a shared library if test pass_all != "$deplibs_check_method"; then # We're trying link a shared library against a static one # but the system doesn't support it. # Just print a warning and add the library to dependency_libs so # that the program can be linked against the static library. echo $ECHO "*** Warning: This system cannot link to static lib archive $lib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have." if test yes = "$module"; then echo "*** But as you try to build a module library, libtool will still create " echo "*** a static module, that should work as long as the dlopening application" echo "*** is linked with the -dlopen flag to resolve symbols at runtime." if test -z "$global_symbol_pipe"; then echo echo "*** However, this would only work if libtool was able to extract symbol" echo "*** lists from a program, using 'nm' or equivalent, but libtool could" echo "*** not find such a program. So, this module is probably useless." echo "*** 'nm' from GNU binutils and a full rebuild may help." fi if test no = "$build_old_libs"; then build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi else deplibs="$dir/$old_library $deplibs" link_static=yes fi fi # link shared/static library? if test lib = "$linkmode"; then if test -n "$dependency_libs" && { test yes != "$hardcode_into_libs" || test yes = "$build_old_libs" || test yes = "$link_static"; }; then # Extract -R from dependency_libs temp_deplibs= for libdir in $dependency_libs; do case $libdir in -R*) func_stripname '-R' '' "$libdir" temp_xrpath=$func_stripname_result case " $xrpath " in *" $temp_xrpath "*) ;; *) func_append xrpath " $temp_xrpath";; esac;; *) func_append temp_deplibs " $libdir";; esac done dependency_libs=$temp_deplibs fi func_append newlib_search_path " $absdir" # Link against this library test no = "$link_static" && newdependency_libs="$abs_ladir/$laname $newdependency_libs" # ... and its dependency_libs tmp_libs= for deplib in $dependency_libs; do newdependency_libs="$deplib $newdependency_libs" case $deplib in -L*) func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result";; *) func_resolve_sysroot "$deplib" ;; esac if $opt_preserve_dup_deps; then case "$tmp_libs " in *" $func_resolve_sysroot_result "*) func_append specialdeplibs " $func_resolve_sysroot_result" ;; esac fi func_append tmp_libs " $func_resolve_sysroot_result" done if test no != "$link_all_deplibs"; then # Add the search paths of all dependency libraries for deplib in $dependency_libs; do path= case $deplib in -L*) path=$deplib ;; *.la) func_resolve_sysroot "$deplib" deplib=$func_resolve_sysroot_result func_dirname "$deplib" "" "." dir=$func_dirname_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) absdir=$dir ;; *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then func_warning "cannot determine absolute directory name of '$dir'" absdir=$dir fi ;; esac if $GREP "^installed=no" $deplib > /dev/null; then case $host in *-*-darwin*) depdepl= eval deplibrary_names=`$SED -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` if test -n "$deplibrary_names"; then for tmp in $deplibrary_names; do depdepl=$tmp done if test -f "$absdir/$objdir/$depdepl"; then depdepl=$absdir/$objdir/$depdepl darwin_install_name=`$OTOOL -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` if test -z "$darwin_install_name"; then darwin_install_name=`$OTOOL64 -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` fi func_append compiler_flags " $wl-dylib_file $wl$darwin_install_name:$depdepl" func_append linker_flags " -dylib_file $darwin_install_name:$depdepl" path= fi fi ;; *) path=-L$absdir/$objdir ;; esac else eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` test -z "$libdir" && \ func_fatal_error "'$deplib' is not a valid libtool archive" test "$absdir" != "$libdir" && \ func_warning "'$deplib' seems to be moved" path=-L$absdir fi ;; esac case " $deplibs " in *" $path "*) ;; *) deplibs="$path $deplibs" ;; esac done fi # link_all_deplibs != no fi # linkmode = lib done # for deplib in $libs if test link = "$pass"; then if test prog = "$linkmode"; then compile_deplibs="$new_inherited_linker_flags $compile_deplibs" finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" else compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` fi fi dependency_libs=$newdependency_libs if test dlpreopen = "$pass"; then # Link the dlpreopened libraries before other libraries for deplib in $save_deplibs; do deplibs="$deplib $deplibs" done fi if test dlopen != "$pass"; then test conv = "$pass" || { # Make sure lib_search_path contains only unique directories. lib_search_path= for dir in $newlib_search_path; do case "$lib_search_path " in *" $dir "*) ;; *) func_append lib_search_path " $dir" ;; esac done newlib_search_path= } if test prog,link = "$linkmode,$pass"; then vars="compile_deplibs finalize_deplibs" else vars=deplibs fi for var in $vars dependency_libs; do # Add libraries to $var in reverse order eval tmp_libs=\"\$$var\" new_libs= for deplib in $tmp_libs; do # FIXME: Pedantically, this is the right thing to do, so # that some nasty dependency loop isn't accidentally # broken: #new_libs="$deplib $new_libs" # Pragmatically, this seems to cause very few problems in # practice: case $deplib in -L*) new_libs="$deplib $new_libs" ;; -R*) ;; *) # And here is the reason: when a library appears more # than once as an explicit dependence of a library, or # is implicitly linked in more than once by the # compiler, it is considered special, and multiple # occurrences thereof are not removed. Compare this # with having the same library being listed as a # dependency of multiple other libraries: in this case, # we know (pedantically, we assume) the library does not # need to be listed more than once, so we keep only the # last copy. This is not always right, but it is rare # enough that we require users that really mean to play # such unportable linking tricks to link the library # using -Wl,-lname, so that libtool does not consider it # for duplicate removal. case " $specialdeplibs " in *" $deplib "*) new_libs="$deplib $new_libs" ;; *) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$deplib $new_libs" ;; esac ;; esac ;; esac done tmp_libs= for deplib in $new_libs; do case $deplib in -L*) case " $tmp_libs " in *" $deplib "*) ;; *) func_append tmp_libs " $deplib" ;; esac ;; *) func_append tmp_libs " $deplib" ;; esac done eval $var=\"$tmp_libs\" done # for var fi # Add Sun CC postdeps if required: test CXX = "$tagname" && { case $host_os in linux*) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 func_suncc_cstd_abi if test no != "$suncc_use_cstd_abi"; then func_append postdeps ' -library=Cstd -library=Crun' fi ;; esac ;; solaris*) func_cc_basename "$CC" case $func_cc_basename_result in CC* | sunCC*) func_suncc_cstd_abi if test no != "$suncc_use_cstd_abi"; then func_append postdeps ' -library=Cstd -library=Crun' fi ;; esac ;; esac } # Last step: remove runtime libs from dependency_libs # (they stay in deplibs) tmp_libs= for i in $dependency_libs; do case " $predeps $postdeps $compiler_lib_search_path " in *" $i "*) i= ;; esac if test -n "$i"; then func_append tmp_libs " $i" fi done dependency_libs=$tmp_libs done # for pass if test prog = "$linkmode"; then dlfiles=$newdlfiles fi if test prog = "$linkmode" || test lib = "$linkmode"; then dlprefiles=$newdlprefiles fi case $linkmode in oldlib) if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then func_warning "'-dlopen' is ignored for archives" fi case " $deplibs" in *\ -l* | *\ -L*) func_warning "'-l' and '-L' are ignored for archives" ;; esac test -n "$rpath" && \ func_warning "'-rpath' is ignored for archives" test -n "$xrpath" && \ func_warning "'-R' is ignored for archives" test -n "$vinfo" && \ func_warning "'-version-info/-version-number' is ignored for archives" test -n "$release" && \ func_warning "'-release' is ignored for archives" test -n "$export_symbols$export_symbols_regex" && \ func_warning "'-export-symbols' is ignored for archives" # Now set the variables for building old libraries. build_libtool_libs=no oldlibs=$output func_append objs "$old_deplibs" ;; lib) # Make sure we only generate libraries of the form 'libNAME.la'. case $outputname in lib*) func_stripname 'lib' '.la' "$outputname" name=$func_stripname_result eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" ;; *) test no = "$module" \ && func_fatal_help "libtool library '$output' must begin with 'lib'" if test no != "$need_lib_prefix"; then # Add the "lib" prefix for modules if required func_stripname '' '.la' "$outputname" name=$func_stripname_result eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" else func_stripname '' '.la' "$outputname" libname=$func_stripname_result fi ;; esac if test -n "$objs"; then if test pass_all != "$deplibs_check_method"; then func_fatal_error "cannot build libtool library '$output' from non-libtool objects on this host:$objs" else echo $ECHO "*** Warning: Linking the shared library $output against the non-libtool" $ECHO "*** objects $objs is not portable!" func_append libobjs " $objs" fi fi test no = "$dlself" \ || func_warning "'-dlopen self' is ignored for libtool libraries" set dummy $rpath shift test 1 -lt "$#" \ && func_warning "ignoring multiple '-rpath's for a libtool library" install_libdir=$1 oldlibs= if test -z "$rpath"; then if test yes = "$build_libtool_libs"; then # Building a libtool convenience library. # Some compilers have problems with a '.al' extension so # convenience libraries should have the same extension an # archive normally would. oldlibs="$output_objdir/$libname.$libext $oldlibs" build_libtool_libs=convenience build_old_libs=yes fi test -n "$vinfo" && \ func_warning "'-version-info/-version-number' is ignored for convenience libraries" test -n "$release" && \ func_warning "'-release' is ignored for convenience libraries" else # Parse the version information argument. save_ifs=$IFS; IFS=: set dummy $vinfo 0 0 0 shift IFS=$save_ifs test -n "$7" && \ func_fatal_help "too many parameters to '-version-info'" # convert absolute version numbers to libtool ages # this retains compatibility with .la files and attempts # to make the code below a bit more comprehensible case $vinfo_number in yes) number_major=$1 number_minor=$2 number_revision=$3 # # There are really only two kinds -- those that # use the current revision as the major version # and those that subtract age and use age as # a minor version. But, then there is irix # that has an extra 1 added just for fun # case $version_type in # correct linux to gnu/linux during the next big refactor darwin|freebsd-elf|linux|osf|windows|none) func_arith $number_major + $number_minor current=$func_arith_result age=$number_minor revision=$number_revision ;; freebsd-aout|qnx|sunos) current=$number_major revision=$number_minor age=0 ;; irix|nonstopux) func_arith $number_major + $number_minor current=$func_arith_result age=$number_minor revision=$number_minor lt_irix_increment=no ;; *) func_fatal_configuration "$modename: unknown library version type '$version_type'" ;; esac ;; no) current=$1 revision=$2 age=$3 ;; esac # Check that each of the things are valid numbers. case $current in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) func_error "CURRENT '$current' must be a nonnegative integer" func_fatal_error "'$vinfo' is not valid version information" ;; esac case $revision in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) func_error "REVISION '$revision' must be a nonnegative integer" func_fatal_error "'$vinfo' is not valid version information" ;; esac case $age in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) func_error "AGE '$age' must be a nonnegative integer" func_fatal_error "'$vinfo' is not valid version information" ;; esac if test "$age" -gt "$current"; then func_error "AGE '$age' is greater than the current interface number '$current'" func_fatal_error "'$vinfo' is not valid version information" fi # Calculate the version variables. major= versuffix= verstring= case $version_type in none) ;; darwin) # Like Linux, but with the current version available in # verstring for coding it into the library header func_arith $current - $age major=.$func_arith_result versuffix=$major.$age.$revision # Darwin ld doesn't like 0 for these options... func_arith $current + 1 minor_current=$func_arith_result xlcverstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision" verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" # On Darwin other compilers case $CC in nagfor*) verstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision" ;; *) verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" ;; esac ;; freebsd-aout) major=.$current versuffix=.$current.$revision ;; freebsd-elf) func_arith $current - $age major=.$func_arith_result versuffix=$major.$age.$revision ;; irix | nonstopux) if test no = "$lt_irix_increment"; then func_arith $current - $age else func_arith $current - $age + 1 fi major=$func_arith_result case $version_type in nonstopux) verstring_prefix=nonstopux ;; *) verstring_prefix=sgi ;; esac verstring=$verstring_prefix$major.$revision # Add in all the interfaces that we are compatible with. loop=$revision while test 0 -ne "$loop"; do func_arith $revision - $loop iface=$func_arith_result func_arith $loop - 1 loop=$func_arith_result verstring=$verstring_prefix$major.$iface:$verstring done # Before this point, $major must not contain '.'. major=.$major versuffix=$major.$revision ;; linux) # correct to gnu/linux during the next big refactor func_arith $current - $age major=.$func_arith_result versuffix=$major.$age.$revision ;; osf) func_arith $current - $age major=.$func_arith_result versuffix=.$current.$age.$revision verstring=$current.$age.$revision # Add in all the interfaces that we are compatible with. loop=$age while test 0 -ne "$loop"; do func_arith $current - $loop iface=$func_arith_result func_arith $loop - 1 loop=$func_arith_result verstring=$verstring:$iface.0 done # Make executables depend on our current version. func_append verstring ":$current.0" ;; qnx) major=.$current versuffix=.$current ;; sco) major=.$current versuffix=.$current ;; sunos) major=.$current versuffix=.$current.$revision ;; windows) # Use '-' rather than '.', since we only want one # extension on DOS 8.3 file systems. func_arith $current - $age major=$func_arith_result versuffix=-$major ;; *) func_fatal_configuration "unknown library version type '$version_type'" ;; esac # Clear the version info if we defaulted, and they specified a release. if test -z "$vinfo" && test -n "$release"; then major= case $version_type in darwin) # we can't check for "0.0" in archive_cmds due to quoting # problems, so we reset it completely verstring= ;; *) verstring=0.0 ;; esac if test no = "$need_version"; then versuffix= else versuffix=.0.0 fi fi # Remove version info from name if versioning should be avoided if test yes,no = "$avoid_version,$need_version"; then major= versuffix= verstring= fi # Check to see if the archive will have undefined symbols. if test yes = "$allow_undefined"; then if test unsupported = "$allow_undefined_flag"; then if test yes = "$build_old_libs"; then func_warning "undefined symbols not allowed in $host shared libraries; building static only" build_libtool_libs=no else func_fatal_error "can't build $host shared library unless -no-undefined is specified" fi fi else # Don't allow undefined symbols. allow_undefined_flag=$no_undefined_flag fi fi func_generate_dlsyms "$libname" "$libname" : func_append libobjs " $symfileobj" test " " = "$libobjs" && libobjs= if test relink != "$opt_mode"; then # Remove our outputs, but don't remove object files since they # may have been created when compiling PIC objects. removelist= tempremovelist=`$ECHO "$output_objdir/*"` for p in $tempremovelist; do case $p in *.$objext | *.gcno) ;; $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/$libname$release.*) if test -n "$precious_files_regex"; then if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 then continue fi fi func_append removelist " $p" ;; *) ;; esac done test -n "$removelist" && \ func_show_eval "${RM}r \$removelist" fi # Now set the variables for building old libraries. if test yes = "$build_old_libs" && test convenience != "$build_libtool_libs"; then func_append oldlibs " $output_objdir/$libname.$libext" # Transform .lo files to .o files. oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; $lo2o" | $NL2SP` fi # Eliminate all temporary directories. #for path in $notinst_path; do # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"` # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"` # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"` #done if test -n "$xrpath"; then # If the user specified any rpath flags, then add them. temp_xrpath= for libdir in $xrpath; do func_replace_sysroot "$libdir" func_append temp_xrpath " -R$func_replace_sysroot_result" case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac done if test yes != "$hardcode_into_libs" || test yes = "$build_old_libs"; then dependency_libs="$temp_xrpath $dependency_libs" fi fi # Make sure dlfiles contains only unique files that won't be dlpreopened old_dlfiles=$dlfiles dlfiles= for lib in $old_dlfiles; do case " $dlprefiles $dlfiles " in *" $lib "*) ;; *) func_append dlfiles " $lib" ;; esac done # Make sure dlprefiles contains only unique files old_dlprefiles=$dlprefiles dlprefiles= for lib in $old_dlprefiles; do case "$dlprefiles " in *" $lib "*) ;; *) func_append dlprefiles " $lib" ;; esac done if test yes = "$build_libtool_libs"; then if test -n "$rpath"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*) # these systems don't actually have a c library (as such)! ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C library is in the System framework func_append deplibs " System.ltframework" ;; *-*-netbsd*) # Don't link with libc until the a.out ld.so is fixed. ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work ;; *) # Add libc to deplibs on all other systems if necessary. if test yes = "$build_libtool_need_lc"; then func_append deplibs " -lc" fi ;; esac fi # Transform deplibs into only deplibs that can be linked in shared. name_save=$name libname_save=$libname release_save=$release versuffix_save=$versuffix major_save=$major # I'm not sure if I'm treating the release correctly. I think # release should show up in the -l (ie -lgmp5) so we don't want to # add it in twice. Is that correct? release= versuffix= major= newdeplibs= droppeddeps=no case $deplibs_check_method in pass_all) # Don't check for shared/static. Everything works. # This might be a little naive. We might want to check # whether the library exists or not. But this is on # osf3 & osf4 and I'm not really sure... Just # implementing what was already the behavior. newdeplibs=$deplibs ;; test_compile) # This code stresses the "libraries are programs" paradigm to its # limits. Maybe even breaks it. We compile a program, linking it # against the deplibs as a proxy for the library. Then we can check # whether they linked in statically or dynamically with ldd. $opt_dry_run || $RM conftest.c cat > conftest.c </dev/null` $nocaseglob else potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null` fi for potent_lib in $potential_libs; do # Follow soft links. if ls -lLd "$potent_lib" 2>/dev/null | $GREP " -> " >/dev/null; then continue fi # The statement above tries to avoid entering an # endless loop below, in case of cyclic links. # We might still enter an endless loop, since a link # loop can be closed while we follow links, # but so what? potlib=$potent_lib while test -h "$potlib" 2>/dev/null; do potliblink=`ls -ld $potlib | $SED 's/.* -> //'` case $potliblink in [\\/]* | [A-Za-z]:[\\/]*) potlib=$potliblink;; *) potlib=`$ECHO "$potlib" | $SED 's|[^/]*$||'`"$potliblink";; esac done if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | $SED -e 10q | $EGREP "$file_magic_regex" > /dev/null; then func_append newdeplibs " $a_deplib" a_deplib= break 2 fi done done fi if test -n "$a_deplib"; then droppeddeps=yes echo $ECHO "*** Warning: linker path does not have real file for library $a_deplib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have" echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib"; then $ECHO "*** with $libname but no candidates were found. (...for file magic test)" else $ECHO "*** with $libname and none of the candidates passed a file format test" $ECHO "*** using a file magic. Last file checked: $potlib" fi fi ;; *) # Add a -L argument. func_append newdeplibs " $a_deplib" ;; esac done # Gone through all deplibs. ;; match_pattern*) set dummy $deplibs_check_method; shift match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` for a_deplib in $deplibs; do case $a_deplib in -l*) func_stripname -l '' "$a_deplib" name=$func_stripname_result if test yes = "$allow_libtool_libs_with_static_runtimes"; then case " $predeps $postdeps " in *" $a_deplib "*) func_append newdeplibs " $a_deplib" a_deplib= ;; esac fi if test -n "$a_deplib"; then libname=`eval "\\$ECHO \"$libname_spec\""` for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do potential_libs=`ls $i/$libname[.-]* 2>/dev/null` for potent_lib in $potential_libs; do potlib=$potent_lib # see symlink-check above in file_magic test if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \ $EGREP "$match_pattern_regex" > /dev/null; then func_append newdeplibs " $a_deplib" a_deplib= break 2 fi done done fi if test -n "$a_deplib"; then droppeddeps=yes echo $ECHO "*** Warning: linker path does not have real file for library $a_deplib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have" echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib"; then $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)" else $ECHO "*** with $libname and none of the candidates passed a file format test" $ECHO "*** using a regex pattern. Last file checked: $potlib" fi fi ;; *) # Add a -L argument. func_append newdeplibs " $a_deplib" ;; esac done # Gone through all deplibs. ;; none | unknown | *) newdeplibs= tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'` if test yes = "$allow_libtool_libs_with_static_runtimes"; then for i in $predeps $postdeps; do # can't use Xsed below, because $i might contain '/' tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s|$i||"` done fi case $tmp_deplibs in *[!\ \ ]*) echo if test none = "$deplibs_check_method"; then echo "*** Warning: inter-library dependencies are not supported in this platform." else echo "*** Warning: inter-library dependencies are not known to be supported." fi echo "*** All declared inter-library dependencies are being dropped." droppeddeps=yes ;; esac ;; esac versuffix=$versuffix_save major=$major_save release=$release_save libname=$libname_save name=$name_save case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library with the System framework newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'` ;; esac if test yes = "$droppeddeps"; then if test yes = "$module"; then echo echo "*** Warning: libtool could not satisfy all declared inter-library" $ECHO "*** dependencies of module $libname. Therefore, libtool will create" echo "*** a static module, that should work as long as the dlopening" echo "*** application is linked with the -dlopen flag." if test -z "$global_symbol_pipe"; then echo echo "*** However, this would only work if libtool was able to extract symbol" echo "*** lists from a program, using 'nm' or equivalent, but libtool could" echo "*** not find such a program. So, this module is probably useless." echo "*** 'nm' from GNU binutils and a full rebuild may help." fi if test no = "$build_old_libs"; then oldlibs=$output_objdir/$libname.$libext build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi else echo "*** The inter-library dependencies that have been dropped here will be" echo "*** automatically added whenever a program is linked with this library" echo "*** or is declared to -dlopen it." if test no = "$allow_undefined"; then echo echo "*** Since this library must not contain undefined symbols," echo "*** because either the platform does not support them or" echo "*** it was explicitly requested with -no-undefined," echo "*** libtool will only create a static version of it." if test no = "$build_old_libs"; then oldlibs=$output_objdir/$libname.$libext build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi fi fi # Done checking deplibs! deplibs=$newdeplibs fi # Time to change all our "foo.ltframework" stuff back to "-framework foo" case $host in *-*-darwin*) newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` ;; esac # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list new_libs= for path in $notinst_path; do case " $new_libs " in *" -L$path/$objdir "*) ;; *) case " $deplibs " in *" -L$path/$objdir "*) func_append new_libs " -L$path/$objdir" ;; esac ;; esac done for deplib in $deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) func_append new_libs " $deplib" ;; esac ;; *) func_append new_libs " $deplib" ;; esac done deplibs=$new_libs # All the library-specific variables (install_libdir is set above). library_names= old_library= dlname= # Test again, we may have decided not to build it any more if test yes = "$build_libtool_libs"; then # Remove $wl instances when linking with ld. # FIXME: should test the right _cmds variable. case $archive_cmds in *\$LD\ *) wl= ;; esac if test yes = "$hardcode_into_libs"; then # Hardcode the library paths hardcode_libdirs= dep_rpath= rpath=$finalize_rpath test relink = "$opt_mode" || rpath=$compile_rpath$rpath for libdir in $rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then func_replace_sysroot "$libdir" libdir=$func_replace_sysroot_result if test -z "$hardcode_libdirs"; then hardcode_libdirs=$libdir else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" func_append dep_rpath " $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) func_append perm_rpath " $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir=$hardcode_libdirs eval "dep_rpath=\"$hardcode_libdir_flag_spec\"" fi if test -n "$runpath_var" && test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do func_append rpath "$dir:" done eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" fi test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" fi shlibpath=$finalize_shlibpath test relink = "$opt_mode" || shlibpath=$compile_shlibpath$shlibpath if test -n "$shlibpath"; then eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" fi # Get the real and link names of the library. eval shared_ext=\"$shrext_cmds\" eval library_names=\"$library_names_spec\" set dummy $library_names shift realname=$1 shift if test -n "$soname_spec"; then eval soname=\"$soname_spec\" else soname=$realname fi if test -z "$dlname"; then dlname=$soname fi lib=$output_objdir/$realname linknames= for link do func_append linknames " $link" done # Use standard objects if they are pic test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP` test "X$libobjs" = "X " && libobjs= delfiles= if test -n "$export_symbols" && test -n "$include_expsyms"; then $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp" export_symbols=$output_objdir/$libname.uexp func_append delfiles " $export_symbols" fi orig_export_symbols= case $host_os in cygwin* | mingw* | cegcc*) if test -n "$export_symbols" && test -z "$export_symbols_regex"; then # exporting using user supplied symfile func_dll_def_p "$export_symbols" || { # and it's NOT already a .def file. Must figure out # which of the given symbols are data symbols and tag # them as such. So, trigger use of export_symbols_cmds. # export_symbols gets reassigned inside the "prepare # the list of exported symbols" if statement, so the # include_expsyms logic still works. orig_export_symbols=$export_symbols export_symbols= always_export_symbols=yes } fi ;; esac # Prepare the list of exported symbols if test -z "$export_symbols"; then if test yes = "$always_export_symbols" || test -n "$export_symbols_regex"; then func_verbose "generating symbol list for '$libname.la'" export_symbols=$output_objdir/$libname.exp $opt_dry_run || $RM $export_symbols cmds=$export_symbols_cmds save_ifs=$IFS; IFS='~' for cmd1 in $cmds; do IFS=$save_ifs # Take the normal branch if the nm_file_list_spec branch # doesn't work or if tool conversion is not needed. case $nm_file_list_spec~$to_tool_file_cmd in *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*) try_normal_branch=yes eval cmd=\"$cmd1\" func_len " $cmd" len=$func_len_result ;; *) try_normal_branch=no ;; esac if test yes = "$try_normal_branch" \ && { test "$len" -lt "$max_cmd_len" \ || test "$max_cmd_len" -le -1; } then func_show_eval "$cmd" 'exit $?' skipped_export=false elif test -n "$nm_file_list_spec"; then func_basename "$output" output_la=$func_basename_result save_libobjs=$libobjs save_output=$output output=$output_objdir/$output_la.nm func_to_tool_file "$output" libobjs=$nm_file_list_spec$func_to_tool_file_result func_append delfiles " $output" func_verbose "creating $NM input file list: $output" for obj in $save_libobjs; do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" done > "$output" eval cmd=\"$cmd1\" func_show_eval "$cmd" 'exit $?' output=$save_output libobjs=$save_libobjs skipped_export=false else # The command line is too long to execute in one step. func_verbose "using reloadable object file for export list..." skipped_export=: # Break out early, otherwise skipped_export may be # set to false by a later but shorter cmd. break fi done IFS=$save_ifs if test -n "$export_symbols_regex" && test : != "$skipped_export"; then func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' func_show_eval '$MV "${export_symbols}T" "$export_symbols"' fi fi fi if test -n "$export_symbols" && test -n "$include_expsyms"; then tmp_export_symbols=$export_symbols test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' fi if test : != "$skipped_export" && test -n "$orig_export_symbols"; then # The given exports_symbols file has to be filtered, so filter it. func_verbose "filter symbol list for '$libname.la' to tag DATA exports" # FIXME: $output_objdir/$libname.filter potentially contains lots of # 's' commands, which not all seds can handle. GNU sed should be fine # though. Also, the filter scales superlinearly with the number of # global variables. join(1) would be nice here, but unfortunately # isn't a blessed tool. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter func_append delfiles " $export_symbols $output_objdir/$libname.filter" export_symbols=$output_objdir/$libname.def $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols fi tmp_deplibs= for test_deplib in $deplibs; do case " $convenience " in *" $test_deplib "*) ;; *) func_append tmp_deplibs " $test_deplib" ;; esac done deplibs=$tmp_deplibs if test -n "$convenience"; then if test -n "$whole_archive_flag_spec" && test yes = "$compiler_needs_object" && test -z "$libobjs"; then # extract the archives, so we have objects to list. # TODO: could optimize this to just extract one archive. whole_archive_flag_spec= fi if test -n "$whole_archive_flag_spec"; then save_libobjs=$libobjs eval libobjs=\"\$libobjs $whole_archive_flag_spec\" test "X$libobjs" = "X " && libobjs= else gentop=$output_objdir/${outputname}x func_append generated " $gentop" func_extract_archives $gentop $convenience func_append libobjs " $func_extract_archives_result" test "X$libobjs" = "X " && libobjs= fi fi if test yes = "$thread_safe" && test -n "$thread_safe_flag_spec"; then eval flag=\"$thread_safe_flag_spec\" func_append linker_flags " $flag" fi # Make a backup of the uninstalled library when relinking if test relink = "$opt_mode"; then $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $? fi # Do each of the archive commands. if test yes = "$module" && test -n "$module_cmds"; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then eval test_cmds=\"$module_expsym_cmds\" cmds=$module_expsym_cmds else eval test_cmds=\"$module_cmds\" cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then eval test_cmds=\"$archive_expsym_cmds\" cmds=$archive_expsym_cmds else eval test_cmds=\"$archive_cmds\" cmds=$archive_cmds fi fi if test : != "$skipped_export" && func_len " $test_cmds" && len=$func_len_result && test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then : else # The command line is too long to link in one step, link piecewise # or, if using GNU ld and skipped_export is not :, use a linker # script. # Save the value of $output and $libobjs because we want to # use them later. If we have whole_archive_flag_spec, we # want to use save_libobjs as it was before # whole_archive_flag_spec was expanded, because we can't # assume the linker understands whole_archive_flag_spec. # This may have to be revisited, in case too many # convenience libraries get linked in and end up exceeding # the spec. if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then save_libobjs=$libobjs fi save_output=$output func_basename "$output" output_la=$func_basename_result # Clear the reloadable object creation command queue and # initialize k to one. test_cmds= concat_cmds= objlist= last_robj= k=1 if test -n "$save_libobjs" && test : != "$skipped_export" && test yes = "$with_gnu_ld"; then output=$output_objdir/$output_la.lnkscript func_verbose "creating GNU ld script: $output" echo 'INPUT (' > $output for obj in $save_libobjs do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" >> $output done echo ')' >> $output func_append delfiles " $output" func_to_tool_file "$output" output=$func_to_tool_file_result elif test -n "$save_libobjs" && test : != "$skipped_export" && test -n "$file_list_spec"; then output=$output_objdir/$output_la.lnk func_verbose "creating linker input file list: $output" : > $output set x $save_libobjs shift firstobj= if test yes = "$compiler_needs_object"; then firstobj="$1 " shift fi for obj do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" >> $output done func_append delfiles " $output" func_to_tool_file "$output" output=$firstobj\"$file_list_spec$func_to_tool_file_result\" else if test -n "$save_libobjs"; then func_verbose "creating reloadable object files..." output=$output_objdir/$output_la-$k.$objext eval test_cmds=\"$reload_cmds\" func_len " $test_cmds" len0=$func_len_result len=$len0 # Loop over the list of objects to be linked. for obj in $save_libobjs do func_len " $obj" func_arith $len + $func_len_result len=$func_arith_result if test -z "$objlist" || test "$len" -lt "$max_cmd_len"; then func_append objlist " $obj" else # The command $test_cmds is almost too long, add a # command to the queue. if test 1 -eq "$k"; then # The first file doesn't have a previous command to add. reload_objs=$objlist eval concat_cmds=\"$reload_cmds\" else # All subsequent reloadable object files will link in # the last one created. reload_objs="$objlist $last_robj" eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\" fi last_robj=$output_objdir/$output_la-$k.$objext func_arith $k + 1 k=$func_arith_result output=$output_objdir/$output_la-$k.$objext objlist=" $obj" func_len " $last_robj" func_arith $len0 + $func_len_result len=$func_arith_result fi done # Handle the remaining objects by creating one last # reloadable object file. All subsequent reloadable object # files will link in the last one created. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ reload_objs="$objlist $last_robj" eval concat_cmds=\"\$concat_cmds$reload_cmds\" if test -n "$last_robj"; then eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" fi func_append delfiles " $output" else output= fi ${skipped_export-false} && { func_verbose "generating symbol list for '$libname.la'" export_symbols=$output_objdir/$libname.exp $opt_dry_run || $RM $export_symbols libobjs=$output # Append the command to create the export file. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\" if test -n "$last_robj"; then eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" fi } test -n "$save_libobjs" && func_verbose "creating a temporary reloadable object file: $output" # Loop through the commands generated above and execute them. save_ifs=$IFS; IFS='~' for cmd in $concat_cmds; do IFS=$save_ifs $opt_quiet || { func_quote_for_expand "$cmd" eval "func_echo $func_quote_for_expand_result" } $opt_dry_run || eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test relink = "$opt_mode"; then ( cd "$output_objdir" && \ $RM "${realname}T" && \ $MV "${realname}U" "$realname" ) fi exit $lt_exit } done IFS=$save_ifs if test -n "$export_symbols_regex" && ${skipped_export-false}; then func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' func_show_eval '$MV "${export_symbols}T" "$export_symbols"' fi fi ${skipped_export-false} && { if test -n "$export_symbols" && test -n "$include_expsyms"; then tmp_export_symbols=$export_symbols test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' fi if test -n "$orig_export_symbols"; then # The given exports_symbols file has to be filtered, so filter it. func_verbose "filter symbol list for '$libname.la' to tag DATA exports" # FIXME: $output_objdir/$libname.filter potentially contains lots of # 's' commands, which not all seds can handle. GNU sed should be fine # though. Also, the filter scales superlinearly with the number of # global variables. join(1) would be nice here, but unfortunately # isn't a blessed tool. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter func_append delfiles " $export_symbols $output_objdir/$libname.filter" export_symbols=$output_objdir/$libname.def $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols fi } libobjs=$output # Restore the value of output. output=$save_output if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then eval libobjs=\"\$libobjs $whole_archive_flag_spec\" test "X$libobjs" = "X " && libobjs= fi # Expand the library linking commands again to reset the # value of $libobjs for piecewise linking. # Do each of the archive commands. if test yes = "$module" && test -n "$module_cmds"; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then cmds=$module_expsym_cmds else cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then cmds=$archive_expsym_cmds else cmds=$archive_cmds fi fi fi if test -n "$delfiles"; then # Append the command to remove temporary files to $cmds. eval cmds=\"\$cmds~\$RM $delfiles\" fi # Add any objects from preloaded convenience libraries if test -n "$dlprefiles"; then gentop=$output_objdir/${outputname}x func_append generated " $gentop" func_extract_archives $gentop $dlprefiles func_append libobjs " $func_extract_archives_result" test "X$libobjs" = "X " && libobjs= fi save_ifs=$IFS; IFS='~' for cmd in $cmds; do IFS=$sp$nl eval cmd=\"$cmd\" IFS=$save_ifs $opt_quiet || { func_quote_for_expand "$cmd" eval "func_echo $func_quote_for_expand_result" } $opt_dry_run || eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test relink = "$opt_mode"; then ( cd "$output_objdir" && \ $RM "${realname}T" && \ $MV "${realname}U" "$realname" ) fi exit $lt_exit } done IFS=$save_ifs # Restore the uninstalled library and exit if test relink = "$opt_mode"; then $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $? if test -n "$convenience"; then if test -z "$whole_archive_flag_spec"; then func_show_eval '${RM}r "$gentop"' fi fi exit $EXIT_SUCCESS fi # Create links to the real library. for linkname in $linknames; do if test "$realname" != "$linkname"; then func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?' fi done # If -module or -export-dynamic was specified, set the dlname. if test yes = "$module" || test yes = "$export_dynamic"; then # On all known operating systems, these are identical. dlname=$soname fi fi ;; obj) if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then func_warning "'-dlopen' is ignored for objects" fi case " $deplibs" in *\ -l* | *\ -L*) func_warning "'-l' and '-L' are ignored for objects" ;; esac test -n "$rpath" && \ func_warning "'-rpath' is ignored for objects" test -n "$xrpath" && \ func_warning "'-R' is ignored for objects" test -n "$vinfo" && \ func_warning "'-version-info' is ignored for objects" test -n "$release" && \ func_warning "'-release' is ignored for objects" case $output in *.lo) test -n "$objs$old_deplibs" && \ func_fatal_error "cannot build library object '$output' from non-libtool objects" libobj=$output func_lo2o "$libobj" obj=$func_lo2o_result ;; *) libobj= obj=$output ;; esac # Delete the old objects. $opt_dry_run || $RM $obj $libobj # Objects from convenience libraries. This assumes # single-version convenience libraries. Whenever we create # different ones for PIC/non-PIC, this we'll have to duplicate # the extraction. reload_conv_objs= gentop= # if reload_cmds runs $LD directly, get rid of -Wl from # whole_archive_flag_spec and hope we can get by with turning comma # into space. case $reload_cmds in *\$LD[\ \$]*) wl= ;; esac if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" test -n "$wl" || tmp_whole_archive_flags=`$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'` reload_conv_objs=$reload_objs\ $tmp_whole_archive_flags else gentop=$output_objdir/${obj}x func_append generated " $gentop" func_extract_archives $gentop $convenience reload_conv_objs="$reload_objs $func_extract_archives_result" fi fi # If we're not building shared, we need to use non_pic_objs test yes = "$build_libtool_libs" || libobjs=$non_pic_objects # Create the old-style object. reload_objs=$objs$old_deplibs' '`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; /\.lib$/d; $lo2o" | $NL2SP`' '$reload_conv_objs output=$obj func_execute_cmds "$reload_cmds" 'exit $?' # Exit if we aren't doing a library object file. if test -z "$libobj"; then if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi exit $EXIT_SUCCESS fi test yes = "$build_libtool_libs" || { if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi # Create an invalid libtool object if no PIC, so that we don't # accidentally link it into a program. # $show "echo timestamp > $libobj" # $opt_dry_run || eval "echo timestamp > $libobj" || exit $? exit $EXIT_SUCCESS } if test -n "$pic_flag" || test default != "$pic_mode"; then # Only do commands if we really have different PIC objects. reload_objs="$libobjs $reload_conv_objs" output=$libobj func_execute_cmds "$reload_cmds" 'exit $?' fi if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi exit $EXIT_SUCCESS ;; prog) case $host in *cygwin*) func_stripname '' '.exe' "$output" output=$func_stripname_result.exe;; esac test -n "$vinfo" && \ func_warning "'-version-info' is ignored for programs" test -n "$release" && \ func_warning "'-release' is ignored for programs" $preload \ && test unknown,unknown,unknown = "$dlopen_support,$dlopen_self,$dlopen_self_static" \ && func_warning "'LT_INIT([dlopen])' not used. Assuming no dlopen support." case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'` finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'` ;; esac case $host in *-*-darwin*) # Don't allow lazy linking, it breaks C++ global constructors # But is supposedly fixed on 10.4 or later (yay!). if test CXX = "$tagname"; then case ${MACOSX_DEPLOYMENT_TARGET-10.0} in 10.[0123]) func_append compile_command " $wl-bind_at_load" func_append finalize_command " $wl-bind_at_load" ;; esac fi # Time to change all our "foo.ltframework" stuff back to "-framework foo" compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` ;; esac # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list new_libs= for path in $notinst_path; do case " $new_libs " in *" -L$path/$objdir "*) ;; *) case " $compile_deplibs " in *" -L$path/$objdir "*) func_append new_libs " -L$path/$objdir" ;; esac ;; esac done for deplib in $compile_deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) func_append new_libs " $deplib" ;; esac ;; *) func_append new_libs " $deplib" ;; esac done compile_deplibs=$new_libs func_append compile_command " $compile_deplibs" func_append finalize_command " $finalize_deplibs" if test -n "$rpath$xrpath"; then # If the user specified any rpath flags, then add them. for libdir in $rpath $xrpath; do # This is the magic to use -rpath. case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac done fi # Now hardcode the library paths rpath= hardcode_libdirs= for libdir in $compile_rpath $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs=$libdir else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" func_append rpath " $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) func_append perm_rpath " $libdir" ;; esac fi case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) testbindir=`$ECHO "$libdir" | $SED -e 's*/lib$*/bin*'` case :$dllsearchpath: in *":$libdir:"*) ;; ::) dllsearchpath=$libdir;; *) func_append dllsearchpath ":$libdir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; ::) dllsearchpath=$testbindir;; *) func_append dllsearchpath ":$testbindir";; esac ;; esac done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir=$hardcode_libdirs eval rpath=\" $hardcode_libdir_flag_spec\" fi compile_rpath=$rpath rpath= hardcode_libdirs= for libdir in $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs=$libdir else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" func_append rpath " $flag" fi elif test -n "$runpath_var"; then case "$finalize_perm_rpath " in *" $libdir "*) ;; *) func_append finalize_perm_rpath " $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir=$hardcode_libdirs eval rpath=\" $hardcode_libdir_flag_spec\" fi finalize_rpath=$rpath if test -n "$libobjs" && test yes = "$build_old_libs"; then # Transform all the library objects into standard objects. compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP` finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP` fi func_generate_dlsyms "$outputname" "@PROGRAM@" false # template prelinking step if test -n "$prelink_cmds"; then func_execute_cmds "$prelink_cmds" 'exit $?' fi wrappers_required=: case $host in *cegcc* | *mingw32ce*) # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway. wrappers_required=false ;; *cygwin* | *mingw* ) test yes = "$build_libtool_libs" || wrappers_required=false ;; *) if test no = "$need_relink" || test yes != "$build_libtool_libs"; then wrappers_required=false fi ;; esac $wrappers_required || { # Replace the output file specification. compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'` link_command=$compile_command$compile_rpath # We have no uninstalled library dependencies, so finalize right now. exit_status=0 func_show_eval "$link_command" 'exit_status=$?' if test -n "$postlink_cmds"; then func_to_tool_file "$output" postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` func_execute_cmds "$postlink_cmds" 'exit $?' fi # Delete the generated files. if test -f "$output_objdir/${outputname}S.$objext"; then func_show_eval '$RM "$output_objdir/${outputname}S.$objext"' fi exit $exit_status } if test -n "$compile_shlibpath$finalize_shlibpath"; then compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" fi if test -n "$finalize_shlibpath"; then finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" fi compile_var= finalize_var= if test -n "$runpath_var"; then if test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do func_append rpath "$dir:" done compile_var="$runpath_var=\"$rpath\$$runpath_var\" " fi if test -n "$finalize_perm_rpath"; then # We should set the runpath_var. rpath= for dir in $finalize_perm_rpath; do func_append rpath "$dir:" done finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " fi fi if test yes = "$no_install"; then # We don't need to create a wrapper script. link_command=$compile_var$compile_command$compile_rpath # Replace the output file specification. link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'` # Delete the old output file. $opt_dry_run || $RM $output # Link the executable and exit func_show_eval "$link_command" 'exit $?' if test -n "$postlink_cmds"; then func_to_tool_file "$output" postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` func_execute_cmds "$postlink_cmds" 'exit $?' fi exit $EXIT_SUCCESS fi case $hardcode_action,$fast_install in relink,*) # Fast installation is not supported link_command=$compile_var$compile_command$compile_rpath relink_command=$finalize_var$finalize_command$finalize_rpath func_warning "this platform does not like uninstalled shared libraries" func_warning "'$output' will be relinked during installation" ;; *,yes) link_command=$finalize_var$compile_command$finalize_rpath relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'` ;; *,no) link_command=$compile_var$compile_command$compile_rpath relink_command=$finalize_var$finalize_command$finalize_rpath ;; *,needless) link_command=$finalize_var$compile_command$finalize_rpath relink_command= ;; esac # Replace the output file specification. link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` # Delete the old output files. $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname func_show_eval "$link_command" 'exit $?' if test -n "$postlink_cmds"; then func_to_tool_file "$output_objdir/$outputname" postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` func_execute_cmds "$postlink_cmds" 'exit $?' fi # Now create the wrapper script. func_verbose "creating $output" # Quote the relink command for shipping. if test -n "$relink_command"; then # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else func_quote_for_eval "$var_value" relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" fi done relink_command="(cd `pwd`; $relink_command)" relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` fi # Only actually do things if not in dry run mode. $opt_dry_run || { # win32 will think the script is a binary if it has # a .exe suffix, so we strip it off here. case $output in *.exe) func_stripname '' '.exe' "$output" output=$func_stripname_result ;; esac # test for cygwin because mv fails w/o .exe extensions case $host in *cygwin*) exeext=.exe func_stripname '' '.exe' "$outputname" outputname=$func_stripname_result ;; *) exeext= ;; esac case $host in *cygwin* | *mingw* ) func_dirname_and_basename "$output" "" "." output_name=$func_basename_result output_path=$func_dirname_result cwrappersource=$output_path/$objdir/lt-$output_name.c cwrapper=$output_path/$output_name.exe $RM $cwrappersource $cwrapper trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 func_emit_cwrapperexe_src > $cwrappersource # The wrapper executable is built using the $host compiler, # because it contains $host paths and files. If cross- # compiling, it, like the target executable, must be # executed on the $host or under an emulation environment. $opt_dry_run || { $LTCC $LTCFLAGS -o $cwrapper $cwrappersource $STRIP $cwrapper } # Now, create the wrapper script for func_source use: func_ltwrapper_scriptname $cwrapper $RM $func_ltwrapper_scriptname_result trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15 $opt_dry_run || { # note: this script will not be executed, so do not chmod. if test "x$build" = "x$host"; then $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result else func_emit_wrapper no > $func_ltwrapper_scriptname_result fi } ;; * ) $RM $output trap "$RM $output; exit $EXIT_FAILURE" 1 2 15 func_emit_wrapper no > $output chmod +x $output ;; esac } exit $EXIT_SUCCESS ;; esac # See if we need to build an old-fashioned archive. for oldlib in $oldlibs; do case $build_libtool_libs in convenience) oldobjs="$libobjs_save $symfileobj" addlibs=$convenience build_libtool_libs=no ;; module) oldobjs=$libobjs_save addlibs=$old_convenience build_libtool_libs=no ;; *) oldobjs="$old_deplibs $non_pic_objects" $preload && test -f "$symfileobj" \ && func_append oldobjs " $symfileobj" addlibs=$old_convenience ;; esac if test -n "$addlibs"; then gentop=$output_objdir/${outputname}x func_append generated " $gentop" func_extract_archives $gentop $addlibs func_append oldobjs " $func_extract_archives_result" fi # Do each command in the archive commands. if test -n "$old_archive_from_new_cmds" && test yes = "$build_libtool_libs"; then cmds=$old_archive_from_new_cmds else # Add any objects from preloaded convenience libraries if test -n "$dlprefiles"; then gentop=$output_objdir/${outputname}x func_append generated " $gentop" func_extract_archives $gentop $dlprefiles func_append oldobjs " $func_extract_archives_result" fi # POSIX demands no paths to be encoded in archives. We have # to avoid creating archives with duplicate basenames if we # might have to extract them afterwards, e.g., when creating a # static archive out of a convenience library, or when linking # the entirety of a libtool archive into another (currently # not supported by libtool). if (for obj in $oldobjs do func_basename "$obj" $ECHO "$func_basename_result" done | sort | sort -uc >/dev/null 2>&1); then : else echo "copying selected object files to avoid basename conflicts..." gentop=$output_objdir/${outputname}x func_append generated " $gentop" func_mkdir_p "$gentop" save_oldobjs=$oldobjs oldobjs= counter=1 for obj in $save_oldobjs do func_basename "$obj" objbase=$func_basename_result case " $oldobjs " in " ") oldobjs=$obj ;; *[\ /]"$objbase "*) while :; do # Make sure we don't pick an alternate name that also # overlaps. newobj=lt$counter-$objbase func_arith $counter + 1 counter=$func_arith_result case " $oldobjs " in *[\ /]"$newobj "*) ;; *) if test ! -f "$gentop/$newobj"; then break; fi ;; esac done func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" func_append oldobjs " $gentop/$newobj" ;; *) func_append oldobjs " $obj" ;; esac done fi func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 tool_oldlib=$func_to_tool_file_result eval cmds=\"$old_archive_cmds\" func_len " $cmds" len=$func_len_result if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then cmds=$old_archive_cmds elif test -n "$archiver_list_spec"; then func_verbose "using command file archive linking..." for obj in $oldobjs do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" done > $output_objdir/$libname.libcmd func_to_tool_file "$output_objdir/$libname.libcmd" oldobjs=" $archiver_list_spec$func_to_tool_file_result" cmds=$old_archive_cmds else # the command line is too long to link in one step, link in parts func_verbose "using piecewise archive linking..." save_RANLIB=$RANLIB RANLIB=: objlist= concat_cmds= save_oldobjs=$oldobjs oldobjs= # Is there a better way of finding the last object in the list? for obj in $save_oldobjs do last_oldobj=$obj done eval test_cmds=\"$old_archive_cmds\" func_len " $test_cmds" len0=$func_len_result len=$len0 for obj in $save_oldobjs do func_len " $obj" func_arith $len + $func_len_result len=$func_arith_result func_append objlist " $obj" if test "$len" -lt "$max_cmd_len"; then : else # the above command should be used before it gets too long oldobjs=$objlist if test "$obj" = "$last_oldobj"; then RANLIB=$save_RANLIB fi test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\$concat_cmds$old_archive_cmds\" objlist= len=$len0 fi done RANLIB=$save_RANLIB oldobjs=$objlist if test -z "$oldobjs"; then eval cmds=\"\$concat_cmds\" else eval cmds=\"\$concat_cmds~\$old_archive_cmds\" fi fi fi func_execute_cmds "$cmds" 'exit $?' done test -n "$generated" && \ func_show_eval "${RM}r$generated" # Now create the libtool archive. case $output in *.la) old_library= test yes = "$build_old_libs" && old_library=$libname.$libext func_verbose "creating $output" # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else func_quote_for_eval "$var_value" relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" fi done # Quote the link command for shipping. relink_command="(cd `pwd`; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` if test yes = "$hardcode_automatic"; then relink_command= fi # Only create the output if not a dry run. $opt_dry_run || { for installed in no yes; do if test yes = "$installed"; then if test -z "$install_libdir"; then break fi output=$output_objdir/${outputname}i # Replace all uninstalled libtool libraries with the installed ones newdependency_libs= for deplib in $dependency_libs; do case $deplib in *.la) func_basename "$deplib" name=$func_basename_result func_resolve_sysroot "$deplib" eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result` test -z "$libdir" && \ func_fatal_error "'$deplib' is not a valid libtool archive" func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name" ;; -L*) func_stripname -L '' "$deplib" func_replace_sysroot "$func_stripname_result" func_append newdependency_libs " -L$func_replace_sysroot_result" ;; -R*) func_stripname -R '' "$deplib" func_replace_sysroot "$func_stripname_result" func_append newdependency_libs " -R$func_replace_sysroot_result" ;; *) func_append newdependency_libs " $deplib" ;; esac done dependency_libs=$newdependency_libs newdlfiles= for lib in $dlfiles; do case $lib in *.la) func_basename "$lib" name=$func_basename_result eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib` test -z "$libdir" && \ func_fatal_error "'$lib' is not a valid libtool archive" func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name" ;; *) func_append newdlfiles " $lib" ;; esac done dlfiles=$newdlfiles newdlprefiles= for lib in $dlprefiles; do case $lib in *.la) # Only pass preopened files to the pseudo-archive (for # eventual linking with the app. that links it) if we # didn't already link the preopened objects directly into # the library: func_basename "$lib" name=$func_basename_result eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib` test -z "$libdir" && \ func_fatal_error "'$lib' is not a valid libtool archive" func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name" ;; esac done dlprefiles=$newdlprefiles else newdlfiles= for lib in $dlfiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;; *) abs=`pwd`"/$lib" ;; esac func_append newdlfiles " $abs" done dlfiles=$newdlfiles newdlprefiles= for lib in $dlprefiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;; *) abs=`pwd`"/$lib" ;; esac func_append newdlprefiles " $abs" done dlprefiles=$newdlprefiles fi $RM $output # place dlname in correct position for cygwin # In fact, it would be nice if we could use this code for all target # systems that can't hard-code library paths into their executables # and that have no shared library path variable independent of PATH, # but it turns out we can't easily determine that from inspecting # libtool variables, so we have to hard-code the OSs to which it # applies here; at the moment, that means platforms that use the PE # object format with DLL files. See the long comment at the top of # tests/bindir.at for full details. tdlname=$dlname case $host,$output,$installed,$module,$dlname in *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) # If a -bindir argument was supplied, place the dll there. if test -n "$bindir"; then func_relative_path "$install_libdir" "$bindir" tdlname=$func_relative_path_result/$dlname else # Otherwise fall back on heuristic. tdlname=../bin/$dlname fi ;; esac $ECHO > $output "\ # $outputname - a libtool library file # Generated by $PROGRAM (GNU $PACKAGE) $VERSION # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='$tdlname' # Names of this library. library_names='$library_names' # The name of the static archive. old_library='$old_library' # Linker flags that cannot go in dependency_libs. inherited_linker_flags='$new_inherited_linker_flags' # Libraries that this one depends upon. dependency_libs='$dependency_libs' # Names of additional weak libraries provided by this library weak_library_names='$weak_libs' # Version information for $libname. current=$current age=$age revision=$revision # Is this an already installed library? installed=$installed # Should we warn about portability when linking against -modules? shouldnotlink=$module # Files to dlopen/dlpreopen dlopen='$dlfiles' dlpreopen='$dlprefiles' # Directory that this library needs to be installed in: libdir='$install_libdir'" if test no,yes = "$installed,$need_relink"; then $ECHO >> $output "\ relink_command=\"$relink_command\"" fi done } # Do a symbolic link so that the libtool archive can be found in # LD_LIBRARY_PATH before the program is installed. func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?' ;; esac exit $EXIT_SUCCESS } if test link = "$opt_mode" || test relink = "$opt_mode"; then func_mode_link ${1+"$@"} fi # func_mode_uninstall arg... func_mode_uninstall () { $debug_cmd RM=$nonopt files= rmforce=false exit_status=0 # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic=$magic for arg do case $arg in -f) func_append RM " $arg"; rmforce=: ;; -*) func_append RM " $arg" ;; *) func_append files " $arg" ;; esac done test -z "$RM" && \ func_fatal_help "you must specify an RM program" rmdirs= for file in $files; do func_dirname "$file" "" "." dir=$func_dirname_result if test . = "$dir"; then odir=$objdir else odir=$dir/$objdir fi func_basename "$file" name=$func_basename_result test uninstall = "$opt_mode" && odir=$dir # Remember odir for removal later, being careful to avoid duplicates if test clean = "$opt_mode"; then case " $rmdirs " in *" $odir "*) ;; *) func_append rmdirs " $odir" ;; esac fi # Don't error if the file doesn't exist and rm -f was used. if { test -L "$file"; } >/dev/null 2>&1 || { test -h "$file"; } >/dev/null 2>&1 || test -f "$file"; then : elif test -d "$file"; then exit_status=1 continue elif $rmforce; then continue fi rmfiles=$file case $name in *.la) # Possibly a libtool archive, so verify it. if func_lalib_p "$file"; then func_source $dir/$name # Delete the libtool libraries and symlinks. for n in $library_names; do func_append rmfiles " $odir/$n" done test -n "$old_library" && func_append rmfiles " $odir/$old_library" case $opt_mode in clean) case " $library_names " in *" $dlname "*) ;; *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;; esac test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i" ;; uninstall) if test -n "$library_names"; then # Do each command in the postuninstall commands. func_execute_cmds "$postuninstall_cmds" '$rmforce || exit_status=1' fi if test -n "$old_library"; then # Do each command in the old_postuninstall commands. func_execute_cmds "$old_postuninstall_cmds" '$rmforce || exit_status=1' fi # FIXME: should reinstall the best remaining shared library. ;; esac fi ;; *.lo) # Possibly a libtool object, so verify it. if func_lalib_p "$file"; then # Read the .lo file func_source $dir/$name # Add PIC object to the list of files to remove. if test -n "$pic_object" && test none != "$pic_object"; then func_append rmfiles " $dir/$pic_object" fi # Add non-PIC object to the list of files to remove. if test -n "$non_pic_object" && test none != "$non_pic_object"; then func_append rmfiles " $dir/$non_pic_object" fi fi ;; *) if test clean = "$opt_mode"; then noexename=$name case $file in *.exe) func_stripname '' '.exe' "$file" file=$func_stripname_result func_stripname '' '.exe' "$name" noexename=$func_stripname_result # $file with .exe has already been added to rmfiles, # add $file without .exe func_append rmfiles " $file" ;; esac # Do a test to see if this is a libtool program. if func_ltwrapper_p "$file"; then if func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" relink_command= func_source $func_ltwrapper_scriptname_result func_append rmfiles " $func_ltwrapper_scriptname_result" else relink_command= func_source $dir/$noexename fi # note $name still contains .exe if it was in $file originally # as does the version of $file that was added into $rmfiles func_append rmfiles " $odir/$name $odir/${name}S.$objext" if test yes = "$fast_install" && test -n "$relink_command"; then func_append rmfiles " $odir/lt-$name" fi if test "X$noexename" != "X$name"; then func_append rmfiles " $odir/lt-$noexename.c" fi fi fi ;; esac func_show_eval "$RM $rmfiles" 'exit_status=1' done # Try to remove the $objdir's in the directories where we deleted files for dir in $rmdirs; do if test -d "$dir"; then func_show_eval "rmdir $dir >/dev/null 2>&1" fi done exit $exit_status } if test uninstall = "$opt_mode" || test clean = "$opt_mode"; then func_mode_uninstall ${1+"$@"} fi test -z "$opt_mode" && { help=$generic_help func_fatal_help "you must specify a MODE" } test -z "$exec_cmd" && \ func_fatal_help "invalid operation mode '$opt_mode'" if test -n "$exec_cmd"; then eval exec "$exec_cmd" exit $EXIT_FAILURE fi exit $exit_status # The TAGs below are defined such that we never get into a situation # where we disable both kinds of libraries. Given conflicting # choices, we go for a static library, that is the most portable, # since we can't tell whether shared libraries were disabled because # the user asked for that or because the platform doesn't support # them. This is particularly important on AIX, because we don't # support having both static and shared libraries enabled at the same # time on that platform, so we default to a shared-only configuration. # If a disable-shared tag is given, we'll fallback to a static-only # configuration. But we'll never go from static-only to shared-only. # ### BEGIN LIBTOOL TAG CONFIG: disable-shared build_libtool_libs=no build_old_libs=yes # ### END LIBTOOL TAG CONFIG: disable-shared # ### BEGIN LIBTOOL TAG CONFIG: disable-static build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` # ### END LIBTOOL TAG CONFIG: disable-static # Local Variables: # mode:shell-script # sh-indentation:2 # End: gtk-sharp-2.12.40/glade/0000775000175000017500000000000012767740535011657 500000000000000gtk-sharp-2.12.40/glade/Global.custom0000664000175000017500000000157512767740470014241 00000000000000// Copyright (c) 2005 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Replaced by Glade.XML.CustomHandler static property.")] public static void SetCustomHandler (Glade.XMLCustomWidgetHandler handler) { XML.CustomHandler = handler; } gtk-sharp-2.12.40/glade/Makefile.in0000664000175000017500000006612712767740506013656 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = glade ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = glade-sharp.dll.config glade-sharp-2.0.pc CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(gapidir)" "$(DESTDIR)$(pkgconfigdir)" DATA = $(gapi_DATA) $(noinst_DATA) $(pkgconfig_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in \ $(srcdir)/glade-sharp-2.0.pc.in \ $(srcdir)/glade-sharp.dll.config.in \ $(top_srcdir)/Makefile.include DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = . glue @ENABLE_GLADE_FALSE@pkg = @ENABLE_GLADE_TRUE@pkg = glade @ENABLE_GLADE_TRUE@pkgconfigdir = $(libdir)/pkgconfig @ENABLE_GLADE_TRUE@pkgconfig_DATA = glade-sharp-2.0.pc INCLUDE_API = $(top_builddir)/pango/pango-api.xml $(top_builddir)/atk/atk-api.xml $(top_builddir)/gdk/gdk-api.xml $(top_builddir)/gtk/gtk-api.xml METADATA = Glade.metadata SYMBOLS = references = $(top_builddir)/glib/glib-sharp.dll $(top_builddir)/pango/pango-sharp.dll $(top_builddir)/atk/atk-sharp.dll $(top_builddir)/gdk/gdk-sharp.dll $(top_builddir)/gtk/gtk-sharp.dll glue_includes = glade/glade.h,glade/glade-parser.h sources = \ HandlerNotFoundExeception.cs \ WidgetAttribute.cs customs = \ Global.custom \ Interface.custom \ XML.custom add_dist = glade-sharp-2.0.pc.in SNK = gtk-sharp.snk API = $(pkg)-api.xml RAW_API = $(pkg)-api.raw ASSEMBLY_NAME = $(pkg)-sharp ASSEMBLY = $(ASSEMBLY_NAME).dll TARGET = $(pkg:=-sharp.dll) $(pkg:=-sharp.dll.config) $(POLICY_ASSEMBLIES) noinst_DATA = $(TARGET) TARGET_API = $(pkg:=-api.xml) gapidir = $(datadir)/gapi-2.0 gapi_DATA = $(TARGET_API) CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(POLICY_ASSEMBLIES) generated-stamp generated/*.cs $(API) glue/generated.c $(SNK) AssemblyInfo.cs $(POLICY_CONFIGS) DISTCLEANFILES = $(ASSEMBLY).config POLICY_ASSEMBLIES = $(addsuffix .$(ASSEMBLY), $(addprefix policy., $(POLICY_VERSIONS))) POLICY_CONFIGS = $(addsuffix .config, $(addprefix policy., $(POLICY_VERSIONS))) EXTRA_DIST = $(RAW_API) $(SYMBOLS) $(ASSEMBLY).config.in $(METADATA) $(customs) $(sources) $(add_dist) build_symbols = $(addprefix --symbols=$(srcdir)/, $(SYMBOLS)) build_customs = $(addprefix $(srcdir)/, $(customs)) api_includes = $(addprefix -I:, $(INCLUDE_API)) build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs build_references = $(addprefix -r:, $(references)) $(MONO_CAIRO_LIBS) all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.include $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign glade/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign glade/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_srcdir)/Makefile.include $(am__empty): $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): glade-sharp.dll.config: $(top_builddir)/config.status $(srcdir)/glade-sharp.dll.config.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ glade-sharp-2.0.pc: $(top_builddir)/config.status $(srcdir)/glade-sharp-2.0.pc.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-gapiDATA: $(gapi_DATA) @$(NORMAL_INSTALL) @list='$(gapi_DATA)'; test -n "$(gapidir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(gapidir)'"; \ $(MKDIR_P) "$(DESTDIR)$(gapidir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(gapidir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(gapidir)" || exit $$?; \ done uninstall-gapiDATA: @$(NORMAL_UNINSTALL) @list='$(gapi_DATA)'; test -n "$(gapidir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(gapidir)'; $(am__uninstall_files_from_dir) install-pkgconfigDATA: $(pkgconfig_DATA) @$(NORMAL_INSTALL) @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ done uninstall-pkgconfigDATA: @$(NORMAL_UNINSTALL) @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir) # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(DATA) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(gapidir)" "$(DESTDIR)$(pkgconfigdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-data-local install-gapiDATA \ install-pkgconfigDATA install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-gapiDATA uninstall-local \ uninstall-pkgconfigDATA .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am \ install-data-local install-dvi install-dvi-am install-exec \ install-exec-am install-gapiDATA install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-pkgconfigDATA install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am tags tags-am uninstall uninstall-am \ uninstall-gapiDATA uninstall-local uninstall-pkgconfigDATA .PRECIOUS: Makefile $(API): $(METADATA) $(RAW_API) $(SYMBOLS) $(top_builddir)/parser/gapi-fixup.exe cp $(srcdir)/$(RAW_API) $(API) chmod u+w $(API) @if test -n '$(METADATA)'; then \ echo "$(RUNTIME) $(top_builddir)/parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA) $(build_symbols)"; \ $(RUNTIME) $(top_builddir)/parser/gapi-fixup.exe --api=$(API) --metadata=$(srcdir)/$(METADATA) $(build_symbols); \ fi generated-stamp: $(API) $(INCLUDE_API) $(top_builddir)/generator/gapi_codegen.exe $(build_customs) rm -f generated/* && \ $(RUNTIME) $(top_builddir)/generator/gapi_codegen.exe --generate $(API) \ $(api_includes) \ --outdir=generated --customdir=$(srcdir) --assembly-name=$(ASSEMBLY_NAME) \ --gluelib-name=$(pkg)sharpglue-2 --glue-filename=glue/generated.c \ --glue-includes=$(glue_includes) \ && touch generated-stamp $(SNK): $(top_srcdir)/$(SNK) cp $(top_srcdir)/$(SNK) . AssemblyInfo.cs: $(top_builddir)/AssemblyInfo.cs cp $(top_builddir)/AssemblyInfo.cs . policy.%.config: $(top_builddir)/policy.config sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$*/" $(top_builddir)/policy.config > $@ $(POLICY_ASSEMBLIES) : policy.%.$(ASSEMBLY): policy.%.config $(SNK) $(AL) -link:policy.$*.config -version:$* -out:$@ -keyfile:$(SNK) $(ASSEMBLY): generated-stamp $(SNK) $(build_sources) $(references) @rm -f $(ASSEMBLY).mdb $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -unsafe -out:$(ASSEMBLY) -target:library $(build_references) $(GENERATED_SOURCES) $(build_sources) install-data-local: @if test -n '$(pkg)'; then \ echo "$(GACUTIL) -i $(ASSEMBLY) -f $(GACUTIL_FLAGS)"; \ $(GACUTIL) -i $(ASSEMBLY) -f $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) -i policy.$$i.$(ASSEMBLY) -f $(GACUTIL_FLAGS)"; \ $(GACUTIL) -i policy.$$i.$(ASSEMBLY) -f $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi uninstall-local: @if test -n '$(pkg)'; then \ echo "$(GACUTIL) -u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) -u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ if test -n '$(POLICY_VERSIONS)'; then \ for i in $(POLICY_VERSIONS); do \ echo "$(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \ $(GACUTIL) -u policy.$$i.$(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; \ done \ fi \ fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/glade/glade-api.raw0000664000175000017500000004042312767740470014136 00000000000000 gtk-sharp-2.12.40/glade/XML.custom0000664000175000017500000003450312767740470013476 00000000000000// WARNING: This file is in UTF8 format due to the use of ã // XML.custom // // Author: Ricardo Fernández Pascual // // Copyright (c) 2002 Ricardo Fernández Pascual // // Field binding code by Rachel Hestilow // Copyright (c) 2003 Rachel Hestilow // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. // keep this around so it doesn't get GC'd static GladeSharp.XMLCustomWidgetHandlerWrapper callback_wrapper = null; [DllImport("libglade-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void glade_set_custom_handler (GladeSharp.XMLCustomWidgetHandlerNative handler, IntPtr user_data); public static Glade.XMLCustomWidgetHandler CustomHandler { set { callback_wrapper = new GladeSharp.XMLCustomWidgetHandlerWrapper (value); glade_set_custom_handler(callback_wrapper.NativeDelegate, IntPtr.Zero); } } [Obsolete ("Replaced by CustomHandler property.")] static public void SetCustomHandler (Glade.XMLCustomWidgetHandler handler) { CustomHandler = handler; } [DllImport("gladesharpglue-2", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr gtksharp_glade_xml_get_filename (IntPtr raw); public string Filename { get { string ret; IntPtr ptr = gtksharp_glade_xml_get_filename (Handle); if (ptr == IntPtr.Zero) { // from resource ret = System.Reflection.Assembly.GetCallingAssembly ().Location; } else { ret = GLib.Marshaller.Utf8PtrToString (ptr); } return ret; } } public Gtk.Widget this [string name] { get { return GetWidget (name); } } [DllImport("libglade-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr glade_get_widget_name (IntPtr widget); static public string GetWidgetName (Gtk.Widget w) { string ret; IntPtr ptr = glade_get_widget_name (w.Handle); if (ptr == IntPtr.Zero) ret = ""; else ret = GLib.Marshaller.Utf8PtrToString (ptr); return ret; } [DllImport("libglade-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr glade_get_widget_tree (IntPtr widget); static public Glade.XML GetWidgetTree (Gtk.Widget w) { IntPtr ret_raw = glade_get_widget_tree (w.Handle); Glade.XML ret = GLib.Object.GetObject (ret_raw, false) as Glade.XML; return ret; } /* a constructor that reads the XML from a Stream */ [DllImport("libglade-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr glade_xml_new_from_buffer(byte[] buffer, int size, IntPtr root, IntPtr domain); public XML (System.IO.Stream s, string root, string domain) : base (IntPtr.Zero) { if (GetType() != typeof (XML)) throw new InvalidOperationException ("Can't chain to this constructor from subclasses."); if (s == null) throw new ArgumentNullException ("s"); int size = (int) s.Length; byte[] buffer = new byte[size]; s.Read (buffer, 0, size); IntPtr nroot = GLib.Marshaller.StringToPtrGStrdup (root); IntPtr ndomain = GLib.Marshaller.StringToPtrGStrdup (domain); Raw = glade_xml_new_from_buffer(buffer, size, nroot, ndomain); GLib.Marshaller.Free (nroot); GLib.Marshaller.Free (ndomain); } public XML (string resource_name, string root) : this (System.Reflection.Assembly.GetEntryAssembly (), resource_name, root, null) { } public XML (System.Reflection.Assembly assembly, string resource_name, string root, string domain) : base (IntPtr.Zero) { if (GetType() != typeof (XML)) throw new InvalidOperationException ("Cannot chain to this constructor from subclasses."); if (assembly == null) assembly = System.Reflection.Assembly.GetCallingAssembly (); System.IO.Stream s = assembly.GetManifestResourceStream (resource_name); if (s == null) throw new ArgumentException ("Cannot get resource file '" + resource_name + "'", "resource_name"); int size = (int) s.Length; byte[] buffer = new byte[size]; s.Read (buffer, 0, size); s.Close (); IntPtr nroot = GLib.Marshaller.StringToPtrGStrdup (root); IntPtr ndomain = GLib.Marshaller.StringToPtrGStrdup (domain); Raw = glade_xml_new_from_buffer(buffer, size, nroot, ndomain); GLib.Marshaller.Free (nroot); GLib.Marshaller.Free (ndomain); } /* signal autoconnection using reflection */ public void Autoconnect (object handler) { BindFields (handler); SignalConnector sc = new SignalConnector (this, handler); sc.Autoconnect (); } public void Autoconnect (Type handler_class) { BindFields (handler_class); SignalConnector sc = new SignalConnector (this, handler_class); sc.Autoconnect (); } class SignalConnector { /* the Glade.XML object whose signals we want to connect */ XML gxml; /* the object to look for handlers */ object handler_object; /* the type to look for handlers if no object has been specified */ Type handler_type; public SignalConnector (XML gxml, object handler) { this.gxml = gxml; this.handler_object = handler; this.handler_type = handler.GetType (); } public SignalConnector (XML gxml, Type type) { this.gxml = gxml; this.handler_object = null; this.handler_type = type; } [UnmanagedFunctionPointer (CallingConvention.Cdecl)] delegate void RawXMLConnectFunc (IntPtr handler_name, IntPtr objekt, IntPtr signal_name, IntPtr signal_data, IntPtr connect_object, int after, IntPtr user_data); [DllImport("libglade-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern void glade_xml_signal_autoconnect_full (IntPtr raw, RawXMLConnectFunc func, IntPtr user_data); public void Autoconnect () { RawXMLConnectFunc cf = new RawXMLConnectFunc (ConnectFunc); glade_xml_signal_autoconnect_full (gxml.Handle, cf, IntPtr.Zero); } void ConnectFunc (IntPtr native_handler_name, IntPtr objekt_ptr, IntPtr native_signal_name, IntPtr native_signal_data, IntPtr connect_object_ptr, int after, IntPtr user_data) { GLib.Object objekt = GLib.Object.GetObject (objekt_ptr, false); string handler_name = GLib.Marshaller.Utf8PtrToString (native_handler_name); string signal_name = GLib.Marshaller.Utf8PtrToString (native_signal_name); //string signal_data = GLib.Marshaller.Utf8PtrToString (native_signal_data); /* if an connect_object_ptr is provided, use that as handler */ object connect_object = connect_object_ptr == IntPtr.Zero ? handler_object : GLib.Object.GetObject (connect_object_ptr, false); /* search for the event to connect */ System.Reflection.MemberInfo[] evnts = objekt.GetType (). FindMembers (System.Reflection.MemberTypes.Event, System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic, signalFilter, signal_name); foreach (System.Reflection.EventInfo ei in evnts) { bool connected = false; System.Reflection.MethodInfo add = ei.GetAddMethod (); System.Reflection.ParameterInfo[] addpi = add.GetParameters (); if (addpi.Length == 1) { /* this should be always true, unless there's something broken */ Type delegate_type = addpi[0].ParameterType; /* look for an instance method */ if (connect_object != null) try { Delegate d = Delegate.CreateDelegate (delegate_type, connect_object, handler_name); add.Invoke (objekt, new object[] { d } ); connected = true; } catch (ArgumentException) { /* ignore if there is not such instance method */ } /* look for a static method if no instance method has been found */ if (!connected && handler_type != null) try { Delegate d = Delegate.CreateDelegate (delegate_type, handler_type, handler_name); add.Invoke (objekt, new object[] { d } ); connected = true; } catch (ArgumentException) { /* ignore if there is not such static method */ } if (!connected) { string msg = ExplainError (ei.Name, delegate_type, handler_type, handler_name); throw new HandlerNotFoundException (msg, handler_name, signal_name, ei, delegate_type); } } } } static string GetSignature (System.Reflection.MethodInfo method) { if (method == null) return null; System.Reflection.ParameterInfo [] parameters = method.GetParameters (); System.Text.StringBuilder sb = new System.Text.StringBuilder (); sb.Append ('('); foreach (System.Reflection.ParameterInfo info in parameters) { sb.Append (info.ParameterType.ToString ()); sb.Append (','); } if (sb.Length != 0) sb.Length--; sb.Append (')'); return sb.ToString (); } static string GetSignature (Type delegate_type) { System.Reflection.MethodInfo method = delegate_type.GetMethod ("Invoke"); return GetSignature (method); } const System.Reflection.BindingFlags flags = System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.Instance; static string GetSignature (Type klass, string method_name) { try { System.Reflection.MethodInfo method = klass.GetMethod (method_name, flags); return GetSignature (method); } catch { // May be more than one method with that name and none matches return null; } } static string ExplainError (string event_name, Type deleg, Type klass, string method) { if (deleg == null || klass == null || method == null) return null; System.Text.StringBuilder sb = new System.Text.StringBuilder (); string expected = GetSignature (deleg); string actual = GetSignature (klass, method); if (actual == null) return null; sb.AppendFormat ("The handler for the event {0} should take '{1}', " + "but the signature of the provided handler ('{2}') is '{3}'\n", event_name, expected, method, actual); return sb.ToString (); } System.Reflection.MemberFilter signalFilter = new System.Reflection.MemberFilter (SignalFilter); /* matches events to GLib signal names */ static bool SignalFilter (System.Reflection.MemberInfo m, object filterCriteria) { string signame = (filterCriteria as string); object[] attrs = m.GetCustomAttributes (typeof (GLib.SignalAttribute), false); if (attrs.Length > 0) { foreach (GLib.SignalAttribute a in attrs) { if (signame == a.CName) { return true; } } return false; } else { /* this tries to match the names when no attibutes are present. It is only a fallback. */ signame = signame.ToLower ().Replace ("_", ""); string evname = m.Name.ToLower (); return signame == evname; } } } private void BindFields (object target, Type type) { System.Reflection.BindingFlags flags = System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.DeclaredOnly; if (target != null) flags |= System.Reflection.BindingFlags.Instance; else flags |= System.Reflection.BindingFlags.Static; do { System.Reflection.FieldInfo[] fields = type.GetFields (flags); if (fields == null) return; foreach (System.Reflection.FieldInfo field in fields) { object[] attrs = field.GetCustomAttributes (typeof (WidgetAttribute), false); if (attrs == null || attrs.Length == 0) continue; // The widget to field binding must be 1:1, so only check // the first attribute. WidgetAttribute attr = (WidgetAttribute) attrs[0]; Gtk.Widget widget; if (attr.Specified) widget = GetWidget (attr.Name); else widget = GetWidget (field.Name); if (widget != null) try { field.SetValue (target, widget, flags, null, null); } catch (Exception e) { Console.WriteLine ("Unable to set value for field " + field.Name); throw e; } } type = type.BaseType; } while (type != typeof(object) && type != null); } public void BindFields (object target) { BindFields (target, target.GetType ()); } public void BindFields (Type type) { BindFields (null, type); } public static Glade.XML FromStream (System.IO.Stream stream, string root, string domain) { return new Glade.XML (stream, root, domain); } public static Glade.XML FromAssembly ( System.Reflection.Assembly assembly, string resource_name, string root, string domain) { return new Glade.XML (assembly, resource_name, root, domain); } public static Glade.XML FromAssembly (string resource_name, string root, string domain) { return new Glade.XML ( System.Reflection.Assembly.GetCallingAssembly (), resource_name, root, domain); } [DllImport("libglade-2.0-0.dll", CallingConvention=CallingConvention.Cdecl)] static extern IntPtr glade_xml_get_widget_prefix(IntPtr raw, IntPtr name); public Gtk.Widget[] GetWidgetPrefix(string name) { IntPtr native = GLib.Marshaller.StringToPtrGStrdup (name); IntPtr raw_ret = glade_xml_get_widget_prefix(Handle, native); GLib.Marshaller.Free (native); if (raw_ret == IntPtr.Zero) return new Gtk.Widget [0]; GLib.List list = new GLib.List (raw_ret); Gtk.Widget[] result = new Gtk.Widget [list.Count]; int i = 0; foreach (Gtk.Widget w in list) result [i++] = w; return result; } gtk-sharp-2.12.40/glade/WidgetAttribute.cs0000664000175000017500000000233312767740470015234 00000000000000// WidgetAttribute.cs // // Author: Rachel Hestilow // // Copyright (c) 2003 Rachel Hestilow // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Glade { using System; [AttributeUsage (AttributeTargets.Field)] public class WidgetAttribute : Attribute { private string name; private bool specified; public WidgetAttribute (string name) { specified = true; this.name = name; } public WidgetAttribute () { specified = false; } public string Name { get { return name; } } public bool Specified { get { return specified; } } } } gtk-sharp-2.12.40/glade/glade-sharp.dll.config.in0000664000175000017500000000016612767740470016335 00000000000000 gtk-sharp-2.12.40/glade/glade-sharp-2.0.pc.in0000664000175000017500000000045412767740470015215 00000000000000prefix=${pcfiledir}/../.. exec_prefix=${prefix} libdir=${exec_prefix}/lib gapidir=${prefix}/share/gapi-2.0 Name: Glade# Description: Glade# - Glade .NET Binding Version: @VERSION@ Requires: gtk-sharp-2.0 Cflags: -I:${gapidir}/glade-api.xml Libs: -r:${libdir}/mono/@PACKAGE_VERSION@/glade-sharp.dll gtk-sharp-2.12.40/glade/HandlerNotFoundExeception.cs0000664000175000017500000000606712767740470017213 00000000000000// HandlerNotFoundException.cs // // Author: Ricardo Fernndez Pascual // // Copyright (c) 2002 Ricardo Fernndez Pascual // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. namespace Glade { using System; using System.Reflection; using System.Runtime.Serialization; /// /// Exception thrown when signal autoconnection fails. /// [Serializable] public class HandlerNotFoundException : SystemException { string handler_name; string signal_name; EventInfo evnt; Type delegate_type; public HandlerNotFoundException (string handler_name, string signal_name, EventInfo evnt, Type delegate_type) : this (handler_name, signal_name, evnt, delegate_type, null) { } public HandlerNotFoundException (string handler_name, string signal_name, EventInfo evnt, Type delegate_type, Exception inner) : base ("No handler " + handler_name + " found for signal " + signal_name, inner) { this.handler_name = handler_name; this.signal_name = signal_name; this.evnt = evnt; this.delegate_type = delegate_type; } public HandlerNotFoundException (string message, string handler_name, string signal_name, EventInfo evnt, Type delegate_type) : base ((message != null) ? message : "No handler " + handler_name + " found for signal " + signal_name, null) { this.handler_name = handler_name; this.signal_name = signal_name; this.evnt = evnt; this.delegate_type = delegate_type; } protected HandlerNotFoundException (SerializationInfo info, StreamingContext context) : base (info, context) { handler_name = info.GetString ("HandlerName"); signal_name = info.GetString ("SignalName"); evnt = info.GetValue ("Event", typeof (EventInfo)) as EventInfo; delegate_type = info.GetValue ("DelegateType", typeof (Type)) as Type; } public string HandlerName { get { return handler_name; } } public string SignalName { get { return signal_name; } } public EventInfo Event { get { return evnt; } } public Type DelegateType { get { return delegate_type; } } public override void GetObjectData (SerializationInfo info, StreamingContext context) { base.GetObjectData (info, context); info.AddValue ("HandlerName", handler_name); info.AddValue ("SignalName", signal_name); info.AddValue ("Event", evnt); info.AddValue ("DelegateType", delegate_type); } } } gtk-sharp-2.12.40/glade/Interface.custom0000664000175000017500000000235512767740470014736 00000000000000// Interface.custom // // Author: Mike Kestner // // Copyright (c) 2005 Novell, Inc. // // This code is inserted after the automatically generated code. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this program; if not, write to the // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. [Obsolete ("Replaced by Toplevels property")] public Glade.WidgetInfo toplevels { get { return Glade.WidgetInfo.New (_toplevels); } } public WidgetInfo[] Toplevels { get { WidgetInfo[] result = new WidgetInfo [NToplevels]; for (int i = 0; i < NToplevels; i++) result [i] = WidgetInfo.New (Marshal.ReadIntPtr (_toplevels, i * IntPtr.Size)); return result; } } gtk-sharp-2.12.40/glade/Glade.metadata0000664000175000017500000000133212767740470014312 00000000000000 const-gchar* const-gchar* 1 1 false private gtk-sharp-2.12.40/glade/Makefile.am0000664000175000017500000000140112767740470013625 00000000000000SUBDIRS = . glue if ENABLE_GLADE pkg = glade pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = glade-sharp-2.0.pc else pkg = endif INCLUDE_API = $(top_builddir)/pango/pango-api.xml $(top_builddir)/atk/atk-api.xml $(top_builddir)/gdk/gdk-api.xml $(top_builddir)/gtk/gtk-api.xml METADATA = Glade.metadata SYMBOLS = references = $(top_builddir)/glib/glib-sharp.dll $(top_builddir)/pango/pango-sharp.dll $(top_builddir)/atk/atk-sharp.dll $(top_builddir)/gdk/gdk-sharp.dll $(top_builddir)/gtk/gtk-sharp.dll glue_includes = glade/glade.h,glade/glade-parser.h sources = \ HandlerNotFoundExeception.cs \ WidgetAttribute.cs customs = \ Global.custom \ Interface.custom \ XML.custom add_dist = glade-sharp-2.0.pc.in include $(top_srcdir)/Makefile.include gtk-sharp-2.12.40/glade/glue/0000775000175000017500000000000012767740535012613 500000000000000gtk-sharp-2.12.40/glade/glue/win32dll.c0000775000175000017500000000044312767740470014337 00000000000000#define WIN32_LEAN_AND_MEAN #include #undef WIN32_LEAN_AND_MEAN #include BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) { return TRUE; } /* BOOL APIENTRY DllMainCRTStartup (HINSTANCE hInst, DWORD reason, LPVOID reserved) { return TRUE; } */ gtk-sharp-2.12.40/glade/glue/Makefile.in0000664000175000017500000005355512767740506014613 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ subdir = glade/glue ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(libdir)" LTLIBRARIES = $(lib_LTLIBRARIES) am__DEPENDENCIES_1 = libgladesharpglue_2_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am_libgladesharpglue_2_la_OBJECTS = gladexml.lo nodist_libgladesharpglue_2_la_OBJECTS = generated.lo libgladesharpglue_2_la_OBJECTS = $(am_libgladesharpglue_2_la_OBJECTS) \ $(nodist_libgladesharpglue_2_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = libgladesharpglue_2_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(AM_CFLAGS) $(CFLAGS) $(libgladesharpglue_2_la_LDFLAGS) \ $(LDFLAGS) -o $@ @ENABLE_GLADE_TRUE@am_libgladesharpglue_2_la_rpath = -rpath $(libdir) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(libgladesharpglue_2_la_SOURCES) \ $(nodist_libgladesharpglue_2_la_SOURCES) DIST_SOURCES = $(libgladesharpglue_2_la_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AL = @AL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ API_VERSION = @API_VERSION@ AR = @AR@ AS = @AS@ ATK_CFLAGS = @ATK_CFLAGS@ ATK_LIBS = @ATK_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_EXEEXT = @BUILD_EXEEXT@ BUILD_GTK_CFLAGS = @BUILD_GTK_CFLAGS@ BUILD_GTK_LIBS = @BUILD_GTK_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSC = @CSC@ CSFLAGS = @CSFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GACUTIL = @GACUTIL@ GACUTIL_FLAGS = @GACUTIL_FLAGS@ GDK_BACKEND = @GDK_BACKEND@ GENERATED_SOURCES = @GENERATED_SOURCES@ GLADE_CFLAGS = @GLADE_CFLAGS@ GLADE_LIBS = @GLADE_LIBS@ GLIB_2_31_CFLAGS = @GLIB_2_31_CFLAGS@ GLIB_2_31_LIBS = @GLIB_2_31_LIBS@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ GTK_SHARP_VERSION_CFLAGS = @GTK_SHARP_VERSION_CFLAGS@ HOST_CC = @HOST_CC@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIB_PREFIX = @LIB_PREFIX@ LIB_SUFFIX = @LIB_SUFFIX@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MDASSEMBLER = @MDASSEMBLER@ MKDIR_P = @MKDIR_P@ MONODOCER = @MONODOCER@ MONO_CAIRO_CFLAGS = @MONO_CAIRO_CFLAGS@ MONO_CAIRO_LIBS = @MONO_CAIRO_LIBS@ MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@ MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OFF_T_FLAGS = @OFF_T_FLAGS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POLICY_VERSIONS = @POLICY_VERSIONS@ RANLIB = @RANLIB@ RUNTIME = @RUNTIME@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ WIX = @WIX@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ lib_LTLIBRARIES = $(TARGET) @ENABLE_GLADE_FALSE@TARGET = @ENABLE_GLADE_TRUE@TARGET = libgladesharpglue-2.la libgladesharpglue_2_la_LDFLAGS = -module -avoid-version -no-undefined libgladesharpglue_2_la_SOURCES = \ gladexml.c nodist_libgladesharpglue_2_la_SOURCES = generated.c libgladesharpglue_2_la_LIBADD = $(GLADE_LIBS) INCLUDES = $(GLADE_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir) CLEANFILES = lib*.a lib*.dll EXTRA_DIST = win32dll.c all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign glade/glue/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign glade/glue/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ list2=; for p in $$list; do \ if test -f $$p; then \ list2="$$list2 $$p"; \ else :; fi; \ done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ } uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ done clean-libLTLIBRARIES: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) @list='$(lib_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libgladesharpglue-2.la: $(libgladesharpglue_2_la_OBJECTS) $(libgladesharpglue_2_la_DEPENDENCIES) $(EXTRA_libgladesharpglue_2_la_DEPENDENCIES) $(AM_V_CCLD)$(libgladesharpglue_2_la_LINK) $(am_libgladesharpglue_2_la_rpath) $(libgladesharpglue_2_la_OBJECTS) $(libgladesharpglue_2_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/generated.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gladexml.Plo@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) installdirs: for dir in "$(DESTDIR)$(libdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-libLTLIBRARIES install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-libLTLIBRARIES .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ clean-libLTLIBRARIES clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-compile distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-libLTLIBRARIES install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-am uninstall uninstall-am uninstall-libLTLIBRARIES .PRECIOUS: Makefile libgladesharpglue.dll: $(libgladesharpglue_2_la_OBJECTS) libgladesharpglue.rc libgladesharpglue.def ./build-dll libgladesharpglue-2 $(VERSION) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gtk-sharp-2.12.40/glade/glue/gladexml.c0000664000175000017500000000201412767740470014467 00000000000000/* gladexml.c : Glue to access GladeXML fields * * Author: Ricardo Fernndez Pascual * * Copyright (c) 2002 Ricardo Fernndez Pascual * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the Lesser GNU General * Public License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include const gchar * gtksharp_glade_xml_get_filename (GladeXML *gxml); const gchar * gtksharp_glade_xml_get_filename (GladeXML *gxml) { return gxml->filename; } gtk-sharp-2.12.40/glade/glue/Makefile.am0000664000175000017500000000111612767740470014564 00000000000000lib_LTLIBRARIES = $(TARGET) if ENABLE_GLADE TARGET = libgladesharpglue-2.la else TARGET = endif libgladesharpglue_2_la_LDFLAGS = -module -avoid-version -no-undefined libgladesharpglue_2_la_SOURCES = \ gladexml.c nodist_libgladesharpglue_2_la_SOURCES = generated.c libgladesharpglue_2_la_LIBADD = $(GLADE_LIBS) INCLUDES = $(GLADE_CFLAGS) $(GTK_SHARP_VERSION_CFLAGS) -I$(top_srcdir) libgladesharpglue.dll: $(libgladesharpglue_2_la_OBJECTS) libgladesharpglue.rc libgladesharpglue.def ./build-dll libgladesharpglue-2 $(VERSION) CLEANFILES = lib*.a lib*.dll EXTRA_DIST = win32dll.c